From 6a5ebad0e7f65d1b048164e546dd5a76eb58d6d7 Mon Sep 17 00:00:00 2001 From: Tomas Votruba Date: Fri, 20 May 2022 10:24:40 +0000 Subject: [PATCH] Updated Rector to commit f0a1b688f360319847d86901d66f96a456b1c75d https://github.com/rectorphp/rector-src/commit/f0a1b688f360319847d86901d66f96a456b1c75d [DowngradePhp80] Apply PHPStan 1.7.x-dev compatible for PhpParameterReflection (#2336) --- bin/rector | 2 +- bin/rector.php | 22 +- composer.json | 2 +- config/config.php | 2 +- config/parameters.php | 6 +- config/services-packages.php | 10 +- config/services-rules.php | 4 +- config/services.php | 104 +- ...ion-injection-to-constructor-injection.php | 2 +- config/set/code-quality.php | 2 +- config/set/coding-style.php | 2 +- config/set/dead-code.php | 2 +- config/set/defluent.php | 2 +- config/set/downgrade-php53.php | 2 +- config/set/downgrade-php54.php | 2 +- config/set/downgrade-php55.php | 2 +- config/set/downgrade-php56.php | 2 +- config/set/downgrade-php70.php | 2 +- config/set/downgrade-php71.php | 2 +- config/set/downgrade-php72.php | 2 +- config/set/downgrade-php73.php | 2 +- config/set/downgrade-php74.php | 2 +- config/set/downgrade-php80.php | 2 +- config/set/downgrade-php81.php | 2 +- config/set/early-return.php | 2 +- config/set/flysystem-20.php | 2 +- config/set/framework-extra-bundle-40.php | 2 +- config/set/framework-extra-bundle-50.php | 2 +- config/set/gmagick_to_imagick.php | 2 +- config/set/guzzle50.php | 2 +- config/set/level/down-to-php52.php | 2 +- config/set/level/down-to-php53.php | 2 +- config/set/level/down-to-php54.php | 2 +- config/set/level/down-to-php55.php | 2 +- config/set/level/down-to-php56.php | 2 +- config/set/level/down-to-php70.php | 2 +- config/set/level/down-to-php71.php | 2 +- config/set/level/down-to-php72.php | 2 +- config/set/level/down-to-php73.php | 2 +- config/set/level/down-to-php74.php | 2 +- config/set/level/down-to-php80.php | 2 +- config/set/level/up-to-php54.php | 2 +- config/set/level/up-to-php55.php | 2 +- config/set/level/up-to-php56.php | 2 +- config/set/level/up-to-php70.php | 2 +- config/set/level/up-to-php71.php | 2 +- config/set/level/up-to-php72.php | 2 +- config/set/level/up-to-php73.php | 2 +- config/set/level/up-to-php74.php | 2 +- config/set/level/up-to-php80.php | 2 +- config/set/level/up-to-php81.php | 2 +- config/set/level/up-to-php82.php | 2 +- config/set/monolog20.php | 2 +- config/set/mysql-to-mysqli.php | 2 +- config/set/naming.php | 2 +- config/set/php52.php | 2 +- config/set/php53.php | 2 +- config/set/php54.php | 2 +- config/set/php55.php | 2 +- config/set/php56.php | 2 +- config/set/php70.php | 2 +- config/set/php71.php | 2 +- config/set/php72.php | 2 +- config/set/php73.php | 2 +- config/set/php74.php | 2 +- config/set/php80.php | 2 +- config/set/php81.php | 2 +- config/set/php82.php | 2 +- config/set/privatization.php | 2 +- config/set/psr-4.php | 2 +- config/set/rector-config.php | 2 +- config/set/type-declaration-strict.php | 2 +- config/set/type-declaration.php | 2 +- config/set/unwrap-compat.php | 2 +- .../Comment/CommentsMerger.php | 4 +- .../BasePhpDocNodeVisitorInterface.php | 4 +- .../PhpDocInfo/PhpDocInfo.php | 10 +- .../PhpDocInfo/TokenIteratorFactory.php | 4 +- .../PhpDocManipulator/PhpDocClassRenamer.php | 4 +- .../PhpDocManipulator/PhpDocTagRemover.php | 8 +- .../PhpDocNodeByTypeFinder.php | 4 +- .../BetterPhpDocParser/PhpDocNodeMapper.php | 14 +- .../ChangedPhpDocNodeTraverserFactory.php | 6 +- .../ArrayTypePhpDocNodeVisitor.php | 4 +- .../CallableTypePhpDocNodeVisitor.php | 4 +- .../ChangedPhpDocNodeVisitor.php | 4 +- .../IntersectionTypeNodePhpDocNodeVisitor.php | 4 +- .../ParamPhpDocNodeVisitor.php | 4 +- .../TemplatePhpDocNodeVisitor.php | 4 +- .../UnionTypeNodePhpDocNodeVisitor.php | 4 +- .../PhpDocParser/BetterPhpDocParser.php | 4 +- .../DoctrineAnnotationDecorator.php | 4 +- .../PhpDocFromTypeDeclarationDecorator.php | 2 +- .../PlainValueParser.php | 2 +- .../Printer/DocBlockInliner.php | 6 +- .../Printer/PhpDocInfoPrinter.php | 8 +- .../Parser/BetterTokenIterator.php | 4 +- .../AbstractValuesAwareNode.php | 4 +- .../ValueObject/PhpDocAttributeKey.php | 6 +- packages/Caching/CacheFactory.php | 6 +- packages/Caching/Config/FileHashComputer.php | 22 +- .../Caching/Detector/ChangedFilesDetector.php | 4 +- .../Caching/FileSystem/DependencyResolver.php | 4 +- .../ValueObject/Storage/FileCacheStorage.php | 12 +- .../Annotation/AnnotationExtractor.php | 4 +- .../Output/ConsoleOutputFormatter.php | 8 +- .../Output/JsonOutputFormatter.php | 4 +- .../ValueObject/RectorWithLineChange.php | 12 +- .../ValueObjectFactory/FileDiffFactory.php | 4 +- packages/Config/RectorConfig.php | 22 +- .../Reflection/FamilyRelationsAnalyzer.php | 4 +- .../EditorConfig/EditorConfigParser.php | 6 +- packages/FileFormatter/FileFormatter.php | 4 +- .../Formatter/JsonFileFormatter.php | 4 +- .../Formatter/XmlFileFormatter.php | 4 +- .../Formatter/YamlFileFormatter.php | 6 +- packages/FileFormatter/ValueObject/Indent.php | 6 +- .../FileFormatter/ValueObject/NewLine.php | 6 +- .../ClassConstFetchNameResolver.php | 2 +- .../ClassConstNameResolver.php | 2 +- .../NodeNameResolver/ClassNameResolver.php | 2 +- .../NodeNameResolver/ParamNameResolver.php | 2 +- .../NodeNameResolver/PropertyNameResolver.php | 2 +- .../NodeNameResolver/UseNameResolver.php | 2 +- .../Regex/RegexPatternDetector.php | 4 +- .../PHPStanServicesFactory.php | 4 +- .../ClassMethodOrClassConstTypeResolver.php | 2 +- .../NodeTypeResolver/ParamTypeResolver.php | 6 +- .../PropertyFetchTypeResolver.php | 2 +- .../NodeTypeResolver/PropertyTypeResolver.php | 2 +- .../NodeTypeResolver/ReturnTypeResolver.php | 2 +- .../StaticCallMethodCallTypeResolver.php | 2 +- .../RemoveDeepChainMethodCallNodeVisitor.php | 4 +- .../Scope/PHPStanNodeScopeResolver.php | 8 +- .../NodeAnalyzer/DocBlockNamespaceRenamer.php | 4 +- .../ImportingPhpDocNodeTraverserFactory.php | 6 +- .../RenamingPhpDocNodeVisitorFactory.php | 6 +- .../UnderscorePhpDocNodeTraverserFactory.php | 6 +- .../ClassRenamePhpDocNodeVisitor.php | 4 +- .../NameImportingPhpDocNodeVisitor.php | 14 +- .../UnderscoreRenamePhpDocNodeVisitor.php | 8 +- .../PHPStanStaticTypeMapper/Enum/TypeKind.php | 4 +- .../TypeMapper/ArrayTypeMapper.php | 2 +- .../TypeMapper/CallableTypeMapper.php | 2 +- .../TypeMapper/ClassStringTypeMapper.php | 2 +- .../TypeMapper/ClosureTypeMapper.php | 2 +- .../TypeMapper/IntersectionTypeMapper.php | 2 +- .../TypeMapper/IterableTypeMapper.php | 2 +- .../TypeMapper/ObjectTypeMapper.php | 6 +- .../TypeMapper/UnionTypeMapper.php | 2 +- .../Application/ParallelFileProcessor.php | 70 +- .../Command/WorkerCommandLineFactory.php | 20 +- packages/Parallel/WorkerRunner.php | 30 +- .../ArrayAnnotationToAttributeMapper.php | 8 +- ...rlyListNodeAnnotationToAttributeMapper.php | 8 +- ...eAnnotationAnnotationToAttributeMapper.php | 2 +- .../AttributeArrayNameInliner.php | 4 +- .../NodeFactory/NamedArgsFactory.php | 4 +- .../Application/PostFileProcessor.php | 4 +- .../Rector/NameImportingPostRector.php | 4 +- .../Mapper/ScalarStringToTypeMapper.php | 4 +- .../Naming/NameScopeFactory.php | 2 +- .../PhpDocParser/IdentifierTypeMapper.php | 4 +- .../PhpDocParser/IntersectionTypeMapper.php | 2 +- .../PhpDocParser/UnionTypeMapper.php | 2 +- .../PhpParser/IntersectionTypeNodeMapper.php | 2 +- .../PhpParser/NullableTypeNodeMapper.php | 2 +- .../PhpParser/UnionTypeNodeMapper.php | 2 +- .../Type/FullyQualifiedObjectType.php | 4 +- .../PHPUnit/AbstractRectorTestCase.php | 18 +- packages/Testing/PHPUnit/AbstractTestCase.php | 8 +- .../PHPUnit/Behavior/MovingFilesTrait.php | 6 +- .../Behavior/MultipleFilesChangedTrait.php | 10 +- .../Testing/TestingParser/TestingParser.php | 4 +- .../ClassMethodParamVendorLockResolver.php | 4 +- .../ParentClassMethodTypeOverrideGuard.php | 4 +- .../ClassMethod/ArgumentAdderRector.php | 4 +- .../ReplaceArgumentDefaultValueRector.php | 4 +- ...tionArgumentDefaultValueReplacerRector.php | 4 +- .../FuncCall/SwapFuncCallArgumentsRector.php | 4 +- .../RemoveMethodCallParamRector.php | 4 +- .../NodeAnalyzer/ForeachAnalyzer.php | 4 +- .../NodeAnalyzer/LocalPropertyAnalyzer.php | 4 +- .../ClassMethodParameterTypeManipulator.php | 4 +- .../Rector/Concat/JoinStringConcatRector.php | 4 +- .../Rector/For_/ForToForeachRector.php | 4 +- .../FuncCall/AddPregQuoteDelimiterRector.php | 6 +- .../FuncCall/SimplifyRegexPatternRector.php | 4 +- .../If_/SimplifyIfElseToTernaryRector.php | 4 +- .../AbsolutizeRequireAndIncludePathRector.php | 6 +- .../Application/UseImportsAdder.php | 4 +- .../ClassNameImport/ShortNameResolver.php | 14 +- .../ClassNameImport/UseImportsTraverser.php | 4 +- rules/CodingStyle/Enum/PreferenceSelfThis.php | 4 +- rules/CodingStyle/Naming/ClassNaming.php | 6 +- rules/CodingStyle/Node/NameImporter.php | 4 +- .../NodeAnalyzer/UseImportNameMatcher.php | 4 +- .../Assign/PHPStormVarAnnotationRector.php | 6 +- .../CatchExceptionNameMatchingTypeRector.php | 4 +- .../ClassMethod/OrderAttributesRector.php | 6 +- ...moveDoubleUnderscoreInMethodNameRector.php | 4 +- .../ReturnArrayClassMethodToYieldRector.php | 4 +- .../EncapsedStringsToSprintfRector.php | 4 +- .../ConsistentPregDelimiterRector.php | 8 +- .../PreferThisOrSelfMethodCallRector.php | 6 +- .../InlineSimplePropertyAnnotationRector.php | 4 +- ...assKeywordForClassNameResolutionRector.php | 6 +- .../Reflection/VendorLocationDetector.php | 4 +- .../FileProcessor/ComposerFileProcessor.php | 6 +- rules/Composer/Guard/VersionGuard.php | 4 +- .../AddPackageToRequireComposerRector.php | 8 +- .../AddPackageToRequireDevComposerRector.php | 8 +- .../ChangePackageVersionComposerRector.php | 8 +- .../Rector/RemovePackageComposerRector.php | 8 +- .../Rector/RenamePackageComposerRector.php | 8 +- ...ReplacePackageAndVersionComposerRector.php | 8 +- .../ValueObject/ReplacePackageAndVersion.php | 4 +- .../ModifiedVariableNamesCollector.php | 4 +- .../VariadicFunctionLikeDetector.php | 4 +- .../PhpDoc/TagRemover/ParamTagRemover.php | 6 +- .../ClassLike/RemoveAnnotationRector.php | 4 +- .../RemovePhpVersionIdCheckRector.php | 4 +- .../RemoveNonExistingVarAnnotationRector.php | 4 +- .../SideEffect/SideEffectNodeDetector.php | 4 +- .../ClassMethod/AddMethodParentCallRector.php | 6 +- ...aryExpressionArgsToEmptyAndIssetRector.php | 4 +- .../DowngradeArgumentUnpackingRector.php | 4 +- .../DowngradeArrayFilterUseConstantRector.php | 4 +- .../DowngradeParameterTypeWideningRector.php | 6 +- ...gradePregUnmatchedAsNullConstantRector.php | 4 +- .../DowngradeCovariantReturnTypeRector.php | 4 +- .../NodeAnalyzer/NamedToUnnamedArgs.php | 4 +- .../DowngradeAttributeToAnnotationRector.php | 4 +- .../SimplePhpParameterReflection.php | 61 + .../InflectorSingularResolver.php | 16 +- rules/Naming/Naming/PropertyNaming.php | 34 +- rules/Naming/Naming/VariableNaming.php | 8 +- .../PropertyRenamer/PropertyFetchRenamer.php | 4 +- rules/Naming/RectorNamingInflector.php | 8 +- rules/Naming/VariableRenamer.php | 4 +- .../Composer/PSR4AutoloadPathsProvider.php | 8 +- rules/PSR4/Composer/PSR4NamespaceMatcher.php | 6 +- .../FileInfoDeletionAnalyzer.php | 4 +- .../FullyQualifyStmtsAnalyzer.php | 6 +- .../StringClassNameToClassConstantRector.php | 8 +- rules/Php55/RegexMatcher.php | 12 +- .../UndefinedVariableResolver.php | 4 +- rules/Php70/EregToPcreTransformer.php | 8 +- .../Rector/Name/ReservedObjectRector.php | 6 +- .../NodeFactory/AnonymousFunctionFactory.php | 10 +- .../Rector/FuncCall/RegexDashEscapeRector.php | 6 +- .../AddLiteralSeparatorToNumberRector.php | 8 +- rules/Php80/Enum/MatchKind.php | 4 +- .../NodeManipulator/TokenManipulator.php | 4 +- rules/Php80/PhpDoc/PhpDocNodeFinder.php | 4 +- .../Class_/AnnotationToAttributeRector.php | 10 +- ...ctrineAnnotationClassToAttributeRector.php | 4 +- rules/Privatization/Naming/ConstantNaming.php | 4 +- .../PropertyFetchByMethodAnalyzer.php | 4 +- .../NodeManipulator/VisibilityManipulator.php | 4 +- .../PropertyFetchWithConstFetchReplacer.php | 4 +- .../PropertyFetchWithVariableReplacer.php | 4 +- .../RepeatedLiteralToClassConstantRector.php | 10 +- .../ReplaceStringWithClassConstantRector.php | 4 +- .../NodeManipulator/ComplexNodeRemover.php | 4 +- .../ClassMethod/ArgumentRemoverRector.php | 4 +- .../Rector/Class_/RemoveInterfacesRector.php | 4 +- .../Rector/Class_/RemoveParentRector.php | 4 +- .../Rector/Class_/RemoveTraitUseRector.php | 4 +- .../FuncCall/RemoveFuncCallArgRector.php | 4 +- .../Rector/FuncCall/RemoveFuncCallRector.php | 4 +- .../Renaming/NodeManipulator/ClassRenamer.php | 10 +- .../RenameClassConstFetchRector.php | 4 +- .../ClassMethod/RenameAnnotationRector.php | 4 +- .../ConstFetch/RenameConstantRector.php | 6 +- .../PseudoNamespaceToNamespaceRector.php | 12 +- .../Rector/FuncCall/RenameFunctionRector.php | 6 +- .../Rector/MethodCall/RenameMethodRector.php | 4 +- .../Rector/Name/RenameClassRector.php | 10 +- .../Namespace_/RenameNamespaceRector.php | 6 +- .../PropertyFetch/RenamePropertyRector.php | 4 +- .../StaticCall/RenameStaticMethodRector.php | 4 +- .../Rector/String_/RenameStringRector.php | 6 +- ...mpleteImportForPartialAnnotationRector.php | 8 +- .../AbstractFalsyScalarRuleFixerRector.php | 4 +- .../DimFetchAssignToMethodCallRector.php | 4 +- .../Assign/GetAndSetToMethodCallRector.php | 4 +- .../PropertyAssignToMethodCallRector.php | 4 +- .../PropertyFetchToMethodCallRector.php | 4 +- .../AttributeKeyToClassConstFetchRector.php | 4 +- .../Rector/ClassMethod/WrapReturnRector.php | 4 +- ...dAllowDynamicPropertiesAttributeRector.php | 4 +- .../Class_/AddInterfaceByTraitRector.php | 6 +- .../Rector/Class_/MergeInterfacesRector.php | 6 +- .../Class_/ParentClassToTraitsRector.php | 4 +- ...eAllowDynamicPropertiesAttributeRector.php | 4 +- .../ArgumentFuncCallToMethodCallRector.php | 4 +- .../FuncCall/FuncCallToConstFetchRector.php | 6 +- .../FuncCall/FuncCallToMethodCallRector.php | 4 +- .../Rector/FuncCall/FuncCallToNewRector.php | 4 +- .../FuncCall/FuncCallToStaticCallRector.php | 4 +- ...ontentsAndJsonDecodeToStaticCallRector.php | 4 +- .../UnsetAndIssetToMethodCallRector.php | 4 +- .../CallableInMethodCallToVariableRector.php | 4 +- ...ToAnotherMethodCallWithArgumentsRector.php | 4 +- .../MethodCallToMethodCallRector.php | 4 +- .../MethodCallToPropertyFetchRector.php | 4 +- .../MethodCallToStaticCallRector.php | 4 +- .../ReplaceParentCallByPropertyCallRector.php | 4 +- ...viceGetterToConstructorInjectionRector.php | 4 +- .../Rector/New_/NewArgToMethodCallRector.php | 4 +- .../New_/NewToConstructorInjectionRector.php | 4 +- .../Rector/New_/NewToMethodCallRector.php | 4 +- .../Rector/New_/NewToStaticCallRector.php | 4 +- .../StaticCall/StaticCallToFuncCallRector.php | 4 +- .../StaticCallToMethodCallRector.php | 4 +- .../StaticCall/StaticCallToNewRector.php | 4 +- .../String_/StringToClassConstantRector.php | 4 +- .../String_/ToStringToMethodCallRector.php | 6 +- .../ConstructorAssignDetector.php | 4 +- .../NullTypeAssignDetector.php | 4 +- .../Guard/PhpDocNestedAnnotationGuard.php | 6 +- ...AutowiredClassMethodOrPropertyAnalyzer.php | 4 +- .../ControllerRenderMethodAnalyzer.php | 4 +- .../PHPStan/ObjectTypeSpecifier.php | 4 +- .../NonInformativeReturnTagRemover.php | 4 +- .../AddParamTypeDeclarationRector.php | 4 +- .../AddReturnTypeDeclarationRector.php | 4 +- .../AddVoidReturnTypeWhereNoReturnRector.php | 4 +- ...rrayShapeFromConstantArrayReturnRector.php | 4 +- .../ParamTypeByMethodCallTypeRector.php | 4 +- .../AddPropertyTypeDeclarationRector.php | 4 +- .../AssignToPropertyTypeInferer.php | 4 +- .../GetterNodeParamTypeInferer.php | 4 +- .../PHPUnitDataProviderParamTypeInferer.php | 6 +- .../PropertyNodeParamTypeInferer.php | 4 +- .../ConstructorPropertyTypeInferer.php | 4 +- .../TypeInferer/ReturnTypeInferer.php | 4 +- ...urnedNodesReturnTypeInfererTypeInferer.php | 4 +- ...YieldNodesReturnTypeInfererTypeInferer.php | 4 +- rules/TypeDeclaration/TypeNormalizer.php | 4 +- .../ChangeConstantVisibilityRector.php | 4 +- .../ChangeMethodVisibilityRector.php | 4 +- src/Application/ApplicationFileProcessor.php | 28 +- .../RemovedAndAddedFilesProcessor.php | 4 +- src/Application/VersionResolver.php | 20 +- src/Autoloading/AdditionalAutoloader.php | 10 +- src/Autoloading/BootstrapFilesIncluder.php | 8 +- src/Bootstrap/RectorConfigsResolver.php | 16 +- .../ConfigureCallMergingLoaderFactory.php | 24 +- src/Configuration/ConfigurationFactory.php | 12 +- src/Configuration/Option.php | 6 +- src/Configuration/RectorConfigProvider.php | 4 +- src/Configuration/ValueObjectInliner.php | 8 +- .../Command/AbstractProcessCommand.php | 32 +- src/Console/Command/InitCommand.php | 26 +- src/Console/Command/ProcessCommand.php | 26 +- src/Console/Command/WorkerCommand.php | 36 +- src/Console/ConsoleApplication.php | 46 +- .../Style/RectorConsoleOutputStyle.php | 26 +- .../Style/RectorConsoleOutputStyleFactory.php | 20 +- .../ConfigureCallValuesCollector.php | 14 +- .../MakeRectorsPublicCompilerPass.php | 8 +- ...dRectorConfigureCallValuesCompilerPass.php | 12 +- .../RemoveSkippedRectorsCompilerPass.php | 10 +- .../VerifyRectorServiceExistsCompilerPass.php | 8 +- ...rableCallValuesCollectingPhpFileLoader.php | 10 +- .../RectorServiceConfigurator.php | 10 +- .../RectorContainerFactory.php | 14 +- src/Differ/DefaultDiffer.php | 8 +- src/Enum/ObjectReference.php | 4 +- src/FileSystem/FilesFinder.php | 20 +- src/FileSystem/FilesystemTweaker.php | 4 +- src/Kernel/RectorKernel.php | 40 +- src/NodeAnalyzer/CallAnalyzer.php | 2 +- .../ArrayDestructVariableFilter.php | 4 +- src/NodeManipulator/ArrayManipulator.php | 2 +- src/NodeManipulator/AssignManipulator.php | 4 +- .../ClassMethodPropertyFetchManipulator.php | 4 +- .../DependencyClassMethodDecorator.php | 4 +- .../FunctionLikeManipulator.php | 4 +- .../PropertyFetchAssignManipulator.php | 4 +- src/NodeManipulator/PropertyManipulator.php | 8 +- src/NodeManipulator/StmtsManipulator.php | 4 +- src/NodeManipulator/VariableManipulator.php | 4 +- .../Rector/RenameClassNonPhpRector.php | 10 +- ...tantStringTypeToCallReflectionResolver.php | 4 +- src/Php/PhpVersionProvider.php | 4 +- .../ProjectComposerJsonPhpVersionResolver.php | 6 +- .../Regex/RegexPatternArgumentManipulator.php | 4 +- src/PhpParser/AstResolver.php | 4 +- src/PhpParser/ClassLikeAstResolver.php | 4 +- src/PhpParser/Node/BetterNodeFinder.php | 20 +- src/PhpParser/Node/NodeFactory.php | 26 +- src/PhpParser/Parser/InlineCodeParser.php | 10 +- src/PhpParser/Parser/SimplePhpParser.php | 4 +- .../Printer/BetterStandardPrinter.php | 12 +- .../Printer/FormatPerservingPrinter.php | 4 +- .../Whitespace/IndentCharacterDetector.php | 4 +- src/Rector/AbstractRector.php | 8 +- src/Reflection/ReflectionResolver.php | 2 +- src/Reporting/MissingRectorRulesReporter.php | 4 +- .../DynamicSourceLocatorDecorator.php | 4 +- .../ParentAttributeSourceLocator.php | 2 +- .../RenamedClassesSourceLocator.php | 4 +- src/Util/MemoryLimiter.php | 4 +- src/Util/StaticRectorStrings.php | 8 +- src/Util/StringUtils.php | 4 +- .../EmptyConfigurableRectorCollector.php | 8 +- src/Validation/RectorAssert.php | 4 +- src/ValueObject/Configuration.php | 2 +- src/ValueObject/Error/SystemError.php | 6 +- src/ValueObject/PhpVersion.php | 4 +- src/ValueObject/ProcessResult.php | 6 +- src/ValueObject/Reporting/FileDiff.php | 14 +- src/constants.php | 2 +- src/functions/node_helper.php | 12 +- vendor/autoload.php | 2 +- vendor/bin/easy-testing | 6 +- vendor/bin/neon-lint | 6 +- vendor/bin/php-parse | 6 +- vendor/bin/phpstan | 6 +- vendor/bin/vendor-patches | 6 +- vendor/bin/yaml-lint | 6 +- vendor/clue/ndjson-react/composer.json | 4 +- vendor/clue/ndjson-react/src/Decoder.php | 18 +- vendor/clue/ndjson-react/src/Encoder.php | 10 +- vendor/composer/InstalledVersions.php | 12 +- vendor/composer/autoload_classmap.php | 2057 +++++++-------- vendor/composer/autoload_psr4.php | 98 +- vendor/composer/autoload_real.php | 14 +- vendor/composer/autoload_static.php | 2261 +++++++++-------- vendor/composer/installed.json | 106 +- vendor/composer/installed.php | 4 +- vendor/composer/pcre/composer.json | 4 +- vendor/composer/pcre/src/MatchAllResult.php | 2 +- .../pcre/src/MatchAllWithOffsetsResult.php | 2 +- vendor/composer/pcre/src/MatchResult.php | 2 +- .../pcre/src/MatchWithOffsetsResult.php | 2 +- vendor/composer/pcre/src/PcreException.php | 4 +- vendor/composer/pcre/src/Preg.php | 22 +- vendor/composer/pcre/src/Regex.php | 46 +- vendor/composer/pcre/src/ReplaceResult.php | 2 +- vendor/composer/semver/composer.json | 4 +- vendor/composer/semver/src/Comparator.php | 8 +- .../composer/semver/src/CompilingMatcher.php | 12 +- .../composer/semver/src/Constraint/Bound.php | 8 +- .../semver/src/Constraint/Constraint.php | 36 +- .../src/Constraint/ConstraintInterface.php | 4 +- .../src/Constraint/MatchAllConstraint.php | 10 +- .../src/Constraint/MatchNoneConstraint.php | 10 +- .../semver/src/Constraint/MultiConstraint.php | 12 +- vendor/composer/semver/src/Interval.php | 10 +- vendor/composer/semver/src/Intervals.php | 102 +- vendor/composer/semver/src/Semver.php | 14 +- vendor/composer/semver/src/VersionParser.php | 38 +- vendor/composer/xdebug-handler/composer.json | 4 +- .../composer/xdebug-handler/src/PhpConfig.php | 6 +- .../composer/xdebug-handler/src/Process.php | 12 +- vendor/composer/xdebug-handler/src/Status.php | 18 +- .../xdebug-handler/src/XdebugHandler.php | 44 +- .../cweagans/composer-patches/composer.json | 4 +- .../composer-patches/src/PatchEvent.php | 10 +- .../composer-patches/src/PatchEvents.php | 2 +- .../cweagans/composer-patches/src/Patches.php | 92 +- .../composer-patches/tests/PatchEventTest.php | 18 +- vendor/doctrine/inflector/composer.json | 4 +- .../Inflector/CachedWordInflector.php | 6 +- .../GenericLanguageInflectorFactory.php | 22 +- .../lib/Doctrine/Inflector/Inflector.php | 6 +- .../Doctrine/Inflector/InflectorFactory.php | 44 +- .../lib/Doctrine/Inflector/Language.php | 2 +- .../Inflector/LanguageInflectorFactory.php | 10 +- .../Doctrine/Inflector/NoopWordInflector.php | 4 +- .../Inflector/Rules/English/Inflectible.php | 306 +-- .../Rules/English/InflectorFactory.php | 16 +- .../Inflector/Rules/English/Rules.php | 18 +- .../Inflector/Rules/English/Uninflected.php | 320 +-- .../Inflector/Rules/French/Inflectible.php | 42 +- .../Rules/French/InflectorFactory.php | 16 +- .../Doctrine/Inflector/Rules/French/Rules.php | 18 +- .../Inflector/Rules/French/Uninflected.php | 6 +- .../Rules/NorwegianBokmal/Inflectible.php | 22 +- .../NorwegianBokmal/InflectorFactory.php | 16 +- .../Inflector/Rules/NorwegianBokmal/Rules.php | 18 +- .../Rules/NorwegianBokmal/Uninflected.php | 10 +- .../lib/Doctrine/Inflector/Rules/Pattern.php | 2 +- .../lib/Doctrine/Inflector/Rules/Patterns.php | 6 +- .../Rules/Portuguese/Inflectible.php | 150 +- .../Rules/Portuguese/InflectorFactory.php | 16 +- .../Inflector/Rules/Portuguese/Rules.php | 18 +- .../Rules/Portuguese/Uninflected.php | 14 +- .../lib/Doctrine/Inflector/Rules/Ruleset.php | 10 +- .../Inflector/Rules/Spanish/Inflectible.php | 48 +- .../Rules/Spanish/InflectorFactory.php | 16 +- .../Inflector/Rules/Spanish/Rules.php | 18 +- .../Inflector/Rules/Spanish/Uninflected.php | 10 +- .../Doctrine/Inflector/Rules/Substitution.php | 8 +- .../Inflector/Rules/Substitutions.php | 14 +- .../Inflector/Rules/Transformation.php | 10 +- .../Inflector/Rules/Transformations.php | 8 +- .../Inflector/Rules/Turkish/Inflectible.php | 22 +- .../Rules/Turkish/InflectorFactory.php | 16 +- .../Inflector/Rules/Turkish/Rules.php | 18 +- .../Inflector/Rules/Turkish/Uninflected.php | 10 +- .../lib/Doctrine/Inflector/Rules/Word.php | 2 +- .../Doctrine/Inflector/RulesetInflector.php | 8 +- .../lib/Doctrine/Inflector/WordInflector.php | 2 +- vendor/ergebnis/json-printer/composer.json | 4 +- vendor/ergebnis/json-printer/src/Printer.php | 4 +- .../json-printer/src/PrinterInterface.php | 2 +- vendor/evenement/evenement/composer.json | 4 +- .../examples/benchmark-emit-no-arguments.php | 6 +- .../examples/benchmark-emit-once.php | 6 +- .../examples/benchmark-emit-one-argument.php | 6 +- .../evenement/examples/benchmark-emit.php | 6 +- .../benchmark-remove-listener-once.php | 6 +- .../evenement/src/Evenement/EventEmitter.php | 4 +- .../src/Evenement/EventEmitterInterface.php | 2 +- .../src/Evenement/EventEmitterTrait.php | 2 +- .../Evenement/Tests/EventEmitterTest.php | 22 +- .../tests/Evenement/Tests/Listener.php | 2 +- .../tests/Evenement/Tests/functions.php | 2 +- .../typo3-typoscript-parser/composer.json | 6 +- .../config/services.yml | 8 +- .../src/Parser/AST/Builder.php | 42 +- .../src/Parser/AST/Comment.php | 2 +- .../src/Parser/AST/ConditionalStatement.php | 2 +- .../Parser/AST/DirectoryIncludeStatement.php | 4 +- .../src/Parser/AST/FileIncludeStatement.php | 4 +- .../src/Parser/AST/IncludeStatement.php | 2 +- .../src/Parser/AST/MultilineComment.php | 2 +- .../src/Parser/AST/NestedAssignment.php | 4 +- .../src/Parser/AST/NopStatement.php | 2 +- .../src/Parser/AST/ObjectPath.php | 6 +- .../src/Parser/AST/Operator/Assignment.php | 10 +- .../AST/Operator/BinaryObjectOperator.php | 6 +- .../Parser/AST/Operator/BinaryOperator.php | 4 +- .../src/Parser/AST/Operator/Builder.php | 2 +- .../src/Parser/AST/Operator/Copy.php | 8 +- .../src/Parser/AST/Operator/Delete.php | 4 +- .../src/Parser/AST/Operator/Modification.php | 8 +- .../Parser/AST/Operator/ModificationCall.php | 2 +- .../Parser/AST/Operator/ObjectCreation.php | 4 +- .../src/Parser/AST/Operator/Reference.php | 8 +- .../src/Parser/AST/Operator/UnaryOperator.php | 6 +- .../src/Parser/AST/RootObjectPath.php | 10 +- .../src/Parser/AST/Scalar.php | 2 +- .../src/Parser/AST/Statement.php | 4 +- .../src/Parser/ParseError.php | 2 +- .../src/Parser/Parser.php | 132 +- .../src/Parser/ParserInterface.php | 2 +- .../src/Parser/ParserState.php | 18 +- .../Parser/Printer/ASTPrinterInterface.php | 8 +- .../src/Parser/Printer/PrettyPrinter.php | 94 +- .../Printer/PrettyPrinterConfiguration.php | 4 +- .../src/Parser/TokenStream.php | 22 +- .../Parser/Traverser/AggregatingVisitor.php | 6 +- .../src/Parser/Traverser/Traverser.php | 16 +- .../src/Parser/Traverser/Visitor.php | 2 +- .../src/Tokenizer/LineGrouper.php | 2 +- .../src/Tokenizer/MultilineTokenBuilder.php | 8 +- .../Preprocessing/NoOpPreprocessor.php | 4 +- .../Tokenizer/Preprocessing/Preprocessor.php | 2 +- .../Preprocessing/ProcessorChain.php | 6 +- .../RemoveTrailingWhitespacePreprocessor.php | 4 +- .../Preprocessing/StandardPreprocessor.php | 6 +- .../UnifyLineEndingsPreprocessor.php | 4 +- .../Tokenizer/Printer/CodeTokenPrinter.php | 6 +- .../Printer/StructuredTokenPrinter.php | 12 +- .../Printer/TokenPrinterInterface.php | 4 +- .../src/Tokenizer/Scanner.php | 6 +- .../src/Tokenizer/ScannerLine.php | 2 +- .../src/Tokenizer/Token.php | 4 +- .../src/Tokenizer/TokenInterface.php | 2 +- .../src/Tokenizer/TokenStreamBuilder.php | 6 +- .../src/Tokenizer/Tokenizer.php | 80 +- .../src/Tokenizer/TokenizerException.php | 2 +- .../src/Tokenizer/TokenizerInterface.php | 2 +- .../Tokenizer/UnknownOperatorException.php | 2 +- .../src/TypoScriptParserExtension.php | 16 +- .../idiosyncratic/editorconfig/composer.json | 4 +- .../src/Declaration/BooleanDeclaration.php | 8 +- .../editorconfig/src/Declaration/Charset.php | 8 +- .../src/Declaration/Declaration.php | 2 +- .../src/Declaration/EndOfLine.php | 8 +- .../editorconfig/src/Declaration/Factory.php | 40 +- .../src/Declaration/GenericDeclaration.php | 4 +- .../src/Declaration/IndentSize.php | 8 +- .../src/Declaration/IndentStyle.php | 8 +- .../src/Declaration/InsertFinalNewline.php | 4 +- .../src/Declaration/MaxLineLength.php | 8 +- .../editorconfig/src/Declaration/TabWidth.php | 8 +- .../Declaration/TrimTrailingWhitespace.php | 4 +- .../src/Declaration/UnsetDeclaration.php | 4 +- .../editorconfig/src/EditorConfig.php | 6 +- .../editorconfig/src/EditorConfigFile.php | 14 +- .../src/Exception/InvalidValue.php | 2 +- .../editorconfig/src/Section.php | 6 +- .../tests/Declaration/CharsetTest.php | 20 +- .../tests/Declaration/EndOfLineTest.php | 14 +- .../tests/Declaration/FactoryTest.php | 16 +- .../Declaration/GenericDeclarationTest.php | 18 +- .../tests/Declaration/IndentSizeTest.php | 24 +- .../tests/Declaration/IndentStyleTest.php | 20 +- .../Declaration/InsertFinalNewlineTest.php | 20 +- .../tests/Declaration/MaxLineLengthTest.php | 24 +- .../tests/Declaration/TabWidthTest.php | 22 +- .../TrimTrailingWhitespaceTest.php | 14 +- .../Declaration/UnsetDeclarationTest.php | 8 +- .../tests/EditorConfigFileTest.php | 28 +- .../editorconfig/tests/EditorConfigTest.php | 8 +- .../editorconfig/tests/SectionTest.php | 14 +- .../editorconfig/tests/data/testfile.php | 2 +- vendor/myclabs/php-enum/composer.json | 4 +- vendor/myclabs/php-enum/src/Enum.php | 2 +- .../php-enum/src/PHPUnit/Comparator.php | 14 +- vendor/nette/neon/bin/neon-lint | 10 +- vendor/nette/neon/src/Neon/Decoder.php | 8 +- vendor/nette/neon/src/Neon/Encoder.php | 28 +- vendor/nette/neon/src/Neon/Entity.php | 2 +- vendor/nette/neon/src/Neon/Exception.php | 2 +- vendor/nette/neon/src/Neon/Lexer.php | 26 +- vendor/nette/neon/src/Neon/Neon.php | 10 +- vendor/nette/neon/src/Neon/Node.php | 2 +- .../neon/src/Neon/Node/ArrayItemNode.php | 8 +- vendor/nette/neon/src/Neon/Node/ArrayNode.php | 8 +- .../neon/src/Neon/Node/BlockArrayNode.php | 6 +- .../neon/src/Neon/Node/EntityChainNode.php | 12 +- .../nette/neon/src/Neon/Node/EntityNode.php | 16 +- .../neon/src/Neon/Node/InlineArrayNode.php | 6 +- .../nette/neon/src/Neon/Node/LiteralNode.php | 6 +- .../nette/neon/src/Neon/Node/StringNode.php | 12 +- vendor/nette/neon/src/Neon/Parser.php | 74 +- vendor/nette/neon/src/Neon/Token.php | 2 +- vendor/nette/neon/src/Neon/TokenStream.php | 10 +- vendor/nette/neon/src/Neon/Traverser.php | 10 +- vendor/nette/utils/ncs.php | 2 +- vendor/nette/utils/src/HtmlStringable.php | 4 +- .../utils/src/Iterators/CachingIterator.php | 8 +- vendor/nette/utils/src/Iterators/Mapper.php | 2 +- vendor/nette/utils/src/SmartObject.php | 32 +- vendor/nette/utils/src/StaticClass.php | 4 +- vendor/nette/utils/src/Translator.php | 4 +- vendor/nette/utils/src/Utils/ArrayHash.php | 6 +- vendor/nette/utils/src/Utils/ArrayList.php | 14 +- vendor/nette/utils/src/Utils/Arrays.php | 18 +- vendor/nette/utils/src/Utils/Callback.php | 10 +- vendor/nette/utils/src/Utils/DateTime.php | 8 +- vendor/nette/utils/src/Utils/FileSystem.php | 34 +- vendor/nette/utils/src/Utils/Floats.php | 4 +- vendor/nette/utils/src/Utils/Helpers.php | 8 +- vendor/nette/utils/src/Utils/Html.php | 16 +- vendor/nette/utils/src/Utils/Image.php | 42 +- vendor/nette/utils/src/Utils/Json.php | 8 +- .../nette/utils/src/Utils/ObjectHelpers.php | 18 +- vendor/nette/utils/src/Utils/ObjectMixin.php | 6 +- vendor/nette/utils/src/Utils/Paginator.php | 4 +- vendor/nette/utils/src/Utils/Random.php | 8 +- vendor/nette/utils/src/Utils/Reflection.php | 26 +- vendor/nette/utils/src/Utils/Strings.php | 22 +- vendor/nette/utils/src/Utils/Type.php | 28 +- vendor/nette/utils/src/Utils/Validators.php | 16 +- vendor/nette/utils/src/Utils/exceptions.php | 4 +- vendor/nette/utils/src/compatibility.php | 18 +- vendor/nette/utils/src/exceptions.php | 8 +- vendor/nikic/php-parser/bin/php-parse | 14 +- vendor/nikic/php-parser/grammar/phpyLang.php | 40 +- .../php-parser/grammar/rebuildParsers.php | 12 +- .../lib/PhpParser/Builder/ClassConst.php | 2 +- .../lib/PhpParser/Builder/Class_.php | 2 +- .../lib/PhpParser/Builder/Declaration.php | 2 +- .../lib/PhpParser/Builder/EnumCase.php | 2 +- .../lib/PhpParser/Builder/Enum_.php | 2 +- .../lib/PhpParser/Builder/Function_.php | 2 +- .../lib/PhpParser/Builder/Interface_.php | 2 +- .../lib/PhpParser/Builder/Method.php | 2 +- .../lib/PhpParser/Builder/Namespace_.php | 2 +- .../lib/PhpParser/Builder/Param.php | 2 +- .../lib/PhpParser/Builder/Property.php | 2 +- .../lib/PhpParser/Builder/Trait_.php | 2 +- .../lib/PhpParser/BuilderHelpers.php | 12 +- vendor/ondram/ci-detector/composer.json | 4 +- .../ondram/ci-detector/src/Ci/AbstractCi.php | 8 +- vendor/ondram/ci-detector/src/Ci/AppVeyor.php | 18 +- .../ci-detector/src/Ci/AwsCodeBuild.php | 18 +- .../ci-detector/src/Ci/AzurePipelines.php | 18 +- vendor/ondram/ci-detector/src/Ci/Bamboo.php | 18 +- .../ci-detector/src/Ci/BitbucketPipelines.php | 18 +- vendor/ondram/ci-detector/src/Ci/Buddy.php | 18 +- .../ondram/ci-detector/src/Ci/CiInterface.php | 10 +- vendor/ondram/ci-detector/src/Ci/Circle.php | 18 +- vendor/ondram/ci-detector/src/Ci/Codeship.php | 18 +- .../ci-detector/src/Ci/Continuousphp.php | 18 +- vendor/ondram/ci-detector/src/Ci/Drone.php | 18 +- .../ci-detector/src/Ci/GitHubActions.php | 18 +- vendor/ondram/ci-detector/src/Ci/GitLab.php | 18 +- vendor/ondram/ci-detector/src/Ci/Jenkins.php | 18 +- .../ondram/ci-detector/src/Ci/SourceHut.php | 18 +- vendor/ondram/ci-detector/src/Ci/TeamCity.php | 18 +- vendor/ondram/ci-detector/src/Ci/Travis.php | 18 +- vendor/ondram/ci-detector/src/Ci/Wercker.php | 18 +- vendor/ondram/ci-detector/src/CiDetector.php | 20 +- .../ci-detector/src/CiDetectorInterface.php | 8 +- vendor/ondram/ci-detector/src/Env.php | 2 +- .../src/Exception/CiNotDetectedException.php | 2 +- .../ondram/ci-detector/src/TrinaryLogic.php | 2 +- .../MockObjectTypeNodeResolverExtension.php | 2 +- .../src/Rules/PHPUnit/AssertRuleHelper.php | 2 +- .../src/Rules/PHPUnit/MockMethodCallRule.php | 12 +- .../PHPUnit/ShouldCallParentMethodsRule.php | 6 +- .../AssertMethodTypeSpecifyingExtension.php | 2 +- ...ertStaticMethodTypeSpecifyingExtension.php | 2 +- ...cationMockerDynamicReturnTypeExtension.php | 4 +- .../MockBuilderDynamicReturnTypeExtension.php | 4 +- .../MockObjectDynamicReturnTypeExtension.php | 14 +- vendor/phpstan/phpstan/bootstrap.php | 2 +- vendor/phpstan/phpstan/phpstan | 2 +- vendor/psr/cache/composer.json | 2 +- vendor/psr/cache/src/CacheException.php | 2 +- vendor/psr/cache/src/CacheItemInterface.php | 2 +- .../psr/cache/src/CacheItemPoolInterface.php | 8 +- .../cache/src/InvalidArgumentException.php | 4 +- vendor/psr/container/composer.json | 2 +- .../src/ContainerExceptionInterface.php | 2 +- .../psr/container/src/ContainerInterface.php | 2 +- .../src/NotFoundExceptionInterface.php | 4 +- vendor/psr/event-dispatcher/composer.json | 2 +- .../src/EventDispatcherInterface.php | 2 +- .../src/ListenerProviderInterface.php | 2 +- .../src/StoppableEventInterface.php | 2 +- vendor/psr/log/composer.json | 2 +- vendor/psr/log/src/AbstractLogger.php | 4 +- .../psr/log/src/InvalidArgumentException.php | 2 +- vendor/psr/log/src/LogLevel.php | 2 +- vendor/psr/log/src/LoggerAwareInterface.php | 4 +- vendor/psr/log/src/LoggerAwareTrait.php | 4 +- vendor/psr/log/src/LoggerInterface.php | 2 +- vendor/psr/log/src/LoggerTrait.php | 18 +- vendor/psr/log/src/NullLogger.php | 4 +- vendor/react/cache/composer.json | 4 +- vendor/react/cache/src/ArrayCache.php | 28 +- vendor/react/cache/src/CacheInterface.php | 4 +- vendor/react/child-process/composer.json | 4 +- vendor/react/child-process/src/Process.php | 32 +- vendor/react/dns/composer.json | 4 +- vendor/react/dns/src/BadServerException.php | 2 +- vendor/react/dns/src/Config/Config.php | 2 +- vendor/react/dns/src/Config/HostsFile.php | 4 +- vendor/react/dns/src/Model/Message.php | 14 +- vendor/react/dns/src/Model/Record.php | 2 +- .../react/dns/src/Protocol/BinaryDumper.php | 40 +- vendor/react/dns/src/Protocol/Parser.php | 40 +- .../react/dns/src/Query/CachingExecutor.php | 20 +- .../dns/src/Query/CancellationException.php | 2 +- vendor/react/dns/src/Query/CoopExecutor.php | 14 +- .../react/dns/src/Query/ExecutorInterface.php | 4 +- .../react/dns/src/Query/FallbackExecutor.php | 12 +- .../react/dns/src/Query/HostsFileExecutor.php | 30 +- vendor/react/dns/src/Query/Query.php | 8 +- vendor/react/dns/src/Query/RetryExecutor.php | 22 +- .../src/Query/SelectiveTransportExecutor.php | 12 +- .../dns/src/Query/TcpTransportExecutor.php | 36 +- .../react/dns/src/Query/TimeoutException.php | 2 +- .../react/dns/src/Query/TimeoutExecutor.php | 22 +- .../dns/src/Query/UdpTransportExecutor.php | 38 +- .../react/dns/src/RecordNotFoundException.php | 2 +- vendor/react/dns/src/Resolver/Factory.php | 80 +- vendor/react/dns/src/Resolver/Resolver.php | 40 +- .../dns/src/Resolver/ResolverInterface.php | 2 +- vendor/react/event-loop/composer.json | 4 +- vendor/react/event-loop/src/ExtEvLoop.php | 18 +- vendor/react/event-loop/src/ExtEventLoop.php | 20 +- vendor/react/event-loop/src/ExtLibevLoop.php | 44 +- .../react/event-loop/src/ExtLibeventLoop.php | 22 +- vendor/react/event-loop/src/ExtUvLoop.php | 24 +- vendor/react/event-loop/src/Factory.php | 18 +- vendor/react/event-loop/src/Loop.php | 10 +- vendor/react/event-loop/src/LoopInterface.php | 4 +- .../react/event-loop/src/SignalsHandler.php | 2 +- .../react/event-loop/src/StreamSelectLoop.php | 22 +- .../event-loop/src/Tick/FutureTickQueue.php | 2 +- vendor/react/event-loop/src/Timer/Timer.php | 6 +- vendor/react/event-loop/src/Timer/Timers.php | 10 +- .../react/event-loop/src/TimerInterface.php | 2 +- vendor/react/promise-timer/composer.json | 4 +- .../promise-timer/src/TimeoutException.php | 2 +- vendor/react/promise-timer/src/functions.php | 36 +- .../promise-timer/src/functions_include.php | 4 +- vendor/react/promise/composer.json | 4 +- .../src/CancellablePromiseInterface.php | 4 +- .../react/promise/src/CancellationQueue.php | 2 +- vendor/react/promise/src/Deferred.php | 6 +- .../promise/src/Exception/LengthException.php | 2 +- .../promise/src/ExtendedPromiseInterface.php | 4 +- vendor/react/promise/src/FulfilledPromise.php | 12 +- vendor/react/promise/src/LazyPromise.php | 8 +- vendor/react/promise/src/Promise.php | 18 +- vendor/react/promise/src/PromiseInterface.php | 2 +- .../react/promise/src/PromisorInterface.php | 2 +- vendor/react/promise/src/RejectedPromise.php | 18 +- .../src/UnhandledRejectionException.php | 2 +- vendor/react/promise/src/functions.php | 34 +- .../react/promise/src/functions_include.php | 4 +- vendor/react/socket/composer.json | 4 +- vendor/react/socket/src/Connection.php | 24 +- .../react/socket/src/ConnectionInterface.php | 6 +- vendor/react/socket/src/Connector.php | 44 +- .../react/socket/src/ConnectorInterface.php | 2 +- vendor/react/socket/src/DnsConnector.php | 20 +- vendor/react/socket/src/FdServer.php | 20 +- vendor/react/socket/src/FixedUriConnector.php | 6 +- .../src/HappyEyeBallsConnectionBuilder.php | 46 +- .../socket/src/HappyEyeBallsConnector.php | 20 +- vendor/react/socket/src/LimitingServer.php | 12 +- vendor/react/socket/src/SecureConnector.php | 24 +- vendor/react/socket/src/SecureServer.php | 18 +- vendor/react/socket/src/Server.php | 22 +- vendor/react/socket/src/ServerInterface.php | 6 +- vendor/react/socket/src/SocketServer.php | 20 +- vendor/react/socket/src/StreamEncryption.php | 16 +- vendor/react/socket/src/TcpConnector.php | 26 +- vendor/react/socket/src/TcpServer.php | 22 +- vendor/react/socket/src/TimeoutConnector.php | 20 +- vendor/react/socket/src/UnixConnector.php | 22 +- vendor/react/socket/src/UnixServer.php | 20 +- vendor/react/stream/composer.json | 4 +- vendor/react/stream/src/CompositeStream.php | 16 +- .../react/stream/src/DuplexResourceStream.php | 20 +- .../stream/src/DuplexStreamInterface.php | 4 +- .../stream/src/ReadableResourceStream.php | 18 +- .../stream/src/ReadableStreamInterface.php | 8 +- vendor/react/stream/src/ThroughStream.php | 10 +- vendor/react/stream/src/Util.php | 4 +- .../stream/src/WritableResourceStream.php | 14 +- .../stream/src/WritableStreamInterface.php | 6 +- vendor/rector/extension-installer/rector.php | 2 +- .../src/GeneratedConfig.php | 2 +- .../src/PluginInstaller.php | 14 +- .../rector/rector-cakephp/config/config.php | 2 +- .../config/sets/cakephp-fluent-options.php | 2 +- .../rector-cakephp/config/sets/cakephp30.php | 2 +- .../rector-cakephp/config/sets/cakephp34.php | 2 +- .../rector-cakephp/config/sets/cakephp35.php | 2 +- .../rector-cakephp/config/sets/cakephp36.php | 2 +- .../rector-cakephp/config/sets/cakephp37.php | 2 +- .../rector-cakephp/config/sets/cakephp38.php | 2 +- .../rector-cakephp/config/sets/cakephp40.php | 2 +- .../rector-cakephp/config/sets/cakephp41.php | 2 +- .../rector-cakephp/config/sets/cakephp42.php | 2 +- .../rector-cakephp/config/sets/cakephp43.php | 2 +- .../config/sets/level/up-to-cakephp-34.php | 2 +- .../config/sets/level/up-to-cakephp-35.php | 2 +- .../config/sets/level/up-to-cakephp-36.php | 2 +- .../config/sets/level/up-to-cakephp-37.php | 2 +- .../config/sets/level/up-to-cakephp-38.php | 2 +- .../config/sets/level/up-to-cakephp-40.php | 2 +- .../config/sets/level/up-to-cakephp-41.php | 2 +- .../config/sets/level/up-to-cakephp-42.php | 2 +- .../config/sets/level/up-to-cakephp-43.php | 2 +- .../rector-cakephp/monorepo-builder.php | 10 +- vendor/rector/rector-cakephp/rector.php | 2 +- ...CakePHPFullyQualifiedClassNameResolver.php | 6 +- .../MethodCall/ArrayToFluentCallRector.php | 10 +- .../Rector/MethodCall/ModalToGetSetRector.php | 6 +- .../RemoveIntermediaryMethodRector.php | 6 +- ...RenameMethodCallBasedOnParameterRector.php | 6 +- .../ChangeSnakedFixtureNameToPascalRector.php | 4 +- .../rector/rector-doctrine/config/config.php | 2 +- .../doctrine-annotations-to-attributes.php | 2 +- .../config/sets/doctrine-behaviors-20.php | 2 +- .../config/sets/doctrine-code-quality.php | 2 +- .../config/sets/doctrine-common-20.php | 2 +- .../config/sets/doctrine-dbal-210.php | 2 +- .../config/sets/doctrine-dbal-211.php | 2 +- .../config/sets/doctrine-dbal-30.php | 2 +- .../config/sets/doctrine-gedmo-to-knplabs.php | 2 +- .../config/sets/doctrine-odm-23.php | 2 +- .../config/sets/doctrine-orm-29.php | 2 +- .../sets/doctrine-repository-as-service.php | 2 +- .../config/sets/doctrine25.php | 2 +- .../rector-doctrine/monorepo-builder.php | 10 +- vendor/rector/rector-doctrine/rector.php | 2 +- .../MethodCallNameOnTypeResolver.php | 4 +- .../ConstructClassMethodFactory.php | 4 +- .../src/NodeManipulator/DependencyRemover.php | 4 +- .../ToOneRelationPropertyTypeResolver.php | 4 +- .../src/PhpDoc/ShortClassExpander.php | 4 +- .../Class_/AddEntityIdByConditionRector.php | 6 +- .../Rector/Class_/LoggableBehaviorRector.php | 10 +- ...ityAliasToClassConstantReferenceRector.php | 8 +- ...ositoryCallsByRepositoryPropertyRector.php | 8 +- ...argetEntityStringToClassConstantRector.php | 10 +- .../rector/rector-generator/config/config.php | 38 +- .../rector-generator/monorepo-builder.php | 10 +- .../src/Command/GenerateCommand.php | 14 +- .../src/Command/InitRecipeCommand.php | 10 +- .../src/FileSystem/ConfigFilesystem.php | 8 +- .../src/FileSystem/TemplateFileSystem.php | 12 +- .../src/Finder/TemplateFinder.php | 6 +- .../src/Generator/FileGenerator.php | 12 +- .../src/Generator/RectorGenerator.php | 4 +- .../src/Guard/OverrideGuard.php | 4 +- .../src/NodeFactory/NodeFactory.php | 8 +- .../src/TemplateInitializer.php | 8 +- .../src/ValueObject/RectorRecipe.php | 8 +- .../templates/rector-recipe.php | 2 +- .../config/__Configuredconfigured_rule.php | 2 +- .../__Name__/config/configured_rule.php | 2 +- .../rector/rector-laravel/config/config.php | 2 +- ...vel-array-str-functions-to-static-call.php | 2 +- .../config/sets/laravel-code-quality.php | 2 +- .../laravel-legacy-factories-to-classes.php | 2 +- .../sets/laravel-static-to-injection.php | 2 +- .../rector-laravel/config/sets/laravel50.php | 2 +- .../rector-laravel/config/sets/laravel51.php | 2 +- .../rector-laravel/config/sets/laravel52.php | 2 +- .../rector-laravel/config/sets/laravel53.php | 2 +- .../rector-laravel/config/sets/laravel54.php | 2 +- .../rector-laravel/config/sets/laravel55.php | 2 +- .../rector-laravel/config/sets/laravel56.php | 2 +- .../rector-laravel/config/sets/laravel57.php | 2 +- .../rector-laravel/config/sets/laravel58.php | 2 +- .../rector-laravel/config/sets/laravel60.php | 2 +- .../rector-laravel/config/sets/laravel70.php | 2 +- .../rector-laravel/config/sets/laravel80.php | 2 +- .../config/sets/level/up-to-laravel-51.php | 2 +- .../config/sets/level/up-to-laravel-52.php | 2 +- .../config/sets/level/up-to-laravel-53.php | 2 +- .../config/sets/level/up-to-laravel-54.php | 2 +- .../config/sets/level/up-to-laravel-55.php | 2 +- .../config/sets/level/up-to-laravel-56.php | 2 +- .../config/sets/level/up-to-laravel-57.php | 2 +- .../config/sets/level/up-to-laravel-58.php | 2 +- .../config/sets/level/up-to-laravel-60.php | 2 +- .../config/sets/level/up-to-laravel-70.php | 2 +- .../config/sets/level/up-to-laravel-80.php | 2 +- .../rector-laravel/monorepo-builder.php | 10 +- vendor/rector/rector-laravel/rector.php | 2 +- .../NodeFactory/ModelFactoryNodeFactory.php | 12 +- .../AddArgumentDefaultValueRector.php | 6 +- .../Class_/UnifyModelDatesWithCastsRector.php | 8 +- .../FactoryApplyingStatesRector.php | 4 +- .../OptionalToNullsafeOperatorRector.php | 10 +- .../StaticCall/RouteActionCallableRector.php | 10 +- vendor/rector/rector-nette/config/config.php | 2 +- .../rector/rector-nette/config/packages.php | 6 +- .../sets/contributte/apitte-attributes.php | 2 +- ...events-to-contributte-event-dispatcher.php | 2 +- .../sets/kdyby/kdyby-rabbit-mq-to-symfony.php | 2 +- ...-translator-to-contributte-translation.php | 2 +- .../rector-nette/config/sets/nette-24.php | 2 +- .../rector-nette/config/sets/nette-30.php | 2 +- .../sets/nette-30/nette-30-composer.php | 2 +- .../nette-30-dependency-injection.php | 2 +- .../sets/nette-30/nette-30-param-types.php | 2 +- .../sets/nette-30/nette-30-return-types.php | 2 +- .../rector-nette/config/sets/nette-31.php | 2 +- .../config/sets/nette-code-quality.php | 2 +- .../config/sets/nette-remove-inject.php | 2 +- .../rector-nette/config/sets/nette-strict.php | 2 +- .../config/sets/nette-utils-code-quality.php | 2 +- .../sets/nette/annotations-to-attributes.php | 2 +- .../rector/rector-nette/monorepo-builder.php | 10 +- .../Contract/NeonNodeVisitorInterface.php | 4 +- .../packages/NeonParser/NeonNodeTraverser.php | 4 +- .../packages/NeonParser/NeonParser.php | 8 +- .../NeonParser/Node/AbstractVirtualNode.php | 4 +- .../packages/NeonParser/Node/Service_.php | 8 +- .../Node/Service_/SetupMethodCall.php | 6 +- .../NeonParser/NodeFactory/ServiceFactory.php | 36 +- .../Printer/FormatPreservingNeonPrinter.php | 12 +- .../Services/ServiceTypeResolver.php | 18 +- vendor/rector/rector-nette/rector.php | 2 +- .../Contract/Rector/NeonRectorInterface.php | 4 +- ...edVariablesMethodCallsFormTypeResolver.php | 2 +- .../ClassMethodFormTypeResolver.php | 2 +- .../ConstructorFormControlTypeResolver.php | 2 +- ...onentMethodCallFormControlTypeResolver.php | 2 +- ...actoryInterfaceFormControlTypeResolver.php | 2 +- .../NewFormControlTypeResolver.php | 2 +- .../ReturnFormControlTypeResolver.php | 2 +- ...InAnotherMethodFormControlTypeResolver.php | 2 +- ...ableConstructorFormControlTypeResolver.php | 2 +- .../src/Kdyby/Naming/EventClassNaming.php | 6 +- .../EventValueObjectClassFactory.php | 22 +- .../GetSubscribedEventsArrayManipulator.php | 4 +- .../ListeningMethodsCollector.php | 4 +- ...eEventNamesInGetSubscribedEventsRector.php | 4 +- .../src/Latte/Parser/TemplateTypeParser.php | 4 +- .../src/Latte/Parser/VarTypeParser.php | 4 +- .../src/Naming/NetteControlNaming.php | 6 +- .../src/NodeAnalyzer/ArrayDimFetchRenamer.php | 4 +- .../CheckRequirementsClassMethodFactory.php | 8 +- .../ClassWithPublicPropertiesFactory.php | 16 +- ...arentGetterStmtsToExternalStmtsFactory.php | 4 +- .../src/Rector/Class_/FormDataRector.php | 8 +- ...sedOnPresenterTemplateParametersRector.php | 10 +- .../PregFunctionToNetteUtilsStringsRector.php | 4 +- ...ceTimeNumberWithDateTimeConstantRector.php | 4 +- .../Rector/Neon/RenameMethodNeonRector.php | 4 +- .../rector/rector-phpoffice/config/config.php | 2 +- .../sets/phpexcel-to-phpspreadsheet.php | 2 +- .../rector-phpoffice/monorepo-builder.php | 10 +- vendor/rector/rector-phpoffice/rector.php | 2 +- .../rector/rector-phpunit/config/config.php | 2 +- .../config/sets/level/up-to-phpunit-100.php | 2 +- .../config/sets/level/up-to-phpunit-50.php | 2 +- .../config/sets/level/up-to-phpunit-60.php | 2 +- .../config/sets/level/up-to-phpunit-70.php | 2 +- .../config/sets/level/up-to-phpunit-80.php | 2 +- .../config/sets/level/up-to-phpunit-90.php | 2 +- .../config/sets/phpunit-code-quality.php | 2 +- .../config/sets/phpunit-exception.php | 2 +- .../config/sets/phpunit-specific-method.php | 2 +- .../sets/phpunit-yield-data-provider.php | 2 +- .../rector-phpunit/config/sets/phpunit40.php | 2 +- .../rector-phpunit/config/sets/phpunit50.php | 2 +- .../rector-phpunit/config/sets/phpunit60.php | 2 +- .../rector-phpunit/config/sets/phpunit70.php | 2 +- .../config/sets/phpunit80-dms.php | 2 +- .../rector-phpunit/config/sets/phpunit80.php | 2 +- .../rector-phpunit/config/sets/phpunit90.php | 2 +- .../rector-phpunit/config/sets/phpunit91.php | 2 +- .../config/sets/remove-mocks.php | 2 +- vendor/rector/rector-phpunit/easy-ci.php | 6 +- .../rector-phpunit/monorepo-builder.php | 10 +- vendor/rector/rector-phpunit/rector.php | 2 +- .../NodeAnalyzer/MockedVariableAnalyzer.php | 4 +- .../DataProviderClassMethodFactory.php | 4 +- .../NodeFactory/SetUpClassMethodFactory.php | 4 +- .../ArrayArgumentToDataProviderRector.php | 10 +- .../RemoveDataProviderTestPrefixRector.php | 6 +- .../parse-missing-return-types-to-rules.php | 24 +- .../rector/rector-symfony/config/config.php | 6 +- .../sets/jms/annotations-to-attributes.php | 2 +- .../config/sets/jms/remove-jms-inject.php | 2 +- .../sets/sensiolabs/framework-extra-61.php | 2 +- .../swiftmailer-to-symfony-mailer.php | 2 +- .../config/sets/swiftmailer/swiftmailer60.php | 2 +- .../symfony/annotations-to-attributes.php | 2 +- .../sets/symfony/level/up-to-symfony-26.php | 2 +- .../sets/symfony/level/up-to-symfony-28.php | 2 +- .../sets/symfony/level/up-to-symfony-30.php | 2 +- .../sets/symfony/level/up-to-symfony-31.php | 2 +- .../sets/symfony/level/up-to-symfony-32.php | 2 +- .../sets/symfony/level/up-to-symfony-33.php | 2 +- .../sets/symfony/level/up-to-symfony-34.php | 2 +- .../sets/symfony/level/up-to-symfony-40.php | 2 +- .../sets/symfony/level/up-to-symfony-41.php | 2 +- .../sets/symfony/level/up-to-symfony-42.php | 2 +- .../sets/symfony/level/up-to-symfony-43.php | 2 +- .../sets/symfony/level/up-to-symfony-44.php | 2 +- .../sets/symfony/level/up-to-symfony-50.php | 2 +- .../sets/symfony/level/up-to-symfony-51.php | 2 +- .../sets/symfony/level/up-to-symfony-52.php | 2 +- .../sets/symfony/level/up-to-symfony-53.php | 2 +- .../sets/symfony/level/up-to-symfony-54.php | 2 +- .../sets/symfony/level/up-to-symfony-60.php | 2 +- .../sets/symfony/symfony-code-quality.php | 2 +- .../symfony/symfony-constructor-injection.php | 2 +- .../config/sets/symfony/symfony-strict.php | 2 +- .../config/sets/symfony/symfony26.php | 2 +- .../config/sets/symfony/symfony28.php | 2 +- .../config/sets/symfony/symfony30.php | 2 +- .../config/sets/symfony/symfony31.php | 2 +- .../config/sets/symfony/symfony32.php | 2 +- .../config/sets/symfony/symfony33.php | 2 +- .../config/sets/symfony/symfony34.php | 2 +- .../config/sets/symfony/symfony40.php | 2 +- .../config/sets/symfony/symfony41.php | 2 +- .../config/sets/symfony/symfony42.php | 2 +- .../config/sets/symfony/symfony43.php | 2 +- .../config/sets/symfony/symfony44.php | 2 +- .../config/sets/symfony/symfony50-types.php | 2 +- .../config/sets/symfony/symfony50.php | 2 +- .../config/sets/symfony/symfony51.php | 2 +- .../symfony52-validator-attributes.php | 2 +- .../config/sets/symfony/symfony52.php | 2 +- .../config/sets/symfony/symfony53.php | 2 +- .../config/sets/symfony/symfony54.php | 2 +- .../symfony/symfony6/symfony-return-types.php | 6 +- .../config/sets/symfony/symfony60.php | 2 +- .../twig/twig-underscore-to-namespace.php | 2 +- .../config/sets/twig/twig112.php | 2 +- .../config/sets/twig/twig127.php | 2 +- .../config/sets/twig/twig134.php | 2 +- .../config/sets/twig/twig140.php | 2 +- .../config/sets/twig/twig20.php | 2 +- .../config/sets/twig/twig240.php | 2 +- .../rector-symfony/monorepo-builder.php | 10 +- vendor/rector/rector-symfony/rector.php | 2 +- .../src/Command/RectorRoutesExportCommand.php | 22 +- .../src/DataProvider/RouteMapProvider.php | 4 +- .../src/DataProvider/ServiceMapProvider.php | 4 +- .../FormTypeStringToTypeProvider.php | 4 +- .../src/Helper/TemplateGuesser.php | 12 +- ...ActiveClassElementsClassMethodResolver.php | 4 +- .../InvokableControllerNameFactory.php | 8 +- .../OnSuccessLogoutClassMethodFactory.php | 4 +- .../ClassMethod/ActionSuffixRemoverRector.php | 4 +- .../RemoveDefaultGetBlockPrefixRector.php | 8 +- .../TemplateAnnotationToThisRenderRector.php | 4 +- ...geFileLoaderInExtensionAndKernelRector.php | 10 +- .../EventListenerToEventSubscriberRector.php | 4 +- .../Rector/Class_/MakeCommandLazyRector.php | 4 +- .../FuncCall/ReplaceServiceArgumentRector.php | 4 +- ...tParameterToConstructorInjectionRector.php | 4 +- .../StringToArrayArgumentProcessRector.php | 8 +- .../src/Rector/StaticCall/ParseFileRector.php | 4 +- .../ValueObjectFactory/RouteMapFactory.php | 4 +- .../ValueObjectFactory/ServiceMapFactory.php | 12 +- vendor/scoper-autoload.php | 92 +- vendor/sebastian/diff/src/Chunk.php | 6 +- vendor/sebastian/diff/src/Diff.php | 2 +- vendor/sebastian/diff/src/Differ.php | 28 +- .../src/Exception/ConfigurationException.php | 4 +- .../diff/src/Exception/Exception.php | 2 +- .../Exception/InvalidArgumentException.php | 4 +- vendor/sebastian/diff/src/Line.php | 2 +- .../LongestCommonSubsequenceCalculator.php | 2 +- ...ientLongestCommonSubsequenceCalculator.php | 4 +- .../src/Output/AbstractChunkOutputBuilder.php | 4 +- .../diff/src/Output/DiffOnlyOutputBuilder.php | 12 +- .../src/Output/DiffOutputBuilderInterface.php | 2 +- .../Output/StrictUnifiedDiffOutputBuilder.php | 36 +- .../src/Output/UnifiedDiffOutputBuilder.php | 24 +- vendor/sebastian/diff/src/Parser.php | 16 +- ...ientLongestCommonSubsequenceCalculator.php | 4 +- .../Migrations/Code/ClassAliasMap.php | 2 +- .../backend/Migrations/Code/ClassAliasMap.php | 2 +- .../core/Migrations/Code/ClassAliasMap.php | 2 +- .../backend/Migrations/Code/ClassAliasMap.php | 4 +- .../Migrations/Code/ClassAliasMap.php | 4 +- .../extbase/Migrations/Code/ClassAliasMap.php | 2 +- .../fluid/Migrations/Code/ClassAliasMap.php | 2 +- .../version/Migrations/Code/ClassAliasMap.php | 2 +- .../Migrations/Code/ClassAliasMap.php | 2 +- .../backend/Migrations/Code/ClassAliasMap.php | 2 +- .../core/Migrations/Code/ClassAliasMap.php | 2 +- .../extbase/Migrations/Code/ClassAliasMap.php | 2 +- .../fluid/Migrations/Code/ClassAliasMap.php | 2 +- .../info/Migrations/Code/ClassAliasMap.php | 2 +- .../Migrations/Code/ClassAliasMap.php | 2 +- .../Migrations/Code/ClassAliasMap.php | 2 +- .../reports/Migrations/Code/ClassAliasMap.php | 2 +- .../Migrations/Code/ClassAliasMap.php | 2 +- .../Migrations/Code/ClassAliasMap.php | 2 +- .../move_extension_from_ter_to_packagist.php | 2 +- .../typo3-104-composer-packages-core.php | 2 +- ...typo3-104-composer-packages-extensions.php | 2 +- .../typo3-110-composer-packages-core.php | 2 +- ...typo3-110-composer-packages-extensions.php | 2 +- .../typo3-87-composer-packages-extensions.php | 2 +- .../typo3-95-composer-packages-core.php | 2 +- .../typo3-95-composer-packages-extensions.php | 2 +- vendor/ssch/typo3-rector/config/config.php | 38 +- .../ssch/typo3-rector/config/config_test.php | 2 +- .../config/database-connection-to-dbal.php | 2 +- .../ssch/typo3-rector/config/experimental.php | 2 +- ...ommand_controllers_to_symfony_commands.php | 2 +- .../config/level/up-to-typo3-10.php | 2 +- .../config/level/up-to-typo3-11.php | 2 +- .../config/level/up-to-typo3-12.php | 2 +- .../config/level/up-to-typo3-7.php | 2 +- .../config/level/up-to-typo3-8.php | 2 +- .../config/level/up-to-typo3-9.php | 2 +- ...g-framework-to-typo3-testing-framework.php | 2 +- .../register-icon-to-icons-file.php | 2 +- .../typo3-rector/config/solr/solr-8.x.php | 2 +- .../typo3-rector/config/solr/solr-9.x.php | 2 +- .../typo3-rector/config/solr/v8/solr-8.0.php | 2 +- .../solr/v9/solr_php_client_to_solarium.php | 2 +- .../ssch/typo3-rector/config/typo3-10.4.php | 2 +- .../ssch/typo3-rector/config/typo3-11.5.php | 2 +- .../ssch/typo3-rector/config/typo3-12.0.php | 2 +- vendor/ssch/typo3-rector/config/typo3-7.6.php | 2 +- vendor/ssch/typo3-rector/config/typo3-8.7.php | 2 +- vendor/ssch/typo3-rector/config/typo3-9.5.php | 2 +- .../config/underscore-to-namespace.php | 2 +- .../ssch/typo3-rector/config/v10/tca-104.php | 2 +- .../typo3-rector/config/v10/typo3-100.php | 2 +- .../typo3-rector/config/v10/typo3-101.php | 2 +- .../typo3-rector/config/v10/typo3-102.php | 2 +- .../typo3-rector/config/v10/typo3-103.php | 2 +- .../typo3-rector/config/v10/typo3-104.php | 2 +- .../config/v10/typoscript-conditions-104.php | 2 +- .../ssch/typo3-rector/config/v11/tca-114.php | 2 +- .../typo3-rector/config/v11/typo3-110.php | 2 +- .../typo3-rector/config/v11/typo3-113.php | 2 +- .../typo3-rector/config/v11/typo3-114.php | 2 +- .../typo3-rector/config/v11/typo3-115.php | 2 +- .../typo3-rector/config/v12/typo3-120.php | 2 +- vendor/ssch/typo3-rector/config/v7/tca-76.php | 2 +- .../ssch/typo3-rector/config/v7/typo3-70.php | 2 +- .../ssch/typo3-rector/config/v7/typo3-71.php | 2 +- .../ssch/typo3-rector/config/v7/typo3-74.php | 2 +- .../ssch/typo3-rector/config/v7/typo3-76.php | 6 +- vendor/ssch/typo3-rector/config/v8/tca-87.php | 2 +- .../ssch/typo3-rector/config/v8/typo3-80.php | 2 +- .../ssch/typo3-rector/config/v8/typo3-81.php | 2 +- .../ssch/typo3-rector/config/v8/typo3-82.php | 2 +- .../ssch/typo3-rector/config/v8/typo3-83.php | 2 +- .../ssch/typo3-rector/config/v8/typo3-84.php | 2 +- .../ssch/typo3-rector/config/v8/typo3-85.php | 2 +- .../ssch/typo3-rector/config/v8/typo3-86.php | 2 +- .../ssch/typo3-rector/config/v8/typo3-87.php | 2 +- vendor/ssch/typo3-rector/config/v9/tca-95.php | 2 +- .../ssch/typo3-rector/config/v9/typo3-90.php | 2 +- .../ssch/typo3-rector/config/v9/typo3-92.php | 2 +- .../ssch/typo3-rector/config/v9/typo3-93.php | 2 +- .../ssch/typo3-rector/config/v9/typo3-94.php | 2 +- .../ssch/typo3-rector/config/v9/typo3-95.php | 2 +- .../config/v9/typoscript-conditions-95.php | 2 +- .../TypoScript/TypoScriptRectorInterface.php | 4 +- .../Rector/ExtensionComposerRector.php | 12 +- ...veCmsPackageDirFromExtraComposerRector.php | 4 +- .../Fluid/Rector/DefaultSwitchFluidRector.php | 4 +- .../Resources/Icons/IconsFileProcessor.php | 11 +- .../Resources/Icons/Rector/IconsRector.php | 13 +- .../Conditions/TimeConditionMatcher.php | 4 +- .../Rector/AbstractTypoScriptRector.php | 4 +- ...ditionalHeadersToArrayTypoScriptRector.php | 4 +- .../ExtbasePersistenceTypoScriptRector.php | 16 +- ...cludeToImportStatementTypoScriptRector.php | 4 +- ...bFluidContentToLibContentElementRector.php | 6 +- ...onToExpressionLanguageTypoScriptRector.php | 4 +- ...emplateToFluidTemplateTypoScriptRector.php | 8 +- .../TypoScript/TypoScriptFileProcessor.php | 30 +- .../Yaml/Form/FormYamlFileProcessor.php | 6 +- .../FileProcessor/Yaml/YamlIndentResolver.php | 4 +- .../typo3-rector/src/Helper/FilesFinder.php | 4 +- .../typo3-rector/src/Helper/StringUtility.php | 6 +- .../NodeAnalyzer/CommandMethodDecorator.php | 4 +- .../InitializeArgumentsClassMethodFactory.php | 8 +- .../src/NodeFactory/InjectMethodFactory.php | 8 +- ...hodGetInstanceToMakeInstanceCallRector.php | 10 +- .../FullQualifiedNamePostRector.php | 8 +- ...AddControllerConfigurationMethodRector.php | 8 +- .../SetSystemLocaleFromSiteLanguageRector.php | 2 +- .../v0/UseNativePhpHex2binMethodRector.php | 4 +- ...ronmentServiceIfNeededInResponseRector.php | 12 +- ...IconsFromSubFolderInIconRegistryRector.php | 4 +- .../v11/v4/ProvideCObjViaMethodRector.php | 8 +- .../v11/v5/RegisterIconToIconFileRector.php | 4 +- ...AbsolutePathToGetFileAbsFileNameRector.php | 2 +- ...RemovedMethodsFromGeneralUtilityRector.php | 4 +- .../v8/v3/RefactorMethodFileContentRector.php | 2 +- .../v8/v4/SubstituteOldWizardIconsRector.php | 8 +- .../src/Rector/v8/v6/RefactorTCARector.php | 4 +- ...veForeignTypesToOverrideChildTcaRector.php | 2 +- ...ctionsTempPathAndCreateTemSubDirRector.php | 2 +- .../TemplateServiceSplitConfArrayRector.php | 2 +- .../ReplaceExtKeyWithExtensionKeyRector.php | 8 +- ...ckendUserAuthenticationSimplelogRector.php | 2 +- .../Rector/v9/v3/PhpOptionsUtilityRector.php | 2 +- .../v4/BackendUtilityShortcutExistsRector.php | 4 +- ...llEnableFieldsFromPageRepositoryRector.php | 2 +- ...moveInitMethodGraphicalFunctionsRector.php | 2 +- .../v4/RemoveInitTemplateMethodCallRector.php | 2 +- ...ntextApiForVersioningWorkspaceIdRector.php | 2 +- ...tilityInsteadOfGetRootlineMethodRector.php | 2 +- ...ommandControllerToSymfonyCommandRector.php | 25 +- .../v9/v5/RefactorProcessOutputRector.php | 2 +- .../symfony/config/Builder/ClassBuilder.php | 8 +- .../config/Builder/ConfigBuilderGenerator.php | 108 +- .../ConfigBuilderGeneratorInterface.php | 6 +- .../config/Builder/ConfigBuilderInterface.php | 2 +- vendor/symfony/config/Builder/Method.php | 2 +- vendor/symfony/config/Builder/Property.php | 2 +- vendor/symfony/config/ConfigCache.php | 8 +- vendor/symfony/config/ConfigCacheFactory.php | 8 +- .../config/ConfigCacheFactoryInterface.php | 4 +- .../symfony/config/ConfigCacheInterface.php | 4 +- .../symfony/config/Definition/ArrayNode.php | 28 +- vendor/symfony/config/Definition/BaseNode.php | 30 +- .../symfony/config/Definition/BooleanNode.php | 8 +- .../Builder/ArrayNodeDefinition.php | 68 +- .../Builder/BooleanNodeDefinition.php | 16 +- .../Builder/BuilderAwareInterface.php | 4 +- .../Definition/Builder/EnumNodeDefinition.php | 10 +- .../config/Definition/Builder/ExprBuilder.php | 8 +- .../Builder/FloatNodeDefinition.php | 10 +- .../Builder/IntegerNodeDefinition.php | 10 +- .../Definition/Builder/MergeBuilder.php | 4 +- .../config/Definition/Builder/NodeBuilder.php | 28 +- .../Definition/Builder/NodeDefinition.php | 44 +- .../Builder/NodeParentInterface.php | 2 +- .../Builder/NormalizationBuilder.php | 6 +- .../Builder/NumericNodeDefinition.php | 8 +- .../Builder/ParentNodeDefinitionInterface.php | 8 +- .../Builder/ScalarNodeDefinition.php | 10 +- .../config/Definition/Builder/TreeBuilder.php | 12 +- .../Definition/Builder/ValidationBuilder.php | 6 +- .../Builder/VariableNodeDefinition.php | 14 +- .../Definition/ConfigurationInterface.php | 4 +- .../Definition/Dumper/XmlReferenceDumper.php | 38 +- .../Definition/Dumper/YamlReferenceDumper.php | 68 +- vendor/symfony/config/Definition/EnumNode.php | 10 +- .../Exception/DuplicateKeyException.php | 4 +- .../config/Definition/Exception/Exception.php | 2 +- .../Exception/ForbiddenOverwriteException.php | 4 +- .../InvalidConfigurationException.php | 4 +- .../Exception/InvalidDefinitionException.php | 4 +- .../Exception/InvalidTypeException.php | 4 +- .../Exception/UnsetKeyException.php | 4 +- .../symfony/config/Definition/FloatNode.php | 8 +- .../symfony/config/Definition/IntegerNode.php | 8 +- .../config/Definition/NodeInterface.php | 8 +- .../symfony/config/Definition/NumericNode.php | 10 +- .../symfony/config/Definition/Processor.php | 6 +- .../Definition/PrototypeNodeInterface.php | 4 +- .../config/Definition/PrototypedArrayNode.php | 38 +- .../symfony/config/Definition/ScalarNode.php | 8 +- .../config/Definition/VariableNode.php | 10 +- ...LoaderImportCircularReferenceException.php | 4 +- .../FileLocatorFileNotFoundException.php | 2 +- .../config/Exception/LoaderLoadException.php | 2 +- vendor/symfony/config/FileLocator.php | 10 +- .../symfony/config/FileLocatorInterface.php | 4 +- .../config/Loader/DelegatingLoader.php | 10 +- vendor/symfony/config/Loader/FileLoader.php | 34 +- .../symfony/config/Loader/GlobFileLoader.php | 4 +- vendor/symfony/config/Loader/Loader.php | 14 +- .../symfony/config/Loader/LoaderInterface.php | 4 +- .../symfony/config/Loader/LoaderResolver.php | 6 +- .../config/Loader/LoaderResolverInterface.php | 2 +- .../config/Loader/ParamConfigurator.php | 2 +- .../Resource/ClassExistenceResource.php | 4 +- .../config/Resource/ComposerResource.php | 4 +- .../config/Resource/DirectoryResource.php | 4 +- .../config/Resource/FileExistenceResource.php | 4 +- .../symfony/config/Resource/FileResource.php | 4 +- .../symfony/config/Resource/GlobResource.php | 14 +- .../Resource/ReflectionClassResource.php | 22 +- .../config/Resource/ResourceInterface.php | 2 +- .../Resource/SelfCheckingResourceChecker.php | 12 +- .../SelfCheckingResourceInterface.php | 4 +- .../config/ResourceCheckerConfigCache.php | 16 +- .../ResourceCheckerConfigCacheFactory.php | 8 +- .../config/ResourceCheckerInterface.php | 8 +- .../Util/Exception/InvalidXmlException.php | 4 +- .../Util/Exception/XmlParsingException.php | 2 +- vendor/symfony/config/Util/XmlUtils.php | 20 +- vendor/symfony/config/composer.json | 2 +- vendor/symfony/console/Application.php | 274 +- .../symfony/console/Attribute/AsCommand.php | 2 +- .../console/CI/GithubActionReporter.php | 6 +- vendor/symfony/console/Color.php | 10 +- vendor/symfony/console/Command/Command.php | 84 +- .../console/Command/CompleteCommand.php | 48 +- .../console/Command/DumpCompletionCommand.php | 32 +- .../symfony/console/Command/HelpCommand.php | 34 +- .../symfony/console/Command/LazyCommand.php | 30 +- .../symfony/console/Command/ListCommand.php | 32 +- .../symfony/console/Command/LockableTrait.php | 24 +- .../Command/SignalableCommandInterface.php | 2 +- .../CommandLoader/CommandLoaderInterface.php | 8 +- .../CommandLoader/ContainerCommandLoader.php | 16 +- .../CommandLoader/FactoryCommandLoader.php | 12 +- .../console/Completion/CompletionInput.php | 18 +- .../Completion/CompletionSuggestions.php | 8 +- .../Output/BashCompletionOutput.php | 10 +- .../Output/CompletionOutputInterface.php | 8 +- .../symfony/console/Completion/Suggestion.php | 2 +- vendor/symfony/console/ConsoleEvents.php | 12 +- vendor/symfony/console/Cursor.php | 6 +- .../AddConsoleCommandPass.php | 46 +- .../Descriptor/ApplicationDescription.php | 14 +- .../symfony/console/Descriptor/Descriptor.php | 44 +- .../Descriptor/DescriptorInterface.php | 6 +- .../console/Descriptor/JsonDescriptor.php | 34 +- .../console/Descriptor/MarkdownDescriptor.php | 42 +- .../console/Descriptor/TextDescriptor.php | 64 +- .../console/Descriptor/XmlDescriptor.php | 36 +- .../console/Event/ConsoleCommandEvent.php | 4 +- .../console/Event/ConsoleErrorEvent.php | 12 +- vendor/symfony/console/Event/ConsoleEvent.php | 20 +- .../console/Event/ConsoleSignalEvent.php | 12 +- .../console/Event/ConsoleTerminateEvent.php | 12 +- .../console/EventListener/ErrorListener.php | 26 +- .../Exception/CommandNotFoundException.php | 4 +- .../console/Exception/ExceptionInterface.php | 2 +- .../Exception/InvalidArgumentException.php | 4 +- .../Exception/InvalidOptionException.php | 4 +- .../console/Exception/LogicException.php | 4 +- .../Exception/MissingInputException.php | 4 +- .../Exception/NamespaceNotFoundException.php | 4 +- .../console/Exception/RuntimeException.php | 4 +- .../console/Formatter/NullOutputFormatter.php | 10 +- .../Formatter/NullOutputFormatterStyle.php | 4 +- .../console/Formatter/OutputFormatter.php | 28 +- .../Formatter/OutputFormatterInterface.php | 6 +- .../Formatter/OutputFormatterStyle.php | 18 +- .../OutputFormatterStyleInterface.php | 2 +- .../Formatter/OutputFormatterStyleStack.php | 24 +- .../WrappableOutputFormatterInterface.php | 4 +- .../console/Helper/DebugFormatterHelper.php | 4 +- .../console/Helper/DescriptorHelper.php | 26 +- vendor/symfony/console/Helper/Dumper.php | 18 +- .../console/Helper/FormatterHelper.php | 8 +- vendor/symfony/console/Helper/Helper.php | 18 +- .../console/Helper/HelperInterface.php | 6 +- vendor/symfony/console/Helper/HelperSet.php | 10 +- .../console/Helper/InputAwareHelper.php | 10 +- .../symfony/console/Helper/ProcessHelper.php | 34 +- vendor/symfony/console/Helper/ProgressBar.php | 54 +- .../console/Helper/ProgressIndicator.php | 30 +- .../symfony/console/Helper/QuestionHelper.php | 92 +- .../console/Helper/SymfonyQuestionHelper.php | 38 +- vendor/symfony/console/Helper/Table.php | 134 +- vendor/symfony/console/Helper/TableCell.php | 12 +- .../symfony/console/Helper/TableCellStyle.php | 8 +- vendor/symfony/console/Helper/TableRows.php | 2 +- .../symfony/console/Helper/TableSeparator.php | 4 +- vendor/symfony/console/Helper/TableStyle.php | 10 +- vendor/symfony/console/Input/ArgvInput.php | 22 +- vendor/symfony/console/Input/ArrayInput.php | 18 +- vendor/symfony/console/Input/Input.php | 24 +- .../symfony/console/Input/InputArgument.php | 12 +- .../console/Input/InputAwareInterface.php | 4 +- .../symfony/console/Input/InputDefinition.php | 40 +- .../symfony/console/Input/InputInterface.php | 8 +- vendor/symfony/console/Input/InputOption.php | 20 +- .../Input/StreamableInputInterface.php | 4 +- vendor/symfony/console/Input/StringInput.php | 8 +- .../symfony/console/Logger/ConsoleLogger.php | 24 +- .../symfony/console/Output/BufferedOutput.php | 4 +- .../symfony/console/Output/ConsoleOutput.php | 22 +- .../console/Output/ConsoleOutputInterface.php | 10 +- .../console/Output/ConsoleSectionOutput.php | 16 +- vendor/symfony/console/Output/NullOutput.php | 14 +- vendor/symfony/console/Output/Output.php | 22 +- .../console/Output/OutputInterface.php | 8 +- .../symfony/console/Output/StreamOutput.php | 12 +- .../console/Output/TrimmedBufferOutput.php | 12 +- .../console/Question/ChoiceQuestion.php | 12 +- .../console/Question/ConfirmationQuestion.php | 4 +- vendor/symfony/console/Question/Question.php | 12 +- .../console/SignalRegistry/SignalRegistry.php | 2 +- .../console/SingleCommandApplication.php | 14 +- vendor/symfony/console/Style/OutputStyle.php | 24 +- .../symfony/console/Style/StyleInterface.php | 2 +- vendor/symfony/console/Style/SymfonyStyle.php | 88 +- vendor/symfony/console/Terminal.php | 2 +- .../console/Tester/ApplicationTester.php | 10 +- .../Tester/CommandCompletionTester.php | 14 +- .../symfony/console/Tester/CommandTester.php | 10 +- .../Tester/Constraint/CommandIsSuccessful.php | 12 +- vendor/symfony/console/Tester/TesterTrait.php | 26 +- vendor/symfony/console/composer.json | 2 +- .../contracts/Cache/CacheInterface.php | 6 +- vendor/symfony/contracts/Cache/CacheTrait.php | 20 +- .../contracts/Cache/CallbackInterface.php | 6 +- .../symfony/contracts/Cache/ItemInterface.php | 10 +- .../Cache/TagAwareCacheInterface.php | 6 +- vendor/symfony/contracts/Cache/composer.json | 2 +- .../contracts/Deprecation/function.php | 4 +- .../contracts/EventDispatcher/Event.php | 6 +- .../EventDispatcherInterface.php | 6 +- .../contracts/EventDispatcher/composer.json | 2 +- .../contracts/HttpClient/ChunkInterface.php | 4 +- .../Exception/ClientExceptionInterface.php | 4 +- .../Exception/DecodingExceptionInterface.php | 4 +- .../Exception/ExceptionInterface.php | 2 +- .../Exception/HttpExceptionInterface.php | 8 +- .../RedirectionExceptionInterface.php | 4 +- .../Exception/ServerExceptionInterface.php | 4 +- .../Exception/TimeoutExceptionInterface.php | 4 +- .../Exception/TransportExceptionInterface.php | 4 +- .../HttpClient/HttpClientInterface.php | 10 +- .../HttpClient/ResponseInterface.php | 14 +- .../HttpClient/ResponseStreamInterface.php | 6 +- .../HttpClient/Test/Fixtures/web/index.php | 2 +- .../HttpClient/Test/HttpClientTestCase.php | 124 +- .../HttpClient/Test/TestHttpServer.php | 12 +- .../contracts/HttpClient/composer.json | 2 +- .../contracts/Service/Attribute/Required.php | 2 +- .../Service/Attribute/SubscribedService.php | 4 +- .../contracts/Service/ResetInterface.php | 2 +- .../contracts/Service/ServiceLocatorTrait.php | 18 +- .../Service/ServiceProviderInterface.php | 6 +- .../Service/ServiceSubscriberInterface.php | 2 +- .../Service/ServiceSubscriberTrait.php | 14 +- .../Service/Test/ServiceLocatorTest.php | 18 +- .../symfony/contracts/Service/composer.json | 2 +- .../contracts/Tests/Cache/CacheTraitTest.php | 42 +- .../Service/ServiceSubscriberTraitTest.php | 48 +- .../Translation/LocaleAwareInterface.php | 2 +- .../Translation/Test/TranslatorTest.php | 14 +- .../Translation/TranslatableInterface.php | 4 +- .../Translation/TranslatorInterface.php | 2 +- .../contracts/Translation/TranslatorTrait.php | 8 +- .../contracts/Translation/composer.json | 2 +- vendor/symfony/contracts/composer.json | 2 +- vendor/symfony/dependency-injection/Alias.php | 8 +- .../Argument/AbstractArgument.php | 2 +- .../Argument/ArgumentInterface.php | 2 +- .../Argument/BoundArgument.php | 4 +- .../Argument/IteratorArgument.php | 4 +- .../Argument/ReferenceSetArgumentTrait.php | 10 +- .../Argument/RewindableGenerator.php | 2 +- .../Argument/ServiceClosureArgument.php | 14 +- .../Argument/ServiceLocator.php | 6 +- .../Argument/ServiceLocatorArgument.php | 10 +- .../Argument/TaggedIteratorArgument.php | 4 +- .../Attribute/AsTaggedItem.php | 2 +- .../Attribute/Autoconfigure.php | 2 +- .../Attribute/AutoconfigureTag.php | 4 +- .../Attribute/TaggedIterator.php | 2 +- .../Attribute/TaggedLocator.php | 2 +- .../dependency-injection/Attribute/Target.php | 6 +- .../dependency-injection/Attribute/When.php | 2 +- .../dependency-injection/ChildDefinition.php | 10 +- .../Compiler/AbstractRecursivePass.php | 82 +- .../AliasDeprecatedPublicServicesPass.php | 20 +- .../Compiler/AnalyzeServiceReferencesPass.php | 28 +- .../AttributeAutoconfigurationPass.php | 28 +- .../Compiler/AutoAliasServicePass.php | 16 +- .../Compiler/AutowirePass.php | 98 +- .../Compiler/AutowireRequiredMethodsPass.php | 12 +- .../AutowireRequiredPropertiesPass.php | 18 +- .../Compiler/CheckArgumentsValidityPass.php | 22 +- .../Compiler/CheckCircularReferencesPass.php | 12 +- .../Compiler/CheckDefinitionValidityPass.php | 32 +- ...xceptionOnInvalidReferenceBehaviorPass.php | 24 +- .../Compiler/CheckReferenceValidityPass.php | 16 +- .../Compiler/CheckTypeDeclarationsPass.php | 82 +- .../Compiler/Compiler.php | 22 +- .../Compiler/CompilerPassInterface.php | 6 +- .../Compiler/DecoratorServicePass.php | 34 +- .../Compiler/DefinitionErrorExceptionPass.php | 18 +- .../Compiler/ExtensionCompilerPass.php | 10 +- .../Compiler/InlineServiceDefinitionsPass.php | 32 +- .../MergeExtensionConfigurationPass.php | 66 +- .../Compiler/PassConfig.php | 22 +- .../Compiler/PriorityTaggedServiceTrait.php | 40 +- .../RegisterAutoconfigureAttributesPass.php | 26 +- .../Compiler/RegisterEnvVarProcessorsPass.php | 36 +- .../Compiler/RegisterReverseContainerPass.php | 28 +- .../RegisterServiceSubscribersPass.php | 60 +- .../RemoveAbstractDefinitionsPass.php | 8 +- .../Compiler/RemovePrivateAliasesPass.php | 8 +- .../Compiler/RemoveUnusedDefinitionsPass.php | 14 +- .../ReplaceAliasByActualDefinitionPass.php | 22 +- .../Compiler/ResolveBindingsPass.php | 54 +- .../Compiler/ResolveChildDefinitionsPass.php | 38 +- .../Compiler/ResolveClassPass.php | 16 +- .../Compiler/ResolveDecoratorStackPass.php | 40 +- .../Compiler/ResolveEnvPlaceholdersPass.php | 8 +- .../Compiler/ResolveFactoryClassPass.php | 12 +- .../Compiler/ResolveHotPathPass.php | 20 +- .../ResolveInstanceofConditionalsPass.php | 28 +- .../Compiler/ResolveInvalidReferencesPass.php | 48 +- .../Compiler/ResolveNamedArgumentsPass.php | 34 +- .../Compiler/ResolveNoPreloadPass.php | 16 +- .../ResolveParameterPlaceHoldersPass.php | 18 +- .../ResolveReferencesToAliasesPass.php | 20 +- .../ResolveServiceSubscribersPass.php | 18 +- .../ResolveTaggedIteratorArgumentPass.php | 8 +- .../Compiler/ServiceLocatorTagPass.php | 62 +- .../Compiler/ServiceReferenceGraph.php | 18 +- .../Compiler/ServiceReferenceGraphEdge.php | 8 +- .../Compiler/ServiceReferenceGraphNode.php | 14 +- .../Compiler/ValidateEnvPlaceholdersPass.php | 34 +- .../Config/ContainerParametersResource.php | 6 +- .../ContainerParametersResourceChecker.php | 18 +- .../dependency-injection/Container.php | 68 +- .../ContainerAwareInterface.php | 4 +- .../ContainerAwareTrait.php | 4 +- .../dependency-injection/ContainerBuilder.php | 288 +-- .../ContainerInterface.php | 12 +- .../dependency-injection/Definition.php | 36 +- .../dependency-injection/Dumper/Dumper.php | 8 +- .../Dumper/DumperInterface.php | 2 +- .../Dumper/GraphvizDumper.php | 36 +- .../dependency-injection/Dumper/PhpDumper.php | 312 +-- .../dependency-injection/Dumper/Preloader.php | 4 +- .../dependency-injection/Dumper/XmlDumper.php | 80 +- .../Dumper/YamlDumper.php | 106 +- .../EnvVarLoaderInterface.php | 2 +- .../dependency-injection/EnvVarProcessor.php | 54 +- .../EnvVarProcessorInterface.php | 4 +- .../Exception/AutowiringFailedException.php | 4 +- .../Exception/BadMethodCallException.php | 4 +- .../Exception/EnvNotFoundException.php | 4 +- .../Exception/EnvParameterException.php | 4 +- .../Exception/ExceptionInterface.php | 6 +- .../Exception/InvalidArgumentException.php | 4 +- .../InvalidParameterTypeException.php | 4 +- .../Exception/LogicException.php | 4 +- .../Exception/OutOfBoundsException.php | 4 +- .../ParameterCircularReferenceException.php | 4 +- .../Exception/ParameterNotFoundException.php | 6 +- .../Exception/RuntimeException.php | 4 +- .../ServiceCircularReferenceException.php | 4 +- .../Exception/ServiceNotFoundException.php | 6 +- .../ExpressionLanguage.php | 14 +- .../ExpressionLanguageProvider.php | 12 +- .../ConfigurationExtensionInterface.php | 8 +- .../Extension/Extension.php | 36 +- .../Extension/ExtensionInterface.php | 6 +- .../Extension/PrependExtensionInterface.php | 6 +- .../Instantiator/InstantiatorInterface.php | 8 +- .../Instantiator/RealServiceInstantiator.php | 10 +- .../LazyProxy/PhpDumper/DumperInterface.php | 10 +- .../LazyProxy/PhpDumper/NullDumper.php | 12 +- .../LazyProxy/ProxyHelper.php | 4 +- .../Loader/ClosureLoader.php | 10 +- .../Configurator/AbstractConfigurator.php | 46 +- .../AbstractServiceConfigurator.php | 24 +- .../Loader/Configurator/AliasConfigurator.php | 8 +- .../ClosureReferenceConfigurator.php | 4 +- .../Configurator/ContainerConfigurator.php | 86 +- .../Configurator/DefaultsConfigurator.php | 16 +- .../Loader/Configurator/EnvConfigurator.php | 8 +- .../InlineServiceConfigurator.php | 8 +- .../Configurator/InstanceofConfigurator.php | 8 +- .../Configurator/ParametersConfigurator.php | 16 +- .../Configurator/PrototypeConfigurator.php | 12 +- .../Configurator/ReferenceConfigurator.php | 14 +- .../Configurator/ServiceConfigurator.php | 10 +- .../Configurator/ServicesConfigurator.php | 60 +- .../Configurator/Traits/AbstractTrait.php | 2 +- .../Configurator/Traits/ArgumentTrait.php | 2 +- .../Traits/AutoconfigureTrait.php | 4 +- .../Configurator/Traits/AutowireTrait.php | 2 +- .../Loader/Configurator/Traits/BindTrait.php | 12 +- .../Loader/Configurator/Traits/CallTrait.php | 4 +- .../Loader/Configurator/Traits/ClassTrait.php | 2 +- .../Configurator/Traits/ConfiguratorTrait.php | 4 +- .../Configurator/Traits/DecorateTrait.php | 8 +- .../Configurator/Traits/DeprecateTrait.php | 4 +- .../Configurator/Traits/FactoryTrait.php | 8 +- .../Loader/Configurator/Traits/FileTrait.php | 2 +- .../Loader/Configurator/Traits/LazyTrait.php | 2 +- .../Configurator/Traits/ParentTrait.php | 10 +- .../Configurator/Traits/PropertyTrait.php | 2 +- .../Configurator/Traits/PublicTrait.php | 2 +- .../Loader/Configurator/Traits/ShareTrait.php | 2 +- .../Configurator/Traits/SyntheticTrait.php | 2 +- .../Loader/Configurator/Traits/TagTrait.php | 8 +- .../Loader/DirectoryLoader.php | 4 +- .../Loader/FileLoader.php | 60 +- .../Loader/GlobFileLoader.php | 4 +- .../Loader/IniFileLoader.php | 12 +- .../Loader/PhpFileLoader.php | 60 +- .../Loader/XmlFileLoader.php | 174 +- .../Loader/YamlFileLoader.php | 252 +- .../dependency-injection/Parameter.php | 2 +- .../ParameterBag/ContainerBag.php | 8 +- .../ParameterBag/ContainerBagInterface.php | 8 +- .../EnvPlaceholderParameterBag.php | 14 +- .../ParameterBag/FrozenParameterBag.php | 14 +- .../ParameterBag/ParameterBag.php | 22 +- .../ParameterBag/ParameterBagInterface.php | 6 +- .../dependency-injection/Reference.php | 4 +- .../dependency-injection/ReverseContainer.php | 12 +- .../dependency-injection/ServiceLocator.php | 38 +- .../TaggedContainerInterface.php | 4 +- .../dependency-injection/TypedReference.php | 6 +- .../symfony/dependency-injection/Variable.php | 2 +- .../dependency-injection/composer.json | 2 +- .../Exception/ExceptionInterface.php | 2 +- .../Exception/FileNotFoundException.php | 4 +- .../filesystem/Exception/IOException.php | 4 +- .../Exception/IOExceptionInterface.php | 4 +- .../Exception/InvalidArgumentException.php | 4 +- .../filesystem/Exception/RuntimeException.php | 4 +- vendor/symfony/filesystem/Filesystem.php | 72 +- vendor/symfony/filesystem/Path.php | 16 +- vendor/symfony/filesystem/composer.json | 2 +- .../symfony/finder/Comparator/Comparator.php | 2 +- .../finder/Comparator/DateComparator.php | 4 +- .../finder/Comparator/NumberComparator.php | 4 +- .../Exception/AccessDeniedException.php | 2 +- .../Exception/DirectoryNotFoundException.php | 2 +- vendor/symfony/finder/Finder.php | 76 +- vendor/symfony/finder/Gitignore.php | 2 +- vendor/symfony/finder/Glob.php | 2 +- .../finder/Iterator/CustomFilterIterator.php | 2 +- .../Iterator/DateRangeFilterIterator.php | 4 +- .../Iterator/DepthRangeFilterIterator.php | 2 +- .../ExcludeDirectoryFilterIterator.php | 2 +- .../Iterator/FileTypeFilterIterator.php | 2 +- .../Iterator/FilecontentFilterIterator.php | 4 +- .../Iterator/FilenameFilterIterator.php | 8 +- .../symfony/finder/Iterator/LazyIterator.php | 2 +- .../Iterator/MultiplePcreFilterIterator.php | 2 +- .../finder/Iterator/PathFilterIterator.php | 4 +- .../Iterator/RecursiveDirectoryIterator.php | 12 +- .../Iterator/SizeRangeFilterIterator.php | 4 +- .../finder/Iterator/SortableIterator.php | 2 +- .../Iterator/VcsIgnoredFilterIterator.php | 6 +- vendor/symfony/finder/SplFileInfo.php | 2 +- vendor/symfony/finder/composer.json | 2 +- vendor/symfony/polyfill-ctype/Ctype.php | 2 +- vendor/symfony/polyfill-ctype/bootstrap.php | 24 +- vendor/symfony/polyfill-ctype/bootstrap80.php | 24 +- vendor/symfony/polyfill-ctype/composer.json | 2 +- .../polyfill-intl-grapheme/Grapheme.php | 4 +- .../polyfill-intl-grapheme/bootstrap.php | 20 +- .../polyfill-intl-grapheme/bootstrap80.php | 20 +- .../polyfill-intl-grapheme/composer.json | 2 +- .../polyfill-intl-normalizer/Normalizer.php | 2 +- .../Resources/stubs/Normalizer.php | 2 +- .../unidata/canonicalComposition.php | 2 +- .../unidata/canonicalDecomposition.php | 2 +- .../Resources/unidata/combiningClass.php | 2 +- .../unidata/compatibilityDecomposition.php | 2 +- .../polyfill-intl-normalizer/bootstrap.php | 10 +- .../polyfill-intl-normalizer/bootstrap80.php | 10 +- .../polyfill-intl-normalizer/composer.json | 2 +- vendor/symfony/polyfill-mbstring/Mbstring.php | 2 +- .../Resources/unidata/lowerCase.php | 2 +- .../Resources/unidata/titleCaseRegexp.php | 2 +- .../Resources/unidata/upperCase.php | 2 +- .../symfony/polyfill-mbstring/bootstrap.php | 74 +- .../symfony/polyfill-mbstring/bootstrap80.php | 74 +- .../symfony/polyfill-mbstring/composer.json | 2 +- vendor/symfony/polyfill-php81/Php81.php | 2 +- vendor/symfony/polyfill-php81/bootstrap.php | 8 +- vendor/symfony/polyfill-php81/composer.json | 2 +- .../process/Exception/ExceptionInterface.php | 2 +- .../Exception/InvalidArgumentException.php | 4 +- .../process/Exception/LogicException.php | 4 +- .../Exception/ProcessFailedException.php | 10 +- .../Exception/ProcessSignaledException.php | 10 +- .../Exception/ProcessTimedOutException.php | 8 +- .../process/Exception/RuntimeException.php | 4 +- vendor/symfony/process/ExecutableFinder.php | 2 +- vendor/symfony/process/InputStream.php | 8 +- .../symfony/process/PhpExecutableFinder.php | 4 +- vendor/symfony/process/PhpProcess.php | 14 +- .../symfony/process/Pipes/AbstractPipes.php | 8 +- .../symfony/process/Pipes/PipesInterface.php | 2 +- vendor/symfony/process/Pipes/UnixPipes.php | 10 +- vendor/symfony/process/Pipes/WindowsPipes.php | 18 +- vendor/symfony/process/Process.php | 86 +- vendor/symfony/process/ProcessUtils.php | 8 +- vendor/symfony/process/composer.json | 2 +- vendor/symfony/string/AbstractString.php | 34 +- .../symfony/string/AbstractUnicodeString.php | 46 +- vendor/symfony/string/ByteString.php | 58 +- vendor/symfony/string/CodePointString.php | 36 +- .../string/Exception/ExceptionInterface.php | 2 +- .../Exception/InvalidArgumentException.php | 4 +- .../string/Exception/RuntimeException.php | 4 +- .../string/Inflector/EnglishInflector.php | 4 +- .../string/Inflector/FrenchInflector.php | 16 +- .../string/Inflector/InflectorInterface.php | 2 +- vendor/symfony/string/LazyString.php | 2 +- .../Resources/data/wcswidth_table_wide.php | 2 +- .../Resources/data/wcswidth_table_zero.php | 2 +- vendor/symfony/string/Resources/functions.php | 20 +- .../symfony/string/Slugger/AsciiSlugger.php | 16 +- .../string/Slugger/SluggerInterface.php | 6 +- vendor/symfony/string/UnicodeString.php | 38 +- vendor/symfony/string/composer.json | 2 +- vendor/symfony/yaml/Command/LintCommand.php | 72 +- vendor/symfony/yaml/Dumper.php | 26 +- vendor/symfony/yaml/Escaper.php | 2 +- .../symfony/yaml/Exception/DumpException.php | 4 +- .../yaml/Exception/ExceptionInterface.php | 2 +- .../symfony/yaml/Exception/ParseException.php | 4 +- .../yaml/Exception/RuntimeException.php | 4 +- vendor/symfony/yaml/Inline.php | 142 +- vendor/symfony/yaml/Parser.php | 150 +- vendor/symfony/yaml/Resources/bin/yaml-lint | 12 +- vendor/symfony/yaml/Tag/TaggedValue.php | 2 +- vendor/symfony/yaml/Unescaper.php | 6 +- vendor/symfony/yaml/Yaml.php | 10 +- vendor/symfony/yaml/composer.json | 2 +- vendor/symplify/astral/composer.json | 4 +- vendor/symplify/astral/config/config.php | 16 +- .../Contract/NodeNameResolverInterface.php | 2 +- .../NodeValueResolverInterface.php | 2 +- .../Exception/ShouldNotHappenException.php | 2 +- .../astral/src/Naming/SimpleNameResolver.php | 12 +- .../src/NodeAnalyzer/NetteTypeAnalyzer.php | 16 +- .../src/NodeFinder/SimpleNodeFinder.php | 12 +- .../NodeNameResolver/ArgNodeNameResolver.php | 6 +- .../AttributeNodeNameResolver.php | 6 +- .../ClassLikeNodeNameResolver.php | 6 +- .../ClassMethodNodeNameResolver.php | 6 +- .../ConstFetchNodeNameResolver.php | 6 +- .../FuncCallNodeNameResolver.php | 6 +- .../IdentifierNodeNameResolver.php | 6 +- .../NamespaceNodeNameResolver.php | 6 +- .../ParamNodeNameResolver.php | 6 +- .../PropertyNodeNameResolver.php | 6 +- .../SimpleCallableNodeTraverser.php | 6 +- .../src/NodeValue/NodeValueResolver.php | 34 +- .../ClassConstFetchValueResolver.php | 12 +- .../ConstFetchValueResolver.php | 10 +- .../FuncCallValueResolver.php | 14 +- .../MagicConstValueResolver.php | 6 +- .../src/NodeValue/UnionTypeValueResolver.php | 2 +- .../src/NodeVisitor/CallableNodeVisitor.php | 2 +- .../Contract/PhpDocNodeVisitorInterface.php | 2 +- .../Exception/InvalidTraverseException.php | 2 +- .../src/PhpDocParser/PhpDocNodeTraverser.php | 18 +- .../AbstractPhpDocNodeVisitor.php | 6 +- .../CallablePhpDocNodeVisitor.php | 4 +- .../CloningPhpDocNodeVisitor.php | 8 +- .../ParentConnectingPhpDocNodeVisitor.php | 8 +- .../src/PhpDocParser/SimplePhpDocParser.php | 10 +- .../SimplePhpDocParserStaticFactory.php | 8 +- .../Ast/PhpDoc/SimplePhpDocNode.php | 2 +- .../ValueObject/PhpDocAttributeKey.php | 2 +- .../astral/src/PhpParser/SmartPhpParser.php | 2 +- .../src/PhpParser/SmartPhpParserFactory.php | 6 +- .../src/Reflection/MethodCallParser.php | 6 +- .../src/Reflection/ReflectionParser.php | 6 +- .../NodeValueResolverStaticFactory.php | 16 +- .../SimpleNameResolverStaticFactory.php | 30 +- .../ClassMethodReturnTypeResolver.php | 10 +- .../src/TypeAnalyzer/ContainsTypeAnalyser.php | 2 +- .../astral/src/ValueObject/AstralConfig.php | 2 +- .../astral/src/ValueObject/AttributeKey.php | 2 +- .../ValueObject/NodeBuilder/ClassBuilder.php | 2 +- .../ValueObject/NodeBuilder/MethodBuilder.php | 2 +- .../NodeBuilder/NamespaceBuilder.php | 2 +- .../ValueObject/NodeBuilder/ParamBuilder.php | 2 +- .../NodeBuilder/PropertyBuilder.php | 2 +- .../NodeBuilder/TraitUseBuilder.php | 2 +- .../ValueObject/NodeBuilder/UseBuilder.php | 2 +- .../autowire-array-parameter/composer.json | 4 +- .../AutowireArrayParameterCompilerPass.php | 46 +- .../DependencyInjection/DefinitionFinder.php | 16 +- .../DocBlock/ParamTypeDocBlockResolver.php | 6 +- .../DefinitionForTypeNotFoundException.php | 2 +- .../src/Skipper/ParameterSkipper.php | 12 +- .../TypeResolver/ParameterTypeResolver.php | 10 +- .../composer-json-manipulator/composer.json | 4 +- .../config/config.php | 30 +- .../src/ComposerJsonFactory.php | 120 +- .../src/FileSystem/JsonFileManager.php | 24 +- .../src/Json/JsonCleaner.php | 2 +- .../src/Json/JsonInliner.php | 18 +- .../src/Printer/ComposerJsonPrinter.php | 12 +- .../src/Sorter/ComposerPackageSorter.php | 8 +- .../src/ValueObject/ComposerJson.php | 32 +- .../ComposerJsonManipulatorConfig.php | 2 +- .../src/ValueObject/ComposerJsonSection.php | 2 +- .../src/ValueObject/Option.php | 2 +- vendor/symplify/easy-parallel/composer.json | 4 +- .../symplify/easy-parallel/config/config.php | 4 +- .../CommandLine/WorkerCommandLineFactory.php | 22 +- .../src/Contract/SerializableInterface.php | 2 +- .../src/CpuCoreCountProvider.php | 6 +- .../easy-parallel/src/Enum/Action.php | 2 +- .../easy-parallel/src/Enum/Content.php | 2 +- .../easy-parallel/src/Enum/ReactCommand.php | 2 +- .../easy-parallel/src/Enum/ReactEvent.php | 2 +- .../ParallelShouldNotHappenException.php | 2 +- .../src/FileSystem/FilePathNormalizer.php | 2 +- .../CommandFromReflectionFactory.php | 12 +- .../easy-parallel/src/ScheduleFactory.php | 8 +- .../src/ValueObject/EasyParallelConfig.php | 2 +- .../src/ValueObject/ParallelProcess.php | 44 +- .../src/ValueObject/ProcessPool.php | 14 +- .../src/ValueObject/Schedule.php | 2 +- vendor/symplify/easy-testing/bin/easy-testing | 2 +- .../easy-testing/bin/easy-testing.php | 8 +- vendor/symplify/easy-testing/composer.json | 4 +- .../symplify/easy-testing/config/config.php | 12 +- .../ValidateFixtureSkipNamingCommand.php | 26 +- .../src/DataProvider/StaticFixtureFinder.php | 26 +- .../src/DataProvider/StaticFixtureUpdater.php | 8 +- .../easy-testing/src/Finder/FixtureFinder.php | 10 +- .../FixtureSplitter/TrioFixtureSplitter.php | 18 +- .../src/Kernel/EasyTestingKernel.php | 14 +- .../src/MissplacedSkipPrefixResolver.php | 18 +- .../Behavior/DirectoryAssertableTrait.php | 14 +- .../src/PHPUnit/StaticPHPUnitEnvironment.php | 2 +- .../src/StaticFixtureSplitter.php | 34 +- .../src/ValueObject/EasyTestingConfig.php | 2 +- .../ExpectedAndOutputFileInfoPair.php | 6 +- .../ValueObject/FixtureSplit/TrioContent.php | 2 +- .../ValueObject/IncorrectAndMissingSkips.php | 2 +- .../src/ValueObject/InputAndExpected.php | 2 +- .../ValueObject/InputFileInfoAndExpected.php | 2 +- .../InputFileInfoAndExpectedFileInfo.php | 2 +- .../easy-testing/src/ValueObject/Option.php | 2 +- .../easy-testing/src/ValueObject/Prefix.php | 2 +- .../src/ValueObject/SplitLine.php | 2 +- vendor/symplify/package-builder/composer.json | 4 +- .../package-builder/config/config.php | 22 +- .../src/Composer/VendorDirProvider.php | 6 +- .../Configuration/StaticEolConfiguration.php | 2 +- .../Command/AbstractSymplifyCommand.php | 24 +- .../src/Console/Command/CommandNaming.php | 12 +- .../Formatter/ColorConsoleDiffFormatter.php | 16 +- .../src/Console/Input/StaticInputDetector.php | 6 +- .../src/Console/Output/ConsoleDiffer.php | 8 +- .../src/Console/Style/SymfonyStyleFactory.php | 34 +- .../AutowireInterfacesCompilerPass.php | 10 +- .../ParameterMergingPhpFileLoader.php | 16 +- ...ompleteUnifiedDiffOutputBuilderFactory.php | 12 +- .../HttpKernel/MissingInterfaceException.php | 2 +- .../InvalidPrivatePropertyTypeException.php | 2 +- .../MissingPrivatePropertyException.php | 2 +- .../src/Matcher/ArrayStringAndFnMatcher.php | 2 +- .../package-builder/src/Neon/NeonPrinter.php | 14 +- .../src/Parameter/ParameterProvider.php | 12 +- .../package-builder/src/Php/TypeChecker.php | 2 +- .../Reflection/ClassLikeExistenceChecker.php | 2 +- .../src/Reflection/PrivatesAccessor.php | 12 +- .../src/Reflection/PrivatesCaller.php | 2 +- .../src/Strings/StringFormatConverter.php | 6 +- .../src/Testing/AbstractKernelTestCase.php | 58 +- .../ValueObject/ConsoleColorDiffConfig.php | 2 +- .../src/ValueObject/MethodName.php | 2 +- .../src/ValueObject/Option.php | 2 +- .../src/Yaml/ParametersMerger.php | 2 +- .../src/ValueObject/RuleDefinition.php | 4 +- vendor/symplify/skipper/composer.json | 4 +- vendor/symplify/skipper/config/config.php | 18 +- .../src/Contract/SkipVoterInterface.php | 2 +- .../src/FileSystem/FnMatchPathNormalizer.php | 8 +- .../skipper/src/Matcher/FileInfoMatcher.php | 6 +- .../SkippedClassAndCodesResolver.php | 10 +- .../SkippedClassResolver.php | 12 +- .../SkippedMessagesResolver.php | 10 +- .../SkippedPathsResolver.php | 12 +- .../src/SkipVoter/ClassAndCodeSkipVoter.php | 12 +- .../skipper/src/SkipVoter/ClassSkipVoter.php | 22 +- .../src/SkipVoter/MessageSkipVoter.php | 12 +- .../skipper/src/SkipVoter/PathSkipVoter.php | 12 +- .../skipper/src/Skipper/OnlySkipper.php | 6 +- .../skipper/src/Skipper/SkipSkipper.php | 6 +- .../symplify/skipper/src/Skipper/Skipper.php | 4 +- .../skipper/src/ValueObject/Option.php | 2 +- .../skipper/src/ValueObject/SkipperConfig.php | 2 +- .../symplify/smart-file-system/composer.json | 4 +- .../Exception/DirectoryNotFoundException.php | 2 +- .../src/Exception/FileNotFoundException.php | 2 +- .../src/FileSystemFilter.php | 2 +- .../smart-file-system/src/FileSystemGuard.php | 10 +- .../src/Finder/FinderSanitizer.php | 8 +- .../src/Finder/SmartFinder.php | 12 +- .../src/Json/JsonFileSystem.php | 18 +- .../src/Normalizer/PathNormalizer.php | 8 +- .../smart-file-system/src/SmartFileInfo.php | 30 +- .../smart-file-system/src/SmartFileSystem.php | 14 +- vendor/symplify/symplify-kernel/composer.json | 4 +- .../symplify-kernel/config/common-config.php | 40 +- .../Loader/ParameterMergingLoaderFactory.php | 28 +- .../src/ContainerBuilderFactory.php | 36 +- .../Config/LoaderFactoryInterface.php | 8 +- .../src/Contract/LightKernelInterface.php | 8 +- .../LoadExtensionConfigsCompilerPass.php | 10 +- .../src/Exception/BootException.php | 2 +- .../Exception/ShouldNotHappenException.php | 2 +- .../src/HttpKernel/AbstractSymplifyKernel.php | 38 +- .../KernelBootAndApplicationRun.php | 36 +- .../src/ValueObject/SymplifyKernelConfig.php | 2 +- .../ContainerBuilderFactoryTest.php | 16 +- .../config/some_services.php | 6 +- .../vendor-patches/bin/vendor-patches | 2 +- .../vendor-patches/bin/vendor-patches.php | 8 +- vendor/symplify/vendor-patches/composer.json | 4 +- .../symplify/vendor-patches/config/config.php | 32 +- .../src/Command/GenerateCommand.php | 30 +- .../ComposerPatchesConfigurationUpdater.php | 18 +- .../src/Composer/PackageNameResolver.php | 14 +- .../src/Console/GenerateCommandReporter.php | 10 +- .../src/Console/VendorPatchesApplication.php | 8 +- .../vendor-patches/src/Differ/PatchDiffer.php | 22 +- .../src/FileSystem/PathResolver.php | 10 +- .../src/Finder/OldToNewFilesFinder.php | 16 +- .../src/Kernel/VendorPatchesKernel.php | 14 +- .../vendor-patches/src/PatchFileFactory.php | 12 +- .../src/ValueObject/OldAndNewFileInfo.php | 2 +- vendor/tracy/tracy/ncs.php | 2 +- .../tracy/tracy/src/Bridges/Nette/Bridge.php | 46 +- .../tracy/src/Bridges/Nette/MailSender.php | 14 +- .../src/Bridges/Nette/TracyExtension.php | 52 +- .../Bridges/Psr/PsrToTracyLoggerAdapter.php | 18 +- .../Bridges/Psr/TracyToPsrLoggerAdapter.php | 14 +- vendor/tracy/tracy/src/Tracy/Bar/Bar.php | 28 +- .../tracy/src/Tracy/Bar/DefaultBarPanel.php | 8 +- .../tracy/tracy/src/Tracy/Bar/IBarPanel.php | 2 +- .../tracy/src/Tracy/BlueScreen/BlueScreen.php | 48 +- .../tracy/src/Tracy/Debugger/Debugger.php | 60 +- .../src/Tracy/Debugger/DeferredContent.php | 14 +- .../Tracy/Debugger/DevelopmentStrategy.php | 30 +- .../src/Tracy/Debugger/ProductionStrategy.php | 20 +- .../tracy/src/Tracy/Dumper/Describer.php | 62 +- .../tracy/tracy/src/Tracy/Dumper/Dumper.php | 38 +- .../tracy/tracy/src/Tracy/Dumper/Exposer.php | 58 +- .../tracy/tracy/src/Tracy/Dumper/Renderer.php | 70 +- vendor/tracy/tracy/src/Tracy/Dumper/Value.php | 2 +- vendor/tracy/tracy/src/Tracy/Helpers.php | 16 +- .../tracy/src/Tracy/Logger/FireLogger.php | 16 +- .../tracy/tracy/src/Tracy/Logger/ILogger.php | 2 +- .../tracy/tracy/src/Tracy/Logger/Logger.php | 20 +- .../Tracy/OutputDebugger/OutputDebugger.php | 4 +- .../tracy/src/Tracy/Session/FileSession.php | 6 +- .../tracy/src/Tracy/Session/NativeSession.php | 4 +- .../src/Tracy/Session/SessionStorage.php | 2 +- vendor/tracy/tracy/src/Tracy/functions.php | 16 +- vendor/tracy/tracy/src/tracy.php | 2 +- .../tracy/tools/create-phar/create-phar.php | 10 +- vendor/webmozart/assert/composer.json | 6 +- vendor/webmozart/assert/src/Assert.php | 4 +- .../assert/src/InvalidArgumentException.php | 2 +- vendor/webmozart/assert/src/Mixin.php | 2 +- 2009 files changed, 13375 insertions(+), 13333 deletions(-) create mode 100644 rules/DowngradePhp80/Reflection/SimplePhpParameterReflection.php diff --git a/bin/rector b/bin/rector index 843090905bd..57cddeff0b0 100755 --- a/bin/rector +++ b/bin/rector @@ -1,5 +1,5 @@ #!/usr/bin/env php includeDependencyOrRepositoryVendorAutoloadIfExists(); final class AutoloadIncluder { @@ -95,7 +95,7 @@ final class AutoloadIncluder require_once $filePath; } } -\class_alias('RectorPrefix20220519\\AutoloadIncluder', 'AutoloadIncluder', \false); +\class_alias('RectorPrefix20220520\\AutoloadIncluder', 'AutoloadIncluder', \false); if (\file_exists(__DIR__ . '/../preload.php') && \is_dir(__DIR__ . '/../vendor')) { require_once __DIR__ . '/../preload.php'; } @@ -111,18 +111,18 @@ try { $container = $rectorContainerFactory->createFromBootstrapConfigs($bootstrapConfigs); } catch (\Throwable $throwable) { // for json output - $argvInput = new \RectorPrefix20220519\Symfony\Component\Console\Input\ArgvInput(); + $argvInput = new \RectorPrefix20220520\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 \RectorPrefix20220519\Nette\Utils\Json::encode(['fatal_errors' => [$throwable->getMessage()]]); + echo \RectorPrefix20220520\Nette\Utils\Json::encode(['fatal_errors' => [$throwable->getMessage()]]); } else { // report fatal errors in console format - $rectorConsoleOutputStyleFactory = new \Rector\Core\Console\Style\RectorConsoleOutputStyleFactory(new \RectorPrefix20220519\Symplify\PackageBuilder\Reflection\PrivatesCaller()); + $rectorConsoleOutputStyleFactory = new \Rector\Core\Console\Style\RectorConsoleOutputStyleFactory(new \RectorPrefix20220520\Symplify\PackageBuilder\Reflection\PrivatesCaller()); $rectorConsoleOutputStyle = $rectorConsoleOutputStyleFactory->create(); $rectorConsoleOutputStyle->error($throwable->getMessage()); } - exit(\RectorPrefix20220519\Symfony\Component\Console\Command\Command::FAILURE); + exit(\RectorPrefix20220520\Symfony\Component\Console\Command\Command::FAILURE); } /** @var ConsoleApplication $application */ $application = $container->get(\Rector\Core\Console\ConsoleApplication::class); diff --git a/composer.json b/composer.json index 751c3c29958..81e9de9db03 100644 --- a/composer.json +++ b/composer.json @@ -7,7 +7,7 @@ ], "require": { "php": "^7.2|^8.0", - "phpstan/phpstan": "^1.6.8 || <1.7" + "phpstan/phpstan": "^1.6.8" }, "autoload": { "files": [ diff --git a/config/config.php b/config/config.php index 55ba383f238..cf16fde4819 100644 --- a/config/config.php +++ b/config/config.php @@ -1,7 +1,7 @@ set(\Rector\Core\Configuration\Option::CACHE_DIR, \sys_get_temp_dir() . '/rector_cached_files'); // use faster in-memory cache in CI. // CI always starts from scratch, therefore IO intensive caching is not worth it - $ciDetector = new \RectorPrefix20220519\OndraM\CiDetector\CiDetector(); + $ciDetector = new \RectorPrefix20220520\OndraM\CiDetector\CiDetector(); if ($ciDetector->isCiDetected()) { $parameters->set(\Rector\Core\Configuration\Option::CACHE_CLASS, \Rector\Caching\ValueObject\Storage\MemoryCacheStorage::class); } diff --git a/config/services-packages.php b/config/services-packages.php index 1f62cd0f1bc..969fdb055f0 100644 --- a/config/services-packages.php +++ b/config/services-packages.php @@ -1,14 +1,14 @@ import(\RectorPrefix20220519\Symplify\EasyParallel\ValueObject\EasyParallelConfig::FILE_PATH); + $rectorConfig->import(\RectorPrefix20220520\Symplify\EasyParallel\ValueObject\EasyParallelConfig::FILE_PATH); $services = $rectorConfig->services(); $services->defaults()->public()->autowire()->autoconfigure(); $services->load('Rector\\', __DIR__ . '/../packages')->exclude([ @@ -24,5 +24,5 @@ return static function (\Rector\Config\RectorConfig $rectorConfig) : void { __DIR__ . '/../packages/NodeTypeResolver/Reflection/BetterReflection/SourceLocatorProvider/DynamicSourceLocatorProvider.php', ]); // parallel - $services->set(\RectorPrefix20220519\Symplify\PackageBuilder\Yaml\ParametersMerger::class); + $services->set(\RectorPrefix20220520\Symplify\PackageBuilder\Yaml\ParametersMerger::class); }; diff --git a/config/services-rules.php b/config/services-rules.php index ab7f6e8dc33..d8ab612927a 100644 --- a/config/services-rules.php +++ b/config/services-rules.php @@ -1,7 +1,7 @@ defaults()->public()->autowire()->autoconfigure(); // psr-4 $services->alias(\Rector\PSR4\Contract\PSR4AutoloadNamespaceMatcherInterface::class, \Rector\PSR4\Composer\PSR4NamespaceMatcher::class); - $services->load('Rector\\', __DIR__ . '/../rules')->exclude([__DIR__ . '/../rules/*/ValueObject/*', __DIR__ . '/../rules/*/Rector/*', __DIR__ . '/../rules/*/Contract/*', __DIR__ . '/../rules/*/Exception/*', __DIR__ . '/../rules/*/Enum/*']); + $services->load('Rector\\', __DIR__ . '/../rules')->exclude([__DIR__ . '/../rules/*/ValueObject/*', __DIR__ . '/../rules/*/Rector/*', __DIR__ . '/../rules/*/Contract/*', __DIR__ . '/../rules/*/Exception/*', __DIR__ . '/../rules/*/Enum/*', __DIR__ . '/../rules/DowngradePhp80/Reflection/SimplePhpParameterReflection.php']); }; diff --git a/config/services.php b/config/services.php index a4a305b5a17..9a75485e9f5 100644 --- a/config/services.php +++ b/config/services.php @@ -1,14 +1,14 @@ services(); $services->defaults()->public()->autowire()->autoconfigure(); $services->load('Rector\\Core\\', __DIR__ . '/../src')->exclude([__DIR__ . '/../src/Rector', __DIR__ . '/../src/Console/Style/RectorConsoleOutputStyle.php', __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']); - $services->alias(\RectorPrefix20220519\Symfony\Component\Console\Application::class, \Rector\Core\Console\ConsoleApplication::class); - $services->set(\RectorPrefix20220519\Symplify\SmartFileSystem\FileSystemGuard::class); - $services->set(\Rector\Core\Validation\Collector\EmptyConfigurableRectorCollector::class)->arg('$containerBuilder', \RectorPrefix20220519\Symfony\Component\DependencyInjection\Loader\Configurator\service('service_container')); - $services->set(\RectorPrefix20220519\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser::class); + $services->alias(\RectorPrefix20220520\Symfony\Component\Console\Application::class, \Rector\Core\Console\ConsoleApplication::class); + $services->set(\RectorPrefix20220520\Symplify\SmartFileSystem\FileSystemGuard::class); + $services->set(\Rector\Core\Validation\Collector\EmptyConfigurableRectorCollector::class)->arg('$containerBuilder', \RectorPrefix20220520\Symfony\Component\DependencyInjection\Loader\Configurator\service('service_container')); + $services->set(\RectorPrefix20220520\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(\Rector\Core\Console\Style\RectorConsoleOutputStyle::class)->factory([\RectorPrefix20220519\Symfony\Component\DependencyInjection\Loader\Configurator\service(\Rector\Core\Console\Style\RectorConsoleOutputStyleFactory::class), 'create']); - $services->set(\PHPStan\Parser\Parser::class)->factory([\RectorPrefix20220519\Symfony\Component\DependencyInjection\Loader\Configurator\service(\Rector\NodeTypeResolver\DependencyInjection\PHPStanServicesFactory::class), 'createPHPStanParser']); - $services->set(\PhpParser\Lexer::class)->factory([\RectorPrefix20220519\Symfony\Component\DependencyInjection\Loader\Configurator\service(\Rector\NodeTypeResolver\DependencyInjection\PHPStanServicesFactory::class), 'createEmulativeLexer']); + $services->set(\Rector\Core\Console\Style\RectorConsoleOutputStyle::class)->factory([\RectorPrefix20220520\Symfony\Component\DependencyInjection\Loader\Configurator\service(\Rector\Core\Console\Style\RectorConsoleOutputStyleFactory::class), 'create']); + $services->set(\PHPStan\Parser\Parser::class)->factory([\RectorPrefix20220520\Symfony\Component\DependencyInjection\Loader\Configurator\service(\Rector\NodeTypeResolver\DependencyInjection\PHPStanServicesFactory::class), 'createPHPStanParser']); + $services->set(\PhpParser\Lexer::class)->factory([\RectorPrefix20220520\Symfony\Component\DependencyInjection\Loader\Configurator\service(\Rector\NodeTypeResolver\DependencyInjection\PHPStanServicesFactory::class), 'createEmulativeLexer']); // symplify/package-builder - $services->set(\RectorPrefix20220519\Symplify\PackageBuilder\Reflection\PrivatesAccessor::class); - $services->set(\RectorPrefix20220519\Symplify\PackageBuilder\Reflection\PrivatesCaller::class); - $services->set(\RectorPrefix20220519\Symplify\SmartFileSystem\Finder\FinderSanitizer::class); - $services->set(\RectorPrefix20220519\Symplify\SmartFileSystem\FileSystemFilter::class); - $services->set(\RectorPrefix20220519\Symplify\PackageBuilder\Parameter\ParameterProvider::class)->arg('$container', \RectorPrefix20220519\Symfony\Component\DependencyInjection\Loader\Configurator\service('service_container')); - $services->set(\RectorPrefix20220519\Symplify\PackageBuilder\Console\Command\CommandNaming::class); - $services->set(\RectorPrefix20220519\Symplify\SmartFileSystem\SmartFileSystem::class); - $services->set(\RectorPrefix20220519\Symplify\PackageBuilder\Strings\StringFormatConverter::class); - $services->set(\RectorPrefix20220519\Symplify\SmartFileSystem\Json\JsonFileSystem::class); + $services->set(\RectorPrefix20220520\Symplify\PackageBuilder\Reflection\PrivatesAccessor::class); + $services->set(\RectorPrefix20220520\Symplify\PackageBuilder\Reflection\PrivatesCaller::class); + $services->set(\RectorPrefix20220520\Symplify\SmartFileSystem\Finder\FinderSanitizer::class); + $services->set(\RectorPrefix20220520\Symplify\SmartFileSystem\FileSystemFilter::class); + $services->set(\RectorPrefix20220520\Symplify\PackageBuilder\Parameter\ParameterProvider::class)->arg('$container', \RectorPrefix20220520\Symfony\Component\DependencyInjection\Loader\Configurator\service('service_container')); + $services->set(\RectorPrefix20220520\Symplify\PackageBuilder\Console\Command\CommandNaming::class); + $services->set(\RectorPrefix20220520\Symplify\SmartFileSystem\SmartFileSystem::class); + $services->set(\RectorPrefix20220520\Symplify\PackageBuilder\Strings\StringFormatConverter::class); + $services->set(\RectorPrefix20220520\Symplify\SmartFileSystem\Json\JsonFileSystem::class); $services->set(\PhpParser\NodeVisitor\NodeConnectingVisitor::class); - $services->set(\RectorPrefix20220519\Doctrine\Inflector\Rules\English\InflectorFactory::class); - $services->set(\RectorPrefix20220519\Doctrine\Inflector\Inflector::class)->factory([\RectorPrefix20220519\Symfony\Component\DependencyInjection\Loader\Configurator\service(\RectorPrefix20220519\Doctrine\Inflector\Rules\English\InflectorFactory::class), 'build']); - $services->set(\RectorPrefix20220519\Composer\Semver\VersionParser::class); - $services->set(\RectorPrefix20220519\Symplify\PackageBuilder\Php\TypeChecker::class); + $services->set(\RectorPrefix20220520\Doctrine\Inflector\Rules\English\InflectorFactory::class); + $services->set(\RectorPrefix20220520\Doctrine\Inflector\Inflector::class)->factory([\RectorPrefix20220520\Symfony\Component\DependencyInjection\Loader\Configurator\service(\RectorPrefix20220520\Doctrine\Inflector\Rules\English\InflectorFactory::class), 'build']); + $services->set(\RectorPrefix20220520\Composer\Semver\VersionParser::class); + $services->set(\RectorPrefix20220520\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([\RectorPrefix20220519\Symfony\Component\DependencyInjection\Loader\Configurator\service(\Rector\NodeTypeResolver\DependencyInjection\PHPStanServicesFactory::class), 'createDependencyResolver']); - $services->set(\PHPStan\File\FileHelper::class)->factory([\RectorPrefix20220519\Symfony\Component\DependencyInjection\Loader\Configurator\service(\Rector\NodeTypeResolver\DependencyInjection\PHPStanServicesFactory::class), 'createFileHelper']); - $services->set(\Rector\Caching\Cache::class)->factory([\RectorPrefix20220519\Symfony\Component\DependencyInjection\Loader\Configurator\service(\Rector\Caching\CacheFactory::class), 'create']); + $services->set(\PHPStan\Dependency\DependencyResolver::class)->factory([\RectorPrefix20220520\Symfony\Component\DependencyInjection\Loader\Configurator\service(\Rector\NodeTypeResolver\DependencyInjection\PHPStanServicesFactory::class), 'createDependencyResolver']); + $services->set(\PHPStan\File\FileHelper::class)->factory([\RectorPrefix20220520\Symfony\Component\DependencyInjection\Loader\Configurator\service(\Rector\NodeTypeResolver\DependencyInjection\PHPStanServicesFactory::class), 'createFileHelper']); + $services->set(\Rector\Caching\Cache::class)->factory([\RectorPrefix20220520\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([\RectorPrefix20220519\Symfony\Component\DependencyInjection\Loader\Configurator\service(\Rector\NodeTypeResolver\DependencyInjection\PHPStanServicesFactory::class), 'createReflectionProvider']); - $services->set(\PHPStan\Analyser\NodeScopeResolver::class)->factory([\RectorPrefix20220519\Symfony\Component\DependencyInjection\Loader\Configurator\service(\Rector\NodeTypeResolver\DependencyInjection\PHPStanServicesFactory::class), 'createNodeScopeResolver']); - $services->set(\PHPStan\Analyser\ScopeFactory::class)->factory([\RectorPrefix20220519\Symfony\Component\DependencyInjection\Loader\Configurator\service(\Rector\NodeTypeResolver\DependencyInjection\PHPStanServicesFactory::class), 'createScopeFactory']); - $services->set(\PHPStan\PhpDoc\TypeNodeResolver::class)->factory([\RectorPrefix20220519\Symfony\Component\DependencyInjection\Loader\Configurator\service(\Rector\NodeTypeResolver\DependencyInjection\PHPStanServicesFactory::class), 'createTypeNodeResolver']); - $services->set(\Rector\NodeTypeResolver\Reflection\BetterReflection\SourceLocatorProvider\DynamicSourceLocatorProvider::class)->factory([\RectorPrefix20220519\Symfony\Component\DependencyInjection\Loader\Configurator\service(\Rector\NodeTypeResolver\DependencyInjection\PHPStanServicesFactory::class), 'createDynamicSourceLocatorProvider']); - $services->set(\RectorPrefix20220519\Idiosyncratic\EditorConfig\EditorConfig::class); - $services->set(\RectorPrefix20220519\Ergebnis\Json\Printer\Printer::class); - $services->alias(\RectorPrefix20220519\Ergebnis\Json\Printer\PrinterInterface::class, \RectorPrefix20220519\Ergebnis\Json\Printer\Printer::class); + $services->set(\PHPStan\Reflection\ReflectionProvider::class)->factory([\RectorPrefix20220520\Symfony\Component\DependencyInjection\Loader\Configurator\service(\Rector\NodeTypeResolver\DependencyInjection\PHPStanServicesFactory::class), 'createReflectionProvider']); + $services->set(\PHPStan\Analyser\NodeScopeResolver::class)->factory([\RectorPrefix20220520\Symfony\Component\DependencyInjection\Loader\Configurator\service(\Rector\NodeTypeResolver\DependencyInjection\PHPStanServicesFactory::class), 'createNodeScopeResolver']); + $services->set(\PHPStan\Analyser\ScopeFactory::class)->factory([\RectorPrefix20220520\Symfony\Component\DependencyInjection\Loader\Configurator\service(\Rector\NodeTypeResolver\DependencyInjection\PHPStanServicesFactory::class), 'createScopeFactory']); + $services->set(\PHPStan\PhpDoc\TypeNodeResolver::class)->factory([\RectorPrefix20220520\Symfony\Component\DependencyInjection\Loader\Configurator\service(\Rector\NodeTypeResolver\DependencyInjection\PHPStanServicesFactory::class), 'createTypeNodeResolver']); + $services->set(\Rector\NodeTypeResolver\Reflection\BetterReflection\SourceLocatorProvider\DynamicSourceLocatorProvider::class)->factory([\RectorPrefix20220520\Symfony\Component\DependencyInjection\Loader\Configurator\service(\Rector\NodeTypeResolver\DependencyInjection\PHPStanServicesFactory::class), 'createDynamicSourceLocatorProvider']); + $services->set(\RectorPrefix20220520\Idiosyncratic\EditorConfig\EditorConfig::class); + $services->set(\RectorPrefix20220520\Ergebnis\Json\Printer\Printer::class); + $services->alias(\RectorPrefix20220520\Ergebnis\Json\Printer\PrinterInterface::class, \RectorPrefix20220520\Ergebnis\Json\Printer\Printer::class); }; diff --git a/config/set/action-injection-to-constructor-injection.php b/config/set/action-injection-to-constructor-injection.php index 1df349c0b9d..c4a5d48a825 100644 --- a/config/set/action-injection-to-constructor-injection.php +++ b/config/set/action-injection-to-constructor-injection.php @@ -1,7 +1,7 @@ simpleCallableNodeTraverser = $simpleCallableNodeTraverser; } diff --git a/packages/BetterPhpDocParser/Contract/BasePhpDocNodeVisitorInterface.php b/packages/BetterPhpDocParser/Contract/BasePhpDocNodeVisitorInterface.php index 86628893076..45113bc58df 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 RectorPrefix20220519\Symplify\Astral\PhpDocParser\Contract\PhpDocNodeVisitorInterface; -interface BasePhpDocNodeVisitorInterface extends \RectorPrefix20220519\Symplify\Astral\PhpDocParser\Contract\PhpDocNodeVisitorInterface +use RectorPrefix20220520\Symplify\Astral\PhpDocParser\Contract\PhpDocNodeVisitorInterface; +interface BasePhpDocNodeVisitorInterface extends \RectorPrefix20220520\Symplify\Astral\PhpDocParser\Contract\PhpDocNodeVisitorInterface { } diff --git a/packages/BetterPhpDocParser/PhpDocInfo/PhpDocInfo.php b/packages/BetterPhpDocParser/PhpDocInfo/PhpDocInfo.php index fac0b928638..f1297aafebe 100644 --- a/packages/BetterPhpDocParser/PhpDocInfo/PhpDocInfo.php +++ b/packages/BetterPhpDocParser/PhpDocInfo/PhpDocInfo.php @@ -28,7 +28,7 @@ use Rector\BetterPhpDocParser\ValueObject\Type\ShortenedIdentifierTypeNode; use Rector\ChangesReporting\Collector\RectorChangeCollector; use Rector\Core\Configuration\CurrentNodeProvider; use Rector\StaticTypeMapper\StaticTypeMapper; -use RectorPrefix20220519\Symplify\Astral\PhpDocParser\PhpDocNodeTraverser; +use RectorPrefix20220520\Symplify\Astral\PhpDocParser\PhpDocNodeTraverser; /** * @template TNode as \PHPStan\PhpDocParser\Ast\Node * @see \Rector\Tests\BetterPhpDocParser\PhpDocInfo\PhpDocInfo\PhpDocInfoTest @@ -297,7 +297,7 @@ final class PhpDocInfo */ public function removeByType(string $typeToRemove) : void { - $phpDocNodeTraverser = new \RectorPrefix20220519\Symplify\Astral\PhpDocParser\PhpDocNodeTraverser(); + $phpDocNodeTraverser = new \RectorPrefix20220520\Symplify\Astral\PhpDocParser\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)) { // keep special annotation for tools @@ -308,13 +308,13 @@ final class PhpDocInfo return null; } $this->markAsChanged(); - return \RectorPrefix20220519\Symplify\Astral\PhpDocParser\PhpDocNodeTraverser::NODE_REMOVE; + return \RectorPrefix20220520\Symplify\Astral\PhpDocParser\PhpDocNodeTraverser::NODE_REMOVE; } if (!\is_a($node, $typeToRemove, \true)) { return null; } $this->markAsChanged(); - return \RectorPrefix20220519\Symplify\Astral\PhpDocParser\PhpDocNodeTraverser::NODE_REMOVE; + return \RectorPrefix20220520\Symplify\Astral\PhpDocParser\PhpDocNodeTraverser::NODE_REMOVE; }); } /** @@ -430,7 +430,7 @@ final class PhpDocInfo return \true; } // has a single node with missing start_end - $phpDocNodeTraverser = new \RectorPrefix20220519\Symplify\Astral\PhpDocParser\PhpDocNodeTraverser(); + $phpDocNodeTraverser = new \RectorPrefix20220520\Symplify\Astral\PhpDocParser\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 3a15d84c7bf..85c67b35f02 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 RectorPrefix20220519\Symplify\PackageBuilder\Reflection\PrivatesAccessor; +use RectorPrefix20220520\Symplify\PackageBuilder\Reflection\PrivatesAccessor; final class TokenIteratorFactory { /** @@ -23,7 +23,7 @@ final class TokenIteratorFactory * @var \Symplify\PackageBuilder\Reflection\PrivatesAccessor */ private $privatesAccessor; - public function __construct(\PHPStan\PhpDocParser\Lexer\Lexer $lexer, \RectorPrefix20220519\Symplify\PackageBuilder\Reflection\PrivatesAccessor $privatesAccessor) + public function __construct(\PHPStan\PhpDocParser\Lexer\Lexer $lexer, \RectorPrefix20220520\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 a153ecf34e4..888e5c776f2 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 RectorPrefix20220519\Nette\Utils\Strings; +use RectorPrefix20220520\Nette\Utils\Strings; use PhpParser\Node; use Rector\BetterPhpDocParser\PhpDoc\DoctrineAnnotationTagValueNode; use Rector\BetterPhpDocParser\PhpDocInfo\PhpDocInfo; @@ -82,7 +82,7 @@ final class PhpDocClassRenamer $doctrineAnnotationTagValueNode->changeSilentValue($newClass); continue; } - $newContent = \RectorPrefix20220519\Nette\Utils\Strings::replace($className, '#\\b' . \preg_quote($oldClass, '#') . '\\b#', $newClass); + $newContent = \RectorPrefix20220520\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 2e4ff3fe5f8..44794983e7c 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 RectorPrefix20220519\Symplify\Astral\PhpDocParser\PhpDocNodeTraverser; +use RectorPrefix20220520\Symplify\Astral\PhpDocParser\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 \RectorPrefix20220519\Symplify\Astral\PhpDocParser\PhpDocNodeTraverser(); + $phpDocNodeTraverser = new \RectorPrefix20220520\Symplify\Astral\PhpDocParser\PhpDocNodeTraverser(); $phpDocNodeTraverser->traverseWithCallable($phpDocNode, '', function ($node) use($desiredNode, $phpDocInfo) : ?int { if ($node instanceof \PHPStan\PhpDocParser\Ast\PhpDoc\PhpDocTagNode && $node->value === $desiredNode) { $phpDocInfo->markAsChanged(); - return \RectorPrefix20220519\Symplify\Astral\PhpDocParser\PhpDocNodeTraverser::NODE_REMOVE; + return \RectorPrefix20220520\Symplify\Astral\PhpDocParser\PhpDocNodeTraverser::NODE_REMOVE; } if ($node !== $desiredNode) { return null; } $phpDocInfo->markAsChanged(); - return \RectorPrefix20220519\Symplify\Astral\PhpDocParser\PhpDocNodeTraverser::NODE_REMOVE; + return \RectorPrefix20220520\Symplify\Astral\PhpDocParser\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 e03cde7b71f..7dde79aad4d 100644 --- a/packages/BetterPhpDocParser/PhpDocNodeFinder/PhpDocNodeByTypeFinder.php +++ b/packages/BetterPhpDocParser/PhpDocNodeFinder/PhpDocNodeByTypeFinder.php @@ -6,7 +6,7 @@ namespace Rector\BetterPhpDocParser\PhpDocNodeFinder; use PHPStan\PhpDocParser\Ast\Node; use PHPStan\PhpDocParser\Ast\PhpDoc\PhpDocNode; use Rector\BetterPhpDocParser\PhpDoc\DoctrineAnnotationTagValueNode; -use RectorPrefix20220519\Symplify\Astral\PhpDocParser\PhpDocNodeTraverser; +use RectorPrefix20220520\Symplify\Astral\PhpDocParser\PhpDocNodeTraverser; /** * @template TNode as \PHPStan\PhpDocParser\Ast\Node */ @@ -18,7 +18,7 @@ final class PhpDocNodeByTypeFinder */ public function findByType(\PHPStan\PhpDocParser\Ast\PhpDoc\PhpDocNode $phpDocNode, string $desiredType) : array { - $phpDocNodeTraverser = new \RectorPrefix20220519\Symplify\Astral\PhpDocParser\PhpDocNodeTraverser(); + $phpDocNodeTraverser = new \RectorPrefix20220520\Symplify\Astral\PhpDocParser\PhpDocNodeTraverser(); $foundNodes = []; $phpDocNodeTraverser->traverseWithCallable($phpDocNode, '', function ($node) use(&$foundNodes, $desiredType) : Node { if (!\is_a($node, $desiredType, \true)) { diff --git a/packages/BetterPhpDocParser/PhpDocNodeMapper.php b/packages/BetterPhpDocParser/PhpDocNodeMapper.php index c8c4b8b47d6..2081fc5b253 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 RectorPrefix20220519\Symplify\Astral\PhpDocParser\PhpDocNodeTraverser; -use RectorPrefix20220519\Symplify\Astral\PhpDocParser\PhpDocNodeVisitor\CloningPhpDocNodeVisitor; -use RectorPrefix20220519\Symplify\Astral\PhpDocParser\PhpDocNodeVisitor\ParentConnectingPhpDocNodeVisitor; +use RectorPrefix20220520\Symplify\Astral\PhpDocParser\PhpDocNodeTraverser; +use RectorPrefix20220520\Symplify\Astral\PhpDocParser\PhpDocNodeVisitor\CloningPhpDocNodeVisitor; +use RectorPrefix20220520\Symplify\Astral\PhpDocParser\PhpDocNodeVisitor\ParentConnectingPhpDocNodeVisitor; /** * @see \Rector\Tests\BetterPhpDocParser\PhpDocNodeMapperTest */ @@ -38,7 +38,7 @@ final class PhpDocNodeMapper /** * @param BasePhpDocNodeVisitorInterface[] $phpDocNodeVisitors */ - public function __construct(\Rector\BetterPhpDocParser\DataProvider\CurrentTokenIteratorProvider $currentTokenIteratorProvider, \RectorPrefix20220519\Symplify\Astral\PhpDocParser\PhpDocNodeVisitor\ParentConnectingPhpDocNodeVisitor $parentConnectingPhpDocNodeVisitor, \RectorPrefix20220519\Symplify\Astral\PhpDocParser\PhpDocNodeVisitor\CloningPhpDocNodeVisitor $cloningPhpDocNodeVisitor, array $phpDocNodeVisitors) + public function __construct(\Rector\BetterPhpDocParser\DataProvider\CurrentTokenIteratorProvider $currentTokenIteratorProvider, \RectorPrefix20220520\Symplify\Astral\PhpDocParser\PhpDocNodeVisitor\ParentConnectingPhpDocNodeVisitor $parentConnectingPhpDocNodeVisitor, \RectorPrefix20220520\Symplify\Astral\PhpDocParser\PhpDocNodeVisitor\CloningPhpDocNodeVisitor $cloningPhpDocNodeVisitor, array $phpDocNodeVisitors) { $this->currentTokenIteratorProvider = $currentTokenIteratorProvider; $this->parentConnectingPhpDocNodeVisitor = $parentConnectingPhpDocNodeVisitor; @@ -48,13 +48,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 \RectorPrefix20220519\Symplify\Astral\PhpDocParser\PhpDocNodeTraverser(); + $parentPhpDocNodeTraverser = new \RectorPrefix20220520\Symplify\Astral\PhpDocParser\PhpDocNodeTraverser(); $parentPhpDocNodeTraverser->addPhpDocNodeVisitor($this->parentConnectingPhpDocNodeVisitor); $parentPhpDocNodeTraverser->traverse($phpDocNode); - $cloningPhpDocNodeTraverser = new \RectorPrefix20220519\Symplify\Astral\PhpDocParser\PhpDocNodeTraverser(); + $cloningPhpDocNodeTraverser = new \RectorPrefix20220520\Symplify\Astral\PhpDocParser\PhpDocNodeTraverser(); $cloningPhpDocNodeTraverser->addPhpDocNodeVisitor($this->cloningPhpDocNodeVisitor); $cloningPhpDocNodeTraverser->traverse($phpDocNode); - $phpDocNodeTraverser = new \RectorPrefix20220519\Symplify\Astral\PhpDocParser\PhpDocNodeTraverser(); + $phpDocNodeTraverser = new \RectorPrefix20220520\Symplify\Astral\PhpDocParser\PhpDocNodeTraverser(); foreach ($this->phpDocNodeVisitors as $phpDocNodeVisitor) { $phpDocNodeTraverser->addPhpDocNodeVisitor($phpDocNodeVisitor); } diff --git a/packages/BetterPhpDocParser/PhpDocNodeTraverser/ChangedPhpDocNodeTraverserFactory.php b/packages/BetterPhpDocParser/PhpDocNodeTraverser/ChangedPhpDocNodeTraverserFactory.php index 7d67d73bd39..8788f46bbbd 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 RectorPrefix20220519\Symplify\Astral\PhpDocParser\PhpDocNodeTraverser; +use RectorPrefix20220520\Symplify\Astral\PhpDocParser\PhpDocNodeTraverser; final class ChangedPhpDocNodeTraverserFactory { /** @@ -16,9 +16,9 @@ final class ChangedPhpDocNodeTraverserFactory { $this->changedPhpDocNodeVisitor = $changedPhpDocNodeVisitor; } - public function create() : \RectorPrefix20220519\Symplify\Astral\PhpDocParser\PhpDocNodeTraverser + public function create() : \RectorPrefix20220520\Symplify\Astral\PhpDocParser\PhpDocNodeTraverser { - $changedPhpDocNodeTraverser = new \RectorPrefix20220519\Symplify\Astral\PhpDocParser\PhpDocNodeTraverser(); + $changedPhpDocNodeTraverser = new \RectorPrefix20220520\Symplify\Astral\PhpDocParser\PhpDocNodeTraverser(); $changedPhpDocNodeTraverser->addPhpDocNodeVisitor($this->changedPhpDocNodeVisitor); return $changedPhpDocNodeTraverser; } diff --git a/packages/BetterPhpDocParser/PhpDocNodeVisitor/ArrayTypePhpDocNodeVisitor.php b/packages/BetterPhpDocParser/PhpDocNodeVisitor/ArrayTypePhpDocNodeVisitor.php index 8b4febdd615..a9ae628e1cc 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 RectorPrefix20220519\Symplify\Astral\PhpDocParser\PhpDocNodeVisitor\AbstractPhpDocNodeVisitor; -final class ArrayTypePhpDocNodeVisitor extends \RectorPrefix20220519\Symplify\Astral\PhpDocParser\PhpDocNodeVisitor\AbstractPhpDocNodeVisitor implements \Rector\BetterPhpDocParser\Contract\BasePhpDocNodeVisitorInterface +use RectorPrefix20220520\Symplify\Astral\PhpDocParser\PhpDocNodeVisitor\AbstractPhpDocNodeVisitor; +final class ArrayTypePhpDocNodeVisitor extends \RectorPrefix20220520\Symplify\Astral\PhpDocParser\PhpDocNodeVisitor\AbstractPhpDocNodeVisitor implements \Rector\BetterPhpDocParser\Contract\BasePhpDocNodeVisitorInterface { /** * @readonly diff --git a/packages/BetterPhpDocParser/PhpDocNodeVisitor/CallableTypePhpDocNodeVisitor.php b/packages/BetterPhpDocParser/PhpDocNodeVisitor/CallableTypePhpDocNodeVisitor.php index dcf50e77e3e..7a072fc6b14 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 RectorPrefix20220519\Symplify\Astral\PhpDocParser\PhpDocNodeVisitor\AbstractPhpDocNodeVisitor; -final class CallableTypePhpDocNodeVisitor extends \RectorPrefix20220519\Symplify\Astral\PhpDocParser\PhpDocNodeVisitor\AbstractPhpDocNodeVisitor implements \Rector\BetterPhpDocParser\Contract\BasePhpDocNodeVisitorInterface +use RectorPrefix20220520\Symplify\Astral\PhpDocParser\PhpDocNodeVisitor\AbstractPhpDocNodeVisitor; +final class CallableTypePhpDocNodeVisitor extends \RectorPrefix20220520\Symplify\Astral\PhpDocParser\PhpDocNodeVisitor\AbstractPhpDocNodeVisitor implements \Rector\BetterPhpDocParser\Contract\BasePhpDocNodeVisitorInterface { /** * @readonly diff --git a/packages/BetterPhpDocParser/PhpDocNodeVisitor/ChangedPhpDocNodeVisitor.php b/packages/BetterPhpDocParser/PhpDocNodeVisitor/ChangedPhpDocNodeVisitor.php index bd533a75fef..ecc7211446a 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 RectorPrefix20220519\Symplify\Astral\PhpDocParser\PhpDocNodeVisitor\AbstractPhpDocNodeVisitor; -final class ChangedPhpDocNodeVisitor extends \RectorPrefix20220519\Symplify\Astral\PhpDocParser\PhpDocNodeVisitor\AbstractPhpDocNodeVisitor +use RectorPrefix20220520\Symplify\Astral\PhpDocParser\PhpDocNodeVisitor\AbstractPhpDocNodeVisitor; +final class ChangedPhpDocNodeVisitor extends \RectorPrefix20220520\Symplify\Astral\PhpDocParser\PhpDocNodeVisitor\AbstractPhpDocNodeVisitor { /** * @var bool diff --git a/packages/BetterPhpDocParser/PhpDocNodeVisitor/IntersectionTypeNodePhpDocNodeVisitor.php b/packages/BetterPhpDocParser/PhpDocNodeVisitor/IntersectionTypeNodePhpDocNodeVisitor.php index 6c216a6218b..d99fea6b755 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 RectorPrefix20220519\Symplify\Astral\PhpDocParser\PhpDocNodeVisitor\AbstractPhpDocNodeVisitor; -final class IntersectionTypeNodePhpDocNodeVisitor extends \RectorPrefix20220519\Symplify\Astral\PhpDocParser\PhpDocNodeVisitor\AbstractPhpDocNodeVisitor implements \Rector\BetterPhpDocParser\Contract\BasePhpDocNodeVisitorInterface +use RectorPrefix20220520\Symplify\Astral\PhpDocParser\PhpDocNodeVisitor\AbstractPhpDocNodeVisitor; +final class IntersectionTypeNodePhpDocNodeVisitor extends \RectorPrefix20220520\Symplify\Astral\PhpDocParser\PhpDocNodeVisitor\AbstractPhpDocNodeVisitor implements \Rector\BetterPhpDocParser\Contract\BasePhpDocNodeVisitorInterface { /** * @readonly diff --git a/packages/BetterPhpDocParser/PhpDocNodeVisitor/ParamPhpDocNodeVisitor.php b/packages/BetterPhpDocParser/PhpDocNodeVisitor/ParamPhpDocNodeVisitor.php index fcdd935f1d6..267967ffcc5 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 RectorPrefix20220519\Symplify\Astral\PhpDocParser\PhpDocNodeVisitor\AbstractPhpDocNodeVisitor; -final class ParamPhpDocNodeVisitor extends \RectorPrefix20220519\Symplify\Astral\PhpDocParser\PhpDocNodeVisitor\AbstractPhpDocNodeVisitor implements \Rector\BetterPhpDocParser\Contract\BasePhpDocNodeVisitorInterface +use RectorPrefix20220520\Symplify\Astral\PhpDocParser\PhpDocNodeVisitor\AbstractPhpDocNodeVisitor; +final class ParamPhpDocNodeVisitor extends \RectorPrefix20220520\Symplify\Astral\PhpDocParser\PhpDocNodeVisitor\AbstractPhpDocNodeVisitor implements \Rector\BetterPhpDocParser\Contract\BasePhpDocNodeVisitorInterface { /** * @readonly diff --git a/packages/BetterPhpDocParser/PhpDocNodeVisitor/TemplatePhpDocNodeVisitor.php b/packages/BetterPhpDocParser/PhpDocNodeVisitor/TemplatePhpDocNodeVisitor.php index 3ed4c94583f..0fbed2f9f59 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 RectorPrefix20220519\Symplify\Astral\PhpDocParser\PhpDocNodeVisitor\AbstractPhpDocNodeVisitor; -final class TemplatePhpDocNodeVisitor extends \RectorPrefix20220519\Symplify\Astral\PhpDocParser\PhpDocNodeVisitor\AbstractPhpDocNodeVisitor implements \Rector\BetterPhpDocParser\Contract\BasePhpDocNodeVisitorInterface +use RectorPrefix20220520\Symplify\Astral\PhpDocParser\PhpDocNodeVisitor\AbstractPhpDocNodeVisitor; +final class TemplatePhpDocNodeVisitor extends \RectorPrefix20220520\Symplify\Astral\PhpDocParser\PhpDocNodeVisitor\AbstractPhpDocNodeVisitor implements \Rector\BetterPhpDocParser\Contract\BasePhpDocNodeVisitorInterface { /** * @readonly diff --git a/packages/BetterPhpDocParser/PhpDocNodeVisitor/UnionTypeNodePhpDocNodeVisitor.php b/packages/BetterPhpDocParser/PhpDocNodeVisitor/UnionTypeNodePhpDocNodeVisitor.php index 3f8a4e28ca9..1c65e52d575 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 RectorPrefix20220519\Symplify\Astral\PhpDocParser\PhpDocNodeVisitor\AbstractPhpDocNodeVisitor; -final class UnionTypeNodePhpDocNodeVisitor extends \RectorPrefix20220519\Symplify\Astral\PhpDocParser\PhpDocNodeVisitor\AbstractPhpDocNodeVisitor implements \Rector\BetterPhpDocParser\Contract\BasePhpDocNodeVisitorInterface +use RectorPrefix20220520\Symplify\Astral\PhpDocParser\PhpDocNodeVisitor\AbstractPhpDocNodeVisitor; +final class UnionTypeNodePhpDocNodeVisitor extends \RectorPrefix20220520\Symplify\Astral\PhpDocParser\PhpDocNodeVisitor\AbstractPhpDocNodeVisitor implements \Rector\BetterPhpDocParser\Contract\BasePhpDocNodeVisitorInterface { /** * @readonly diff --git a/packages/BetterPhpDocParser/PhpDocParser/BetterPhpDocParser.php b/packages/BetterPhpDocParser/PhpDocParser/BetterPhpDocParser.php index 2854dc1e870..981031c7d6c 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 RectorPrefix20220519\Symplify\PackageBuilder\Reflection\PrivatesCaller; +use RectorPrefix20220520\Symplify\PackageBuilder\Reflection\PrivatesCaller; /** * @see \Rector\Tests\BetterPhpDocParser\PhpDocParser\TagValueNodeReprint\TagValueNodeReprintTest */ @@ -44,7 +44,7 @@ final class BetterPhpDocParser extends \PHPStan\PhpDocParser\Parser\PhpDocParser $this->tokenIteratorFactory = $tokenIteratorFactory; $this->doctrineAnnotationDecorator = $doctrineAnnotationDecorator; parent::__construct($typeParser, $constExprParser); - $this->privatesCaller = new \RectorPrefix20220519\Symplify\PackageBuilder\Reflection\PrivatesCaller(); + $this->privatesCaller = new \RectorPrefix20220520\Symplify\PackageBuilder\Reflection\PrivatesCaller(); } public function parse(\PHPStan\PhpDocParser\Parser\TokenIterator $tokenIterator) : \PHPStan\PhpDocParser\Ast\PhpDoc\PhpDocNode { diff --git a/packages/BetterPhpDocParser/PhpDocParser/DoctrineAnnotationDecorator.php b/packages/BetterPhpDocParser/PhpDocParser/DoctrineAnnotationDecorator.php index 97a57e5a315..7381ad87677 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 RectorPrefix20220519\Nette\Utils\Strings; +use RectorPrefix20220520\Nette\Utils\Strings; use PhpParser\Node; use PHPStan\PhpDocParser\Ast\PhpDoc\GenericTagValueNode; use PHPStan\PhpDocParser\Ast\PhpDoc\PhpDocChildNode; @@ -230,7 +230,7 @@ final class DoctrineAnnotationDecorator } private function resolveFqnAnnotationSpacelessPhpDocTagNode(\PHPStan\PhpDocParser\Ast\PhpDoc\PhpDocTextNode $phpDocTextNode) : ?\Rector\BetterPhpDocParser\PhpDoc\SpacelessPhpDocTagNode { - $match = \RectorPrefix20220519\Nette\Utils\Strings::match($phpDocTextNode->text, self::LONG_ANNOTATION_REGEX); + $match = \RectorPrefix20220520\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/PhpDocFromTypeDeclarationDecorator.php b/packages/BetterPhpDocParser/PhpDocParser/PhpDocFromTypeDeclarationDecorator.php index 35e0780df17..08e6f528650 100644 --- a/packages/BetterPhpDocParser/PhpDocParser/PhpDocFromTypeDeclarationDecorator.php +++ b/packages/BetterPhpDocParser/PhpDocParser/PhpDocFromTypeDeclarationDecorator.php @@ -25,7 +25,7 @@ use Rector\Php80\NodeAnalyzer\PhpAttributeAnalyzer; use Rector\PhpAttribute\Printer\PhpAttributeGroupFactory; use Rector\PHPStanStaticTypeMapper\Utils\TypeUnwrapper; use Rector\StaticTypeMapper\StaticTypeMapper; -use RectorPrefix20220519\ReturnTypeWillChange; +use RectorPrefix20220520\ReturnTypeWillChange; /** * @see https://wiki.php.net/rfc/internal_method_return_types#proposal */ diff --git a/packages/BetterPhpDocParser/PhpDocParser/StaticDoctrineAnnotationParser/PlainValueParser.php b/packages/BetterPhpDocParser/PhpDocParser/StaticDoctrineAnnotationParser/PlainValueParser.php index f44510d4ad9..024d698ac46 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 RectorPrefix20220519\Symfony\Contracts\Service\Attribute\Required; +use RectorPrefix20220520\Symfony\Contracts\Service\Attribute\Required; final class PlainValueParser { /** diff --git a/packages/BetterPhpDocParser/Printer/DocBlockInliner.php b/packages/BetterPhpDocParser/Printer/DocBlockInliner.php index e931b263948..76257bbfeba 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 RectorPrefix20220519\Nette\Utils\Strings; +use RectorPrefix20220520\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 = \RectorPrefix20220519\Nette\Utils\Strings::replace($docContent, self::NEWLINE_MIDDLE_DOC_REGEX, ' '); - return \RectorPrefix20220519\Nette\Utils\Strings::replace($docContent, self::NEWLINE_CLOSING_DOC_REGEX, ' */'); + $docContent = \RectorPrefix20220520\Nette\Utils\Strings::replace($docContent, self::NEWLINE_MIDDLE_DOC_REGEX, ' '); + return \RectorPrefix20220520\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 ea8826becf2..79e73db6aa7 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 RectorPrefix20220519\Nette\Utils\Strings; +use RectorPrefix20220520\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 RectorPrefix20220519\Symplify\Astral\PhpDocParser\PhpDocNodeTraverser; +use RectorPrefix20220520\Symplify\Astral\PhpDocParser\PhpDocNodeTraverser; /** * @see \Rector\Tests\BetterPhpDocParser\PhpDocInfo\PhpDocInfoPrinter\PhpDocInfoPrinterTest */ @@ -146,7 +146,7 @@ final class PhpDocInfoPrinter $this->currentTokenPosition = 0; $phpDocString = $this->printPhpDocNode($phpDocNode); // hotfix of extra space with callable () - return \RectorPrefix20220519\Nette\Utils\Strings::replace($phpDocString, self::CALLABLE_REGEX, 'callable('); + return \RectorPrefix20220520\Nette\Utils\Strings::replace($phpDocString, self::CALLABLE_REGEX, 'callable('); } public function getCurrentPhpDocInfo() : \Rector\BetterPhpDocParser\PhpDocInfo\PhpDocInfo { @@ -195,7 +195,7 @@ final class PhpDocInfoPrinter if ($phpDocChildNode->value instanceof \Rector\BetterPhpDocParser\PhpDoc\DoctrineAnnotationTagValueNode && $shouldReprintChildNode) { $printedNode = (string) $phpDocChildNode; // remove extra space between tags - $printedNode = \RectorPrefix20220519\Nette\Utils\Strings::replace($printedNode, self::TAG_AND_SPACE_REGEX, '$1('); + $printedNode = \RectorPrefix20220520\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 f071bcc711d..0b3389e1583 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 RectorPrefix20220519\Symplify\PackageBuilder\Reflection\PrivatesAccessor; +use RectorPrefix20220520\Symplify\PackageBuilder\Reflection\PrivatesAccessor; final class BetterTokenIterator extends \PHPStan\PhpDocParser\Parser\TokenIterator { /** @@ -26,7 +26,7 @@ final class BetterTokenIterator extends \PHPStan\PhpDocParser\Parser\TokenIterat */ public function __construct(array $tokens, int $index = 0) { - $this->privatesAccessor = new \RectorPrefix20220519\Symplify\PackageBuilder\Reflection\PrivatesAccessor(); + $this->privatesAccessor = new \RectorPrefix20220520\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 2be8191902b..185412c6a74 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 RectorPrefix20220519\Nette\Utils\Strings; +use RectorPrefix20220520\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 = \RectorPrefix20220519\Nette\Utils\Strings::match($value, self::UNQUOTED_VALUE_REGEX); + $matches = \RectorPrefix20220520\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 7666b917308..dad0f408835 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 RectorPrefix20220519\Symplify\Astral\PhpDocParser\ValueObject\PhpDocAttributeKey as NativePhpDocAttributeKey; +use RectorPrefix20220520\Symplify\Astral\PhpDocParser\ValueObject\PhpDocAttributeKey as NativePhpDocAttributeKey; final class PhpDocAttributeKey { /** @@ -18,7 +18,7 @@ final class PhpDocAttributeKey /** * @var string */ - public const PARENT = \RectorPrefix20220519\Symplify\Astral\PhpDocParser\ValueObject\PhpDocAttributeKey::PARENT; + public const PARENT = \RectorPrefix20220520\Symplify\Astral\PhpDocParser\ValueObject\PhpDocAttributeKey::PARENT; /** * @var string */ @@ -26,5 +26,5 @@ final class PhpDocAttributeKey /** * @var string */ - public const ORIG_NODE = \RectorPrefix20220519\Symplify\Astral\PhpDocParser\ValueObject\PhpDocAttributeKey::ORIG_NODE; + public const ORIG_NODE = \RectorPrefix20220520\Symplify\Astral\PhpDocParser\ValueObject\PhpDocAttributeKey::ORIG_NODE; } diff --git a/packages/Caching/CacheFactory.php b/packages/Caching/CacheFactory.php index 98e2e072adc..7da27bac5da 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 RectorPrefix20220519\Symplify\PackageBuilder\Parameter\ParameterProvider; -use RectorPrefix20220519\Symplify\SmartFileSystem\SmartFileSystem; +use RectorPrefix20220520\Symplify\PackageBuilder\Parameter\ParameterProvider; +use RectorPrefix20220520\Symplify\SmartFileSystem\SmartFileSystem; final class CacheFactory { /** @@ -20,7 +20,7 @@ final class CacheFactory * @var \Symplify\SmartFileSystem\SmartFileSystem */ private $smartFileSystem; - public function __construct(\RectorPrefix20220519\Symplify\PackageBuilder\Parameter\ParameterProvider $parameterProvider, \RectorPrefix20220519\Symplify\SmartFileSystem\SmartFileSystem $smartFileSystem) + public function __construct(\RectorPrefix20220520\Symplify\PackageBuilder\Parameter\ParameterProvider $parameterProvider, \RectorPrefix20220520\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 e986d842bee..1ee7b76e783 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 RectorPrefix20220519\Symfony\Component\Config\FileLocator; -use RectorPrefix20220519\Symfony\Component\Config\Loader\LoaderInterface; -use RectorPrefix20220519\Symfony\Component\Config\Loader\LoaderResolver; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerBuilder; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Loader\GlobFileLoader; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Loader\PhpFileLoader; +use RectorPrefix20220520\Symfony\Component\Config\FileLocator; +use RectorPrefix20220520\Symfony\Component\Config\Loader\LoaderInterface; +use RectorPrefix20220520\Symfony\Component\Config\Loader\LoaderResolver; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\ContainerBuilder; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Loader\GlobFileLoader; +use RectorPrefix20220520\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 \RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerBuilder(); + $containerBuilder = new \RectorPrefix20220520\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, \RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerBuilder $containerBuilder) : \RectorPrefix20220519\Symfony\Component\Config\Loader\LoaderInterface + private function createFileLoader(string $filePath, \RectorPrefix20220520\Symfony\Component\DependencyInjection\ContainerBuilder $containerBuilder) : \RectorPrefix20220520\Symfony\Component\Config\Loader\LoaderInterface { - $fileLocator = new \RectorPrefix20220519\Symfony\Component\Config\FileLocator([$filePath]); - $fileLoaders = [new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Loader\GlobFileLoader($containerBuilder, $fileLocator), new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Loader\PhpFileLoader($containerBuilder, $fileLocator)]; - $loaderResolver = new \RectorPrefix20220519\Symfony\Component\Config\Loader\LoaderResolver($fileLoaders); + $fileLocator = new \RectorPrefix20220520\Symfony\Component\Config\FileLocator([$filePath]); + $fileLoaders = [new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Loader\GlobFileLoader($containerBuilder, $fileLocator), new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Loader\PhpFileLoader($containerBuilder, $fileLocator)]; + $loaderResolver = new \RectorPrefix20220520\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 ef7c4c5f2ac..5043f87a719 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 RectorPrefix20220519\Nette\Utils\Strings; +use RectorPrefix20220520\Nette\Utils\Strings; use Rector\Caching\Cache; use Rector\Caching\Config\FileHashComputer; use Rector\Caching\Enum\CacheKey; @@ -95,7 +95,7 @@ final class ChangedFilesDetector } private function storeConfigurationDataHash(string $filePath, string $configurationHash) : void { - $key = \Rector\Caching\Enum\CacheKey::CONFIGURATION_HASH_KEY . '_' . \RectorPrefix20220519\Nette\Utils\Strings::webalize($filePath); + $key = \Rector\Caching\Enum\CacheKey::CONFIGURATION_HASH_KEY . '_' . \RectorPrefix20220520\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 cc7bb30942c..12ebd8874a9 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 RectorPrefix20220519\Symplify\PackageBuilder\Reflection\PrivatesAccessor; +use RectorPrefix20220520\Symplify\PackageBuilder\Reflection\PrivatesAccessor; final class DependencyResolver { /** @@ -25,7 +25,7 @@ final class DependencyResolver * @var \Symplify\PackageBuilder\Reflection\PrivatesAccessor */ private $privatesAccessor; - public function __construct(\PHPStan\Analyser\NodeScopeResolver $nodeScopeResolver, \PHPStan\Dependency\DependencyResolver $phpStanDependencyResolver, \RectorPrefix20220519\Symplify\PackageBuilder\Reflection\PrivatesAccessor $privatesAccessor) + public function __construct(\PHPStan\Analyser\NodeScopeResolver $nodeScopeResolver, \PHPStan\Dependency\DependencyResolver $phpStanDependencyResolver, \RectorPrefix20220520\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 c1aebe8153a..c5fa7425fb8 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 RectorPrefix20220519\Nette\Utils\FileSystem; -use RectorPrefix20220519\Nette\Utils\Random; +use RectorPrefix20220520\Nette\Utils\FileSystem; +use RectorPrefix20220520\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 RectorPrefix20220519\Symplify\SmartFileSystem\SmartFileSystem; +use RectorPrefix20220520\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, \RectorPrefix20220519\Symplify\SmartFileSystem\SmartFileSystem $smartFileSystem) + public function __construct(string $directory, \RectorPrefix20220520\Symplify\SmartFileSystem\SmartFileSystem $smartFileSystem) { $this->directory = $directory; $this->smartFileSystem = $smartFileSystem; @@ -54,7 +54,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, \RectorPrefix20220519\Nette\Utils\Random::generate()); + $tmpPath = \sprintf('%s/%s.tmp', $this->directory, \RectorPrefix20220520\Nette\Utils\Random::generate()); $errorBefore = \error_get_last(); $exported = @\var_export(new \Rector\Caching\ValueObject\CacheItem($variableKey, $data), \true); $errorAfter = \error_get_last(); @@ -62,7 +62,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 - \RectorPrefix20220519\Nette\Utils\FileSystem::write($tmpPath, \sprintf(".*?)\\r?\\n#m'; - $matches = \RectorPrefix20220519\Nette\Utils\Strings::match($docComment, $pattern); + $matches = \RectorPrefix20220520\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 4f5c113fd66..907b3850fc1 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 RectorPrefix20220519\Nette\Utils\Strings; +use RectorPrefix20220520\Nette\Utils\Strings; use Rector\ChangesReporting\Annotation\RectorsChangelogResolver; use Rector\ChangesReporting\Contract\Output\OutputFormatterInterface; use Rector\Core\Contract\Console\OutputStyleInterface; @@ -120,8 +120,8 @@ final class ConsoleOutputFormatter implements \Rector\ChangesReporting\Contract\ private function normalizePathsToRelativeWithLine(string $errorMessage) : string { $regex = '#' . \preg_quote(\getcwd(), '#') . '/#'; - $errorMessage = \RectorPrefix20220519\Nette\Utils\Strings::replace($errorMessage, $regex, ''); - return \RectorPrefix20220519\Nette\Utils\Strings::replace($errorMessage, self::ON_LINE_REGEX, ':'); + $errorMessage = \RectorPrefix20220520\Nette\Utils\Strings::replace($errorMessage, $regex, ''); + return \RectorPrefix20220520\Nette\Utils\Strings::replace($errorMessage, self::ON_LINE_REGEX, ':'); } private function reportRemovedNodes(\Rector\Core\ValueObject\ProcessResult $processResult) : void { @@ -147,7 +147,7 @@ final class ConsoleOutputFormatter implements \Rector\ChangesReporting\Contract\ $rectorsChangelogs = $this->rectorsChangelogResolver->resolveIncludingMissing($fileDiff->getRectorClasses()); $rectorsChangelogsLines = []; foreach ($rectorsChangelogs as $rectorClass => $changelog) { - $rectorShortClass = (string) \RectorPrefix20220519\Nette\Utils\Strings::after($rectorClass, '\\', -1); + $rectorShortClass = (string) \RectorPrefix20220520\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 93e71f64d7e..af766888bfe 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 RectorPrefix20220519\Nette\Utils\Json; +use RectorPrefix20220520\Nette\Utils\Json; use Rector\ChangesReporting\Annotation\RectorsChangelogResolver; use Rector\ChangesReporting\Contract\Output\OutputFormatterInterface; use Rector\Core\ValueObject\Configuration; @@ -47,7 +47,7 @@ final class JsonOutputFormatter implements \Rector\ChangesReporting\Contract\Out if ($errorsData !== []) { $errorsJson['errors'] = $errorsData; } - $json = \RectorPrefix20220519\Nette\Utils\Json::encode($errorsJson, \RectorPrefix20220519\Nette\Utils\Json::PRETTY); + $json = \RectorPrefix20220520\Nette\Utils\Json::encode($errorsJson, \RectorPrefix20220520\Nette\Utils\Json::PRETTY); echo $json . \PHP_EOL; } /** diff --git a/packages/ChangesReporting/ValueObject/RectorWithLineChange.php b/packages/ChangesReporting/ValueObject/RectorWithLineChange.php index 647a59fe861..0423435f85d 100644 --- a/packages/ChangesReporting/ValueObject/RectorWithLineChange.php +++ b/packages/ChangesReporting/ValueObject/RectorWithLineChange.php @@ -4,9 +4,9 @@ declare (strict_types=1); namespace Rector\ChangesReporting\ValueObject; use Rector\Core\Contract\Rector\RectorInterface; -use RectorPrefix20220519\Symplify\EasyParallel\Contract\SerializableInterface; -use RectorPrefix20220519\Webmozart\Assert\Assert; -final class RectorWithLineChange implements \RectorPrefix20220519\Symplify\EasyParallel\Contract\SerializableInterface +use RectorPrefix20220520\Symplify\EasyParallel\Contract\SerializableInterface; +use RectorPrefix20220520\Webmozart\Assert\Assert; +final class RectorWithLineChange implements \RectorPrefix20220520\Symplify\EasyParallel\Contract\SerializableInterface { /** * @var string @@ -52,12 +52,12 @@ final class RectorWithLineChange implements \RectorPrefix20220519\Symplify\EasyP * @param array $json * @return $this */ - public static function decode(array $json) : \RectorPrefix20220519\Symplify\EasyParallel\Contract\SerializableInterface + public static function decode(array $json) : \RectorPrefix20220520\Symplify\EasyParallel\Contract\SerializableInterface { $rectorClass = $json[self::KEY_RECTOR_CLASS]; - \RectorPrefix20220519\Webmozart\Assert\Assert::string($rectorClass); + \RectorPrefix20220520\Webmozart\Assert\Assert::string($rectorClass); $line = $json[self::KEY_LINE]; - \RectorPrefix20220519\Webmozart\Assert\Assert::integer($line); + \RectorPrefix20220520\Webmozart\Assert\Assert::integer($line); return new self($rectorClass, $line); } /** diff --git a/packages/ChangesReporting/ValueObjectFactory/FileDiffFactory.php b/packages/ChangesReporting/ValueObjectFactory/FileDiffFactory.php index 287eddff40c..a09410e3f6c 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 RectorPrefix20220519\Symplify\PackageBuilder\Console\Output\ConsoleDiffer; +use RectorPrefix20220520\Symplify\PackageBuilder\Console\Output\ConsoleDiffer; final class FileDiffFactory { /** @@ -19,7 +19,7 @@ final class FileDiffFactory * @var \Symplify\PackageBuilder\Console\Output\ConsoleDiffer */ private $consoleDiffer; - public function __construct(\Rector\Core\Differ\DefaultDiffer $defaultDiffer, \RectorPrefix20220519\Symplify\PackageBuilder\Console\Output\ConsoleDiffer $consoleDiffer) + public function __construct(\Rector\Core\Differ\DefaultDiffer $defaultDiffer, \RectorPrefix20220520\Symplify\PackageBuilder\Console\Output\ConsoleDiffer $consoleDiffer) { $this->defaultDiffer = $defaultDiffer; $this->consoleDiffer = $consoleDiffer; diff --git a/packages/Config/RectorConfig.php b/packages/Config/RectorConfig.php index bcc6f0cff20..b8106b0aa89 100644 --- a/packages/Config/RectorConfig.php +++ b/packages/Config/RectorConfig.php @@ -8,7 +8,7 @@ use Rector\Core\Contract\Rector\ConfigurableRectorInterface; use Rector\Core\Contract\Rector\RectorInterface; use Rector\Core\ValueObject\PhpVersion; use Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator; -use RectorPrefix20220519\Webmozart\Assert\Assert; +use RectorPrefix20220520\Webmozart\Assert\Assert; /** * @api * Same as Symfony container configurator, with patched return type for "set()" method for easier DX. @@ -21,7 +21,7 @@ final class RectorConfig extends \Symfony\Component\DependencyInjection\Loader\C */ public function paths(array $paths) : void { - \RectorPrefix20220519\Webmozart\Assert\Assert::allString($paths); + \RectorPrefix20220520\Webmozart\Assert\Assert::allString($paths); $parameters = $this->parameters(); $parameters->set(\Rector\Core\Configuration\Option::PATHS, $paths); } @@ -30,9 +30,9 @@ final class RectorConfig extends \Symfony\Component\DependencyInjection\Loader\C */ public function sets(array $sets) : void { - \RectorPrefix20220519\Webmozart\Assert\Assert::allString($sets); + \RectorPrefix20220520\Webmozart\Assert\Assert::allString($sets); foreach ($sets as $set) { - \RectorPrefix20220519\Webmozart\Assert\Assert::fileExists($set); + \RectorPrefix20220520\Webmozart\Assert\Assert::fileExists($set); $this->import($set); } } @@ -83,7 +83,7 @@ final class RectorConfig extends \Symfony\Component\DependencyInjection\Loader\C */ public function phpstanConfig(string $filePath) : void { - \RectorPrefix20220519\Webmozart\Assert\Assert::fileExists($filePath); + \RectorPrefix20220520\Webmozart\Assert\Assert::fileExists($filePath); $parameters = $this->parameters(); $parameters->set(\Rector\Core\Configuration\Option::PHPSTAN_FOR_RECTOR_PATH, $filePath); } @@ -93,8 +93,8 @@ final class RectorConfig extends \Symfony\Component\DependencyInjection\Loader\C */ public function ruleWithConfiguration(string $rectorClass, array $configuration) : void { - \RectorPrefix20220519\Webmozart\Assert\Assert::isAOf($rectorClass, \Rector\Core\Contract\Rector\RectorInterface::class); - \RectorPrefix20220519\Webmozart\Assert\Assert::isAOf($rectorClass, \Rector\Core\Contract\Rector\ConfigurableRectorInterface::class); + \RectorPrefix20220520\Webmozart\Assert\Assert::isAOf($rectorClass, \Rector\Core\Contract\Rector\RectorInterface::class); + \RectorPrefix20220520\Webmozart\Assert\Assert::isAOf($rectorClass, \Rector\Core\Contract\Rector\ConfigurableRectorInterface::class); $services = $this->services(); $services->set($rectorClass)->configure($configuration); } @@ -103,7 +103,7 @@ final class RectorConfig extends \Symfony\Component\DependencyInjection\Loader\C */ public function rule(string $rectorClass) : void { - \RectorPrefix20220519\Webmozart\Assert\Assert::isAOf($rectorClass, \Rector\Core\Contract\Rector\RectorInterface::class); + \RectorPrefix20220520\Webmozart\Assert\Assert::isAOf($rectorClass, \Rector\Core\Contract\Rector\RectorInterface::class); $services = $this->services(); $services->set($rectorClass); } @@ -112,7 +112,7 @@ final class RectorConfig extends \Symfony\Component\DependencyInjection\Loader\C */ public function rules(array $rectorClasses) : void { - \RectorPrefix20220519\Webmozart\Assert\Assert::allString($rectorClasses); + \RectorPrefix20220520\Webmozart\Assert\Assert::allString($rectorClasses); foreach ($rectorClasses as $rectorClass) { $this->rule($rectorClass); } @@ -130,7 +130,7 @@ final class RectorConfig extends \Symfony\Component\DependencyInjection\Loader\C */ public function autoloadPaths(array $autoloadPaths) : void { - \RectorPrefix20220519\Webmozart\Assert\Assert::allString($autoloadPaths); + \RectorPrefix20220520\Webmozart\Assert\Assert::allString($autoloadPaths); $parameters = $this->parameters(); $parameters->set(\Rector\Core\Configuration\Option::AUTOLOAD_PATHS, $autoloadPaths); } @@ -139,7 +139,7 @@ final class RectorConfig extends \Symfony\Component\DependencyInjection\Loader\C */ public function bootstrapFiles(array $bootstrapFiles) : void { - \RectorPrefix20220519\Webmozart\Assert\Assert::allString($bootstrapFiles); + \RectorPrefix20220520\Webmozart\Assert\Assert::allString($bootstrapFiles); $parameters = $this->parameters(); $parameters->set(\Rector\Core\Configuration\Option::BOOTSTRAP_FILES, $bootstrapFiles); } diff --git a/packages/FamilyTree/Reflection/FamilyRelationsAnalyzer.php b/packages/FamilyTree/Reflection/FamilyRelationsAnalyzer.php index 4c80edbd5c3..eab7b40733c 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 RectorPrefix20220519\Symplify\PackageBuilder\Reflection\PrivatesAccessor; +use RectorPrefix20220520\Symplify\PackageBuilder\Reflection\PrivatesAccessor; final class FamilyRelationsAnalyzer { /** @@ -60,7 +60,7 @@ final class FamilyRelationsAnalyzer * @var \Rector\Core\PhpParser\AstResolver */ private $astResolver; - public function __construct(\PHPStan\Reflection\ReflectionProvider $reflectionProvider, \RectorPrefix20220519\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, \RectorPrefix20220520\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 b0fa0a24f23..0f7065d0884 100644 --- a/packages/FileFormatter/EditorConfig/EditorConfigParser.php +++ b/packages/FileFormatter/EditorConfig/EditorConfigParser.php @@ -3,8 +3,8 @@ declare (strict_types=1); namespace Rector\FileFormatter\EditorConfig; -use RectorPrefix20220519\Idiosyncratic\EditorConfig\Declaration\Declaration; -use RectorPrefix20220519\Idiosyncratic\EditorConfig\EditorConfig; +use RectorPrefix20220520\Idiosyncratic\EditorConfig\Declaration\Declaration; +use RectorPrefix20220520\Idiosyncratic\EditorConfig\EditorConfig; use Rector\Core\ValueObject\Application\File; use Rector\FileFormatter\ValueObject\EditorConfigConfiguration; use Rector\FileFormatter\ValueObject\EditorConfigOption; @@ -19,7 +19,7 @@ final class EditorConfigParser * @var \Idiosyncratic\EditorConfig\EditorConfig */ private $editorConfig; - public function __construct(\RectorPrefix20220519\Idiosyncratic\EditorConfig\EditorConfig $editorConfig) + public function __construct(\RectorPrefix20220520\Idiosyncratic\EditorConfig\EditorConfig $editorConfig) { $this->editorConfig = $editorConfig; } diff --git a/packages/FileFormatter/FileFormatter.php b/packages/FileFormatter/FileFormatter.php index 82d67679d47..ee0c5f1e68e 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 RectorPrefix20220519\Symplify\PackageBuilder\Parameter\ParameterProvider; +use RectorPrefix20220520\Symplify\PackageBuilder\Parameter\ParameterProvider; final class FileFormatter { /** @@ -34,7 +34,7 @@ final class FileFormatter /** * @param FileFormatterInterface[] $fileFormatters */ - public function __construct(\Rector\FileFormatter\EditorConfig\EditorConfigParser $editorConfigParser, \RectorPrefix20220519\Symplify\PackageBuilder\Parameter\ParameterProvider $parameterProvider, array $fileFormatters = []) + public function __construct(\Rector\FileFormatter\EditorConfig\EditorConfigParser $editorConfigParser, \RectorPrefix20220520\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 57f14932c8e..64372644482 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 RectorPrefix20220519\Ergebnis\Json\Printer\PrinterInterface; +use RectorPrefix20220520\Ergebnis\Json\Printer\PrinterInterface; use Rector\Core\ValueObject\Application\File; use Rector\FileFormatter\Contract\Formatter\FileFormatterInterface; use Rector\FileFormatter\ValueObject\EditorConfigConfiguration; @@ -19,7 +19,7 @@ final class JsonFileFormatter implements \Rector\FileFormatter\Contract\Formatte * @var \Ergebnis\Json\Printer\PrinterInterface */ private $jsonPrinter; - public function __construct(\RectorPrefix20220519\Ergebnis\Json\Printer\PrinterInterface $jsonPrinter) + public function __construct(\RectorPrefix20220520\Ergebnis\Json\Printer\PrinterInterface $jsonPrinter) { $this->jsonPrinter = $jsonPrinter; } diff --git a/packages/FileFormatter/Formatter/XmlFileFormatter.php b/packages/FileFormatter/Formatter/XmlFileFormatter.php index f44531e0d93..a23c3878485 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 RectorPrefix20220519\Nette\Utils\Strings; +use RectorPrefix20220520\Nette\Utils\Strings; use Rector\Core\Util\StringUtils; use Rector\Core\ValueObject\Application\File; use Rector\FileFormatter\Contract\Formatter\FileFormatterInterface; @@ -83,7 +83,7 @@ final class XmlFileFormatter implements \Rector\FileFormatter\Contract\Formatter */ private function getXmlParts(string $xml) : array { - $withNewLines = \RectorPrefix20220519\Nette\Utils\Strings::replace(\trim($xml), self::XML_PARTS_REGEX, "\$1\n\$2\$3"); + $withNewLines = \RectorPrefix20220520\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 3ae8b8b4eea..f521c0e4462 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 RectorPrefix20220519\Symfony\Component\Yaml\Yaml; +use RectorPrefix20220520\Symfony\Component\Yaml\Yaml; /** * @see \Rector\Tests\FileFormatter\Formatter\YamlFileFormatter\YamlFileFormatterTest */ @@ -21,8 +21,8 @@ final class YamlFileFormatter implements \Rector\FileFormatter\Contract\Formatte } public function format(\Rector\Core\ValueObject\Application\File $file, \Rector\FileFormatter\ValueObject\EditorConfigConfiguration $editorConfigConfiguration) : void { - $yaml = \RectorPrefix20220519\Symfony\Component\Yaml\Yaml::parse($file->getFileContent(), \RectorPrefix20220519\Symfony\Component\Yaml\Yaml::PARSE_CUSTOM_TAGS); - $newFileContent = \RectorPrefix20220519\Symfony\Component\Yaml\Yaml::dump($yaml, 99, $editorConfigConfiguration->getIndentSize()); + $yaml = \RectorPrefix20220520\Symfony\Component\Yaml\Yaml::parse($file->getFileContent(), \RectorPrefix20220520\Symfony\Component\Yaml\Yaml::PARSE_CUSTOM_TAGS); + $newFileContent = \RectorPrefix20220520\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 eb8c12a3767..5779b3d3a66 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 RectorPrefix20220519\Nette\Utils\Strings; +use RectorPrefix20220520\Nette\Utils\Strings; use Rector\FileFormatter\Enum\IndentType; use Rector\FileFormatter\Exception\InvalidIndentSizeException; use Rector\FileFormatter\Exception\InvalidIndentStringException; @@ -48,7 +48,7 @@ final class Indent } public static function fromString(string $content) : self { - $match = \RectorPrefix20220519\Nette\Utils\Strings::match($content, self::VALID_INDENT_REGEX); + $match = \RectorPrefix20220520\Nette\Utils\Strings::match($content, self::VALID_INDENT_REGEX); if ($match === null) { throw new \Rector\FileFormatter\Exception\InvalidIndentStringException($content); } @@ -78,7 +78,7 @@ final class Indent } public static function fromContent(string $content) : self { - $match = \RectorPrefix20220519\Nette\Utils\Strings::match($content, self::PARSE_INDENT_REGEX); + $match = \RectorPrefix20220520\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 8ed0855d85d..51d1131973f 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 RectorPrefix20220519\Nette\Utils\Strings; +use RectorPrefix20220520\Nette\Utils\Strings; use const PHP_EOL; use Rector\FileFormatter\Exception\InvalidNewLineStringException; use Stringable; @@ -53,7 +53,7 @@ final class NewLine } public static function fromSingleCharacter(string $content) : self { - $matches = \RectorPrefix20220519\Nette\Utils\Strings::match($content, self::VALID_NEWLINE_REGEX); + $matches = \RectorPrefix20220520\Nette\Utils\Strings::match($content, self::VALID_NEWLINE_REGEX); if ($matches === null) { throw \Rector\FileFormatter\Exception\InvalidNewLineStringException::fromString($content); } @@ -61,7 +61,7 @@ final class NewLine } public static function fromContent(string $content) : self { - $match = \RectorPrefix20220519\Nette\Utils\Strings::match($content, self::NEWLINE_REGEX); + $match = \RectorPrefix20220520\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 1b0bf5535a8..2dced80e299 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 RectorPrefix20220519\Symfony\Contracts\Service\Attribute\Required; +use RectorPrefix20220520\Symfony\Contracts\Service\Attribute\Required; /** * @implements NodeNameResolverInterface */ diff --git a/packages/NodeNameResolver/NodeNameResolver/ClassConstNameResolver.php b/packages/NodeNameResolver/NodeNameResolver/ClassConstNameResolver.php index 90a1230c889..5d7ce752e19 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 RectorPrefix20220519\Symfony\Contracts\Service\Attribute\Required; +use RectorPrefix20220520\Symfony\Contracts\Service\Attribute\Required; /** * @implements NodeNameResolverInterface */ diff --git a/packages/NodeNameResolver/NodeNameResolver/ClassNameResolver.php b/packages/NodeNameResolver/NodeNameResolver/ClassNameResolver.php index 7398bb33df1..2ecb0254b92 100644 --- a/packages/NodeNameResolver/NodeNameResolver/ClassNameResolver.php +++ b/packages/NodeNameResolver/NodeNameResolver/ClassNameResolver.php @@ -8,7 +8,7 @@ use PhpParser\Node\Name; use PhpParser\Node\Stmt\ClassLike; use Rector\NodeNameResolver\Contract\NodeNameResolverInterface; use Rector\NodeNameResolver\NodeNameResolver; -use RectorPrefix20220519\Symfony\Contracts\Service\Attribute\Required; +use RectorPrefix20220520\Symfony\Contracts\Service\Attribute\Required; /** * @implements NodeNameResolverInterface */ diff --git a/packages/NodeNameResolver/NodeNameResolver/ParamNameResolver.php b/packages/NodeNameResolver/NodeNameResolver/ParamNameResolver.php index c982284dab6..326c1737d3d 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 RectorPrefix20220519\Symfony\Contracts\Service\Attribute\Required; +use RectorPrefix20220520\Symfony\Contracts\Service\Attribute\Required; /** * @implements NodeNameResolverInterface */ diff --git a/packages/NodeNameResolver/NodeNameResolver/PropertyNameResolver.php b/packages/NodeNameResolver/NodeNameResolver/PropertyNameResolver.php index 925dc2b34c3..d6b80f8618c 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 RectorPrefix20220519\Symfony\Contracts\Service\Attribute\Required; +use RectorPrefix20220520\Symfony\Contracts\Service\Attribute\Required; /** * @implements NodeNameResolverInterface */ diff --git a/packages/NodeNameResolver/NodeNameResolver/UseNameResolver.php b/packages/NodeNameResolver/NodeNameResolver/UseNameResolver.php index 2d94e53ace5..8f5b0ab7f85 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 RectorPrefix20220519\Symfony\Contracts\Service\Attribute\Required; +use RectorPrefix20220520\Symfony\Contracts\Service\Attribute\Required; /** * @implements NodeNameResolverInterface */ diff --git a/packages/NodeNameResolver/Regex/RegexPatternDetector.php b/packages/NodeNameResolver/Regex/RegexPatternDetector.php index 2bc3bed0a97..dcb74b7f88c 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 RectorPrefix20220519\Nette\Utils\Strings; +use RectorPrefix20220520\Nette\Utils\Strings; final class RegexPatternDetector { /** @@ -14,7 +14,7 @@ final class RegexPatternDetector private const POSSIBLE_DELIMITERS = ['#', '~', '/']; public function isRegexPattern(string $name) : bool { - if (\RectorPrefix20220519\Nette\Utils\Strings::length($name) <= 2) { + if (\RectorPrefix20220520\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 7ab3e35ece0..d3557228098 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 RectorPrefix20220519\Symplify\PackageBuilder\Parameter\ParameterProvider; +use RectorPrefix20220520\Symplify\PackageBuilder\Parameter\ParameterProvider; /** * Factory so Symfony app can use services from PHPStan container */ @@ -29,7 +29,7 @@ final class PHPStanServicesFactory * @var \PHPStan\DependencyInjection\Container */ private $container; - public function __construct(\RectorPrefix20220519\Symplify\PackageBuilder\Parameter\ParameterProvider $parameterProvider) + public function __construct(\RectorPrefix20220520\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 1fa5cc3bd05..29ce40af589 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 RectorPrefix20220519\Symfony\Contracts\Service\Attribute\Required; +use RectorPrefix20220520\Symfony\Contracts\Service\Attribute\Required; /** * @implements NodeTypeResolverInterface */ diff --git a/packages/NodeTypeResolver/NodeTypeResolver/ParamTypeResolver.php b/packages/NodeTypeResolver/NodeTypeResolver/ParamTypeResolver.php index 6eaea6de722..c2871e5dc63 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 RectorPrefix20220519\Symfony\Contracts\Service\Attribute\Required; -use RectorPrefix20220519\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser; +use RectorPrefix20220520\Symfony\Contracts\Service\Attribute\Required; +use RectorPrefix20220520\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser; /** * @see \Rector\Tests\NodeTypeResolver\PerNodeTypeResolver\ParamTypeResolver\ParamTypeResolverTest * @@ -58,7 +58,7 @@ final class ParamTypeResolver implements \Rector\NodeTypeResolver\Contract\NodeT * @var \Rector\Core\PhpParser\Node\BetterNodeFinder */ private $betterNodeFinder; - public function __construct(\RectorPrefix20220519\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser $simpleCallableNodeTraverser, \Rector\NodeNameResolver\NodeNameResolver $nodeNameResolver, \Rector\BetterPhpDocParser\PhpDocInfo\PhpDocInfoFactory $phpDocInfoFactory, \Rector\Core\PhpParser\Node\BetterNodeFinder $betterNodeFinder) + public function __construct(\RectorPrefix20220520\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 1d970a7e6ae..f444719aa2b 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 RectorPrefix20220519\Symfony\Contracts\Service\Attribute\Required; +use RectorPrefix20220520\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 578e78af4cb..4e2d29e2ab1 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 RectorPrefix20220519\Symfony\Contracts\Service\Attribute\Required; +use RectorPrefix20220520\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 63ca616c6bd..c4509871339 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 RectorPrefix20220519\Symfony\Contracts\Service\Attribute\Required; +use RectorPrefix20220520\Symfony\Contracts\Service\Attribute\Required; /** * @implements NodeTypeResolverInterface */ diff --git a/packages/NodeTypeResolver/NodeTypeResolver/StaticCallMethodCallTypeResolver.php b/packages/NodeTypeResolver/NodeTypeResolver/StaticCallMethodCallTypeResolver.php index 86ee7159cde..075cf42d18f 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 RectorPrefix20220519\Symfony\Contracts\Service\Attribute\Required; +use RectorPrefix20220520\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 99cc9424498..c484a6a67aa 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 RectorPrefix20220519\Symplify\PackageBuilder\Parameter\ParameterProvider; +use RectorPrefix20220520\Symplify\PackageBuilder\Parameter\ParameterProvider; /** * Skips performance trap in PHPStan: https://github.com/phpstan/phpstan/issues/254 */ @@ -31,7 +31,7 @@ final class RemoveDeepChainMethodCallNodeVisitor extends \PhpParser\NodeVisitorA * @var \Rector\Core\PhpParser\Node\BetterNodeFinder */ private $betterNodeFinder; - public function __construct(\Rector\Core\PhpParser\Node\BetterNodeFinder $betterNodeFinder, \RectorPrefix20220519\Symplify\PackageBuilder\Parameter\ParameterProvider $parameterProvider) + public function __construct(\Rector\Core\PhpParser\Node\BetterNodeFinder $betterNodeFinder, \RectorPrefix20220520\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 6fdc1f1b043..d4dbb855d81 100644 --- a/packages/NodeTypeResolver/PHPStan/Scope/PHPStanNodeScopeResolver.php +++ b/packages/NodeTypeResolver/PHPStan/Scope/PHPStanNodeScopeResolver.php @@ -38,9 +38,9 @@ use Rector\Core\StaticReflection\SourceLocator\RenamedClassesSourceLocator; use Rector\Core\Util\StringUtils; use Rector\NodeTypeResolver\Node\AttributeKey; use Rector\NodeTypeResolver\PHPStan\Scope\NodeVisitor\RemoveDeepChainMethodCallNodeVisitor; -use RectorPrefix20220519\Symplify\PackageBuilder\Reflection\PrivatesAccessor; +use RectorPrefix20220520\Symplify\PackageBuilder\Reflection\PrivatesAccessor; use Symplify\SmartFileSystem\SmartFileInfo; -use RectorPrefix20220519\Webmozart\Assert\Assert; +use RectorPrefix20220520\Webmozart\Assert\Assert; /** * @inspired by https://github.com/silverstripe/silverstripe-upgrader/blob/532182b23e854d02e0b27e68ebc394f436de0682/src/UpgradeRule/PHP/Visitor/PHPStanScopeVisitor.php * - https://github.com/silverstripe/silverstripe-upgrader/pull/57/commits/e5c7cfa166ad940d9d4ff69537d9f7608e992359#diff-5e0807bb3dc03d6a8d8b6ad049abd774 @@ -101,7 +101,7 @@ final class PHPStanNodeScopeResolver * @var \Rector\Core\StaticReflection\SourceLocator\ParentAttributeSourceLocator */ private $parentAttributeSourceLocator; - 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, \RectorPrefix20220519\Symplify\PackageBuilder\Reflection\PrivatesAccessor $privatesAccessor, \Rector\Core\StaticReflection\SourceLocator\RenamedClassesSourceLocator $renamedClassesSourceLocator, \Rector\Core\StaticReflection\SourceLocator\ParentAttributeSourceLocator $parentAttributeSourceLocator) + 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, \RectorPrefix20220520\Symplify\PackageBuilder\Reflection\PrivatesAccessor $privatesAccessor, \Rector\Core\StaticReflection\SourceLocator\RenamedClassesSourceLocator $renamedClassesSourceLocator, \Rector\Core\StaticReflection\SourceLocator\ParentAttributeSourceLocator $parentAttributeSourceLocator) { $this->changedFilesDetector = $changedFilesDetector; $this->dependencyResolver = $dependencyResolver; @@ -124,7 +124,7 @@ final class PHPStanNodeScopeResolver * The stmts must be array of Stmt, or it will be silently skipped by PHPStan * @see vendor/phpstan/phpstan/phpstan.phar/src/Analyser/NodeScopeResolver.php:282 */ - \RectorPrefix20220519\Webmozart\Assert\Assert::allIsInstanceOf($stmts, \PhpParser\Node\Stmt::class); + \RectorPrefix20220520\Webmozart\Assert\Assert::allIsInstanceOf($stmts, \PhpParser\Node\Stmt::class); $this->removeDeepChainMethodCallNodes($stmts); $scope = $formerMutatingScope ?? $this->scopeFactory->createFromFile($smartFileInfo); // skip chain method calls, performance issue: https://github.com/phpstan/phpstan/issues/254 diff --git a/packages/NodeTypeResolver/PhpDoc/NodeAnalyzer/DocBlockNamespaceRenamer.php b/packages/NodeTypeResolver/PhpDoc/NodeAnalyzer/DocBlockNamespaceRenamer.php index 20d5462fe83..d3b545701ca 100644 --- a/packages/NodeTypeResolver/PhpDoc/NodeAnalyzer/DocBlockNamespaceRenamer.php +++ b/packages/NodeTypeResolver/PhpDoc/NodeAnalyzer/DocBlockNamespaceRenamer.php @@ -15,7 +15,7 @@ use Rector\BetterPhpDocParser\PhpDocInfo\PhpDocInfoFactory; use Rector\Core\PhpParser\Node\CustomNode\FileWithoutNamespace; use Rector\Naming\NamespaceMatcher; use Rector\Renaming\ValueObject\RenamedNamespace; -use RectorPrefix20220519\Symplify\Astral\PhpDocParser\PhpDocNodeTraverser; +use RectorPrefix20220520\Symplify\Astral\PhpDocParser\PhpDocNodeTraverser; final class DocBlockNamespaceRenamer { /** @@ -40,7 +40,7 @@ final class DocBlockNamespaceRenamer public function renameFullyQualifiedNamespace($node, array $oldToNewNamespaces) : ?\PhpParser\Node { $phpDocInfo = $this->phpDocInfoFactory->createFromNodeOrEmpty($node); - $phpDocNodeTraverser = new \RectorPrefix20220519\Symplify\Astral\PhpDocParser\PhpDocNodeTraverser(); + $phpDocNodeTraverser = new \RectorPrefix20220520\Symplify\Astral\PhpDocParser\PhpDocNodeTraverser(); $phpDocNodeTraverser->traverseWithCallable($phpDocInfo->getPhpDocNode(), '', function (\PHPStan\PhpDocParser\Ast\Node $docNode) use($oldToNewNamespaces) : ?DocNode { if (!$docNode instanceof \PHPStan\PhpDocParser\Ast\Type\IdentifierTypeNode) { return null; diff --git a/packages/NodeTypeResolver/PhpDoc/PhpDocNodeTraverser/ImportingPhpDocNodeTraverserFactory.php b/packages/NodeTypeResolver/PhpDoc/PhpDocNodeTraverser/ImportingPhpDocNodeTraverserFactory.php index 3a26f8a57c8..821b5e85f9e 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 RectorPrefix20220519\Symplify\Astral\PhpDocParser\PhpDocNodeTraverser; +use RectorPrefix20220520\Symplify\Astral\PhpDocParser\PhpDocNodeTraverser; final class ImportingPhpDocNodeTraverserFactory { /** @@ -16,9 +16,9 @@ final class ImportingPhpDocNodeTraverserFactory { $this->nameImportingPhpDocNodeVisitor = $nameImportingPhpDocNodeVisitor; } - public function create() : \RectorPrefix20220519\Symplify\Astral\PhpDocParser\PhpDocNodeTraverser + public function create() : \RectorPrefix20220520\Symplify\Astral\PhpDocParser\PhpDocNodeTraverser { - $phpDocNodeTraverser = new \RectorPrefix20220519\Symplify\Astral\PhpDocParser\PhpDocNodeTraverser(); + $phpDocNodeTraverser = new \RectorPrefix20220520\Symplify\Astral\PhpDocParser\PhpDocNodeTraverser(); $phpDocNodeTraverser->addPhpDocNodeVisitor($this->nameImportingPhpDocNodeVisitor); return $phpDocNodeTraverser; } diff --git a/packages/NodeTypeResolver/PhpDoc/PhpDocNodeTraverser/RenamingPhpDocNodeVisitorFactory.php b/packages/NodeTypeResolver/PhpDoc/PhpDocNodeTraverser/RenamingPhpDocNodeVisitorFactory.php index b405826386b..eb4f1573f91 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 RectorPrefix20220519\Symplify\Astral\PhpDocParser\PhpDocNodeTraverser; +use RectorPrefix20220520\Symplify\Astral\PhpDocParser\PhpDocNodeTraverser; final class RenamingPhpDocNodeVisitorFactory { /** @@ -16,9 +16,9 @@ final class RenamingPhpDocNodeVisitorFactory { $this->classRenamePhpDocNodeVisitor = $classRenamePhpDocNodeVisitor; } - public function create() : \RectorPrefix20220519\Symplify\Astral\PhpDocParser\PhpDocNodeTraverser + public function create() : \RectorPrefix20220520\Symplify\Astral\PhpDocParser\PhpDocNodeTraverser { - $phpDocNodeTraverser = new \RectorPrefix20220519\Symplify\Astral\PhpDocParser\PhpDocNodeTraverser(); + $phpDocNodeTraverser = new \RectorPrefix20220520\Symplify\Astral\PhpDocParser\PhpDocNodeTraverser(); $phpDocNodeTraverser->addPhpDocNodeVisitor($this->classRenamePhpDocNodeVisitor); return $phpDocNodeTraverser; } diff --git a/packages/NodeTypeResolver/PhpDoc/PhpDocNodeTraverser/UnderscorePhpDocNodeTraverserFactory.php b/packages/NodeTypeResolver/PhpDoc/PhpDocNodeTraverser/UnderscorePhpDocNodeTraverserFactory.php index 1068120c4b9..ba87053238f 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 RectorPrefix20220519\Symplify\Astral\PhpDocParser\PhpDocNodeTraverser; +use RectorPrefix20220520\Symplify\Astral\PhpDocParser\PhpDocNodeTraverser; final class UnderscorePhpDocNodeTraverserFactory { /** @@ -16,9 +16,9 @@ final class UnderscorePhpDocNodeTraverserFactory { $this->underscoreRenamePhpDocNodeVisitor = $underscoreRenamePhpDocNodeVisitor; } - public function create() : \RectorPrefix20220519\Symplify\Astral\PhpDocParser\PhpDocNodeTraverser + public function create() : \RectorPrefix20220520\Symplify\Astral\PhpDocParser\PhpDocNodeTraverser { - $phpDocNodeTraverser = new \RectorPrefix20220519\Symplify\Astral\PhpDocParser\PhpDocNodeTraverser(); + $phpDocNodeTraverser = new \RectorPrefix20220520\Symplify\Astral\PhpDocParser\PhpDocNodeTraverser(); $phpDocNodeTraverser->addPhpDocNodeVisitor($this->underscoreRenamePhpDocNodeVisitor); return $phpDocNodeTraverser; } diff --git a/packages/NodeTypeResolver/PhpDocNodeVisitor/ClassRenamePhpDocNodeVisitor.php b/packages/NodeTypeResolver/PhpDocNodeVisitor/ClassRenamePhpDocNodeVisitor.php index ac810608c0e..4c96e79275f 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 RectorPrefix20220519\Symplify\Astral\PhpDocParser\PhpDocNodeVisitor\AbstractPhpDocNodeVisitor; -final class ClassRenamePhpDocNodeVisitor extends \RectorPrefix20220519\Symplify\Astral\PhpDocParser\PhpDocNodeVisitor\AbstractPhpDocNodeVisitor +use RectorPrefix20220520\Symplify\Astral\PhpDocParser\PhpDocNodeVisitor\AbstractPhpDocNodeVisitor; +final class ClassRenamePhpDocNodeVisitor extends \RectorPrefix20220520\Symplify\Astral\PhpDocParser\PhpDocNodeVisitor\AbstractPhpDocNodeVisitor { /** * @var OldToNewType[] diff --git a/packages/NodeTypeResolver/PhpDocNodeVisitor/NameImportingPhpDocNodeVisitor.php b/packages/NodeTypeResolver/PhpDocNodeVisitor/NameImportingPhpDocNodeVisitor.php index 7e8040b8848..174440e8bf4 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 RectorPrefix20220519\Nette\Utils\Strings; +use RectorPrefix20220520\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 RectorPrefix20220519\Symplify\Astral\PhpDocParser\PhpDocNodeVisitor\AbstractPhpDocNodeVisitor; -use RectorPrefix20220519\Symplify\PackageBuilder\Parameter\ParameterProvider; -use RectorPrefix20220519\Symplify\PackageBuilder\Reflection\ClassLikeExistenceChecker; -final class NameImportingPhpDocNodeVisitor extends \RectorPrefix20220519\Symplify\Astral\PhpDocParser\PhpDocNodeVisitor\AbstractPhpDocNodeVisitor +use RectorPrefix20220520\Symplify\Astral\PhpDocParser\PhpDocNodeVisitor\AbstractPhpDocNodeVisitor; +use RectorPrefix20220520\Symplify\PackageBuilder\Parameter\ParameterProvider; +use RectorPrefix20220520\Symplify\PackageBuilder\Reflection\ClassLikeExistenceChecker; +final class NameImportingPhpDocNodeVisitor extends \RectorPrefix20220520\Symplify\Astral\PhpDocParser\PhpDocNodeVisitor\AbstractPhpDocNodeVisitor { /** * @var PhpParserNode|null @@ -59,7 +59,7 @@ final class NameImportingPhpDocNodeVisitor extends \RectorPrefix20220519\Symplif * @var \Symplify\PackageBuilder\Reflection\ClassLikeExistenceChecker */ private $classLikeExistenceChecker; - public function __construct(\Rector\StaticTypeMapper\StaticTypeMapper $staticTypeMapper, \RectorPrefix20220519\Symplify\PackageBuilder\Parameter\ParameterProvider $parameterProvider, \Rector\CodingStyle\ClassNameImport\ClassNameImportSkipper $classNameImportSkipper, \Rector\PostRector\Collector\UseNodesToAddCollector $useNodesToAddCollector, \Rector\Core\Provider\CurrentFileProvider $currentFileProvider, \RectorPrefix20220519\Symplify\PackageBuilder\Reflection\ClassLikeExistenceChecker $classLikeExistenceChecker) + public function __construct(\Rector\StaticTypeMapper\StaticTypeMapper $staticTypeMapper, \RectorPrefix20220520\Symplify\PackageBuilder\Parameter\ParameterProvider $parameterProvider, \Rector\CodingStyle\ClassNameImport\ClassNameImportSkipper $classNameImportSkipper, \Rector\PostRector\Collector\UseNodesToAddCollector $useNodesToAddCollector, \Rector\Core\Provider\CurrentFileProvider $currentFileProvider, \RectorPrefix20220520\Symplify\PackageBuilder\Reflection\ClassLikeExistenceChecker $classLikeExistenceChecker) { $this->staticTypeMapper = $staticTypeMapper; $this->parameterProvider = $parameterProvider; @@ -150,7 +150,7 @@ final class NameImportingPhpDocNodeVisitor extends \RectorPrefix20220519\Symplif if (!$this->classLikeExistenceChecker->doesClassLikeInsensitiveExists($className)) { return \false; } - $firstPath = \RectorPrefix20220519\Nette\Utils\Strings::before($identifierTypeNode->name, '\\' . $newNode->name); + $firstPath = \RectorPrefix20220520\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 a1685a42dc9..b6adb8bce98 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 RectorPrefix20220519\Nette\Utils\Strings; +use RectorPrefix20220520\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 RectorPrefix20220519\Symplify\Astral\PhpDocParser\PhpDocNodeVisitor\AbstractPhpDocNodeVisitor; -final class UnderscoreRenamePhpDocNodeVisitor extends \RectorPrefix20220519\Symplify\Astral\PhpDocParser\PhpDocNodeVisitor\AbstractPhpDocNodeVisitor +use RectorPrefix20220520\Symplify\Astral\PhpDocParser\PhpDocNodeVisitor\AbstractPhpDocNodeVisitor; +final class UnderscoreRenamePhpDocNodeVisitor extends \RectorPrefix20220520\Symplify\Astral\PhpDocParser\PhpDocNodeVisitor\AbstractPhpDocNodeVisitor { /** * @var \Rector\Renaming\ValueObject\PseudoNamespaceToNamespace|null @@ -53,7 +53,7 @@ final class UnderscoreRenamePhpDocNodeVisitor extends \RectorPrefix20220519\Symp return null; } // change underscore to \\ - $slashedName = '\\' . \RectorPrefix20220519\Nette\Utils\Strings::replace($staticType->getClassName(), '#_#', '\\'); + $slashedName = '\\' . \RectorPrefix20220520\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 3c968a1d66e..f14b5fe89ea 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 RectorPrefix20220519\MyCLabs\Enum\Enum; +use RectorPrefix20220520\MyCLabs\Enum\Enum; /** * @method static TypeKind PROPERTY() * @method static TypeKind RETURN() * @method static TypeKind PARAM() * @method static TypeKind ANY() */ -final class TypeKind extends \RectorPrefix20220519\MyCLabs\Enum\Enum +final class TypeKind extends \RectorPrefix20220520\MyCLabs\Enum\Enum { /** * @var string diff --git a/packages/PHPStanStaticTypeMapper/TypeMapper/ArrayTypeMapper.php b/packages/PHPStanStaticTypeMapper/TypeMapper/ArrayTypeMapper.php index b166795ef73..fa5bd70eae0 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 RectorPrefix20220519\Symfony\Contracts\Service\Attribute\Required; +use RectorPrefix20220520\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 af375305a80..0e802371234 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 RectorPrefix20220519\Symfony\Contracts\Service\Attribute\Required; +use RectorPrefix20220520\Symfony\Contracts\Service\Attribute\Required; /** * @implements TypeMapperInterface */ diff --git a/packages/PHPStanStaticTypeMapper/TypeMapper/ClassStringTypeMapper.php b/packages/PHPStanStaticTypeMapper/TypeMapper/ClassStringTypeMapper.php index 0e6f1a4c1b2..ed71991c13a 100644 --- a/packages/PHPStanStaticTypeMapper/TypeMapper/ClassStringTypeMapper.php +++ b/packages/PHPStanStaticTypeMapper/TypeMapper/ClassStringTypeMapper.php @@ -16,7 +16,7 @@ use PHPStan\Type\Type; use Rector\PHPStanStaticTypeMapper\Contract\TypeMapperInterface; use Rector\PHPStanStaticTypeMapper\Enum\TypeKind; use Rector\PHPStanStaticTypeMapper\PHPStanStaticTypeMapper; -use RectorPrefix20220519\Symfony\Contracts\Service\Attribute\Required; +use RectorPrefix20220520\Symfony\Contracts\Service\Attribute\Required; /** * @implements TypeMapperInterface */ diff --git a/packages/PHPStanStaticTypeMapper/TypeMapper/ClosureTypeMapper.php b/packages/PHPStanStaticTypeMapper/TypeMapper/ClosureTypeMapper.php index ea0f579966a..56716ede407 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 RectorPrefix20220519\Symfony\Contracts\Service\Attribute\Required; +use RectorPrefix20220520\Symfony\Contracts\Service\Attribute\Required; /** * @implements TypeMapperInterface */ diff --git a/packages/PHPStanStaticTypeMapper/TypeMapper/IntersectionTypeMapper.php b/packages/PHPStanStaticTypeMapper/TypeMapper/IntersectionTypeMapper.php index 97411764021..95be5f9d98d 100644 --- a/packages/PHPStanStaticTypeMapper/TypeMapper/IntersectionTypeMapper.php +++ b/packages/PHPStanStaticTypeMapper/TypeMapper/IntersectionTypeMapper.php @@ -16,7 +16,7 @@ use Rector\Core\ValueObject\PhpVersionFeature; use Rector\PHPStanStaticTypeMapper\Contract\TypeMapperInterface; use Rector\PHPStanStaticTypeMapper\Enum\TypeKind; use Rector\PHPStanStaticTypeMapper\PHPStanStaticTypeMapper; -use RectorPrefix20220519\Symfony\Contracts\Service\Attribute\Required; +use RectorPrefix20220520\Symfony\Contracts\Service\Attribute\Required; /** * @implements TypeMapperInterface */ diff --git a/packages/PHPStanStaticTypeMapper/TypeMapper/IterableTypeMapper.php b/packages/PHPStanStaticTypeMapper/TypeMapper/IterableTypeMapper.php index c6824a30a92..72729cd2e6e 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 RectorPrefix20220519\Symfony\Contracts\Service\Attribute\Required; +use RectorPrefix20220520\Symfony\Contracts\Service\Attribute\Required; /** * @implements TypeMapperInterface */ diff --git a/packages/PHPStanStaticTypeMapper/TypeMapper/ObjectTypeMapper.php b/packages/PHPStanStaticTypeMapper/TypeMapper/ObjectTypeMapper.php index 67aab443eba..d76241cb372 100644 --- a/packages/PHPStanStaticTypeMapper/TypeMapper/ObjectTypeMapper.php +++ b/packages/PHPStanStaticTypeMapper/TypeMapper/ObjectTypeMapper.php @@ -3,7 +3,7 @@ declare (strict_types=1); namespace Rector\PHPStanStaticTypeMapper\TypeMapper; -use RectorPrefix20220519\Nette\Utils\Strings; +use RectorPrefix20220520\Nette\Utils\Strings; use PhpParser\Node; use PhpParser\Node\Name; use PhpParser\Node\Name\FullyQualified; @@ -23,7 +23,7 @@ use Rector\StaticTypeMapper\ValueObject\Type\FullyQualifiedObjectType; use Rector\StaticTypeMapper\ValueObject\Type\NonExistingObjectType; use Rector\StaticTypeMapper\ValueObject\Type\SelfObjectType; use Rector\StaticTypeMapper\ValueObject\Type\ShortenedObjectType; -use RectorPrefix20220519\Symfony\Contracts\Service\Attribute\Required; +use RectorPrefix20220520\Symfony\Contracts\Service\Attribute\Required; /** * @implements TypeMapperInterface */ @@ -81,7 +81,7 @@ final class ObjectTypeMapper implements \Rector\PHPStanStaticTypeMapper\Contract $className = $type->getClassName(); if (\strncmp($className, '\\', \strlen('\\')) === 0) { // skip leading \ - return new \PhpParser\Node\Name\FullyQualified(\RectorPrefix20220519\Nette\Utils\Strings::substring($className, 1)); + return new \PhpParser\Node\Name\FullyQualified(\RectorPrefix20220520\Nette\Utils\Strings::substring($className, 1)); } return new \PhpParser\Node\Name\FullyQualified($className); } diff --git a/packages/PHPStanStaticTypeMapper/TypeMapper/UnionTypeMapper.php b/packages/PHPStanStaticTypeMapper/TypeMapper/UnionTypeMapper.php index f015f01924a..55adc370e07 100644 --- a/packages/PHPStanStaticTypeMapper/TypeMapper/UnionTypeMapper.php +++ b/packages/PHPStanStaticTypeMapper/TypeMapper/UnionTypeMapper.php @@ -37,7 +37,7 @@ use Rector\PHPStanStaticTypeMapper\TypeAnalyzer\BoolUnionTypeAnalyzer; use Rector\PHPStanStaticTypeMapper\TypeAnalyzer\UnionTypeAnalyzer; use Rector\PHPStanStaticTypeMapper\TypeAnalyzer\UnionTypeCommonTypeNarrower; use Rector\PHPStanStaticTypeMapper\ValueObject\UnionTypeAnalysis; -use RectorPrefix20220519\Symfony\Contracts\Service\Attribute\Required; +use RectorPrefix20220520\Symfony\Contracts\Service\Attribute\Required; /** * @implements TypeMapperInterface */ diff --git a/packages/Parallel/Application/ParallelFileProcessor.php b/packages/Parallel/Application/ParallelFileProcessor.php index 1617ab4cd7c..0a124aea1ed 100644 --- a/packages/Parallel/Application/ParallelFileProcessor.php +++ b/packages/Parallel/Application/ParallelFileProcessor.php @@ -3,12 +3,12 @@ declare (strict_types=1); namespace Rector\Parallel\Application; -use RectorPrefix20220519\Clue\React\NDJson\Decoder; -use RectorPrefix20220519\Clue\React\NDJson\Encoder; -use RectorPrefix20220519\Nette\Utils\Random; -use RectorPrefix20220519\React\EventLoop\StreamSelectLoop; -use RectorPrefix20220519\React\Socket\ConnectionInterface; -use RectorPrefix20220519\React\Socket\TcpServer; +use RectorPrefix20220520\Clue\React\NDJson\Decoder; +use RectorPrefix20220520\Clue\React\NDJson\Encoder; +use RectorPrefix20220520\Nette\Utils\Random; +use RectorPrefix20220520\React\EventLoop\StreamSelectLoop; +use RectorPrefix20220520\React\Socket\ConnectionInterface; +use RectorPrefix20220520\React\Socket\TcpServer; use Rector\Core\Configuration\Option; use Rector\Core\Console\Command\ProcessCommand; use Rector\Core\Console\Command\WorkerCommand; @@ -16,18 +16,18 @@ use Rector\Core\ValueObject\Error\SystemError; use Rector\Core\ValueObject\Reporting\FileDiff; use Rector\Parallel\Command\WorkerCommandLineFactory; use Rector\Parallel\ValueObject\Bridge; -use RectorPrefix20220519\Symfony\Component\Console\Command\Command; -use RectorPrefix20220519\Symfony\Component\Console\Input\InputInterface; -use RectorPrefix20220519\Symplify\EasyParallel\Contract\SerializableInterface; -use RectorPrefix20220519\Symplify\EasyParallel\Enum\Action; -use RectorPrefix20220519\Symplify\EasyParallel\Enum\Content; -use RectorPrefix20220519\Symplify\EasyParallel\Enum\ReactCommand; -use RectorPrefix20220519\Symplify\EasyParallel\Enum\ReactEvent; -use RectorPrefix20220519\Symplify\EasyParallel\ValueObject\ParallelProcess; -use RectorPrefix20220519\Symplify\EasyParallel\ValueObject\ProcessPool; -use RectorPrefix20220519\Symplify\EasyParallel\ValueObject\Schedule; -use RectorPrefix20220519\Symplify\PackageBuilder\Console\Command\CommandNaming; -use RectorPrefix20220519\Symplify\PackageBuilder\Parameter\ParameterProvider; +use RectorPrefix20220520\Symfony\Component\Console\Command\Command; +use RectorPrefix20220520\Symfony\Component\Console\Input\InputInterface; +use RectorPrefix20220520\Symplify\EasyParallel\Contract\SerializableInterface; +use RectorPrefix20220520\Symplify\EasyParallel\Enum\Action; +use RectorPrefix20220520\Symplify\EasyParallel\Enum\Content; +use RectorPrefix20220520\Symplify\EasyParallel\Enum\ReactCommand; +use RectorPrefix20220520\Symplify\EasyParallel\Enum\ReactEvent; +use RectorPrefix20220520\Symplify\EasyParallel\ValueObject\ParallelProcess; +use RectorPrefix20220520\Symplify\EasyParallel\ValueObject\ProcessPool; +use RectorPrefix20220520\Symplify\EasyParallel\ValueObject\Schedule; +use RectorPrefix20220520\Symplify\PackageBuilder\Console\Command\CommandNaming; +use RectorPrefix20220520\Symplify\PackageBuilder\Parameter\ParameterProvider; use Throwable; /** * Inspired from @see @@ -55,7 +55,7 @@ final class ParallelFileProcessor * @var \Symplify\PackageBuilder\Parameter\ParameterProvider */ private $parameterProvider; - public function __construct(\Rector\Parallel\Command\WorkerCommandLineFactory $workerCommandLineFactory, \RectorPrefix20220519\Symplify\PackageBuilder\Parameter\ParameterProvider $parameterProvider) + public function __construct(\Rector\Parallel\Command\WorkerCommandLineFactory $workerCommandLineFactory, \RectorPrefix20220520\Symplify\PackageBuilder\Parameter\ParameterProvider $parameterProvider) { $this->workerCommandLineFactory = $workerCommandLineFactory; $this->parameterProvider = $parameterProvider; @@ -64,24 +64,24 @@ final class ParallelFileProcessor * @param callable(int $stepCount): void $postFileCallback Used for progress bar jump * @return array{file_diffs: SerializableInterface[], system_errors: SerializableInterface[], system_errors_count: int} */ - public function process(\RectorPrefix20220519\Symplify\EasyParallel\ValueObject\Schedule $schedule, string $mainScript, callable $postFileCallback, \RectorPrefix20220519\Symfony\Component\Console\Input\InputInterface $input) : array + public function process(\RectorPrefix20220520\Symplify\EasyParallel\ValueObject\Schedule $schedule, string $mainScript, callable $postFileCallback, \RectorPrefix20220520\Symfony\Component\Console\Input\InputInterface $input) : array { $jobs = \array_reverse($schedule->getJobs()); - $streamSelectLoop = new \RectorPrefix20220519\React\EventLoop\StreamSelectLoop(); + $streamSelectLoop = new \RectorPrefix20220520\React\EventLoop\StreamSelectLoop(); // basic properties setup $numberOfProcesses = $schedule->getNumberOfProcesses(); // initial counters $fileDiffs = []; /** @var SystemError[] $systemErrors */ $systemErrors = []; - $tcpServer = new \RectorPrefix20220519\React\Socket\TcpServer('127.0.0.1:0', $streamSelectLoop); - $this->processPool = new \RectorPrefix20220519\Symplify\EasyParallel\ValueObject\ProcessPool($tcpServer); - $tcpServer->on(\RectorPrefix20220519\Symplify\EasyParallel\Enum\ReactEvent::CONNECTION, function (\RectorPrefix20220519\React\Socket\ConnectionInterface $connection) use(&$jobs) : void { - $inDecoder = new \RectorPrefix20220519\Clue\React\NDJson\Decoder($connection, \true, 512, 0, 4 * 1024 * 1024); - $outEncoder = new \RectorPrefix20220519\Clue\React\NDJson\Encoder($connection); - $inDecoder->on(\RectorPrefix20220519\Symplify\EasyParallel\Enum\ReactEvent::DATA, function (array $data) use(&$jobs, $inDecoder, $outEncoder) : void { - $action = $data[\RectorPrefix20220519\Symplify\EasyParallel\Enum\ReactCommand::ACTION]; - if ($action !== \RectorPrefix20220519\Symplify\EasyParallel\Enum\Action::HELLO) { + $tcpServer = new \RectorPrefix20220520\React\Socket\TcpServer('127.0.0.1:0', $streamSelectLoop); + $this->processPool = new \RectorPrefix20220520\Symplify\EasyParallel\ValueObject\ProcessPool($tcpServer); + $tcpServer->on(\RectorPrefix20220520\Symplify\EasyParallel\Enum\ReactEvent::CONNECTION, function (\RectorPrefix20220520\React\Socket\ConnectionInterface $connection) use(&$jobs) : void { + $inDecoder = new \RectorPrefix20220520\Clue\React\NDJson\Decoder($connection, \true, 512, 0, 4 * 1024 * 1024); + $outEncoder = new \RectorPrefix20220520\Clue\React\NDJson\Encoder($connection); + $inDecoder->on(\RectorPrefix20220520\Symplify\EasyParallel\Enum\ReactEvent::DATA, function (array $data) use(&$jobs, $inDecoder, $outEncoder) : void { + $action = $data[\RectorPrefix20220520\Symplify\EasyParallel\Enum\ReactCommand::ACTION]; + if ($action !== \RectorPrefix20220520\Symplify\EasyParallel\Enum\Action::HELLO) { return; } $processIdentifier = $data[\Rector\Core\Configuration\Option::PARALLEL_IDENTIFIER]; @@ -92,7 +92,7 @@ final class ParallelFileProcessor return; } $job = \array_pop($jobs); - $parallelProcess->request([\RectorPrefix20220519\Symplify\EasyParallel\Enum\ReactCommand::ACTION => \RectorPrefix20220519\Symplify\EasyParallel\Enum\Action::MAIN, \RectorPrefix20220519\Symplify\EasyParallel\Enum\Content::FILES => $job]); + $parallelProcess->request([\RectorPrefix20220520\Symplify\EasyParallel\Enum\ReactCommand::ACTION => \RectorPrefix20220520\Symplify\EasyParallel\Enum\Action::MAIN, \RectorPrefix20220520\Symplify\EasyParallel\Enum\Content::FILES => $job]); }); }); /** @var string $serverAddress */ @@ -113,9 +113,9 @@ final class ParallelFileProcessor if ($jobs === []) { break; } - $processIdentifier = \RectorPrefix20220519\Nette\Utils\Random::generate(); - $workerCommandLine = $this->workerCommandLineFactory->create($mainScript, \Rector\Core\Console\Command\ProcessCommand::class, \RectorPrefix20220519\Symplify\PackageBuilder\Console\Command\CommandNaming::classToName(\Rector\Core\Console\Command\WorkerCommand::class), $input, $processIdentifier, $serverPort); - $parallelProcess = new \RectorPrefix20220519\Symplify\EasyParallel\ValueObject\ParallelProcess($workerCommandLine, $streamSelectLoop, $timeoutInSeconds); + $processIdentifier = \RectorPrefix20220520\Nette\Utils\Random::generate(); + $workerCommandLine = $this->workerCommandLineFactory->create($mainScript, \Rector\Core\Console\Command\ProcessCommand::class, \RectorPrefix20220520\Symplify\PackageBuilder\Console\Command\CommandNaming::classToName(\Rector\Core\Console\Command\WorkerCommand::class), $input, $processIdentifier, $serverPort); + $parallelProcess = new \RectorPrefix20220520\Symplify\EasyParallel\ValueObject\ParallelProcess($workerCommandLine, $streamSelectLoop, $timeoutInSeconds); $parallelProcess->start( // 1. callable on data function (array $json) use($parallelProcess, &$systemErrors, &$fileDiffs, &$jobs, $postFileCallback, &$systemErrorsCount, &$reachedInternalErrorsCountLimit, $processIdentifier) : void { @@ -141,14 +141,14 @@ final class ParallelFileProcessor return; } $job = \array_pop($jobs); - $parallelProcess->request([\RectorPrefix20220519\Symplify\EasyParallel\Enum\ReactCommand::ACTION => \RectorPrefix20220519\Symplify\EasyParallel\Enum\Action::MAIN, \RectorPrefix20220519\Symplify\EasyParallel\Enum\Content::FILES => $job]); + $parallelProcess->request([\RectorPrefix20220520\Symplify\EasyParallel\Enum\ReactCommand::ACTION => \RectorPrefix20220520\Symplify\EasyParallel\Enum\Action::MAIN, \RectorPrefix20220520\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 === \RectorPrefix20220519\Symfony\Component\Console\Command\Command::SUCCESS) { + if ($exitCode === \RectorPrefix20220520\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 251aa8d61c0..5fc4d092a76 100644 --- a/packages/Parallel/Command/WorkerCommandLineFactory.php +++ b/packages/Parallel/Command/WorkerCommandLineFactory.php @@ -5,10 +5,10 @@ namespace Rector\Parallel\Command; use Rector\ChangesReporting\Output\JsonOutputFormatter; use Rector\Core\Configuration\Option; -use RectorPrefix20220519\Symfony\Component\Console\Command\Command; -use RectorPrefix20220519\Symfony\Component\Console\Input\InputInterface; -use RectorPrefix20220519\Symplify\EasyParallel\Exception\ParallelShouldNotHappenException; -use RectorPrefix20220519\Symplify\EasyParallel\Reflection\CommandFromReflectionFactory; +use RectorPrefix20220520\Symfony\Component\Console\Command\Command; +use RectorPrefix20220520\Symfony\Component\Console\Input\InputInterface; +use RectorPrefix20220520\Symplify\EasyParallel\Exception\ParallelShouldNotHappenException; +use RectorPrefix20220520\Symplify\EasyParallel\Reflection\CommandFromReflectionFactory; /** * @see \Rector\Tests\Parallel\Command\WorkerCommandLineFactoryTest * @todo possibly extract to symplify/easy-parallel @@ -26,12 +26,12 @@ final class WorkerCommandLineFactory private $commandFromReflectionFactory; public function __construct() { - $this->commandFromReflectionFactory = new \RectorPrefix20220519\Symplify\EasyParallel\Reflection\CommandFromReflectionFactory(); + $this->commandFromReflectionFactory = new \RectorPrefix20220520\Symplify\EasyParallel\Reflection\CommandFromReflectionFactory(); } /** * @param class-string $mainCommandClass */ - public function create(string $mainScript, string $mainCommandClass, string $workerCommandName, \RectorPrefix20220519\Symfony\Component\Console\Input\InputInterface $input, string $identifier, int $port) : string + public function create(string $mainScript, string $mainCommandClass, string $workerCommandName, \RectorPrefix20220520\Symfony\Component\Console\Input\InputInterface $input, string $identifier, int $port) : string { $commandArguments = \array_slice($_SERVER['argv'], 1); $args = \array_merge([\PHP_BINARY, $mainScript], $commandArguments); @@ -39,7 +39,7 @@ final class WorkerCommandLineFactory $mainCommand = $this->commandFromReflectionFactory->create($mainCommandClass); if ($mainCommand->getName() === null) { $errorMessage = \sprintf('The command name for "%s" is missing', \get_class($mainCommand)); - throw new \RectorPrefix20220519\Symplify\EasyParallel\Exception\ParallelShouldNotHappenException($errorMessage); + throw new \RectorPrefix20220520\Symplify\EasyParallel\Exception\ParallelShouldNotHappenException($errorMessage); } $mainCommandName = $mainCommand->getName(); $mainCommandNames = [$mainCommandName, $mainCommandName[0]]; @@ -76,7 +76,7 @@ final class WorkerCommandLineFactory } return \implode(' ', $workerCommandArray); } - private function shouldSkipOption(\RectorPrefix20220519\Symfony\Component\Console\Input\InputInterface $input, string $optionName) : bool + private function shouldSkipOption(\RectorPrefix20220520\Symfony\Component\Console\Input\InputInterface $input, string $optionName) : bool { if (!$input->hasOption($optionName)) { return \true; @@ -87,7 +87,7 @@ final class WorkerCommandLineFactory /** * @return string[] */ - private function getCommandOptionNames(\RectorPrefix20220519\Symfony\Component\Console\Command\Command $command) : array + private function getCommandOptionNames(\RectorPrefix20220520\Symfony\Component\Console\Command\Command $command) : array { $inputDefinition = $command->getDefinition(); $optionNames = []; @@ -102,7 +102,7 @@ final class WorkerCommandLineFactory * @param string[] $mainCommandOptionNames * @return string[] */ - private function mirrorCommandOptions(\RectorPrefix20220519\Symfony\Component\Console\Input\InputInterface $input, array $mainCommandOptionNames) : array + private function mirrorCommandOptions(\RectorPrefix20220520\Symfony\Component\Console\Input\InputInterface $input, array $mainCommandOptionNames) : array { $workerCommandOptions = []; foreach ($mainCommandOptionNames as $mainCommandOptionName) { diff --git a/packages/Parallel/WorkerRunner.php b/packages/Parallel/WorkerRunner.php index ca25f8437fb..83138f65853 100644 --- a/packages/Parallel/WorkerRunner.php +++ b/packages/Parallel/WorkerRunner.php @@ -3,8 +3,8 @@ declare (strict_types=1); namespace Rector\Parallel; -use RectorPrefix20220519\Clue\React\NDJson\Decoder; -use RectorPrefix20220519\Clue\React\NDJson\Encoder; +use RectorPrefix20220520\Clue\React\NDJson\Decoder; +use RectorPrefix20220520\Clue\React\NDJson\Encoder; use PHPStan\Analyser\NodeScopeResolver; use Rector\Core\Application\FileProcessor\PhpFileProcessor; use Rector\Core\Provider\CurrentFileProvider; @@ -13,10 +13,10 @@ use Rector\Core\ValueObject\Application\File; use Rector\Core\ValueObject\Configuration; use Rector\Core\ValueObject\Error\SystemError; use Rector\Parallel\ValueObject\Bridge; -use RectorPrefix20220519\Symplify\EasyParallel\Enum\Action; -use RectorPrefix20220519\Symplify\EasyParallel\Enum\ReactCommand; -use RectorPrefix20220519\Symplify\EasyParallel\Enum\ReactEvent; -use RectorPrefix20220519\Symplify\PackageBuilder\Yaml\ParametersMerger; +use RectorPrefix20220520\Symplify\EasyParallel\Enum\Action; +use RectorPrefix20220520\Symplify\EasyParallel\Enum\ReactCommand; +use RectorPrefix20220520\Symplify\EasyParallel\Enum\ReactEvent; +use RectorPrefix20220520\Symplify\PackageBuilder\Yaml\ParametersMerger; use Symplify\SmartFileSystem\SmartFileInfo; use Throwable; final class WorkerRunner @@ -50,7 +50,7 @@ final class WorkerRunner * @var \Rector\Core\StaticReflection\DynamicSourceLocatorDecorator */ private $dynamicSourceLocatorDecorator; - public function __construct(\RectorPrefix20220519\Symplify\PackageBuilder\Yaml\ParametersMerger $parametersMerger, \Rector\Core\Provider\CurrentFileProvider $currentFileProvider, \Rector\Core\Application\FileProcessor\PhpFileProcessor $phpFileProcessor, \PHPStan\Analyser\NodeScopeResolver $nodeScopeResolver, \Rector\Core\StaticReflection\DynamicSourceLocatorDecorator $dynamicSourceLocatorDecorator) + public function __construct(\RectorPrefix20220520\Symplify\PackageBuilder\Yaml\ParametersMerger $parametersMerger, \Rector\Core\Provider\CurrentFileProvider $currentFileProvider, \Rector\Core\Application\FileProcessor\PhpFileProcessor $phpFileProcessor, \PHPStan\Analyser\NodeScopeResolver $nodeScopeResolver, \Rector\Core\StaticReflection\DynamicSourceLocatorDecorator $dynamicSourceLocatorDecorator) { $this->parametersMerger = $parametersMerger; $this->currentFileProvider = $currentFileProvider; @@ -58,20 +58,20 @@ final class WorkerRunner $this->nodeScopeResolver = $nodeScopeResolver; $this->dynamicSourceLocatorDecorator = $dynamicSourceLocatorDecorator; } - public function run(\RectorPrefix20220519\Clue\React\NDJson\Encoder $encoder, \RectorPrefix20220519\Clue\React\NDJson\Decoder $decoder, \Rector\Core\ValueObject\Configuration $configuration) : void + public function run(\RectorPrefix20220520\Clue\React\NDJson\Encoder $encoder, \RectorPrefix20220520\Clue\React\NDJson\Decoder $decoder, \Rector\Core\ValueObject\Configuration $configuration) : void { $this->dynamicSourceLocatorDecorator->addPaths($configuration->getPaths()); // 1. handle system error $handleErrorCallback = static function (\Throwable $throwable) use($encoder) : void { $systemErrors = new \Rector\Core\ValueObject\Error\SystemError($throwable->getMessage(), $throwable->getFile(), $throwable->getLine()); - $encoder->write([\RectorPrefix20220519\Symplify\EasyParallel\Enum\ReactCommand::ACTION => \RectorPrefix20220519\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([\RectorPrefix20220520\Symplify\EasyParallel\Enum\ReactCommand::ACTION => \RectorPrefix20220520\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(\RectorPrefix20220519\Symplify\EasyParallel\Enum\ReactEvent::ERROR, $handleErrorCallback); + $encoder->on(\RectorPrefix20220520\Symplify\EasyParallel\Enum\ReactEvent::ERROR, $handleErrorCallback); // 2. collect diffs + errors from file processor - $decoder->on(\RectorPrefix20220519\Symplify\EasyParallel\Enum\ReactEvent::DATA, function (array $json) use($encoder, $configuration) : void { - $action = $json[\RectorPrefix20220519\Symplify\EasyParallel\Enum\ReactCommand::ACTION]; - if ($action !== \RectorPrefix20220519\Symplify\EasyParallel\Enum\Action::MAIN) { + $decoder->on(\RectorPrefix20220520\Symplify\EasyParallel\Enum\ReactEvent::DATA, function (array $json) use($encoder, $configuration) : void { + $action = $json[\RectorPrefix20220520\Symplify\EasyParallel\Enum\ReactCommand::ACTION]; + if ($action !== \RectorPrefix20220520\Symplify\EasyParallel\Enum\Action::MAIN) { return; } $systemErrorsCount = 0; @@ -101,8 +101,8 @@ final class WorkerRunner /** * this invokes all listeners listening $decoder->on(...) @see \Symplify\EasyParallel\Enum\ReactEvent::DATA */ - $encoder->write([\RectorPrefix20220519\Symplify\EasyParallel\Enum\ReactCommand::ACTION => \RectorPrefix20220519\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([\RectorPrefix20220520\Symplify\EasyParallel\Enum\ReactCommand::ACTION => \RectorPrefix20220520\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(\RectorPrefix20220519\Symplify\EasyParallel\Enum\ReactEvent::ERROR, $handleErrorCallback); + $decoder->on(\RectorPrefix20220520\Symplify\EasyParallel\Enum\ReactEvent::ERROR, $handleErrorCallback); } } diff --git a/packages/PhpAttribute/AnnotationToAttributeMapper/ArrayAnnotationToAttributeMapper.php b/packages/PhpAttribute/AnnotationToAttributeMapper/ArrayAnnotationToAttributeMapper.php index d584b4fdcea..8815395e6a2 100644 --- a/packages/PhpAttribute/AnnotationToAttributeMapper/ArrayAnnotationToAttributeMapper.php +++ b/packages/PhpAttribute/AnnotationToAttributeMapper/ArrayAnnotationToAttributeMapper.php @@ -9,8 +9,8 @@ use PhpParser\Node\Expr\ArrayItem; use Rector\PhpAttribute\AnnotationToAttributeMapper; use Rector\PhpAttribute\Contract\AnnotationToAttributeMapperInterface; use Rector\PhpAttribute\Enum\DocTagNodeState; -use RectorPrefix20220519\Symfony\Contracts\Service\Attribute\Required; -use RectorPrefix20220519\Webmozart\Assert\Assert; +use RectorPrefix20220520\Symfony\Contracts\Service\Attribute\Required; +use RectorPrefix20220520\Webmozart\Assert\Assert; /** * @implements AnnotationToAttributeMapperInterface */ @@ -47,7 +47,7 @@ final class ArrayAnnotationToAttributeMapper implements \Rector\PhpAttribute\Con if ($valueExpr === \Rector\PhpAttribute\Enum\DocTagNodeState::REMOVE_ARRAY) { continue; } - \RectorPrefix20220519\Webmozart\Assert\Assert::isInstanceOf($valueExpr, \PhpParser\Node\Expr::class); + \RectorPrefix20220520\Webmozart\Assert\Assert::isInstanceOf($valueExpr, \PhpParser\Node\Expr::class); // remove value if ($this->isRemoveArrayPlaceholder($singleValue)) { continue; @@ -55,7 +55,7 @@ final class ArrayAnnotationToAttributeMapper implements \Rector\PhpAttribute\Con $keyExpr = null; if (!\is_int($key)) { $keyExpr = $this->annotationToAttributeMapper->map($key); - \RectorPrefix20220519\Webmozart\Assert\Assert::isInstanceOf($keyExpr, \PhpParser\Node\Expr::class); + \RectorPrefix20220520\Webmozart\Assert\Assert::isInstanceOf($keyExpr, \PhpParser\Node\Expr::class); } $arrayItems[] = new \PhpParser\Node\Expr\ArrayItem($valueExpr, $keyExpr); } diff --git a/packages/PhpAttribute/AnnotationToAttributeMapper/CurlyListNodeAnnotationToAttributeMapper.php b/packages/PhpAttribute/AnnotationToAttributeMapper/CurlyListNodeAnnotationToAttributeMapper.php index bc9e7094b8f..3a35abf3da4 100644 --- a/packages/PhpAttribute/AnnotationToAttributeMapper/CurlyListNodeAnnotationToAttributeMapper.php +++ b/packages/PhpAttribute/AnnotationToAttributeMapper/CurlyListNodeAnnotationToAttributeMapper.php @@ -10,8 +10,8 @@ use Rector\BetterPhpDocParser\ValueObject\PhpDoc\DoctrineAnnotation\CurlyListNod use Rector\PhpAttribute\AnnotationToAttributeMapper; use Rector\PhpAttribute\Contract\AnnotationToAttributeMapperInterface; use Rector\PhpAttribute\Enum\DocTagNodeState; -use RectorPrefix20220519\Symfony\Contracts\Service\Attribute\Required; -use RectorPrefix20220519\Webmozart\Assert\Assert; +use RectorPrefix20220520\Symfony\Contracts\Service\Attribute\Required; +use RectorPrefix20220520\Webmozart\Assert\Assert; /** * @implements AnnotationToAttributeMapperInterface */ @@ -48,11 +48,11 @@ final class CurlyListNodeAnnotationToAttributeMapper implements \Rector\PhpAttri if ($valueExpr === \Rector\PhpAttribute\Enum\DocTagNodeState::REMOVE_ARRAY) { continue; } - \RectorPrefix20220519\Webmozart\Assert\Assert::isInstanceOf($valueExpr, \PhpParser\Node\Expr::class); + \RectorPrefix20220520\Webmozart\Assert\Assert::isInstanceOf($valueExpr, \PhpParser\Node\Expr::class); $keyExpr = null; if (!\is_int($key)) { $keyExpr = $this->annotationToAttributeMapper->map($key); - \RectorPrefix20220519\Webmozart\Assert\Assert::isInstanceOf($keyExpr, \PhpParser\Node\Expr::class); + \RectorPrefix20220520\Webmozart\Assert\Assert::isInstanceOf($keyExpr, \PhpParser\Node\Expr::class); } $arrayItems[] = new \PhpParser\Node\Expr\ArrayItem($valueExpr, $keyExpr); } diff --git a/packages/PhpAttribute/AnnotationToAttributeMapper/DoctrineAnnotationAnnotationToAttributeMapper.php b/packages/PhpAttribute/AnnotationToAttributeMapper/DoctrineAnnotationAnnotationToAttributeMapper.php index 7be3c9a29ab..52fbebb215f 100644 --- a/packages/PhpAttribute/AnnotationToAttributeMapper/DoctrineAnnotationAnnotationToAttributeMapper.php +++ b/packages/PhpAttribute/AnnotationToAttributeMapper/DoctrineAnnotationAnnotationToAttributeMapper.php @@ -15,7 +15,7 @@ use Rector\PhpAttribute\AttributeArrayNameInliner; use Rector\PhpAttribute\Contract\AnnotationToAttributeMapperInterface; use Rector\PhpAttribute\Exception\InvalidNestedAttributeException; use Rector\PhpAttribute\UnwrapableAnnotationAnalyzer; -use RectorPrefix20220519\Symfony\Contracts\Service\Attribute\Required; +use RectorPrefix20220520\Symfony\Contracts\Service\Attribute\Required; /** * @implements AnnotationToAttributeMapperInterface */ diff --git a/packages/PhpAttribute/AttributeArrayNameInliner.php b/packages/PhpAttribute/AttributeArrayNameInliner.php index d109013fb03..a992189dc48 100644 --- a/packages/PhpAttribute/AttributeArrayNameInliner.php +++ b/packages/PhpAttribute/AttributeArrayNameInliner.php @@ -9,7 +9,7 @@ use PhpParser\Node\Expr\ArrayItem; use PhpParser\Node\Identifier; use PhpParser\Node\Scalar\String_; use Rector\Core\Exception\NotImplementedYetException; -use RectorPrefix20220519\Webmozart\Assert\Assert; +use RectorPrefix20220520\Webmozart\Assert\Assert; final class AttributeArrayNameInliner { /** @@ -48,7 +48,7 @@ final class AttributeArrayNameInliner */ private function inlineArray(array $args) : array { - \RectorPrefix20220519\Webmozart\Assert\Assert::allIsAOf($args, \PhpParser\Node\Arg::class); + \RectorPrefix20220520\Webmozart\Assert\Assert::allIsAOf($args, \PhpParser\Node\Arg::class); $newArgs = []; foreach ($args as $arg) { // matching top root array key diff --git a/packages/PhpAttribute/NodeFactory/NamedArgsFactory.php b/packages/PhpAttribute/NodeFactory/NamedArgsFactory.php index 9db973f74b2..e93e054c8dc 100644 --- a/packages/PhpAttribute/NodeFactory/NamedArgsFactory.php +++ b/packages/PhpAttribute/NodeFactory/NamedArgsFactory.php @@ -3,7 +3,7 @@ declare (strict_types=1); namespace Rector\PhpAttribute\NodeFactory; -use RectorPrefix20220519\Nette\Utils\Strings; +use RectorPrefix20220520\Nette\Utils\Strings; use PhpParser\BuilderHelpers; use PhpParser\Node\Arg; use PhpParser\Node\Expr; @@ -68,7 +68,7 @@ final class NamedArgsFactory continue; } $string = $arrayItem->key; - $match = \RectorPrefix20220519\Nette\Utils\Strings::match($string->value, self::CLASS_CONST_REGEX); + $match = \RectorPrefix20220520\Nette\Utils\Strings::match($string->value, self::CLASS_CONST_REGEX); if ($match === null) { continue; } diff --git a/packages/PostRector/Application/PostFileProcessor.php b/packages/PostRector/Application/PostFileProcessor.php index bcd519c7604..280668b73eb 100644 --- a/packages/PostRector/Application/PostFileProcessor.php +++ b/packages/PostRector/Application/PostFileProcessor.php @@ -10,7 +10,7 @@ use Rector\Core\Logging\CurrentRectorProvider; use Rector\Core\Provider\CurrentFileProvider; use Rector\Core\ValueObject\Application\File; use Rector\PostRector\Contract\Rector\PostRectorInterface; -use RectorPrefix20220519\Symplify\Skipper\Skipper\Skipper; +use RectorPrefix20220520\Symplify\Skipper\Skipper\Skipper; final class PostFileProcessor { /** @@ -35,7 +35,7 @@ final class PostFileProcessor /** * @param PostRectorInterface[] $postRectors */ - public function __construct(\RectorPrefix20220519\Symplify\Skipper\Skipper\Skipper $skipper, \Rector\Core\Provider\CurrentFileProvider $currentFileProvider, \Rector\Core\Logging\CurrentRectorProvider $currentRectorProvider, array $postRectors) + public function __construct(\RectorPrefix20220520\Symplify\Skipper\Skipper\Skipper $skipper, \Rector\Core\Provider\CurrentFileProvider $currentFileProvider, \Rector\Core\Logging\CurrentRectorProvider $currentRectorProvider, array $postRectors) { $this->skipper = $skipper; $this->currentFileProvider = $currentFileProvider; diff --git a/packages/PostRector/Rector/NameImportingPostRector.php b/packages/PostRector/Rector/NameImportingPostRector.php index 2e848891a9e..70a1e8e471c 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 RectorPrefix20220519\Symplify\PackageBuilder\Parameter\ParameterProvider; +use RectorPrefix20220520\Symplify\PackageBuilder\Parameter\ParameterProvider; use Symplify\RuleDocGenerator\ValueObject\CodeSample\CodeSample; use Symplify\RuleDocGenerator\ValueObject\RuleDefinition; final class NameImportingPostRector extends \Rector\PostRector\Rector\AbstractPostRector @@ -60,7 +60,7 @@ final class NameImportingPostRector extends \Rector\PostRector\Rector\AbstractPo * @var \Rector\Core\PhpParser\Node\BetterNodeFinder */ private $betterNodeFinder; - public function __construct(\RectorPrefix20220519\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(\RectorPrefix20220520\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 10899f9d8e0..d9db0be600f 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 RectorPrefix20220519\Nette\Utils\Strings; +use RectorPrefix20220520\Nette\Utils\Strings; use PHPStan\Type\ArrayType; use PHPStan\Type\BooleanType; use PHPStan\Type\CallableType; @@ -28,7 +28,7 @@ final class ScalarStringToTypeMapper private const SCALAR_NAME_BY_TYPE = [\PHPStan\Type\StringType::class => ['string'], \PHPStan\Type\ClassStringType::class => ['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', 'never-return', 'never-returns', 'no-return']]; public function mapScalarStringToType(string $scalarName) : \PHPStan\Type\Type { - $loweredScalarName = \RectorPrefix20220519\Nette\Utils\Strings::lower($scalarName); + $loweredScalarName = \RectorPrefix20220520\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 48645566d8f..9559dd98214 100644 --- a/packages/StaticTypeMapper/Naming/NameScopeFactory.php +++ b/packages/StaticTypeMapper/Naming/NameScopeFactory.php @@ -17,7 +17,7 @@ use Rector\Core\PhpParser\Node\BetterNodeFinder; use Rector\Naming\Naming\UseImportsResolver; use Rector\NodeTypeResolver\Node\AttributeKey; use Rector\StaticTypeMapper\StaticTypeMapper; -use RectorPrefix20220519\Symfony\Contracts\Service\Attribute\Required; +use RectorPrefix20220520\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/IdentifierTypeMapper.php b/packages/StaticTypeMapper/PhpDocParser/IdentifierTypeMapper.php index 3d6187b44aa..e7ecf26746a 100644 --- a/packages/StaticTypeMapper/PhpDocParser/IdentifierTypeMapper.php +++ b/packages/StaticTypeMapper/PhpDocParser/IdentifierTypeMapper.php @@ -3,7 +3,7 @@ declare (strict_types=1); namespace Rector\StaticTypeMapper\PhpDocParser; -use RectorPrefix20220519\Nette\Utils\Strings; +use RectorPrefix20220520\Nette\Utils\Strings; use PhpParser\Node; use PhpParser\Node\Stmt\ClassLike; use PHPStan\Analyser\NameScope; @@ -100,7 +100,7 @@ final class IdentifierTypeMapper implements \Rector\StaticTypeMapper\Contract\Ph } if (\strncmp($typeNode->name, '\\', \strlen('\\')) === 0) { $type = $typeNode->name; - $typeWithoutPreslash = \RectorPrefix20220519\Nette\Utils\Strings::substring($type, 1); + $typeWithoutPreslash = \RectorPrefix20220520\Nette\Utils\Strings::substring($type, 1); $objectType = new \Rector\StaticTypeMapper\ValueObject\Type\FullyQualifiedObjectType($typeWithoutPreslash); } else { if ($typeNode->name === 'scalar') { diff --git a/packages/StaticTypeMapper/PhpDocParser/IntersectionTypeMapper.php b/packages/StaticTypeMapper/PhpDocParser/IntersectionTypeMapper.php index 1646d9c26c3..b0b1737d779 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 RectorPrefix20220519\Symfony\Contracts\Service\Attribute\Required; +use RectorPrefix20220520\Symfony\Contracts\Service\Attribute\Required; /** * @implements PhpDocTypeMapperInterface */ diff --git a/packages/StaticTypeMapper/PhpDocParser/UnionTypeMapper.php b/packages/StaticTypeMapper/PhpDocParser/UnionTypeMapper.php index 94a9d546018..43a5876241a 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 RectorPrefix20220519\Symfony\Contracts\Service\Attribute\Required; +use RectorPrefix20220520\Symfony\Contracts\Service\Attribute\Required; /** * @implements PhpDocTypeMapperInterface */ diff --git a/packages/StaticTypeMapper/PhpParser/IntersectionTypeNodeMapper.php b/packages/StaticTypeMapper/PhpParser/IntersectionTypeNodeMapper.php index 8e83820df1c..a9e1179d44a 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 RectorPrefix20220519\Symfony\Contracts\Service\Attribute\Required; +use RectorPrefix20220520\Symfony\Contracts\Service\Attribute\Required; /** * @implements PhpParserNodeMapperInterface */ diff --git a/packages/StaticTypeMapper/PhpParser/NullableTypeNodeMapper.php b/packages/StaticTypeMapper/PhpParser/NullableTypeNodeMapper.php index 53b5c2e155a..1ad5ac1a9ff 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 RectorPrefix20220519\Symfony\Contracts\Service\Attribute\Required; +use RectorPrefix20220520\Symfony\Contracts\Service\Attribute\Required; /** * @implements PhpParserNodeMapperInterface */ diff --git a/packages/StaticTypeMapper/PhpParser/UnionTypeNodeMapper.php b/packages/StaticTypeMapper/PhpParser/UnionTypeNodeMapper.php index 25ef636fb82..c5dacc82064 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 RectorPrefix20220519\Symfony\Contracts\Service\Attribute\Required; +use RectorPrefix20220520\Symfony\Contracts\Service\Attribute\Required; /** * @implements PhpParserNodeMapperInterface */ diff --git a/packages/StaticTypeMapper/ValueObject/Type/FullyQualifiedObjectType.php b/packages/StaticTypeMapper/ValueObject/Type/FullyQualifiedObjectType.php index 2e09d0e5f30..7c7b27e5090 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 RectorPrefix20220519\Nette\Utils\Strings; +use RectorPrefix20220520\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) \RectorPrefix20220519\Nette\Utils\Strings::after($className, '\\', -1); + return (string) \RectorPrefix20220520\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 bf78b115ac8..acfa0c24668 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 RectorPrefix20220519\Psr\Container\ContainerInterface; +use RectorPrefix20220520\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 RectorPrefix20220519\Symplify\EasyTesting\DataProvider\StaticFixtureFinder; -use RectorPrefix20220519\Symplify\EasyTesting\DataProvider\StaticFixtureUpdater; -use RectorPrefix20220519\Symplify\EasyTesting\StaticFixtureSplitter; -use RectorPrefix20220519\Symplify\PackageBuilder\Parameter\ParameterProvider; +use RectorPrefix20220520\Symplify\EasyTesting\DataProvider\StaticFixtureFinder; +use RectorPrefix20220520\Symplify\EasyTesting\DataProvider\StaticFixtureUpdater; +use RectorPrefix20220520\Symplify\EasyTesting\StaticFixtureSplitter; +use RectorPrefix20220520\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(\RectorPrefix20220519\Symplify\PackageBuilder\Parameter\ParameterProvider::class); + $this->parameterProvider = $this->getService(\RectorPrefix20220520\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(); @@ -87,7 +87,7 @@ abstract class AbstractRectorTestCase extends \Rector\Testing\PHPUnit\AbstractTe */ protected function yieldFilesFromDirectory(string $directory, string $suffix = '*.php.inc') : \Iterator { - return \RectorPrefix20220519\Symplify\EasyTesting\DataProvider\StaticFixtureFinder::yieldDirectoryExclusively($directory, $suffix); + return \RectorPrefix20220520\Symplify\EasyTesting\DataProvider\StaticFixtureFinder::yieldDirectoryExclusively($directory, $suffix); } protected function isWindows() : bool { @@ -95,7 +95,7 @@ abstract class AbstractRectorTestCase extends \Rector\Testing\PHPUnit\AbstractTe } protected function doTestFileInfo(\Symplify\SmartFileSystem\SmartFileInfo $fixtureFileInfo, bool $allowMatches = \true) : void { - $inputFileInfoAndExpectedFileInfo = \RectorPrefix20220519\Symplify\EasyTesting\StaticFixtureSplitter::splitFileInfoToLocalInputAndExpectedFileInfos($fixtureFileInfo); + $inputFileInfoAndExpectedFileInfo = \RectorPrefix20220520\Symplify\EasyTesting\StaticFixtureSplitter::splitFileInfoToLocalInputAndExpectedFileInfos($fixtureFileInfo); $inputFileInfo = $inputFileInfoAndExpectedFileInfo->getInputFileInfo(); $this->originalTempFileInfo = $inputFileInfo; $expectedFileInfo = $inputFileInfoAndExpectedFileInfo->getExpectedFileInfo(); @@ -120,7 +120,7 @@ abstract class AbstractRectorTestCase extends \Rector\Testing\PHPUnit\AbstractTe if (!$allowMatches) { throw $expectationFailedException; } - \RectorPrefix20220519\Symplify\EasyTesting\DataProvider\StaticFixtureUpdater::updateFixtureContent($originalFileInfo, $changedContent, $fixtureFileInfo); + \RectorPrefix20220520\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 4fe209cc870..8eeef83cffd 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 RectorPrefix20220519\Psr\Container\ContainerInterface; +use RectorPrefix20220520\Psr\Container\ContainerInterface; use Rector\Core\Exception\ShouldNotHappenException; use Rector\Core\Kernel\RectorKernel; -use RectorPrefix20220519\Webmozart\Assert\Assert; +use RectorPrefix20220520\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 { - \RectorPrefix20220519\Webmozart\Assert\Assert::allFile($configFiles); - \RectorPrefix20220519\Webmozart\Assert\Assert::allString($configFiles); + \RectorPrefix20220520\Webmozart\Assert\Assert::allFile($configFiles); + \RectorPrefix20220520\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 9dd88250535..57ea9f5f935 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 RectorPrefix20220519\Webmozart\Assert\Assert; +use RectorPrefix20220520\Webmozart\Assert\Assert; /** * @property-read RemovedAndAddedFilesCollector $removedAndAddedFilesCollector */ @@ -32,12 +32,12 @@ trait MovingFilesTrait */ protected function assertFilesWereAdded(array $expectedAddedFileWithContents) : void { - \RectorPrefix20220519\Webmozart\Assert\Assert::allIsAOf($expectedAddedFileWithContents, \Rector\FileSystemRector\ValueObject\AddedFileWithContent::class); + \RectorPrefix20220520\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 - \RectorPrefix20220519\Webmozart\Assert\Assert::notEmpty($addedFilePathsWithContents); + \RectorPrefix20220520\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 28331106e5e..d6925a872ef 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 RectorPrefix20220519\Nette\Utils\FileSystem; +use RectorPrefix20220520\Nette\Utils\FileSystem; use Rector\Core\Exception\ShouldNotHappenException; use Symplify\SmartFileSystem\SmartFileInfo; trait MultipleFilesChangedTrait @@ -24,12 +24,12 @@ trait MultipleFilesChangedTrait if ($trimmedExpectedContent !== '') { $fixtureContent .= $separator . $expectedContent; } - \RectorPrefix20220519\Nette\Utils\FileSystem::write($fixturePath, $fixtureContent); + \RectorPrefix20220520\Nette\Utils\FileSystem::write($fixturePath, $fixtureContent); $newFileInfo = new \Symplify\SmartFileSystem\SmartFileInfo($fixturePath); $this->doTestFileInfo($newFileInfo, $allowMatches); $this->checkAdditionalChanges($expectedFileChanges); if (\file_exists($fixturePath)) { - \RectorPrefix20220519\Nette\Utils\FileSystem::delete($fixturePath); + \RectorPrefix20220520\Nette\Utils\FileSystem::delete($fixturePath); } } /** @@ -48,7 +48,7 @@ trait MultipleFilesChangedTrait $input = isset($additionalFileChange[1]) ? \trim($additionalFileChange[1]) : null; if ($input) { $this->createFixtureDir($fullPath); - \RectorPrefix20220519\Nette\Utils\FileSystem::write($fullPath, $input); + \RectorPrefix20220520\Nette\Utils\FileSystem::write($fullPath, $input); } $expectedFileChanges[$fullPath] = isset($additionalFileChange[2]) ? \trim($additionalFileChange[2]) : ''; } @@ -73,7 +73,7 @@ trait MultipleFilesChangedTrait $realFileContent = $addedFile ? \trim($addedFile->getFileContent()) : null; $this->assertSame($expectedFileChange, $realFileContent); if (\file_exists($path)) { - \RectorPrefix20220519\Nette\Utils\FileSystem::delete($path); + \RectorPrefix20220520\Nette\Utils\FileSystem::delete($path); } } } diff --git a/packages/Testing/TestingParser/TestingParser.php b/packages/Testing/TestingParser/TestingParser.php index 0d9b7a51cb7..f538f022237 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 RectorPrefix20220519\Symplify\PackageBuilder\Parameter\ParameterProvider; +use RectorPrefix20220520\Symplify\PackageBuilder\Parameter\ParameterProvider; use Symplify\SmartFileSystem\SmartFileInfo; /** * @api @@ -30,7 +30,7 @@ final class TestingParser * @var \Rector\NodeTypeResolver\NodeScopeAndMetadataDecorator */ private $nodeScopeAndMetadataDecorator; - public function __construct(\RectorPrefix20220519\Symplify\PackageBuilder\Parameter\ParameterProvider $parameterProvider, \Rector\Core\PhpParser\Parser\RectorParser $rectorParser, \Rector\NodeTypeResolver\NodeScopeAndMetadataDecorator $nodeScopeAndMetadataDecorator) + public function __construct(\RectorPrefix20220520\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 a2ae28d6246..c08459316fb 100644 --- a/packages/VendorLocker/NodeVendorLocker/ClassMethodParamVendorLockResolver.php +++ b/packages/VendorLocker/NodeVendorLocker/ClassMethodParamVendorLockResolver.php @@ -8,7 +8,7 @@ use PHPStan\Reflection\ClassReflection; use Rector\Core\Reflection\ReflectionResolver; use Rector\FamilyTree\Reflection\FamilyRelationsAnalyzer; use Rector\NodeNameResolver\NodeNameResolver; -use RectorPrefix20220519\Symplify\SmartFileSystem\Normalizer\PathNormalizer; +use RectorPrefix20220520\Symplify\SmartFileSystem\Normalizer\PathNormalizer; final class ClassMethodParamVendorLockResolver { /** @@ -31,7 +31,7 @@ final class ClassMethodParamVendorLockResolver * @var \Rector\Core\Reflection\ReflectionResolver */ private $reflectionResolver; - public function __construct(\Rector\NodeNameResolver\NodeNameResolver $nodeNameResolver, \RectorPrefix20220519\Symplify\SmartFileSystem\Normalizer\PathNormalizer $pathNormalizer, \Rector\FamilyTree\Reflection\FamilyRelationsAnalyzer $familyRelationsAnalyzer, \Rector\Core\Reflection\ReflectionResolver $reflectionResolver) + public function __construct(\Rector\NodeNameResolver\NodeNameResolver $nodeNameResolver, \RectorPrefix20220520\Symplify\SmartFileSystem\Normalizer\PathNormalizer $pathNormalizer, \Rector\FamilyTree\Reflection\FamilyRelationsAnalyzer $familyRelationsAnalyzer, \Rector\Core\Reflection\ReflectionResolver $reflectionResolver) { $this->nodeNameResolver = $nodeNameResolver; $this->pathNormalizer = $pathNormalizer; diff --git a/packages/VendorLocker/ParentClassMethodTypeOverrideGuard.php b/packages/VendorLocker/ParentClassMethodTypeOverrideGuard.php index d848ec44391..2ee17898a74 100644 --- a/packages/VendorLocker/ParentClassMethodTypeOverrideGuard.php +++ b/packages/VendorLocker/ParentClassMethodTypeOverrideGuard.php @@ -15,7 +15,7 @@ use Rector\Core\Reflection\ReflectionResolver; use Rector\Core\ValueObject\MethodName; use Rector\NodeNameResolver\NodeNameResolver; use Rector\TypeDeclaration\TypeInferer\ParamTypeInferer; -use RectorPrefix20220519\Symplify\SmartFileSystem\Normalizer\PathNormalizer; +use RectorPrefix20220520\Symplify\SmartFileSystem\Normalizer\PathNormalizer; final class ParentClassMethodTypeOverrideGuard { /** @@ -43,7 +43,7 @@ final class ParentClassMethodTypeOverrideGuard * @var \Rector\Core\Reflection\ReflectionResolver */ private $reflectionResolver; - public function __construct(\Rector\NodeNameResolver\NodeNameResolver $nodeNameResolver, \RectorPrefix20220519\Symplify\SmartFileSystem\Normalizer\PathNormalizer $pathNormalizer, \Rector\Core\PhpParser\AstResolver $astResolver, \Rector\TypeDeclaration\TypeInferer\ParamTypeInferer $paramTypeInferer, \Rector\Core\Reflection\ReflectionResolver $reflectionResolver) + public function __construct(\Rector\NodeNameResolver\NodeNameResolver $nodeNameResolver, \RectorPrefix20220520\Symplify\SmartFileSystem\Normalizer\PathNormalizer $pathNormalizer, \Rector\Core\PhpParser\AstResolver $astResolver, \Rector\TypeDeclaration\TypeInferer\ParamTypeInferer $paramTypeInferer, \Rector\Core\Reflection\ReflectionResolver $reflectionResolver) { $this->nodeNameResolver = $nodeNameResolver; $this->pathNormalizer = $pathNormalizer; diff --git a/rules/Arguments/Rector/ClassMethod/ArgumentAdderRector.php b/rules/Arguments/Rector/ClassMethod/ArgumentAdderRector.php index 6004f69fd58..c2be92328f9 100644 --- a/rules/Arguments/Rector/ClassMethod/ArgumentAdderRector.php +++ b/rules/Arguments/Rector/ClassMethod/ArgumentAdderRector.php @@ -29,7 +29,7 @@ use Rector\Core\Rector\AbstractRector; use Rector\PHPStanStaticTypeMapper\Enum\TypeKind; use Symplify\RuleDocGenerator\ValueObject\CodeSample\ConfiguredCodeSample; use Symplify\RuleDocGenerator\ValueObject\RuleDefinition; -use RectorPrefix20220519\Webmozart\Assert\Assert; +use RectorPrefix20220520\Webmozart\Assert\Assert; /** * @see \Rector\Tests\Arguments\Rector\ClassMethod\ArgumentAdderRector\ArgumentAdderRectorTest */ @@ -129,7 +129,7 @@ CODE_SAMPLE */ public function configure(array $configuration) : void { - \RectorPrefix20220519\Webmozart\Assert\Assert::allIsAOf($configuration, \Rector\Arguments\ValueObject\ArgumentAdder::class); + \RectorPrefix20220520\Webmozart\Assert\Assert::allIsAOf($configuration, \Rector\Arguments\ValueObject\ArgumentAdder::class); $this->addedArguments = $configuration; } /** diff --git a/rules/Arguments/Rector/ClassMethod/ReplaceArgumentDefaultValueRector.php b/rules/Arguments/Rector/ClassMethod/ReplaceArgumentDefaultValueRector.php index afb66835959..23ca7a31762 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 RectorPrefix20220519\Webmozart\Assert\Assert; +use RectorPrefix20220520\Webmozart\Assert\Assert; /** * @see \Rector\Tests\Arguments\Rector\ClassMethod\ReplaceArgumentDefaultValueRector\ReplaceArgumentDefaultValueRectorTest */ @@ -80,7 +80,7 @@ CODE_SAMPLE */ public function configure(array $configuration) : void { - \RectorPrefix20220519\Webmozart\Assert\Assert::allIsAOf($configuration, \Rector\Arguments\ValueObject\ReplaceArgumentDefaultValue::class); + \RectorPrefix20220520\Webmozart\Assert\Assert::allIsAOf($configuration, \Rector\Arguments\ValueObject\ReplaceArgumentDefaultValue::class); $this->replacedArguments = $configuration; } } diff --git a/rules/Arguments/Rector/FuncCall/FunctionArgumentDefaultValueReplacerRector.php b/rules/Arguments/Rector/FuncCall/FunctionArgumentDefaultValueReplacerRector.php index 8d437327b51..26c3655f6eb 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 RectorPrefix20220519\Webmozart\Assert\Assert; +use RectorPrefix20220520\Webmozart\Assert\Assert; /** * @changelog https://php.watch/versions/8.1/version_compare-operator-restrictions * @changelog https://github.com/rectorphp/rector/issues/6271 @@ -76,7 +76,7 @@ CODE_SAMPLE */ public function configure(array $configuration) : void { - \RectorPrefix20220519\Webmozart\Assert\Assert::allIsAOf($configuration, \Rector\Arguments\ValueObject\ReplaceFuncCallArgumentDefaultValue::class); + \RectorPrefix20220520\Webmozart\Assert\Assert::allIsAOf($configuration, \Rector\Arguments\ValueObject\ReplaceFuncCallArgumentDefaultValue::class); $this->replacedArguments = $configuration; } } diff --git a/rules/Arguments/Rector/FuncCall/SwapFuncCallArgumentsRector.php b/rules/Arguments/Rector/FuncCall/SwapFuncCallArgumentsRector.php index e1f1eefd005..68a9a9b3881 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 RectorPrefix20220519\Webmozart\Assert\Assert; +use RectorPrefix20220520\Webmozart\Assert\Assert; /** * @see \Rector\Tests\Arguments\Rector\FuncCall\SwapFuncCallArgumentsRector\SwapFuncCallArgumentsRectorTest */ @@ -84,7 +84,7 @@ CODE_SAMPLE */ public function configure(array $configuration) : void { - \RectorPrefix20220519\Webmozart\Assert\Assert::allIsAOf($configuration, \Rector\Arguments\ValueObject\SwapFuncCallArguments::class); + \RectorPrefix20220520\Webmozart\Assert\Assert::allIsAOf($configuration, \Rector\Arguments\ValueObject\SwapFuncCallArguments::class); $this->functionArgumentSwaps = $configuration; } /** diff --git a/rules/Arguments/Rector/MethodCall/RemoveMethodCallParamRector.php b/rules/Arguments/Rector/MethodCall/RemoveMethodCallParamRector.php index d6293e4fd0d..d75e7901c3c 100644 --- a/rules/Arguments/Rector/MethodCall/RemoveMethodCallParamRector.php +++ b/rules/Arguments/Rector/MethodCall/RemoveMethodCallParamRector.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 RectorPrefix20220519\Webmozart\Assert\Assert; +use RectorPrefix20220520\Webmozart\Assert\Assert; /** * @see \Rector\Tests\Arguments\Rector\MethodCall\RemoveMethodCallParamRector\RemoveMethodCallParamRectorTest */ @@ -80,7 +80,7 @@ CODE_SAMPLE */ public function configure(array $configuration) : void { - \RectorPrefix20220519\Webmozart\Assert\Assert::allIsInstanceOf($configuration, \Rector\Arguments\ValueObject\RemoveMethodCallParam::class); + \RectorPrefix20220520\Webmozart\Assert\Assert::allIsInstanceOf($configuration, \Rector\Arguments\ValueObject\RemoveMethodCallParam::class); $this->removeMethodCallParams = $configuration; } /** diff --git a/rules/CodeQuality/NodeAnalyzer/ForeachAnalyzer.php b/rules/CodeQuality/NodeAnalyzer/ForeachAnalyzer.php index bbe7f2ee36d..1ec38f5dc9c 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 RectorPrefix20220519\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser; +use RectorPrefix20220520\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser; final class ForeachAnalyzer { /** @@ -42,7 +42,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, \RectorPrefix20220519\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, \RectorPrefix20220520\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 d9afa3efcfa..e8471d1b4f2 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 RectorPrefix20220519\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser; +use RectorPrefix20220520\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser; final class LocalPropertyAnalyzer { /** @@ -72,7 +72,7 @@ final class LocalPropertyAnalyzer * @var \Rector\NodeTypeResolver\PHPStan\Type\TypeFactory */ private $typeFactory; - public function __construct(\RectorPrefix20220519\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(\RectorPrefix20220520\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 961aae22969..3dd0225deee 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 RectorPrefix20220519\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser; +use RectorPrefix20220520\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser; final class ClassMethodParameterTypeManipulator { /** @@ -58,7 +58,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, \RectorPrefix20220519\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, \RectorPrefix20220520\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 e1364fcd343..d7a41af56f7 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 RectorPrefix20220519\Nette\Utils\Strings; +use RectorPrefix20220520\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 (\RectorPrefix20220519\Nette\Utils\Strings::length($resultString->value) >= self::LINE_BREAK_POINT) { + if (\RectorPrefix20220520\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 f4b2c1c564c..b788ee25021 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 RectorPrefix20220519\Doctrine\Inflector\Inflector; +use RectorPrefix20220520\Doctrine\Inflector\Inflector; use PhpParser\Node; use PhpParser\Node\Arg; use PhpParser\Node\Expr; @@ -64,7 +64,7 @@ final class ForToForeachRector extends \Rector\Core\Rector\AbstractRector * @var \Rector\CodeQuality\NodeAnalyzer\ForeachAnalyzer */ private $foreachAnalyzer; - public function __construct(\RectorPrefix20220519\Doctrine\Inflector\Inflector $inflector, \Rector\CodeQuality\NodeAnalyzer\ForAnalyzer $forAnalyzer, \Rector\CodeQuality\NodeFactory\ForeachFactory $foreachFactory, \Rector\CodeQuality\NodeAnalyzer\ForeachAnalyzer $foreachAnalyzer) + public function __construct(\RectorPrefix20220520\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 73568d8b336..761be82efeb 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 RectorPrefix20220519\Nette\Utils\Strings; +use RectorPrefix20220520\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 = \RectorPrefix20220519\Nette\Utils\Strings::substring($leftMostConcatNode->value, 0, 1); + $possibleLeftDelimiter = \RectorPrefix20220520\Nette\Utils\Strings::substring($leftMostConcatNode->value, 0, 1); if (!$rightMostConcatNode instanceof \PhpParser\Node\Scalar\String_) { return null; } - $possibleRightDelimiter = \RectorPrefix20220519\Nette\Utils\Strings::substring(\rtrim($rightMostConcatNode->value, self::ALL_MODIFIERS), -1, 1); + $possibleRightDelimiter = \RectorPrefix20220520\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 9cf34f51e49..f1e87524c12 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 RectorPrefix20220519\Nette\Utils\Strings; +use RectorPrefix20220520\Nette\Utils\Strings; use PhpParser\Node; use PhpParser\Node\Expr\FuncCall; use PhpParser\Node\Expr\StaticCall; @@ -73,7 +73,7 @@ CODE_SAMPLE foreach ($patterns as $pattern) { foreach (self::COMPLEX_PATTERN_TO_SIMPLE as $complexPattern => $simple) { $originalValue = $pattern->value; - $simplifiedValue = \RectorPrefix20220519\Nette\Utils\Strings::replace($pattern->value, '#' . \preg_quote($complexPattern, '#') . '#', $simple); + $simplifiedValue = \RectorPrefix20220520\Nette\Utils\Strings::replace($pattern->value, '#' . \preg_quote($complexPattern, '#') . '#', $simple); if ($originalValue === $simplifiedValue) { continue; } diff --git a/rules/CodeQuality/Rector/If_/SimplifyIfElseToTernaryRector.php b/rules/CodeQuality/Rector/If_/SimplifyIfElseToTernaryRector.php index 239f79c0ce7..99ab81a4111 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 RectorPrefix20220519\Nette\Utils\Strings; +use RectorPrefix20220520\Nette\Utils\Strings; use PhpParser\Node; use PhpParser\Node\Expr; use PhpParser\Node\Expr\Assign; @@ -183,6 +183,6 @@ CODE_SAMPLE private function isNodeTooLong(\PhpParser\Node\Expr\Assign $assign) : bool { $assignContent = $this->nodePrinter->print($assign); - return \RectorPrefix20220519\Nette\Utils\Strings::length($assignContent) > self::LINE_LENGTH_LIMIT; + return \RectorPrefix20220520\Nette\Utils\Strings::length($assignContent) > self::LINE_LENGTH_LIMIT; } } diff --git a/rules/CodeQuality/Rector/Include_/AbsolutizeRequireAndIncludePathRector.php b/rules/CodeQuality/Rector/Include_/AbsolutizeRequireAndIncludePathRector.php index 6f501c9d7a1..4d89ab09ac7 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 RectorPrefix20220519\Nette\Utils\Strings; +use RectorPrefix20220520\Nette\Utils\Strings; use PhpParser\Node; use PhpParser\Node\Expr\BinaryOp\Concat; use PhpParser\Node\Expr\Include_; @@ -82,7 +82,7 @@ CODE_SAMPLE } // add preslash to string if (\strncmp($includeValue, './', \strlen('./')) === 0) { - $node->expr->value = \RectorPrefix20220519\Nette\Utils\Strings::substring($includeValue, 1); + $node->expr->value = \RectorPrefix20220520\Nette\Utils\Strings::substring($includeValue, 1); } else { $node->expr->value = '/' . $includeValue; } @@ -107,7 +107,7 @@ CODE_SAMPLE if (\strncmp($string->value, './', \strlen('./')) !== 0) { return; } - $string->value = \RectorPrefix20220519\Nette\Utils\Strings::replace($string->value, '#^\\.\\/#', '/'); + $string->value = \RectorPrefix20220520\Nette\Utils\Strings::replace($string->value, '#^\\.\\/#', '/'); } private function prependSlashIfMissing(\PhpParser\Node\Scalar\String_ $string) : void { diff --git a/rules/CodingStyle/Application/UseImportsAdder.php b/rules/CodingStyle/Application/UseImportsAdder.php index 88ff531b0fb..ccbe570ecac 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 RectorPrefix20220519\Nette\Utils\Strings; +use RectorPrefix20220520\Nette\Utils\Strings; use PhpParser\Node\Stmt; use PhpParser\Node\Stmt\Declare_; use PhpParser\Node\Stmt\Namespace_; @@ -135,7 +135,7 @@ final class UseImportsAdder } private function isCurrentNamespace(string $namespaceName, \PHPStan\Type\ObjectType $objectType) : bool { - $afterCurrentNamespace = \RectorPrefix20220519\Nette\Utils\Strings::after($objectType->getClassName(), $namespaceName . '\\'); + $afterCurrentNamespace = \RectorPrefix20220520\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 7b84cb85c7b..7880f53cc4b 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 RectorPrefix20220519\Nette\Utils\Reflection; +use RectorPrefix20220520\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 RectorPrefix20220519\Symfony\Contracts\Service\Attribute\Required; -use RectorPrefix20220519\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser; -use RectorPrefix20220519\Symplify\Astral\PhpDocParser\PhpDocNodeTraverser; +use RectorPrefix20220520\Symfony\Contracts\Service\Attribute\Required; +use RectorPrefix20220520\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser; +use RectorPrefix20220520\Symplify\Astral\PhpDocParser\PhpDocNodeTraverser; /** * @see \Rector\Tests\CodingStyle\ClassNameImport\ShortNameResolver\ShortNameResolverTest */ @@ -68,7 +68,7 @@ final class ShortNameResolver * @var \Rector\CodingStyle\NodeAnalyzer\UseImportNameMatcher */ private $useImportNameMatcher; - public function __construct(\RectorPrefix20220519\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(\RectorPrefix20220520\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; @@ -167,7 +167,7 @@ final class ShortNameResolver if (!$phpDocInfo instanceof \Rector\BetterPhpDocParser\PhpDocInfo\PhpDocInfo) { return null; } - $phpDocNodeTraverser = new \RectorPrefix20220519\Symplify\Astral\PhpDocParser\PhpDocNodeTraverser(); + $phpDocNodeTraverser = new \RectorPrefix20220520\Symplify\Astral\PhpDocParser\PhpDocNodeTraverser(); $phpDocNodeTraverser->traverseWithCallable($phpDocInfo->getPhpDocNode(), '', function ($node) use(&$shortNames) { if ($node instanceof \PHPStan\PhpDocParser\Ast\PhpDoc\PhpDocTagNode) { $shortName = \trim($node->name, '@'); @@ -212,7 +212,7 @@ final class ShortNameResolver foreach ($shortNames as $shortName) { $stmtsMatchedName = $this->useImportNameMatcher->matchNameWithStmts($shortName, $stmts); if ($reflectionClass instanceof \ReflectionClass) { - $fullyQualifiedName = \RectorPrefix20220519\Nette\Utils\Reflection::expandClassName($shortName, $reflectionClass); + $fullyQualifiedName = \RectorPrefix20220520\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 d2ab1115f75..26fce01a16e 100644 --- a/rules/CodingStyle/ClassNameImport/UseImportsTraverser.php +++ b/rules/CodingStyle/ClassNameImport/UseImportsTraverser.php @@ -9,7 +9,7 @@ use PhpParser\Node\Stmt\GroupUse; use PhpParser\Node\Stmt\Use_; use PhpParser\Node\Stmt\UseUse; use Rector\NodeNameResolver\NodeNameResolver; -use RectorPrefix20220519\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser; +use RectorPrefix20220520\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser; final class UseImportsTraverser { /** @@ -22,7 +22,7 @@ final class UseImportsTraverser * @var \Rector\NodeNameResolver\NodeNameResolver */ private $nodeNameResolver; - public function __construct(\RectorPrefix20220519\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser $simpleCallableNodeTraverser, \Rector\NodeNameResolver\NodeNameResolver $nodeNameResolver) + public function __construct(\RectorPrefix20220520\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 cbe2f321229..49c24877c01 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 RectorPrefix20220519\MyCLabs\Enum\Enum; +use RectorPrefix20220520\MyCLabs\Enum\Enum; /** * @method static PreferenceSelfThis PREFER_THIS() * @method static PreferenceSelfThis PREFER_SELF() */ -final class PreferenceSelfThis extends \RectorPrefix20220519\MyCLabs\Enum\Enum +final class PreferenceSelfThis extends \RectorPrefix20220520\MyCLabs\Enum\Enum { /** * @api diff --git a/rules/CodingStyle/Naming/ClassNaming.php b/rules/CodingStyle/Naming/ClassNaming.php index 36cc1fc4056..7e4a4d091b1 100644 --- a/rules/CodingStyle/Naming/ClassNaming.php +++ b/rules/CodingStyle/Naming/ClassNaming.php @@ -3,7 +3,7 @@ declare (strict_types=1); namespace Rector\CodingStyle\Naming; -use RectorPrefix20220519\Nette\Utils\Strings; +use RectorPrefix20220520\Nette\Utils\Strings; use PhpParser\Node\Identifier; use PhpParser\Node\Name; use PhpParser\Node\Stmt\ClassLike; @@ -32,7 +32,7 @@ final class ClassNaming $name = $name->toString(); } $name = \trim($name, '\\'); - $shortName = \RectorPrefix20220519\Nette\Utils\Strings::after($name, '\\', -1); + $shortName = \RectorPrefix20220520\Nette\Utils\Strings::after($name, '\\', -1); if (\is_string($shortName)) { return $shortName; } @@ -41,6 +41,6 @@ final class ClassNaming public function getNamespace(string $fullyQualifiedName) : ?string { $fullyQualifiedName = \trim($fullyQualifiedName, '\\'); - return \RectorPrefix20220519\Nette\Utils\Strings::before($fullyQualifiedName, '\\', -1); + return \RectorPrefix20220520\Nette\Utils\Strings::before($fullyQualifiedName, '\\', -1); } } diff --git a/rules/CodingStyle/Node/NameImporter.php b/rules/CodingStyle/Node/NameImporter.php index c22308b20fa..9a257ae3713 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 RectorPrefix20220519\Symplify\PackageBuilder\Parameter\ParameterProvider; +use RectorPrefix20220520\Symplify\PackageBuilder\Parameter\ParameterProvider; final class NameImporter { /** @@ -56,7 +56,7 @@ final class NameImporter * @var \PHPStan\Reflection\ReflectionProvider */ private $reflectionProvider; - public function __construct(\Rector\CodingStyle\ClassNameImport\AliasUsesResolver $aliasUsesResolver, \Rector\CodingStyle\ClassNameImport\ClassNameImportSkipper $classNameImportSkipper, \RectorPrefix20220519\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, \RectorPrefix20220520\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 928a6c97244..59c39389f94 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 RectorPrefix20220519\Nette\Utils\Strings; +use RectorPrefix20220520\Nette\Utils\Strings; use PhpParser\Node\Stmt; use PhpParser\Node\Stmt\Use_; use PhpParser\Node\Stmt\UseUse; @@ -56,7 +56,7 @@ final class UseImportNameMatcher if ($useUse->alias === null) { return $useUse->name->toString(); } - $unaliasedShortClass = \RectorPrefix20220519\Nette\Utils\Strings::substring($tag, \RectorPrefix20220519\Nette\Utils\Strings::length($useUse->alias->toString())); + $unaliasedShortClass = \RectorPrefix20220520\Nette\Utils\Strings::substring($tag, \RectorPrefix20220520\Nette\Utils\Strings::length($useUse->alias->toString())); if (\strncmp($unaliasedShortClass, '\\', \strlen('\\')) === 0) { return $useUse->name . $unaliasedShortClass; } diff --git a/rules/CodingStyle/Rector/Assign/PHPStormVarAnnotationRector.php b/rules/CodingStyle/Rector/Assign/PHPStormVarAnnotationRector.php index ba78fc53bfc..a41bcad6b5a 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 RectorPrefix20220519\Nette\Utils\Strings; +use RectorPrefix20220520\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 = \RectorPrefix20220519\Nette\Utils\Strings::replace($docContent, self::SINGLE_ASTERISK_COMMENT_START_REGEX, '/** '); + $docContent = \RectorPrefix20220520\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 = \RectorPrefix20220519\Nette\Utils\Strings::replace($docContent, self::VARIABLE_NAME_AND_TYPE_MATCH_REGEX, '$3$2$1'); + $docContent = \RectorPrefix20220520\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 fafe19cc472..e2c473d24fa 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 RectorPrefix20220519\Nette\Utils\Strings; +use RectorPrefix20220520\Nette\Utils\Strings; use PhpParser\Node; use PhpParser\Node\Expr\Assign; use PhpParser\Node\Expr\Variable; @@ -100,7 +100,7 @@ CODE_SAMPLE if (\is_string($aliasName)) { $typeShortName = $aliasName; } - $newVariableName = \RectorPrefix20220519\Nette\Utils\Strings::replace(\lcfirst($typeShortName), self::STARTS_WITH_ABBREVIATION_REGEX, function (array $matches) : string { + $newVariableName = \RectorPrefix20220520\Nette\Utils\Strings::replace(\lcfirst($typeShortName), self::STARTS_WITH_ABBREVIATION_REGEX, function (array $matches) : string { $output = ''; $output .= isset($matches[1]) ? \strtolower((string) $matches[1]) : ''; $output .= $matches[2] ?? ''; diff --git a/rules/CodingStyle/Rector/ClassMethod/OrderAttributesRector.php b/rules/CodingStyle/Rector/ClassMethod/OrderAttributesRector.php index f4b89fbbe46..b5342bbc195 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 RectorPrefix20220519\Webmozart\Assert\Assert; +use RectorPrefix20220520\Webmozart\Assert\Assert; /** * @see \Rector\Tests\CodingStyle\Rector\ClassMethod\OrderAttributesRector\SpecificOrder\OrderAttributesRectorTest */ @@ -94,8 +94,8 @@ CODE_SAMPLE */ public function configure(array $configuration = [self::ALPHABETICALLY]) : void { - \RectorPrefix20220519\Webmozart\Assert\Assert::allString($configuration); - \RectorPrefix20220519\Webmozart\Assert\Assert::minCount($configuration, 1); + \RectorPrefix20220520\Webmozart\Assert\Assert::allString($configuration); + \RectorPrefix20220520\Webmozart\Assert\Assert::minCount($configuration, 1); $this->configuration = $this->isAlphabetically($configuration) ? $configuration : \array_flip($configuration); } /** diff --git a/rules/CodingStyle/Rector/ClassMethod/RemoveDoubleUnderscoreInMethodNameRector.php b/rules/CodingStyle/Rector/ClassMethod/RemoveDoubleUnderscoreInMethodNameRector.php index cb82a1b28b2..f5c52f452a7 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 RectorPrefix20220519\Nette\Utils\Strings; +use RectorPrefix20220520\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 = \RectorPrefix20220519\Nette\Utils\Strings::substring($methodName, 2); + $newName = \RectorPrefix20220520\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 817d86c6265..3ef79d50b77 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 RectorPrefix20220519\Webmozart\Assert\Assert; +use RectorPrefix20220520\Webmozart\Assert\Assert; /** * @changelog https://medium.com/tech-tajawal/use-memory-gently-with-yield-in-php-7e62e2480b8d * @changelog https://3v4l.org/5PJid @@ -110,7 +110,7 @@ CODE_SAMPLE */ public function configure(array $configuration) : void { - \RectorPrefix20220519\Webmozart\Assert\Assert::allIsAOf($configuration, \Rector\CodingStyle\ValueObject\ReturnArrayClassMethodToYield::class); + \RectorPrefix20220520\Webmozart\Assert\Assert::allIsAOf($configuration, \Rector\CodingStyle\ValueObject\ReturnArrayClassMethodToYield::class); $this->methodsToYields = $configuration; } 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 e0cd6b6e90b..5b6c20639ff 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 RectorPrefix20220519\Nette\Utils\Strings; +use RectorPrefix20220520\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 .= \RectorPrefix20220519\Nette\Utils\Strings::replace($stringValue, '#%#', '%%'); + $this->sprintfFormat .= \RectorPrefix20220520\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 330a6721500..5ce04b2c4a1 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 RectorPrefix20220519\Nette\Utils\Strings; +use RectorPrefix20220520\Nette\Utils\Strings; use PhpParser\Node; use PhpParser\Node\Arg; use PhpParser\Node\Expr\FuncCall; @@ -148,8 +148,8 @@ CODE_SAMPLE } private function hasNewLineWithUnicodeModifier(string $string) : bool { - $matchInnerRegex = \RectorPrefix20220519\Nette\Utils\Strings::match($string, self::INNER_REGEX); - $matchInnerUnionRegex = \RectorPrefix20220519\Nette\Utils\Strings::match($string, self::INNER_UNICODE_REGEX); + $matchInnerRegex = \RectorPrefix20220520\Nette\Utils\Strings::match($string, self::INNER_REGEX); + $matchInnerUnionRegex = \RectorPrefix20220520\Nette\Utils\Strings::match($string, self::INNER_UNICODE_REGEX); if (!\is_array($matchInnerRegex)) { return \false; } @@ -186,7 +186,7 @@ CODE_SAMPLE if ($this->hasNewLineWithUnicodeModifier($string->value)) { return null; } - $string->value = \RectorPrefix20220519\Nette\Utils\Strings::replace($string->value, self::INNER_REGEX, function (array $match) use(&$string) : string { + $string->value = \RectorPrefix20220520\Nette\Utils\Strings::replace($string->value, self::INNER_REGEX, function (array $match) use(&$string) : string { $printedString = $this->nodePrinter->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/MethodCall/PreferThisOrSelfMethodCallRector.php b/rules/CodingStyle/Rector/MethodCall/PreferThisOrSelfMethodCallRector.php index 0ba8c55a992..f0de60852e7 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 RectorPrefix20220519\Webmozart\Assert\Assert; +use RectorPrefix20220520\Webmozart\Assert\Assert; /** * @see \Rector\Tests\CodingStyle\Rector\MethodCall\PreferThisOrSelfMethodCallRector\PreferThisOrSelfMethodCallRectorTest */ @@ -93,8 +93,8 @@ CODE_SAMPLE */ public function configure(array $configuration) : void { - \RectorPrefix20220519\Webmozart\Assert\Assert::allString(\array_keys($configuration)); - \RectorPrefix20220519\Webmozart\Assert\Assert::allIsAOf($configuration, \Rector\CodingStyle\Enum\PreferenceSelfThis::class); + \RectorPrefix20220520\Webmozart\Assert\Assert::allString(\array_keys($configuration)); + \RectorPrefix20220520\Webmozart\Assert\Assert::allIsAOf($configuration, \Rector\CodingStyle\Enum\PreferenceSelfThis::class); $this->typeToPreference = $configuration; } /** diff --git a/rules/CodingStyle/Rector/Property/InlineSimplePropertyAnnotationRector.php b/rules/CodingStyle/Rector/Property/InlineSimplePropertyAnnotationRector.php index 27aef2bd36d..3ddb7db5a81 100644 --- a/rules/CodingStyle/Rector/Property/InlineSimplePropertyAnnotationRector.php +++ b/rules/CodingStyle/Rector/Property/InlineSimplePropertyAnnotationRector.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 RectorPrefix20220519\Webmozart\Assert\Assert; +use RectorPrefix20220520\Webmozart\Assert\Assert; /** * @see \Rector\Tests\CodingStyle\Rector\Property\InlineSimplePropertyAnnotationRector\InlineSimplePropertyAnnotationRectorTest * @@ -68,7 +68,7 @@ CODE_SAMPLE */ public function configure(array $configuration) : void { - \RectorPrefix20220519\Webmozart\Assert\Assert::allString($configuration); + \RectorPrefix20220520\Webmozart\Assert\Assert::allString($configuration); $this->annotationsToConsiderForInlining = \array_map(function (string $annotation) : string { return '@' . \ltrim($annotation, '@'); }, $configuration); diff --git a/rules/CodingStyle/Rector/String_/UseClassKeywordForClassNameResolutionRector.php b/rules/CodingStyle/Rector/String_/UseClassKeywordForClassNameResolutionRector.php index 848398f3b8a..48e8a19a6b8 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 RectorPrefix20220519\Nette\Utils\Strings; +use RectorPrefix20220520\Nette\Utils\Strings; use PhpParser\Node; use PhpParser\Node\Expr\ClassConstFetch; use PhpParser\Node\Name\FullyQualified; @@ -70,7 +70,7 @@ CODE_SAMPLE public function getExistingClasses(\PhpParser\Node\Scalar\String_ $string) : array { /** @var mixed[] $matches */ - $matches = \RectorPrefix20220519\Nette\Utils\Strings::matchAll($string->value, self::CLASS_BEFORE_STATIC_ACCESS_REGEX, \PREG_PATTERN_ORDER); + $matches = \RectorPrefix20220520\Nette\Utils\Strings::matchAll($string->value, self::CLASS_BEFORE_STATIC_ACCESS_REGEX, \PREG_PATTERN_ORDER); if (!isset($matches['class_name'])) { return []; } @@ -91,7 +91,7 @@ CODE_SAMPLE { $quotedClassNames = \array_map('preg_quote', $classNames); // @see https://regex101.com/r/8nGS0F/1 - $parts = \RectorPrefix20220519\Nette\Utils\Strings::split($string->value, '#(' . \implode('|', $quotedClassNames) . ')#'); + $parts = \RectorPrefix20220520\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 0a9d18f9738..14d1e96d65e 100644 --- a/rules/CodingStyle/Reflection/VendorLocationDetector.php +++ b/rules/CodingStyle/Reflection/VendorLocationDetector.php @@ -4,7 +4,7 @@ declare (strict_types=1); namespace Rector\CodingStyle\Reflection; use PHPStan\Reflection\MethodReflection; -use RectorPrefix20220519\Symplify\SmartFileSystem\Normalizer\PathNormalizer; +use RectorPrefix20220520\Symplify\SmartFileSystem\Normalizer\PathNormalizer; final class VendorLocationDetector { /** @@ -12,7 +12,7 @@ final class VendorLocationDetector * @var \Symplify\SmartFileSystem\Normalizer\PathNormalizer */ private $pathNormalizer; - public function __construct(\RectorPrefix20220519\Symplify\SmartFileSystem\Normalizer\PathNormalizer $pathNormalizer) + public function __construct(\RectorPrefix20220520\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 7c68f68f5e7..7d84dfec774 100644 --- a/rules/Composer/Application/FileProcessor/ComposerFileProcessor.php +++ b/rules/Composer/Application/FileProcessor/ComposerFileProcessor.php @@ -12,8 +12,8 @@ use Rector\Core\ValueObject\Error\SystemError; use Rector\Core\ValueObject\Reporting\FileDiff; use Rector\Parallel\ValueObject\Bridge; use Rector\Testing\PHPUnit\StaticPHPUnitEnvironment; -use RectorPrefix20220519\Symplify\ComposerJsonManipulator\ComposerJsonFactory; -use RectorPrefix20220519\Symplify\ComposerJsonManipulator\Printer\ComposerJsonPrinter; +use RectorPrefix20220520\Symplify\ComposerJsonManipulator\ComposerJsonFactory; +use RectorPrefix20220520\Symplify\ComposerJsonManipulator\Printer\ComposerJsonPrinter; use Symplify\SmartFileSystem\SmartFileInfo; final class ComposerFileProcessor implements \Rector\Core\Contract\Processor\FileProcessorInterface { @@ -40,7 +40,7 @@ final class ComposerFileProcessor implements \Rector\Core\Contract\Processor\Fil /** * @param ComposerRectorInterface[] $composerRectors */ - public function __construct(\RectorPrefix20220519\Symplify\ComposerJsonManipulator\ComposerJsonFactory $composerJsonFactory, \RectorPrefix20220519\Symplify\ComposerJsonManipulator\Printer\ComposerJsonPrinter $composerJsonPrinter, \Rector\ChangesReporting\ValueObjectFactory\FileDiffFactory $fileDiffFactory, array $composerRectors) + public function __construct(\RectorPrefix20220520\Symplify\ComposerJsonManipulator\ComposerJsonFactory $composerJsonFactory, \RectorPrefix20220520\Symplify\ComposerJsonManipulator\Printer\ComposerJsonPrinter $composerJsonPrinter, \Rector\ChangesReporting\ValueObjectFactory\FileDiffFactory $fileDiffFactory, array $composerRectors) { $this->composerJsonFactory = $composerJsonFactory; $this->composerJsonPrinter = $composerJsonPrinter; diff --git a/rules/Composer/Guard/VersionGuard.php b/rules/Composer/Guard/VersionGuard.php index e68d8e0727e..8137a1c195a 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 RectorPrefix20220519\Composer\Semver\VersionParser; +use RectorPrefix20220520\Composer\Semver\VersionParser; use Rector\Composer\Contract\VersionAwareInterface; final class VersionGuard { @@ -12,7 +12,7 @@ final class VersionGuard * @var \Composer\Semver\VersionParser */ private $versionParser; - public function __construct(\RectorPrefix20220519\Composer\Semver\VersionParser $versionParser) + public function __construct(\RectorPrefix20220520\Composer\Semver\VersionParser $versionParser) { $this->versionParser = $versionParser; } diff --git a/rules/Composer/Rector/AddPackageToRequireComposerRector.php b/rules/Composer/Rector/AddPackageToRequireComposerRector.php index 318c360b31f..e97bc958abf 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 RectorPrefix20220519\Symplify\ComposerJsonManipulator\ValueObject\ComposerJson; +use RectorPrefix20220520\Symplify\ComposerJsonManipulator\ValueObject\ComposerJson; use Symplify\RuleDocGenerator\ValueObject\CodeSample\ConfiguredCodeSample; use Symplify\RuleDocGenerator\ValueObject\RuleDefinition; -use RectorPrefix20220519\Webmozart\Assert\Assert; +use RectorPrefix20220520\Webmozart\Assert\Assert; /** * @see \Rector\Tests\Composer\Rector\AddPackageToRequireComposerRector\AddPackageToRequireComposerRectorTest */ @@ -28,7 +28,7 @@ final class AddPackageToRequireComposerRector implements \Rector\Composer\Contra { $this->versionGuard = $versionGuard; } - public function refactor(\RectorPrefix20220519\Symplify\ComposerJsonManipulator\ValueObject\ComposerJson $composerJson) : void + public function refactor(\RectorPrefix20220520\Symplify\ComposerJsonManipulator\ValueObject\ComposerJson $composerJson) : void { foreach ($this->packagesAndVersions as $packageAndVersion) { $composerJson->addRequiredPackage($packageAndVersion->getPackageName(), $packageAndVersion->getVersion()); @@ -54,7 +54,7 @@ CODE_SAMPLE */ public function configure(array $configuration) : void { - \RectorPrefix20220519\Webmozart\Assert\Assert::allIsAOf($configuration, \Rector\Composer\ValueObject\PackageAndVersion::class); + \RectorPrefix20220520\Webmozart\Assert\Assert::allIsAOf($configuration, \Rector\Composer\ValueObject\PackageAndVersion::class); $this->versionGuard->validate($configuration); $this->packagesAndVersions = $configuration; } diff --git a/rules/Composer/Rector/AddPackageToRequireDevComposerRector.php b/rules/Composer/Rector/AddPackageToRequireDevComposerRector.php index 735c773cdd1..2ea1167b9fd 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 RectorPrefix20220519\Symplify\ComposerJsonManipulator\ValueObject\ComposerJson; +use RectorPrefix20220520\Symplify\ComposerJsonManipulator\ValueObject\ComposerJson; use Symplify\RuleDocGenerator\ValueObject\CodeSample\ConfiguredCodeSample; use Symplify\RuleDocGenerator\ValueObject\RuleDefinition; -use RectorPrefix20220519\Webmozart\Assert\Assert; +use RectorPrefix20220520\Webmozart\Assert\Assert; /** * @see \Rector\Tests\Composer\Rector\AddPackageToRequireDevComposerRector\AddPackageToRequireDevComposerRectorTest */ @@ -28,7 +28,7 @@ final class AddPackageToRequireDevComposerRector implements \Rector\Composer\Con { $this->versionGuard = $versionGuard; } - public function refactor(\RectorPrefix20220519\Symplify\ComposerJsonManipulator\ValueObject\ComposerJson $composerJson) : void + public function refactor(\RectorPrefix20220520\Symplify\ComposerJsonManipulator\ValueObject\ComposerJson $composerJson) : void { foreach ($this->packageAndVersions as $packageAndVersion) { $composerJson->addRequiredDevPackage($packageAndVersion->getPackageName(), $packageAndVersion->getVersion()); @@ -54,7 +54,7 @@ CODE_SAMPLE */ public function configure(array $configuration) : void { - \RectorPrefix20220519\Webmozart\Assert\Assert::allIsAOf($configuration, \Rector\Composer\ValueObject\PackageAndVersion::class); + \RectorPrefix20220520\Webmozart\Assert\Assert::allIsAOf($configuration, \Rector\Composer\ValueObject\PackageAndVersion::class); $this->versionGuard->validate($configuration); $this->packageAndVersions = $configuration; } diff --git a/rules/Composer/Rector/ChangePackageVersionComposerRector.php b/rules/Composer/Rector/ChangePackageVersionComposerRector.php index cccf6070e50..dfb43659a25 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 RectorPrefix20220519\Symplify\ComposerJsonManipulator\ValueObject\ComposerJson; +use RectorPrefix20220520\Symplify\ComposerJsonManipulator\ValueObject\ComposerJson; use Symplify\RuleDocGenerator\ValueObject\CodeSample\ConfiguredCodeSample; use Symplify\RuleDocGenerator\ValueObject\RuleDefinition; -use RectorPrefix20220519\Webmozart\Assert\Assert; +use RectorPrefix20220520\Webmozart\Assert\Assert; /** * @see \Rector\Tests\Composer\Rector\ChangePackageVersionComposerRector\ChangePackageVersionComposerRectorTest */ @@ -28,7 +28,7 @@ final class ChangePackageVersionComposerRector implements \Rector\Composer\Contr { $this->versionGuard = $versionGuard; } - public function refactor(\RectorPrefix20220519\Symplify\ComposerJsonManipulator\ValueObject\ComposerJson $composerJson) : void + public function refactor(\RectorPrefix20220520\Symplify\ComposerJsonManipulator\ValueObject\ComposerJson $composerJson) : void { foreach ($this->packagesAndVersions as $packageAndVersion) { $composerJson->changePackageVersion($packageAndVersion->getPackageName(), $packageAndVersion->getVersion()); @@ -57,7 +57,7 @@ CODE_SAMPLE */ public function configure(array $configuration) : void { - \RectorPrefix20220519\Webmozart\Assert\Assert::allIsAOf($configuration, \Rector\Composer\ValueObject\PackageAndVersion::class); + \RectorPrefix20220520\Webmozart\Assert\Assert::allIsAOf($configuration, \Rector\Composer\ValueObject\PackageAndVersion::class); $this->versionGuard->validate($configuration); $this->packagesAndVersions = $configuration; } diff --git a/rules/Composer/Rector/RemovePackageComposerRector.php b/rules/Composer/Rector/RemovePackageComposerRector.php index 1886532ebf0..c499dc00f03 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 RectorPrefix20220519\Symplify\ComposerJsonManipulator\ValueObject\ComposerJson; +use RectorPrefix20220520\Symplify\ComposerJsonManipulator\ValueObject\ComposerJson; use Symplify\RuleDocGenerator\ValueObject\CodeSample\ConfiguredCodeSample; use Symplify\RuleDocGenerator\ValueObject\RuleDefinition; -use RectorPrefix20220519\Webmozart\Assert\Assert; +use RectorPrefix20220520\Webmozart\Assert\Assert; /** * @see \Rector\Tests\Composer\Rector\RemovePackageComposerRector\RemovePackageComposerRectorTest */ @@ -17,7 +17,7 @@ final class RemovePackageComposerRector implements \Rector\Composer\Contract\Rec * @var string[] */ private $packageNames = []; - public function refactor(\RectorPrefix20220519\Symplify\ComposerJsonManipulator\ValueObject\ComposerJson $composerJson) : void + public function refactor(\RectorPrefix20220520\Symplify\ComposerJsonManipulator\ValueObject\ComposerJson $composerJson) : void { foreach ($this->packageNames as $packageName) { $composerJson->removePackage($packageName); @@ -43,7 +43,7 @@ CODE_SAMPLE */ public function configure(array $configuration) : void { - \RectorPrefix20220519\Webmozart\Assert\Assert::allString($configuration); + \RectorPrefix20220520\Webmozart\Assert\Assert::allString($configuration); $this->packageNames = $configuration; } } diff --git a/rules/Composer/Rector/RenamePackageComposerRector.php b/rules/Composer/Rector/RenamePackageComposerRector.php index 90ec13e90f6..36651b7d9b3 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 RectorPrefix20220519\Symplify\ComposerJsonManipulator\ValueObject\ComposerJson; +use RectorPrefix20220520\Symplify\ComposerJsonManipulator\ValueObject\ComposerJson; use Symplify\RuleDocGenerator\ValueObject\CodeSample\ConfiguredCodeSample; use Symplify\RuleDocGenerator\ValueObject\RuleDefinition; -use RectorPrefix20220519\Webmozart\Assert\Assert; +use RectorPrefix20220520\Webmozart\Assert\Assert; /** * @see \Rector\Tests\Composer\Rector\RenamePackageComposerRector\RenamePackageComposerRectorTest */ @@ -18,7 +18,7 @@ final class RenamePackageComposerRector implements \Rector\Composer\Contract\Rec * @var RenamePackage[] */ private $renamePackages = []; - public function refactor(\RectorPrefix20220519\Symplify\ComposerJsonManipulator\ValueObject\ComposerJson $composerJson) : void + public function refactor(\RectorPrefix20220520\Symplify\ComposerJsonManipulator\ValueObject\ComposerJson $composerJson) : void { foreach ($this->renamePackages as $renamePackage) { if ($composerJson->hasRequiredPackage($renamePackage->getOldPackageName())) { @@ -54,7 +54,7 @@ CODE_SAMPLE */ public function configure(array $configuration) : void { - \RectorPrefix20220519\Webmozart\Assert\Assert::allIsAOf($configuration, \Rector\Composer\ValueObject\RenamePackage::class); + \RectorPrefix20220520\Webmozart\Assert\Assert::allIsAOf($configuration, \Rector\Composer\ValueObject\RenamePackage::class); $this->renamePackages = $configuration; } } diff --git a/rules/Composer/Rector/ReplacePackageAndVersionComposerRector.php b/rules/Composer/Rector/ReplacePackageAndVersionComposerRector.php index c5286efbd3d..191f1471b44 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 RectorPrefix20220519\Symplify\ComposerJsonManipulator\ValueObject\ComposerJson; +use RectorPrefix20220520\Symplify\ComposerJsonManipulator\ValueObject\ComposerJson; use Symplify\RuleDocGenerator\ValueObject\CodeSample\ConfiguredCodeSample; use Symplify\RuleDocGenerator\ValueObject\RuleDefinition; -use RectorPrefix20220519\Webmozart\Assert\Assert; +use RectorPrefix20220520\Webmozart\Assert\Assert; /** * @see \Rector\Tests\Composer\Rector\ReplacePackageAndVersionComposerRector\ReplacePackageAndVersionComposerRectorTest */ @@ -28,7 +28,7 @@ final class ReplacePackageAndVersionComposerRector implements \Rector\Composer\C { $this->versionGuard = $versionGuard; } - public function refactor(\RectorPrefix20220519\Symplify\ComposerJsonManipulator\ValueObject\ComposerJson $composerJson) : void + public function refactor(\RectorPrefix20220520\Symplify\ComposerJsonManipulator\ValueObject\ComposerJson $composerJson) : void { foreach ($this->replacePackagesAndVersions as $replacePackageAndVersion) { $composerJson->replacePackage($replacePackageAndVersion->getOldPackageName(), $replacePackageAndVersion->getNewPackageName(), $replacePackageAndVersion->getVersion()); @@ -57,7 +57,7 @@ CODE_SAMPLE */ public function configure(array $configuration) : void { - \RectorPrefix20220519\Webmozart\Assert\Assert::allIsAOf($configuration, \Rector\Composer\ValueObject\ReplacePackageAndVersion::class); + \RectorPrefix20220520\Webmozart\Assert\Assert::allIsAOf($configuration, \Rector\Composer\ValueObject\ReplacePackageAndVersion::class); $this->versionGuard->validate($configuration); $this->replacePackagesAndVersions = $configuration; } diff --git a/rules/Composer/ValueObject/ReplacePackageAndVersion.php b/rules/Composer/ValueObject/ReplacePackageAndVersion.php index 1859cbaef37..b9cca156fd2 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 RectorPrefix20220519\Webmozart\Assert\Assert; +use RectorPrefix20220520\Webmozart\Assert\Assert; final class ReplacePackageAndVersion implements \Rector\Composer\Contract\VersionAwareInterface { /** @@ -26,7 +26,7 @@ final class ReplacePackageAndVersion implements \Rector\Composer\Contract\Versio public function __construct(string $oldPackageName, string $newPackageName, string $version) { $this->version = $version; - \RectorPrefix20220519\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); + \RectorPrefix20220520\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 b51e93059dd..83cbd4d0baf 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 RectorPrefix20220519\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser; +use RectorPrefix20220520\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser; final class ModifiedVariableNamesCollector { /** @@ -24,7 +24,7 @@ final class ModifiedVariableNamesCollector * @var \Rector\NodeNameResolver\NodeNameResolver */ private $nodeNameResolver; - public function __construct(\RectorPrefix20220519\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser $simpleCallableNodeTraverser, \Rector\NodeNameResolver\NodeNameResolver $nodeNameResolver) + public function __construct(\RectorPrefix20220520\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser $simpleCallableNodeTraverser, \Rector\NodeNameResolver\NodeNameResolver $nodeNameResolver) { $this->simpleCallableNodeTraverser = $simpleCallableNodeTraverser; $this->nodeNameResolver = $nodeNameResolver; diff --git a/rules/DeadCode/NodeManipulator/VariadicFunctionLikeDetector.php b/rules/DeadCode/NodeManipulator/VariadicFunctionLikeDetector.php index 8ce99e6f9a0..634356be2d4 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 RectorPrefix20220519\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser; +use RectorPrefix20220520\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser; final class VariadicFunctionLikeDetector { /** @@ -25,7 +25,7 @@ final class VariadicFunctionLikeDetector * @var \Rector\NodeNameResolver\NodeNameResolver */ private $nodeNameResolver; - public function __construct(\RectorPrefix20220519\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser $simpleCallableNodeTraverser, \Rector\NodeNameResolver\NodeNameResolver $nodeNameResolver) + public function __construct(\RectorPrefix20220520\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 25a3365e531..62f9dce8b31 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 RectorPrefix20220519\Symplify\Astral\PhpDocParser\PhpDocNodeTraverser; +use RectorPrefix20220520\Symplify\Astral\PhpDocParser\PhpDocNodeTraverser; final class ParamTagRemover { /** @@ -24,7 +24,7 @@ final class ParamTagRemover public function removeParamTagsIfUseless(\Rector\BetterPhpDocParser\PhpDocInfo\PhpDocInfo $phpDocInfo, \PhpParser\Node\FunctionLike $functionLike) : bool { $hasChanged = \false; - $phpDocNodeTraverser = new \RectorPrefix20220519\Symplify\Astral\PhpDocParser\PhpDocNodeTraverser(); + $phpDocNodeTraverser = new \RectorPrefix20220520\Symplify\Astral\PhpDocParser\PhpDocNodeTraverser(); $phpDocNodeTraverser->traverseWithCallable($phpDocInfo->getPhpDocNode(), '', function (\PHPStan\PhpDocParser\Ast\Node $docNode) use($functionLike, $phpDocInfo, &$hasChanged) : ?int { if (!$docNode instanceof \PHPStan\PhpDocParser\Ast\PhpDoc\PhpDocTagNode) { return null; @@ -41,7 +41,7 @@ final class ParamTagRemover } $phpDocInfo->markAsChanged(); $hasChanged = \true; - return \RectorPrefix20220519\Symplify\Astral\PhpDocParser\PhpDocNodeTraverser::NODE_REMOVE; + return \RectorPrefix20220520\Symplify\Astral\PhpDocParser\PhpDocNodeTraverser::NODE_REMOVE; }); return $hasChanged; } diff --git a/rules/DeadCode/Rector/ClassLike/RemoveAnnotationRector.php b/rules/DeadCode/Rector/ClassLike/RemoveAnnotationRector.php index 56f6d42c86a..a7216d24c92 100644 --- a/rules/DeadCode/Rector/ClassLike/RemoveAnnotationRector.php +++ b/rules/DeadCode/Rector/ClassLike/RemoveAnnotationRector.php @@ -14,7 +14,7 @@ use Rector\Core\Contract\Rector\ConfigurableRectorInterface; use Rector\Core\Rector\AbstractRector; use Symplify\RuleDocGenerator\ValueObject\CodeSample\ConfiguredCodeSample; use Symplify\RuleDocGenerator\ValueObject\RuleDefinition; -use RectorPrefix20220519\Webmozart\Assert\Assert; +use RectorPrefix20220520\Webmozart\Assert\Assert; /** * @see \Rector\Tests\DeadCode\Rector\ClassLike\RemoveAnnotationRector\RemoveAnnotationRectorTest */ @@ -83,7 +83,7 @@ CODE_SAMPLE */ public function configure(array $configuration) : void { - \RectorPrefix20220519\Webmozart\Assert\Assert::allString($configuration); + \RectorPrefix20220520\Webmozart\Assert\Assert::allString($configuration); $this->annotationsToRemove = $configuration; } } diff --git a/rules/DeadCode/Rector/ConstFetch/RemovePhpVersionIdCheckRector.php b/rules/DeadCode/Rector/ConstFetch/RemovePhpVersionIdCheckRector.php index 3db54eb6f31..1f84ec4a0cd 100644 --- a/rules/DeadCode/Rector/ConstFetch/RemovePhpVersionIdCheckRector.php +++ b/rules/DeadCode/Rector/ConstFetch/RemovePhpVersionIdCheckRector.php @@ -18,7 +18,7 @@ use Rector\Core\Rector\AbstractRector; use Rector\Core\ValueObject\PhpVersion; use Symplify\RuleDocGenerator\ValueObject\CodeSample\ConfiguredCodeSample; use Symplify\RuleDocGenerator\ValueObject\RuleDefinition; -use RectorPrefix20220519\Webmozart\Assert\Assert; +use RectorPrefix20220520\Webmozart\Assert\Assert; /** * @see \Rector\Tests\DeadCode\Rector\ConstFetch\RemovePhpVersionIdCheckRector\RemovePhpVersionIdCheckRectorTest */ @@ -43,7 +43,7 @@ final class RemovePhpVersionIdCheckRector extends \Rector\Core\Rector\AbstractRe public function configure(array $configuration) : void { $phpVersion = $configuration[0]; - \RectorPrefix20220519\Webmozart\Assert\Assert::integer($phpVersion); + \RectorPrefix20220520\Webmozart\Assert\Assert::integer($phpVersion); \Rector\Core\ValueObject\PhpVersion::assertValidValue($phpVersion); // ensure cast to (string) first to allow string like "8.0" value to be converted to the int value /** @var PhpVersion::* $phpVersion */ diff --git a/rules/DeadCode/Rector/Node/RemoveNonExistingVarAnnotationRector.php b/rules/DeadCode/Rector/Node/RemoveNonExistingVarAnnotationRector.php index 90b28ec04f2..2a9637514eb 100644 --- a/rules/DeadCode/Rector/Node/RemoveNonExistingVarAnnotationRector.php +++ b/rules/DeadCode/Rector/Node/RemoveNonExistingVarAnnotationRector.php @@ -21,7 +21,7 @@ use PhpParser\Node\Stmt\While_; use PHPStan\PhpDocParser\Ast\PhpDoc\VarTagValueNode; use Rector\Core\Rector\AbstractRector; use Rector\DeadCode\NodeAnalyzer\ExprUsedInNodeAnalyzer; -use RectorPrefix20220519\Symplify\PackageBuilder\Php\TypeChecker; +use RectorPrefix20220520\Symplify\PackageBuilder\Php\TypeChecker; use Symplify\RuleDocGenerator\ValueObject\CodeSample\CodeSample; use Symplify\RuleDocGenerator\ValueObject\RuleDefinition; /** @@ -45,7 +45,7 @@ final class RemoveNonExistingVarAnnotationRector extends \Rector\Core\Rector\Abs * @var \Rector\DeadCode\NodeAnalyzer\ExprUsedInNodeAnalyzer */ private $exprUsedInNodeAnalyzer; - public function __construct(\RectorPrefix20220519\Symplify\PackageBuilder\Php\TypeChecker $typeChecker, \Rector\DeadCode\NodeAnalyzer\ExprUsedInNodeAnalyzer $exprUsedInNodeAnalyzer) + public function __construct(\RectorPrefix20220520\Symplify\PackageBuilder\Php\TypeChecker $typeChecker, \Rector\DeadCode\NodeAnalyzer\ExprUsedInNodeAnalyzer $exprUsedInNodeAnalyzer) { $this->typeChecker = $typeChecker; $this->exprUsedInNodeAnalyzer = $exprUsedInNodeAnalyzer; diff --git a/rules/DeadCode/SideEffect/SideEffectNodeDetector.php b/rules/DeadCode/SideEffect/SideEffectNodeDetector.php index 76c40ff1f07..7dcc4f9b82d 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 RectorPrefix20220519\Nette\Utils\Strings; +use RectorPrefix20220520\Nette\Utils\Strings; use PhpParser\Node; use PhpParser\Node\Expr; use PhpParser\Node\Expr\ArrayDimFetch; @@ -97,7 +97,7 @@ final class SideEffectNodeDetector return \false; } $className = $new->class->toString(); - $namespace = \RectorPrefix20220519\Nette\Utils\Strings::before($className, '\\', 1); + $namespace = \RectorPrefix20220520\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 d8a2d10364a..7cdd861f042 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 RectorPrefix20220519\Webmozart\Assert\Assert; +use RectorPrefix20220520\Webmozart\Assert\Assert; /** * @see \Rector\Tests\DependencyInjection\Rector\ClassMethod\AddMethodParentCallRector\AddMethodParentCallRectorTest */ @@ -87,8 +87,8 @@ CODE_SAMPLE */ public function configure(array $configuration) : void { - \RectorPrefix20220519\Webmozart\Assert\Assert::allString(\array_keys($configuration)); - \RectorPrefix20220519\Webmozart\Assert\Assert::allString($configuration); + \RectorPrefix20220520\Webmozart\Assert\Assert::allString(\array_keys($configuration)); + \RectorPrefix20220520\Webmozart\Assert\Assert::allString($configuration); /** @var array $configuration */ $this->methodByParentTypes = $configuration; } diff --git a/rules/DowngradePhp55/Rector/Isset_/DowngradeArbitraryExpressionArgsToEmptyAndIssetRector.php b/rules/DowngradePhp55/Rector/Isset_/DowngradeArbitraryExpressionArgsToEmptyAndIssetRector.php index 941744275bf..1586e3983cd 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 RectorPrefix20220519\Webmozart\Assert\Assert; +use RectorPrefix20220520\Webmozart\Assert\Assert; /** * @changelog https://wiki.php.net/rfc/empty_isset_exprs * @@ -107,7 +107,7 @@ CODE_SAMPLE } $currentExpr->vars[] = $var; } - \RectorPrefix20220519\Webmozart\Assert\Assert::minCount($exprs, 1); + \RectorPrefix20220520\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 0e2238c6e78..4bc2f3bc33a 100644 --- a/rules/DowngradePhp56/Rector/CallLike/DowngradeArgumentUnpackingRector.php +++ b/rules/DowngradePhp56/Rector/CallLike/DowngradeArgumentUnpackingRector.php @@ -22,7 +22,7 @@ use Rector\Core\Rector\AbstractRector; use Rector\DowngradePhp56\NodeManipulator\ArgManipulator; use Symplify\RuleDocGenerator\ValueObject\CodeSample\CodeSample; use Symplify\RuleDocGenerator\ValueObject\RuleDefinition; -use RectorPrefix20220519\Webmozart\Assert\Assert; +use RectorPrefix20220520\Webmozart\Assert\Assert; /** * @changelog https://wiki.php.net/rfc/argument_unpacking * @@ -146,7 +146,7 @@ CODE_SAMPLE { if ($this->argManipulator->canBeInlined($args)) { $unpackedArgs = $this->argManipulator->unpack($args); - \RectorPrefix20220519\Webmozart\Assert\Assert::minCount($unpackedArgs, 1); + \RectorPrefix20220520\Webmozart\Assert\Assert::minCount($unpackedArgs, 1); /** @var Array_ $array */ $array = $unpackedArgs[0]->value; $arrayItems = \array_filter($array->items); diff --git a/rules/DowngradePhp56/Rector/FuncCall/DowngradeArrayFilterUseConstantRector.php b/rules/DowngradePhp56/Rector/FuncCall/DowngradeArrayFilterUseConstantRector.php index c24d525898f..d6446f126c9 100644 --- a/rules/DowngradePhp56/Rector/FuncCall/DowngradeArrayFilterUseConstantRector.php +++ b/rules/DowngradePhp56/Rector/FuncCall/DowngradeArrayFilterUseConstantRector.php @@ -21,7 +21,7 @@ use PhpParser\Node\Stmt\Return_; use Rector\Core\Rector\AbstractRector; use Rector\Naming\Naming\VariableNaming; use Rector\NodeTypeResolver\Node\AttributeKey; -use RectorPrefix20220519\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser; +use RectorPrefix20220520\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser; use Symplify\RuleDocGenerator\ValueObject\CodeSample\CodeSample; use Symplify\RuleDocGenerator\ValueObject\RuleDefinition; /** @@ -41,7 +41,7 @@ final class DowngradeArrayFilterUseConstantRector extends \Rector\Core\Rector\Ab * @var \Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser */ private $simpleCallableNodeTraverser; - public function __construct(\Rector\Naming\Naming\VariableNaming $variableNaming, \RectorPrefix20220519\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser $simpleCallableNodeTraverser) + public function __construct(\Rector\Naming\Naming\VariableNaming $variableNaming, \RectorPrefix20220520\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser $simpleCallableNodeTraverser) { $this->variableNaming = $variableNaming; $this->simpleCallableNodeTraverser = $simpleCallableNodeTraverser; diff --git a/rules/DowngradePhp72/Rector/ClassMethod/DowngradeParameterTypeWideningRector.php b/rules/DowngradePhp72/Rector/ClassMethod/DowngradeParameterTypeWideningRector.php index 5d0b45a066d..42dcd8ad818 100644 --- a/rules/DowngradePhp72/Rector/ClassMethod/DowngradeParameterTypeWideningRector.php +++ b/rules/DowngradePhp72/Rector/ClassMethod/DowngradeParameterTypeWideningRector.php @@ -18,7 +18,7 @@ use Rector\DowngradePhp72\PhpDoc\NativeParamToPhpDocDecorator; use Rector\TypeDeclaration\NodeAnalyzer\AutowiredClassMethodOrPropertyAnalyzer; use Symplify\RuleDocGenerator\ValueObject\CodeSample\ConfiguredCodeSample; use Symplify\RuleDocGenerator\ValueObject\RuleDefinition; -use RectorPrefix20220519\Webmozart\Assert\Assert; +use RectorPrefix20220520\Webmozart\Assert\Assert; /** * @changelog https://www.php.net/manual/en/migration72.new-features.php#migration72.new-features.param-type-widening * @changelog https://3v4l.org/fOgSE @@ -133,8 +133,8 @@ CODE_SAMPLE { $unsafeTypesToMethods = $configuration; foreach ($unsafeTypesToMethods as $key => $value) { - \RectorPrefix20220519\Webmozart\Assert\Assert::string($key); - \RectorPrefix20220519\Webmozart\Assert\Assert::allString($value); + \RectorPrefix20220520\Webmozart\Assert\Assert::string($key); + \RectorPrefix20220520\Webmozart\Assert\Assert::allString($value); } $this->unsafeTypesToMethods = $unsafeTypesToMethods; } diff --git a/rules/DowngradePhp72/Rector/FuncCall/DowngradePregUnmatchedAsNullConstantRector.php b/rules/DowngradePhp72/Rector/FuncCall/DowngradePregUnmatchedAsNullConstantRector.php index 8e85125a968..df8090d4190 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 RectorPrefix20220519\Nette\NotImplementedException; +use RectorPrefix20220520\Nette\NotImplementedException; use PhpParser\Node; use PhpParser\Node\Expr\Assign; use PhpParser\Node\Expr\BinaryOp\BitwiseOr; @@ -166,7 +166,7 @@ CODE_SAMPLE return $this->processInIf($parent, $funcCall, $replaceEmptystringToNull); } if (!$parent instanceof \PhpParser\Node) { - throw new \RectorPrefix20220519\Nette\NotImplementedException(); + throw new \RectorPrefix20220520\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 3ebc37824b8..f215233e4df 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 RectorPrefix20220519\Symplify\PackageBuilder\Reflection\PrivatesCaller; +use RectorPrefix20220520\Symplify\PackageBuilder\Reflection\PrivatesCaller; use Symplify\RuleDocGenerator\ValueObject\CodeSample\CodeSample; use Symplify\RuleDocGenerator\ValueObject\RuleDefinition; /** @@ -53,7 +53,7 @@ final class DowngradeCovariantReturnTypeRector extends \Rector\Core\Rector\Abstr * @var \Rector\Core\Reflection\ReflectionResolver */ private $reflectionResolver; - public function __construct(\Rector\BetterPhpDocParser\PhpDocManipulator\PhpDocTypeChanger $phpDocTypeChanger, \RectorPrefix20220519\Symplify\PackageBuilder\Reflection\PrivatesCaller $privatesCaller, \Rector\DeadCode\PhpDoc\TagRemover\ReturnTagRemover $returnTagRemover, \Rector\Core\Reflection\ReflectionResolver $reflectionResolver) + public function __construct(\Rector\BetterPhpDocParser\PhpDocManipulator\PhpDocTypeChanger $phpDocTypeChanger, \RectorPrefix20220520\Symplify\PackageBuilder\Reflection\PrivatesCaller $privatesCaller, \Rector\DeadCode\PhpDoc\TagRemover\ReturnTagRemover $returnTagRemover, \Rector\Core\Reflection\ReflectionResolver $reflectionResolver) { $this->phpDocTypeChanger = $phpDocTypeChanger; $this->privatesCaller = $privatesCaller; diff --git a/rules/DowngradePhp80/NodeAnalyzer/NamedToUnnamedArgs.php b/rules/DowngradePhp80/NodeAnalyzer/NamedToUnnamedArgs.php index 36cdabffd6a..6a0ef540c35 100644 --- a/rules/DowngradePhp80/NodeAnalyzer/NamedToUnnamedArgs.php +++ b/rules/DowngradePhp80/NodeAnalyzer/NamedToUnnamedArgs.php @@ -11,6 +11,7 @@ use PHPStan\Reflection\MethodReflection; use PHPStan\Reflection\ParameterReflection; use PHPStan\Reflection\Php\PhpParameterReflection; use Rector\DowngradePhp80\Reflection\DefaultParameterValueResolver; +use Rector\DowngradePhp80\Reflection\SimplePhpParameterReflection; use Rector\NodeNameResolver\NodeNameResolver; use ReflectionFunction; final class NamedToUnnamedArgs @@ -79,8 +80,7 @@ final class NamedToUnnamedArgs } /** @var ParameterReflection|PhpParameterReflection $parameterReflection */ if ($functionLikeReflection instanceof \ReflectionFunction) { - // @todo since PHPStan 1.7.* add new InitializerExprTypeResolver() service as 1st arg - https://github.com/phpstan/phpstan-src/commit/c8b3926f005d008178d6d8c62aaca0200a6359a2#diff-ce65c81a2653b1f53bc416082582e248f629d65c066440d9c4edc5005d16af32 - $parameterReflection = new \PHPStan\Reflection\Php\PhpParameterReflection($functionLikeReflection->getParameters()[$i], null, null); + $parameterReflection = new \Rector\DowngradePhp80\Reflection\SimplePhpParameterReflection($functionLikeReflection, $i); } else { $parameterReflection = $parameters[$i]; } diff --git a/rules/DowngradePhp80/Rector/Class_/DowngradeAttributeToAnnotationRector.php b/rules/DowngradePhp80/Rector/Class_/DowngradeAttributeToAnnotationRector.php index f22ee15aa7b..f7247d00bc3 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 RectorPrefix20220519\Webmozart\Assert\Assert; +use RectorPrefix20220520\Webmozart\Assert\Assert; /** * @changelog https://php.watch/articles/php-attributes#syntax * @@ -114,7 +114,7 @@ CODE_SAMPLE */ public function configure(array $configuration) : void { - \RectorPrefix20220519\Webmozart\Assert\Assert::allIsAOf($configuration, \Rector\DowngradePhp80\ValueObject\DowngradeAttributeToAnnotation::class); + \RectorPrefix20220520\Webmozart\Assert\Assert::allIsAOf($configuration, \Rector\DowngradePhp80\ValueObject\DowngradeAttributeToAnnotation::class); $this->attributesToAnnotations = $configuration; } /** diff --git a/rules/DowngradePhp80/Reflection/SimplePhpParameterReflection.php b/rules/DowngradePhp80/Reflection/SimplePhpParameterReflection.php new file mode 100644 index 00000000000..4fa3b4c8c42 --- /dev/null +++ b/rules/DowngradePhp80/Reflection/SimplePhpParameterReflection.php @@ -0,0 +1,61 @@ +parameter = $reflectionFunction->getParameters()[$position]; + } + public function getName() : string + { + return $this->parameter->getName(); + } + public function isOptional() : bool + { + return $this->parameter->isOptional(); + } + /** + * getType() is never used yet on manual object creation, and the implementation require PHPStan $phpDocType services injection + * @see https://github.com/phpstan/phpstan-src/blob/92420cd4b190b57d1ba8bf9e800eb97c8c0ee2f2/src/Reflection/Php/PhpParameterReflection.php#L24 + */ + public function getType() : \PHPStan\Type\Type + { + throw new \Rector\Core\Exception\NotImplementedYetException(); + } + public function passedByReference() : \PHPStan\Reflection\PassedByReference + { + return $this->parameter->isPassedByReference() ? \PHPStan\Reflection\PassedByReference::createCreatesNewVariable() : \PHPStan\Reflection\PassedByReference::createNo(); + } + public function isVariadic() : bool + { + return $this->parameter->isVariadic(); + } + public function getDefaultValue() : ?\PHPStan\Type\Type + { + try { + if ($this->parameter->isDefaultValueAvailable()) { + $defaultValue = $this->parameter->getDefaultValue(); + return \PHPStan\Type\ConstantTypeHelper::getTypeFromValue($defaultValue); + } + } catch (\Throwable $exception) { + return null; + } + return null; + } +} diff --git a/rules/Naming/ExpectedNameResolver/InflectorSingularResolver.php b/rules/Naming/ExpectedNameResolver/InflectorSingularResolver.php index ad677a574f6..54216092c61 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 RectorPrefix20220519\Doctrine\Inflector\Inflector; -use RectorPrefix20220519\Nette\Utils\Strings; +use RectorPrefix20220520\Doctrine\Inflector\Inflector; +use RectorPrefix20220520\Nette\Utils\Strings; use Rector\Core\Util\StringUtils; /** * @see \Rector\Core\Tests\Naming\ExpectedNameResolver\InflectorSingularResolverTest @@ -38,15 +38,15 @@ final class InflectorSingularResolver * @var \Doctrine\Inflector\Inflector */ private $inflector; - public function __construct(\RectorPrefix20220519\Doctrine\Inflector\Inflector $inflector) + public function __construct(\RectorPrefix20220520\Doctrine\Inflector\Inflector $inflector) { $this->inflector = $inflector; } public function resolve(string $currentName) : string { - $matchBy = \RectorPrefix20220519\Nette\Utils\Strings::match($currentName, self::BY_MIDDLE_REGEX); + $matchBy = \RectorPrefix20220520\Nette\Utils\Strings::match($currentName, self::BY_MIDDLE_REGEX); if ($matchBy !== null) { - return \RectorPrefix20220519\Nette\Utils\Strings::substring($currentName, 0, -\strlen((string) $matchBy['by'])); + return \RectorPrefix20220520\Nette\Utils\Strings::substring($currentName, 0, -\strlen((string) $matchBy['by'])); } $resolvedValue = $this->resolveSingularizeMap($currentName); if ($resolvedValue !== null) { @@ -79,11 +79,11 @@ final class InflectorSingularResolver return $singular; } if (\Rector\Core\Util\StringUtils::isMatch($currentName, '#' . \ucfirst($plural) . '#')) { - $resolvedValue = \RectorPrefix20220519\Nette\Utils\Strings::replace($currentName, '#' . \ucfirst($plural) . '#', \ucfirst($singular)); + $resolvedValue = \RectorPrefix20220520\Nette\Utils\Strings::replace($currentName, '#' . \ucfirst($plural) . '#', \ucfirst($singular)); return $this->singularizeCamelParts($resolvedValue); } if (\Rector\Core\Util\StringUtils::isMatch($currentName, '#' . $plural . '#')) { - $resolvedValue = \RectorPrefix20220519\Nette\Utils\Strings::replace($currentName, '#' . $plural . '#', $singular); + $resolvedValue = \RectorPrefix20220520\Nette\Utils\Strings::replace($currentName, '#' . $plural . '#', $singular); return $this->singularizeCamelParts($resolvedValue); } } @@ -91,7 +91,7 @@ final class InflectorSingularResolver } private function singularizeCamelParts(string $currentName) : string { - $camelCases = \RectorPrefix20220519\Nette\Utils\Strings::matchAll($currentName, self::CAMELCASE_REGEX); + $camelCases = \RectorPrefix20220520\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 250480d8918..4735dcb33d8 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 RectorPrefix20220519\Nette\Utils\Strings; +use RectorPrefix20220520\Nette\Utils\Strings; use PHPStan\Type\Generic\GenericObjectType; use PHPStan\Type\ObjectType; use PHPStan\Type\StaticType; @@ -67,7 +67,7 @@ final class PropertyNaming } public function getExpectedNameFromMethodName(string $methodName) : ?\Rector\Naming\ValueObject\ExpectedName { - $matches = \RectorPrefix20220519\Nette\Utils\Strings::match($methodName, self::GET_PREFIX_REGEX); + $matches = \RectorPrefix20220520\Nette\Utils\Strings::match($methodName, self::GET_PREFIX_REGEX); if ($matches === null) { return null; } @@ -103,7 +103,7 @@ final class PropertyNaming $shortClassName = \strtolower($shortClassName); } // remove "_" - $shortClassName = \RectorPrefix20220519\Nette\Utils\Strings::replace($shortClassName, '#_#', ''); + $shortClassName = \RectorPrefix20220520\Nette\Utils\Strings::replace($shortClassName, '#_#', ''); $shortClassName = $this->normalizeUpperCase($shortClassName); // prolong too short generic names with one namespace up $originalName = $this->prolongIfTooShort($shortClassName, $className); @@ -119,7 +119,7 @@ final class PropertyNaming } $className = $this->resolveClassName($objectType); if (\strpos($className, '\\') !== \false) { - $shortClassName = (string) \RectorPrefix20220519\Nette\Utils\Strings::after($className, '\\', -1); + $shortClassName = (string) \RectorPrefix20220520\Nette\Utils\Strings::after($className, '\\', -1); } else { $shortClassName = $className; } @@ -142,7 +142,7 @@ final class PropertyNaming private function resolveShortClassName(string $className) : string { if (\strpos($className, '\\') !== \false) { - return (string) \RectorPrefix20220519\Nette\Utils\Strings::after($className, '\\', -1); + return (string) \RectorPrefix20220520\Nette\Utils\Strings::after($className, '\\', -1); } return $className; } @@ -150,15 +150,15 @@ final class PropertyNaming { // is SomeInterface if (\substr_compare($shortClassName, self::INTERFACE, -\strlen(self::INTERFACE)) === 0) { - $shortClassName = \RectorPrefix20220519\Nette\Utils\Strings::substring($shortClassName, 0, -\strlen(self::INTERFACE)); + $shortClassName = \RectorPrefix20220520\Nette\Utils\Strings::substring($shortClassName, 0, -\strlen(self::INTERFACE)); } // is ISomeClass if ($this->isPrefixedInterface($shortClassName)) { - $shortClassName = \RectorPrefix20220519\Nette\Utils\Strings::substring($shortClassName, 1); + $shortClassName = \RectorPrefix20220520\Nette\Utils\Strings::substring($shortClassName, 1); } // is AbstractClass if (\strncmp($shortClassName, 'Abstract', \strlen('Abstract')) === 0) { - $shortClassName = \RectorPrefix20220519\Nette\Utils\Strings::substring($shortClassName, \strlen('Abstract')); + $shortClassName = \RectorPrefix20220520\Nette\Utils\Strings::substring($shortClassName, \strlen('Abstract')); } return $shortClassName; } @@ -177,8 +177,8 @@ final class PropertyNaming private function prolongIfTooShort(string $shortClassName, string $className) : string { if (\in_array($shortClassName, ['Factory', 'Repository'], \true)) { - $namespaceAbove = (string) \RectorPrefix20220519\Nette\Utils\Strings::after($className, '\\', -2); - $namespaceAbove = (string) \RectorPrefix20220519\Nette\Utils\Strings::before($namespaceAbove, '\\'); + $namespaceAbove = (string) \RectorPrefix20220520\Nette\Utils\Strings::after($className, '\\', -2); + $namespaceAbove = (string) \RectorPrefix20220520\Nette\Utils\Strings::before($namespaceAbove, '\\'); return \lcfirst($namespaceAbove) . $shortClassName; } return \lcfirst($shortClassName); @@ -198,28 +198,28 @@ final class PropertyNaming if (\strpos($fqn, '\\') === \false) { return $fqn; } - $lastNamePart = \RectorPrefix20220519\Nette\Utils\Strings::after($fqn, '\\', -1); + $lastNamePart = \RectorPrefix20220520\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 \RectorPrefix20220519\Nette\Utils\Strings::substring($lastNamePart, 0, -\strlen(self::INTERFACE)); + return \RectorPrefix20220520\Nette\Utils\Strings::substring($lastNamePart, 0, -\strlen(self::INTERFACE)); } return $lastNamePart; } private function removeInterfaceSuffixPrefix(string $className, string $category) : string { // suffix - if (\RectorPrefix20220519\Nette\Utils\Strings::match($className, '#' . $category . '$#i')) { - return \RectorPrefix20220519\Nette\Utils\Strings::substring($className, 0, -\strlen($category)); + if (\RectorPrefix20220520\Nette\Utils\Strings::match($className, '#' . $category . '$#i')) { + return \RectorPrefix20220520\Nette\Utils\Strings::substring($className, 0, -\strlen($category)); } // prefix - if (\RectorPrefix20220519\Nette\Utils\Strings::match($className, '#^' . $category . '#i')) { - return \RectorPrefix20220519\Nette\Utils\Strings::substring($className, \strlen($category)); + if (\RectorPrefix20220520\Nette\Utils\Strings::match($className, '#^' . $category . '#i')) { + return \RectorPrefix20220520\Nette\Utils\Strings::substring($className, \strlen($category)); } // starts with "I\W+"? if (\Rector\Core\Util\StringUtils::isMatch($className, self::I_PREFIX_REGEX)) { - return \RectorPrefix20220519\Nette\Utils\Strings::substring($className, 1); + return \RectorPrefix20220520\Nette\Utils\Strings::substring($className, 1); } return $className; } diff --git a/rules/Naming/Naming/VariableNaming.php b/rules/Naming/Naming/VariableNaming.php index 3fa7b0177dd..f006e32d570 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 RectorPrefix20220519\Nette\Utils\Strings; +use RectorPrefix20220520\Nette\Utils\Strings; use PhpParser\Node; use PhpParser\Node\Arg; use PhpParser\Node\Expr; @@ -22,7 +22,7 @@ use Rector\Core\Exception\NotImplementedYetException; use Rector\Naming\Contract\AssignVariableNameResolverInterface; use Rector\NodeNameResolver\NodeNameResolver; use Rector\NodeTypeResolver\NodeTypeResolver; -use RectorPrefix20220519\Symfony\Component\String\UnicodeString; +use RectorPrefix20220520\Symfony\Component\String\UnicodeString; final class VariableNaming { /** @@ -56,7 +56,7 @@ final class VariableNaming $name = $fallbackName; } if (\strpos($name, '\\') !== \false) { - $name = (string) \RectorPrefix20220519\Nette\Utils\Strings::after($name, '\\', -1); + $name = (string) \RectorPrefix20220520\Nette\Utils\Strings::after($name, '\\', -1); } $countedValueName = $this->createCountedValueName($name, $scope); return \lcfirst($countedValueName); @@ -97,7 +97,7 @@ final class VariableNaming } else { $variableName = $this->nodeNameResolver->getShortName($variableName); } - $variableNameUnicodeString = new \RectorPrefix20220519\Symfony\Component\String\UnicodeString($variableName); + $variableNameUnicodeString = new \RectorPrefix20220520\Symfony\Component\String\UnicodeString($variableName); return $variableNameUnicodeString->camel()->toString(); } private function resolveFromNode(\PhpParser\Node $node) : ?string diff --git a/rules/Naming/PropertyRenamer/PropertyFetchRenamer.php b/rules/Naming/PropertyRenamer/PropertyFetchRenamer.php index 86b94741148..4150683079d 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\Core\NodeAnalyzer\PropertyFetchAnalyzer; -use RectorPrefix20220519\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser; +use RectorPrefix20220520\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser; final class PropertyFetchRenamer { /** @@ -23,7 +23,7 @@ final class PropertyFetchRenamer * @var \Rector\Core\NodeAnalyzer\PropertyFetchAnalyzer */ private $propertyFetchAnalyzer; - public function __construct(\RectorPrefix20220519\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser $simpleCallableNodeTraverser, \Rector\Core\NodeAnalyzer\PropertyFetchAnalyzer $propertyFetchAnalyzer) + public function __construct(\RectorPrefix20220520\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser $simpleCallableNodeTraverser, \Rector\Core\NodeAnalyzer\PropertyFetchAnalyzer $propertyFetchAnalyzer) { $this->simpleCallableNodeTraverser = $simpleCallableNodeTraverser; $this->propertyFetchAnalyzer = $propertyFetchAnalyzer; diff --git a/rules/Naming/RectorNamingInflector.php b/rules/Naming/RectorNamingInflector.php index a0def40d583..1dcb50fe910 100644 --- a/rules/Naming/RectorNamingInflector.php +++ b/rules/Naming/RectorNamingInflector.php @@ -3,8 +3,8 @@ declare (strict_types=1); namespace Rector\Naming; -use RectorPrefix20220519\Doctrine\Inflector\Inflector; -use RectorPrefix20220519\Nette\Utils\Strings; +use RectorPrefix20220520\Doctrine\Inflector\Inflector; +use RectorPrefix20220520\Nette\Utils\Strings; final class RectorNamingInflector { /** @@ -17,13 +17,13 @@ final class RectorNamingInflector * @var \Doctrine\Inflector\Inflector */ private $inflector; - public function __construct(\RectorPrefix20220519\Doctrine\Inflector\Inflector $inflector) + public function __construct(\RectorPrefix20220520\Doctrine\Inflector\Inflector $inflector) { $this->inflector = $inflector; } public function singularize(string $name) : string { - $matches = \RectorPrefix20220519\Nette\Utils\Strings::match($name, self::DATA_INFO_SUFFIX_REGEX); + $matches = \RectorPrefix20220520\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 de164780e59..861dddaa175 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 RectorPrefix20220519\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser; +use RectorPrefix20220520\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser; final class VariableRenamer { /** @@ -44,7 +44,7 @@ final class VariableRenamer * @var \Rector\Core\PhpParser\Node\BetterNodeFinder */ private $betterNodeFinder; - public function __construct(\RectorPrefix20220519\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(\RectorPrefix20220520\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 2775ab744ec..99759b36038 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 RectorPrefix20220519\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection; -use RectorPrefix20220519\Symplify\SmartFileSystem\Json\JsonFileSystem; +use RectorPrefix20220520\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection; +use RectorPrefix20220520\Symplify\SmartFileSystem\Json\JsonFileSystem; final class PSR4AutoloadPathsProvider { /** @@ -16,7 +16,7 @@ final class PSR4AutoloadPathsProvider * @var \Symplify\SmartFileSystem\Json\JsonFileSystem */ private $jsonFileSystem; - public function __construct(\RectorPrefix20220519\Symplify\SmartFileSystem\Json\JsonFileSystem $jsonFileSystem) + public function __construct(\RectorPrefix20220520\Symplify\SmartFileSystem\Json\JsonFileSystem $jsonFileSystem) { $this->jsonFileSystem = $jsonFileSystem; } @@ -29,7 +29,7 @@ final class PSR4AutoloadPathsProvider return $this->cachedComposerJsonPSR4AutoloadPaths; } $composerJson = $this->jsonFileSystem->loadFilePathToJson($this->getComposerJsonPath()); - $psr4Autoloads = \array_merge($composerJson[\RectorPrefix20220519\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::AUTOLOAD]['psr-4'] ?? [], $composerJson[\RectorPrefix20220519\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::AUTOLOAD_DEV]['psr-4'] ?? []); + $psr4Autoloads = \array_merge($composerJson[\RectorPrefix20220520\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::AUTOLOAD]['psr-4'] ?? [], $composerJson[\RectorPrefix20220520\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 7c4a12e63a3..3ec20081de1 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 RectorPrefix20220519\Nette\Utils\Strings; +use RectorPrefix20220520\Nette\Utils\Strings; use PhpParser\Node; use Rector\Core\ValueObject\Application\File; use Rector\PSR4\Contract\PSR4AutoloadNamespaceMatcherInterface; @@ -48,8 +48,8 @@ final class PSR4NamespaceMatcher implements \Rector\PSR4\Contract\PSR4AutoloadNa */ private function resolveExtraNamespace(\Symplify\SmartFileSystem\SmartFileInfo $smartFileInfo, string $path) : string { - $extraNamespace = \RectorPrefix20220519\Nette\Utils\Strings::substring($smartFileInfo->getRelativeDirectoryPath(), \RectorPrefix20220519\Nette\Utils\Strings::length($path) + 1); - $extraNamespace = \RectorPrefix20220519\Nette\Utils\Strings::replace($extraNamespace, '#/#', '\\'); + $extraNamespace = \RectorPrefix20220520\Nette\Utils\Strings::substring($smartFileInfo->getRelativeDirectoryPath(), \RectorPrefix20220520\Nette\Utils\Strings::length($path) + 1); + $extraNamespace = \RectorPrefix20220520\Nette\Utils\Strings::replace($extraNamespace, '#/#', '\\'); return \trim($extraNamespace); } } diff --git a/rules/PSR4/FileInfoAnalyzer/FileInfoDeletionAnalyzer.php b/rules/PSR4/FileInfoAnalyzer/FileInfoDeletionAnalyzer.php index d63e9f85538..9a5039bf7e4 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 RectorPrefix20220519\Nette\Utils\Strings; +use RectorPrefix20220520\Nette\Utils\Strings; use PhpParser\Node\Stmt\ClassLike; use Rector\CodingStyle\Naming\ClassNaming; use Rector\Core\ValueObject\Application\File; @@ -40,6 +40,6 @@ final class FileInfoDeletionAnalyzer } public function clearNameFromTestingPrefix(string $name) : string { - return \RectorPrefix20220519\Nette\Utils\Strings::replace($name, self::TESTING_PREFIX_REGEX, ''); + return \RectorPrefix20220520\Nette\Utils\Strings::replace($name, self::TESTING_PREFIX_REGEX, ''); } } diff --git a/rules/PSR4/NodeManipulator/FullyQualifyStmtsAnalyzer.php b/rules/PSR4/NodeManipulator/FullyQualifyStmtsAnalyzer.php index 1b70421386b..d0c1bba2a35 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 RectorPrefix20220519\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser; -use RectorPrefix20220519\Symplify\PackageBuilder\Parameter\ParameterProvider; +use RectorPrefix20220520\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser; +use RectorPrefix20220520\Symplify\PackageBuilder\Parameter\ParameterProvider; final class FullyQualifyStmtsAnalyzer { /** @@ -38,7 +38,7 @@ final class FullyQualifyStmtsAnalyzer * @var \PHPStan\Reflection\ReflectionProvider */ private $reflectionProvider; - public function __construct(\RectorPrefix20220519\Symplify\PackageBuilder\Parameter\ParameterProvider $parameterProvider, \RectorPrefix20220519\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser $simpleCallableNodeTraverser, \Rector\NodeNameResolver\NodeNameResolver $nodeNameResolver, \PHPStan\Reflection\ReflectionProvider $reflectionProvider) + public function __construct(\RectorPrefix20220520\Symplify\PackageBuilder\Parameter\ParameterProvider $parameterProvider, \RectorPrefix20220520\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 e84f142ae56..1f928b63f90 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 RectorPrefix20220519\Symplify\PackageBuilder\Reflection\ClassLikeExistenceChecker; +use RectorPrefix20220520\Symplify\PackageBuilder\Reflection\ClassLikeExistenceChecker; use Symplify\RuleDocGenerator\ValueObject\CodeSample\ConfiguredCodeSample; use Symplify\RuleDocGenerator\ValueObject\RuleDefinition; -use RectorPrefix20220519\Webmozart\Assert\Assert; +use RectorPrefix20220520\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 * @@ -39,7 +39,7 @@ final class StringClassNameToClassConstantRector extends \Rector\Core\Rector\Abs * @var \Symplify\PackageBuilder\Reflection\ClassLikeExistenceChecker */ private $classLikeExistenceChecker; - public function __construct(\RectorPrefix20220519\Symplify\PackageBuilder\Reflection\ClassLikeExistenceChecker $classLikeExistenceChecker) + public function __construct(\RectorPrefix20220520\Symplify\PackageBuilder\Reflection\ClassLikeExistenceChecker $classLikeExistenceChecker) { $this->classLikeExistenceChecker = $classLikeExistenceChecker; } @@ -102,7 +102,7 @@ CODE_SAMPLE */ public function configure(array $configuration) : void { - \RectorPrefix20220519\Webmozart\Assert\Assert::allString($configuration); + \RectorPrefix20220520\Webmozart\Assert\Assert::allString($configuration); $this->classesToSkip = $configuration; } public function provideMinPhpVersion() : int diff --git a/rules/Php55/RegexMatcher.php b/rules/Php55/RegexMatcher.php index c3ed636b44a..e00f61ee34c 100644 --- a/rules/Php55/RegexMatcher.php +++ b/rules/Php55/RegexMatcher.php @@ -3,7 +3,7 @@ declare (strict_types=1); namespace Rector\Php55; -use RectorPrefix20220519\Nette\Utils\Strings; +use RectorPrefix20220520\Nette\Utils\Strings; use PhpParser\Node\Expr; use PhpParser\Node\Expr\BinaryOp\Concat; use PhpParser\Node\Scalar\String_; @@ -38,7 +38,7 @@ final class RegexMatcher } $delimiter = $pattern[0]; /** @var string $modifiers */ - $modifiers = \RectorPrefix20220519\Nette\Utils\Strings::after($pattern, $delimiter, -1); + $modifiers = \RectorPrefix20220520\Nette\Utils\Strings::after($pattern, $delimiter, -1); if (\strpos($modifiers, 'e') === \false) { return null; } @@ -52,8 +52,8 @@ final class RegexMatcher } private function createPatternWithoutE(string $pattern, string $delimiter, string $modifiers) : string { - $modifiersWithoutE = \RectorPrefix20220519\Nette\Utils\Strings::replace($modifiers, '#e#', ''); - return \RectorPrefix20220519\Nette\Utils\Strings::before($pattern, $delimiter, -1) . $delimiter . $modifiersWithoutE; + $modifiersWithoutE = \RectorPrefix20220520\Nette\Utils\Strings::replace($modifiers, '#e#', ''); + return \RectorPrefix20220520\Nette\Utils\Strings::before($pattern, $delimiter, -1) . $delimiter . $modifiersWithoutE; } private function matchConcat(\PhpParser\Node\Expr\BinaryOp\Concat $concat) : ?\PhpParser\Node\Expr { @@ -61,7 +61,7 @@ final class RegexMatcher if (!$lastItem instanceof \PhpParser\Node\Scalar\String_) { return null; } - $matches = \RectorPrefix20220519\Nette\Utils\Strings::match($lastItem->value, self::LETTER_SUFFIX_REGEX); + $matches = \RectorPrefix20220520\Nette\Utils\Strings::match($lastItem->value, self::LETTER_SUFFIX_REGEX); if (!isset($matches['modifiers'])) { return null; } @@ -69,7 +69,7 @@ final class RegexMatcher return null; } // replace last "e" in the code - $lastItem->value = \RectorPrefix20220519\Nette\Utils\Strings::replace($lastItem->value, self::LAST_E_REGEX, '$1$2'); + $lastItem->value = \RectorPrefix20220520\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 ba7a1a15508..f722b156177 100644 --- a/rules/Php56/NodeAnalyzer/UndefinedVariableResolver.php +++ b/rules/Php56/NodeAnalyzer/UndefinedVariableResolver.php @@ -30,7 +30,7 @@ use Rector\Core\PhpParser\Comparing\NodeComparator; use Rector\Core\PhpParser\Node\BetterNodeFinder; use Rector\NodeNameResolver\NodeNameResolver; use Rector\NodeTypeResolver\Node\AttributeKey; -use RectorPrefix20220519\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser; +use RectorPrefix20220520\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser; final class UndefinedVariableResolver { /** @@ -58,7 +58,7 @@ final class UndefinedVariableResolver * @var \Rector\Core\NodeAnalyzer\VariableAnalyzer */ private $variableAnalyzer; - public function __construct(\RectorPrefix20220519\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser $simpleCallableNodeTraverser, \Rector\NodeNameResolver\NodeNameResolver $nodeNameResolver, \Rector\Core\PhpParser\Comparing\NodeComparator $nodeComparator, \Rector\Core\PhpParser\Node\BetterNodeFinder $betterNodeFinder, \Rector\Core\NodeAnalyzer\VariableAnalyzer $variableAnalyzer) + public function __construct(\RectorPrefix20220520\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser $simpleCallableNodeTraverser, \Rector\NodeNameResolver\NodeNameResolver $nodeNameResolver, \Rector\Core\PhpParser\Comparing\NodeComparator $nodeComparator, \Rector\Core\PhpParser\Node\BetterNodeFinder $betterNodeFinder, \Rector\Core\NodeAnalyzer\VariableAnalyzer $variableAnalyzer) { $this->simpleCallableNodeTraverser = $simpleCallableNodeTraverser; $this->nodeNameResolver = $nodeNameResolver; diff --git a/rules/Php70/EregToPcreTransformer.php b/rules/Php70/EregToPcreTransformer.php index fe1dfc773f3..25054340b5f 100644 --- a/rules/Php70/EregToPcreTransformer.php +++ b/rules/Php70/EregToPcreTransformer.php @@ -3,7 +3,7 @@ declare (strict_types=1); namespace Rector\Php70; -use RectorPrefix20220519\Nette\Utils\Strings; +use RectorPrefix20220520\Nette\Utils\Strings; use Rector\Php70\Exception\InvalidEregException; /** * @changelog https://gist.github.com/lifthrasiir/704754/7e486f43e62fd1c9d3669330c251f8ca4a59a3f8 @@ -257,8 +257,8 @@ final class EregToPcreTransformer } $start = $i + 1; $length = $ii - ($i + 1); - $bound = \RectorPrefix20220519\Nette\Utils\Strings::substring($s, $start, $length); - $matches = \RectorPrefix20220519\Nette\Utils\Strings::match($bound, self::BOUND_REGEX); + $bound = \RectorPrefix20220520\Nette\Utils\Strings::substring($s, $start, $length); + $matches = \RectorPrefix20220520\Nette\Utils\Strings::match($bound, self::BOUND_REGEX); if ($matches === null) { throw new \Rector\Php70\Exception\InvalidEregException('an invalid bound'); } @@ -286,7 +286,7 @@ final class EregToPcreTransformer } $start = $i + 1; $length = $ii - ($i + 1); - $ccls = \RectorPrefix20220519\Nette\Utils\Strings::substring($content, $start, $length); + $ccls = \RectorPrefix20220520\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 55dc6679634..cda1b48f1f6 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 RectorPrefix20220519\Webmozart\Assert\Assert; +use RectorPrefix20220520\Webmozart\Assert\Assert; /** * @changelog https://wiki.php.net/rfc/object-typehint https://github.com/cebe/yii2/commit/9548a212ecf6e50fcdb0e5ba6daad88019cfc544 * @@ -66,8 +66,8 @@ CODE_SAMPLE */ public function configure(array $configuration) : void { - \RectorPrefix20220519\Webmozart\Assert\Assert::allString(\array_keys($configuration)); - \RectorPrefix20220519\Webmozart\Assert\Assert::allString($configuration); + \RectorPrefix20220520\Webmozart\Assert\Assert::allString(\array_keys($configuration)); + \RectorPrefix20220520\Webmozart\Assert\Assert::allString($configuration); $this->reservedKeywordsToReplacements = $configuration; } 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 47309ecada7..16324f66b9a 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 RectorPrefix20220519\Nette\Utils\Strings; +use RectorPrefix20220520\Nette\Utils\Strings; use PhpParser\Node; use PhpParser\Node\ComplexType; use PhpParser\Node\Expr; @@ -49,8 +49,8 @@ use Rector\NodeTypeResolver\Node\AttributeKey; use Rector\PHPStanStaticTypeMapper\Enum\TypeKind; use Rector\StaticTypeMapper\StaticTypeMapper; use ReflectionParameter; -use RectorPrefix20220519\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser; -use RectorPrefix20220519\Symplify\PackageBuilder\Reflection\PrivatesAccessor; +use RectorPrefix20220520\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser; +use RectorPrefix20220520\Symplify\PackageBuilder\Reflection\PrivatesAccessor; final class AnonymousFunctionFactory { /** @@ -108,7 +108,7 @@ final class AnonymousFunctionFactory * @var \Symplify\PackageBuilder\Reflection\PrivatesAccessor */ private $privatesAccessor; - public function __construct(\Rector\NodeNameResolver\NodeNameResolver $nodeNameResolver, \Rector\Core\PhpParser\Node\BetterNodeFinder $betterNodeFinder, \Rector\Core\PhpParser\Node\NodeFactory $nodeFactory, \Rector\StaticTypeMapper\StaticTypeMapper $staticTypeMapper, \RectorPrefix20220519\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser $simpleCallableNodeTraverser, \Rector\Core\PhpParser\Parser\SimplePhpParser $simplePhpParser, \Rector\Core\PhpParser\Comparing\NodeComparator $nodeComparator, \Rector\Core\PhpParser\AstResolver $astResolver, \Rector\Core\Contract\PhpParser\NodePrinterInterface $nodePrinter, \RectorPrefix20220519\Symplify\PackageBuilder\Reflection\PrivatesAccessor $privatesAccessor) + public function __construct(\Rector\NodeNameResolver\NodeNameResolver $nodeNameResolver, \Rector\Core\PhpParser\Node\BetterNodeFinder $betterNodeFinder, \Rector\Core\PhpParser\Node\NodeFactory $nodeFactory, \Rector\StaticTypeMapper\StaticTypeMapper $staticTypeMapper, \RectorPrefix20220520\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser $simpleCallableNodeTraverser, \Rector\Core\PhpParser\Parser\SimplePhpParser $simplePhpParser, \Rector\Core\PhpParser\Comparing\NodeComparator $nodeComparator, \Rector\Core\PhpParser\AstResolver $astResolver, \Rector\Core\Contract\PhpParser\NodePrinterInterface $nodePrinter, \RectorPrefix20220520\Symplify\PackageBuilder\Reflection\PrivatesAccessor $privatesAccessor) { $this->nodeNameResolver = $nodeNameResolver; $this->betterNodeFinder = $betterNodeFinder; @@ -184,7 +184,7 @@ final class AnonymousFunctionFactory if (!$node instanceof \PhpParser\Node\Scalar\String_) { return $node; } - $match = \RectorPrefix20220519\Nette\Utils\Strings::match($node->value, self::DIM_FETCH_REGEX); + $match = \RectorPrefix20220520\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 2d096044ea3..f73644367af 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 RectorPrefix20220519\Nette\Utils\Strings; +use RectorPrefix20220520\Nette\Utils\Strings; use PhpParser\Node; use PhpParser\Node\Expr\FuncCall; use PhpParser\Node\Expr\StaticCall; @@ -95,13 +95,13 @@ CODE_SAMPLE { $stringValue = $string->value; if (\Rector\Core\Util\StringUtils::isMatch($stringValue, self::LEFT_HAND_UNESCAPED_DASH_REGEX)) { - $string->value = \RectorPrefix20220519\Nette\Utils\Strings::replace($stringValue, self::LEFT_HAND_UNESCAPED_DASH_REGEX, '$1\\-'); + $string->value = \RectorPrefix20220520\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 = \RectorPrefix20220519\Nette\Utils\Strings::replace($stringValue, self::RIGHT_HAND_UNESCAPED_DASH_REGEX, '\\-$1]'); + $string->value = \RectorPrefix20220520\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/LNumber/AddLiteralSeparatorToNumberRector.php b/rules/Php74/Rector/LNumber/AddLiteralSeparatorToNumberRector.php index 5ab52cc45c3..da31ddb7408 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 RectorPrefix20220519\Nette\Utils\Strings; +use RectorPrefix20220520\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 RectorPrefix20220519\Webmozart\Assert\Assert; +use RectorPrefix20220520\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; - \RectorPrefix20220519\Webmozart\Assert\Assert::integer($limitValue); + \RectorPrefix20220520\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 \RectorPrefix20220519\Nette\Utils\Strings::length($numericValueAsString) <= self::GROUP_SIZE; + return \RectorPrefix20220520\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 7fceb39c61d..5935c3703bd 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 RectorPrefix20220519\MyCLabs\Enum\Enum; +use RectorPrefix20220520\MyCLabs\Enum\Enum; /** * @method static MatchKind NORMAL() * @method static MatchKind ASSIGN() * @method static MatchKind RETURN() * @method static MatchKind THROW() */ -final class MatchKind extends \RectorPrefix20220519\MyCLabs\Enum\Enum +final class MatchKind extends \RectorPrefix20220520\MyCLabs\Enum\Enum { /** * @var string diff --git a/rules/Php80/NodeManipulator/TokenManipulator.php b/rules/Php80/NodeManipulator/TokenManipulator.php index 373f5f77284..3e7168c81f3 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 RectorPrefix20220519\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser; +use RectorPrefix20220520\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser; final class TokenManipulator { /** @@ -68,7 +68,7 @@ final class TokenManipulator * @var \Rector\Core\NodeAnalyzer\ArgsAnalyzer */ private $argsAnalyzer; - public function __construct(\RectorPrefix20220519\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(\RectorPrefix20220520\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 6226c8421dd..5c12d715ed7 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 RectorPrefix20220519\Symplify\Astral\PhpDocParser\PhpDocNodeTraverser; +use RectorPrefix20220520\Symplify\Astral\PhpDocParser\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 \RectorPrefix20220519\Symplify\Astral\PhpDocParser\PhpDocNodeTraverser(); + $phpDocNodeTraverser = new \RectorPrefix20220520\Symplify\Astral\PhpDocParser\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 d99d90c3560..9ccb700f9bd 100644 --- a/rules/Php80/Rector/Class_/AnnotationToAttributeRector.php +++ b/rules/Php80/Rector/Class_/AnnotationToAttributeRector.php @@ -31,10 +31,10 @@ use Rector\PhpAttribute\Printer\PhpAttributeGroupFactory; use Rector\PhpAttribute\RemovableAnnotationAnalyzer; use Rector\PhpAttribute\UnwrapableAnnotationAnalyzer; use Rector\VersionBonding\Contract\MinPhpVersionInterface; -use RectorPrefix20220519\Symplify\Astral\PhpDocParser\PhpDocNodeTraverser; +use RectorPrefix20220520\Symplify\Astral\PhpDocParser\PhpDocNodeTraverser; use Symplify\RuleDocGenerator\ValueObject\CodeSample\ConfiguredCodeSample; use Symplify\RuleDocGenerator\ValueObject\RuleDefinition; -use RectorPrefix20220519\Webmozart\Assert\Assert; +use RectorPrefix20220520\Webmozart\Assert\Assert; /** * @changelog https://wiki.php.net/rfc/attributes_v2 * @@ -158,7 +158,7 @@ CODE_SAMPLE */ public function configure(array $configuration) : void { - \RectorPrefix20220519\Webmozart\Assert\Assert::allIsAOf($configuration, \Rector\Php80\ValueObject\AnnotationToAttribute::class); + \RectorPrefix20220520\Webmozart\Assert\Assert::allIsAOf($configuration, \Rector\Php80\ValueObject\AnnotationToAttribute::class); $this->annotationsToAttributes = $configuration; $this->unwrapableAnnotationAnalyzer->configure($configuration); $this->removableAnnotationAnalyzer->configure($configuration); @@ -173,7 +173,7 @@ CODE_SAMPLE private function processGenericTags(\Rector\BetterPhpDocParser\PhpDocInfo\PhpDocInfo $phpDocInfo) : array { $attributeGroups = []; - $phpDocNodeTraverser = new \RectorPrefix20220519\Symplify\Astral\PhpDocParser\PhpDocNodeTraverser(); + $phpDocNodeTraverser = new \RectorPrefix20220520\Symplify\Astral\PhpDocParser\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; @@ -193,7 +193,7 @@ CODE_SAMPLE } $attributeGroups[] = $this->phpAttributeGroupFactory->createFromSimpleTag($annotationToAttribute); $phpDocInfo->markAsChanged(); - return \RectorPrefix20220519\Symplify\Astral\PhpDocParser\PhpDocNodeTraverser::NODE_REMOVE; + return \RectorPrefix20220520\Symplify\Astral\PhpDocParser\PhpDocNodeTraverser::NODE_REMOVE; } return null; }); diff --git a/rules/Php80/Rector/Class_/DoctrineAnnotationClassToAttributeRector.php b/rules/Php80/Rector/Class_/DoctrineAnnotationClassToAttributeRector.php index 39722587b99..c80de115b3b 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 RectorPrefix20220519\Webmozart\Assert\Assert; +use RectorPrefix20220520\Webmozart\Assert\Assert; /** * @changelog https://php.watch/articles/php-attributes#syntax * @@ -167,7 +167,7 @@ CODE_SAMPLE public function configure(array $configuration) : void { $shouldRemoveAnnotations = $configuration[self::REMOVE_ANNOTATIONS] ?? (bool) \current($configuration); - \RectorPrefix20220519\Webmozart\Assert\Assert::boolean($shouldRemoveAnnotations); + \RectorPrefix20220520\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/Privatization/Naming/ConstantNaming.php b/rules/Privatization/Naming/ConstantNaming.php index d321ffd2294..2c5252b1f98 100644 --- a/rules/Privatization/Naming/ConstantNaming.php +++ b/rules/Privatization/Naming/ConstantNaming.php @@ -6,7 +6,7 @@ namespace Rector\Privatization\Naming; use PhpParser\Node\Expr\Variable; use PhpParser\Node\Stmt\PropertyProperty; use Rector\NodeNameResolver\NodeNameResolver; -use RectorPrefix20220519\Symfony\Component\String\UnicodeString; +use RectorPrefix20220520\Symfony\Component\String\UnicodeString; final class ConstantNaming { /** @@ -40,7 +40,7 @@ final class ConstantNaming } private function createUnderscoreUppercaseString(string $propertyName) : string { - $propertyNameUnicodeString = new \RectorPrefix20220519\Symfony\Component\String\UnicodeString($propertyName); + $propertyNameUnicodeString = new \RectorPrefix20220520\Symfony\Component\String\UnicodeString($propertyName); return $propertyNameUnicodeString->snake()->upper()->toString(); } } diff --git a/rules/Privatization/NodeAnalyzer/PropertyFetchByMethodAnalyzer.php b/rules/Privatization/NodeAnalyzer/PropertyFetchByMethodAnalyzer.php index 869e9ee4de6..1fe9c25bbad 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 RectorPrefix20220519\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser; +use RectorPrefix20220520\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser; final class PropertyFetchByMethodAnalyzer { /** @@ -42,7 +42,7 @@ final class PropertyFetchByMethodAnalyzer * @var \Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser */ private $simpleCallableNodeTraverser; - public function __construct(\Rector\NodeNameResolver\NodeNameResolver $nodeNameResolver, \Rector\Core\NodeAnalyzer\PropertyFetchAnalyzer $propertyFetchAnalyzer, \RectorPrefix20220519\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser $simpleCallableNodeTraverser) + public function __construct(\Rector\NodeNameResolver\NodeNameResolver $nodeNameResolver, \Rector\Core\NodeAnalyzer\PropertyFetchAnalyzer $propertyFetchAnalyzer, \RectorPrefix20220520\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 89747b82976..1efadd2f63b 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 RectorPrefix20220519\Webmozart\Assert\Assert; +use RectorPrefix20220520\Webmozart\Assert\Assert; /** * @see \Rector\Tests\Privatization\NodeManipulator\VisibilityManipulatorTest */ @@ -88,7 +88,7 @@ final class VisibilityManipulator */ public function changeNodeVisibility($node, int $visibility) : void { - \RectorPrefix20220519\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]); + \RectorPrefix20220520\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 48238a21194..713450690fc 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 RectorPrefix20220519\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser; +use RectorPrefix20220520\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser; final class PropertyFetchWithConstFetchReplacer { /** @@ -41,7 +41,7 @@ final class PropertyFetchWithConstFetchReplacer * @var \Rector\Core\PhpParser\Node\NodeFactory */ private $nodeFactory; - public function __construct(\Rector\NodeNameResolver\NodeNameResolver $nodeNameResolver, \RectorPrefix20220519\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, \RectorPrefix20220520\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 c877fc48efe..e6a180f9565 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 RectorPrefix20220519\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser; +use RectorPrefix20220520\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser; final class PropertyFetchWithVariableReplacer { /** @@ -22,7 +22,7 @@ final class PropertyFetchWithVariableReplacer * @var \Rector\NodeNameResolver\NodeNameResolver */ private $nodeNameResolver; - public function __construct(\RectorPrefix20220519\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser $simpleCallableNodeTraverser, \Rector\NodeNameResolver\NodeNameResolver $nodeNameResolver) + public function __construct(\RectorPrefix20220520\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser $simpleCallableNodeTraverser, \Rector\NodeNameResolver\NodeNameResolver $nodeNameResolver) { $this->simpleCallableNodeTraverser = $simpleCallableNodeTraverser; $this->nodeNameResolver = $nodeNameResolver; diff --git a/rules/Privatization/Rector/Class_/RepeatedLiteralToClassConstantRector.php b/rules/Privatization/Rector/Class_/RepeatedLiteralToClassConstantRector.php index 203f0809158..d82295dd079 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 RectorPrefix20220519\Nette\Utils\Strings; +use RectorPrefix20220520\Nette\Utils\Strings; use PhpParser\Node; use PhpParser\Node\Expr\ClassConstFetch; use PhpParser\Node\Scalar\String_; @@ -207,7 +207,7 @@ CODE_SAMPLE return \true; } // is replaceable value? - $matches = \RectorPrefix20220519\Nette\Utils\Strings::match($value, '#(?<' . self::VALUE . '>[\\w\\-\\/\\_]+)#'); + $matches = \RectorPrefix20220520\Nette\Utils\Strings::match($value, '#(?<' . self::VALUE . '>[\\w\\-\\/\\_]+)#'); if (!isset($matches[self::VALUE])) { return \true; } @@ -221,10 +221,10 @@ CODE_SAMPLE private function createConstName(string $value) : string { // replace slashes and dashes - $value = \RectorPrefix20220519\Nette\Utils\Strings::replace($value, self::SLASH_AND_DASH_REGEX, self::UNDERSCORE); + $value = \RectorPrefix20220520\Nette\Utils\Strings::replace($value, self::SLASH_AND_DASH_REGEX, self::UNDERSCORE); // find beginning numbers $beginningNumbers = ''; - $matches = \RectorPrefix20220519\Nette\Utils\Strings::match($value, '#(?<' . self::NUMBERS . '>[0-9]*)(?<' . self::VALUE . '>.*)#'); + $matches = \RectorPrefix20220520\Nette\Utils\Strings::match($value, '#(?<' . self::NUMBERS . '>[0-9]*)(?<' . self::VALUE . '>.*)#'); if (isset($matches[self::NUMBERS])) { $beginningNumbers = $matches[self::NUMBERS]; } @@ -242,7 +242,7 @@ CODE_SAMPLE $parts = \array_filter($parts); } $value = \implode(self::UNDERSCORE, $parts); - return \strtoupper(\RectorPrefix20220519\Nette\Utils\Strings::replace($value, '#_+#', self::UNDERSCORE)); + return \strtoupper(\RectorPrefix20220520\Nette\Utils\Strings::replace($value, '#_+#', self::UNDERSCORE)); } private function isNativeConstantResemblingValue(string $value) : bool { diff --git a/rules/Privatization/Rector/MethodCall/ReplaceStringWithClassConstantRector.php b/rules/Privatization/Rector/MethodCall/ReplaceStringWithClassConstantRector.php index e1f75d9baab..7967a1050d9 100644 --- a/rules/Privatization/Rector/MethodCall/ReplaceStringWithClassConstantRector.php +++ b/rules/Privatization/Rector/MethodCall/ReplaceStringWithClassConstantRector.php @@ -13,7 +13,7 @@ use Rector\Privatization\NodeFactory\ClassConstantFetchValueFactory; use Rector\Privatization\ValueObject\ReplaceStringWithClassConstant; use Symplify\RuleDocGenerator\ValueObject\CodeSample\ConfiguredCodeSample; use Symplify\RuleDocGenerator\ValueObject\RuleDefinition; -use RectorPrefix20220519\Webmozart\Assert\Assert; +use RectorPrefix20220520\Webmozart\Assert\Assert; /** * @see \Rector\Tests\Privatization\Rector\MethodCall\ReplaceStringWithClassConstantRector\ReplaceStringWithClassConstantRectorTest */ @@ -92,7 +92,7 @@ CODE_SAMPLE */ public function configure(array $configuration) : void { - \RectorPrefix20220519\Webmozart\Assert\Assert::allIsAOf($configuration, \Rector\Privatization\ValueObject\ReplaceStringWithClassConstant::class); + \RectorPrefix20220520\Webmozart\Assert\Assert::allIsAOf($configuration, \Rector\Privatization\ValueObject\ReplaceStringWithClassConstant::class); $this->replaceStringWithClassConstants = $configuration; } private function matchArg(\PhpParser\Node\Expr\MethodCall $methodCall, \Rector\Privatization\ValueObject\ReplaceStringWithClassConstant $replaceStringWithClassConstant) : ?\PhpParser\Node\Arg diff --git a/rules/Removing/NodeManipulator/ComplexNodeRemover.php b/rules/Removing/NodeManipulator/ComplexNodeRemover.php index 4f2a5849806..cf04aa06e70 100644 --- a/rules/Removing/NodeManipulator/ComplexNodeRemover.php +++ b/rules/Removing/NodeManipulator/ComplexNodeRemover.php @@ -21,7 +21,7 @@ use Rector\Core\ValueObject\MethodName; use Rector\DeadCode\SideEffect\SideEffectNodeDetector; use Rector\NodeNameResolver\NodeNameResolver; use Rector\NodeRemoval\NodeRemover; -use RectorPrefix20220519\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser; +use RectorPrefix20220520\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser; final class ComplexNodeRemover { /** @@ -54,7 +54,7 @@ final class ComplexNodeRemover * @var \Rector\Core\NodeAnalyzer\PropertyFetchAnalyzer */ private $propertyFetchAnalyzer; - public function __construct(\Rector\NodeNameResolver\NodeNameResolver $nodeNameResolver, \Rector\Core\PhpParser\Node\BetterNodeFinder $betterNodeFinder, \Rector\NodeRemoval\NodeRemover $nodeRemover, \Rector\DeadCode\SideEffect\SideEffectNodeDetector $sideEffectNodeDetector, \RectorPrefix20220519\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser $simpleCallableNodeTraverser, \Rector\Core\NodeAnalyzer\PropertyFetchAnalyzer $propertyFetchAnalyzer) + public function __construct(\Rector\NodeNameResolver\NodeNameResolver $nodeNameResolver, \Rector\Core\PhpParser\Node\BetterNodeFinder $betterNodeFinder, \Rector\NodeRemoval\NodeRemover $nodeRemover, \Rector\DeadCode\SideEffect\SideEffectNodeDetector $sideEffectNodeDetector, \RectorPrefix20220520\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser $simpleCallableNodeTraverser, \Rector\Core\NodeAnalyzer\PropertyFetchAnalyzer $propertyFetchAnalyzer) { $this->nodeNameResolver = $nodeNameResolver; $this->betterNodeFinder = $betterNodeFinder; diff --git a/rules/Removing/Rector/ClassMethod/ArgumentRemoverRector.php b/rules/Removing/Rector/ClassMethod/ArgumentRemoverRector.php index 94eeb616608..071386e3e8d 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 RectorPrefix20220519\Webmozart\Assert\Assert; +use RectorPrefix20220520\Webmozart\Assert\Assert; /** * @see \Rector\Tests\Removing\Rector\ClassMethod\ArgumentRemoverRector\ArgumentRemoverRectorTest */ @@ -65,7 +65,7 @@ CODE_SAMPLE */ public function configure(array $configuration) : void { - \RectorPrefix20220519\Webmozart\Assert\Assert::allIsAOf($configuration, \Rector\Removing\ValueObject\ArgumentRemover::class); + \RectorPrefix20220520\Webmozart\Assert\Assert::allIsAOf($configuration, \Rector\Removing\ValueObject\ArgumentRemover::class); $this->removedArguments = $configuration; } /** diff --git a/rules/Removing/Rector/Class_/RemoveInterfacesRector.php b/rules/Removing/Rector/Class_/RemoveInterfacesRector.php index 1ab7971f78f..c57de0bbc41 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 RectorPrefix20220519\Webmozart\Assert\Assert; +use RectorPrefix20220520\Webmozart\Assert\Assert; /** * @see \Rector\Tests\Removing\Rector\Class_\RemoveInterfacesRector\RemoveInterfacesRectorTest */ @@ -65,7 +65,7 @@ CODE_SAMPLE */ public function configure(array $configuration) : void { - \RectorPrefix20220519\Webmozart\Assert\Assert::allString($configuration); + \RectorPrefix20220520\Webmozart\Assert\Assert::allString($configuration); /** @var string[] $configuration */ $this->interfacesToRemove = $configuration; } diff --git a/rules/Removing/Rector/Class_/RemoveParentRector.php b/rules/Removing/Rector/Class_/RemoveParentRector.php index ab21bdf7f01..5504c1dcaea 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 RectorPrefix20220519\Webmozart\Assert\Assert; +use RectorPrefix20220520\Webmozart\Assert\Assert; /** * @see \Rector\Tests\Removing\Rector\Class_\RemoveParentRector\RemoveParentRectorTest */ @@ -77,7 +77,7 @@ CODE_SAMPLE */ public function configure(array $configuration) : void { - \RectorPrefix20220519\Webmozart\Assert\Assert::allString($configuration); + \RectorPrefix20220520\Webmozart\Assert\Assert::allString($configuration); $this->parentClassesToRemove = $configuration; } } diff --git a/rules/Removing/Rector/Class_/RemoveTraitUseRector.php b/rules/Removing/Rector/Class_/RemoveTraitUseRector.php index 9d4c89c8250..6e6981b4fcd 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 RectorPrefix20220519\Webmozart\Assert\Assert; +use RectorPrefix20220520\Webmozart\Assert\Assert; /** * @see \Rector\Tests\Removing\Rector\Class_\RemoveTraitUseRector\RemoveTraitUseRectorTest */ @@ -74,7 +74,7 @@ CODE_SAMPLE */ public function configure(array $configuration) : void { - \RectorPrefix20220519\Webmozart\Assert\Assert::allString($configuration); + \RectorPrefix20220520\Webmozart\Assert\Assert::allString($configuration); $this->traitsToRemove = $configuration; } } diff --git a/rules/Removing/Rector/FuncCall/RemoveFuncCallArgRector.php b/rules/Removing/Rector/FuncCall/RemoveFuncCallArgRector.php index 84534d6d0c2..6e4553a21c7 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 RectorPrefix20220519\Webmozart\Assert\Assert; +use RectorPrefix20220520\Webmozart\Assert\Assert; /** * @see \Rector\Tests\Removing\Rector\FuncCall\RemoveFuncCallArgRector\RemoveFuncCallArgRectorTest */ @@ -69,7 +69,7 @@ CODE_SAMPLE */ public function configure(array $configuration) : void { - \RectorPrefix20220519\Webmozart\Assert\Assert::allIsAOf($configuration, \Rector\Removing\ValueObject\RemoveFuncCallArg::class); + \RectorPrefix20220520\Webmozart\Assert\Assert::allIsAOf($configuration, \Rector\Removing\ValueObject\RemoveFuncCallArg::class); $this->removedFunctionArguments = $configuration; } } diff --git a/rules/Removing/Rector/FuncCall/RemoveFuncCallRector.php b/rules/Removing/Rector/FuncCall/RemoveFuncCallRector.php index 39d8a14bd83..d20cd3422f0 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 RectorPrefix20220519\Webmozart\Assert\Assert; +use RectorPrefix20220520\Webmozart\Assert\Assert; /** * @see \Rector\Tests\Removing\Rector\FuncCall\RemoveFuncCallRector\RemoveFuncCallRectorTest */ @@ -74,7 +74,7 @@ CODE_SAMPLE */ public function configure(array $configuration) : void { - \RectorPrefix20220519\Webmozart\Assert\Assert::allIsAOf($configuration, \Rector\Removing\ValueObject\RemoveFuncCall::class); + \RectorPrefix20220520\Webmozart\Assert\Assert::allIsAOf($configuration, \Rector\Removing\ValueObject\RemoveFuncCall::class); $this->removeFuncCalls = $configuration; } private function refactorFuncCallsWithPositions(\PhpParser\Node\Expr\FuncCall $funcCall, \Rector\Removing\ValueObject\RemoveFuncCall $removeFuncCall) : ?\PhpParser\Node\Expr\FuncCall diff --git a/rules/Renaming/NodeManipulator/ClassRenamer.php b/rules/Renaming/NodeManipulator/ClassRenamer.php index 10ecd1dcf8c..a0d3a50567e 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 RectorPrefix20220519\Nette\Utils\Strings; +use RectorPrefix20220520\Nette\Utils\Strings; use PhpParser\Node; use PhpParser\Node\AttributeGroup; use PhpParser\Node\Expr\New_; @@ -33,8 +33,8 @@ use Rector\NodeTypeResolver\Node\AttributeKey; use Rector\NodeTypeResolver\PhpDoc\NodeAnalyzer\DocBlockClassRenamer; use Rector\NodeTypeResolver\ValueObject\OldToNewType; use Rector\StaticTypeMapper\ValueObject\Type\FullyQualifiedObjectType; -use RectorPrefix20220519\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser; -use RectorPrefix20220519\Symplify\PackageBuilder\Parameter\ParameterProvider; +use RectorPrefix20220520\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser; +use RectorPrefix20220520\Symplify\PackageBuilder\Parameter\ParameterProvider; final class ClassRenamer { /** @@ -100,7 +100,7 @@ final class ClassRenamer * @var \Rector\Naming\Naming\UseImportsResolver */ private $useImportsResolver; - public function __construct(\Rector\Core\PhpParser\Node\BetterNodeFinder $betterNodeFinder, \RectorPrefix20220519\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, \RectorPrefix20220519\Symplify\PackageBuilder\Parameter\ParameterProvider $parameterProvider, \Rector\Naming\Naming\UseImportsResolver $useImportsResolver) + public function __construct(\Rector\Core\PhpParser\Node\BetterNodeFinder $betterNodeFinder, \RectorPrefix20220520\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, \RectorPrefix20220520\Symplify\PackageBuilder\Parameter\ParameterProvider $parameterProvider, \Rector\Naming\Naming\UseImportsResolver $useImportsResolver) { $this->betterNodeFinder = $betterNodeFinder; $this->simpleCallableNodeTraverser = $simpleCallableNodeTraverser; @@ -169,7 +169,7 @@ final class ClassRenamer if ($parentNode->name !== $name) { return \false; } - $namespaceNewName = \RectorPrefix20220519\Nette\Utils\Strings::before($newName, '\\', -1); + $namespaceNewName = \RectorPrefix20220520\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 16b3f2b1217..c1241c9e12f 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 RectorPrefix20220519\Webmozart\Assert\Assert; +use RectorPrefix20220520\Webmozart\Assert\Assert; /** * @see \Rector\Tests\Renaming\Rector\ClassConstFetch\RenameClassConstFetchRector\RenameClassConstFetchRectorTest */ @@ -68,7 +68,7 @@ CODE_SAMPLE */ public function configure(array $configuration) : void { - \RectorPrefix20220519\Webmozart\Assert\Assert::allIsAOf($configuration, \Rector\Renaming\Contract\RenameClassConstFetchInterface::class); + \RectorPrefix20220520\Webmozart\Assert\Assert::allIsAOf($configuration, \Rector\Renaming\Contract\RenameClassConstFetchInterface::class); $this->renameClassConstFetches = $configuration; } 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 1cab3912e46..86d1f85bfcb 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 RectorPrefix20220519\Webmozart\Assert\Assert; +use RectorPrefix20220520\Webmozart\Assert\Assert; /** * @see \Rector\Tests\Renaming\Rector\ClassMethod\RenameAnnotationRector\RenameAnnotationRectorTest */ @@ -99,7 +99,7 @@ CODE_SAMPLE */ public function configure(array $configuration) : void { - \RectorPrefix20220519\Webmozart\Assert\Assert::allIsAOf($configuration, \Rector\Renaming\Contract\RenameAnnotationInterface::class); + \RectorPrefix20220520\Webmozart\Assert\Assert::allIsAOf($configuration, \Rector\Renaming\Contract\RenameAnnotationInterface::class); $this->renameAnnotations = $configuration; } } diff --git a/rules/Renaming/Rector/ConstFetch/RenameConstantRector.php b/rules/Renaming/Rector/ConstFetch/RenameConstantRector.php index fb438b84c45..5b8c3456345 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 RectorPrefix20220519\Webmozart\Assert\Assert; +use RectorPrefix20220520\Webmozart\Assert\Assert; /** * @see \Rector\Tests\Renaming\Rector\ConstFetch\RenameConstantRector\RenameConstantRectorTest */ @@ -68,8 +68,8 @@ CODE_SAMPLE */ public function configure(array $configuration) : void { - \RectorPrefix20220519\Webmozart\Assert\Assert::allString(\array_keys($configuration)); - \RectorPrefix20220519\Webmozart\Assert\Assert::allString($configuration); + \RectorPrefix20220520\Webmozart\Assert\Assert::allString(\array_keys($configuration)); + \RectorPrefix20220520\Webmozart\Assert\Assert::allString($configuration); /** @var array $configuration */ $this->oldToNewConstants = $configuration; } diff --git a/rules/Renaming/Rector/FileWithoutNamespace/PseudoNamespaceToNamespaceRector.php b/rules/Renaming/Rector/FileWithoutNamespace/PseudoNamespaceToNamespaceRector.php index 30a65770c19..8e751e520cb 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 RectorPrefix20220519\Nette\Utils\Strings; +use RectorPrefix20220520\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 RectorPrefix20220519\Webmozart\Assert\Assert; +use RectorPrefix20220520\Webmozart\Assert\Assert; /** * @see \Rector\Tests\Renaming\Rector\FileWithoutNamespace\PseudoNamespaceToNamespaceRector\PseudoNamespaceToNamespaceRectorTest */ @@ -96,7 +96,7 @@ CODE_SAMPLE */ public function configure(array $configuration) : void { - \RectorPrefix20220519\Webmozart\Assert\Assert::allIsAOf($configuration, \Rector\Renaming\ValueObject\PseudoNamespaceToNamespace::class); + \RectorPrefix20220520\Webmozart\Assert\Assert::allIsAOf($configuration, \Rector\Renaming\ValueObject\PseudoNamespaceToNamespace::class); $this->pseudoNamespacesToNamespaces = $configuration; } /** @@ -164,10 +164,10 @@ CODE_SAMPLE return null; } /** @var string $namespaceName */ - $namespaceName = \RectorPrefix20220519\Nette\Utils\Strings::before($name, '_', -1); + $namespaceName = \RectorPrefix20220520\Nette\Utils\Strings::before($name, '_', -1); /** @var string $lastNewNamePart */ - $lastNewNamePart = \RectorPrefix20220519\Nette\Utils\Strings::after($name, '_', -1); - $newNamespace = \RectorPrefix20220519\Nette\Utils\Strings::replace($namespaceName, self::SPLIT_BY_UNDERSCORE_REGEX, '$1$2\\\\$4'); + $lastNewNamePart = \RectorPrefix20220520\Nette\Utils\Strings::after($name, '_', -1); + $newNamespace = \RectorPrefix20220520\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 5cebdb049eb..c14976384e6 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 RectorPrefix20220519\Webmozart\Assert\Assert; +use RectorPrefix20220520\Webmozart\Assert\Assert; /** * @see \Rector\Tests\Renaming\Rector\FuncCall\RenameFunctionRector\RenameFunctionRectorTest */ @@ -57,8 +57,8 @@ final class RenameFunctionRector extends \Rector\Core\Rector\AbstractRector impl */ public function configure(array $configuration) : void { - \RectorPrefix20220519\Webmozart\Assert\Assert::allString(\array_values($configuration)); - \RectorPrefix20220519\Webmozart\Assert\Assert::allString($configuration); + \RectorPrefix20220520\Webmozart\Assert\Assert::allString(\array_values($configuration)); + \RectorPrefix20220520\Webmozart\Assert\Assert::allString($configuration); $this->oldFunctionToNewFunction = $configuration; } 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 234e4487779..11a8ccc5c89 100644 --- a/rules/Renaming/Rector/MethodCall/RenameMethodRector.php +++ b/rules/Renaming/Rector/MethodCall/RenameMethodRector.php @@ -23,7 +23,7 @@ use Rector\Renaming\ValueObject\MethodCallRename; use Rector\Renaming\ValueObject\MethodCallRenameWithArrayKey; use Symplify\RuleDocGenerator\ValueObject\CodeSample\ConfiguredCodeSample; use Symplify\RuleDocGenerator\ValueObject\RuleDefinition; -use RectorPrefix20220519\Webmozart\Assert\Assert; +use RectorPrefix20220520\Webmozart\Assert\Assert; /** * @see \Rector\Tests\Renaming\Rector\MethodCall\RenameMethodRector\RenameMethodRectorTest */ @@ -111,7 +111,7 @@ CODE_SAMPLE */ public function configure(array $configuration) : void { - \RectorPrefix20220519\Webmozart\Assert\Assert::allIsAOf($configuration, \Rector\Renaming\Contract\MethodCallRenameInterface::class); + \RectorPrefix20220520\Webmozart\Assert\Assert::allIsAOf($configuration, \Rector\Renaming\Contract\MethodCallRenameInterface::class); $this->methodCallRenames = $configuration; $this->methodCallRenameCollector->addMethodCallRenames($configuration); } diff --git a/rules/Renaming/Rector/Name/RenameClassRector.php b/rules/Renaming/Rector/Name/RenameClassRector.php index d90c1c7c50e..e98aaf7326b 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 RectorPrefix20220519\Webmozart\Assert\Assert; +use RectorPrefix20220520\Webmozart\Assert\Assert; /** * @see \Rector\Tests\Renaming\Rector\Name\RenameClassRector\RenameClassRectorTest */ @@ -104,8 +104,8 @@ CODE_SAMPLE */ public function configure(array $configuration) : void { - \RectorPrefix20220519\Webmozart\Assert\Assert::allString($configuration); - \RectorPrefix20220519\Webmozart\Assert\Assert::allString(\array_keys($configuration)); + \RectorPrefix20220520\Webmozart\Assert\Assert::allString($configuration); + \RectorPrefix20220520\Webmozart\Assert\Assert::allString(\array_keys($configuration)); $this->addOldToNewClasses($configuration); } /** @@ -126,8 +126,8 @@ CODE_SAMPLE */ private function addOldToNewClasses(array $oldToNewClasses) : void { - \RectorPrefix20220519\Webmozart\Assert\Assert::allString(\array_keys($oldToNewClasses)); - \RectorPrefix20220519\Webmozart\Assert\Assert::allString($oldToNewClasses); + \RectorPrefix20220520\Webmozart\Assert\Assert::allString(\array_keys($oldToNewClasses)); + \RectorPrefix20220520\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 10cea2a7ff0..df486eb7027 100644 --- a/rules/Renaming/Rector/Namespace_/RenameNamespaceRector.php +++ b/rules/Renaming/Rector/Namespace_/RenameNamespaceRector.php @@ -24,7 +24,7 @@ use Rector\NodeTypeResolver\PhpDoc\NodeAnalyzer\DocBlockNamespaceRenamer; use Rector\Renaming\ValueObject\RenamedNamespace; use Symplify\RuleDocGenerator\ValueObject\CodeSample\ConfiguredCodeSample; use Symplify\RuleDocGenerator\ValueObject\RuleDefinition; -use RectorPrefix20220519\Webmozart\Assert\Assert; +use RectorPrefix20220520\Webmozart\Assert\Assert; /** * @see \Rector\Tests\Renaming\Rector\Namespace_\RenameNamespaceRector\RenameNamespaceRectorTest */ @@ -119,8 +119,8 @@ final class RenameNamespaceRector extends \Rector\Core\Rector\AbstractRector imp */ public function configure(array $configuration) : void { - \RectorPrefix20220519\Webmozart\Assert\Assert::allStringNotEmpty(\array_keys($configuration)); - \RectorPrefix20220519\Webmozart\Assert\Assert::allStringNotEmpty($configuration); + \RectorPrefix20220520\Webmozart\Assert\Assert::allStringNotEmpty(\array_keys($configuration)); + \RectorPrefix20220520\Webmozart\Assert\Assert::allStringNotEmpty($configuration); /** @var array $configuration */ $this->oldToNewNamespaces = $configuration; } diff --git a/rules/Renaming/Rector/PropertyFetch/RenamePropertyRector.php b/rules/Renaming/Rector/PropertyFetch/RenamePropertyRector.php index 65eb166c5d0..e281f026554 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 RectorPrefix20220519\Webmozart\Assert\Assert; +use RectorPrefix20220520\Webmozart\Assert\Assert; /** * @see \Rector\Tests\Renaming\Rector\PropertyFetch\RenamePropertyRector\RenamePropertyRectorTest */ @@ -53,7 +53,7 @@ final class RenamePropertyRector extends \Rector\Core\Rector\AbstractRector impl */ public function configure(array $configuration) : void { - \RectorPrefix20220519\Webmozart\Assert\Assert::allIsAOf($configuration, \Rector\Renaming\ValueObject\RenameProperty::class); + \RectorPrefix20220520\Webmozart\Assert\Assert::allIsAOf($configuration, \Rector\Renaming\ValueObject\RenameProperty::class); $this->renamedProperties = $configuration; } 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 1cb98e299b5..416f775e8f4 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 RectorPrefix20220519\Webmozart\Assert\Assert; +use RectorPrefix20220520\Webmozart\Assert\Assert; /** * @see \Rector\Tests\Renaming\Rector\StaticCall\RenameStaticMethodRector\RenameStaticMethodRectorTest */ @@ -54,7 +54,7 @@ final class RenameStaticMethodRector extends \Rector\Core\Rector\AbstractRector */ public function configure(array $configuration) : void { - \RectorPrefix20220519\Webmozart\Assert\Assert::allIsAOf($configuration, \Rector\Renaming\ValueObject\RenameStaticMethod::class); + \RectorPrefix20220520\Webmozart\Assert\Assert::allIsAOf($configuration, \Rector\Renaming\ValueObject\RenameStaticMethod::class); $this->staticMethodRenames = $configuration; } 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 c0a29161d6f..198017941e5 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 RectorPrefix20220519\Webmozart\Assert\Assert; +use RectorPrefix20220520\Webmozart\Assert\Assert; /** * @changelog https://github.com/symfony/symfony/pull/35858 * @@ -68,8 +68,8 @@ CODE_SAMPLE */ public function configure(array $configuration) : void { - \RectorPrefix20220519\Webmozart\Assert\Assert::allString(\array_keys($configuration)); - \RectorPrefix20220519\Webmozart\Assert\Assert::allString($configuration); + \RectorPrefix20220520\Webmozart\Assert\Assert::allString(\array_keys($configuration)); + \RectorPrefix20220520\Webmozart\Assert\Assert::allString($configuration); $this->stringChanges = $configuration; } } diff --git a/rules/Restoration/Rector/Namespace_/CompleteImportForPartialAnnotationRector.php b/rules/Restoration/Rector/Namespace_/CompleteImportForPartialAnnotationRector.php index 7558f6da6dd..9e68a276ba5 100644 --- a/rules/Restoration/Rector/Namespace_/CompleteImportForPartialAnnotationRector.php +++ b/rules/Restoration/Rector/Namespace_/CompleteImportForPartialAnnotationRector.php @@ -13,10 +13,10 @@ use Rector\Core\Contract\Rector\ConfigurableRectorInterface; use Rector\Core\Rector\AbstractRector; use Rector\Core\Util\StringUtils; use Rector\Restoration\ValueObject\CompleteImportForPartialAnnotation; -use RectorPrefix20220519\Symplify\Astral\ValueObject\NodeBuilder\UseBuilder; +use RectorPrefix20220520\Symplify\Astral\ValueObject\NodeBuilder\UseBuilder; use Symplify\RuleDocGenerator\ValueObject\CodeSample\ConfiguredCodeSample; use Symplify\RuleDocGenerator\ValueObject\RuleDefinition; -use RectorPrefix20220519\Webmozart\Assert\Assert; +use RectorPrefix20220520\Webmozart\Assert\Assert; /** * @see \Rector\Tests\Restoration\Rector\Namespace_\CompleteImportForPartialAnnotationRector\CompleteImportForPartialAnnotationRectorTest */ @@ -95,7 +95,7 @@ CODE_SAMPLE */ public function configure(array $configuration) : void { - \RectorPrefix20220519\Webmozart\Assert\Assert::allIsAOf($configuration, \Rector\Restoration\ValueObject\CompleteImportForPartialAnnotation::class); + \RectorPrefix20220520\Webmozart\Assert\Assert::allIsAOf($configuration, \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($configuration, $default); } @@ -119,7 +119,7 @@ CODE_SAMPLE } private function addImportToNamespace(\PhpParser\Node\Stmt\Namespace_ $namespace, \Rector\Restoration\ValueObject\CompleteImportForPartialAnnotation $completeImportForPartialAnnotation) : \PhpParser\Node\Stmt\Namespace_ { - $useBuilder = new \RectorPrefix20220519\Symplify\Astral\ValueObject\NodeBuilder\UseBuilder($completeImportForPartialAnnotation->getUse()); + $useBuilder = new \RectorPrefix20220520\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 46d47316999..a71921d27c0 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 RectorPrefix20220519\Webmozart\Assert\Assert; +use RectorPrefix20220520\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] ?? (bool) \current($configuration); - \RectorPrefix20220519\Webmozart\Assert\Assert::boolean($treatAsNonEmpty); + \RectorPrefix20220520\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 8012fc6a4d7..197703b31c3 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 RectorPrefix20220519\Webmozart\Assert\Assert; +use RectorPrefix20220520\Webmozart\Assert\Assert; /** * @see \Rector\Tests\Transform\Rector\Assign\DimFetchAssignToMethodCallRector\DimFetchAssignToMethodCallRectorTest */ @@ -86,7 +86,7 @@ CODE_SAMPLE */ public function configure(array $configuration) : void { - \RectorPrefix20220519\Webmozart\Assert\Assert::allIsAOf($configuration, \Rector\Transform\ValueObject\DimFetchAssignToMethodCall::class); + \RectorPrefix20220520\Webmozart\Assert\Assert::allIsAOf($configuration, \Rector\Transform\ValueObject\DimFetchAssignToMethodCall::class); $this->dimFetchAssignToMethodCalls = $configuration; } 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 e23dd185743..685345968bc 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 RectorPrefix20220519\Webmozart\Assert\Assert; +use RectorPrefix20220520\Webmozart\Assert\Assert; /** * @see \Rector\Tests\Transform\Rector\Assign\GetAndSetToMethodCallRector\GetAndSetToMethodCallRectorTest */ @@ -80,7 +80,7 @@ CODE_SAMPLE */ public function configure(array $configuration) : void { - \RectorPrefix20220519\Webmozart\Assert\Assert::allIsAOf($configuration, \Rector\Transform\ValueObject\GetAndSetToMethodCall::class); + \RectorPrefix20220520\Webmozart\Assert\Assert::allIsAOf($configuration, \Rector\Transform\ValueObject\GetAndSetToMethodCall::class); $this->getAndSetToMethodCalls = $configuration; } 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 98d8360a56c..391582c98e6 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 RectorPrefix20220519\Webmozart\Assert\Assert; +use RectorPrefix20220520\Webmozart\Assert\Assert; /** * @see \Rector\Tests\Transform\Rector\Assign\PropertyAssignToMethodCallRector\PropertyAssignToMethodCallRectorTest */ @@ -68,7 +68,7 @@ CODE_SAMPLE */ public function configure(array $configuration) : void { - \RectorPrefix20220519\Webmozart\Assert\Assert::allIsAOf($configuration, \Rector\Transform\ValueObject\PropertyAssignToMethodCall::class); + \RectorPrefix20220520\Webmozart\Assert\Assert::allIsAOf($configuration, \Rector\Transform\ValueObject\PropertyAssignToMethodCall::class); $this->propertyAssignsToMethodCalls = $configuration; } } diff --git a/rules/Transform/Rector/Assign/PropertyFetchToMethodCallRector.php b/rules/Transform/Rector/Assign/PropertyFetchToMethodCallRector.php index fee25c514c2..b1c33a87c08 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 RectorPrefix20220519\Webmozart\Assert\Assert; +use RectorPrefix20220520\Webmozart\Assert\Assert; /** * @see \Rector\Tests\Transform\Rector\Assign\PropertyFetchToMethodCallRector\PropertyFetchToMethodCallRectorTest */ @@ -64,7 +64,7 @@ CODE_SAMPLE */ public function configure(array $configuration) : void { - \RectorPrefix20220519\Webmozart\Assert\Assert::allIsAOf($configuration, \Rector\Transform\ValueObject\PropertyFetchToMethodCall::class); + \RectorPrefix20220520\Webmozart\Assert\Assert::allIsAOf($configuration, \Rector\Transform\ValueObject\PropertyFetchToMethodCall::class); $this->propertiesToMethodCalls = $configuration; } 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 967e78e6e06..4539134bec3 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 RectorPrefix20220519\Webmozart\Assert\Assert; +use RectorPrefix20220520\Webmozart\Assert\Assert; /** * @changelog https://github.com/doctrine/dbal/blob/3.1.x/src/Types/Types.php * @@ -86,7 +86,7 @@ CODE_SAMPLE */ public function configure(array $configuration) : void { - \RectorPrefix20220519\Webmozart\Assert\Assert::allIsAOf($configuration, \Rector\Transform\ValueObject\AttributeKeyToClassConstFetch::class); + \RectorPrefix20220520\Webmozart\Assert\Assert::allIsAOf($configuration, \Rector\Transform\ValueObject\AttributeKeyToClassConstFetch::class); $this->attributeKeysToClassConstFetches = $configuration; } } diff --git a/rules/Transform/Rector/ClassMethod/WrapReturnRector.php b/rules/Transform/Rector/ClassMethod/WrapReturnRector.php index b462e8eb181..36ad9dc3ba8 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 RectorPrefix20220519\Webmozart\Assert\Assert; +use RectorPrefix20220520\Webmozart\Assert\Assert; /** * @see \Rector\Tests\Transform\Rector\ClassMethod\WrapReturnRector\WrapReturnRectorTest */ @@ -76,7 +76,7 @@ CODE_SAMPLE */ public function configure(array $configuration) : void { - \RectorPrefix20220519\Webmozart\Assert\Assert::allIsAOf($configuration, \Rector\Transform\ValueObject\WrapReturn::class); + \RectorPrefix20220520\Webmozart\Assert\Assert::allIsAOf($configuration, \Rector\Transform\ValueObject\WrapReturn::class); $this->typeMethodWraps = $configuration; } private function wrap(\PhpParser\Node\Stmt\ClassMethod $classMethod, bool $isArrayWrap) : ?\PhpParser\Node\Stmt\ClassMethod diff --git a/rules/Transform/Rector/Class_/AddAllowDynamicPropertiesAttributeRector.php b/rules/Transform/Rector/Class_/AddAllowDynamicPropertiesAttributeRector.php index a8d7ce53d34..04a03cdc5a0 100644 --- a/rules/Transform/Rector/Class_/AddAllowDynamicPropertiesAttributeRector.php +++ b/rules/Transform/Rector/Class_/AddAllowDynamicPropertiesAttributeRector.php @@ -17,7 +17,7 @@ use Rector\PhpAttribute\Printer\PhpAttributeGroupFactory; use Rector\VersionBonding\Contract\MinPhpVersionInterface; use Symplify\RuleDocGenerator\ValueObject\CodeSample\ConfiguredCodeSample; use Symplify\RuleDocGenerator\ValueObject\RuleDefinition; -use RectorPrefix20220519\Webmozart\Assert\Assert; +use RectorPrefix20220520\Webmozart\Assert\Assert; /** * @changelog https://wiki.php.net/rfc/deprecate_dynamic_properties * @@ -89,7 +89,7 @@ CODE_SAMPLE public function configure(array $configuration) : void { $transformOnNamespaces = $configuration; - \RectorPrefix20220519\Webmozart\Assert\Assert::allString($transformOnNamespaces); + \RectorPrefix20220520\Webmozart\Assert\Assert::allString($transformOnNamespaces); $this->transformOnNamespaces = $transformOnNamespaces; } /** diff --git a/rules/Transform/Rector/Class_/AddInterfaceByTraitRector.php b/rules/Transform/Rector/Class_/AddInterfaceByTraitRector.php index 631c5ecd1a1..8cae7ca429c 100644 --- a/rules/Transform/Rector/Class_/AddInterfaceByTraitRector.php +++ b/rules/Transform/Rector/Class_/AddInterfaceByTraitRector.php @@ -12,7 +12,7 @@ use Rector\Core\Rector\AbstractRector; use Rector\Core\Reflection\ReflectionResolver; use Symplify\RuleDocGenerator\ValueObject\CodeSample\ConfiguredCodeSample; use Symplify\RuleDocGenerator\ValueObject\RuleDefinition; -use RectorPrefix20220519\Webmozart\Assert\Assert; +use RectorPrefix20220520\Webmozart\Assert\Assert; /** * @see \Rector\Tests\Transform\Rector\Class_\AddInterfaceByTraitRector\AddInterfaceByTraitRectorTest */ @@ -87,8 +87,8 @@ CODE_SAMPLE */ public function configure(array $configuration) : void { - \RectorPrefix20220519\Webmozart\Assert\Assert::allString(\array_keys($configuration)); - \RectorPrefix20220519\Webmozart\Assert\Assert::allString($configuration); + \RectorPrefix20220520\Webmozart\Assert\Assert::allString(\array_keys($configuration)); + \RectorPrefix20220520\Webmozart\Assert\Assert::allString($configuration); $this->interfaceByTrait = $configuration; } } diff --git a/rules/Transform/Rector/Class_/MergeInterfacesRector.php b/rules/Transform/Rector/Class_/MergeInterfacesRector.php index b5f6c4f8b84..89742c7766e 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 RectorPrefix20220519\Webmozart\Assert\Assert; +use RectorPrefix20220520\Webmozart\Assert\Assert; /** * Covers cases like * - https://github.com/FriendsOfPHP/PHP-CS-Fixer/commit/a1cdb4d2dd8f45d731244eed406e1d537218cc66 @@ -74,8 +74,8 @@ CODE_SAMPLE */ public function configure(array $configuration) : void { - \RectorPrefix20220519\Webmozart\Assert\Assert::allString(\array_keys($configuration)); - \RectorPrefix20220519\Webmozart\Assert\Assert::allString($configuration); + \RectorPrefix20220520\Webmozart\Assert\Assert::allString(\array_keys($configuration)); + \RectorPrefix20220520\Webmozart\Assert\Assert::allString($configuration); $this->oldToNewInterfaces = $configuration; } 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 b12e8a60540..4d1d7db93ff 100644 --- a/rules/Transform/Rector/Class_/ParentClassToTraitsRector.php +++ b/rules/Transform/Rector/Class_/ParentClassToTraitsRector.php @@ -13,7 +13,7 @@ use Rector\Core\Rector\AbstractRector; use Rector\Transform\ValueObject\ParentClassToTraits; use Symplify\RuleDocGenerator\ValueObject\CodeSample\ConfiguredCodeSample; use Symplify\RuleDocGenerator\ValueObject\RuleDefinition; -use RectorPrefix20220519\Webmozart\Assert\Assert; +use RectorPrefix20220520\Webmozart\Assert\Assert; /** * Can handle cases like: * - https://doc.nette.org/en/2.4/migration-2-4#toc-nette-smartobject @@ -93,7 +93,7 @@ CODE_SAMPLE */ public function configure(array $configuration) : void { - \RectorPrefix20220519\Webmozart\Assert\Assert::allIsAOf($configuration, \Rector\Transform\ValueObject\ParentClassToTraits::class); + \RectorPrefix20220520\Webmozart\Assert\Assert::allIsAOf($configuration, \Rector\Transform\ValueObject\ParentClassToTraits::class); $this->parentClassToTraits = $configuration; } private function removeParentClass(\PhpParser\Node\Stmt\Class_ $class) : void diff --git a/rules/Transform/Rector/Class_/RemoveAllowDynamicPropertiesAttributeRector.php b/rules/Transform/Rector/Class_/RemoveAllowDynamicPropertiesAttributeRector.php index 002326bd508..94a958c3fc1 100644 --- a/rules/Transform/Rector/Class_/RemoveAllowDynamicPropertiesAttributeRector.php +++ b/rules/Transform/Rector/Class_/RemoveAllowDynamicPropertiesAttributeRector.php @@ -10,7 +10,7 @@ use Rector\Core\Rector\AbstractRector; use Rector\Php80\NodeAnalyzer\PhpAttributeAnalyzer; use Symplify\RuleDocGenerator\ValueObject\CodeSample\ConfiguredCodeSample; use Symplify\RuleDocGenerator\ValueObject\RuleDefinition; -use RectorPrefix20220519\Webmozart\Assert\Assert; +use RectorPrefix20220520\Webmozart\Assert\Assert; /** * @changelog https://wiki.php.net/rfc/deprecate_dynamic_properties * @@ -64,7 +64,7 @@ CODE_SAMPLE public function configure(array $configuration) : void { $transformOnNamespaces = $configuration; - \RectorPrefix20220519\Webmozart\Assert\Assert::allString($transformOnNamespaces); + \RectorPrefix20220520\Webmozart\Assert\Assert::allString($transformOnNamespaces); $this->transformOnNamespaces = $transformOnNamespaces; } /** diff --git a/rules/Transform/Rector/FuncCall/ArgumentFuncCallToMethodCallRector.php b/rules/Transform/Rector/FuncCall/ArgumentFuncCallToMethodCallRector.php index 1b07f5c7cbb..83282309397 100644 --- a/rules/Transform/Rector/FuncCall/ArgumentFuncCallToMethodCallRector.php +++ b/rules/Transform/Rector/FuncCall/ArgumentFuncCallToMethodCallRector.php @@ -24,7 +24,7 @@ use Rector\Transform\ValueObject\ArgumentFuncCallToMethodCall; use Rector\Transform\ValueObject\ArrayFuncCallToMethodCall; use Symplify\RuleDocGenerator\ValueObject\CodeSample\ConfiguredCodeSample; use Symplify\RuleDocGenerator\ValueObject\RuleDefinition; -use RectorPrefix20220519\Webmozart\Assert\Assert; +use RectorPrefix20220520\Webmozart\Assert\Assert; /** * @see \Rector\Tests\Transform\Rector\FuncCall\ArgumentFuncCallToMethodCallRector\ArgumentFuncCallToMethodCallRectorTest */ @@ -124,7 +124,7 @@ CODE_SAMPLE */ public function configure(array $configuration) : void { - \RectorPrefix20220519\Webmozart\Assert\Assert::allIsAOf($configuration, \Rector\Transform\Contract\ValueObject\ArgumentFuncCallToMethodCallInterface::class); + \RectorPrefix20220520\Webmozart\Assert\Assert::allIsAOf($configuration, \Rector\Transform\Contract\ValueObject\ArgumentFuncCallToMethodCallInterface::class); $this->argumentFuncCallToMethodCalls = $configuration; } 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 3ce2942d2fb..cb3ae51e3ed 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 RectorPrefix20220519\Webmozart\Assert\Assert; +use RectorPrefix20220520\Webmozart\Assert\Assert; /** * @see \Rector\Tests\Transform\Rector\FuncCall\FuncCallToConstFetchRector\FunctionCallToConstantRectorTest */ @@ -69,8 +69,8 @@ CODE_SAMPLE */ public function configure(array $configuration) : void { - \RectorPrefix20220519\Webmozart\Assert\Assert::allString($configuration); - \RectorPrefix20220519\Webmozart\Assert\Assert::allString(\array_keys($configuration)); + \RectorPrefix20220520\Webmozart\Assert\Assert::allString($configuration); + \RectorPrefix20220520\Webmozart\Assert\Assert::allString(\array_keys($configuration)); /** @var array $configuration */ $this->functionsToConstants = $configuration; } diff --git a/rules/Transform/Rector/FuncCall/FuncCallToMethodCallRector.php b/rules/Transform/Rector/FuncCall/FuncCallToMethodCallRector.php index 93de52d6af9..3ba01837ff4 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 RectorPrefix20220519\Webmozart\Assert\Assert; +use RectorPrefix20220520\Webmozart\Assert\Assert; /** * @see \Rector\Tests\Transform\Rector\FuncCall\FuncCallToMethodCallRector\FuncCallToMethodCallRectorTest */ @@ -101,7 +101,7 @@ CODE_SAMPLE */ public function configure(array $configuration) : void { - \RectorPrefix20220519\Webmozart\Assert\Assert::allIsAOf($configuration, \Rector\Transform\ValueObject\FuncCallToMethodCall::class); + \RectorPrefix20220520\Webmozart\Assert\Assert::allIsAOf($configuration, \Rector\Transform\ValueObject\FuncCallToMethodCall::class); $this->funcNameToMethodCallNames = $configuration; } } diff --git a/rules/Transform/Rector/FuncCall/FuncCallToNewRector.php b/rules/Transform/Rector/FuncCall/FuncCallToNewRector.php index 19c15e87999..257d7da3a1f 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 RectorPrefix20220519\Webmozart\Assert\Assert; +use RectorPrefix20220520\Webmozart\Assert\Assert; /** * @see \Rector\Tests\Transform\Rector\FuncCall\FuncCallToNewRector\FuncCallToNewRectorTest */ @@ -68,7 +68,7 @@ CODE_SAMPLE */ public function configure(array $configuration) : void { - \RectorPrefix20220519\Webmozart\Assert\Assert::allString($configuration); + \RectorPrefix20220520\Webmozart\Assert\Assert::allString($configuration); $this->functionToNew = $configuration; } } diff --git a/rules/Transform/Rector/FuncCall/FuncCallToStaticCallRector.php b/rules/Transform/Rector/FuncCall/FuncCallToStaticCallRector.php index e2a6c220256..79d6e043db0 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 RectorPrefix20220519\Webmozart\Assert\Assert; +use RectorPrefix20220520\Webmozart\Assert\Assert; /** * @see \Rector\Tests\Transform\Rector\FuncCall\FuncCallToStaticCallRector\FuncCallToStaticCallRectorTest */ @@ -49,7 +49,7 @@ final class FuncCallToStaticCallRector extends \Rector\Core\Rector\AbstractRecto */ public function configure(array $configuration) : void { - \RectorPrefix20220519\Webmozart\Assert\Assert::allIsAOf($configuration, \Rector\Transform\ValueObject\FuncCallToStaticCall::class); + \RectorPrefix20220520\Webmozart\Assert\Assert::allIsAOf($configuration, \Rector\Transform\ValueObject\FuncCallToStaticCall::class); $this->funcCallsToStaticCalls = $configuration; } } diff --git a/rules/Transform/Rector/FunctionLike/FileGetContentsAndJsonDecodeToStaticCallRector.php b/rules/Transform/Rector/FunctionLike/FileGetContentsAndJsonDecodeToStaticCallRector.php index 3d94c1ca3e3..c7569571b67 100644 --- a/rules/Transform/Rector/FunctionLike/FileGetContentsAndJsonDecodeToStaticCallRector.php +++ b/rules/Transform/Rector/FunctionLike/FileGetContentsAndJsonDecodeToStaticCallRector.php @@ -17,7 +17,7 @@ use Rector\Core\Rector\AbstractRector; use Rector\Transform\ValueObject\StaticCallRecipe; use Symplify\RuleDocGenerator\ValueObject\CodeSample\ConfiguredCodeSample; use Symplify\RuleDocGenerator\ValueObject\RuleDefinition; -use RectorPrefix20220519\Webmozart\Assert\Assert; +use RectorPrefix20220520\Webmozart\Assert\Assert; /** * @see \Rector\Tests\Transform\Rector\FunctionLike\FileGetContentsAndJsonDecodeToStaticCallRector\FileGetContentsAndJsonDecodeToStaticCallRectorTest */ @@ -87,7 +87,7 @@ CODE_SAMPLE public function configure(array $configuration) : void { $staticCallRecipe = $configuration[0] ?? null; - \RectorPrefix20220519\Webmozart\Assert\Assert::isInstanceOf($staticCallRecipe, \Rector\Transform\ValueObject\StaticCallRecipe::class); + \RectorPrefix20220520\Webmozart\Assert\Assert::isInstanceOf($staticCallRecipe, \Rector\Transform\ValueObject\StaticCallRecipe::class); $this->staticCallRecipe = $staticCallRecipe; } private function createStaticCall(\PhpParser\Node\Expr\FuncCall $fileGetContentsFuncCall) : \PhpParser\Node\Expr\StaticCall diff --git a/rules/Transform/Rector/Isset_/UnsetAndIssetToMethodCallRector.php b/rules/Transform/Rector/Isset_/UnsetAndIssetToMethodCallRector.php index fd4d7601823..acbefc3677d 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 RectorPrefix20220519\Webmozart\Assert\Assert; +use RectorPrefix20220520\Webmozart\Assert\Assert; /** * @see \Rector\Tests\Transform\Rector\Isset_\UnsetAndIssetToMethodCallRector\UnsetAndIssetToMethodCallRectorTest */ @@ -69,7 +69,7 @@ CODE_SAMPLE */ public function configure(array $configuration) : void { - \RectorPrefix20220519\Webmozart\Assert\Assert::allIsAOf($configuration, \Rector\Transform\ValueObject\UnsetAndIssetToMethodCall::class); + \RectorPrefix20220520\Webmozart\Assert\Assert::allIsAOf($configuration, \Rector\Transform\ValueObject\UnsetAndIssetToMethodCall::class); $this->issetUnsetToMethodCalls = $configuration; } 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 5f8d5f5921e..69c68a41d78 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 RectorPrefix20220519\Webmozart\Assert\Assert; +use RectorPrefix20220520\Webmozart\Assert\Assert; /** * @changelog https://github.com/nette/caching/commit/5ffe263752af5ccf3866a28305e7b2669ab4da82 * @@ -103,7 +103,7 @@ CODE_SAMPLE */ public function configure(array $configuration) : void { - \RectorPrefix20220519\Webmozart\Assert\Assert::allIsAOf($configuration, \Rector\Transform\ValueObject\CallableInMethodCallToVariable::class); + \RectorPrefix20220520\Webmozart\Assert\Assert::allIsAOf($configuration, \Rector\Transform\ValueObject\CallableInMethodCallToVariable::class); $this->callableInMethodCallToVariable = $configuration; } } diff --git a/rules/Transform/Rector/MethodCall/MethodCallToAnotherMethodCallWithArgumentsRector.php b/rules/Transform/Rector/MethodCall/MethodCallToAnotherMethodCallWithArgumentsRector.php index 5e1d237c3b5..1773eadc220 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 RectorPrefix20220519\Webmozart\Assert\Assert; +use RectorPrefix20220520\Webmozart\Assert\Assert; /** * @see \Rector\Tests\Transform\Rector\MethodCall\MethodCallToAnotherMethodCallWithArgumentsRector\MethodCallToAnotherMethodCallWithArgumentsRectorTest */ @@ -63,7 +63,7 @@ CODE_SAMPLE */ public function configure(array $configuration) : void { - \RectorPrefix20220519\Webmozart\Assert\Assert::allIsAOf($configuration, \Rector\Transform\ValueObject\MethodCallToAnotherMethodCallWithArguments::class); + \RectorPrefix20220520\Webmozart\Assert\Assert::allIsAOf($configuration, \Rector\Transform\ValueObject\MethodCallToAnotherMethodCallWithArguments::class); $this->methodCallRenamesWithAddedArguments = $configuration; } } diff --git a/rules/Transform/Rector/MethodCall/MethodCallToMethodCallRector.php b/rules/Transform/Rector/MethodCall/MethodCallToMethodCallRector.php index 62038a92cf9..d62c3749c62 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 RectorPrefix20220519\Webmozart\Assert\Assert; +use RectorPrefix20220520\Webmozart\Assert\Assert; /** * @see \Rector\Tests\Transform\Rector\MethodCall\MethodCallToMethodCallRector\MethodCallToMethodCallRectorTest */ @@ -125,7 +125,7 @@ CODE_SAMPLE */ public function configure(array $configuration) : void { - \RectorPrefix20220519\Webmozart\Assert\Assert::allIsAOf($configuration, \Rector\Transform\ValueObject\MethodCallToMethodCall::class); + \RectorPrefix20220520\Webmozart\Assert\Assert::allIsAOf($configuration, \Rector\Transform\ValueObject\MethodCallToMethodCall::class); $this->methodCallsToMethodsCalls = $configuration; } 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 2d024eb9600..118e6fac450 100644 --- a/rules/Transform/Rector/MethodCall/MethodCallToPropertyFetchRector.php +++ b/rules/Transform/Rector/MethodCall/MethodCallToPropertyFetchRector.php @@ -10,7 +10,7 @@ use Rector\Core\Rector\AbstractRector; use Rector\Transform\ValueObject\MethodCallToPropertyFetch; use Symplify\RuleDocGenerator\ValueObject\CodeSample\ConfiguredCodeSample; use Symplify\RuleDocGenerator\ValueObject\RuleDefinition; -use RectorPrefix20220519\Webmozart\Assert\Assert; +use RectorPrefix20220520\Webmozart\Assert\Assert; /** * @see \Rector\Tests\Transform\Rector\MethodCall\MethodCallToPropertyFetchRector\MethodCallToPropertyFetchRectorTest */ @@ -70,7 +70,7 @@ CODE_SAMPLE */ public function configure(array $configuration) : void { - \RectorPrefix20220519\Webmozart\Assert\Assert::allIsAOf($configuration, \Rector\Transform\ValueObject\MethodCallToPropertyFetch::class); + \RectorPrefix20220520\Webmozart\Assert\Assert::allIsAOf($configuration, \Rector\Transform\ValueObject\MethodCallToPropertyFetch::class); $this->methodCallsToPropertyFetches = $configuration; } } diff --git a/rules/Transform/Rector/MethodCall/MethodCallToStaticCallRector.php b/rules/Transform/Rector/MethodCall/MethodCallToStaticCallRector.php index 0039b56c0b4..09811b8a82b 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 RectorPrefix20220519\Webmozart\Assert\Assert; +use RectorPrefix20220520\Webmozart\Assert\Assert; /** * @see \Rector\Tests\Transform\Rector\MethodCall\MethodCallToStaticCallRector\MethodCallToStaticCallRectorTest */ @@ -84,7 +84,7 @@ CODE_SAMPLE */ public function configure(array $configuration) : void { - \RectorPrefix20220519\Webmozart\Assert\Assert::allIsAOf($configuration, \Rector\Transform\ValueObject\MethodCallToStaticCall::class); + \RectorPrefix20220520\Webmozart\Assert\Assert::allIsAOf($configuration, \Rector\Transform\ValueObject\MethodCallToStaticCall::class); $this->methodCallsToStaticCalls = $configuration; } } diff --git a/rules/Transform/Rector/MethodCall/ReplaceParentCallByPropertyCallRector.php b/rules/Transform/Rector/MethodCall/ReplaceParentCallByPropertyCallRector.php index f2b6b133711..257e8b9f02f 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 RectorPrefix20220519\Webmozart\Assert\Assert; +use RectorPrefix20220520\Webmozart\Assert\Assert; /** * @see \Rector\Tests\Transform\Rector\MethodCall\ReplaceParentCallByPropertyCallRector\ReplaceParentCallByPropertyCallRectorTest */ @@ -71,7 +71,7 @@ CODE_SAMPLE */ public function configure(array $configuration) : void { - \RectorPrefix20220519\Webmozart\Assert\Assert::allIsAOf($configuration, \Rector\Transform\ValueObject\ReplaceParentCallByPropertyCall::class); + \RectorPrefix20220520\Webmozart\Assert\Assert::allIsAOf($configuration, \Rector\Transform\ValueObject\ReplaceParentCallByPropertyCall::class); $this->parentCallToProperties = $configuration; } } diff --git a/rules/Transform/Rector/MethodCall/ServiceGetterToConstructorInjectionRector.php b/rules/Transform/Rector/MethodCall/ServiceGetterToConstructorInjectionRector.php index 0aecfa958b3..672348331c9 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 RectorPrefix20220519\Webmozart\Assert\Assert; +use RectorPrefix20220520\Webmozart\Assert\Assert; /** * @see \Rector\Tests\Transform\Rector\MethodCall\ServiceGetterToConstructorInjectionRector\ServiceGetterToConstructorInjectionRectorTest */ @@ -157,7 +157,7 @@ CODE_SAMPLE */ public function configure(array $configuration) : void { - \RectorPrefix20220519\Webmozart\Assert\Assert::allIsAOf($configuration, \Rector\Transform\ValueObject\ServiceGetterToConstructorInjection::class); + \RectorPrefix20220520\Webmozart\Assert\Assert::allIsAOf($configuration, \Rector\Transform\ValueObject\ServiceGetterToConstructorInjection::class); $this->methodCallToServices = $configuration; } } diff --git a/rules/Transform/Rector/New_/NewArgToMethodCallRector.php b/rules/Transform/Rector/New_/NewArgToMethodCallRector.php index bb3c1bf2966..ebb9d0b8a18 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 RectorPrefix20220519\Webmozart\Assert\Assert; +use RectorPrefix20220520\Webmozart\Assert\Assert; /** * @changelog https://github.com/symfony/symfony/pull/35308 * @@ -83,7 +83,7 @@ CODE_SAMPLE */ public function configure(array $configuration) : void { - \RectorPrefix20220519\Webmozart\Assert\Assert::allIsAOf($configuration, \Rector\Transform\ValueObject\NewArgToMethodCall::class); + \RectorPrefix20220520\Webmozart\Assert\Assert::allIsAOf($configuration, \Rector\Transform\ValueObject\NewArgToMethodCall::class); $this->newArgsToMethodCalls = $configuration; } } diff --git a/rules/Transform/Rector/New_/NewToConstructorInjectionRector.php b/rules/Transform/Rector/New_/NewToConstructorInjectionRector.php index 5750d23eeff..67aa1dcabd2 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 RectorPrefix20220519\Webmozart\Assert\Assert; +use RectorPrefix20220520\Webmozart\Assert\Assert; /** * @see \Rector\Tests\Transform\Rector\New_\NewToConstructorInjectionRector\NewToConstructorInjectionRectorTest */ @@ -116,7 +116,7 @@ CODE_SAMPLE public function configure(array $configuration) : void { $typesToConstructorInjections = $configuration; - \RectorPrefix20220519\Webmozart\Assert\Assert::allString($typesToConstructorInjections); + \RectorPrefix20220520\Webmozart\Assert\Assert::allString($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 a08d05520d3..1a1d2f6abfb 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 RectorPrefix20220519\Webmozart\Assert\Assert; +use RectorPrefix20220520\Webmozart\Assert\Assert; /** * @see \Rector\Tests\Transform\Rector\New_\NewToMethodCallRector\NewToMethodCallRectorTest */ @@ -120,7 +120,7 @@ CODE_SAMPLE */ public function configure(array $configuration) : void { - \RectorPrefix20220519\Webmozart\Assert\Assert::allIsAOf($configuration, \Rector\Transform\ValueObject\NewToMethodCall::class); + \RectorPrefix20220520\Webmozart\Assert\Assert::allIsAOf($configuration, \Rector\Transform\ValueObject\NewToMethodCall::class); $this->newsToMethodCalls = $configuration; } } diff --git a/rules/Transform/Rector/New_/NewToStaticCallRector.php b/rules/Transform/Rector/New_/NewToStaticCallRector.php index ff2923bb254..993ecd48987 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 RectorPrefix20220519\Webmozart\Assert\Assert; +use RectorPrefix20220520\Webmozart\Assert\Assert; /** * @see \Rector\Tests\Transform\Rector\New_\NewToStaticCallRector\NewToStaticCallRectorTest */ @@ -67,7 +67,7 @@ CODE_SAMPLE */ public function configure(array $configuration) : void { - \RectorPrefix20220519\Webmozart\Assert\Assert::allIsAOf($configuration, \Rector\Transform\ValueObject\NewToStaticCall::class); + \RectorPrefix20220520\Webmozart\Assert\Assert::allIsAOf($configuration, \Rector\Transform\ValueObject\NewToStaticCall::class); $this->typeToStaticCalls = $configuration; } } diff --git a/rules/Transform/Rector/StaticCall/StaticCallToFuncCallRector.php b/rules/Transform/Rector/StaticCall/StaticCallToFuncCallRector.php index 70650b1ef68..1a26b0a6471 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 RectorPrefix20220519\Webmozart\Assert\Assert; +use RectorPrefix20220520\Webmozart\Assert\Assert; /** * @see \Rector\Tests\Transform\Rector\StaticCall\StaticCallToFuncCallRector\StaticCallToFuncCallRectorTest */ @@ -61,7 +61,7 @@ final class StaticCallToFuncCallRector extends \Rector\Core\Rector\AbstractRecto */ public function configure(array $configuration) : void { - \RectorPrefix20220519\Webmozart\Assert\Assert::allIsAOf($configuration, \Rector\Transform\ValueObject\StaticCallToFuncCall::class); + \RectorPrefix20220520\Webmozart\Assert\Assert::allIsAOf($configuration, \Rector\Transform\ValueObject\StaticCallToFuncCall::class); $this->staticCallsToFunctions = $configuration; } } diff --git a/rules/Transform/Rector/StaticCall/StaticCallToMethodCallRector.php b/rules/Transform/Rector/StaticCall/StaticCallToMethodCallRector.php index 627c0ccf28c..5a9e254b5df 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 RectorPrefix20220519\Webmozart\Assert\Assert; +use RectorPrefix20220520\Webmozart\Assert\Assert; /** * @see \Rector\Tests\Transform\Rector\StaticCall\StaticCallToMethodCallRector\StaticCallToMethodCallRectorTest */ @@ -117,7 +117,7 @@ CODE_SAMPLE */ public function configure(array $configuration) : void { - \RectorPrefix20220519\Webmozart\Assert\Assert::allIsAOf($configuration, \Rector\Transform\ValueObject\StaticCallToMethodCall::class); + \RectorPrefix20220520\Webmozart\Assert\Assert::allIsAOf($configuration, \Rector\Transform\ValueObject\StaticCallToMethodCall::class); $this->staticCallsToMethodCalls = $configuration; } 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 49107f12e7e..f76c24da1bb 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 RectorPrefix20220519\Webmozart\Assert\Assert; +use RectorPrefix20220520\Webmozart\Assert\Assert; /** * @changelog https://github.com/symfony/symfony/pull/35308 * @@ -78,7 +78,7 @@ CODE_SAMPLE */ public function configure(array $configuration) : void { - \RectorPrefix20220519\Webmozart\Assert\Assert::allIsAOf($configuration, \Rector\Transform\ValueObject\StaticCallToNew::class); + \RectorPrefix20220520\Webmozart\Assert\Assert::allIsAOf($configuration, \Rector\Transform\ValueObject\StaticCallToNew::class); $this->staticCallsToNews = $configuration; } } diff --git a/rules/Transform/Rector/String_/StringToClassConstantRector.php b/rules/Transform/Rector/String_/StringToClassConstantRector.php index 8b8eb53f52a..8b752c66f5e 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 RectorPrefix20220519\Webmozart\Assert\Assert; +use RectorPrefix20220520\Webmozart\Assert\Assert; /** * @see \Rector\Tests\Transform\Rector\String_\StringToClassConstantRector\StringToClassConstantRectorTest */ @@ -67,7 +67,7 @@ CODE_SAMPLE */ public function configure(array $configuration) : void { - \RectorPrefix20220519\Webmozart\Assert\Assert::allIsAOf($configuration, \Rector\Transform\ValueObject\StringToClassConstant::class); + \RectorPrefix20220520\Webmozart\Assert\Assert::allIsAOf($configuration, \Rector\Transform\ValueObject\StringToClassConstant::class); $this->stringsToClassConstants = $configuration; } } diff --git a/rules/Transform/Rector/String_/ToStringToMethodCallRector.php b/rules/Transform/Rector/String_/ToStringToMethodCallRector.php index 9aa120f8aa6..33f08e3966d 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 RectorPrefix20220519\Webmozart\Assert\Assert; +use RectorPrefix20220520\Webmozart\Assert\Assert; /** * @see \Rector\Tests\Transform\Rector\String_\ToStringToMethodCallRector\ToStringToMethodCallRectorTest */ @@ -58,8 +58,8 @@ CODE_SAMPLE */ public function configure(array $configuration) : void { - \RectorPrefix20220519\Webmozart\Assert\Assert::allString(\array_keys($configuration)); - \RectorPrefix20220519\Webmozart\Assert\Assert::allString($configuration); + \RectorPrefix20220520\Webmozart\Assert\Assert::allString(\array_keys($configuration)); + \RectorPrefix20220520\Webmozart\Assert\Assert::allString($configuration); /** @var array $configuration */ $this->methodNamesByType = $configuration; } diff --git a/rules/TypeDeclaration/AlreadyAssignDetector/ConstructorAssignDetector.php b/rules/TypeDeclaration/AlreadyAssignDetector/ConstructorAssignDetector.php index e8cd6b1ac58..52c4e5a4198 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 RectorPrefix20220519\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser; +use RectorPrefix20220520\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser; final class ConstructorAssignDetector { /** @@ -42,7 +42,7 @@ final class ConstructorAssignDetector * @var \Rector\TypeDeclaration\NodeAnalyzer\AutowiredClassMethodOrPropertyAnalyzer */ private $autowiredClassMethodOrPropertyAnalyzer; - public function __construct(\Rector\NodeTypeResolver\NodeTypeResolver $nodeTypeResolver, \Rector\TypeDeclaration\Matcher\PropertyAssignMatcher $propertyAssignMatcher, \RectorPrefix20220519\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser $simpleCallableNodeTraverser, \Rector\TypeDeclaration\NodeAnalyzer\AutowiredClassMethodOrPropertyAnalyzer $autowiredClassMethodOrPropertyAnalyzer) + public function __construct(\Rector\NodeTypeResolver\NodeTypeResolver $nodeTypeResolver, \Rector\TypeDeclaration\Matcher\PropertyAssignMatcher $propertyAssignMatcher, \RectorPrefix20220520\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 4133d70dd66..0c9cc09837e 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 RectorPrefix20220519\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser; +use RectorPrefix20220520\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser; /** * Should add extra null type */ @@ -43,7 +43,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, \RectorPrefix20220519\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, \RectorPrefix20220520\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser $simpleCallableNodeTraverser) { $this->scopeNestingComparator = $scopeNestingComparator; $this->doctrineTypeAnalyzer = $doctrineTypeAnalyzer; diff --git a/rules/TypeDeclaration/Guard/PhpDocNestedAnnotationGuard.php b/rules/TypeDeclaration/Guard/PhpDocNestedAnnotationGuard.php index 4839efd3ef6..c62b5a6915f 100644 --- a/rules/TypeDeclaration/Guard/PhpDocNestedAnnotationGuard.php +++ b/rules/TypeDeclaration/Guard/PhpDocNestedAnnotationGuard.php @@ -3,7 +3,7 @@ declare (strict_types=1); namespace Rector\TypeDeclaration\Guard; -use RectorPrefix20220519\Nette\Utils\Strings; +use RectorPrefix20220520\Nette\Utils\Strings; use PhpParser\Comment\Doc; use PhpParser\Node; use Rector\BetterPhpDocParser\PhpDocInfo\PhpDocInfoFactory; @@ -48,8 +48,8 @@ final class PhpDocNestedAnnotationGuard } public function hasAnnotationCountChanged(string $originalPhpDocText, string $updatedPhpDocText) : bool { - $originalAnnotationCount = \count(\RectorPrefix20220519\Nette\Utils\Strings::matchAll($originalPhpDocText, self::SIMPLE_ANNOTATION_REGEX)); - $reconstructedAnnotationCount = \count(\RectorPrefix20220519\Nette\Utils\Strings::matchAll($updatedPhpDocText, self::SIMPLE_ANNOTATION_REGEX)); + $originalAnnotationCount = \count(\RectorPrefix20220520\Nette\Utils\Strings::matchAll($originalPhpDocText, self::SIMPLE_ANNOTATION_REGEX)); + $reconstructedAnnotationCount = \count(\RectorPrefix20220520\Nette\Utils\Strings::matchAll($updatedPhpDocText, self::SIMPLE_ANNOTATION_REGEX)); return $originalAnnotationCount !== $reconstructedAnnotationCount; } } diff --git a/rules/TypeDeclaration/NodeAnalyzer/AutowiredClassMethodOrPropertyAnalyzer.php b/rules/TypeDeclaration/NodeAnalyzer/AutowiredClassMethodOrPropertyAnalyzer.php index 15edcd377b5..b075f338bf1 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 RectorPrefix20220519\Symfony\Contracts\Service\Attribute\Required; +use RectorPrefix20220520\Symfony\Contracts\Service\Attribute\Required; final class AutowiredClassMethodOrPropertyAnalyzer { /** @@ -35,6 +35,6 @@ final class AutowiredClassMethodOrPropertyAnalyzer if ($nodePhpDocInfo->hasByNames(['required', 'inject'])) { return \true; } - return $this->phpAttributeAnalyzer->hasPhpAttributes($node, [\RectorPrefix20220519\Symfony\Contracts\Service\Attribute\Required::class, 'Nette\\DI\\Attributes\\Inject']); + return $this->phpAttributeAnalyzer->hasPhpAttributes($node, [\RectorPrefix20220520\Symfony\Contracts\Service\Attribute\Required::class, 'Nette\\DI\\Attributes\\Inject']); } } diff --git a/rules/TypeDeclaration/NodeAnalyzer/ControllerRenderMethodAnalyzer.php b/rules/TypeDeclaration/NodeAnalyzer/ControllerRenderMethodAnalyzer.php index 8551fdf0aeb..7eb32776c8b 100644 --- a/rules/TypeDeclaration/NodeAnalyzer/ControllerRenderMethodAnalyzer.php +++ b/rules/TypeDeclaration/NodeAnalyzer/ControllerRenderMethodAnalyzer.php @@ -9,7 +9,7 @@ use Rector\BetterPhpDocParser\PhpDocInfo\PhpDocInfo; use Rector\BetterPhpDocParser\PhpDocInfo\PhpDocInfoFactory; use Rector\Core\Reflection\ReflectionResolver; use Rector\Php80\NodeAnalyzer\PhpAttributeAnalyzer; -use RectorPrefix20220519\Symplify\Astral\Naming\SimpleNameResolver; +use RectorPrefix20220520\Symplify\Astral\Naming\SimpleNameResolver; final class ControllerRenderMethodAnalyzer { /** @@ -32,7 +32,7 @@ final class ControllerRenderMethodAnalyzer * @var \Rector\Core\Reflection\ReflectionResolver */ private $reflectionResolver; - public function __construct(\RectorPrefix20220519\Symplify\Astral\Naming\SimpleNameResolver $simpleNameResolver, \Rector\Php80\NodeAnalyzer\PhpAttributeAnalyzer $phpAttributeAnalyzer, \Rector\BetterPhpDocParser\PhpDocInfo\PhpDocInfoFactory $phpDocInfoFactory, \Rector\Core\Reflection\ReflectionResolver $reflectionResolver) + public function __construct(\RectorPrefix20220520\Symplify\Astral\Naming\SimpleNameResolver $simpleNameResolver, \Rector\Php80\NodeAnalyzer\PhpAttributeAnalyzer $phpAttributeAnalyzer, \Rector\BetterPhpDocParser\PhpDocInfo\PhpDocInfoFactory $phpDocInfoFactory, \Rector\Core\Reflection\ReflectionResolver $reflectionResolver) { $this->simpleNameResolver = $simpleNameResolver; $this->phpAttributeAnalyzer = $phpAttributeAnalyzer; diff --git a/rules/TypeDeclaration/PHPStan/ObjectTypeSpecifier.php b/rules/TypeDeclaration/PHPStan/ObjectTypeSpecifier.php index 6743dd1c0de..300b6b26b67 100644 --- a/rules/TypeDeclaration/PHPStan/ObjectTypeSpecifier.php +++ b/rules/TypeDeclaration/PHPStan/ObjectTypeSpecifier.php @@ -3,7 +3,7 @@ declare (strict_types=1); namespace Rector\TypeDeclaration\PHPStan; -use RectorPrefix20220519\Nette\Utils\Strings; +use RectorPrefix20220520\Nette\Utils\Strings; use PhpParser\Node; use PhpParser\Node\Expr\MethodCall; use PhpParser\Node\Expr\StaticCall; @@ -175,7 +175,7 @@ final class ObjectTypeSpecifier if (\strncmp($objectType->getClassName(), $useUse->name->getLast() . '\\', \strlen($useUse->name->getLast() . '\\')) !== 0) { return null; } - $classNameWithoutLastUsePart = \RectorPrefix20220519\Nette\Utils\Strings::after($objectType->getClassName(), '\\', 1); + $classNameWithoutLastUsePart = \RectorPrefix20220520\Nette\Utils\Strings::after($objectType->getClassName(), '\\', 1); $connectedClassName = $useUse->name->toString() . '\\' . $classNameWithoutLastUsePart; if (!$this->reflectionProvider->hasClass($connectedClassName)) { return null; diff --git a/rules/TypeDeclaration/PhpDocParser/NonInformativeReturnTagRemover.php b/rules/TypeDeclaration/PhpDocParser/NonInformativeReturnTagRemover.php index 039ade0b733..1ef8291c099 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 RectorPrefix20220519\Symplify\PackageBuilder\Php\TypeChecker; +use RectorPrefix20220520\Symplify\PackageBuilder\Php\TypeChecker; final class NonInformativeReturnTagRemover { /** @@ -44,7 +44,7 @@ final class NonInformativeReturnTagRemover * @var \Symplify\PackageBuilder\Php\TypeChecker */ private $typeChecker; - public function __construct(\Rector\BetterPhpDocParser\PhpDocInfo\PhpDocInfoFactory $phpDocInfoFactory, \RectorPrefix20220519\Symplify\PackageBuilder\Php\TypeChecker $typeChecker) + public function __construct(\Rector\BetterPhpDocParser\PhpDocInfo\PhpDocInfoFactory $phpDocInfoFactory, \RectorPrefix20220520\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 0d817e1e671..bf5c84094ec 100644 --- a/rules/TypeDeclaration/Rector/ClassMethod/AddParamTypeDeclarationRector.php +++ b/rules/TypeDeclaration/Rector/ClassMethod/AddParamTypeDeclarationRector.php @@ -21,7 +21,7 @@ use Rector\PHPStanStaticTypeMapper\Enum\TypeKind; use Rector\TypeDeclaration\ValueObject\AddParamTypeDeclaration; use Symplify\RuleDocGenerator\ValueObject\CodeSample\ConfiguredCodeSample; use Symplify\RuleDocGenerator\ValueObject\RuleDefinition; -use RectorPrefix20220519\Webmozart\Assert\Assert; +use RectorPrefix20220520\Webmozart\Assert\Assert; /** * @see \Rector\Tests\TypeDeclaration\Rector\ClassMethod\AddParamTypeDeclarationRector\AddParamTypeDeclarationRectorTest */ @@ -99,7 +99,7 @@ CODE_SAMPLE */ public function configure(array $configuration) : void { - \RectorPrefix20220519\Webmozart\Assert\Assert::allIsAOf($configuration, \Rector\TypeDeclaration\ValueObject\AddParamTypeDeclaration::class); + \RectorPrefix20220520\Webmozart\Assert\Assert::allIsAOf($configuration, \Rector\TypeDeclaration\ValueObject\AddParamTypeDeclaration::class); $this->addParamTypeDeclarations = $configuration; } 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 f606d35ef3e..250bd04faa1 100644 --- a/rules/TypeDeclaration/Rector/ClassMethod/AddReturnTypeDeclarationRector.php +++ b/rules/TypeDeclaration/Rector/ClassMethod/AddReturnTypeDeclarationRector.php @@ -17,7 +17,7 @@ use Rector\PHPStanStaticTypeMapper\Enum\TypeKind; use Rector\TypeDeclaration\ValueObject\AddReturnTypeDeclaration; use Symplify\RuleDocGenerator\ValueObject\CodeSample\ConfiguredCodeSample; use Symplify\RuleDocGenerator\ValueObject\RuleDefinition; -use RectorPrefix20220519\Webmozart\Assert\Assert; +use RectorPrefix20220520\Webmozart\Assert\Assert; /** * @see \Rector\Tests\TypeDeclaration\Rector\ClassMethod\AddReturnTypeDeclarationRector\AddReturnTypeDeclarationRectorTest */ @@ -92,7 +92,7 @@ CODE_SAMPLE */ public function configure(array $configuration) : void { - \RectorPrefix20220519\Webmozart\Assert\Assert::allIsAOf($configuration, \Rector\TypeDeclaration\ValueObject\AddReturnTypeDeclaration::class); + \RectorPrefix20220520\Webmozart\Assert\Assert::allIsAOf($configuration, \Rector\TypeDeclaration\ValueObject\AddReturnTypeDeclaration::class); $this->methodReturnTypes = $configuration; } 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 7471760b090..6ea57e8aa58 100644 --- a/rules/TypeDeclaration/Rector/ClassMethod/AddVoidReturnTypeWhereNoReturnRector.php +++ b/rules/TypeDeclaration/Rector/ClassMethod/AddVoidReturnTypeWhereNoReturnRector.php @@ -21,7 +21,7 @@ use Rector\VendorLocker\NodeVendorLocker\ClassMethodReturnVendorLockResolver; use Rector\VersionBonding\Contract\MinPhpVersionInterface; use Symplify\RuleDocGenerator\ValueObject\CodeSample\ConfiguredCodeSample; use Symplify\RuleDocGenerator\ValueObject\RuleDefinition; -use RectorPrefix20220519\Webmozart\Assert\Assert; +use RectorPrefix20220520\Webmozart\Assert\Assert; /** * @see \Rector\Tests\TypeDeclaration\Rector\ClassMethod\AddVoidReturnTypeWhereNoReturnRector\AddVoidReturnTypeWhereNoReturnRectorTest */ @@ -127,7 +127,7 @@ CODE_SAMPLE public function configure(array $configuration) : void { $usePhpdoc = $configuration[self::USE_PHPDOC] ?? (bool) \current($configuration); - \RectorPrefix20220519\Webmozart\Assert\Assert::boolean($usePhpdoc); + \RectorPrefix20220520\Webmozart\Assert\Assert::boolean($usePhpdoc); $this->usePhpdoc = $usePhpdoc; } /** diff --git a/rules/TypeDeclaration/Rector/ClassMethod/ArrayShapeFromConstantArrayReturnRector.php b/rules/TypeDeclaration/Rector/ClassMethod/ArrayShapeFromConstantArrayReturnRector.php index 6157594fe32..c715cf5ccb1 100644 --- a/rules/TypeDeclaration/Rector/ClassMethod/ArrayShapeFromConstantArrayReturnRector.php +++ b/rules/TypeDeclaration/Rector/ClassMethod/ArrayShapeFromConstantArrayReturnRector.php @@ -18,7 +18,7 @@ use Rector\Core\Rector\AbstractRector; use Rector\Core\Util\StringUtils; use Rector\NodeTypeResolver\Node\AttributeKey; use Rector\PHPStanStaticTypeMapper\Enum\TypeKind; -use RectorPrefix20220519\Symplify\Astral\TypeAnalyzer\ClassMethodReturnTypeResolver; +use RectorPrefix20220520\Symplify\Astral\TypeAnalyzer\ClassMethodReturnTypeResolver; use Symplify\RuleDocGenerator\ValueObject\CodeSample\CodeSample; use Symplify\RuleDocGenerator\ValueObject\RuleDefinition; /** @@ -41,7 +41,7 @@ final class ArrayShapeFromConstantArrayReturnRector extends \Rector\Core\Rector\ * @var \Rector\BetterPhpDocParser\PhpDocManipulator\PhpDocTypeChanger */ private $phpDocTypeChanger; - public function __construct(\RectorPrefix20220519\Symplify\Astral\TypeAnalyzer\ClassMethodReturnTypeResolver $classMethodReturnTypeResolver, \Rector\BetterPhpDocParser\PhpDocManipulator\PhpDocTypeChanger $phpDocTypeChanger) + public function __construct(\RectorPrefix20220520\Symplify\Astral\TypeAnalyzer\ClassMethodReturnTypeResolver $classMethodReturnTypeResolver, \Rector\BetterPhpDocParser\PhpDocManipulator\PhpDocTypeChanger $phpDocTypeChanger) { $this->classMethodReturnTypeResolver = $classMethodReturnTypeResolver; $this->phpDocTypeChanger = $phpDocTypeChanger; diff --git a/rules/TypeDeclaration/Rector/ClassMethod/ParamTypeByMethodCallTypeRector.php b/rules/TypeDeclaration/Rector/ClassMethod/ParamTypeByMethodCallTypeRector.php index 62eba451dff..9c71d905d9d 100644 --- a/rules/TypeDeclaration/Rector/ClassMethod/ParamTypeByMethodCallTypeRector.php +++ b/rules/TypeDeclaration/Rector/ClassMethod/ParamTypeByMethodCallTypeRector.php @@ -23,7 +23,7 @@ use Rector\Core\Rector\AbstractScopeAwareRector; use Rector\Core\Reflection\ReflectionResolver; use Rector\TypeDeclaration\NodeAnalyzer\CallerParamMatcher; use Rector\VendorLocker\ParentClassMethodTypeOverrideGuard; -use RectorPrefix20220519\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser; +use RectorPrefix20220520\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser; use Symplify\RuleDocGenerator\ValueObject\CodeSample\CodeSample; use Symplify\RuleDocGenerator\ValueObject\RuleDefinition; /** @@ -51,7 +51,7 @@ final class ParamTypeByMethodCallTypeRector extends \Rector\Core\Rector\Abstract * @var \Rector\Core\Reflection\ReflectionResolver */ private $reflectionResolver; - public function __construct(\Rector\TypeDeclaration\NodeAnalyzer\CallerParamMatcher $callerParamMatcher, \RectorPrefix20220519\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser $simpleCallableNodeTraverser, \Rector\VendorLocker\ParentClassMethodTypeOverrideGuard $parentClassMethodTypeOverrideGuard, \Rector\Core\Reflection\ReflectionResolver $reflectionResolver) + public function __construct(\Rector\TypeDeclaration\NodeAnalyzer\CallerParamMatcher $callerParamMatcher, \RectorPrefix20220520\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser $simpleCallableNodeTraverser, \Rector\VendorLocker\ParentClassMethodTypeOverrideGuard $parentClassMethodTypeOverrideGuard, \Rector\Core\Reflection\ReflectionResolver $reflectionResolver) { $this->callerParamMatcher = $callerParamMatcher; $this->simpleCallableNodeTraverser = $simpleCallableNodeTraverser; diff --git a/rules/TypeDeclaration/Rector/Property/AddPropertyTypeDeclarationRector.php b/rules/TypeDeclaration/Rector/Property/AddPropertyTypeDeclarationRector.php index f0d6e90b833..7c77db42717 100644 --- a/rules/TypeDeclaration/Rector/Property/AddPropertyTypeDeclarationRector.php +++ b/rules/TypeDeclaration/Rector/Property/AddPropertyTypeDeclarationRector.php @@ -15,7 +15,7 @@ use Rector\PHPStanStaticTypeMapper\Enum\TypeKind; use Rector\TypeDeclaration\ValueObject\AddPropertyTypeDeclaration; use Symplify\RuleDocGenerator\ValueObject\CodeSample\ConfiguredCodeSample; use Symplify\RuleDocGenerator\ValueObject\RuleDefinition; -use RectorPrefix20220519\Webmozart\Assert\Assert; +use RectorPrefix20220520\Webmozart\Assert\Assert; /** * @see \Rector\Tests\TypeDeclaration\Rector\Property\AddPropertyTypeDeclarationRector\AddPropertyTypeDeclarationRectorTest */ @@ -93,7 +93,7 @@ CODE_SAMPLE */ public function configure(array $configuration) : void { - \RectorPrefix20220519\Webmozart\Assert\Assert::allIsAOf($configuration, \Rector\TypeDeclaration\ValueObject\AddPropertyTypeDeclaration::class); + \RectorPrefix20220520\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 42a0189ef60..36c1d9251fc 100644 --- a/rules/TypeDeclaration/TypeInferer/AssignToPropertyTypeInferer.php +++ b/rules/TypeDeclaration/TypeInferer/AssignToPropertyTypeInferer.php @@ -21,7 +21,7 @@ use Rector\TypeDeclaration\AlreadyAssignDetector\ConstructorAssignDetector; use Rector\TypeDeclaration\AlreadyAssignDetector\NullTypeAssignDetector; use Rector\TypeDeclaration\AlreadyAssignDetector\PropertyDefaultAssignDetector; use Rector\TypeDeclaration\Matcher\PropertyAssignMatcher; -use RectorPrefix20220519\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser; +use RectorPrefix20220520\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser; final class AssignToPropertyTypeInferer { /** @@ -69,7 +69,7 @@ final class AssignToPropertyTypeInferer * @var \Rector\Core\PhpParser\Node\Value\ValueResolver */ private $valueResolver; - public function __construct(\Rector\TypeDeclaration\AlreadyAssignDetector\ConstructorAssignDetector $constructorAssignDetector, \Rector\TypeDeclaration\Matcher\PropertyAssignMatcher $propertyAssignMatcher, \Rector\TypeDeclaration\AlreadyAssignDetector\PropertyDefaultAssignDetector $propertyDefaultAssignDetector, \Rector\TypeDeclaration\AlreadyAssignDetector\NullTypeAssignDetector $nullTypeAssignDetector, \RectorPrefix20220519\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser $simpleCallableNodeTraverser, \Rector\NodeTypeResolver\PHPStan\Type\TypeFactory $typeFactory, \Rector\NodeTypeResolver\NodeTypeResolver $nodeTypeResolver, \Rector\Core\NodeAnalyzer\ExprAnalyzer $exprAnalyzer, \Rector\Core\PhpParser\Node\Value\ValueResolver $valueResolver) + public function __construct(\Rector\TypeDeclaration\AlreadyAssignDetector\ConstructorAssignDetector $constructorAssignDetector, \Rector\TypeDeclaration\Matcher\PropertyAssignMatcher $propertyAssignMatcher, \Rector\TypeDeclaration\AlreadyAssignDetector\PropertyDefaultAssignDetector $propertyDefaultAssignDetector, \Rector\TypeDeclaration\AlreadyAssignDetector\NullTypeAssignDetector $nullTypeAssignDetector, \RectorPrefix20220520\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser $simpleCallableNodeTraverser, \Rector\NodeTypeResolver\PHPStan\Type\TypeFactory $typeFactory, \Rector\NodeTypeResolver\NodeTypeResolver $nodeTypeResolver, \Rector\Core\NodeAnalyzer\ExprAnalyzer $exprAnalyzer, \Rector\Core\PhpParser\Node\Value\ValueResolver $valueResolver) { $this->constructorAssignDetector = $constructorAssignDetector; $this->propertyAssignMatcher = $propertyAssignMatcher; diff --git a/rules/TypeDeclaration/TypeInferer/ParamTypeInferer/GetterNodeParamTypeInferer.php b/rules/TypeDeclaration/TypeInferer/ParamTypeInferer/GetterNodeParamTypeInferer.php index 9809ec5b881..42c14e55849 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 RectorPrefix20220519\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser; +use RectorPrefix20220520\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser; final class GetterNodeParamTypeInferer implements \Rector\TypeDeclaration\Contract\TypeInferer\ParamTypeInfererInterface { /** @@ -51,7 +51,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, \RectorPrefix20220519\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, \RectorPrefix20220520\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 03451134f1a..a14c5d3d49e 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 RectorPrefix20220519\Nette\Utils\Strings; +use RectorPrefix20220520\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 RectorPrefix20220519\Symfony\Contracts\Service\Attribute\Required; +use RectorPrefix20220520\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 = \RectorPrefix20220519\Nette\Utils\Strings::match($content, self::METHOD_NAME_REGEX); + $match = \RectorPrefix20220520\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 1f4901efa79..903327b91a4 100644 --- a/rules/TypeDeclaration/TypeInferer/ParamTypeInferer/PropertyNodeParamTypeInferer.php +++ b/rules/TypeDeclaration/TypeInferer/ParamTypeInferer/PropertyNodeParamTypeInferer.php @@ -20,7 +20,7 @@ use Rector\NodeTypeResolver\PHPStan\Type\TypeFactory; use Rector\PHPStanStaticTypeMapper\Enum\TypeKind; use Rector\StaticTypeMapper\StaticTypeMapper; use Rector\TypeDeclaration\Contract\TypeInferer\ParamTypeInfererInterface; -use RectorPrefix20220519\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser; +use RectorPrefix20220520\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser; final class PropertyNodeParamTypeInferer implements \Rector\TypeDeclaration\Contract\TypeInferer\ParamTypeInfererInterface { /** @@ -63,7 +63,7 @@ final class PropertyNodeParamTypeInferer implements \Rector\TypeDeclaration\Cont * @var \Rector\Core\PhpParser\Comparing\NodeComparator */ private $nodeComparator; - public function __construct(\Rector\Core\NodeAnalyzer\PropertyFetchAnalyzer $propertyFetchAnalyzer, \Rector\NodeNameResolver\NodeNameResolver $nodeNameResolver, \RectorPrefix20220519\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser $simpleCallableNodeTraverser, \Rector\NodeTypeResolver\NodeTypeResolver $nodeTypeResolver, \Rector\NodeTypeResolver\PHPStan\Type\TypeFactory $typeFactory, \Rector\Core\PhpParser\Node\BetterNodeFinder $betterNodeFinder, \Rector\StaticTypeMapper\StaticTypeMapper $staticTypeMapper, \Rector\Core\PhpParser\Comparing\NodeComparator $nodeComparator) + public function __construct(\Rector\Core\NodeAnalyzer\PropertyFetchAnalyzer $propertyFetchAnalyzer, \Rector\NodeNameResolver\NodeNameResolver $nodeNameResolver, \RectorPrefix20220520\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser $simpleCallableNodeTraverser, \Rector\NodeTypeResolver\NodeTypeResolver $nodeTypeResolver, \Rector\NodeTypeResolver\PHPStan\Type\TypeFactory $typeFactory, \Rector\Core\PhpParser\Node\BetterNodeFinder $betterNodeFinder, \Rector\StaticTypeMapper\StaticTypeMapper $staticTypeMapper, \Rector\Core\PhpParser\Comparing\NodeComparator $nodeComparator) { $this->propertyFetchAnalyzer = $propertyFetchAnalyzer; $this->nodeNameResolver = $nodeNameResolver; diff --git a/rules/TypeDeclaration/TypeInferer/PropertyTypeInferer/ConstructorPropertyTypeInferer.php b/rules/TypeDeclaration/TypeInferer/PropertyTypeInferer/ConstructorPropertyTypeInferer.php index 4b44bda1797..174079f2bb0 100644 --- a/rules/TypeDeclaration/TypeInferer/PropertyTypeInferer/ConstructorPropertyTypeInferer.php +++ b/rules/TypeDeclaration/TypeInferer/PropertyTypeInferer/ConstructorPropertyTypeInferer.php @@ -34,7 +34,7 @@ use Rector\StaticTypeMapper\StaticTypeMapper; use Rector\StaticTypeMapper\ValueObject\Type\AliasedObjectType; use Rector\StaticTypeMapper\ValueObject\Type\FullyQualifiedObjectType; use Rector\TypeDeclaration\TypeInferer\AssignToPropertyTypeInferer; -use RectorPrefix20220519\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser; +use RectorPrefix20220520\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser; final class ConstructorPropertyTypeInferer { /** @@ -92,7 +92,7 @@ final class ConstructorPropertyTypeInferer * @var \Rector\NodeTypeResolver\TypeComparator\TypeComparator */ private $typeComparator; - public function __construct(\Rector\Core\NodeManipulator\ClassMethodPropertyFetchManipulator $classMethodPropertyFetchManipulator, \PHPStan\Reflection\ReflectionProvider $reflectionProvider, \Rector\NodeNameResolver\NodeNameResolver $nodeNameResolver, \RectorPrefix20220519\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, \Rector\TypeDeclaration\TypeInferer\AssignToPropertyTypeInferer $assignToPropertyTypeInferer, \Rector\NodeTypeResolver\TypeComparator\TypeComparator $typeComparator) + public function __construct(\Rector\Core\NodeManipulator\ClassMethodPropertyFetchManipulator $classMethodPropertyFetchManipulator, \PHPStan\Reflection\ReflectionProvider $reflectionProvider, \Rector\NodeNameResolver\NodeNameResolver $nodeNameResolver, \RectorPrefix20220520\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, \Rector\TypeDeclaration\TypeInferer\AssignToPropertyTypeInferer $assignToPropertyTypeInferer, \Rector\NodeTypeResolver\TypeComparator\TypeComparator $typeComparator) { $this->classMethodPropertyFetchManipulator = $classMethodPropertyFetchManipulator; $this->reflectionProvider = $reflectionProvider; diff --git a/rules/TypeDeclaration/TypeInferer/ReturnTypeInferer.php b/rules/TypeDeclaration/TypeInferer/ReturnTypeInferer.php index 544c61069e1..0c8b3f0a7c8 100644 --- a/rules/TypeDeclaration/TypeInferer/ReturnTypeInferer.php +++ b/rules/TypeDeclaration/TypeInferer/ReturnTypeInferer.php @@ -37,7 +37,7 @@ use Rector\TypeDeclaration\Contract\TypeInferer\ReturnTypeInfererInterface; use Rector\TypeDeclaration\Sorter\PriorityAwareSorter; use Rector\TypeDeclaration\TypeAnalyzer\GenericClassStringTypeNormalizer; use Rector\TypeDeclaration\TypeNormalizer; -use RectorPrefix20220519\Symplify\PackageBuilder\Parameter\ParameterProvider; +use RectorPrefix20220520\Symplify\PackageBuilder\Parameter\ParameterProvider; final class ReturnTypeInferer { /** @@ -87,7 +87,7 @@ final class ReturnTypeInferer /** * @param ReturnTypeInfererInterface[] $returnTypeInferers */ - public function __construct(array $returnTypeInferers, \Rector\TypeDeclaration\TypeNormalizer $typeNormalizer, \Rector\TypeDeclaration\Sorter\PriorityAwareSorter $priorityAwareSorter, \Rector\TypeDeclaration\TypeAnalyzer\GenericClassStringTypeNormalizer $genericClassStringTypeNormalizer, \Rector\Core\Php\PhpVersionProvider $phpVersionProvider, \RectorPrefix20220519\Symplify\PackageBuilder\Parameter\ParameterProvider $parameterProvider, \Rector\Core\PhpParser\Node\BetterNodeFinder $betterNodeFinder, \PHPStan\Reflection\ReflectionProvider $reflectionProvider, \Rector\NodeTypeResolver\NodeTypeResolver $nodeTypeResolver, \Rector\NodeNameResolver\NodeNameResolver $nodeNameResolver) + public function __construct(array $returnTypeInferers, \Rector\TypeDeclaration\TypeNormalizer $typeNormalizer, \Rector\TypeDeclaration\Sorter\PriorityAwareSorter $priorityAwareSorter, \Rector\TypeDeclaration\TypeAnalyzer\GenericClassStringTypeNormalizer $genericClassStringTypeNormalizer, \Rector\Core\Php\PhpVersionProvider $phpVersionProvider, \RectorPrefix20220520\Symplify\PackageBuilder\Parameter\ParameterProvider $parameterProvider, \Rector\Core\PhpParser\Node\BetterNodeFinder $betterNodeFinder, \PHPStan\Reflection\ReflectionProvider $reflectionProvider, \Rector\NodeTypeResolver\NodeTypeResolver $nodeTypeResolver, \Rector\NodeNameResolver\NodeNameResolver $nodeNameResolver) { $this->typeNormalizer = $typeNormalizer; $this->genericClassStringTypeNormalizer = $genericClassStringTypeNormalizer; diff --git a/rules/TypeDeclaration/TypeInferer/ReturnTypeInferer/ReturnedNodesReturnTypeInfererTypeInferer.php b/rules/TypeDeclaration/TypeInferer/ReturnTypeInferer/ReturnedNodesReturnTypeInfererTypeInferer.php index f753c07313d..709d8c2135f 100644 --- a/rules/TypeDeclaration/TypeInferer/ReturnTypeInferer/ReturnedNodesReturnTypeInfererTypeInferer.php +++ b/rules/TypeDeclaration/TypeInferer/ReturnTypeInferer/ReturnedNodesReturnTypeInfererTypeInferer.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 RectorPrefix20220519\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser; +use RectorPrefix20220520\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser; final class ReturnedNodesReturnTypeInfererTypeInferer implements \Rector\TypeDeclaration\Contract\TypeInferer\ReturnTypeInfererInterface { /** @@ -75,7 +75,7 @@ final class ReturnedNodesReturnTypeInfererTypeInferer implements \Rector\TypeDec * @var \Rector\Core\PhpParser\Node\BetterNodeFinder */ private $betterNodeFinder; - public function __construct(\Rector\TypeDeclaration\TypeInferer\SilentVoidResolver $silentVoidResolver, \Rector\NodeTypeResolver\NodeTypeResolver $nodeTypeResolver, \RectorPrefix20220519\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser $simpleCallableNodeTraverser, \Rector\NodeTypeResolver\PHPStan\Type\TypeFactory $typeFactory, \Rector\TypeDeclaration\TypeInferer\SplArrayFixedTypeNarrower $splArrayFixedTypeNarrower, \Rector\Core\PhpParser\AstResolver $reflectionAstResolver, \Rector\Core\Contract\PhpParser\NodePrinterInterface $nodePrinter, \Rector\Core\Reflection\ReflectionResolver $reflectionResolver, \Rector\Core\PhpParser\Node\BetterNodeFinder $betterNodeFinder) + public function __construct(\Rector\TypeDeclaration\TypeInferer\SilentVoidResolver $silentVoidResolver, \Rector\NodeTypeResolver\NodeTypeResolver $nodeTypeResolver, \RectorPrefix20220520\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser $simpleCallableNodeTraverser, \Rector\NodeTypeResolver\PHPStan\Type\TypeFactory $typeFactory, \Rector\TypeDeclaration\TypeInferer\SplArrayFixedTypeNarrower $splArrayFixedTypeNarrower, \Rector\Core\PhpParser\AstResolver $reflectionAstResolver, \Rector\Core\Contract\PhpParser\NodePrinterInterface $nodePrinter, \Rector\Core\Reflection\ReflectionResolver $reflectionResolver, \Rector\Core\PhpParser\Node\BetterNodeFinder $betterNodeFinder) { $this->silentVoidResolver = $silentVoidResolver; $this->nodeTypeResolver = $nodeTypeResolver; diff --git a/rules/TypeDeclaration/TypeInferer/ReturnTypeInferer/YieldNodesReturnTypeInfererTypeInferer.php b/rules/TypeDeclaration/TypeInferer/ReturnTypeInferer/YieldNodesReturnTypeInfererTypeInferer.php index ef42d37d339..f53fb8df1f2 100644 --- a/rules/TypeDeclaration/TypeInferer/ReturnTypeInferer/YieldNodesReturnTypeInfererTypeInferer.php +++ b/rules/TypeDeclaration/TypeInferer/ReturnTypeInferer/YieldNodesReturnTypeInfererTypeInferer.php @@ -19,7 +19,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 RectorPrefix20220519\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser; +use RectorPrefix20220520\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser; final class YieldNodesReturnTypeInfererTypeInferer implements \Rector\TypeDeclaration\Contract\TypeInferer\ReturnTypeInfererInterface { /** @@ -42,7 +42,7 @@ final class YieldNodesReturnTypeInfererTypeInferer implements \Rector\TypeDeclar * @var \Rector\NodeNameResolver\NodeNameResolver */ private $nodeNameResolver; - public function __construct(\Rector\NodeTypeResolver\NodeTypeResolver $nodeTypeResolver, \Rector\NodeTypeResolver\PHPStan\Type\TypeFactory $typeFactory, \RectorPrefix20220519\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser $simpleCallableNodeTraverser, \Rector\NodeNameResolver\NodeNameResolver $nodeNameResolver) + public function __construct(\Rector\NodeTypeResolver\NodeTypeResolver $nodeTypeResolver, \Rector\NodeTypeResolver\PHPStan\Type\TypeFactory $typeFactory, \RectorPrefix20220520\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser $simpleCallableNodeTraverser, \Rector\NodeNameResolver\NodeNameResolver $nodeNameResolver) { $this->nodeTypeResolver = $nodeTypeResolver; $this->typeFactory = $typeFactory; diff --git a/rules/TypeDeclaration/TypeNormalizer.php b/rules/TypeDeclaration/TypeNormalizer.php index 858c3bbb17d..a02f7d002fa 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 RectorPrefix20220519\Symplify\PackageBuilder\Reflection\PrivatesAccessor; +use RectorPrefix20220520\Symplify\PackageBuilder\Reflection\PrivatesAccessor; /** * @see \Rector\Tests\TypeDeclaration\TypeNormalizerTest */ @@ -35,7 +35,7 @@ final class TypeNormalizer * @var \Symplify\PackageBuilder\Reflection\PrivatesAccessor */ private $privatesAccessor; - public function __construct(\Rector\NodeTypeResolver\PHPStan\Type\TypeFactory $typeFactory, \RectorPrefix20220519\Symplify\PackageBuilder\Reflection\PrivatesAccessor $privatesAccessor) + public function __construct(\Rector\NodeTypeResolver\PHPStan\Type\TypeFactory $typeFactory, \RectorPrefix20220520\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 68283825cf0..018288b8c09 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 RectorPrefix20220519\Webmozart\Assert\Assert; +use RectorPrefix20220520\Webmozart\Assert\Assert; /** * @see \Rector\Tests\Visibility\Rector\ClassConst\ChangeConstantVisibilityRector\ChangeConstantVisibilityRectorTest */ @@ -86,7 +86,7 @@ CODE_SAMPLE */ public function configure(array $configuration) : void { - \RectorPrefix20220519\Webmozart\Assert\Assert::allIsAOf($configuration, \Rector\Visibility\ValueObject\ChangeConstantVisibility::class); + \RectorPrefix20220520\Webmozart\Assert\Assert::allIsAOf($configuration, \Rector\Visibility\ValueObject\ChangeConstantVisibility::class); $this->classConstantVisibilityChanges = $configuration; } } diff --git a/rules/Visibility/Rector/ClassMethod/ChangeMethodVisibilityRector.php b/rules/Visibility/Rector/ClassMethod/ChangeMethodVisibilityRector.php index 4b0c0bab195..c1dd4c903d2 100644 --- a/rules/Visibility/Rector/ClassMethod/ChangeMethodVisibilityRector.php +++ b/rules/Visibility/Rector/ClassMethod/ChangeMethodVisibilityRector.php @@ -14,7 +14,7 @@ use Rector\Privatization\NodeManipulator\VisibilityManipulator; use Rector\Visibility\ValueObject\ChangeMethodVisibility; use Symplify\RuleDocGenerator\ValueObject\CodeSample\ConfiguredCodeSample; use Symplify\RuleDocGenerator\ValueObject\RuleDefinition; -use RectorPrefix20220519\Webmozart\Assert\Assert; +use RectorPrefix20220520\Webmozart\Assert\Assert; /** * @see \Rector\Tests\Visibility\Rector\ClassMethod\ChangeMethodVisibilityRector\ChangeMethodVisibilityRectorTest */ @@ -106,7 +106,7 @@ CODE_SAMPLE */ public function configure(array $configuration) : void { - \RectorPrefix20220519\Webmozart\Assert\Assert::allIsAOf($configuration, \Rector\Visibility\ValueObject\ChangeMethodVisibility::class); + \RectorPrefix20220520\Webmozart\Assert\Assert::allIsAOf($configuration, \Rector\Visibility\ValueObject\ChangeMethodVisibility::class); $this->methodVisibilities = $configuration; } } diff --git a/src/Application/ApplicationFileProcessor.php b/src/Application/ApplicationFileProcessor.php index a7ed790ce35..2963500c81f 100644 --- a/src/Application/ApplicationFileProcessor.php +++ b/src/Application/ApplicationFileProcessor.php @@ -17,16 +17,16 @@ use Rector\Core\ValueObjectFactory\Application\FileFactory; use Rector\FileFormatter\FileFormatter; use Rector\Parallel\Application\ParallelFileProcessor; use Rector\Parallel\ValueObject\Bridge; -use RectorPrefix20220519\Symfony\Component\Console\Input\InputInterface; -use RectorPrefix20220519\Symplify\EasyParallel\CpuCoreCountProvider; -use RectorPrefix20220519\Symplify\EasyParallel\Exception\ParallelShouldNotHappenException; -use RectorPrefix20220519\Symplify\EasyParallel\FileSystem\FilePathNormalizer; -use RectorPrefix20220519\Symplify\EasyParallel\ScheduleFactory; -use RectorPrefix20220519\Symplify\PackageBuilder\Parameter\ParameterProvider; -use RectorPrefix20220519\Symplify\PackageBuilder\Yaml\ParametersMerger; +use RectorPrefix20220520\Symfony\Component\Console\Input\InputInterface; +use RectorPrefix20220520\Symplify\EasyParallel\CpuCoreCountProvider; +use RectorPrefix20220520\Symplify\EasyParallel\Exception\ParallelShouldNotHappenException; +use RectorPrefix20220520\Symplify\EasyParallel\FileSystem\FilePathNormalizer; +use RectorPrefix20220520\Symplify\EasyParallel\ScheduleFactory; +use RectorPrefix20220520\Symplify\PackageBuilder\Parameter\ParameterProvider; +use RectorPrefix20220520\Symplify\PackageBuilder\Yaml\ParametersMerger; use Symplify\SmartFileSystem\SmartFileInfo; -use RectorPrefix20220519\Symplify\SmartFileSystem\SmartFileSystem; -use RectorPrefix20220519\Webmozart\Assert\Assert; +use RectorPrefix20220520\Symplify\SmartFileSystem\SmartFileSystem; +use RectorPrefix20220520\Webmozart\Assert\Assert; final class ApplicationFileProcessor { /** @@ -110,7 +110,7 @@ final class ApplicationFileProcessor /** * @param FileProcessorInterface[] $fileProcessors */ - public function __construct(\RectorPrefix20220519\Symplify\SmartFileSystem\SmartFileSystem $smartFileSystem, \Rector\Core\Application\FileDecorator\FileDiffFileDecorator $fileDiffFileDecorator, \Rector\FileFormatter\FileFormatter $fileFormatter, \Rector\Core\Application\FileSystem\RemovedAndAddedFilesProcessor $removedAndAddedFilesProcessor, \Rector\Core\Contract\Console\OutputStyleInterface $rectorOutputStyle, \Rector\Core\ValueObjectFactory\Application\FileFactory $fileFactory, \PHPStan\Analyser\NodeScopeResolver $nodeScopeResolver, \RectorPrefix20220519\Symplify\PackageBuilder\Yaml\ParametersMerger $parametersMerger, \Rector\Parallel\Application\ParallelFileProcessor $parallelFileProcessor, \RectorPrefix20220519\Symplify\PackageBuilder\Parameter\ParameterProvider $parameterProvider, \RectorPrefix20220519\Symplify\EasyParallel\ScheduleFactory $scheduleFactory, \RectorPrefix20220519\Symplify\EasyParallel\FileSystem\FilePathNormalizer $filePathNormalizer, \RectorPrefix20220519\Symplify\EasyParallel\CpuCoreCountProvider $cpuCoreCountProvider, array $fileProcessors = []) + public function __construct(\RectorPrefix20220520\Symplify\SmartFileSystem\SmartFileSystem $smartFileSystem, \Rector\Core\Application\FileDecorator\FileDiffFileDecorator $fileDiffFileDecorator, \Rector\FileFormatter\FileFormatter $fileFormatter, \Rector\Core\Application\FileSystem\RemovedAndAddedFilesProcessor $removedAndAddedFilesProcessor, \Rector\Core\Contract\Console\OutputStyleInterface $rectorOutputStyle, \Rector\Core\ValueObjectFactory\Application\FileFactory $fileFactory, \PHPStan\Analyser\NodeScopeResolver $nodeScopeResolver, \RectorPrefix20220520\Symplify\PackageBuilder\Yaml\ParametersMerger $parametersMerger, \Rector\Parallel\Application\ParallelFileProcessor $parallelFileProcessor, \RectorPrefix20220520\Symplify\PackageBuilder\Parameter\ParameterProvider $parameterProvider, \RectorPrefix20220520\Symplify\EasyParallel\ScheduleFactory $scheduleFactory, \RectorPrefix20220520\Symplify\EasyParallel\FileSystem\FilePathNormalizer $filePathNormalizer, \RectorPrefix20220520\Symplify\EasyParallel\CpuCoreCountProvider $cpuCoreCountProvider, array $fileProcessors = []) { $this->smartFileSystem = $smartFileSystem; $this->fileDiffFileDecorator = $fileDiffFileDecorator; @@ -130,7 +130,7 @@ final class ApplicationFileProcessor /** * @return array{system_errors: SystemError[], file_diffs: FileDiff[]} */ - public function run(\Rector\Core\ValueObject\Configuration $configuration, \RectorPrefix20220519\Symfony\Component\Console\Input\InputInterface $input) : array + public function run(\Rector\Core\ValueObject\Configuration $configuration, \RectorPrefix20220520\Symfony\Component\Console\Input\InputInterface $input) : array { $fileInfos = $this->fileFactory->createFileInfosFromPaths($configuration->getPaths(), $configuration); // no files found @@ -232,7 +232,7 @@ final class ApplicationFileProcessor * @param SmartFileInfo[] $fileInfos * @return array{system_errors: SystemError[], file_diffs: FileDiff[]} */ - private function runParallel(array $fileInfos, \Rector\Core\ValueObject\Configuration $configuration, \RectorPrefix20220519\Symfony\Component\Console\Input\InputInterface $input) : array + private function runParallel(array $fileInfos, \Rector\Core\ValueObject\Configuration $configuration, \RectorPrefix20220520\Symfony\Component\Console\Input\InputInterface $input) : array { // must be a string, otherwise the serialization returns empty arrays $filePaths = $this->filePathNormalizer->resolveFilePathsFromFileInfos($fileInfos); @@ -253,7 +253,7 @@ final class ApplicationFileProcessor }; $mainScript = $this->resolveCalledRectorBinary(); if ($mainScript === null) { - throw new \RectorPrefix20220519\Symplify\EasyParallel\Exception\ParallelShouldNotHappenException('[parallel] Main script was not found'); + throw new \RectorPrefix20220520\Symplify\EasyParallel\Exception\ParallelShouldNotHappenException('[parallel] Main script was not found'); } // mimics see https://github.com/phpstan/phpstan-src/commit/9124c66dcc55a222e21b1717ba5f60771f7dda92#diff-387b8f04e0db7a06678eb52ce0c0d0aff73e0d7d8fc5df834d0a5fbec198e5daR139 return $this->parallelFileProcessor->process($schedule, $mainScript, $postFileCallback, $input); @@ -287,7 +287,7 @@ final class ApplicationFileProcessor */ private function resolvePhpFilePaths(array $files) : array { - \RectorPrefix20220519\Webmozart\Assert\Assert::allIsAOf($files, \Rector\Core\ValueObject\Application\File::class); + \RectorPrefix20220520\Webmozart\Assert\Assert::allIsAOf($files, \Rector\Core\ValueObject\Application\File::class); $filePaths = []; foreach ($files as $file) { $smartFileInfo = $file->getSmartFileInfo(); diff --git a/src/Application/FileSystem/RemovedAndAddedFilesProcessor.php b/src/Application/FileSystem/RemovedAndAddedFilesProcessor.php index acfe4c5db6f..5d345e8ec7c 100644 --- a/src/Application/FileSystem/RemovedAndAddedFilesProcessor.php +++ b/src/Application/FileSystem/RemovedAndAddedFilesProcessor.php @@ -6,7 +6,7 @@ namespace Rector\Core\Application\FileSystem; use Rector\Core\Contract\Console\OutputStyleInterface; use Rector\Core\PhpParser\Printer\NodesWithFileDestinationPrinter; use Rector\Core\ValueObject\Configuration; -use RectorPrefix20220519\Symplify\SmartFileSystem\SmartFileSystem; +use RectorPrefix20220520\Symplify\SmartFileSystem\SmartFileSystem; /** * Adds and removes scheduled file */ @@ -32,7 +32,7 @@ final class RemovedAndAddedFilesProcessor * @var \Rector\Core\Contract\Console\OutputStyleInterface */ private $rectorOutputStyle; - public function __construct(\RectorPrefix20220519\Symplify\SmartFileSystem\SmartFileSystem $smartFileSystem, \Rector\Core\PhpParser\Printer\NodesWithFileDestinationPrinter $nodesWithFileDestinationPrinter, \Rector\Core\Application\FileSystem\RemovedAndAddedFilesCollector $removedAndAddedFilesCollector, \Rector\Core\Contract\Console\OutputStyleInterface $rectorOutputStyle) + public function __construct(\RectorPrefix20220520\Symplify\SmartFileSystem\SmartFileSystem $smartFileSystem, \Rector\Core\PhpParser\Printer\NodesWithFileDestinationPrinter $nodesWithFileDestinationPrinter, \Rector\Core\Application\FileSystem\RemovedAndAddedFilesCollector $removedAndAddedFilesCollector, \Rector\Core\Contract\Console\OutputStyleInterface $rectorOutputStyle) { $this->smartFileSystem = $smartFileSystem; $this->nodesWithFileDestinationPrinter = $nodesWithFileDestinationPrinter; diff --git a/src/Application/VersionResolver.php b/src/Application/VersionResolver.php index 39bbbe7b231..5c51b6d4b65 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 RectorPrefix20220519\Symfony\Component\Console\Command\Command; -use RectorPrefix20220519\Symfony\Component\Process\Process; +use RectorPrefix20220520\Symfony\Component\Console\Command\Command; +use RectorPrefix20220520\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,27 +16,27 @@ final class VersionResolver /** * @var string */ - public const PACKAGE_VERSION = '1a56ec173686816bc4e237a2de40355e8270a7c7'; + public const PACKAGE_VERSION = 'f0a1b688f360319847d86901d66f96a456b1c75d'; /** * @var string */ - public const RELEASE_DATE = '2022-05-20 01:07:00'; + public const RELEASE_DATE = '2022-05-20 12:16:54'; /** * @var string */ private const GIT = 'git'; public static function resolvePackageVersion() : string { - $pointsAtProcess = new \RectorPrefix20220519\Symfony\Component\Process\Process([self::GIT, 'tag', '--points-at'], __DIR__); - if ($pointsAtProcess->run() !== \RectorPrefix20220519\Symfony\Component\Console\Command\Command::SUCCESS) { + $pointsAtProcess = new \RectorPrefix20220520\Symfony\Component\Process\Process([self::GIT, 'tag', '--points-at'], __DIR__); + if ($pointsAtProcess->run() !== \RectorPrefix20220520\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.'); } $tag = \trim($pointsAtProcess->getOutput()); if ($tag !== '' && $tag !== '0') { return $tag; } - $process = new \RectorPrefix20220519\Symfony\Component\Process\Process([self::GIT, 'log', '--pretty="%H"', '-n1', 'HEAD'], __DIR__); - if ($process->run() !== \RectorPrefix20220519\Symfony\Component\Console\Command\Command::SUCCESS) { + $process = new \RectorPrefix20220520\Symfony\Component\Process\Process([self::GIT, 'log', '--pretty="%H"', '-n1', 'HEAD'], __DIR__); + if ($process->run() !== \RectorPrefix20220520\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()); @@ -44,8 +44,8 @@ final class VersionResolver } public static function resolverReleaseDateTime() : \DateTime { - $process = new \RectorPrefix20220519\Symfony\Component\Process\Process([self::GIT, 'log', '-n1', '--pretty=%ci', 'HEAD'], __DIR__); - if ($process->run() !== \RectorPrefix20220519\Symfony\Component\Console\Command\Command::SUCCESS) { + $process = new \RectorPrefix20220520\Symfony\Component\Process\Process([self::GIT, 'log', '-n1', '--pretty=%ci', 'HEAD'], __DIR__); + if ($process->run() !== \RectorPrefix20220520\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 3539268e0f2..4e75c70f2f8 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 RectorPrefix20220519\Symfony\Component\Console\Input\InputInterface; -use RectorPrefix20220519\Symplify\PackageBuilder\Parameter\ParameterProvider; -use RectorPrefix20220519\Symplify\SmartFileSystem\FileSystemGuard; +use RectorPrefix20220520\Symfony\Component\Console\Input\InputInterface; +use RectorPrefix20220520\Symplify\PackageBuilder\Parameter\ParameterProvider; +use RectorPrefix20220520\Symplify\SmartFileSystem\FileSystemGuard; /** * Should it pass autoload files/directories to PHPStan analyzer? */ @@ -28,13 +28,13 @@ final class AdditionalAutoloader * @var \Rector\Core\StaticReflection\DynamicSourceLocatorDecorator */ private $dynamicSourceLocatorDecorator; - public function __construct(\RectorPrefix20220519\Symplify\SmartFileSystem\FileSystemGuard $fileSystemGuard, \RectorPrefix20220519\Symplify\PackageBuilder\Parameter\ParameterProvider $parameterProvider, \Rector\Core\StaticReflection\DynamicSourceLocatorDecorator $dynamicSourceLocatorDecorator) + public function __construct(\RectorPrefix20220520\Symplify\SmartFileSystem\FileSystemGuard $fileSystemGuard, \RectorPrefix20220520\Symplify\PackageBuilder\Parameter\ParameterProvider $parameterProvider, \Rector\Core\StaticReflection\DynamicSourceLocatorDecorator $dynamicSourceLocatorDecorator) { $this->fileSystemGuard = $fileSystemGuard; $this->parameterProvider = $parameterProvider; $this->dynamicSourceLocatorDecorator = $dynamicSourceLocatorDecorator; } - public function autoloadInput(\RectorPrefix20220519\Symfony\Component\Console\Input\InputInterface $input) : void + public function autoloadInput(\RectorPrefix20220520\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 f015e878b02..53a43a496c2 100644 --- a/src/Autoloading/BootstrapFilesIncluder.php +++ b/src/Autoloading/BootstrapFilesIncluder.php @@ -6,9 +6,9 @@ namespace Rector\Core\Autoloading; use Rector\Core\Configuration\Option; use Rector\Core\Exception\ShouldNotHappenException; use Rector\Core\FileSystem\FilesFinder; -use RectorPrefix20220519\Symplify\PackageBuilder\Parameter\ParameterProvider; +use RectorPrefix20220520\Symplify\PackageBuilder\Parameter\ParameterProvider; use Throwable; -use RectorPrefix20220519\Webmozart\Assert\Assert; +use RectorPrefix20220520\Webmozart\Assert\Assert; final class BootstrapFilesIncluder { /** @@ -21,7 +21,7 @@ final class BootstrapFilesIncluder * @var \Rector\Core\FileSystem\FilesFinder */ private $filesFinder; - public function __construct(\RectorPrefix20220519\Symplify\PackageBuilder\Parameter\ParameterProvider $parameterProvider, \Rector\Core\FileSystem\FilesFinder $filesFinder) + public function __construct(\RectorPrefix20220520\Symplify\PackageBuilder\Parameter\ParameterProvider $parameterProvider, \Rector\Core\FileSystem\FilesFinder $filesFinder) { $this->parameterProvider = $parameterProvider; $this->filesFinder = $filesFinder; @@ -33,7 +33,7 @@ final class BootstrapFilesIncluder public function includeBootstrapFiles() : void { $bootstrapFiles = $this->parameterProvider->provideArrayParameter(\Rector\Core\Configuration\Option::BOOTSTRAP_FILES); - \RectorPrefix20220519\Webmozart\Assert\Assert::allString($bootstrapFiles); + \RectorPrefix20220520\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 b05c0457ea5..2bc0ff08f73 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 RectorPrefix20220519\Symfony\Component\Console\Input\ArgvInput; -use RectorPrefix20220519\Symplify\SmartFileSystem\Exception\FileNotFoundException; +use RectorPrefix20220520\Symfony\Component\Console\Input\ArgvInput; +use RectorPrefix20220520\Symplify\SmartFileSystem\Exception\FileNotFoundException; final class RectorConfigsResolver { public function provide() : \Rector\Core\ValueObject\Bootstrap\BootstrapConfigs { - $argvInput = new \RectorPrefix20220519\Symfony\Component\Console\Input\ArgvInput(); + $argvInput = new \RectorPrefix20220520\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(\RectorPrefix20220519\Symfony\Component\Console\Input\ArgvInput $argvInput) : ?string + private function resolveRectorRecipeConfig(\RectorPrefix20220520\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(\RectorPrefix20220519\Symfony\Component\Console\Input\ArgvInput $argvInput) : ?string + private function resolveFromInput(\RectorPrefix20220520\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 \RectorPrefix20220519\Symplify\SmartFileSystem\Exception\FileNotFoundException($message); + throw new \RectorPrefix20220520\Symplify\SmartFileSystem\Exception\FileNotFoundException($message); } return \realpath($configFile); } - private function resolveFromInputWithFallback(\RectorPrefix20220519\Symfony\Component\Console\Input\ArgvInput $argvInput, string $fallbackFile) : ?string + private function resolveFromInputWithFallback(\RectorPrefix20220520\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(\RectorPrefix20220519\Symfony\Component\Console\Input\ArgvInput $argvInput, array $optionNames) : ?string + private function getOptionValue(\RectorPrefix20220520\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 86541d2e6ca..418a2a0483d 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 RectorPrefix20220519\Symfony\Component\Config\FileLocator; -use RectorPrefix20220519\Symfony\Component\Config\Loader\DelegatingLoader; -use RectorPrefix20220519\Symfony\Component\Config\Loader\GlobFileLoader; -use RectorPrefix20220519\Symfony\Component\Config\Loader\LoaderInterface; -use RectorPrefix20220519\Symfony\Component\Config\Loader\LoaderResolver; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerBuilder; -use RectorPrefix20220519\Symplify\SymplifyKernel\Contract\Config\LoaderFactoryInterface; -final class ConfigureCallMergingLoaderFactory implements \RectorPrefix20220519\Symplify\SymplifyKernel\Contract\Config\LoaderFactoryInterface +use RectorPrefix20220520\Symfony\Component\Config\FileLocator; +use RectorPrefix20220520\Symfony\Component\Config\Loader\DelegatingLoader; +use RectorPrefix20220520\Symfony\Component\Config\Loader\GlobFileLoader; +use RectorPrefix20220520\Symfony\Component\Config\Loader\LoaderInterface; +use RectorPrefix20220520\Symfony\Component\Config\Loader\LoaderResolver; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\ContainerBuilder; +use RectorPrefix20220520\Symplify\SymplifyKernel\Contract\Config\LoaderFactoryInterface; +final class ConfigureCallMergingLoaderFactory implements \RectorPrefix20220520\Symplify\SymplifyKernel\Contract\Config\LoaderFactoryInterface { /** * @readonly @@ -23,10 +23,10 @@ final class ConfigureCallMergingLoaderFactory implements \RectorPrefix20220519\S { $this->configureCallValuesCollector = $configureCallValuesCollector; } - public function create(\RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerBuilder $containerBuilder, string $currentWorkingDirectory) : \RectorPrefix20220519\Symfony\Component\Config\Loader\LoaderInterface + public function create(\RectorPrefix20220520\Symfony\Component\DependencyInjection\ContainerBuilder $containerBuilder, string $currentWorkingDirectory) : \RectorPrefix20220520\Symfony\Component\Config\Loader\LoaderInterface { - $fileLocator = new \RectorPrefix20220519\Symfony\Component\Config\FileLocator([$currentWorkingDirectory]); - $loaderResolver = new \RectorPrefix20220519\Symfony\Component\Config\Loader\LoaderResolver([new \RectorPrefix20220519\Symfony\Component\Config\Loader\GlobFileLoader($fileLocator), new \Rector\Core\DependencyInjection\Loader\ConfigurableCallValuesCollectingPhpFileLoader($containerBuilder, $fileLocator, $this->configureCallValuesCollector)]); - return new \RectorPrefix20220519\Symfony\Component\Config\Loader\DelegatingLoader($loaderResolver); + $fileLocator = new \RectorPrefix20220520\Symfony\Component\Config\FileLocator([$currentWorkingDirectory]); + $loaderResolver = new \RectorPrefix20220520\Symfony\Component\Config\Loader\LoaderResolver([new \RectorPrefix20220520\Symfony\Component\Config\Loader\GlobFileLoader($fileLocator), new \Rector\Core\DependencyInjection\Loader\ConfigurableCallValuesCollectingPhpFileLoader($containerBuilder, $fileLocator, $this->configureCallValuesCollector)]); + return new \RectorPrefix20220520\Symfony\Component\Config\Loader\DelegatingLoader($loaderResolver); } } diff --git a/src/Configuration/ConfigurationFactory.php b/src/Configuration/ConfigurationFactory.php index d6018ebd476..577c30dd936 100644 --- a/src/Configuration/ConfigurationFactory.php +++ b/src/Configuration/ConfigurationFactory.php @@ -6,8 +6,8 @@ namespace Rector\Core\Configuration; use Rector\ChangesReporting\Output\ConsoleOutputFormatter; use Rector\Core\Contract\Console\OutputStyleInterface; use Rector\Core\ValueObject\Configuration; -use RectorPrefix20220519\Symfony\Component\Console\Input\InputInterface; -use RectorPrefix20220519\Symplify\PackageBuilder\Parameter\ParameterProvider; +use RectorPrefix20220520\Symfony\Component\Console\Input\InputInterface; +use RectorPrefix20220520\Symplify\PackageBuilder\Parameter\ParameterProvider; final class ConfigurationFactory { /** @@ -20,7 +20,7 @@ final class ConfigurationFactory * @var \Rector\Core\Contract\Console\OutputStyleInterface */ private $rectorOutputStyle; - public function __construct(\RectorPrefix20220519\Symplify\PackageBuilder\Parameter\ParameterProvider $parameterProvider, \Rector\Core\Contract\Console\OutputStyleInterface $rectorOutputStyle) + public function __construct(\RectorPrefix20220520\Symplify\PackageBuilder\Parameter\ParameterProvider $parameterProvider, \Rector\Core\Contract\Console\OutputStyleInterface $rectorOutputStyle) { $this->parameterProvider = $parameterProvider; $this->rectorOutputStyle = $rectorOutputStyle; @@ -36,7 +36,7 @@ final class ConfigurationFactory /** * Needs to run in the start of the life cycle, since the rest of workflow uses it. */ - public function createFromInput(\RectorPrefix20220519\Symfony\Component\Console\Input\InputInterface $input) : \Rector\Core\ValueObject\Configuration + public function createFromInput(\RectorPrefix20220520\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); @@ -52,7 +52,7 @@ final class ConfigurationFactory $memoryLimit = $input->getOption(\Rector\Core\Configuration\Option::MEMORY_LIMIT); return new \Rector\Core\ValueObject\Configuration($isDryRun, $showProgressBar, $shouldClearCache, $outputFormat, $fileExtensions, $paths, $showDiffs, $parallelPort, $parallelIdentifier, $isParallel, $memoryLimit); } - private function shouldShowProgressBar(\RectorPrefix20220519\Symfony\Component\Console\Input\InputInterface $input, string $outputFormat) : bool + private function shouldShowProgressBar(\RectorPrefix20220520\Symfony\Component\Console\Input\InputInterface $input, string $outputFormat) : bool { $noProgressBar = (bool) $input->getOption(\Rector\Core\Configuration\Option::NO_PROGRESS_BAR); if ($noProgressBar) { @@ -80,7 +80,7 @@ final class ConfigurationFactory /** * @return string[]|mixed[] */ - private function resolvePaths(\RectorPrefix20220519\Symfony\Component\Console\Input\InputInterface $input) : array + private function resolvePaths(\RectorPrefix20220520\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 9eca0b4284d..f76709b718a 100644 --- a/src/Configuration/Option.php +++ b/src/Configuration/Option.php @@ -3,10 +3,10 @@ declare (strict_types=1); namespace Rector\Core\Configuration; -use RectorPrefix20220519\JetBrains\PhpStorm\Immutable; +use RectorPrefix20220520\JetBrains\PhpStorm\Immutable; use Rector\Caching\Contract\ValueObject\Storage\CacheStorageInterface; use Rector\Caching\ValueObject\Storage\FileCacheStorage; -use RectorPrefix20220519\Symplify\Skipper\ValueObject\Option as SkipperOption; +use RectorPrefix20220520\Symplify\Skipper\ValueObject\Option as SkipperOption; #[Immutable] final class Option { @@ -91,7 +91,7 @@ final class Option * @deprecated Use @see \Rector\Config\RectorConfig::skip() instead * @var string */ - public const SKIP = \RectorPrefix20220519\Symplify\Skipper\ValueObject\Option::SKIP; + public const SKIP = \RectorPrefix20220520\Symplify\Skipper\ValueObject\Option::SKIP; /** * @var string */ diff --git a/src/Configuration/RectorConfigProvider.php b/src/Configuration/RectorConfigProvider.php index d9a0f87a882..0d7cfc56585 100644 --- a/src/Configuration/RectorConfigProvider.php +++ b/src/Configuration/RectorConfigProvider.php @@ -3,7 +3,7 @@ declare (strict_types=1); namespace Rector\Core\Configuration; -use RectorPrefix20220519\Symplify\PackageBuilder\Parameter\ParameterProvider; +use RectorPrefix20220520\Symplify\PackageBuilder\Parameter\ParameterProvider; /** * Rector native configuration provider, to keep deprecated options hidden, * but also provide configuration that custom rules can check @@ -15,7 +15,7 @@ final class RectorConfigProvider * @var \Symplify\PackageBuilder\Parameter\ParameterProvider */ private $parameterProvider; - public function __construct(\RectorPrefix20220519\Symplify\PackageBuilder\Parameter\ParameterProvider $parameterProvider) + public function __construct(\RectorPrefix20220520\Symplify\PackageBuilder\Parameter\ParameterProvider $parameterProvider) { $this->parameterProvider = $parameterProvider; } diff --git a/src/Configuration/ValueObjectInliner.php b/src/Configuration/ValueObjectInliner.php index d8832ffa243..9bc3822e77c 100644 --- a/src/Configuration/ValueObjectInliner.php +++ b/src/Configuration/ValueObjectInliner.php @@ -5,8 +5,8 @@ namespace Rector\Core\Configuration; use ReflectionClass; use ReflectionMethod; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Definition; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Loader\Configurator\InlineServiceConfigurator; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Definition; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Loader\Configurator\InlineServiceConfigurator; final class ValueObjectInliner { /** @@ -55,12 +55,12 @@ final class ValueObjectInliner } return $inlineServices; } - private static function inlineSingle(object $object) : \RectorPrefix20220519\Symfony\Component\DependencyInjection\Loader\Configurator\InlineServiceConfigurator + private static function inlineSingle(object $object) : \RectorPrefix20220520\Symfony\Component\DependencyInjection\Loader\Configurator\InlineServiceConfigurator { $reflectionClass = new \ReflectionClass($object); $className = $reflectionClass->getName(); $argumentValues = self::resolveArgumentValues($reflectionClass, $object); - $inlineServiceConfigurator = new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Loader\Configurator\InlineServiceConfigurator(new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Definition($className)); + $inlineServiceConfigurator = new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Loader\Configurator\InlineServiceConfigurator(new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Definition($className)); if ($argumentValues !== []) { $inlineServiceConfigurator->args($argumentValues); } diff --git a/src/Console/Command/AbstractProcessCommand.php b/src/Console/Command/AbstractProcessCommand.php index 6289b327e7a..3371b2de580 100644 --- a/src/Console/Command/AbstractProcessCommand.php +++ b/src/Console/Command/AbstractProcessCommand.php @@ -6,11 +6,11 @@ namespace Rector\Core\Console\Command; use Rector\ChangesReporting\Output\ConsoleOutputFormatter; use Rector\Core\Configuration\ConfigurationFactory; use Rector\Core\Configuration\Option; -use RectorPrefix20220519\Symfony\Component\Console\Command\Command; -use RectorPrefix20220519\Symfony\Component\Console\Input\InputArgument; -use RectorPrefix20220519\Symfony\Component\Console\Input\InputOption; -use RectorPrefix20220519\Symfony\Contracts\Service\Attribute\Required; -abstract class AbstractProcessCommand extends \RectorPrefix20220519\Symfony\Component\Console\Command\Command +use RectorPrefix20220520\Symfony\Component\Console\Command\Command; +use RectorPrefix20220520\Symfony\Component\Console\Input\InputArgument; +use RectorPrefix20220520\Symfony\Component\Console\Input\InputOption; +use RectorPrefix20220520\Symfony\Contracts\Service\Attribute\Required; +abstract class AbstractProcessCommand extends \RectorPrefix20220520\Symfony\Component\Console\Command\Command { /** * @var \Rector\Core\Configuration\ConfigurationFactory @@ -25,16 +25,16 @@ abstract class AbstractProcessCommand extends \RectorPrefix20220519\Symfony\Comp } protected function configure() : void { - $this->addArgument(\Rector\Core\Configuration\Option::SOURCE, \RectorPrefix20220519\Symfony\Component\Console\Input\InputArgument::OPTIONAL | \RectorPrefix20220519\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, \RectorPrefix20220519\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, \RectorPrefix20220519\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, \RectorPrefix20220519\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, \RectorPrefix20220519\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::OUTPUT_FORMAT, null, \RectorPrefix20220519\Symfony\Component\Console\Input\InputOption::VALUE_REQUIRED, 'Select output format', \Rector\ChangesReporting\Output\ConsoleOutputFormatter::NAME); - $this->addOption(\Rector\Core\Configuration\Option::DEBUG, null, \RectorPrefix20220519\Symfony\Component\Console\Input\InputOption::VALUE_NONE, 'Display debug output.'); - $this->addOption(\Rector\Core\Configuration\Option::MEMORY_LIMIT, null, \RectorPrefix20220519\Symfony\Component\Console\Input\InputOption::VALUE_REQUIRED, 'Memory limit for process'); - $this->addOption(\Rector\Core\Configuration\Option::CLEAR_CACHE, null, \RectorPrefix20220519\Symfony\Component\Console\Input\InputOption::VALUE_NONE, 'Clear unchaged files cache'); - $this->addOption(\Rector\Core\Configuration\Option::PARALLEL_PORT, null, \RectorPrefix20220519\Symfony\Component\Console\Input\InputOption::VALUE_REQUIRED); - $this->addOption(\Rector\Core\Configuration\Option::PARALLEL_IDENTIFIER, null, \RectorPrefix20220519\Symfony\Component\Console\Input\InputOption::VALUE_REQUIRED); + $this->addArgument(\Rector\Core\Configuration\Option::SOURCE, \RectorPrefix20220520\Symfony\Component\Console\Input\InputArgument::OPTIONAL | \RectorPrefix20220520\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, \RectorPrefix20220520\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, \RectorPrefix20220520\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, \RectorPrefix20220520\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, \RectorPrefix20220520\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::OUTPUT_FORMAT, null, \RectorPrefix20220520\Symfony\Component\Console\Input\InputOption::VALUE_REQUIRED, 'Select output format', \Rector\ChangesReporting\Output\ConsoleOutputFormatter::NAME); + $this->addOption(\Rector\Core\Configuration\Option::DEBUG, null, \RectorPrefix20220520\Symfony\Component\Console\Input\InputOption::VALUE_NONE, 'Display debug output.'); + $this->addOption(\Rector\Core\Configuration\Option::MEMORY_LIMIT, null, \RectorPrefix20220520\Symfony\Component\Console\Input\InputOption::VALUE_REQUIRED, 'Memory limit for process'); + $this->addOption(\Rector\Core\Configuration\Option::CLEAR_CACHE, null, \RectorPrefix20220520\Symfony\Component\Console\Input\InputOption::VALUE_NONE, 'Clear unchaged files cache'); + $this->addOption(\Rector\Core\Configuration\Option::PARALLEL_PORT, null, \RectorPrefix20220520\Symfony\Component\Console\Input\InputOption::VALUE_REQUIRED); + $this->addOption(\Rector\Core\Configuration\Option::PARALLEL_IDENTIFIER, null, \RectorPrefix20220520\Symfony\Component\Console\Input\InputOption::VALUE_REQUIRED); } } diff --git a/src/Console/Command/InitCommand.php b/src/Console/Command/InitCommand.php index a7d3600054b..20f367f5d1b 100644 --- a/src/Console/Command/InitCommand.php +++ b/src/Console/Command/InitCommand.php @@ -3,7 +3,7 @@ declare (strict_types=1); namespace Rector\Core\Console\Command; -use RectorPrefix20220519\Nette\Utils\Strings; +use RectorPrefix20220520\Nette\Utils\Strings; use Rector\Core\Configuration\Option; use Rector\Core\Contract\Console\OutputStyleInterface; use Rector\Core\Contract\Template\TemplateResolverInterface; @@ -11,13 +11,13 @@ use Rector\Core\Exception\Template\TemplateTypeNotFoundException; use Rector\Core\Php\PhpVersionProvider; use Rector\Core\Template\DefaultResolver; use Stringable; -use RectorPrefix20220519\Symfony\Component\Console\Command\Command; -use RectorPrefix20220519\Symfony\Component\Console\Input\InputInterface; -use RectorPrefix20220519\Symfony\Component\Console\Input\InputOption; -use RectorPrefix20220519\Symfony\Component\Console\Output\OutputInterface; -use RectorPrefix20220519\Symplify\SmartFileSystem\FileSystemGuard; -use RectorPrefix20220519\Symplify\SmartFileSystem\SmartFileSystem; -final class InitCommand extends \RectorPrefix20220519\Symfony\Component\Console\Command\Command +use RectorPrefix20220520\Symfony\Component\Console\Command\Command; +use RectorPrefix20220520\Symfony\Component\Console\Input\InputInterface; +use RectorPrefix20220520\Symfony\Component\Console\Input\InputOption; +use RectorPrefix20220520\Symfony\Component\Console\Output\OutputInterface; +use RectorPrefix20220520\Symplify\SmartFileSystem\FileSystemGuard; +use RectorPrefix20220520\Symplify\SmartFileSystem\SmartFileSystem; +final class InitCommand extends \RectorPrefix20220520\Symfony\Component\Console\Command\Command { /** * @readonly @@ -47,7 +47,7 @@ final class InitCommand extends \RectorPrefix20220519\Symfony\Component\Console\ /** * @param TemplateResolverInterface[] $templateResolvers */ - public function __construct(\RectorPrefix20220519\Symplify\SmartFileSystem\FileSystemGuard $fileSystemGuard, \RectorPrefix20220519\Symplify\SmartFileSystem\SmartFileSystem $smartFileSystem, \Rector\Core\Contract\Console\OutputStyleInterface $rectorOutputStyle, array $templateResolvers, \Rector\Core\Php\PhpVersionProvider $phpVersionProvider) + public function __construct(\RectorPrefix20220520\Symplify\SmartFileSystem\FileSystemGuard $fileSystemGuard, \RectorPrefix20220520\Symplify\SmartFileSystem\SmartFileSystem $smartFileSystem, \Rector\Core\Contract\Console\OutputStyleInterface $rectorOutputStyle, array $templateResolvers, \Rector\Core\Php\PhpVersionProvider $phpVersionProvider) { $this->fileSystemGuard = $fileSystemGuard; $this->smartFileSystem = $smartFileSystem; @@ -59,9 +59,9 @@ final class InitCommand extends \RectorPrefix20220519\Symfony\Component\Console\ protected function configure() : void { $this->setDescription('Generate rector.php configuration file'); - $this->addOption(\Rector\Core\Configuration\Option::TEMPLATE_TYPE, null, \RectorPrefix20220519\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, \RectorPrefix20220520\Symfony\Component\Console\Input\InputOption::VALUE_OPTIONAL, 'A template type like default, nette, doctrine etc.', \Rector\Core\Template\DefaultResolver::TYPE); } - protected function execute(\RectorPrefix20220519\Symfony\Component\Console\Input\InputInterface $input, \RectorPrefix20220519\Symfony\Component\Console\Output\OutputInterface $output) : int + protected function execute(\RectorPrefix20220520\Symfony\Component\Console\Input\InputInterface $input, \RectorPrefix20220520\Symfony\Component\Console\Output\OutputInterface $output) : int { $templateType = (string) $input->getOption(\Rector\Core\Configuration\Option::TEMPLATE_TYPE); $rectorTemplateFilePath = $this->resolveTemplateFilePathByType($templateType); @@ -73,13 +73,13 @@ final class InitCommand extends \RectorPrefix20220519\Symfony\Component\Console\ } else { $this->smartFileSystem->copy($rectorTemplateFilePath, $rectorRootFilePath); $fullPHPVersion = (string) $this->phpVersionProvider->provide(); - $phpVersion = \RectorPrefix20220519\Nette\Utils\Strings::substring($fullPHPVersion, 0, 1) . \RectorPrefix20220519\Nette\Utils\Strings::substring($fullPHPVersion, 2, 1); + $phpVersion = \RectorPrefix20220520\Nette\Utils\Strings::substring($fullPHPVersion, 0, 1) . \RectorPrefix20220520\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->rectorOutputStyle->success('"rector.php" config file was added'); } - return \RectorPrefix20220519\Symfony\Component\Console\Command\Command::SUCCESS; + return \RectorPrefix20220520\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 2d10ac9f727..7d05f18b1c7 100644 --- a/src/Console/Command/ProcessCommand.php +++ b/src/Console/Command/ProcessCommand.php @@ -19,11 +19,11 @@ use Rector\Core\Validation\EmptyConfigurableRectorChecker; use Rector\Core\ValueObject\Configuration; use Rector\Core\ValueObject\ProcessResult; use Rector\Core\ValueObjectFactory\ProcessResultFactory; -use RectorPrefix20220519\Symfony\Component\Console\Application; -use RectorPrefix20220519\Symfony\Component\Console\Command\Command; -use RectorPrefix20220519\Symfony\Component\Console\Input\InputInterface; -use RectorPrefix20220519\Symfony\Component\Console\Output\OutputInterface; -use RectorPrefix20220519\Symplify\PackageBuilder\Console\Command\CommandNaming; +use RectorPrefix20220520\Symfony\Component\Console\Application; +use RectorPrefix20220520\Symfony\Component\Console\Command\Command; +use RectorPrefix20220520\Symfony\Component\Console\Input\InputInterface; +use RectorPrefix20220520\Symfony\Component\Console\Output\OutputInterface; +use RectorPrefix20220520\Symplify\PackageBuilder\Console\Command\CommandNaming; use Symplify\SmartFileSystem\SmartFileInfo; final class ProcessCommand extends \Rector\Core\Console\Command\AbstractProcessCommand { @@ -99,11 +99,11 @@ final class ProcessCommand extends \Rector\Core\Console\Command\AbstractProcessC } protected function configure() : void { - $this->setName(\RectorPrefix20220519\Symplify\PackageBuilder\Console\Command\CommandNaming::classToName(self::class)); + $this->setName(\RectorPrefix20220520\Symplify\PackageBuilder\Console\Command\CommandNaming::classToName(self::class)); $this->setDescription('Upgrades or refactors source code with provided rectors'); parent::configure(); } - protected function execute(\RectorPrefix20220519\Symfony\Component\Console\Input\InputInterface $input, \RectorPrefix20220519\Symfony\Component\Console\Output\OutputInterface $output) : int + protected function execute(\RectorPrefix20220520\Symfony\Component\Console\Input\InputInterface $input, \RectorPrefix20220520\Symfony\Component\Console\Output\OutputInterface $output) : int { $exitCode = $this->missingRectorRulesReporter->reportIfMissing(); if ($exitCode !== null) { @@ -113,7 +113,7 @@ final class ProcessCommand extends \Rector\Core\Console\Command\AbstractProcessC $this->memoryLimiter->adjust($configuration); // disable console output in case of json output formatter if ($configuration->getOutputFormat() === \Rector\ChangesReporting\Output\JsonOutputFormatter::NAME) { - $this->rectorOutputStyle->setVerbosity(\RectorPrefix20220519\Symfony\Component\Console\Output\OutputInterface::VERBOSITY_QUIET); + $this->rectorOutputStyle->setVerbosity(\RectorPrefix20220520\Symfony\Component\Console\Output\OutputInterface::VERBOSITY_QUIET); } // register autoloaded and included files $this->bootstrapFilesIncluder->includeBootstrapFiles(); @@ -138,10 +138,10 @@ final class ProcessCommand extends \Rector\Core\Console\Command\AbstractProcessC $this->invalidateCacheForChangedAndErroredFiles($processResult); return $this->resolveReturnCode($processResult, $configuration); } - protected function initialize(\RectorPrefix20220519\Symfony\Component\Console\Input\InputInterface $input, \RectorPrefix20220519\Symfony\Component\Console\Output\OutputInterface $output) : void + protected function initialize(\RectorPrefix20220520\Symfony\Component\Console\Input\InputInterface $input, \RectorPrefix20220520\Symfony\Component\Console\Output\OutputInterface $output) : void { $application = $this->getApplication(); - if (!$application instanceof \RectorPrefix20220519\Symfony\Component\Console\Application) { + if (!$application instanceof \RectorPrefix20220520\Symfony\Component\Console\Application) { throw new \Rector\Core\Exception\ShouldNotHappenException(); } $optionDebug = (bool) $input->getOption(\Rector\Core\Configuration\Option::DEBUG); @@ -172,12 +172,12 @@ final class ProcessCommand extends \Rector\Core\Console\Command\AbstractProcessC { // some system errors were found → fail if ($processResult->getErrors() !== []) { - return \RectorPrefix20220519\Symfony\Component\Console\Command\Command::FAILURE; + return \RectorPrefix20220520\Symfony\Component\Console\Command\Command::FAILURE; } // inverse error code for CI dry-run if (!$configuration->isDryRun()) { - return \RectorPrefix20220519\Symfony\Component\Console\Command\Command::SUCCESS; + return \RectorPrefix20220520\Symfony\Component\Console\Command\Command::SUCCESS; } - return $processResult->getFileDiffs() === [] ? \RectorPrefix20220519\Symfony\Component\Console\Command\Command::SUCCESS : \RectorPrefix20220519\Symfony\Component\Console\Command\Command::FAILURE; + return $processResult->getFileDiffs() === [] ? \RectorPrefix20220520\Symfony\Component\Console\Command\Command::SUCCESS : \RectorPrefix20220520\Symfony\Component\Console\Command\Command::FAILURE; } } diff --git a/src/Console/Command/WorkerCommand.php b/src/Console/Command/WorkerCommand.php index b86c54e09c3..30e63958e78 100644 --- a/src/Console/Command/WorkerCommand.php +++ b/src/Console/Command/WorkerCommand.php @@ -3,18 +3,18 @@ declare (strict_types=1); namespace Rector\Core\Console\Command; -use RectorPrefix20220519\Clue\React\NDJson\Decoder; -use RectorPrefix20220519\Clue\React\NDJson\Encoder; -use RectorPrefix20220519\React\EventLoop\StreamSelectLoop; -use RectorPrefix20220519\React\Socket\ConnectionInterface; -use RectorPrefix20220519\React\Socket\TcpConnector; +use RectorPrefix20220520\Clue\React\NDJson\Decoder; +use RectorPrefix20220520\Clue\React\NDJson\Encoder; +use RectorPrefix20220520\React\EventLoop\StreamSelectLoop; +use RectorPrefix20220520\React\Socket\ConnectionInterface; +use RectorPrefix20220520\React\Socket\TcpConnector; use Rector\Core\Util\MemoryLimiter; use Rector\Parallel\WorkerRunner; -use RectorPrefix20220519\Symfony\Component\Console\Input\InputInterface; -use RectorPrefix20220519\Symfony\Component\Console\Output\OutputInterface; -use RectorPrefix20220519\Symplify\EasyParallel\Enum\Action; -use RectorPrefix20220519\Symplify\EasyParallel\Enum\ReactCommand; -use RectorPrefix20220519\Symplify\PackageBuilder\Console\Command\CommandNaming; +use RectorPrefix20220520\Symfony\Component\Console\Input\InputInterface; +use RectorPrefix20220520\Symfony\Component\Console\Output\OutputInterface; +use RectorPrefix20220520\Symplify\EasyParallel\Enum\Action; +use RectorPrefix20220520\Symplify\EasyParallel\Enum\ReactCommand; +use RectorPrefix20220520\Symplify\PackageBuilder\Console\Command\CommandNaming; /** * Inspired at: https://github.com/phpstan/phpstan-src/commit/9124c66dcc55a222e21b1717ba5f60771f7dda92 * https://github.com/phpstan/phpstan-src/blob/c471c7b050e0929daf432288770de673b394a983/src/Command/WorkerCommand.php @@ -42,23 +42,23 @@ final class WorkerCommand extends \Rector\Core\Console\Command\AbstractProcessCo } protected function configure() : void { - $this->setName(\RectorPrefix20220519\Symplify\PackageBuilder\Console\Command\CommandNaming::classToName(self::class)); + $this->setName(\RectorPrefix20220520\Symplify\PackageBuilder\Console\Command\CommandNaming::classToName(self::class)); $this->setDescription('(Internal) Support for parallel process'); parent::configure(); } - protected function execute(\RectorPrefix20220519\Symfony\Component\Console\Input\InputInterface $input, \RectorPrefix20220519\Symfony\Component\Console\Output\OutputInterface $output) : int + protected function execute(\RectorPrefix20220520\Symfony\Component\Console\Input\InputInterface $input, \RectorPrefix20220520\Symfony\Component\Console\Output\OutputInterface $output) : int { $configuration = $this->configurationFactory->createFromInput($input); $this->memoryLimiter->adjust($configuration); - $streamSelectLoop = new \RectorPrefix20220519\React\EventLoop\StreamSelectLoop(); + $streamSelectLoop = new \RectorPrefix20220520\React\EventLoop\StreamSelectLoop(); $parallelIdentifier = $configuration->getParallelIdentifier(); - $tcpConnector = new \RectorPrefix20220519\React\Socket\TcpConnector($streamSelectLoop); + $tcpConnector = new \RectorPrefix20220520\React\Socket\TcpConnector($streamSelectLoop); $promise = $tcpConnector->connect('127.0.0.1:' . $configuration->getParallelPort()); - $promise->then(function (\RectorPrefix20220519\React\Socket\ConnectionInterface $connection) use($parallelIdentifier, $configuration) : void { - $inDecoder = new \RectorPrefix20220519\Clue\React\NDJson\Decoder($connection, \true, 512, \JSON_INVALID_UTF8_IGNORE); - $outEncoder = new \RectorPrefix20220519\Clue\React\NDJson\Encoder($connection, \JSON_INVALID_UTF8_IGNORE); + $promise->then(function (\RectorPrefix20220520\React\Socket\ConnectionInterface $connection) use($parallelIdentifier, $configuration) : void { + $inDecoder = new \RectorPrefix20220520\Clue\React\NDJson\Decoder($connection, \true, 512, \JSON_INVALID_UTF8_IGNORE); + $outEncoder = new \RectorPrefix20220520\Clue\React\NDJson\Encoder($connection, \JSON_INVALID_UTF8_IGNORE); // handshake? - $outEncoder->write([\RectorPrefix20220519\Symplify\EasyParallel\Enum\ReactCommand::ACTION => \RectorPrefix20220519\Symplify\EasyParallel\Enum\Action::HELLO, \RectorPrefix20220519\Symplify\EasyParallel\Enum\ReactCommand::IDENTIFIER => $parallelIdentifier]); + $outEncoder->write([\RectorPrefix20220520\Symplify\EasyParallel\Enum\ReactCommand::ACTION => \RectorPrefix20220520\Symplify\EasyParallel\Enum\Action::HELLO, \RectorPrefix20220520\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 f0136481b83..e260d98964c 100644 --- a/src/Console/ConsoleApplication.php +++ b/src/Console/ConsoleApplication.php @@ -3,20 +3,20 @@ declare (strict_types=1); namespace Rector\Core\Console; -use RectorPrefix20220519\Composer\XdebugHandler\XdebugHandler; +use RectorPrefix20220520\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 RectorPrefix20220519\Symfony\Component\Console\Application; -use RectorPrefix20220519\Symfony\Component\Console\Command\Command; -use RectorPrefix20220519\Symfony\Component\Console\Input\InputDefinition; -use RectorPrefix20220519\Symfony\Component\Console\Input\InputInterface; -use RectorPrefix20220519\Symfony\Component\Console\Input\InputOption; -use RectorPrefix20220519\Symfony\Component\Console\Output\OutputInterface; -use RectorPrefix20220519\Symplify\PackageBuilder\Console\Command\CommandNaming; -final class ConsoleApplication extends \RectorPrefix20220519\Symfony\Component\Console\Application +use RectorPrefix20220520\Symfony\Component\Console\Application; +use RectorPrefix20220520\Symfony\Component\Console\Command\Command; +use RectorPrefix20220520\Symfony\Component\Console\Input\InputDefinition; +use RectorPrefix20220520\Symfony\Component\Console\Input\InputInterface; +use RectorPrefix20220520\Symfony\Component\Console\Input\InputOption; +use RectorPrefix20220520\Symfony\Component\Console\Output\OutputInterface; +use RectorPrefix20220520\Symplify\PackageBuilder\Console\Command\CommandNaming; +final class ConsoleApplication extends \RectorPrefix20220520\Symfony\Component\Console\Application { /** * @var string @@ -25,7 +25,7 @@ final class ConsoleApplication extends \RectorPrefix20220519\Symfony\Component\C /** * @param Command[] $commands */ - public function __construct(\RectorPrefix20220519\Symplify\PackageBuilder\Console\Command\CommandNaming $commandNaming, array $commands = []) + public function __construct(\RectorPrefix20220520\Symplify\PackageBuilder\Console\Command\CommandNaming $commandNaming, array $commands = []) { parent::__construct(self::NAME, \Rector\Core\Application\VersionResolver::PACKAGE_VERSION); foreach ($commands as $command) { @@ -33,14 +33,14 @@ final class ConsoleApplication extends \RectorPrefix20220519\Symfony\Component\C $command->setName($commandName); } $this->addCommands($commands); - $this->setDefaultCommand(\RectorPrefix20220519\Symplify\PackageBuilder\Console\Command\CommandNaming::classToName(\Rector\Core\Console\Command\ProcessCommand::class)); + $this->setDefaultCommand(\RectorPrefix20220520\Symplify\PackageBuilder\Console\Command\CommandNaming::classToName(\Rector\Core\Console\Command\ProcessCommand::class)); } - public function doRun(\RectorPrefix20220519\Symfony\Component\Console\Input\InputInterface $input, \RectorPrefix20220519\Symfony\Component\Console\Output\OutputInterface $output) : int + public function doRun(\RectorPrefix20220520\Symfony\Component\Console\Input\InputInterface $input, \RectorPrefix20220520\Symfony\Component\Console\Output\OutputInterface $output) : int { // @fixes https://github.com/rectorphp/rector/issues/2205 $isXdebugAllowed = $input->hasParameterOption('--xdebug'); if (!$isXdebugAllowed) { - $xdebugHandler = new \RectorPrefix20220519\Composer\XdebugHandler\XdebugHandler('rector'); + $xdebugHandler = new \RectorPrefix20220520\Composer\XdebugHandler\XdebugHandler('rector'); $xdebugHandler->check(); unset($xdebugHandler); } @@ -65,14 +65,14 @@ final class ConsoleApplication extends \RectorPrefix20220519\Symfony\Component\C } return parent::doRun($input, $output); } - protected function getDefaultInputDefinition() : \RectorPrefix20220519\Symfony\Component\Console\Input\InputDefinition + protected function getDefaultInputDefinition() : \RectorPrefix20220520\Symfony\Component\Console\Input\InputDefinition { $defaultInputDefinition = parent::getDefaultInputDefinition(); $this->removeUnusedOptions($defaultInputDefinition); $this->addCustomOptions($defaultInputDefinition); return $defaultInputDefinition; } - private function getNewWorkingDir(\RectorPrefix20220519\Symfony\Component\Console\Input\InputInterface $input) : string + private function getNewWorkingDir(\RectorPrefix20220520\Symfony\Component\Console\Input\InputInterface $input) : string { $workingDir = $input->getParameterOption('--working-dir'); if (\is_string($workingDir) && !\is_dir($workingDir)) { @@ -81,7 +81,7 @@ final class ConsoleApplication extends \RectorPrefix20220519\Symfony\Component\C } return (string) $workingDir; } - private function shouldPrintMetaInformation(\RectorPrefix20220519\Symfony\Component\Console\Input\InputInterface $input) : bool + private function shouldPrintMetaInformation(\RectorPrefix20220520\Symfony\Component\Console\Input\InputInterface $input) : bool { $hasNoArguments = $input->getFirstArgument() === null; if ($hasNoArguments) { @@ -94,19 +94,19 @@ final class ConsoleApplication extends \RectorPrefix20220519\Symfony\Component\C $outputFormat = $input->getParameterOption(['-o', '--output-format']); return $outputFormat === \Rector\ChangesReporting\Output\ConsoleOutputFormatter::NAME; } - private function removeUnusedOptions(\RectorPrefix20220519\Symfony\Component\Console\Input\InputDefinition $inputDefinition) : void + private function removeUnusedOptions(\RectorPrefix20220520\Symfony\Component\Console\Input\InputDefinition $inputDefinition) : void { $options = $inputDefinition->getOptions(); unset($options['quiet'], $options['no-interaction']); $inputDefinition->setOptions($options); } - private function addCustomOptions(\RectorPrefix20220519\Symfony\Component\Console\Input\InputDefinition $inputDefinition) : void + private function addCustomOptions(\RectorPrefix20220520\Symfony\Component\Console\Input\InputDefinition $inputDefinition) : void { - $inputDefinition->addOption(new \RectorPrefix20220519\Symfony\Component\Console\Input\InputOption(\Rector\Core\Configuration\Option::CONFIG, 'c', \RectorPrefix20220519\Symfony\Component\Console\Input\InputOption::VALUE_REQUIRED, 'Path to config file', $this->getDefaultConfigPath())); - $inputDefinition->addOption(new \RectorPrefix20220519\Symfony\Component\Console\Input\InputOption(\Rector\Core\Configuration\Option::DEBUG, null, \RectorPrefix20220519\Symfony\Component\Console\Input\InputOption::VALUE_NONE, 'Enable debug verbosity (-vvv)')); - $inputDefinition->addOption(new \RectorPrefix20220519\Symfony\Component\Console\Input\InputOption(\Rector\Core\Configuration\Option::XDEBUG, null, \RectorPrefix20220519\Symfony\Component\Console\Input\InputOption::VALUE_NONE, 'Allow running xdebug')); - $inputDefinition->addOption(new \RectorPrefix20220519\Symfony\Component\Console\Input\InputOption(\Rector\Core\Configuration\Option::CLEAR_CACHE, null, \RectorPrefix20220519\Symfony\Component\Console\Input\InputOption::VALUE_NONE, 'Clear cache')); - $inputDefinition->addOption(new \RectorPrefix20220519\Symfony\Component\Console\Input\InputOption(\Rector\Core\Configuration\Option::WORKING_DIR, null, \RectorPrefix20220519\Symfony\Component\Console\Input\InputOption::VALUE_REQUIRED, 'If specified, use the given directory as working directory.')); + $inputDefinition->addOption(new \RectorPrefix20220520\Symfony\Component\Console\Input\InputOption(\Rector\Core\Configuration\Option::CONFIG, 'c', \RectorPrefix20220520\Symfony\Component\Console\Input\InputOption::VALUE_REQUIRED, 'Path to config file', $this->getDefaultConfigPath())); + $inputDefinition->addOption(new \RectorPrefix20220520\Symfony\Component\Console\Input\InputOption(\Rector\Core\Configuration\Option::DEBUG, null, \RectorPrefix20220520\Symfony\Component\Console\Input\InputOption::VALUE_NONE, 'Enable debug verbosity (-vvv)')); + $inputDefinition->addOption(new \RectorPrefix20220520\Symfony\Component\Console\Input\InputOption(\Rector\Core\Configuration\Option::XDEBUG, null, \RectorPrefix20220520\Symfony\Component\Console\Input\InputOption::VALUE_NONE, 'Allow running xdebug')); + $inputDefinition->addOption(new \RectorPrefix20220520\Symfony\Component\Console\Input\InputOption(\Rector\Core\Configuration\Option::CLEAR_CACHE, null, \RectorPrefix20220520\Symfony\Component\Console\Input\InputOption::VALUE_NONE, 'Clear cache')); + $inputDefinition->addOption(new \RectorPrefix20220520\Symfony\Component\Console\Input\InputOption(\Rector\Core\Configuration\Option::WORKING_DIR, null, \RectorPrefix20220520\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/Style/RectorConsoleOutputStyle.php b/src/Console/Style/RectorConsoleOutputStyle.php index 800bf03bd49..28d9dc199a4 100644 --- a/src/Console/Style/RectorConsoleOutputStyle.php +++ b/src/Console/Style/RectorConsoleOutputStyle.php @@ -3,13 +3,13 @@ declare (strict_types=1); namespace Rector\Core\Console\Style; -use RectorPrefix20220519\OndraM\CiDetector\CiDetector; -use RectorPrefix20220519\Symfony\Component\Console\Exception\RuntimeException; -use RectorPrefix20220519\Symfony\Component\Console\Helper\ProgressBar; -use RectorPrefix20220519\Symfony\Component\Console\Input\InputInterface; -use RectorPrefix20220519\Symfony\Component\Console\Output\OutputInterface; -use RectorPrefix20220519\Symfony\Component\Console\Style\SymfonyStyle; -final class RectorConsoleOutputStyle extends \RectorPrefix20220519\Symfony\Component\Console\Style\SymfonyStyle +use RectorPrefix20220520\OndraM\CiDetector\CiDetector; +use RectorPrefix20220520\Symfony\Component\Console\Exception\RuntimeException; +use RectorPrefix20220520\Symfony\Component\Console\Helper\ProgressBar; +use RectorPrefix20220520\Symfony\Component\Console\Input\InputInterface; +use RectorPrefix20220520\Symfony\Component\Console\Output\OutputInterface; +use RectorPrefix20220520\Symfony\Component\Console\Style\SymfonyStyle; +final class RectorConsoleOutputStyle extends \RectorPrefix20220520\Symfony\Component\Console\Style\SymfonyStyle { /** * @var mixed|ProgressBar @@ -19,18 +19,18 @@ final class RectorConsoleOutputStyle extends \RectorPrefix20220519\Symfony\Compo * @var bool|null */ private $isCiDetected = null; - public function __construct(\RectorPrefix20220519\Symfony\Component\Console\Input\InputInterface $input, \RectorPrefix20220519\Symfony\Component\Console\Output\OutputInterface $output) + public function __construct(\RectorPrefix20220520\Symfony\Component\Console\Input\InputInterface $input, \RectorPrefix20220520\Symfony\Component\Console\Output\OutputInterface $output) { parent::__construct($input, $output); // silent output in tests if (\defined('PHPUNIT_COMPOSER_INSTALL')) { - $this->setVerbosity(\RectorPrefix20220519\Symfony\Component\Console\Output\OutputInterface::VERBOSITY_QUIET); + $this->setVerbosity(\RectorPrefix20220520\Symfony\Component\Console\Output\OutputInterface::VERBOSITY_QUIET); } } /** * @see https://github.com/phpstan/phpstan-src/commit/0993d180e5a15a17631d525909356081be59ffeb */ - public function createProgressBar(int $max = 0) : \RectorPrefix20220519\Symfony\Component\Console\Helper\ProgressBar + public function createProgressBar(int $max = 0) : \RectorPrefix20220520\Symfony\Component\Console\Helper\ProgressBar { $progressBar = parent::createProgressBar($max); $progressBar->setOverwrite(!$this->isCiDetected()); @@ -63,15 +63,15 @@ final class RectorConsoleOutputStyle extends \RectorPrefix20220519\Symfony\Compo private function isCiDetected() : bool { if ($this->isCiDetected === null) { - $ciDetector = new \RectorPrefix20220519\OndraM\CiDetector\CiDetector(); + $ciDetector = new \RectorPrefix20220520\OndraM\CiDetector\CiDetector(); $this->isCiDetected = $ciDetector->isCiDetected(); } return $this->isCiDetected; } - private function getProgressBar() : \RectorPrefix20220519\Symfony\Component\Console\Helper\ProgressBar + private function getProgressBar() : \RectorPrefix20220520\Symfony\Component\Console\Helper\ProgressBar { if (!isset($this->progressBar)) { - throw new \RectorPrefix20220519\Symfony\Component\Console\Exception\RuntimeException('The ProgressBar is not started.'); + throw new \RectorPrefix20220520\Symfony\Component\Console\Exception\RuntimeException('The ProgressBar is not started.'); } return $this->progressBar; } diff --git a/src/Console/Style/RectorConsoleOutputStyleFactory.php b/src/Console/Style/RectorConsoleOutputStyleFactory.php index 8694d75a7ec..4d69dbdd7df 100644 --- a/src/Console/Style/RectorConsoleOutputStyleFactory.php +++ b/src/Console/Style/RectorConsoleOutputStyleFactory.php @@ -3,11 +3,11 @@ declare (strict_types=1); namespace Rector\Core\Console\Style; -use RectorPrefix20220519\Symfony\Component\Console\Application; -use RectorPrefix20220519\Symfony\Component\Console\Input\ArgvInput; -use RectorPrefix20220519\Symfony\Component\Console\Output\ConsoleOutput; -use RectorPrefix20220519\Symfony\Component\Console\Output\OutputInterface; -use RectorPrefix20220519\Symplify\PackageBuilder\Reflection\PrivatesCaller; +use RectorPrefix20220520\Symfony\Component\Console\Application; +use RectorPrefix20220520\Symfony\Component\Console\Input\ArgvInput; +use RectorPrefix20220520\Symfony\Component\Console\Output\ConsoleOutput; +use RectorPrefix20220520\Symfony\Component\Console\Output\OutputInterface; +use RectorPrefix20220520\Symplify\PackageBuilder\Reflection\PrivatesCaller; final class RectorConsoleOutputStyleFactory { /** @@ -15,19 +15,19 @@ final class RectorConsoleOutputStyleFactory * @var \Symplify\PackageBuilder\Reflection\PrivatesCaller */ private $privatesCaller; - public function __construct(\RectorPrefix20220519\Symplify\PackageBuilder\Reflection\PrivatesCaller $privatesCaller) + public function __construct(\RectorPrefix20220520\Symplify\PackageBuilder\Reflection\PrivatesCaller $privatesCaller) { $this->privatesCaller = $privatesCaller; } public function create() : \Rector\Core\Console\Style\RectorConsoleOutputStyle { - $argvInput = new \RectorPrefix20220519\Symfony\Component\Console\Input\ArgvInput(); - $consoleOutput = new \RectorPrefix20220519\Symfony\Component\Console\Output\ConsoleOutput(); + $argvInput = new \RectorPrefix20220520\Symfony\Component\Console\Input\ArgvInput(); + $consoleOutput = new \RectorPrefix20220520\Symfony\Component\Console\Output\ConsoleOutput(); // to configure all -v, -vv, -vvv options without memory-lock to Application run() arguments - $this->privatesCaller->callPrivateMethod(new \RectorPrefix20220519\Symfony\Component\Console\Application(), 'configureIO', [$argvInput, $consoleOutput]); + $this->privatesCaller->callPrivateMethod(new \RectorPrefix20220520\Symfony\Component\Console\Application(), 'configureIO', [$argvInput, $consoleOutput]); // --debug is called if ($argvInput->hasParameterOption('--debug')) { - $consoleOutput->setVerbosity(\RectorPrefix20220519\Symfony\Component\Console\Output\OutputInterface::VERBOSITY_DEBUG); + $consoleOutput->setVerbosity(\RectorPrefix20220520\Symfony\Component\Console\Output\OutputInterface::VERBOSITY_DEBUG); } return new \Rector\Core\Console\Style\RectorConsoleOutputStyle($argvInput, $consoleOutput); } diff --git a/src/DependencyInjection/Collector/ConfigureCallValuesCollector.php b/src/DependencyInjection/Collector/ConfigureCallValuesCollector.php index d591f0d1a5f..9d2e6f7a6ec 100644 --- a/src/DependencyInjection/Collector/ConfigureCallValuesCollector.php +++ b/src/DependencyInjection/Collector/ConfigureCallValuesCollector.php @@ -6,10 +6,10 @@ namespace Rector\Core\DependencyInjection\Collector; use Rector\Core\Contract\Rector\ConfigurableRectorInterface; use ReflectionClass; use ReflectionClassConstant; -use RectorPrefix20220519\Symfony\Component\Console\Style\SymfonyStyle; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Definition; -use RectorPrefix20220519\Symplify\PackageBuilder\Console\Style\SymfonyStyleFactory; -use RectorPrefix20220519\Symplify\PackageBuilder\Yaml\ParametersMerger; +use RectorPrefix20220520\Symfony\Component\Console\Style\SymfonyStyle; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Definition; +use RectorPrefix20220520\Symplify\PackageBuilder\Console\Style\SymfonyStyleFactory; +use RectorPrefix20220520\Symplify\PackageBuilder\Yaml\ParametersMerger; final class ConfigureCallValuesCollector { /** @@ -28,8 +28,8 @@ final class ConfigureCallValuesCollector private $symfonyStyle; public function __construct() { - $this->parametersMerger = new \RectorPrefix20220519\Symplify\PackageBuilder\Yaml\ParametersMerger(); - $symfonyStyleFactory = new \RectorPrefix20220519\Symplify\PackageBuilder\Console\Style\SymfonyStyleFactory(); + $this->parametersMerger = new \RectorPrefix20220520\Symplify\PackageBuilder\Yaml\ParametersMerger(); + $symfonyStyleFactory = new \RectorPrefix20220520\Symplify\PackageBuilder\Console\Style\SymfonyStyleFactory(); $this->symfonyStyle = $symfonyStyleFactory->create(); } /** @@ -42,7 +42,7 @@ final class ConfigureCallValuesCollector /** * @param class-string $className */ - public function collectFromServiceAndClassName(string $className, \RectorPrefix20220519\Symfony\Component\DependencyInjection\Definition $definition) : void + public function collectFromServiceAndClassName(string $className, \RectorPrefix20220520\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 05e3f003cd1..775e090c5b8 100644 --- a/src/DependencyInjection/CompilerPass/MakeRectorsPublicCompilerPass.php +++ b/src/DependencyInjection/CompilerPass/MakeRectorsPublicCompilerPass.php @@ -4,11 +4,11 @@ declare (strict_types=1); namespace Rector\Core\DependencyInjection\CompilerPass; use Rector\Core\Contract\Rector\RectorInterface; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerBuilder; -final class MakeRectorsPublicCompilerPass implements \RectorPrefix20220519\Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\ContainerBuilder; +final class MakeRectorsPublicCompilerPass implements \RectorPrefix20220520\Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface { - public function process(\RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerBuilder $containerBuilder) : void + public function process(\RectorPrefix20220520\Symfony\Component\DependencyInjection\ContainerBuilder $containerBuilder) : void { foreach ($containerBuilder->getDefinitions() as $definition) { if ($definition->getClass() === null) { diff --git a/src/DependencyInjection/CompilerPass/MergeImportedRectorConfigureCallValuesCompilerPass.php b/src/DependencyInjection/CompilerPass/MergeImportedRectorConfigureCallValuesCompilerPass.php index e8fb1012479..932e574272b 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 RectorPrefix20220519\Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerBuilder; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Definition; -final class MergeImportedRectorConfigureCallValuesCompilerPass implements \RectorPrefix20220519\Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\ContainerBuilder; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Definition; +final class MergeImportedRectorConfigureCallValuesCompilerPass implements \RectorPrefix20220520\Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface { /** * @var string @@ -22,13 +22,13 @@ final class MergeImportedRectorConfigureCallValuesCompilerPass implements \Recto { $this->configureCallValuesCollector = $configureCallValuesCollector; } - public function process(\RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerBuilder $containerBuilder) : void + public function process(\RectorPrefix20220520\Symfony\Component\DependencyInjection\ContainerBuilder $containerBuilder) : void { foreach ($containerBuilder->getDefinitions() as $id => $definition) { $this->completeCollectedArguments($id, $definition); } } - private function completeCollectedArguments(string $serviceClass, \RectorPrefix20220519\Symfony\Component\DependencyInjection\Definition $definition) : void + private function completeCollectedArguments(string $serviceClass, \RectorPrefix20220520\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 f543c7ed413..a67a205f676 100644 --- a/src/DependencyInjection/CompilerPass/RemoveSkippedRectorsCompilerPass.php +++ b/src/DependencyInjection/CompilerPass/RemoveSkippedRectorsCompilerPass.php @@ -5,15 +5,15 @@ namespace Rector\Core\DependencyInjection\CompilerPass; use Rector\Core\Configuration\Option; use Rector\Core\Contract\Rector\RectorInterface; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerBuilder; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface; +use RectorPrefix20220520\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 \RectorPrefix20220519\Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface +final class RemoveSkippedRectorsCompilerPass implements \RectorPrefix20220520\Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface { - public function process(\RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerBuilder $containerBuilder) : void + public function process(\RectorPrefix20220520\Symfony\Component\DependencyInjection\ContainerBuilder $containerBuilder) : void { $skippedRectorClasses = $this->resolveSkippedRectorClasses($containerBuilder); foreach ($containerBuilder->getDefinitions() as $id => $definition) { @@ -29,7 +29,7 @@ final class RemoveSkippedRectorsCompilerPass implements \RectorPrefix20220519\Sy /** * @return string[] */ - private function resolveSkippedRectorClasses(\RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerBuilder $containerBuilder) : array + private function resolveSkippedRectorClasses(\RectorPrefix20220520\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 5dfeb5fd454..18a716c9aa8 100644 --- a/src/DependencyInjection/CompilerPass/VerifyRectorServiceExistsCompilerPass.php +++ b/src/DependencyInjection/CompilerPass/VerifyRectorServiceExistsCompilerPass.php @@ -6,11 +6,11 @@ namespace Rector\Core\DependencyInjection\CompilerPass; use Rector\Core\Contract\Rector\RectorInterface; use Rector\Core\Exception\ShouldNotHappenException; use Rector\Core\Rector\AbstractRector; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerBuilder; -final class VerifyRectorServiceExistsCompilerPass implements \RectorPrefix20220519\Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\ContainerBuilder; +final class VerifyRectorServiceExistsCompilerPass implements \RectorPrefix20220520\Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface { - public function process(\RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerBuilder $containerBuilder) : void + public function process(\RectorPrefix20220520\Symfony\Component\DependencyInjection\ContainerBuilder $containerBuilder) : void { foreach ($containerBuilder->getDefinitions() as $definition) { $class = $definition->getClass(); diff --git a/src/DependencyInjection/Loader/ConfigurableCallValuesCollectingPhpFileLoader.php b/src/DependencyInjection/Loader/ConfigurableCallValuesCollectingPhpFileLoader.php index d8b91b17202..7866a62bd34 100644 --- a/src/DependencyInjection/Loader/ConfigurableCallValuesCollectingPhpFileLoader.php +++ b/src/DependencyInjection/Loader/ConfigurableCallValuesCollectingPhpFileLoader.php @@ -5,20 +5,20 @@ namespace Rector\Core\DependencyInjection\Loader; use Rector\Core\Contract\Rector\ConfigurableRectorInterface; use Rector\Core\DependencyInjection\Collector\ConfigureCallValuesCollector; -use RectorPrefix20220519\Symfony\Component\Config\FileLocatorInterface; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerBuilder; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Loader\PhpFileLoader; +use RectorPrefix20220520\Symfony\Component\Config\FileLocatorInterface; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\ContainerBuilder; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Loader\PhpFileLoader; /** * @property-read ContainerBuilder $container */ -final class ConfigurableCallValuesCollectingPhpFileLoader extends \RectorPrefix20220519\Symfony\Component\DependencyInjection\Loader\PhpFileLoader +final class ConfigurableCallValuesCollectingPhpFileLoader extends \RectorPrefix20220520\Symfony\Component\DependencyInjection\Loader\PhpFileLoader { /** * @readonly * @var \Rector\Core\DependencyInjection\Collector\ConfigureCallValuesCollector */ private $configureCallValuesCollector; - public function __construct(\RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerBuilder $containerBuilder, \RectorPrefix20220519\Symfony\Component\Config\FileLocatorInterface $fileLocator, \Rector\Core\DependencyInjection\Collector\ConfigureCallValuesCollector $configureCallValuesCollector) + public function __construct(\RectorPrefix20220520\Symfony\Component\DependencyInjection\ContainerBuilder $containerBuilder, \RectorPrefix20220520\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 22b55c33ade..056e0b813b8 100644 --- a/src/DependencyInjection/Loader/Configurator/RectorServiceConfigurator.php +++ b/src/DependencyInjection/Loader/Configurator/RectorServiceConfigurator.php @@ -5,13 +5,13 @@ namespace Rector\Core\DependencyInjection\Loader\Configurator; use Rector\Core\Configuration\ValueObjectInliner; use Rector\Core\Contract\Rector\ConfigurableRectorInterface; -use RectorPrefix20220519\Symfony\Component\Config\Definition\Exception\InvalidConfigurationException; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Loader\Configurator\ServiceConfigurator; +use RectorPrefix20220520\Symfony\Component\Config\Definition\Exception\InvalidConfigurationException; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Loader\Configurator\ServiceConfigurator; /** * @api * Same as Symfony service configurator, with extra "configure()" method for easier DX */ -final class RectorServiceConfigurator extends \RectorPrefix20220519\Symfony\Component\DependencyInjection\Loader\Configurator\ServiceConfigurator +final class RectorServiceConfigurator extends \RectorPrefix20220520\Symfony\Component\DependencyInjection\Loader\Configurator\ServiceConfigurator { /** * @deprecated Use @see \Rector\Config\RectorConfig instead @@ -33,11 +33,11 @@ final class RectorServiceConfigurator extends \RectorPrefix20220519\Symfony\Comp private function ensureClassIsConfigurable(?string $class) : void { if ($class === null) { - throw new \RectorPrefix20220519\Symfony\Component\Config\Definition\Exception\InvalidConfigurationException('The class is missing'); + throw new \RectorPrefix20220520\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 \RectorPrefix20220519\Symfony\Component\Config\Definition\Exception\InvalidConfigurationException($errorMessage); + throw new \RectorPrefix20220520\Symfony\Component\Config\Definition\Exception\InvalidConfigurationException($errorMessage); } } } diff --git a/src/DependencyInjection/RectorContainerFactory.php b/src/DependencyInjection/RectorContainerFactory.php index 16f502958eb..9a4fff74953 100644 --- a/src/DependencyInjection/RectorContainerFactory.php +++ b/src/DependencyInjection/RectorContainerFactory.php @@ -3,24 +3,24 @@ declare (strict_types=1); namespace Rector\Core\DependencyInjection; -use RectorPrefix20220519\Nette\Utils\FileSystem; -use RectorPrefix20220519\Psr\Container\ContainerInterface; +use RectorPrefix20220520\Nette\Utils\FileSystem; +use RectorPrefix20220520\Psr\Container\ContainerInterface; use Rector\Caching\Detector\ChangedFilesDetector; use Rector\Core\Kernel\RectorKernel; use Rector\Core\ValueObject\Bootstrap\BootstrapConfigs; -use RectorPrefix20220519\Symfony\Component\Console\Style\SymfonyStyle; +use RectorPrefix20220520\Symfony\Component\Console\Style\SymfonyStyle; final class RectorContainerFactory { - public function createFromBootstrapConfigs(\Rector\Core\ValueObject\Bootstrap\BootstrapConfigs $bootstrapConfigs) : \RectorPrefix20220519\Psr\Container\ContainerInterface + public function createFromBootstrapConfigs(\Rector\Core\ValueObject\Bootstrap\BootstrapConfigs $bootstrapConfigs) : \RectorPrefix20220520\Psr\Container\ContainerInterface { $container = $this->createFromConfigs($bootstrapConfigs->getConfigFiles()); $mainConfigFile = $bootstrapConfigs->getMainConfigFile(); if ($mainConfigFile !== null) { // warning about old syntax before RectorConfig - $fileContents = \RectorPrefix20220519\Nette\Utils\FileSystem::read($mainConfigFile); + $fileContents = \RectorPrefix20220520\Nette\Utils\FileSystem::read($mainConfigFile); if (\strpos($fileContents, 'ContainerConfigurator $containerConfigurator') !== \false) { /** @var SymfonyStyle $symfonyStyle */ - $symfonyStyle = $container->get(\RectorPrefix20220519\Symfony\Component\Console\Style\SymfonyStyle::class); + $symfonyStyle = $container->get(\RectorPrefix20220520\Symfony\Component\Console\Style\SymfonyStyle::class); // @todo add link to blog post after release $warningMessage = \sprintf('Your "%s" config is using old syntax with "ContainerConfigurator".%sUpgrade to "RectorConfig" that allows better autocomplete and future standard.', $mainConfigFile, \PHP_EOL); $symfonyStyle->warning($warningMessage); @@ -37,7 +37,7 @@ final class RectorContainerFactory * @param string[] $configFiles * @api */ - private function createFromConfigs(array $configFiles) : \RectorPrefix20220519\Psr\Container\ContainerInterface + private function createFromConfigs(array $configFiles) : \RectorPrefix20220520\Psr\Container\ContainerInterface { $rectorKernel = new \Rector\Core\Kernel\RectorKernel(); return $rectorKernel->createFromConfigs($configFiles); diff --git a/src/Differ/DefaultDiffer.php b/src/Differ/DefaultDiffer.php index 17fcdad4a52..9b892b87014 100644 --- a/src/Differ/DefaultDiffer.php +++ b/src/Differ/DefaultDiffer.php @@ -3,8 +3,8 @@ declare (strict_types=1); namespace Rector\Core\Differ; -use RectorPrefix20220519\SebastianBergmann\Diff\Differ; -use RectorPrefix20220519\SebastianBergmann\Diff\Output\StrictUnifiedDiffOutputBuilder; +use RectorPrefix20220520\SebastianBergmann\Diff\Differ; +use RectorPrefix20220520\SebastianBergmann\Diff\Output\StrictUnifiedDiffOutputBuilder; final class DefaultDiffer { /** @@ -14,8 +14,8 @@ final class DefaultDiffer private $differ; public function __construct() { - $strictUnifiedDiffOutputBuilder = new \RectorPrefix20220519\SebastianBergmann\Diff\Output\StrictUnifiedDiffOutputBuilder(['fromFile' => 'Original', 'toFile' => 'New']); - $this->differ = new \RectorPrefix20220519\SebastianBergmann\Diff\Differ($strictUnifiedDiffOutputBuilder); + $strictUnifiedDiffOutputBuilder = new \RectorPrefix20220520\SebastianBergmann\Diff\Output\StrictUnifiedDiffOutputBuilder(['fromFile' => 'Original', 'toFile' => 'New']); + $this->differ = new \RectorPrefix20220520\SebastianBergmann\Diff\Differ($strictUnifiedDiffOutputBuilder); } public function diff(string $old, string $new) : string { diff --git a/src/Enum/ObjectReference.php b/src/Enum/ObjectReference.php index 68f2be96af5..cf43dcc042b 100644 --- a/src/Enum/ObjectReference.php +++ b/src/Enum/ObjectReference.php @@ -3,7 +3,7 @@ declare (strict_types=1); namespace Rector\Core\Enum; -use RectorPrefix20220519\MyCLabs\Enum\Enum; +use RectorPrefix20220520\MyCLabs\Enum\Enum; /** * @see https://github.com/myclabs/php-enum * @@ -11,7 +11,7 @@ use RectorPrefix20220519\MyCLabs\Enum\Enum; * @method static ObjectReference STATIC() * @method static ObjectReference PARENT() */ -final class ObjectReference extends \RectorPrefix20220519\MyCLabs\Enum\Enum +final class ObjectReference extends \RectorPrefix20220520\MyCLabs\Enum\Enum { /** * @var string diff --git a/src/FileSystem/FilesFinder.php b/src/FileSystem/FilesFinder.php index 993a18f39de..e5835baf69e 100644 --- a/src/FileSystem/FilesFinder.php +++ b/src/FileSystem/FilesFinder.php @@ -6,12 +6,12 @@ namespace Rector\Core\FileSystem; use Rector\Caching\UnchangedFilesFilter; use Rector\Core\Configuration\Option; use Rector\Core\Util\StringUtils; -use RectorPrefix20220519\Symfony\Component\Finder\Finder; -use RectorPrefix20220519\Symfony\Component\Finder\SplFileInfo; -use RectorPrefix20220519\Symplify\PackageBuilder\Parameter\ParameterProvider; -use RectorPrefix20220519\Symplify\Skipper\SkipCriteriaResolver\SkippedPathsResolver; -use RectorPrefix20220519\Symplify\SmartFileSystem\FileSystemFilter; -use RectorPrefix20220519\Symplify\SmartFileSystem\Finder\FinderSanitizer; +use RectorPrefix20220520\Symfony\Component\Finder\Finder; +use RectorPrefix20220520\Symfony\Component\Finder\SplFileInfo; +use RectorPrefix20220520\Symplify\PackageBuilder\Parameter\ParameterProvider; +use RectorPrefix20220520\Symplify\Skipper\SkipCriteriaResolver\SkippedPathsResolver; +use RectorPrefix20220520\Symplify\SmartFileSystem\FileSystemFilter; +use RectorPrefix20220520\Symplify\SmartFileSystem\Finder\FinderSanitizer; use Symplify\SmartFileSystem\SmartFileInfo; /** * @see \Rector\Core\Tests\FileSystem\FilesFinder\FilesFinderTest @@ -58,7 +58,7 @@ final class FilesFinder * @var \Symplify\PackageBuilder\Parameter\ParameterProvider */ private $parameterProvider; - public function __construct(\Rector\Core\FileSystem\FilesystemTweaker $filesystemTweaker, \RectorPrefix20220519\Symplify\SmartFileSystem\Finder\FinderSanitizer $finderSanitizer, \RectorPrefix20220519\Symplify\SmartFileSystem\FileSystemFilter $fileSystemFilter, \RectorPrefix20220519\Symplify\Skipper\SkipCriteriaResolver\SkippedPathsResolver $skippedPathsResolver, \Rector\Caching\UnchangedFilesFilter $unchangedFilesFilter, \RectorPrefix20220519\Symplify\PackageBuilder\Parameter\ParameterProvider $parameterProvider) + public function __construct(\Rector\Core\FileSystem\FilesystemTweaker $filesystemTweaker, \RectorPrefix20220520\Symplify\SmartFileSystem\Finder\FinderSanitizer $finderSanitizer, \RectorPrefix20220520\Symplify\SmartFileSystem\FileSystemFilter $fileSystemFilter, \RectorPrefix20220520\Symplify\Skipper\SkipCriteriaResolver\SkippedPathsResolver $skippedPathsResolver, \Rector\Caching\UnchangedFilesFilter $unchangedFilesFilter, \RectorPrefix20220520\Symplify\PackageBuilder\Parameter\ParameterProvider $parameterProvider) { $this->filesystemTweaker = $filesystemTweaker; $this->finderSanitizer = $finderSanitizer; @@ -90,7 +90,7 @@ final class FilesFinder if ($directories === []) { return []; } - $finder = \RectorPrefix20220519\Symfony\Component\Finder\Finder::create()->files()->size('> 0')->in($directories)->sortByName(); + $finder = \RectorPrefix20220520\Symfony\Component\Finder\Finder::create()->files()->size('> 0')->in($directories)->sortByName(); if ($this->hasFollowLinks()) { $finder->followLinks(); } @@ -110,13 +110,13 @@ final class FilesFinder $suffixesPattern = \implode('|', $suffixes); return '#\\.(' . $suffixesPattern . ')$#'; } - private function addFilterWithExcludedPaths(\RectorPrefix20220519\Symfony\Component\Finder\Finder $finder) : void + private function addFilterWithExcludedPaths(\RectorPrefix20220520\Symfony\Component\Finder\Finder $finder) : void { $excludePaths = $this->skippedPathsResolver->resolve(); if ($excludePaths === []) { return; } - $finder->filter(function (\RectorPrefix20220519\Symfony\Component\Finder\SplFileInfo $splFileInfo) use($excludePaths) : bool { + $finder->filter(function (\RectorPrefix20220520\Symfony\Component\Finder\SplFileInfo $splFileInfo) use($excludePaths) : bool { /** @var string|false $realPath */ $realPath = $splFileInfo->getRealPath(); if ($realPath === \false) { diff --git a/src/FileSystem/FilesystemTweaker.php b/src/FileSystem/FilesystemTweaker.php index 6765934a4ea..3e62879c616 100644 --- a/src/FileSystem/FilesystemTweaker.php +++ b/src/FileSystem/FilesystemTweaker.php @@ -3,7 +3,7 @@ declare (strict_types=1); namespace Rector\Core\FileSystem; -use RectorPrefix20220519\Symplify\SmartFileSystem\FileSystemGuard; +use RectorPrefix20220520\Symplify\SmartFileSystem\FileSystemGuard; final class FilesystemTweaker { /** @@ -11,7 +11,7 @@ final class FilesystemTweaker * @var \Symplify\SmartFileSystem\FileSystemGuard */ private $fileSystemGuard; - public function __construct(\RectorPrefix20220519\Symplify\SmartFileSystem\FileSystemGuard $fileSystemGuard) + public function __construct(\RectorPrefix20220520\Symplify\SmartFileSystem\FileSystemGuard $fileSystemGuard) { $this->fileSystemGuard = $fileSystemGuard; } diff --git a/src/Kernel/RectorKernel.php b/src/Kernel/RectorKernel.php index 92e5d45c555..0de11375546 100644 --- a/src/Kernel/RectorKernel.php +++ b/src/Kernel/RectorKernel.php @@ -11,17 +11,17 @@ use Rector\Core\DependencyInjection\CompilerPass\MergeImportedRectorConfigureCal use Rector\Core\DependencyInjection\CompilerPass\RemoveSkippedRectorsCompilerPass; use Rector\Core\DependencyInjection\CompilerPass\VerifyRectorServiceExistsCompilerPass; use Rector\Core\Exception\ShouldNotHappenException; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerInterface; -use RectorPrefix20220519\Symplify\Astral\ValueObject\AstralConfig; -use RectorPrefix20220519\Symplify\AutowireArrayParameter\DependencyInjection\CompilerPass\AutowireArrayParameterCompilerPass; -use RectorPrefix20220519\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonManipulatorConfig; -use RectorPrefix20220519\Symplify\PackageBuilder\DependencyInjection\CompilerPass\AutowireInterfacesCompilerPass; -use RectorPrefix20220519\Symplify\PackageBuilder\ValueObject\ConsoleColorDiffConfig; -use RectorPrefix20220519\Symplify\Skipper\ValueObject\SkipperConfig; -use RectorPrefix20220519\Symplify\SymplifyKernel\ContainerBuilderFactory; -use RectorPrefix20220519\Symplify\SymplifyKernel\Contract\LightKernelInterface; -final class RectorKernel implements \RectorPrefix20220519\Symplify\SymplifyKernel\Contract\LightKernelInterface +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\ContainerInterface; +use RectorPrefix20220520\Symplify\Astral\ValueObject\AstralConfig; +use RectorPrefix20220520\Symplify\AutowireArrayParameter\DependencyInjection\CompilerPass\AutowireArrayParameterCompilerPass; +use RectorPrefix20220520\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonManipulatorConfig; +use RectorPrefix20220520\Symplify\PackageBuilder\DependencyInjection\CompilerPass\AutowireInterfacesCompilerPass; +use RectorPrefix20220520\Symplify\PackageBuilder\ValueObject\ConsoleColorDiffConfig; +use RectorPrefix20220520\Symplify\Skipper\ValueObject\SkipperConfig; +use RectorPrefix20220520\Symplify\SymplifyKernel\ContainerBuilderFactory; +use RectorPrefix20220520\Symplify\SymplifyKernel\Contract\LightKernelInterface; +final class RectorKernel implements \RectorPrefix20220520\Symplify\SymplifyKernel\Contract\LightKernelInterface { /** * @readonly @@ -39,13 +39,13 @@ final class RectorKernel implements \RectorPrefix20220519\Symplify\SymplifyKerne /** * @param string[] $configFiles */ - public function createFromConfigs(array $configFiles) : \RectorPrefix20220519\Psr\Container\ContainerInterface + public function createFromConfigs(array $configFiles) : \RectorPrefix20220520\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 \RectorPrefix20220519\Symplify\SymplifyKernel\ContainerBuilderFactory($configureCallMergingLoaderFactory); + $containerBuilderFactory = new \RectorPrefix20220520\Symplify\SymplifyKernel\ContainerBuilderFactory($configureCallMergingLoaderFactory); $containerBuilder = $containerBuilderFactory->create($configFiles, $compilerPasses, []); // @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 \RectorPrefix20220519\Symplify\SymplifyKerne $this->container = $containerBuilder; return $containerBuilder; } - public function getContainer() : \RectorPrefix20220519\Psr\Container\ContainerInterface + public function getContainer() : \RectorPrefix20220520\Psr\Container\ContainerInterface { if ($this->container === null) { throw new \Rector\Core\Exception\ShouldNotHappenException(); @@ -71,12 +71,12 @@ final class RectorKernel implements \RectorPrefix20220519\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 \RectorPrefix20220519\Symplify\PackageBuilder\DependencyInjection\CompilerPass\AutowireInterfacesCompilerPass([\Rector\Core\Contract\Rector\RectorInterface::class]); + $compilerPasses[] = new \RectorPrefix20220520\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 \RectorPrefix20220519\Symplify\AutowireArrayParameter\DependencyInjection\CompilerPass\AutowireArrayParameterCompilerPass(); + $compilerPasses[] = new \RectorPrefix20220520\Symplify\AutowireArrayParameter\DependencyInjection\CompilerPass\AutowireArrayParameterCompilerPass(); return $compilerPasses; } /** @@ -86,10 +86,10 @@ final class RectorKernel implements \RectorPrefix20220519\Symplify\SymplifyKerne { $configFiles = []; $configFiles[] = __DIR__ . '/../../config/config.php'; - $configFiles[] = \RectorPrefix20220519\Symplify\Astral\ValueObject\AstralConfig::FILE_PATH; - $configFiles[] = \RectorPrefix20220519\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonManipulatorConfig::FILE_PATH; - $configFiles[] = \RectorPrefix20220519\Symplify\Skipper\ValueObject\SkipperConfig::FILE_PATH; - $configFiles[] = \RectorPrefix20220519\Symplify\PackageBuilder\ValueObject\ConsoleColorDiffConfig::FILE_PATH; + $configFiles[] = \RectorPrefix20220520\Symplify\Astral\ValueObject\AstralConfig::FILE_PATH; + $configFiles[] = \RectorPrefix20220520\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonManipulatorConfig::FILE_PATH; + $configFiles[] = \RectorPrefix20220520\Symplify\Skipper\ValueObject\SkipperConfig::FILE_PATH; + $configFiles[] = \RectorPrefix20220520\Symplify\PackageBuilder\ValueObject\ConsoleColorDiffConfig::FILE_PATH; return $configFiles; } } diff --git a/src/NodeAnalyzer/CallAnalyzer.php b/src/NodeAnalyzer/CallAnalyzer.php index 0cbe2831b78..2716a47601c 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 RectorPrefix20220519\Symfony\Contracts\Service\Attribute\Required; +use RectorPrefix20220520\Symfony\Contracts\Service\Attribute\Required; final class CallAnalyzer { /** diff --git a/src/NodeManipulator/ArrayDestructVariableFilter.php b/src/NodeManipulator/ArrayDestructVariableFilter.php index 75acee97f55..fab0740edc6 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 RectorPrefix20220519\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser; +use RectorPrefix20220520\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser; final class ArrayDestructVariableFilter { /** @@ -23,7 +23,7 @@ final class ArrayDestructVariableFilter * @var \Rector\NodeNameResolver\NodeNameResolver */ private $nodeNameResolver; - public function __construct(\RectorPrefix20220519\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser $simpleCallableNodeTraverser, \Rector\NodeNameResolver\NodeNameResolver $nodeNameResolver) + public function __construct(\RectorPrefix20220520\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser $simpleCallableNodeTraverser, \Rector\NodeNameResolver\NodeNameResolver $nodeNameResolver) { $this->simpleCallableNodeTraverser = $simpleCallableNodeTraverser; $this->nodeNameResolver = $nodeNameResolver; diff --git a/src/NodeManipulator/ArrayManipulator.php b/src/NodeManipulator/ArrayManipulator.php index 8228bcf1c29..59cb1f16a30 100644 --- a/src/NodeManipulator/ArrayManipulator.php +++ b/src/NodeManipulator/ArrayManipulator.php @@ -10,7 +10,7 @@ use PhpParser\Node\Scalar\LNumber; use PhpParser\Node\Scalar\String_; use Rector\ChangesReporting\Collector\RectorChangeCollector; use Rector\Core\NodeAnalyzer\ExprAnalyzer; -use RectorPrefix20220519\Symfony\Contracts\Service\Attribute\Required; +use RectorPrefix20220520\Symfony\Contracts\Service\Attribute\Required; final class ArrayManipulator { /** diff --git a/src/NodeManipulator/AssignManipulator.php b/src/NodeManipulator/AssignManipulator.php index 74b1ba33c07..1db30f4d58f 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 RectorPrefix20220519\Symplify\PackageBuilder\Php\TypeChecker; +use RectorPrefix20220520\Symplify\PackageBuilder\Php\TypeChecker; final class AssignManipulator { /** @@ -55,7 +55,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, \RectorPrefix20220519\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, \RectorPrefix20220520\Symplify\PackageBuilder\Php\TypeChecker $typeChecker) { $this->nodeNameResolver = $nodeNameResolver; $this->nodeComparator = $nodeComparator; diff --git a/src/NodeManipulator/ClassMethodPropertyFetchManipulator.php b/src/NodeManipulator/ClassMethodPropertyFetchManipulator.php index 9da1f88ef79..cf6713db60b 100644 --- a/src/NodeManipulator/ClassMethodPropertyFetchManipulator.php +++ b/src/NodeManipulator/ClassMethodPropertyFetchManipulator.php @@ -13,7 +13,7 @@ use PhpParser\Node\Stmt\ClassMethod; use PhpParser\NodeTraverser; use Rector\Core\PhpParser\Node\BetterNodeFinder; use Rector\NodeNameResolver\NodeNameResolver; -use RectorPrefix20220519\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser; +use RectorPrefix20220520\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser; final class ClassMethodPropertyFetchManipulator { /** @@ -31,7 +31,7 @@ final class ClassMethodPropertyFetchManipulator * @var \Rector\Core\PhpParser\Node\BetterNodeFinder */ private $betterNodeFinder; - public function __construct(\RectorPrefix20220519\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser $simpleCallableNodeTraverser, \Rector\NodeNameResolver\NodeNameResolver $nodeNameResolver, \Rector\Core\PhpParser\Node\BetterNodeFinder $betterNodeFinder) + public function __construct(\RectorPrefix20220520\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser $simpleCallableNodeTraverser, \Rector\NodeNameResolver\NodeNameResolver $nodeNameResolver, \Rector\Core\PhpParser\Node\BetterNodeFinder $betterNodeFinder) { $this->simpleCallableNodeTraverser = $simpleCallableNodeTraverser; $this->nodeNameResolver = $nodeNameResolver; diff --git a/src/NodeManipulator/Dependency/DependencyClassMethodDecorator.php b/src/NodeManipulator/Dependency/DependencyClassMethodDecorator.php index 90c1011497b..70fd7f117af 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 RectorPrefix20220519\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser; +use RectorPrefix20220520\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser; final class DependencyClassMethodDecorator { /** @@ -48,7 +48,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, \RectorPrefix20220519\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, \RectorPrefix20220520\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 89b3aa3c7ad..78e96aaaf52 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 RectorPrefix20220519\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser; +use RectorPrefix20220520\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser; final class FunctionLikeManipulator { /** @@ -27,7 +27,7 @@ final class FunctionLikeManipulator * @var \Rector\Core\NodeAnalyzer\PropertyFetchAnalyzer */ private $propertyFetchAnalyzer; - public function __construct(\RectorPrefix20220519\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser $simpleCallableNodeTraverser, \Rector\NodeNameResolver\NodeNameResolver $nodeNameResolver, \Rector\Core\NodeAnalyzer\PropertyFetchAnalyzer $propertyFetchAnalyzer) + public function __construct(\RectorPrefix20220520\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 58223170d76..a539cfee03a 100644 --- a/src/NodeManipulator/PropertyFetchAssignManipulator.php +++ b/src/NodeManipulator/PropertyFetchAssignManipulator.php @@ -15,7 +15,7 @@ use Rector\Core\NodeAnalyzer\PropertyFetchAnalyzer; use Rector\Core\PhpParser\Node\BetterNodeFinder; use Rector\Core\ValueObject\MethodName; use Rector\NodeNameResolver\NodeNameResolver; -use RectorPrefix20220519\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser; +use RectorPrefix20220520\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser; final class PropertyFetchAssignManipulator { /** @@ -38,7 +38,7 @@ final class PropertyFetchAssignManipulator * @var \Rector\Core\NodeAnalyzer\PropertyFetchAnalyzer */ private $propertyFetchAnalyzer; - public function __construct(\RectorPrefix20220519\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser $simpleCallableNodeTraverser, \Rector\NodeNameResolver\NodeNameResolver $nodeNameResolver, \Rector\Core\PhpParser\Node\BetterNodeFinder $betterNodeFinder, \Rector\Core\NodeAnalyzer\PropertyFetchAnalyzer $propertyFetchAnalyzer) + public function __construct(\RectorPrefix20220520\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser $simpleCallableNodeTraverser, \Rector\NodeNameResolver\NodeNameResolver $nodeNameResolver, \Rector\Core\PhpParser\Node\BetterNodeFinder $betterNodeFinder, \Rector\Core\NodeAnalyzer\PropertyFetchAnalyzer $propertyFetchAnalyzer) { $this->simpleCallableNodeTraverser = $simpleCallableNodeTraverser; $this->nodeNameResolver = $nodeNameResolver; diff --git a/src/NodeManipulator/PropertyManipulator.php b/src/NodeManipulator/PropertyManipulator.php index 6b20f0df261..a5c76461363 100644 --- a/src/NodeManipulator/PropertyManipulator.php +++ b/src/NodeManipulator/PropertyManipulator.php @@ -3,8 +3,8 @@ declare (strict_types=1); namespace Rector\Core\NodeManipulator; -use RectorPrefix20220519\Doctrine\ORM\Mapping\ManyToMany; -use RectorPrefix20220519\Doctrine\ORM\Mapping\Table; +use RectorPrefix20220520\Doctrine\ORM\Mapping\ManyToMany; +use RectorPrefix20220520\Doctrine\ORM\Mapping\Table; use PhpParser\Node; use PhpParser\Node\Arg; use PhpParser\Node\Expr; @@ -43,7 +43,7 @@ use Rector\Php80\NodeAnalyzer\PromotedPropertyResolver; use Rector\ReadWrite\Guard\VariableToConstantGuard; use Rector\ReadWrite\NodeAnalyzer\ReadWritePropertyAnalyzer; use Rector\TypeDeclaration\AlreadyAssignDetector\ConstructorAssignDetector; -use RectorPrefix20220519\Symplify\PackageBuilder\Php\TypeChecker; +use RectorPrefix20220520\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 @@ -133,7 +133,7 @@ final class PropertyManipulator * @var \Rector\Core\NodeAnalyzer\PropertyFetchAnalyzer */ private $propertyFetchAnalyzer; - 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, \RectorPrefix20220519\Symplify\PackageBuilder\Php\TypeChecker $typeChecker, \Rector\Core\PhpParser\NodeFinder\PropertyFetchFinder $propertyFetchFinder, \Rector\Core\Reflection\ReflectionResolver $reflectionResolver, \Rector\NodeNameResolver\NodeNameResolver $nodeNameResolver, \Rector\Php80\NodeAnalyzer\PhpAttributeAnalyzer $phpAttributeAnalyzer, \Rector\NodeTypeResolver\NodeTypeResolver $nodeTypeResolver, \Rector\Php80\NodeAnalyzer\PromotedPropertyResolver $promotedPropertyResolver, \Rector\TypeDeclaration\AlreadyAssignDetector\ConstructorAssignDetector $constructorAssignDetector, \Rector\Core\PhpParser\AstResolver $astResolver, \Rector\Core\NodeAnalyzer\PropertyFetchAnalyzer $propertyFetchAnalyzer) + 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, \RectorPrefix20220520\Symplify\PackageBuilder\Php\TypeChecker $typeChecker, \Rector\Core\PhpParser\NodeFinder\PropertyFetchFinder $propertyFetchFinder, \Rector\Core\Reflection\ReflectionResolver $reflectionResolver, \Rector\NodeNameResolver\NodeNameResolver $nodeNameResolver, \Rector\Php80\NodeAnalyzer\PhpAttributeAnalyzer $phpAttributeAnalyzer, \Rector\NodeTypeResolver\NodeTypeResolver $nodeTypeResolver, \Rector\Php80\NodeAnalyzer\PromotedPropertyResolver $promotedPropertyResolver, \Rector\TypeDeclaration\AlreadyAssignDetector\ConstructorAssignDetector $constructorAssignDetector, \Rector\Core\PhpParser\AstResolver $astResolver, \Rector\Core\NodeAnalyzer\PropertyFetchAnalyzer $propertyFetchAnalyzer) { $this->assignManipulator = $assignManipulator; $this->betterNodeFinder = $betterNodeFinder; diff --git a/src/NodeManipulator/StmtsManipulator.php b/src/NodeManipulator/StmtsManipulator.php index 515f81d6974..1da28883127 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 RectorPrefix20220519\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser; +use RectorPrefix20220520\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser; final class StmtsManipulator { /** @@ -21,7 +21,7 @@ final class StmtsManipulator * @var \Rector\Core\PhpParser\Comparing\NodeComparator */ private $nodeComparator; - public function __construct(\RectorPrefix20220519\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser $simpleCallableNodeTraverser, \Rector\Core\PhpParser\Comparing\NodeComparator $nodeComparator) + public function __construct(\RectorPrefix20220520\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 748d36f1ad9..adebc8802de 100644 --- a/src/NodeManipulator/VariableManipulator.php +++ b/src/NodeManipulator/VariableManipulator.php @@ -23,7 +23,7 @@ use Rector\Core\PhpParser\Node\BetterNodeFinder; use Rector\NodeNameResolver\NodeNameResolver; use Rector\NodeTypeResolver\Node\AttributeKey; use Rector\ReadWrite\Guard\VariableToConstantGuard; -use RectorPrefix20220519\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser; +use RectorPrefix20220520\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser; final class VariableManipulator { /** @@ -61,7 +61,7 @@ final class VariableManipulator * @var \Rector\Core\NodeAnalyzer\ExprAnalyzer */ private $exprAnalyzer; - public function __construct(\Rector\Core\NodeManipulator\AssignManipulator $assignManipulator, \Rector\Core\PhpParser\Node\BetterNodeFinder $betterNodeFinder, \RectorPrefix20220519\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser $simpleCallableNodeTraverser, \Rector\NodeNameResolver\NodeNameResolver $nodeNameResolver, \Rector\ReadWrite\Guard\VariableToConstantGuard $variableToConstantGuard, \Rector\Core\PhpParser\Comparing\NodeComparator $nodeComparator, \Rector\Core\NodeAnalyzer\ExprAnalyzer $exprAnalyzer) + public function __construct(\Rector\Core\NodeManipulator\AssignManipulator $assignManipulator, \Rector\Core\PhpParser\Node\BetterNodeFinder $betterNodeFinder, \RectorPrefix20220520\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser $simpleCallableNodeTraverser, \Rector\NodeNameResolver\NodeNameResolver $nodeNameResolver, \Rector\ReadWrite\Guard\VariableToConstantGuard $variableToConstantGuard, \Rector\Core\PhpParser\Comparing\NodeComparator $nodeComparator, \Rector\Core\NodeAnalyzer\ExprAnalyzer $exprAnalyzer) { $this->assignManipulator = $assignManipulator; $this->betterNodeFinder = $betterNodeFinder; diff --git a/src/NonPhpFile/Rector/RenameClassNonPhpRector.php b/src/NonPhpFile/Rector/RenameClassNonPhpRector.php index f0da81c2668..328c874bb33 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 RectorPrefix20220519\Nette\Utils\Strings; +use RectorPrefix20220520\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 RectorPrefix20220519\Webmozart\Assert\Assert; +use RectorPrefix20220520\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 { /** @@ -62,8 +62,8 @@ CODE_SAMPLE public function configure(array $configuration) : void { $renameClasses = $configuration; - \RectorPrefix20220519\Webmozart\Assert\Assert::allString(\array_keys($renameClasses)); - \RectorPrefix20220519\Webmozart\Assert\Assert::allString($renameClasses); + \RectorPrefix20220520\Webmozart\Assert\Assert::allString(\array_keys($renameClasses)); + \RectorPrefix20220520\Webmozart\Assert\Assert::allString($renameClasses); $this->renameClasses = $renameClasses; } /** @@ -75,7 +75,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 = \RectorPrefix20220519\Nette\Utils\Strings::replace($newContent, $oldClassRegex, function (array $match) use($newClass) : string { + $newContent = \RectorPrefix20220520\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 2d360fdd8ad..d0290195b72 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 RectorPrefix20220519\Nette\Utils\Strings; +use RectorPrefix20220520\Nette\Utils\Strings; use PhpParser\Node\Name; use PHPStan\Analyser\Scope; use PHPStan\Reflection\FunctionReflection; @@ -61,7 +61,7 @@ final class ConstantStringTypeToCallReflectionResolver implements \Rector\Core\C return $this->reflectionProvider->getFunction($name, null); } // 'MyClass::myStaticFunction' - $matches = \RectorPrefix20220519\Nette\Utils\Strings::match($value, self::STATIC_METHOD_REGEX); + $matches = \RectorPrefix20220520\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 892864a1946..10657a2b42e 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 RectorPrefix20220519\Symplify\PackageBuilder\Parameter\ParameterProvider; +use RectorPrefix20220520\Symplify\PackageBuilder\Parameter\ParameterProvider; /** * @see \Rector\Core\Tests\Php\PhpVersionProviderTest */ @@ -30,7 +30,7 @@ final class PhpVersionProvider * @var \Rector\Core\Php\PhpVersionResolver\ProjectComposerJsonPhpVersionResolver */ private $projectComposerJsonPhpVersionResolver; - public function __construct(\RectorPrefix20220519\Symplify\PackageBuilder\Parameter\ParameterProvider $parameterProvider, \Rector\Core\Php\PhpVersionResolver\ProjectComposerJsonPhpVersionResolver $projectComposerJsonPhpVersionResolver) + public function __construct(\RectorPrefix20220520\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 fe6393d6d73..1119d7fee55 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 RectorPrefix20220519\Composer\Semver\VersionParser; +use RectorPrefix20220520\Composer\Semver\VersionParser; use Rector\Core\Util\PhpVersionFactory; -use RectorPrefix20220519\Symplify\ComposerJsonManipulator\ComposerJsonFactory; +use RectorPrefix20220520\Symplify\ComposerJsonManipulator\ComposerJsonFactory; /** * @see \Rector\Core\Tests\Php\PhpVersionResolver\ProjectComposerJsonPhpVersionResolver\ProjectComposerJsonPhpVersionResolverTest */ @@ -26,7 +26,7 @@ final class ProjectComposerJsonPhpVersionResolver * @var \Rector\Core\Util\PhpVersionFactory */ private $phpVersionFactory; - public function __construct(\RectorPrefix20220519\Symplify\ComposerJsonManipulator\ComposerJsonFactory $composerJsonFactory, \RectorPrefix20220519\Composer\Semver\VersionParser $versionParser, \Rector\Core\Util\PhpVersionFactory $phpVersionFactory) + public function __construct(\RectorPrefix20220520\Symplify\ComposerJsonManipulator\ComposerJsonFactory $composerJsonFactory, \RectorPrefix20220520\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 c1325f2ca23..59669cbfeee 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 RectorPrefix20220519\Nette\Utils\Strings; +use RectorPrefix20220520\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 = [\RectorPrefix20220519\Nette\Utils\Strings::class => ['match' => 1, 'matchAll' => 1, 'replace' => 1, 'split' => 1]]; + private const STATIC_METHODS_WITH_PATTERNS_TO_ARGUMENT_POSITION = [\RectorPrefix20220520\Nette\Utils\Strings::class => ['match' => 1, 'matchAll' => 1, 'replace' => 1, 'split' => 1]]; /** * @readonly * @var \Rector\Core\PhpParser\Node\BetterNodeFinder diff --git a/src/PhpParser/AstResolver.php b/src/PhpParser/AstResolver.php index cb2645c38a4..f22c4f6a64d 100644 --- a/src/PhpParser/AstResolver.php +++ b/src/PhpParser/AstResolver.php @@ -31,7 +31,7 @@ use Rector\Core\ValueObject\MethodName; use Rector\NodeNameResolver\NodeNameResolver; use Rector\NodeTypeResolver\NodeScopeAndMetadataDecorator; use Rector\NodeTypeResolver\NodeTypeResolver; -use RectorPrefix20220519\Symplify\Astral\PhpParser\SmartPhpParser; +use RectorPrefix20220520\Symplify\Astral\PhpParser\SmartPhpParser; use Symplify\SmartFileSystem\SmartFileInfo; /** * The nodes provided by this resolver is for read-only analysis only! @@ -93,7 +93,7 @@ final class AstResolver * @var \Rector\Core\PhpParser\ClassLikeAstResolver */ private $classLikeAstResolver; - public function __construct(\RectorPrefix20220519\Symplify\Astral\PhpParser\SmartPhpParser $smartPhpParser, \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(\RectorPrefix20220520\Symplify\Astral\PhpParser\SmartPhpParser $smartPhpParser, \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->nodeScopeAndMetadataDecorator = $nodeScopeAndMetadataDecorator; diff --git a/src/PhpParser/ClassLikeAstResolver.php b/src/PhpParser/ClassLikeAstResolver.php index 2f1e169b420..6eb5e59ff8c 100644 --- a/src/PhpParser/ClassLikeAstResolver.php +++ b/src/PhpParser/ClassLikeAstResolver.php @@ -11,7 +11,7 @@ use PhpParser\Node\Stmt\Trait_; use PHPStan\Reflection\ClassReflection; use Rector\Core\PhpParser\Node\BetterNodeFinder; use Rector\Core\ValueObject\Application\File; -use RectorPrefix20220519\Symplify\Astral\PhpParser\SmartPhpParser; +use RectorPrefix20220520\Symplify\Astral\PhpParser\SmartPhpParser; final class ClassLikeAstResolver { /** @@ -31,7 +31,7 @@ final class ClassLikeAstResolver * @var \Rector\Core\PhpParser\Node\BetterNodeFinder */ private $betterNodeFinder; - public function __construct(\RectorPrefix20220519\Symplify\Astral\PhpParser\SmartPhpParser $smartPhpParser, \Rector\Core\PhpParser\Node\BetterNodeFinder $betterNodeFinder) + public function __construct(\RectorPrefix20220520\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 4c329c13ec5..ad0da6b78a7 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 RectorPrefix20220519\Symplify\PackageBuilder\Php\TypeChecker; -use RectorPrefix20220519\Webmozart\Assert\Assert; +use RectorPrefix20220520\Symplify\PackageBuilder\Php\TypeChecker; +use RectorPrefix20220520\Webmozart\Assert\Assert; /** * @see \Rector\Core\Tests\PhpParser\Node\BetterNodeFinder\BetterNodeFinderTest */ @@ -57,7 +57,7 @@ final class BetterNodeFinder * @var \Rector\Core\NodeAnalyzer\ClassAnalyzer */ private $classAnalyzer; - public function __construct(\PhpParser\NodeFinder $nodeFinder, \Rector\NodeNameResolver\NodeNameResolver $nodeNameResolver, \RectorPrefix20220519\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, \RectorPrefix20220520\Symplify\PackageBuilder\Php\TypeChecker $typeChecker, \Rector\Core\PhpParser\Comparing\NodeComparator $nodeComparator, \Rector\Core\NodeAnalyzer\ClassAnalyzer $classAnalyzer) { $this->nodeFinder = $nodeFinder; $this->nodeNameResolver = $nodeNameResolver; @@ -72,7 +72,7 @@ final class BetterNodeFinder */ public function findParentByTypes(\PhpParser\Node $currentNode, array $types) : ?\PhpParser\Node { - \RectorPrefix20220519\Webmozart\Assert\Assert::allIsAOf($types, \PhpParser\Node::class); + \RectorPrefix20220520\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; @@ -92,7 +92,7 @@ final class BetterNodeFinder */ public function findParentType(\PhpParser\Node $node, string $type) : ?\PhpParser\Node { - \RectorPrefix20220519\Webmozart\Assert\Assert::isAOf($type, \PhpParser\Node::class); + \RectorPrefix20220520\Webmozart\Assert\Assert::isAOf($type, \PhpParser\Node::class); $parent = $node->getAttribute(\Rector\NodeTypeResolver\Node\AttributeKey::PARENT_NODE); if (!$parent instanceof \PhpParser\Node) { return null; @@ -137,7 +137,7 @@ final class BetterNodeFinder */ public function findFirstInstanceOf($nodes, string $type) : ?\PhpParser\Node { - \RectorPrefix20220519\Webmozart\Assert\Assert::isAOf($type, \PhpParser\Node::class); + \RectorPrefix20220520\Webmozart\Assert\Assert::isAOf($type, \PhpParser\Node::class); return $this->nodeFinder->findFirstInstanceOf($nodes, $type); } /** @@ -146,7 +146,7 @@ final class BetterNodeFinder */ public function hasInstanceOfName($nodes, string $type, string $name) : bool { - \RectorPrefix20220519\Webmozart\Assert\Assert::isAOf($type, \PhpParser\Node::class); + \RectorPrefix20220520\Webmozart\Assert\Assert::isAOf($type, \PhpParser\Node::class); return (bool) $this->findInstanceOfName($nodes, $type, $name); } /** @@ -170,7 +170,7 @@ final class BetterNodeFinder */ public function hasInstancesOf($nodes, array $types) : bool { - \RectorPrefix20220519\Webmozart\Assert\Assert::allIsAOf($types, \PhpParser\Node::class); + \RectorPrefix20220520\Webmozart\Assert\Assert::allIsAOf($types, \PhpParser\Node::class); foreach ($types as $type) { $foundNode = $this->nodeFinder->findFirstInstanceOf($nodes, $type); if (!$foundNode instanceof \PhpParser\Node) { @@ -187,7 +187,7 @@ final class BetterNodeFinder */ public function findLastInstanceOf($nodes, string $type) : ?\PhpParser\Node { - \RectorPrefix20220519\Webmozart\Assert\Assert::isAOf($type, \PhpParser\Node::class); + \RectorPrefix20220520\Webmozart\Assert\Assert::isAOf($type, \PhpParser\Node::class); $foundInstances = $this->nodeFinder->findInstanceOf($nodes, $type); if ($foundInstances === []) { return null; @@ -465,7 +465,7 @@ final class BetterNodeFinder */ private function findInstanceOfName($nodes, string $type, string $name) : ?\PhpParser\Node { - \RectorPrefix20220519\Webmozart\Assert\Assert::isAOf($type, \PhpParser\Node::class); + \RectorPrefix20220520\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 7e817f5677b..d5eafd30988 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 RectorPrefix20220519\Symplify\Astral\ValueObject\NodeBuilder\MethodBuilder; -use RectorPrefix20220519\Symplify\Astral\ValueObject\NodeBuilder\ParamBuilder; -use RectorPrefix20220519\Symplify\Astral\ValueObject\NodeBuilder\PropertyBuilder; +use RectorPrefix20220520\Symplify\Astral\ValueObject\NodeBuilder\MethodBuilder; +use RectorPrefix20220520\Symplify\Astral\ValueObject\NodeBuilder\ParamBuilder; +use RectorPrefix20220520\Symplify\Astral\ValueObject\NodeBuilder\PropertyBuilder; /** * @see \Rector\Core\Tests\PhpParser\Node\NodeFactoryTest */ @@ -205,13 +205,13 @@ final class NodeFactory } public function createPublicMethod(string $name) : \PhpParser\Node\Stmt\ClassMethod { - $methodBuilder = new \RectorPrefix20220519\Symplify\Astral\ValueObject\NodeBuilder\MethodBuilder($name); + $methodBuilder = new \RectorPrefix20220520\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 \RectorPrefix20220519\Symplify\Astral\ValueObject\NodeBuilder\ParamBuilder($name); + $paramBuilder = new \RectorPrefix20220520\Symplify\Astral\ValueObject\NodeBuilder\ParamBuilder($name); if ($type !== null) { $typeNode = $this->staticTypeMapper->mapPHPStanTypeToPhpParserNode($type, \Rector\PHPStanStaticTypeMapper\Enum\TypeKind::PARAM()); if ($typeNode !== null) { @@ -222,7 +222,7 @@ final class NodeFactory } public function createPublicInjectPropertyFromNameAndType(string $name, ?\PHPStan\Type\Type $type) : \PhpParser\Node\Stmt\Property { - $propertyBuilder = new \RectorPrefix20220519\Symplify\Astral\ValueObject\NodeBuilder\PropertyBuilder($name); + $propertyBuilder = new \RectorPrefix20220520\Symplify\Astral\ValueObject\NodeBuilder\PropertyBuilder($name); $propertyBuilder->makePublic(); $property = $propertyBuilder->getNode(); $this->propertyTypeDecorator->decorate($property, $type); @@ -233,7 +233,7 @@ final class NodeFactory } public function createPrivatePropertyFromNameAndType(string $name, ?\PHPStan\Type\Type $type) : \PhpParser\Node\Stmt\Property { - $propertyBuilder = new \RectorPrefix20220519\Symplify\Astral\ValueObject\NodeBuilder\PropertyBuilder($name); + $propertyBuilder = new \RectorPrefix20220520\Symplify\Astral\ValueObject\NodeBuilder\PropertyBuilder($name); $propertyBuilder->makePrivate(); $property = $propertyBuilder->getNode(); $this->propertyTypeDecorator->decorate($property, $type); @@ -286,14 +286,14 @@ final class NodeFactory } public function createProperty(string $name) : \PhpParser\Node\Stmt\Property { - $propertyBuilder = new \RectorPrefix20220519\Symplify\Astral\ValueObject\NodeBuilder\PropertyBuilder($name); + $propertyBuilder = new \RectorPrefix20220520\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 \RectorPrefix20220519\Symplify\Astral\ValueObject\NodeBuilder\PropertyBuilder($name); + $propertyBuilder = new \RectorPrefix20220520\Symplify\Astral\ValueObject\NodeBuilder\PropertyBuilder($name); $propertyBuilder->makePrivate(); $property = $propertyBuilder->getNode(); $this->phpDocInfoFactory->createFromNode($property); @@ -301,7 +301,7 @@ final class NodeFactory } public function createPublicProperty(string $name) : \PhpParser\Node\Stmt\Property { - $propertyBuilder = new \RectorPrefix20220519\Symplify\Astral\ValueObject\NodeBuilder\PropertyBuilder($name); + $propertyBuilder = new \RectorPrefix20220520\Symplify\Astral\ValueObject\NodeBuilder\PropertyBuilder($name); $propertyBuilder->makePublic(); $property = $propertyBuilder->getNode(); $this->phpDocInfoFactory->createFromNode($property); @@ -309,7 +309,7 @@ final class NodeFactory } public function createGetterClassMethod(string $propertyName, \PHPStan\Type\Type $type) : \PhpParser\Node\Stmt\ClassMethod { - $methodBuilder = new \RectorPrefix20220519\Symplify\Astral\ValueObject\NodeBuilder\MethodBuilder('get' . \ucfirst($propertyName)); + $methodBuilder = new \RectorPrefix20220520\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); @@ -322,7 +322,7 @@ final class NodeFactory } public function createSetterClassMethod(string $propertyName, \PHPStan\Type\Type $type) : \PhpParser\Node\Stmt\ClassMethod { - $methodBuilder = new \RectorPrefix20220519\Symplify\Astral\ValueObject\NodeBuilder\MethodBuilder('set' . \ucfirst($propertyName)); + $methodBuilder = new \RectorPrefix20220520\Symplify\Astral\ValueObject\NodeBuilder\MethodBuilder('set' . \ucfirst($propertyName)); $methodBuilder->makePublic(); $variable = new \PhpParser\Node\Expr\Variable($propertyName); $param = $this->createParamWithType($variable, $type); @@ -414,7 +414,7 @@ final class NodeFactory } public function createPromotedPropertyParam(\Rector\PostRector\ValueObject\PropertyMetadata $propertyMetadata) : \PhpParser\Node\Param { - $paramBuilder = new \RectorPrefix20220519\Symplify\Astral\ValueObject\NodeBuilder\ParamBuilder($propertyMetadata->getName()); + $paramBuilder = new \RectorPrefix20220520\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 44c188dd564..092e9f9655b 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 RectorPrefix20220519\Nette\Utils\Strings; +use RectorPrefix20220520\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\Contract\PhpParser\NodePrinterInterface; use Rector\Core\Exception\ShouldNotHappenException; use Rector\Core\Util\StringUtils; use Rector\NodeTypeResolver\NodeScopeAndMetadataDecorator; -use RectorPrefix20220519\Symplify\SmartFileSystem\SmartFileSystem; +use RectorPrefix20220520\Symplify\SmartFileSystem\SmartFileSystem; final class InlineCodeParser { /** @@ -60,7 +60,7 @@ final class InlineCodeParser * @var \Symplify\SmartFileSystem\SmartFileSystem */ private $smartFileSystem; - public function __construct(\Rector\Core\Contract\PhpParser\NodePrinterInterface $nodePrinter, \Rector\NodeTypeResolver\NodeScopeAndMetadataDecorator $nodeScopeAndMetadataDecorator, \Rector\Core\PhpParser\Parser\SimplePhpParser $simplePhpParser, \RectorPrefix20220519\Symplify\SmartFileSystem\SmartFileSystem $smartFileSystem) + public function __construct(\Rector\Core\Contract\PhpParser\NodePrinterInterface $nodePrinter, \Rector\NodeTypeResolver\NodeScopeAndMetadataDecorator $nodeScopeAndMetadataDecorator, \Rector\Core\PhpParser\Parser\SimplePhpParser $simplePhpParser, \RectorPrefix20220520\Symplify\SmartFileSystem\SmartFileSystem $smartFileSystem) { $this->nodePrinter = $nodePrinter; $this->nodeScopeAndMetadataDecorator = $nodeScopeAndMetadataDecorator; @@ -91,9 +91,9 @@ final class InlineCodeParser // remove " $expr = \trim($this->nodePrinter->print($expr), '""'); // use \$ → $ - $expr = \RectorPrefix20220519\Nette\Utils\Strings::replace($expr, self::PRESLASHED_DOLLAR_REGEX, '$'); + $expr = \RectorPrefix20220520\Nette\Utils\Strings::replace($expr, self::PRESLASHED_DOLLAR_REGEX, '$'); // use \'{$...}\' → $... - return \RectorPrefix20220519\Nette\Utils\Strings::replace($expr, self::CURLY_BRACKET_WRAPPER_REGEX, '$1'); + return \RectorPrefix20220520\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 85175e15e74..d66087ada3f 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 RectorPrefix20220519\Symplify\SmartFileSystem\SmartFileSystem; +use RectorPrefix20220520\Symplify\SmartFileSystem\SmartFileSystem; final class SimplePhpParser { /** @@ -21,7 +21,7 @@ final class SimplePhpParser * @var \Symplify\SmartFileSystem\SmartFileSystem */ private $smartFileSystem; - public function __construct(\RectorPrefix20220519\Symplify\SmartFileSystem\SmartFileSystem $smartFileSystem) + public function __construct(\RectorPrefix20220520\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 658936254fd..6c0cb869eb1 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 RectorPrefix20220519\Nette\Utils\Strings; +use RectorPrefix20220520\Nette\Utils\Strings; use PhpParser\Comment; use PhpParser\Node; use PhpParser\Node\Expr; @@ -197,7 +197,7 @@ final class BetterStandardPrinter extends \PhpParser\PrettyPrinter\Standard impl if (!$this->containsNop($nodes)) { return $content; } - return \RectorPrefix20220519\Nette\Utils\Strings::replace($content, self::EXTRA_SPACE_BEFORE_NOP_REGEX, ''); + return \RectorPrefix20220520\Nette\Utils\Strings::replace($content, self::EXTRA_SPACE_BEFORE_NOP_REGEX, ''); } /** * Do not preslash all slashes (parent behavior), but only those: @@ -210,7 +210,7 @@ final class BetterStandardPrinter extends \PhpParser\PrettyPrinter\Standard impl */ protected function pSingleQuotedString(string $string) : string { - return "'" . \RectorPrefix20220519\Nette\Utils\Strings::replace($string, self::QUOTED_SLASH_REGEX, '\\\\$0') . "'"; + return "'" . \RectorPrefix20220520\Nette\Utils\Strings::replace($string, self::QUOTED_SLASH_REGEX, '\\\\$0') . "'"; } /** * Emulates 1_000 in PHP 7.3- version @@ -234,7 +234,7 @@ final class BetterStandardPrinter extends \PhpParser\PrettyPrinter\Standard impl if ($closure->uses === []) { return $closureContent; } - return \RectorPrefix20220519\Nette\Utils\Strings::replace($closureContent, self::USE_REGEX, '$1 ('); + return \RectorPrefix20220520\Nette\Utils\Strings::replace($closureContent, self::USE_REGEX, '$1 ('); } /** * Do not add "()" on Expressions @@ -299,7 +299,7 @@ final class BetterStandardPrinter extends \PhpParser\PrettyPrinter\Standard impl return $content; } // this approach is chosen, to keep changes in parent pStmt_ClassMethod() updated - return \RectorPrefix20220519\Nette\Utils\Strings::replace($content, self::REPLACE_COLON_WITH_SPACE_REGEX, '$1: '); + return \RectorPrefix20220520\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 @@ -325,7 +325,7 @@ final class BetterStandardPrinter extends \PhpParser\PrettyPrinter\Standard impl protected function pStmt_Declare(\PhpParser\Node\Stmt\Declare_ $declare) : string { $declareString = parent::pStmt_Declare($declare); - return \RectorPrefix20220519\Nette\Utils\Strings::replace($declareString, '#\\s+#', ''); + return \RectorPrefix20220520\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 18bbb803dec..ca4bdb8fb30 100644 --- a/src/PhpParser/Printer/FormatPerservingPrinter.php +++ b/src/PhpParser/Printer/FormatPerservingPrinter.php @@ -9,7 +9,7 @@ use PhpParser\Node\Stmt\Namespace_; use Rector\Core\PhpParser\Node\CustomNode\FileWithoutNamespace; use Rector\Core\ValueObject\Application\File; use Symplify\SmartFileSystem\SmartFileInfo; -use RectorPrefix20220519\Symplify\SmartFileSystem\SmartFileSystem; +use RectorPrefix20220520\Symplify\SmartFileSystem\SmartFileSystem; /** * @see \Rector\Core\Tests\PhpParser\Printer\FormatPerservingPrinterTest */ @@ -25,7 +25,7 @@ final class FormatPerservingPrinter * @var \Symplify\SmartFileSystem\SmartFileSystem */ private $smartFileSystem; - public function __construct(\Rector\Core\PhpParser\Printer\BetterStandardPrinter $betterStandardPrinter, \RectorPrefix20220519\Symplify\SmartFileSystem\SmartFileSystem $smartFileSystem) + public function __construct(\Rector\Core\PhpParser\Printer\BetterStandardPrinter $betterStandardPrinter, \RectorPrefix20220520\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 2dced1cb178..f9c045b692e 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 RectorPrefix20220519\Nette\Utils\Strings; +use RectorPrefix20220520\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 = \RectorPrefix20220519\Nette\Utils\Strings::matchAll($tokenContent, '#^\\t#m'); + $tabMatches = \RectorPrefix20220520\Nette\Utils\Strings::matchAll($tokenContent, '#^\\t#m'); if ($tabMatches !== []) { return "\t"; } diff --git a/src/Rector/AbstractRector.php b/src/Rector/AbstractRector.php index 650a20c4d78..d0681ebcfff 100644 --- a/src/Rector/AbstractRector.php +++ b/src/Rector/AbstractRector.php @@ -39,9 +39,9 @@ use Rector\NodeTypeResolver\NodeTypeResolver; use Rector\PostRector\Collector\NodesToAddCollector; use Rector\PostRector\Collector\NodesToRemoveCollector; use Rector\StaticTypeMapper\StaticTypeMapper; -use RectorPrefix20220519\Symfony\Contracts\Service\Attribute\Required; -use RectorPrefix20220519\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser; -use RectorPrefix20220519\Symplify\Skipper\Skipper\Skipper; +use RectorPrefix20220520\Symfony\Contracts\Service\Attribute\Required; +use RectorPrefix20220520\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser; +use RectorPrefix20220520\Symplify\Skipper\Skipper\Skipper; abstract class AbstractRector extends \PhpParser\NodeVisitorAbstract implements \Rector\Core\Contract\Rector\PhpRectorInterface { /** @@ -158,7 +158,7 @@ CODE_SAMPLE; /** * @required */ - public function autowire(\Rector\PostRector\Collector\NodesToRemoveCollector $nodesToRemoveCollector, \Rector\PostRector\Collector\NodesToAddCollector $nodesToAddCollector, \Rector\NodeRemoval\NodeRemover $nodeRemover, \Rector\NodeNameResolver\NodeNameResolver $nodeNameResolver, \Rector\NodeTypeResolver\NodeTypeResolver $nodeTypeResolver, \RectorPrefix20220519\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser $simpleCallableNodeTraverser, \Rector\Core\PhpParser\Node\NodeFactory $nodeFactory, \Rector\BetterPhpDocParser\PhpDocInfo\PhpDocInfoFactory $phpDocInfoFactory, \Rector\Core\Exclusion\ExclusionManager $exclusionManager, \Rector\StaticTypeMapper\StaticTypeMapper $staticTypeMapper, \Rector\Core\Logging\CurrentRectorProvider $currentRectorProvider, \Rector\Core\Configuration\CurrentNodeProvider $currentNodeProvider, \RectorPrefix20220519\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\ProcessAnalyzer\RectifiedAnalyzer $rectifiedAnalyzer, \Rector\Core\NodeDecorator\CreatedByRuleDecorator $createdByRuleDecorator, \Rector\Core\Application\ChangedNodeScopeRefresher $changedNodeScopeRefresher, \Rector\Core\Console\Output\RectorOutputStyle $rectorOutputStyle) : void + public function autowire(\Rector\PostRector\Collector\NodesToRemoveCollector $nodesToRemoveCollector, \Rector\PostRector\Collector\NodesToAddCollector $nodesToAddCollector, \Rector\NodeRemoval\NodeRemover $nodeRemover, \Rector\NodeNameResolver\NodeNameResolver $nodeNameResolver, \Rector\NodeTypeResolver\NodeTypeResolver $nodeTypeResolver, \RectorPrefix20220520\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser $simpleCallableNodeTraverser, \Rector\Core\PhpParser\Node\NodeFactory $nodeFactory, \Rector\BetterPhpDocParser\PhpDocInfo\PhpDocInfoFactory $phpDocInfoFactory, \Rector\Core\Exclusion\ExclusionManager $exclusionManager, \Rector\StaticTypeMapper\StaticTypeMapper $staticTypeMapper, \Rector\Core\Logging\CurrentRectorProvider $currentRectorProvider, \Rector\Core\Configuration\CurrentNodeProvider $currentNodeProvider, \RectorPrefix20220520\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\ProcessAnalyzer\RectifiedAnalyzer $rectifiedAnalyzer, \Rector\Core\NodeDecorator\CreatedByRuleDecorator $createdByRuleDecorator, \Rector\Core\Application\ChangedNodeScopeRefresher $changedNodeScopeRefresher, \Rector\Core\Console\Output\RectorOutputStyle $rectorOutputStyle) : void { $this->nodesToRemoveCollector = $nodesToRemoveCollector; $this->nodesToAddCollector = $nodesToAddCollector; diff --git a/src/Reflection/ReflectionResolver.php b/src/Reflection/ReflectionResolver.php index 53ce034e221..b75b26b8e1d 100644 --- a/src/Reflection/ReflectionResolver.php +++ b/src/Reflection/ReflectionResolver.php @@ -31,7 +31,7 @@ use Rector\Core\ValueObject\MethodName; use Rector\NodeNameResolver\NodeNameResolver; use Rector\NodeTypeResolver\Node\AttributeKey; use Rector\NodeTypeResolver\NodeTypeResolver; -use RectorPrefix20220519\Symfony\Contracts\Service\Attribute\Required; +use RectorPrefix20220520\Symfony\Contracts\Service\Attribute\Required; final class ReflectionResolver { /** diff --git a/src/Reporting/MissingRectorRulesReporter.php b/src/Reporting/MissingRectorRulesReporter.php index e3d21a8ecc2..36281de2029 100644 --- a/src/Reporting/MissingRectorRulesReporter.php +++ b/src/Reporting/MissingRectorRulesReporter.php @@ -7,7 +7,7 @@ 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 RectorPrefix20220519\Symfony\Component\Console\Command\Command; +use RectorPrefix20220520\Symfony\Component\Console\Command\Command; final class MissingRectorRulesReporter { /** @@ -40,7 +40,7 @@ final class MissingRectorRulesReporter return null; } $this->report(); - return \RectorPrefix20220519\Symfony\Component\Console\Command\Command::FAILURE; + return \RectorPrefix20220520\Symfony\Component\Console\Command\Command::FAILURE; } public function report() : void { diff --git a/src/StaticReflection/DynamicSourceLocatorDecorator.php b/src/StaticReflection/DynamicSourceLocatorDecorator.php index 734f41b54e4..3c6e7bcc40c 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 RectorPrefix20220519\Symplify\SmartFileSystem\FileSystemFilter; +use RectorPrefix20220520\Symplify\SmartFileSystem\FileSystemFilter; /** * @see https://phpstan.org/blog/zero-config-analysis-with-static-reflection * @see https://github.com/rectorphp/rector/issues/3490 @@ -27,7 +27,7 @@ final class DynamicSourceLocatorDecorator * @var \Rector\Core\FileSystem\PhpFilesFinder */ private $phpFilesFinder; - public function __construct(\RectorPrefix20220519\Symplify\SmartFileSystem\FileSystemFilter $fileSystemFilter, \Rector\NodeTypeResolver\Reflection\BetterReflection\SourceLocatorProvider\DynamicSourceLocatorProvider $dynamicSourceLocatorProvider, \Rector\Core\FileSystem\PhpFilesFinder $phpFilesFinder) + public function __construct(\RectorPrefix20220520\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 2c9cff4f5f5..6d25f587209 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 RectorPrefix20220519\Symfony\Contracts\Service\Attribute\Required; +use RectorPrefix20220520\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 49e1c04bce7..509bcb746cc 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 RectorPrefix20220519\Symplify\Astral\ValueObject\NodeBuilder\ClassBuilder; +use RectorPrefix20220520\Symplify\Astral\ValueObject\NodeBuilder\ClassBuilder; /** * Inspired from \PHPStan\BetterReflection\SourceLocator\Type\StringSourceLocator */ @@ -48,7 +48,7 @@ final class RenamedClassesSourceLocator implements \PHPStan\BetterReflection\Sou } private function createFakeReflectionClassFromClassName(string $oldClass) : \PHPStan\BetterReflection\Reflection\ReflectionClass { - $classBuilder = new \RectorPrefix20220519\Symplify\Astral\ValueObject\NodeBuilder\ClassBuilder($oldClass); + $classBuilder = new \RectorPrefix20220520\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/MemoryLimiter.php b/src/Util/MemoryLimiter.php index d66f64767da..12a10c4542a 100644 --- a/src/Util/MemoryLimiter.php +++ b/src/Util/MemoryLimiter.php @@ -3,7 +3,7 @@ declare (strict_types=1); namespace Rector\Core\Util; -use RectorPrefix20220519\Nette\Utils\Strings; +use RectorPrefix20220520\Nette\Utils\Strings; use Rector\Core\ValueObject\Configuration; use Rector\RectorGenerator\Exception\ConfigurationException; /** @@ -31,7 +31,7 @@ final class MemoryLimiter } private function validateMemoryLimitFormat(string $memoryLimit) : void { - $memoryLimitFormatMatch = \RectorPrefix20220519\Nette\Utils\Strings::match($memoryLimit, self::VALID_MEMORY_LIMIT_REGEX); + $memoryLimitFormatMatch = \RectorPrefix20220520\Nette\Utils\Strings::match($memoryLimit, self::VALID_MEMORY_LIMIT_REGEX); if ($memoryLimitFormatMatch !== null) { return; } diff --git a/src/Util/StaticRectorStrings.php b/src/Util/StaticRectorStrings.php index c878150d9fc..af26ac5a4fd 100644 --- a/src/Util/StaticRectorStrings.php +++ b/src/Util/StaticRectorStrings.php @@ -3,7 +3,7 @@ declare (strict_types=1); namespace Rector\Core\Util; -use RectorPrefix20220519\Nette\Utils\Strings; +use RectorPrefix20220520\Nette\Utils\Strings; final class StaticRectorStrings { /** @@ -19,7 +19,7 @@ final class StaticRectorStrings if ($input === \strtolower($input)) { return $input; } - $matches = \RectorPrefix20220519\Nette\Utils\Strings::matchAll($input, self::CAMEL_CASE_SPLIT_REGEX); + $matches = \RectorPrefix20220520\Nette\Utils\Strings::matchAll($input, self::CAMEL_CASE_SPLIT_REGEX); $parts = []; foreach ($matches as $match) { $matchedPart = (string) $match[0]; @@ -47,7 +47,7 @@ final class StaticRectorStrings { foreach ($prefixesToRemove as $prefixToRemove) { if (\strncmp($value, $prefixToRemove, \strlen($prefixToRemove)) === 0) { - $value = \RectorPrefix20220519\Nette\Utils\Strings::substring($value, \RectorPrefix20220519\Nette\Utils\Strings::length($prefixToRemove)); + $value = \RectorPrefix20220520\Nette\Utils\Strings::substring($value, \RectorPrefix20220520\Nette\Utils\Strings::length($prefixToRemove)); } } return $value; @@ -59,7 +59,7 @@ final class StaticRectorStrings { foreach ($suffixesToRemove as $suffixToRemove) { if (\substr_compare($value, $suffixToRemove, -\strlen($suffixToRemove)) === 0) { - $value = \RectorPrefix20220519\Nette\Utils\Strings::substring($value, 0, -\RectorPrefix20220519\Nette\Utils\Strings::length($suffixToRemove)); + $value = \RectorPrefix20220520\Nette\Utils\Strings::substring($value, 0, -\RectorPrefix20220520\Nette\Utils\Strings::length($suffixToRemove)); } } return $value; diff --git a/src/Util/StringUtils.php b/src/Util/StringUtils.php index 7155a275a59..cd009abc2a5 100644 --- a/src/Util/StringUtils.php +++ b/src/Util/StringUtils.php @@ -3,12 +3,12 @@ declare (strict_types=1); namespace Rector\Core\Util; -use RectorPrefix20220519\Nette\Utils\Strings; +use RectorPrefix20220520\Nette\Utils\Strings; final class StringUtils { public static function isMatch(string $value, string $regex) : bool { - $match = \RectorPrefix20220519\Nette\Utils\Strings::match($value, $regex); + $match = \RectorPrefix20220520\Nette\Utils\Strings::match($value, $regex); return $match !== null; } } diff --git a/src/Validation/Collector/EmptyConfigurableRectorCollector.php b/src/Validation/Collector/EmptyConfigurableRectorCollector.php index 0d617d141ad..640a7229475 100644 --- a/src/Validation/Collector/EmptyConfigurableRectorCollector.php +++ b/src/Validation/Collector/EmptyConfigurableRectorCollector.php @@ -6,8 +6,8 @@ namespace Rector\Core\Validation\Collector; use Rector\Core\Contract\Rector\AllowEmptyConfigurableRectorInterface; use Rector\Core\Contract\Rector\ConfigurableRectorInterface; use Rector\Core\NonPhpFile\Rector\RenameClassNonPhpRector; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerBuilder; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Definition; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\ContainerBuilder; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Definition; /** * @see \Rector\Core\Tests\Validation\Collector\EmptyConfigurableRectorCollector\EmptyConfigurableRectorCollectorTest */ @@ -18,7 +18,7 @@ final class EmptyConfigurableRectorCollector * @var \Symfony\Component\DependencyInjection\ContainerBuilder */ private $containerBuilder; - public function __construct(\RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerBuilder $containerBuilder) + public function __construct(\RectorPrefix20220520\Symfony\Component\DependencyInjection\ContainerBuilder $containerBuilder) { $this->containerBuilder = $containerBuilder; } @@ -47,7 +47,7 @@ final class EmptyConfigurableRectorCollector } return $emptyConfigurableRectorClasses; } - private function hasConfigureMethodCall(\RectorPrefix20220519\Symfony\Component\DependencyInjection\Definition $definition) : bool + private function hasConfigureMethodCall(\RectorPrefix20220520\Symfony\Component\DependencyInjection\Definition $definition) : bool { foreach ($definition->getMethodCalls() as $methodCall) { if ($methodCall[0] === 'configure') { diff --git a/src/Validation/RectorAssert.php b/src/Validation/RectorAssert.php index 6f7158e4b15..26646df4e5c 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 RectorPrefix20220519\Webmozart\Assert\InvalidArgumentException; +use RectorPrefix20220520\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 \RectorPrefix20220519\Webmozart\Assert\InvalidArgumentException($errorMessage); + throw new \RectorPrefix20220520\Webmozart\Assert\InvalidArgumentException($errorMessage); } } diff --git a/src/ValueObject/Configuration.php b/src/ValueObject/Configuration.php index b96e2cade78..505e7360ee6 100644 --- a/src/ValueObject/Configuration.php +++ b/src/ValueObject/Configuration.php @@ -3,7 +3,7 @@ declare (strict_types=1); namespace Rector\Core\ValueObject; -use RectorPrefix20220519\JetBrains\PhpStorm\Immutable; +use RectorPrefix20220520\JetBrains\PhpStorm\Immutable; use Rector\ChangesReporting\Output\ConsoleOutputFormatter; #[Immutable] final class Configuration diff --git a/src/ValueObject/Error/SystemError.php b/src/ValueObject/Error/SystemError.php index beb2e616233..68fea38b703 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 RectorPrefix20220519\Symplify\EasyParallel\Contract\SerializableInterface; -final class SystemError implements \RectorPrefix20220519\Symplify\EasyParallel\Contract\SerializableInterface +use RectorPrefix20220520\Symplify\EasyParallel\Contract\SerializableInterface; +final class SystemError implements \RectorPrefix20220520\Symplify\EasyParallel\Contract\SerializableInterface { /** * @readonly @@ -75,7 +75,7 @@ final class SystemError implements \RectorPrefix20220519\Symplify\EasyParallel\C /** * @param mixed[] $json */ - public static function decode(array $json) : \RectorPrefix20220519\Symplify\EasyParallel\Contract\SerializableInterface + public static function decode(array $json) : \RectorPrefix20220520\Symplify\EasyParallel\Contract\SerializableInterface { return new self($json[\Rector\Parallel\ValueObject\Name::MESSAGE], $json[\Rector\Parallel\ValueObject\Name::RELATIVE_FILE_PATH], $json[\Rector\Parallel\ValueObject\Name::LINE], $json[\Rector\Parallel\ValueObject\Name::RECTOR_CLASS]); } diff --git a/src/ValueObject/PhpVersion.php b/src/ValueObject/PhpVersion.php index 2e2ba1bfd41..aad096f2815 100644 --- a/src/ValueObject/PhpVersion.php +++ b/src/ValueObject/PhpVersion.php @@ -3,8 +3,8 @@ declare (strict_types=1); namespace Rector\Core\ValueObject; -use RectorPrefix20220519\MyCLabs\Enum\Enum; -final class PhpVersion extends \RectorPrefix20220519\MyCLabs\Enum\Enum +use RectorPrefix20220520\MyCLabs\Enum\Enum; +final class PhpVersion extends \RectorPrefix20220520\MyCLabs\Enum\Enum { /** * @api diff --git a/src/ValueObject/ProcessResult.php b/src/ValueObject/ProcessResult.php index 21e46096356..47a2e56f8f7 100644 --- a/src/ValueObject/ProcessResult.php +++ b/src/ValueObject/ProcessResult.php @@ -6,7 +6,7 @@ namespace Rector\Core\ValueObject; use Rector\Core\ValueObject\Error\SystemError; use Rector\Core\ValueObject\Reporting\FileDiff; use Symplify\SmartFileSystem\SmartFileInfo; -use RectorPrefix20220519\Webmozart\Assert\Assert; +use RectorPrefix20220520\Webmozart\Assert\Assert; /** * @see \Rector\Core\ValueObjectFactory\ProcessResultFactory */ @@ -48,8 +48,8 @@ final class ProcessResult $this->addedFilesCount = $addedFilesCount; $this->removedFilesCount = $removedFilesCount; $this->removedNodeCount = $removedNodeCount; - \RectorPrefix20220519\Webmozart\Assert\Assert::allIsAOf($fileDiffs, \Rector\Core\ValueObject\Reporting\FileDiff::class); - \RectorPrefix20220519\Webmozart\Assert\Assert::allIsAOf($systemErrors, \Rector\Core\ValueObject\Error\SystemError::class); + \RectorPrefix20220520\Webmozart\Assert\Assert::allIsAOf($fileDiffs, \Rector\Core\ValueObject\Reporting\FileDiff::class); + \RectorPrefix20220520\Webmozart\Assert\Assert::allIsAOf($systemErrors, \Rector\Core\ValueObject\Error\SystemError::class); } /** * @return FileDiff[] diff --git a/src/ValueObject/Reporting/FileDiff.php b/src/ValueObject/Reporting/FileDiff.php index 717d9839db5..5da7042e285 100644 --- a/src/ValueObject/Reporting/FileDiff.php +++ b/src/ValueObject/Reporting/FileDiff.php @@ -3,12 +3,12 @@ declare (strict_types=1); namespace Rector\Core\ValueObject\Reporting; -use RectorPrefix20220519\Nette\Utils\Strings; +use RectorPrefix20220520\Nette\Utils\Strings; use Rector\ChangesReporting\ValueObject\RectorWithLineChange; use Rector\Core\Contract\Rector\RectorInterface; -use RectorPrefix20220519\Symplify\EasyParallel\Contract\SerializableInterface; -use RectorPrefix20220519\Webmozart\Assert\Assert; -final class FileDiff implements \RectorPrefix20220519\Symplify\EasyParallel\Contract\SerializableInterface +use RectorPrefix20220520\Symplify\EasyParallel\Contract\SerializableInterface; +use RectorPrefix20220520\Webmozart\Assert\Assert; +final class FileDiff implements \RectorPrefix20220520\Symplify\EasyParallel\Contract\SerializableInterface { /** * @var string @@ -64,7 +64,7 @@ final class FileDiff implements \RectorPrefix20220519\Symplify\EasyParallel\Cont $this->diff = $diff; $this->diffConsoleFormatted = $diffConsoleFormatted; $this->rectorsWithLineChanges = $rectorsWithLineChanges; - \RectorPrefix20220519\Webmozart\Assert\Assert::allIsAOf($rectorsWithLineChanges, \Rector\ChangesReporting\ValueObject\RectorWithLineChange::class); + \RectorPrefix20220520\Webmozart\Assert\Assert::allIsAOf($rectorsWithLineChanges, \Rector\ChangesReporting\ValueObject\RectorWithLineChange::class); } public function getDiff() : string { @@ -98,7 +98,7 @@ final class FileDiff implements \RectorPrefix20220519\Symplify\EasyParallel\Cont } public function getFirstLineNumber() : ?int { - $match = \RectorPrefix20220519\Nette\Utils\Strings::match($this->diff, self::FIRST_LINE_REGEX); + $match = \RectorPrefix20220520\Nette\Utils\Strings::match($this->diff, self::FIRST_LINE_REGEX); // probably some error in diff if (!isset($match[self::FIRST_LINE_KEY])) { return null; @@ -115,7 +115,7 @@ final class FileDiff implements \RectorPrefix20220519\Symplify\EasyParallel\Cont /** * @param array $json */ - public static function decode(array $json) : \RectorPrefix20220519\Symplify\EasyParallel\Contract\SerializableInterface + public static function decode(array $json) : \RectorPrefix20220520\Symplify\EasyParallel\Contract\SerializableInterface { $rectorWithLineChanges = []; foreach ($json[self::KEY_RECTORS_WITH_LINE_CHANGES] as $rectorWithLineChangesJson) { diff --git a/src/constants.php b/src/constants.php index 4cae063f0a1..5ec37d6dda6 100644 --- a/src/constants.php +++ b/src/constants.php @@ -1,7 +1,7 @@ $depth]); + \RectorPrefix20220520\Tracy\Dumper::dump($value, [\RectorPrefix20220520\Tracy\Dumper::DEPTH => $depth]); } } if (!\function_exists('dn')) { function dn(\PhpParser\Node $node, int $depth = 2) : void { - \RectorPrefix20220519\dump_node($node, $depth); + \RectorPrefix20220520\dump_node($node, $depth); } } if (!\function_exists('dump_node')) { @@ -29,7 +29,7 @@ if (!\function_exists('dump_node')) { { $nodes = \is_array($node) ? $node : [$node]; foreach ($nodes as $node) { - \RectorPrefix20220519\Tracy\Dumper::dump($node, [\RectorPrefix20220519\Tracy\Dumper::DEPTH => $depth]); + \RectorPrefix20220520\Tracy\Dumper::dump($node, [\RectorPrefix20220520\Tracy\Dumper::DEPTH => $depth]); } } } @@ -43,7 +43,7 @@ if (!\function_exists('print_node')) { $nodes = \is_array($node) ? $node : [$node]; foreach ($nodes as $node) { $printedContent = $standard->prettyPrint([$node]); - \RectorPrefix20220519\Tracy\Dumper::dump($printedContent); + \RectorPrefix20220520\Tracy\Dumper::dump($printedContent); } } } diff --git a/vendor/autoload.php b/vendor/autoload.php index 74bf1a856a6..2043680475f 100644 --- a/vendor/autoload.php +++ b/vendor/autoload.php @@ -9,4 +9,4 @@ if (PHP_VERSION_ID < 50600) { require_once __DIR__ . '/composer/autoload_real.php'; -return ComposerAutoloaderInit70a93d7538b708eba9d9e519bd6c9ee7::getLoader(); +return ComposerAutoloaderInit8e223b4397b3ebd238db2279dc1627ef::getLoader(); diff --git a/vendor/bin/easy-testing b/vendor/bin/easy-testing index 6dfbe4b0b3a..3d34d6aeac1 100644 --- a/vendor/bin/easy-testing +++ b/vendor/bin/easy-testing @@ -8,12 +8,12 @@ * * @generated */ -namespace RectorPrefix20220519\Composer; +namespace RectorPrefix20220520\Composer; $GLOBALS['_composer_bin_dir'] = __DIR__; $GLOBALS['_composer_autoload_path'] = __DIR__ . '/..' . '/autoload.php'; if (\PHP_VERSION_ID < 80000) { - if (!\class_exists('RectorPrefix20220519\\Composer\\BinProxyWrapper')) { + if (!\class_exists('RectorPrefix20220520\\Composer\\BinProxyWrapper')) { /** * @internal */ @@ -87,7 +87,7 @@ if (\PHP_VERSION_ID < 80000) { } } } - if (\function_exists('stream_wrapper_register') && \stream_wrapper_register('phpvfscomposer', 'RectorPrefix20220519\\Composer\\BinProxyWrapper')) { + if (\function_exists('stream_wrapper_register') && \stream_wrapper_register('phpvfscomposer', 'RectorPrefix20220520\\Composer\\BinProxyWrapper')) { include "phpvfscomposer://" . __DIR__ . '/..' . '/symplify/easy-testing/bin/easy-testing'; exit(0); } diff --git a/vendor/bin/neon-lint b/vendor/bin/neon-lint index 2080f048277..de53dc7c6e5 100644 --- a/vendor/bin/neon-lint +++ b/vendor/bin/neon-lint @@ -8,12 +8,12 @@ * * @generated */ -namespace RectorPrefix20220519\Composer; +namespace RectorPrefix20220520\Composer; $GLOBALS['_composer_bin_dir'] = __DIR__; $GLOBALS['_composer_autoload_path'] = __DIR__ . '/..' . '/autoload.php'; if (\PHP_VERSION_ID < 80000) { - if (!\class_exists('RectorPrefix20220519\\Composer\\BinProxyWrapper')) { + if (!\class_exists('RectorPrefix20220520\\Composer\\BinProxyWrapper')) { /** * @internal */ @@ -87,7 +87,7 @@ if (\PHP_VERSION_ID < 80000) { } } } - if (\function_exists('stream_wrapper_register') && \stream_wrapper_register('phpvfscomposer', 'RectorPrefix20220519\\Composer\\BinProxyWrapper')) { + if (\function_exists('stream_wrapper_register') && \stream_wrapper_register('phpvfscomposer', 'RectorPrefix20220520\\Composer\\BinProxyWrapper')) { include "phpvfscomposer://" . __DIR__ . '/..' . '/nette/neon/bin/neon-lint'; exit(0); } diff --git a/vendor/bin/php-parse b/vendor/bin/php-parse index 84efec5adf2..42937909fc8 100644 --- a/vendor/bin/php-parse +++ b/vendor/bin/php-parse @@ -8,12 +8,12 @@ * * @generated */ -namespace RectorPrefix20220519\Composer; +namespace RectorPrefix20220520\Composer; $GLOBALS['_composer_bin_dir'] = __DIR__; $GLOBALS['_composer_autoload_path'] = __DIR__ . '/..' . '/autoload.php'; if (\PHP_VERSION_ID < 80000) { - if (!\class_exists('RectorPrefix20220519\\Composer\\BinProxyWrapper')) { + if (!\class_exists('RectorPrefix20220520\\Composer\\BinProxyWrapper')) { /** * @internal */ @@ -87,7 +87,7 @@ if (\PHP_VERSION_ID < 80000) { } } } - if (\function_exists('stream_wrapper_register') && \stream_wrapper_register('phpvfscomposer', 'RectorPrefix20220519\\Composer\\BinProxyWrapper')) { + if (\function_exists('stream_wrapper_register') && \stream_wrapper_register('phpvfscomposer', 'RectorPrefix20220520\\Composer\\BinProxyWrapper')) { include "phpvfscomposer://" . __DIR__ . '/..' . '/nikic/php-parser/bin/php-parse'; exit(0); } diff --git a/vendor/bin/phpstan b/vendor/bin/phpstan index 956f8928fdb..4c19e25ddec 100644 --- a/vendor/bin/phpstan +++ b/vendor/bin/phpstan @@ -8,12 +8,12 @@ * * @generated */ -namespace RectorPrefix20220519\Composer; +namespace RectorPrefix20220520\Composer; $GLOBALS['_composer_bin_dir'] = __DIR__; $GLOBALS['_composer_autoload_path'] = __DIR__ . '/..' . '/autoload.php'; if (\PHP_VERSION_ID < 80000) { - if (!\class_exists('RectorPrefix20220519\\Composer\\BinProxyWrapper')) { + if (!\class_exists('RectorPrefix20220520\\Composer\\BinProxyWrapper')) { /** * @internal */ @@ -87,7 +87,7 @@ if (\PHP_VERSION_ID < 80000) { } } } - if (\function_exists('stream_wrapper_register') && \stream_wrapper_register('phpvfscomposer', 'RectorPrefix20220519\\Composer\\BinProxyWrapper')) { + if (\function_exists('stream_wrapper_register') && \stream_wrapper_register('phpvfscomposer', 'RectorPrefix20220520\\Composer\\BinProxyWrapper')) { include "phpvfscomposer://" . __DIR__ . '/..' . '/phpstan/phpstan/phpstan'; exit(0); } diff --git a/vendor/bin/vendor-patches b/vendor/bin/vendor-patches index 5f037dfbed1..e94cb6bce6f 100644 --- a/vendor/bin/vendor-patches +++ b/vendor/bin/vendor-patches @@ -8,12 +8,12 @@ * * @generated */ -namespace RectorPrefix20220519\Composer; +namespace RectorPrefix20220520\Composer; $GLOBALS['_composer_bin_dir'] = __DIR__; $GLOBALS['_composer_autoload_path'] = __DIR__ . '/..' . '/autoload.php'; if (\PHP_VERSION_ID < 80000) { - if (!\class_exists('RectorPrefix20220519\\Composer\\BinProxyWrapper')) { + if (!\class_exists('RectorPrefix20220520\\Composer\\BinProxyWrapper')) { /** * @internal */ @@ -87,7 +87,7 @@ if (\PHP_VERSION_ID < 80000) { } } } - if (\function_exists('stream_wrapper_register') && \stream_wrapper_register('phpvfscomposer', 'RectorPrefix20220519\\Composer\\BinProxyWrapper')) { + if (\function_exists('stream_wrapper_register') && \stream_wrapper_register('phpvfscomposer', 'RectorPrefix20220520\\Composer\\BinProxyWrapper')) { include "phpvfscomposer://" . __DIR__ . '/..' . '/symplify/vendor-patches/bin/vendor-patches'; exit(0); } diff --git a/vendor/bin/yaml-lint b/vendor/bin/yaml-lint index 427b50e2267..864acc95944 100644 --- a/vendor/bin/yaml-lint +++ b/vendor/bin/yaml-lint @@ -8,12 +8,12 @@ * * @generated */ -namespace RectorPrefix20220519\Composer; +namespace RectorPrefix20220520\Composer; $GLOBALS['_composer_bin_dir'] = __DIR__; $GLOBALS['_composer_autoload_path'] = __DIR__ . '/..' . '/autoload.php'; if (\PHP_VERSION_ID < 80000) { - if (!\class_exists('RectorPrefix20220519\\Composer\\BinProxyWrapper')) { + if (!\class_exists('RectorPrefix20220520\\Composer\\BinProxyWrapper')) { /** * @internal */ @@ -87,7 +87,7 @@ if (\PHP_VERSION_ID < 80000) { } } } - if (\function_exists('stream_wrapper_register') && \stream_wrapper_register('phpvfscomposer', 'RectorPrefix20220519\\Composer\\BinProxyWrapper')) { + if (\function_exists('stream_wrapper_register') && \stream_wrapper_register('phpvfscomposer', 'RectorPrefix20220520\\Composer\\BinProxyWrapper')) { include "phpvfscomposer://" . __DIR__ . '/..' . '/symfony/yaml/Resources/bin/yaml-lint'; exit(0); } diff --git a/vendor/clue/ndjson-react/composer.json b/vendor/clue/ndjson-react/composer.json index b1d8c455066..f6fa60e033a 100644 --- a/vendor/clue/ndjson-react/composer.json +++ b/vendor/clue/ndjson-react/composer.json @@ -19,12 +19,12 @@ ], "autoload": { "psr-4": { - "RectorPrefix20220519\\Clue\\React\\NDJson\\": "src\/" + "RectorPrefix20220520\\Clue\\React\\NDJson\\": "src\/" } }, "autoload-dev": { "psr-4": { - "RectorPrefix20220519\\Clue\\Tests\\React\\NDJson\\": "tests\/" + "RectorPrefix20220520\\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 f281866f70a..59f4ab222eb 100644 --- a/vendor/clue/ndjson-react/src/Decoder.php +++ b/vendor/clue/ndjson-react/src/Decoder.php @@ -1,15 +1,15 @@ input->resume(); } - public function pipe(\RectorPrefix20220519\React\Stream\WritableStreamInterface $dest, array $options = array()) + public function pipe(\RectorPrefix20220520\React\Stream\WritableStreamInterface $dest, array $options = array()) { - \RectorPrefix20220519\React\Stream\Util::pipe($this, $dest, $options); + \RectorPrefix20220520\React\Stream\Util::pipe($this, $dest, $options); return $dest; } /** @internal */ diff --git a/vendor/clue/ndjson-react/src/Encoder.php b/vendor/clue/ndjson-react/src/Encoder.php index d7ec12e6e0d..b211be59ef2 100644 --- a/vendor/clue/ndjson-react/src/Encoder.php +++ b/vendor/clue/ndjson-react/src/Encoder.php @@ -1,13 +1,13 @@ parseConstraints($constraint); $provided = $parser->parseConstraints(self::getVersionRanges($packageName)); @@ -277,11 +277,11 @@ class InstalledVersions private static function getInstalled() { if (null === self::$canGetVendors) { - self::$canGetVendors = \method_exists('RectorPrefix20220519\\Composer\\Autoload\\ClassLoader', 'getRegisteredLoaders'); + self::$canGetVendors = \method_exists('RectorPrefix20220520\\Composer\\Autoload\\ClassLoader', 'getRegisteredLoaders'); } $installed = array(); if (self::$canGetVendors) { - foreach (\RectorPrefix20220519\Composer\Autoload\ClassLoader::getRegisteredLoaders() as $vendorDir => $loader) { + foreach (\RectorPrefix20220520\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 f54496d7bdb..71952d4cc0b 100644 --- a/vendor/composer/autoload_classmap.php +++ b/vendor/composer/autoload_classmap.php @@ -328,1034 +328,1034 @@ 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', - 'RectorPrefix20220519\\Clue\\React\\NDJson\\Decoder' => $vendorDir . '/clue/ndjson-react/src/Decoder.php', - 'RectorPrefix20220519\\Clue\\React\\NDJson\\Encoder' => $vendorDir . '/clue/ndjson-react/src/Encoder.php', - 'RectorPrefix20220519\\Composer\\Pcre\\MatchAllResult' => $vendorDir . '/composer/pcre/src/MatchAllResult.php', - 'RectorPrefix20220519\\Composer\\Pcre\\MatchAllWithOffsetsResult' => $vendorDir . '/composer/pcre/src/MatchAllWithOffsetsResult.php', - 'RectorPrefix20220519\\Composer\\Pcre\\MatchResult' => $vendorDir . '/composer/pcre/src/MatchResult.php', - 'RectorPrefix20220519\\Composer\\Pcre\\MatchWithOffsetsResult' => $vendorDir . '/composer/pcre/src/MatchWithOffsetsResult.php', - 'RectorPrefix20220519\\Composer\\Pcre\\PcreException' => $vendorDir . '/composer/pcre/src/PcreException.php', - 'RectorPrefix20220519\\Composer\\Pcre\\Preg' => $vendorDir . '/composer/pcre/src/Preg.php', - 'RectorPrefix20220519\\Composer\\Pcre\\Regex' => $vendorDir . '/composer/pcre/src/Regex.php', - 'RectorPrefix20220519\\Composer\\Pcre\\ReplaceResult' => $vendorDir . '/composer/pcre/src/ReplaceResult.php', - 'RectorPrefix20220519\\Composer\\Semver\\Comparator' => $vendorDir . '/composer/semver/src/Comparator.php', - 'RectorPrefix20220519\\Composer\\Semver\\CompilingMatcher' => $vendorDir . '/composer/semver/src/CompilingMatcher.php', - 'RectorPrefix20220519\\Composer\\Semver\\Constraint\\Bound' => $vendorDir . '/composer/semver/src/Constraint/Bound.php', - 'RectorPrefix20220519\\Composer\\Semver\\Constraint\\Constraint' => $vendorDir . '/composer/semver/src/Constraint/Constraint.php', - 'RectorPrefix20220519\\Composer\\Semver\\Constraint\\ConstraintInterface' => $vendorDir . '/composer/semver/src/Constraint/ConstraintInterface.php', - 'RectorPrefix20220519\\Composer\\Semver\\Constraint\\MatchAllConstraint' => $vendorDir . '/composer/semver/src/Constraint/MatchAllConstraint.php', - 'RectorPrefix20220519\\Composer\\Semver\\Constraint\\MatchNoneConstraint' => $vendorDir . '/composer/semver/src/Constraint/MatchNoneConstraint.php', - 'RectorPrefix20220519\\Composer\\Semver\\Constraint\\MultiConstraint' => $vendorDir . '/composer/semver/src/Constraint/MultiConstraint.php', - 'RectorPrefix20220519\\Composer\\Semver\\Interval' => $vendorDir . '/composer/semver/src/Interval.php', - 'RectorPrefix20220519\\Composer\\Semver\\Intervals' => $vendorDir . '/composer/semver/src/Intervals.php', - 'RectorPrefix20220519\\Composer\\Semver\\Semver' => $vendorDir . '/composer/semver/src/Semver.php', - 'RectorPrefix20220519\\Composer\\Semver\\VersionParser' => $vendorDir . '/composer/semver/src/VersionParser.php', - 'RectorPrefix20220519\\Composer\\XdebugHandler\\PhpConfig' => $vendorDir . '/composer/xdebug-handler/src/PhpConfig.php', - 'RectorPrefix20220519\\Composer\\XdebugHandler\\Process' => $vendorDir . '/composer/xdebug-handler/src/Process.php', - 'RectorPrefix20220519\\Composer\\XdebugHandler\\Status' => $vendorDir . '/composer/xdebug-handler/src/Status.php', - 'RectorPrefix20220519\\Composer\\XdebugHandler\\XdebugHandler' => $vendorDir . '/composer/xdebug-handler/src/XdebugHandler.php', - 'RectorPrefix20220519\\Doctrine\\Inflector\\CachedWordInflector' => $vendorDir . '/doctrine/inflector/lib/Doctrine/Inflector/CachedWordInflector.php', - 'RectorPrefix20220519\\Doctrine\\Inflector\\GenericLanguageInflectorFactory' => $vendorDir . '/doctrine/inflector/lib/Doctrine/Inflector/GenericLanguageInflectorFactory.php', - 'RectorPrefix20220519\\Doctrine\\Inflector\\Inflector' => $vendorDir . '/doctrine/inflector/lib/Doctrine/Inflector/Inflector.php', - 'RectorPrefix20220519\\Doctrine\\Inflector\\InflectorFactory' => $vendorDir . '/doctrine/inflector/lib/Doctrine/Inflector/InflectorFactory.php', - 'RectorPrefix20220519\\Doctrine\\Inflector\\Language' => $vendorDir . '/doctrine/inflector/lib/Doctrine/Inflector/Language.php', - 'RectorPrefix20220519\\Doctrine\\Inflector\\LanguageInflectorFactory' => $vendorDir . '/doctrine/inflector/lib/Doctrine/Inflector/LanguageInflectorFactory.php', - 'RectorPrefix20220519\\Doctrine\\Inflector\\NoopWordInflector' => $vendorDir . '/doctrine/inflector/lib/Doctrine/Inflector/NoopWordInflector.php', - 'RectorPrefix20220519\\Doctrine\\Inflector\\Rules\\English\\Inflectible' => $vendorDir . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/English/Inflectible.php', - 'RectorPrefix20220519\\Doctrine\\Inflector\\Rules\\English\\InflectorFactory' => $vendorDir . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/English/InflectorFactory.php', - 'RectorPrefix20220519\\Doctrine\\Inflector\\Rules\\English\\Rules' => $vendorDir . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/English/Rules.php', - 'RectorPrefix20220519\\Doctrine\\Inflector\\Rules\\English\\Uninflected' => $vendorDir . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/English/Uninflected.php', - 'RectorPrefix20220519\\Doctrine\\Inflector\\Rules\\French\\Inflectible' => $vendorDir . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/French/Inflectible.php', - 'RectorPrefix20220519\\Doctrine\\Inflector\\Rules\\French\\InflectorFactory' => $vendorDir . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/French/InflectorFactory.php', - 'RectorPrefix20220519\\Doctrine\\Inflector\\Rules\\French\\Rules' => $vendorDir . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/French/Rules.php', - 'RectorPrefix20220519\\Doctrine\\Inflector\\Rules\\French\\Uninflected' => $vendorDir . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/French/Uninflected.php', - 'RectorPrefix20220519\\Doctrine\\Inflector\\Rules\\NorwegianBokmal\\Inflectible' => $vendorDir . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/NorwegianBokmal/Inflectible.php', - 'RectorPrefix20220519\\Doctrine\\Inflector\\Rules\\NorwegianBokmal\\InflectorFactory' => $vendorDir . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/NorwegianBokmal/InflectorFactory.php', - 'RectorPrefix20220519\\Doctrine\\Inflector\\Rules\\NorwegianBokmal\\Rules' => $vendorDir . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/NorwegianBokmal/Rules.php', - 'RectorPrefix20220519\\Doctrine\\Inflector\\Rules\\NorwegianBokmal\\Uninflected' => $vendorDir . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/NorwegianBokmal/Uninflected.php', - 'RectorPrefix20220519\\Doctrine\\Inflector\\Rules\\Pattern' => $vendorDir . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/Pattern.php', - 'RectorPrefix20220519\\Doctrine\\Inflector\\Rules\\Patterns' => $vendorDir . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/Patterns.php', - 'RectorPrefix20220519\\Doctrine\\Inflector\\Rules\\Portuguese\\Inflectible' => $vendorDir . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/Portuguese/Inflectible.php', - 'RectorPrefix20220519\\Doctrine\\Inflector\\Rules\\Portuguese\\InflectorFactory' => $vendorDir . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/Portuguese/InflectorFactory.php', - 'RectorPrefix20220519\\Doctrine\\Inflector\\Rules\\Portuguese\\Rules' => $vendorDir . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/Portuguese/Rules.php', - 'RectorPrefix20220519\\Doctrine\\Inflector\\Rules\\Portuguese\\Uninflected' => $vendorDir . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/Portuguese/Uninflected.php', - 'RectorPrefix20220519\\Doctrine\\Inflector\\Rules\\Ruleset' => $vendorDir . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/Ruleset.php', - 'RectorPrefix20220519\\Doctrine\\Inflector\\Rules\\Spanish\\Inflectible' => $vendorDir . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/Spanish/Inflectible.php', - 'RectorPrefix20220519\\Doctrine\\Inflector\\Rules\\Spanish\\InflectorFactory' => $vendorDir . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/Spanish/InflectorFactory.php', - 'RectorPrefix20220519\\Doctrine\\Inflector\\Rules\\Spanish\\Rules' => $vendorDir . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/Spanish/Rules.php', - 'RectorPrefix20220519\\Doctrine\\Inflector\\Rules\\Spanish\\Uninflected' => $vendorDir . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/Spanish/Uninflected.php', - 'RectorPrefix20220519\\Doctrine\\Inflector\\Rules\\Substitution' => $vendorDir . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/Substitution.php', - 'RectorPrefix20220519\\Doctrine\\Inflector\\Rules\\Substitutions' => $vendorDir . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/Substitutions.php', - 'RectorPrefix20220519\\Doctrine\\Inflector\\Rules\\Transformation' => $vendorDir . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/Transformation.php', - 'RectorPrefix20220519\\Doctrine\\Inflector\\Rules\\Transformations' => $vendorDir . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/Transformations.php', - 'RectorPrefix20220519\\Doctrine\\Inflector\\Rules\\Turkish\\Inflectible' => $vendorDir . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/Turkish/Inflectible.php', - 'RectorPrefix20220519\\Doctrine\\Inflector\\Rules\\Turkish\\InflectorFactory' => $vendorDir . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/Turkish/InflectorFactory.php', - 'RectorPrefix20220519\\Doctrine\\Inflector\\Rules\\Turkish\\Rules' => $vendorDir . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/Turkish/Rules.php', - 'RectorPrefix20220519\\Doctrine\\Inflector\\Rules\\Turkish\\Uninflected' => $vendorDir . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/Turkish/Uninflected.php', - 'RectorPrefix20220519\\Doctrine\\Inflector\\Rules\\Word' => $vendorDir . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/Word.php', - 'RectorPrefix20220519\\Doctrine\\Inflector\\RulesetInflector' => $vendorDir . '/doctrine/inflector/lib/Doctrine/Inflector/RulesetInflector.php', - 'RectorPrefix20220519\\Doctrine\\Inflector\\WordInflector' => $vendorDir . '/doctrine/inflector/lib/Doctrine/Inflector/WordInflector.php', - 'RectorPrefix20220519\\Ergebnis\\Json\\Printer\\Printer' => $vendorDir . '/ergebnis/json-printer/src/Printer.php', - 'RectorPrefix20220519\\Ergebnis\\Json\\Printer\\PrinterInterface' => $vendorDir . '/ergebnis/json-printer/src/PrinterInterface.php', - 'RectorPrefix20220519\\Evenement\\EventEmitter' => $vendorDir . '/evenement/evenement/src/Evenement/EventEmitter.php', - 'RectorPrefix20220519\\Evenement\\EventEmitterInterface' => $vendorDir . '/evenement/evenement/src/Evenement/EventEmitterInterface.php', - 'RectorPrefix20220519\\Evenement\\EventEmitterTrait' => $vendorDir . '/evenement/evenement/src/Evenement/EventEmitterTrait.php', - 'RectorPrefix20220519\\Helmich\\TypoScriptParser\\Parser\\AST\\Builder' => $vendorDir . '/helmich/typo3-typoscript-parser/src/Parser/AST/Builder.php', - 'RectorPrefix20220519\\Helmich\\TypoScriptParser\\Parser\\AST\\Comment' => $vendorDir . '/helmich/typo3-typoscript-parser/src/Parser/AST/Comment.php', - 'RectorPrefix20220519\\Helmich\\TypoScriptParser\\Parser\\AST\\ConditionalStatement' => $vendorDir . '/helmich/typo3-typoscript-parser/src/Parser/AST/ConditionalStatement.php', - 'RectorPrefix20220519\\Helmich\\TypoScriptParser\\Parser\\AST\\DirectoryIncludeStatement' => $vendorDir . '/helmich/typo3-typoscript-parser/src/Parser/AST/DirectoryIncludeStatement.php', - 'RectorPrefix20220519\\Helmich\\TypoScriptParser\\Parser\\AST\\FileIncludeStatement' => $vendorDir . '/helmich/typo3-typoscript-parser/src/Parser/AST/FileIncludeStatement.php', - 'RectorPrefix20220519\\Helmich\\TypoScriptParser\\Parser\\AST\\IncludeStatement' => $vendorDir . '/helmich/typo3-typoscript-parser/src/Parser/AST/IncludeStatement.php', - 'RectorPrefix20220519\\Helmich\\TypoScriptParser\\Parser\\AST\\MultilineComment' => $vendorDir . '/helmich/typo3-typoscript-parser/src/Parser/AST/MultilineComment.php', - 'RectorPrefix20220519\\Helmich\\TypoScriptParser\\Parser\\AST\\NestedAssignment' => $vendorDir . '/helmich/typo3-typoscript-parser/src/Parser/AST/NestedAssignment.php', - 'RectorPrefix20220519\\Helmich\\TypoScriptParser\\Parser\\AST\\NopStatement' => $vendorDir . '/helmich/typo3-typoscript-parser/src/Parser/AST/NopStatement.php', - 'RectorPrefix20220519\\Helmich\\TypoScriptParser\\Parser\\AST\\ObjectPath' => $vendorDir . '/helmich/typo3-typoscript-parser/src/Parser/AST/ObjectPath.php', - 'RectorPrefix20220519\\Helmich\\TypoScriptParser\\Parser\\AST\\Operator\\Assignment' => $vendorDir . '/helmich/typo3-typoscript-parser/src/Parser/AST/Operator/Assignment.php', - 'RectorPrefix20220519\\Helmich\\TypoScriptParser\\Parser\\AST\\Operator\\BinaryObjectOperator' => $vendorDir . '/helmich/typo3-typoscript-parser/src/Parser/AST/Operator/BinaryObjectOperator.php', - 'RectorPrefix20220519\\Helmich\\TypoScriptParser\\Parser\\AST\\Operator\\BinaryOperator' => $vendorDir . '/helmich/typo3-typoscript-parser/src/Parser/AST/Operator/BinaryOperator.php', - 'RectorPrefix20220519\\Helmich\\TypoScriptParser\\Parser\\AST\\Operator\\Builder' => $vendorDir . '/helmich/typo3-typoscript-parser/src/Parser/AST/Operator/Builder.php', - 'RectorPrefix20220519\\Helmich\\TypoScriptParser\\Parser\\AST\\Operator\\Copy' => $vendorDir . '/helmich/typo3-typoscript-parser/src/Parser/AST/Operator/Copy.php', - 'RectorPrefix20220519\\Helmich\\TypoScriptParser\\Parser\\AST\\Operator\\Delete' => $vendorDir . '/helmich/typo3-typoscript-parser/src/Parser/AST/Operator/Delete.php', - 'RectorPrefix20220519\\Helmich\\TypoScriptParser\\Parser\\AST\\Operator\\Modification' => $vendorDir . '/helmich/typo3-typoscript-parser/src/Parser/AST/Operator/Modification.php', - 'RectorPrefix20220519\\Helmich\\TypoScriptParser\\Parser\\AST\\Operator\\ModificationCall' => $vendorDir . '/helmich/typo3-typoscript-parser/src/Parser/AST/Operator/ModificationCall.php', - 'RectorPrefix20220519\\Helmich\\TypoScriptParser\\Parser\\AST\\Operator\\ObjectCreation' => $vendorDir . '/helmich/typo3-typoscript-parser/src/Parser/AST/Operator/ObjectCreation.php', - 'RectorPrefix20220519\\Helmich\\TypoScriptParser\\Parser\\AST\\Operator\\Reference' => $vendorDir . '/helmich/typo3-typoscript-parser/src/Parser/AST/Operator/Reference.php', - 'RectorPrefix20220519\\Helmich\\TypoScriptParser\\Parser\\AST\\Operator\\UnaryOperator' => $vendorDir . '/helmich/typo3-typoscript-parser/src/Parser/AST/Operator/UnaryOperator.php', - 'RectorPrefix20220519\\Helmich\\TypoScriptParser\\Parser\\AST\\RootObjectPath' => $vendorDir . '/helmich/typo3-typoscript-parser/src/Parser/AST/RootObjectPath.php', - 'RectorPrefix20220519\\Helmich\\TypoScriptParser\\Parser\\AST\\Scalar' => $vendorDir . '/helmich/typo3-typoscript-parser/src/Parser/AST/Scalar.php', - 'RectorPrefix20220519\\Helmich\\TypoScriptParser\\Parser\\AST\\Statement' => $vendorDir . '/helmich/typo3-typoscript-parser/src/Parser/AST/Statement.php', - 'RectorPrefix20220519\\Helmich\\TypoScriptParser\\Parser\\ParseError' => $vendorDir . '/helmich/typo3-typoscript-parser/src/Parser/ParseError.php', - 'RectorPrefix20220519\\Helmich\\TypoScriptParser\\Parser\\Parser' => $vendorDir . '/helmich/typo3-typoscript-parser/src/Parser/Parser.php', - 'RectorPrefix20220519\\Helmich\\TypoScriptParser\\Parser\\ParserInterface' => $vendorDir . '/helmich/typo3-typoscript-parser/src/Parser/ParserInterface.php', - 'RectorPrefix20220519\\Helmich\\TypoScriptParser\\Parser\\ParserState' => $vendorDir . '/helmich/typo3-typoscript-parser/src/Parser/ParserState.php', - 'RectorPrefix20220519\\Helmich\\TypoScriptParser\\Parser\\Printer\\ASTPrinterInterface' => $vendorDir . '/helmich/typo3-typoscript-parser/src/Parser/Printer/ASTPrinterInterface.php', - 'RectorPrefix20220519\\Helmich\\TypoScriptParser\\Parser\\Printer\\PrettyPrinter' => $vendorDir . '/helmich/typo3-typoscript-parser/src/Parser/Printer/PrettyPrinter.php', - 'RectorPrefix20220519\\Helmich\\TypoScriptParser\\Parser\\Printer\\PrettyPrinterConfiguration' => $vendorDir . '/helmich/typo3-typoscript-parser/src/Parser/Printer/PrettyPrinterConfiguration.php', - 'RectorPrefix20220519\\Helmich\\TypoScriptParser\\Parser\\TokenStream' => $vendorDir . '/helmich/typo3-typoscript-parser/src/Parser/TokenStream.php', - 'RectorPrefix20220519\\Helmich\\TypoScriptParser\\Parser\\Traverser\\AggregatingVisitor' => $vendorDir . '/helmich/typo3-typoscript-parser/src/Parser/Traverser/AggregatingVisitor.php', - 'RectorPrefix20220519\\Helmich\\TypoScriptParser\\Parser\\Traverser\\Traverser' => $vendorDir . '/helmich/typo3-typoscript-parser/src/Parser/Traverser/Traverser.php', - 'RectorPrefix20220519\\Helmich\\TypoScriptParser\\Parser\\Traverser\\Visitor' => $vendorDir . '/helmich/typo3-typoscript-parser/src/Parser/Traverser/Visitor.php', - 'RectorPrefix20220519\\Helmich\\TypoScriptParser\\Tokenizer\\LineGrouper' => $vendorDir . '/helmich/typo3-typoscript-parser/src/Tokenizer/LineGrouper.php', - 'RectorPrefix20220519\\Helmich\\TypoScriptParser\\Tokenizer\\MultilineTokenBuilder' => $vendorDir . '/helmich/typo3-typoscript-parser/src/Tokenizer/MultilineTokenBuilder.php', - 'RectorPrefix20220519\\Helmich\\TypoScriptParser\\Tokenizer\\Preprocessing\\NoOpPreprocessor' => $vendorDir . '/helmich/typo3-typoscript-parser/src/Tokenizer/Preprocessing/NoOpPreprocessor.php', - 'RectorPrefix20220519\\Helmich\\TypoScriptParser\\Tokenizer\\Preprocessing\\Preprocessor' => $vendorDir . '/helmich/typo3-typoscript-parser/src/Tokenizer/Preprocessing/Preprocessor.php', - 'RectorPrefix20220519\\Helmich\\TypoScriptParser\\Tokenizer\\Preprocessing\\ProcessorChain' => $vendorDir . '/helmich/typo3-typoscript-parser/src/Tokenizer/Preprocessing/ProcessorChain.php', - 'RectorPrefix20220519\\Helmich\\TypoScriptParser\\Tokenizer\\Preprocessing\\RemoveTrailingWhitespacePreprocessor' => $vendorDir . '/helmich/typo3-typoscript-parser/src/Tokenizer/Preprocessing/RemoveTrailingWhitespacePreprocessor.php', - 'RectorPrefix20220519\\Helmich\\TypoScriptParser\\Tokenizer\\Preprocessing\\StandardPreprocessor' => $vendorDir . '/helmich/typo3-typoscript-parser/src/Tokenizer/Preprocessing/StandardPreprocessor.php', - 'RectorPrefix20220519\\Helmich\\TypoScriptParser\\Tokenizer\\Preprocessing\\UnifyLineEndingsPreprocessor' => $vendorDir . '/helmich/typo3-typoscript-parser/src/Tokenizer/Preprocessing/UnifyLineEndingsPreprocessor.php', - 'RectorPrefix20220519\\Helmich\\TypoScriptParser\\Tokenizer\\Printer\\CodeTokenPrinter' => $vendorDir . '/helmich/typo3-typoscript-parser/src/Tokenizer/Printer/CodeTokenPrinter.php', - 'RectorPrefix20220519\\Helmich\\TypoScriptParser\\Tokenizer\\Printer\\StructuredTokenPrinter' => $vendorDir . '/helmich/typo3-typoscript-parser/src/Tokenizer/Printer/StructuredTokenPrinter.php', - 'RectorPrefix20220519\\Helmich\\TypoScriptParser\\Tokenizer\\Printer\\TokenPrinterInterface' => $vendorDir . '/helmich/typo3-typoscript-parser/src/Tokenizer/Printer/TokenPrinterInterface.php', - 'RectorPrefix20220519\\Helmich\\TypoScriptParser\\Tokenizer\\Scanner' => $vendorDir . '/helmich/typo3-typoscript-parser/src/Tokenizer/Scanner.php', - 'RectorPrefix20220519\\Helmich\\TypoScriptParser\\Tokenizer\\ScannerLine' => $vendorDir . '/helmich/typo3-typoscript-parser/src/Tokenizer/ScannerLine.php', - 'RectorPrefix20220519\\Helmich\\TypoScriptParser\\Tokenizer\\Token' => $vendorDir . '/helmich/typo3-typoscript-parser/src/Tokenizer/Token.php', - 'RectorPrefix20220519\\Helmich\\TypoScriptParser\\Tokenizer\\TokenInterface' => $vendorDir . '/helmich/typo3-typoscript-parser/src/Tokenizer/TokenInterface.php', - 'RectorPrefix20220519\\Helmich\\TypoScriptParser\\Tokenizer\\TokenStreamBuilder' => $vendorDir . '/helmich/typo3-typoscript-parser/src/Tokenizer/TokenStreamBuilder.php', - 'RectorPrefix20220519\\Helmich\\TypoScriptParser\\Tokenizer\\Tokenizer' => $vendorDir . '/helmich/typo3-typoscript-parser/src/Tokenizer/Tokenizer.php', - 'RectorPrefix20220519\\Helmich\\TypoScriptParser\\Tokenizer\\TokenizerException' => $vendorDir . '/helmich/typo3-typoscript-parser/src/Tokenizer/TokenizerException.php', - 'RectorPrefix20220519\\Helmich\\TypoScriptParser\\Tokenizer\\TokenizerInterface' => $vendorDir . '/helmich/typo3-typoscript-parser/src/Tokenizer/TokenizerInterface.php', - 'RectorPrefix20220519\\Helmich\\TypoScriptParser\\Tokenizer\\UnknownOperatorException' => $vendorDir . '/helmich/typo3-typoscript-parser/src/Tokenizer/UnknownOperatorException.php', - 'RectorPrefix20220519\\Helmich\\TypoScriptParser\\TypoScriptParserExtension' => $vendorDir . '/helmich/typo3-typoscript-parser/src/TypoScriptParserExtension.php', - 'RectorPrefix20220519\\Idiosyncratic\\EditorConfig\\Declaration\\BooleanDeclaration' => $vendorDir . '/idiosyncratic/editorconfig/src/Declaration/BooleanDeclaration.php', - 'RectorPrefix20220519\\Idiosyncratic\\EditorConfig\\Declaration\\Charset' => $vendorDir . '/idiosyncratic/editorconfig/src/Declaration/Charset.php', - 'RectorPrefix20220519\\Idiosyncratic\\EditorConfig\\Declaration\\Declaration' => $vendorDir . '/idiosyncratic/editorconfig/src/Declaration/Declaration.php', - 'RectorPrefix20220519\\Idiosyncratic\\EditorConfig\\Declaration\\EndOfLine' => $vendorDir . '/idiosyncratic/editorconfig/src/Declaration/EndOfLine.php', - 'RectorPrefix20220519\\Idiosyncratic\\EditorConfig\\Declaration\\Factory' => $vendorDir . '/idiosyncratic/editorconfig/src/Declaration/Factory.php', - 'RectorPrefix20220519\\Idiosyncratic\\EditorConfig\\Declaration\\GenericDeclaration' => $vendorDir . '/idiosyncratic/editorconfig/src/Declaration/GenericDeclaration.php', - 'RectorPrefix20220519\\Idiosyncratic\\EditorConfig\\Declaration\\IndentSize' => $vendorDir . '/idiosyncratic/editorconfig/src/Declaration/IndentSize.php', - 'RectorPrefix20220519\\Idiosyncratic\\EditorConfig\\Declaration\\IndentStyle' => $vendorDir . '/idiosyncratic/editorconfig/src/Declaration/IndentStyle.php', - 'RectorPrefix20220519\\Idiosyncratic\\EditorConfig\\Declaration\\InsertFinalNewline' => $vendorDir . '/idiosyncratic/editorconfig/src/Declaration/InsertFinalNewline.php', - 'RectorPrefix20220519\\Idiosyncratic\\EditorConfig\\Declaration\\MaxLineLength' => $vendorDir . '/idiosyncratic/editorconfig/src/Declaration/MaxLineLength.php', - 'RectorPrefix20220519\\Idiosyncratic\\EditorConfig\\Declaration\\TabWidth' => $vendorDir . '/idiosyncratic/editorconfig/src/Declaration/TabWidth.php', - 'RectorPrefix20220519\\Idiosyncratic\\EditorConfig\\Declaration\\TrimTrailingWhitespace' => $vendorDir . '/idiosyncratic/editorconfig/src/Declaration/TrimTrailingWhitespace.php', - 'RectorPrefix20220519\\Idiosyncratic\\EditorConfig\\Declaration\\UnsetDeclaration' => $vendorDir . '/idiosyncratic/editorconfig/src/Declaration/UnsetDeclaration.php', - 'RectorPrefix20220519\\Idiosyncratic\\EditorConfig\\EditorConfig' => $vendorDir . '/idiosyncratic/editorconfig/src/EditorConfig.php', - 'RectorPrefix20220519\\Idiosyncratic\\EditorConfig\\EditorConfigFile' => $vendorDir . '/idiosyncratic/editorconfig/src/EditorConfigFile.php', - 'RectorPrefix20220519\\Idiosyncratic\\EditorConfig\\Exception\\InvalidValue' => $vendorDir . '/idiosyncratic/editorconfig/src/Exception/InvalidValue.php', - 'RectorPrefix20220519\\Idiosyncratic\\EditorConfig\\Section' => $vendorDir . '/idiosyncratic/editorconfig/src/Section.php', - 'RectorPrefix20220519\\MyCLabs\\Enum\\Enum' => $vendorDir . '/myclabs/php-enum/src/Enum.php', - 'RectorPrefix20220519\\MyCLabs\\Enum\\PHPUnit\\Comparator' => $vendorDir . '/myclabs/php-enum/src/PHPUnit/Comparator.php', - 'RectorPrefix20220519\\Nette\\ArgumentOutOfRangeException' => $vendorDir . '/nette/utils/src/exceptions.php', - 'RectorPrefix20220519\\Nette\\DeprecatedException' => $vendorDir . '/nette/utils/src/exceptions.php', - 'RectorPrefix20220519\\Nette\\DirectoryNotFoundException' => $vendorDir . '/nette/utils/src/exceptions.php', - 'RectorPrefix20220519\\Nette\\FileNotFoundException' => $vendorDir . '/nette/utils/src/exceptions.php', - 'RectorPrefix20220519\\Nette\\HtmlStringable' => $vendorDir . '/nette/utils/src/HtmlStringable.php', - 'RectorPrefix20220519\\Nette\\IOException' => $vendorDir . '/nette/utils/src/exceptions.php', - 'RectorPrefix20220519\\Nette\\InvalidArgumentException' => $vendorDir . '/nette/utils/src/exceptions.php', - 'RectorPrefix20220519\\Nette\\InvalidStateException' => $vendorDir . '/nette/utils/src/exceptions.php', - 'RectorPrefix20220519\\Nette\\Iterators\\CachingIterator' => $vendorDir . '/nette/utils/src/Iterators/CachingIterator.php', - 'RectorPrefix20220519\\Nette\\Iterators\\Mapper' => $vendorDir . '/nette/utils/src/Iterators/Mapper.php', - 'RectorPrefix20220519\\Nette\\Localization\\ITranslator' => $vendorDir . '/nette/utils/src/compatibility.php', - 'RectorPrefix20220519\\Nette\\Localization\\Translator' => $vendorDir . '/nette/utils/src/Translator.php', - 'RectorPrefix20220519\\Nette\\MemberAccessException' => $vendorDir . '/nette/utils/src/exceptions.php', - 'RectorPrefix20220519\\Nette\\Neon\\Decoder' => $vendorDir . '/nette/neon/src/Neon/Decoder.php', - 'RectorPrefix20220519\\Nette\\Neon\\Encoder' => $vendorDir . '/nette/neon/src/Neon/Encoder.php', - 'RectorPrefix20220519\\Nette\\Neon\\Entity' => $vendorDir . '/nette/neon/src/Neon/Entity.php', - 'RectorPrefix20220519\\Nette\\Neon\\Exception' => $vendorDir . '/nette/neon/src/Neon/Exception.php', - 'RectorPrefix20220519\\Nette\\Neon\\Lexer' => $vendorDir . '/nette/neon/src/Neon/Lexer.php', - 'RectorPrefix20220519\\Nette\\Neon\\Neon' => $vendorDir . '/nette/neon/src/Neon/Neon.php', - 'RectorPrefix20220519\\Nette\\Neon\\Node' => $vendorDir . '/nette/neon/src/Neon/Node.php', - 'RectorPrefix20220519\\Nette\\Neon\\Node\\ArrayItemNode' => $vendorDir . '/nette/neon/src/Neon/Node/ArrayItemNode.php', - 'RectorPrefix20220519\\Nette\\Neon\\Node\\ArrayNode' => $vendorDir . '/nette/neon/src/Neon/Node/ArrayNode.php', - 'RectorPrefix20220519\\Nette\\Neon\\Node\\BlockArrayNode' => $vendorDir . '/nette/neon/src/Neon/Node/BlockArrayNode.php', - 'RectorPrefix20220519\\Nette\\Neon\\Node\\EntityChainNode' => $vendorDir . '/nette/neon/src/Neon/Node/EntityChainNode.php', - 'RectorPrefix20220519\\Nette\\Neon\\Node\\EntityNode' => $vendorDir . '/nette/neon/src/Neon/Node/EntityNode.php', - 'RectorPrefix20220519\\Nette\\Neon\\Node\\InlineArrayNode' => $vendorDir . '/nette/neon/src/Neon/Node/InlineArrayNode.php', - 'RectorPrefix20220519\\Nette\\Neon\\Node\\LiteralNode' => $vendorDir . '/nette/neon/src/Neon/Node/LiteralNode.php', - 'RectorPrefix20220519\\Nette\\Neon\\Node\\StringNode' => $vendorDir . '/nette/neon/src/Neon/Node/StringNode.php', - 'RectorPrefix20220519\\Nette\\Neon\\Parser' => $vendorDir . '/nette/neon/src/Neon/Parser.php', - 'RectorPrefix20220519\\Nette\\Neon\\Token' => $vendorDir . '/nette/neon/src/Neon/Token.php', - 'RectorPrefix20220519\\Nette\\Neon\\TokenStream' => $vendorDir . '/nette/neon/src/Neon/TokenStream.php', - 'RectorPrefix20220519\\Nette\\Neon\\Traverser' => $vendorDir . '/nette/neon/src/Neon/Traverser.php', - 'RectorPrefix20220519\\Nette\\NotImplementedException' => $vendorDir . '/nette/utils/src/exceptions.php', - 'RectorPrefix20220519\\Nette\\NotSupportedException' => $vendorDir . '/nette/utils/src/exceptions.php', - 'RectorPrefix20220519\\Nette\\OutOfRangeException' => $vendorDir . '/nette/utils/src/exceptions.php', - 'RectorPrefix20220519\\Nette\\SmartObject' => $vendorDir . '/nette/utils/src/SmartObject.php', - 'RectorPrefix20220519\\Nette\\StaticClass' => $vendorDir . '/nette/utils/src/StaticClass.php', - 'RectorPrefix20220519\\Nette\\UnexpectedValueException' => $vendorDir . '/nette/utils/src/exceptions.php', - 'RectorPrefix20220519\\Nette\\Utils\\ArrayHash' => $vendorDir . '/nette/utils/src/Utils/ArrayHash.php', - 'RectorPrefix20220519\\Nette\\Utils\\ArrayList' => $vendorDir . '/nette/utils/src/Utils/ArrayList.php', - 'RectorPrefix20220519\\Nette\\Utils\\Arrays' => $vendorDir . '/nette/utils/src/Utils/Arrays.php', - 'RectorPrefix20220519\\Nette\\Utils\\AssertionException' => $vendorDir . '/nette/utils/src/Utils/exceptions.php', - 'RectorPrefix20220519\\Nette\\Utils\\Callback' => $vendorDir . '/nette/utils/src/Utils/Callback.php', - 'RectorPrefix20220519\\Nette\\Utils\\DateTime' => $vendorDir . '/nette/utils/src/Utils/DateTime.php', - 'RectorPrefix20220519\\Nette\\Utils\\FileSystem' => $vendorDir . '/nette/utils/src/Utils/FileSystem.php', - 'RectorPrefix20220519\\Nette\\Utils\\Floats' => $vendorDir . '/nette/utils/src/Utils/Floats.php', - 'RectorPrefix20220519\\Nette\\Utils\\Helpers' => $vendorDir . '/nette/utils/src/Utils/Helpers.php', - 'RectorPrefix20220519\\Nette\\Utils\\Html' => $vendorDir . '/nette/utils/src/Utils/Html.php', - 'RectorPrefix20220519\\Nette\\Utils\\IHtmlString' => $vendorDir . '/nette/utils/src/compatibility.php', - 'RectorPrefix20220519\\Nette\\Utils\\Image' => $vendorDir . '/nette/utils/src/Utils/Image.php', - 'RectorPrefix20220519\\Nette\\Utils\\ImageException' => $vendorDir . '/nette/utils/src/Utils/exceptions.php', - 'RectorPrefix20220519\\Nette\\Utils\\Json' => $vendorDir . '/nette/utils/src/Utils/Json.php', - 'RectorPrefix20220519\\Nette\\Utils\\JsonException' => $vendorDir . '/nette/utils/src/Utils/exceptions.php', - 'RectorPrefix20220519\\Nette\\Utils\\ObjectHelpers' => $vendorDir . '/nette/utils/src/Utils/ObjectHelpers.php', - 'RectorPrefix20220519\\Nette\\Utils\\ObjectMixin' => $vendorDir . '/nette/utils/src/Utils/ObjectMixin.php', - 'RectorPrefix20220519\\Nette\\Utils\\Paginator' => $vendorDir . '/nette/utils/src/Utils/Paginator.php', - 'RectorPrefix20220519\\Nette\\Utils\\Random' => $vendorDir . '/nette/utils/src/Utils/Random.php', - 'RectorPrefix20220519\\Nette\\Utils\\Reflection' => $vendorDir . '/nette/utils/src/Utils/Reflection.php', - 'RectorPrefix20220519\\Nette\\Utils\\RegexpException' => $vendorDir . '/nette/utils/src/Utils/exceptions.php', - 'RectorPrefix20220519\\Nette\\Utils\\Strings' => $vendorDir . '/nette/utils/src/Utils/Strings.php', - 'RectorPrefix20220519\\Nette\\Utils\\Type' => $vendorDir . '/nette/utils/src/Utils/Type.php', - 'RectorPrefix20220519\\Nette\\Utils\\UnknownImageFileException' => $vendorDir . '/nette/utils/src/Utils/exceptions.php', - 'RectorPrefix20220519\\Nette\\Utils\\Validators' => $vendorDir . '/nette/utils/src/Utils/Validators.php', - 'RectorPrefix20220519\\OndraM\\CiDetector\\CiDetector' => $vendorDir . '/ondram/ci-detector/src/CiDetector.php', - 'RectorPrefix20220519\\OndraM\\CiDetector\\CiDetectorInterface' => $vendorDir . '/ondram/ci-detector/src/CiDetectorInterface.php', - 'RectorPrefix20220519\\OndraM\\CiDetector\\Ci\\AbstractCi' => $vendorDir . '/ondram/ci-detector/src/Ci/AbstractCi.php', - 'RectorPrefix20220519\\OndraM\\CiDetector\\Ci\\AppVeyor' => $vendorDir . '/ondram/ci-detector/src/Ci/AppVeyor.php', - 'RectorPrefix20220519\\OndraM\\CiDetector\\Ci\\AwsCodeBuild' => $vendorDir . '/ondram/ci-detector/src/Ci/AwsCodeBuild.php', - 'RectorPrefix20220519\\OndraM\\CiDetector\\Ci\\AzurePipelines' => $vendorDir . '/ondram/ci-detector/src/Ci/AzurePipelines.php', - 'RectorPrefix20220519\\OndraM\\CiDetector\\Ci\\Bamboo' => $vendorDir . '/ondram/ci-detector/src/Ci/Bamboo.php', - 'RectorPrefix20220519\\OndraM\\CiDetector\\Ci\\BitbucketPipelines' => $vendorDir . '/ondram/ci-detector/src/Ci/BitbucketPipelines.php', - 'RectorPrefix20220519\\OndraM\\CiDetector\\Ci\\Buddy' => $vendorDir . '/ondram/ci-detector/src/Ci/Buddy.php', - 'RectorPrefix20220519\\OndraM\\CiDetector\\Ci\\CiInterface' => $vendorDir . '/ondram/ci-detector/src/Ci/CiInterface.php', - 'RectorPrefix20220519\\OndraM\\CiDetector\\Ci\\Circle' => $vendorDir . '/ondram/ci-detector/src/Ci/Circle.php', - 'RectorPrefix20220519\\OndraM\\CiDetector\\Ci\\Codeship' => $vendorDir . '/ondram/ci-detector/src/Ci/Codeship.php', - 'RectorPrefix20220519\\OndraM\\CiDetector\\Ci\\Continuousphp' => $vendorDir . '/ondram/ci-detector/src/Ci/Continuousphp.php', - 'RectorPrefix20220519\\OndraM\\CiDetector\\Ci\\Drone' => $vendorDir . '/ondram/ci-detector/src/Ci/Drone.php', - 'RectorPrefix20220519\\OndraM\\CiDetector\\Ci\\GitHubActions' => $vendorDir . '/ondram/ci-detector/src/Ci/GitHubActions.php', - 'RectorPrefix20220519\\OndraM\\CiDetector\\Ci\\GitLab' => $vendorDir . '/ondram/ci-detector/src/Ci/GitLab.php', - 'RectorPrefix20220519\\OndraM\\CiDetector\\Ci\\Jenkins' => $vendorDir . '/ondram/ci-detector/src/Ci/Jenkins.php', - 'RectorPrefix20220519\\OndraM\\CiDetector\\Ci\\SourceHut' => $vendorDir . '/ondram/ci-detector/src/Ci/SourceHut.php', - 'RectorPrefix20220519\\OndraM\\CiDetector\\Ci\\TeamCity' => $vendorDir . '/ondram/ci-detector/src/Ci/TeamCity.php', - 'RectorPrefix20220519\\OndraM\\CiDetector\\Ci\\Travis' => $vendorDir . '/ondram/ci-detector/src/Ci/Travis.php', - 'RectorPrefix20220519\\OndraM\\CiDetector\\Ci\\Wercker' => $vendorDir . '/ondram/ci-detector/src/Ci/Wercker.php', - 'RectorPrefix20220519\\OndraM\\CiDetector\\Env' => $vendorDir . '/ondram/ci-detector/src/Env.php', - 'RectorPrefix20220519\\OndraM\\CiDetector\\Exception\\CiNotDetectedException' => $vendorDir . '/ondram/ci-detector/src/Exception/CiNotDetectedException.php', - 'RectorPrefix20220519\\OndraM\\CiDetector\\TrinaryLogic' => $vendorDir . '/ondram/ci-detector/src/TrinaryLogic.php', - 'RectorPrefix20220519\\Psr\\Cache\\CacheException' => $vendorDir . '/psr/cache/src/CacheException.php', - 'RectorPrefix20220519\\Psr\\Cache\\CacheItemInterface' => $vendorDir . '/psr/cache/src/CacheItemInterface.php', - 'RectorPrefix20220519\\Psr\\Cache\\CacheItemPoolInterface' => $vendorDir . '/psr/cache/src/CacheItemPoolInterface.php', - 'RectorPrefix20220519\\Psr\\Cache\\InvalidArgumentException' => $vendorDir . '/psr/cache/src/InvalidArgumentException.php', - 'RectorPrefix20220519\\Psr\\Container\\ContainerExceptionInterface' => $vendorDir . '/psr/container/src/ContainerExceptionInterface.php', - 'RectorPrefix20220519\\Psr\\Container\\ContainerInterface' => $vendorDir . '/psr/container/src/ContainerInterface.php', - 'RectorPrefix20220519\\Psr\\Container\\NotFoundExceptionInterface' => $vendorDir . '/psr/container/src/NotFoundExceptionInterface.php', - 'RectorPrefix20220519\\Psr\\EventDispatcher\\EventDispatcherInterface' => $vendorDir . '/psr/event-dispatcher/src/EventDispatcherInterface.php', - 'RectorPrefix20220519\\Psr\\EventDispatcher\\ListenerProviderInterface' => $vendorDir . '/psr/event-dispatcher/src/ListenerProviderInterface.php', - 'RectorPrefix20220519\\Psr\\EventDispatcher\\StoppableEventInterface' => $vendorDir . '/psr/event-dispatcher/src/StoppableEventInterface.php', - 'RectorPrefix20220519\\Psr\\Log\\AbstractLogger' => $vendorDir . '/psr/log/src/AbstractLogger.php', - 'RectorPrefix20220519\\Psr\\Log\\InvalidArgumentException' => $vendorDir . '/psr/log/src/InvalidArgumentException.php', - 'RectorPrefix20220519\\Psr\\Log\\LogLevel' => $vendorDir . '/psr/log/src/LogLevel.php', - 'RectorPrefix20220519\\Psr\\Log\\LoggerAwareInterface' => $vendorDir . '/psr/log/src/LoggerAwareInterface.php', - 'RectorPrefix20220519\\Psr\\Log\\LoggerAwareTrait' => $vendorDir . '/psr/log/src/LoggerAwareTrait.php', - 'RectorPrefix20220519\\Psr\\Log\\LoggerInterface' => $vendorDir . '/psr/log/src/LoggerInterface.php', - 'RectorPrefix20220519\\Psr\\Log\\LoggerTrait' => $vendorDir . '/psr/log/src/LoggerTrait.php', - 'RectorPrefix20220519\\Psr\\Log\\NullLogger' => $vendorDir . '/psr/log/src/NullLogger.php', - 'RectorPrefix20220519\\React\\Cache\\ArrayCache' => $vendorDir . '/react/cache/src/ArrayCache.php', - 'RectorPrefix20220519\\React\\Cache\\CacheInterface' => $vendorDir . '/react/cache/src/CacheInterface.php', - 'RectorPrefix20220519\\React\\ChildProcess\\Process' => $vendorDir . '/react/child-process/src/Process.php', - 'RectorPrefix20220519\\React\\Dns\\BadServerException' => $vendorDir . '/react/dns/src/BadServerException.php', - 'RectorPrefix20220519\\React\\Dns\\Config\\Config' => $vendorDir . '/react/dns/src/Config/Config.php', - 'RectorPrefix20220519\\React\\Dns\\Config\\HostsFile' => $vendorDir . '/react/dns/src/Config/HostsFile.php', - 'RectorPrefix20220519\\React\\Dns\\Model\\Message' => $vendorDir . '/react/dns/src/Model/Message.php', - 'RectorPrefix20220519\\React\\Dns\\Model\\Record' => $vendorDir . '/react/dns/src/Model/Record.php', - 'RectorPrefix20220519\\React\\Dns\\Protocol\\BinaryDumper' => $vendorDir . '/react/dns/src/Protocol/BinaryDumper.php', - 'RectorPrefix20220519\\React\\Dns\\Protocol\\Parser' => $vendorDir . '/react/dns/src/Protocol/Parser.php', - 'RectorPrefix20220519\\React\\Dns\\Query\\CachingExecutor' => $vendorDir . '/react/dns/src/Query/CachingExecutor.php', - 'RectorPrefix20220519\\React\\Dns\\Query\\CancellationException' => $vendorDir . '/react/dns/src/Query/CancellationException.php', - 'RectorPrefix20220519\\React\\Dns\\Query\\CoopExecutor' => $vendorDir . '/react/dns/src/Query/CoopExecutor.php', - 'RectorPrefix20220519\\React\\Dns\\Query\\ExecutorInterface' => $vendorDir . '/react/dns/src/Query/ExecutorInterface.php', - 'RectorPrefix20220519\\React\\Dns\\Query\\FallbackExecutor' => $vendorDir . '/react/dns/src/Query/FallbackExecutor.php', - 'RectorPrefix20220519\\React\\Dns\\Query\\HostsFileExecutor' => $vendorDir . '/react/dns/src/Query/HostsFileExecutor.php', - 'RectorPrefix20220519\\React\\Dns\\Query\\Query' => $vendorDir . '/react/dns/src/Query/Query.php', - 'RectorPrefix20220519\\React\\Dns\\Query\\RetryExecutor' => $vendorDir . '/react/dns/src/Query/RetryExecutor.php', - 'RectorPrefix20220519\\React\\Dns\\Query\\SelectiveTransportExecutor' => $vendorDir . '/react/dns/src/Query/SelectiveTransportExecutor.php', - 'RectorPrefix20220519\\React\\Dns\\Query\\TcpTransportExecutor' => $vendorDir . '/react/dns/src/Query/TcpTransportExecutor.php', - 'RectorPrefix20220519\\React\\Dns\\Query\\TimeoutException' => $vendorDir . '/react/dns/src/Query/TimeoutException.php', - 'RectorPrefix20220519\\React\\Dns\\Query\\TimeoutExecutor' => $vendorDir . '/react/dns/src/Query/TimeoutExecutor.php', - 'RectorPrefix20220519\\React\\Dns\\Query\\UdpTransportExecutor' => $vendorDir . '/react/dns/src/Query/UdpTransportExecutor.php', - 'RectorPrefix20220519\\React\\Dns\\RecordNotFoundException' => $vendorDir . '/react/dns/src/RecordNotFoundException.php', - 'RectorPrefix20220519\\React\\Dns\\Resolver\\Factory' => $vendorDir . '/react/dns/src/Resolver/Factory.php', - 'RectorPrefix20220519\\React\\Dns\\Resolver\\Resolver' => $vendorDir . '/react/dns/src/Resolver/Resolver.php', - 'RectorPrefix20220519\\React\\Dns\\Resolver\\ResolverInterface' => $vendorDir . '/react/dns/src/Resolver/ResolverInterface.php', - 'RectorPrefix20220519\\React\\EventLoop\\ExtEvLoop' => $vendorDir . '/react/event-loop/src/ExtEvLoop.php', - 'RectorPrefix20220519\\React\\EventLoop\\ExtEventLoop' => $vendorDir . '/react/event-loop/src/ExtEventLoop.php', - 'RectorPrefix20220519\\React\\EventLoop\\ExtLibevLoop' => $vendorDir . '/react/event-loop/src/ExtLibevLoop.php', - 'RectorPrefix20220519\\React\\EventLoop\\ExtLibeventLoop' => $vendorDir . '/react/event-loop/src/ExtLibeventLoop.php', - 'RectorPrefix20220519\\React\\EventLoop\\ExtUvLoop' => $vendorDir . '/react/event-loop/src/ExtUvLoop.php', - 'RectorPrefix20220519\\React\\EventLoop\\Factory' => $vendorDir . '/react/event-loop/src/Factory.php', - 'RectorPrefix20220519\\React\\EventLoop\\Loop' => $vendorDir . '/react/event-loop/src/Loop.php', - 'RectorPrefix20220519\\React\\EventLoop\\LoopInterface' => $vendorDir . '/react/event-loop/src/LoopInterface.php', - 'RectorPrefix20220519\\React\\EventLoop\\SignalsHandler' => $vendorDir . '/react/event-loop/src/SignalsHandler.php', - 'RectorPrefix20220519\\React\\EventLoop\\StreamSelectLoop' => $vendorDir . '/react/event-loop/src/StreamSelectLoop.php', - 'RectorPrefix20220519\\React\\EventLoop\\Tick\\FutureTickQueue' => $vendorDir . '/react/event-loop/src/Tick/FutureTickQueue.php', - 'RectorPrefix20220519\\React\\EventLoop\\TimerInterface' => $vendorDir . '/react/event-loop/src/TimerInterface.php', - 'RectorPrefix20220519\\React\\EventLoop\\Timer\\Timer' => $vendorDir . '/react/event-loop/src/Timer/Timer.php', - 'RectorPrefix20220519\\React\\EventLoop\\Timer\\Timers' => $vendorDir . '/react/event-loop/src/Timer/Timers.php', - 'RectorPrefix20220519\\React\\Promise\\CancellablePromiseInterface' => $vendorDir . '/react/promise/src/CancellablePromiseInterface.php', - 'RectorPrefix20220519\\React\\Promise\\CancellationQueue' => $vendorDir . '/react/promise/src/CancellationQueue.php', - 'RectorPrefix20220519\\React\\Promise\\Deferred' => $vendorDir . '/react/promise/src/Deferred.php', - 'RectorPrefix20220519\\React\\Promise\\Exception\\LengthException' => $vendorDir . '/react/promise/src/Exception/LengthException.php', - 'RectorPrefix20220519\\React\\Promise\\ExtendedPromiseInterface' => $vendorDir . '/react/promise/src/ExtendedPromiseInterface.php', - 'RectorPrefix20220519\\React\\Promise\\FulfilledPromise' => $vendorDir . '/react/promise/src/FulfilledPromise.php', - 'RectorPrefix20220519\\React\\Promise\\LazyPromise' => $vendorDir . '/react/promise/src/LazyPromise.php', - 'RectorPrefix20220519\\React\\Promise\\Promise' => $vendorDir . '/react/promise/src/Promise.php', - 'RectorPrefix20220519\\React\\Promise\\PromiseInterface' => $vendorDir . '/react/promise/src/PromiseInterface.php', - 'RectorPrefix20220519\\React\\Promise\\PromisorInterface' => $vendorDir . '/react/promise/src/PromisorInterface.php', - 'RectorPrefix20220519\\React\\Promise\\RejectedPromise' => $vendorDir . '/react/promise/src/RejectedPromise.php', - 'RectorPrefix20220519\\React\\Promise\\Timer\\TimeoutException' => $vendorDir . '/react/promise-timer/src/TimeoutException.php', - 'RectorPrefix20220519\\React\\Promise\\UnhandledRejectionException' => $vendorDir . '/react/promise/src/UnhandledRejectionException.php', - 'RectorPrefix20220519\\React\\Socket\\Connection' => $vendorDir . '/react/socket/src/Connection.php', - 'RectorPrefix20220519\\React\\Socket\\ConnectionInterface' => $vendorDir . '/react/socket/src/ConnectionInterface.php', - 'RectorPrefix20220519\\React\\Socket\\Connector' => $vendorDir . '/react/socket/src/Connector.php', - 'RectorPrefix20220519\\React\\Socket\\ConnectorInterface' => $vendorDir . '/react/socket/src/ConnectorInterface.php', - 'RectorPrefix20220519\\React\\Socket\\DnsConnector' => $vendorDir . '/react/socket/src/DnsConnector.php', - 'RectorPrefix20220519\\React\\Socket\\FdServer' => $vendorDir . '/react/socket/src/FdServer.php', - 'RectorPrefix20220519\\React\\Socket\\FixedUriConnector' => $vendorDir . '/react/socket/src/FixedUriConnector.php', - 'RectorPrefix20220519\\React\\Socket\\HappyEyeBallsConnectionBuilder' => $vendorDir . '/react/socket/src/HappyEyeBallsConnectionBuilder.php', - 'RectorPrefix20220519\\React\\Socket\\HappyEyeBallsConnector' => $vendorDir . '/react/socket/src/HappyEyeBallsConnector.php', - 'RectorPrefix20220519\\React\\Socket\\LimitingServer' => $vendorDir . '/react/socket/src/LimitingServer.php', - 'RectorPrefix20220519\\React\\Socket\\SecureConnector' => $vendorDir . '/react/socket/src/SecureConnector.php', - 'RectorPrefix20220519\\React\\Socket\\SecureServer' => $vendorDir . '/react/socket/src/SecureServer.php', - 'RectorPrefix20220519\\React\\Socket\\Server' => $vendorDir . '/react/socket/src/Server.php', - 'RectorPrefix20220519\\React\\Socket\\ServerInterface' => $vendorDir . '/react/socket/src/ServerInterface.php', - 'RectorPrefix20220519\\React\\Socket\\SocketServer' => $vendorDir . '/react/socket/src/SocketServer.php', - 'RectorPrefix20220519\\React\\Socket\\StreamEncryption' => $vendorDir . '/react/socket/src/StreamEncryption.php', - 'RectorPrefix20220519\\React\\Socket\\TcpConnector' => $vendorDir . '/react/socket/src/TcpConnector.php', - 'RectorPrefix20220519\\React\\Socket\\TcpServer' => $vendorDir . '/react/socket/src/TcpServer.php', - 'RectorPrefix20220519\\React\\Socket\\TimeoutConnector' => $vendorDir . '/react/socket/src/TimeoutConnector.php', - 'RectorPrefix20220519\\React\\Socket\\UnixConnector' => $vendorDir . '/react/socket/src/UnixConnector.php', - 'RectorPrefix20220519\\React\\Socket\\UnixServer' => $vendorDir . '/react/socket/src/UnixServer.php', - 'RectorPrefix20220519\\React\\Stream\\CompositeStream' => $vendorDir . '/react/stream/src/CompositeStream.php', - 'RectorPrefix20220519\\React\\Stream\\DuplexResourceStream' => $vendorDir . '/react/stream/src/DuplexResourceStream.php', - 'RectorPrefix20220519\\React\\Stream\\DuplexStreamInterface' => $vendorDir . '/react/stream/src/DuplexStreamInterface.php', - 'RectorPrefix20220519\\React\\Stream\\ReadableResourceStream' => $vendorDir . '/react/stream/src/ReadableResourceStream.php', - 'RectorPrefix20220519\\React\\Stream\\ReadableStreamInterface' => $vendorDir . '/react/stream/src/ReadableStreamInterface.php', - 'RectorPrefix20220519\\React\\Stream\\ThroughStream' => $vendorDir . '/react/stream/src/ThroughStream.php', - 'RectorPrefix20220519\\React\\Stream\\Util' => $vendorDir . '/react/stream/src/Util.php', - 'RectorPrefix20220519\\React\\Stream\\WritableResourceStream' => $vendorDir . '/react/stream/src/WritableResourceStream.php', - 'RectorPrefix20220519\\React\\Stream\\WritableStreamInterface' => $vendorDir . '/react/stream/src/WritableStreamInterface.php', - 'RectorPrefix20220519\\SebastianBergmann\\Diff\\Chunk' => $vendorDir . '/sebastian/diff/src/Chunk.php', - 'RectorPrefix20220519\\SebastianBergmann\\Diff\\ConfigurationException' => $vendorDir . '/sebastian/diff/src/Exception/ConfigurationException.php', - 'RectorPrefix20220519\\SebastianBergmann\\Diff\\Diff' => $vendorDir . '/sebastian/diff/src/Diff.php', - 'RectorPrefix20220519\\SebastianBergmann\\Diff\\Differ' => $vendorDir . '/sebastian/diff/src/Differ.php', - 'RectorPrefix20220519\\SebastianBergmann\\Diff\\Exception' => $vendorDir . '/sebastian/diff/src/Exception/Exception.php', - 'RectorPrefix20220519\\SebastianBergmann\\Diff\\InvalidArgumentException' => $vendorDir . '/sebastian/diff/src/Exception/InvalidArgumentException.php', - 'RectorPrefix20220519\\SebastianBergmann\\Diff\\Line' => $vendorDir . '/sebastian/diff/src/Line.php', - 'RectorPrefix20220519\\SebastianBergmann\\Diff\\LongestCommonSubsequenceCalculator' => $vendorDir . '/sebastian/diff/src/LongestCommonSubsequenceCalculator.php', - 'RectorPrefix20220519\\SebastianBergmann\\Diff\\MemoryEfficientLongestCommonSubsequenceCalculator' => $vendorDir . '/sebastian/diff/src/MemoryEfficientLongestCommonSubsequenceCalculator.php', - 'RectorPrefix20220519\\SebastianBergmann\\Diff\\Output\\AbstractChunkOutputBuilder' => $vendorDir . '/sebastian/diff/src/Output/AbstractChunkOutputBuilder.php', - 'RectorPrefix20220519\\SebastianBergmann\\Diff\\Output\\DiffOnlyOutputBuilder' => $vendorDir . '/sebastian/diff/src/Output/DiffOnlyOutputBuilder.php', - 'RectorPrefix20220519\\SebastianBergmann\\Diff\\Output\\DiffOutputBuilderInterface' => $vendorDir . '/sebastian/diff/src/Output/DiffOutputBuilderInterface.php', - 'RectorPrefix20220519\\SebastianBergmann\\Diff\\Output\\StrictUnifiedDiffOutputBuilder' => $vendorDir . '/sebastian/diff/src/Output/StrictUnifiedDiffOutputBuilder.php', - 'RectorPrefix20220519\\SebastianBergmann\\Diff\\Output\\UnifiedDiffOutputBuilder' => $vendorDir . '/sebastian/diff/src/Output/UnifiedDiffOutputBuilder.php', - 'RectorPrefix20220519\\SebastianBergmann\\Diff\\Parser' => $vendorDir . '/sebastian/diff/src/Parser.php', - 'RectorPrefix20220519\\SebastianBergmann\\Diff\\TimeEfficientLongestCommonSubsequenceCalculator' => $vendorDir . '/sebastian/diff/src/TimeEfficientLongestCommonSubsequenceCalculator.php', - 'RectorPrefix20220519\\Symfony\\Component\\Config\\Builder\\ClassBuilder' => $vendorDir . '/symfony/config/Builder/ClassBuilder.php', - 'RectorPrefix20220519\\Symfony\\Component\\Config\\Builder\\ConfigBuilderGenerator' => $vendorDir . '/symfony/config/Builder/ConfigBuilderGenerator.php', - 'RectorPrefix20220519\\Symfony\\Component\\Config\\Builder\\ConfigBuilderGeneratorInterface' => $vendorDir . '/symfony/config/Builder/ConfigBuilderGeneratorInterface.php', - 'RectorPrefix20220519\\Symfony\\Component\\Config\\Builder\\ConfigBuilderInterface' => $vendorDir . '/symfony/config/Builder/ConfigBuilderInterface.php', - 'RectorPrefix20220519\\Symfony\\Component\\Config\\Builder\\Method' => $vendorDir . '/symfony/config/Builder/Method.php', - 'RectorPrefix20220519\\Symfony\\Component\\Config\\Builder\\Property' => $vendorDir . '/symfony/config/Builder/Property.php', - 'RectorPrefix20220519\\Symfony\\Component\\Config\\ConfigCache' => $vendorDir . '/symfony/config/ConfigCache.php', - 'RectorPrefix20220519\\Symfony\\Component\\Config\\ConfigCacheFactory' => $vendorDir . '/symfony/config/ConfigCacheFactory.php', - 'RectorPrefix20220519\\Symfony\\Component\\Config\\ConfigCacheFactoryInterface' => $vendorDir . '/symfony/config/ConfigCacheFactoryInterface.php', - 'RectorPrefix20220519\\Symfony\\Component\\Config\\ConfigCacheInterface' => $vendorDir . '/symfony/config/ConfigCacheInterface.php', - 'RectorPrefix20220519\\Symfony\\Component\\Config\\Definition\\ArrayNode' => $vendorDir . '/symfony/config/Definition/ArrayNode.php', - 'RectorPrefix20220519\\Symfony\\Component\\Config\\Definition\\BaseNode' => $vendorDir . '/symfony/config/Definition/BaseNode.php', - 'RectorPrefix20220519\\Symfony\\Component\\Config\\Definition\\BooleanNode' => $vendorDir . '/symfony/config/Definition/BooleanNode.php', - 'RectorPrefix20220519\\Symfony\\Component\\Config\\Definition\\Builder\\ArrayNodeDefinition' => $vendorDir . '/symfony/config/Definition/Builder/ArrayNodeDefinition.php', - 'RectorPrefix20220519\\Symfony\\Component\\Config\\Definition\\Builder\\BooleanNodeDefinition' => $vendorDir . '/symfony/config/Definition/Builder/BooleanNodeDefinition.php', - 'RectorPrefix20220519\\Symfony\\Component\\Config\\Definition\\Builder\\BuilderAwareInterface' => $vendorDir . '/symfony/config/Definition/Builder/BuilderAwareInterface.php', - 'RectorPrefix20220519\\Symfony\\Component\\Config\\Definition\\Builder\\EnumNodeDefinition' => $vendorDir . '/symfony/config/Definition/Builder/EnumNodeDefinition.php', - 'RectorPrefix20220519\\Symfony\\Component\\Config\\Definition\\Builder\\ExprBuilder' => $vendorDir . '/symfony/config/Definition/Builder/ExprBuilder.php', - 'RectorPrefix20220519\\Symfony\\Component\\Config\\Definition\\Builder\\FloatNodeDefinition' => $vendorDir . '/symfony/config/Definition/Builder/FloatNodeDefinition.php', - 'RectorPrefix20220519\\Symfony\\Component\\Config\\Definition\\Builder\\IntegerNodeDefinition' => $vendorDir . '/symfony/config/Definition/Builder/IntegerNodeDefinition.php', - 'RectorPrefix20220519\\Symfony\\Component\\Config\\Definition\\Builder\\MergeBuilder' => $vendorDir . '/symfony/config/Definition/Builder/MergeBuilder.php', - 'RectorPrefix20220519\\Symfony\\Component\\Config\\Definition\\Builder\\NodeBuilder' => $vendorDir . '/symfony/config/Definition/Builder/NodeBuilder.php', - 'RectorPrefix20220519\\Symfony\\Component\\Config\\Definition\\Builder\\NodeDefinition' => $vendorDir . '/symfony/config/Definition/Builder/NodeDefinition.php', - 'RectorPrefix20220519\\Symfony\\Component\\Config\\Definition\\Builder\\NodeParentInterface' => $vendorDir . '/symfony/config/Definition/Builder/NodeParentInterface.php', - 'RectorPrefix20220519\\Symfony\\Component\\Config\\Definition\\Builder\\NormalizationBuilder' => $vendorDir . '/symfony/config/Definition/Builder/NormalizationBuilder.php', - 'RectorPrefix20220519\\Symfony\\Component\\Config\\Definition\\Builder\\NumericNodeDefinition' => $vendorDir . '/symfony/config/Definition/Builder/NumericNodeDefinition.php', - 'RectorPrefix20220519\\Symfony\\Component\\Config\\Definition\\Builder\\ParentNodeDefinitionInterface' => $vendorDir . '/symfony/config/Definition/Builder/ParentNodeDefinitionInterface.php', - 'RectorPrefix20220519\\Symfony\\Component\\Config\\Definition\\Builder\\ScalarNodeDefinition' => $vendorDir . '/symfony/config/Definition/Builder/ScalarNodeDefinition.php', - 'RectorPrefix20220519\\Symfony\\Component\\Config\\Definition\\Builder\\TreeBuilder' => $vendorDir . '/symfony/config/Definition/Builder/TreeBuilder.php', - 'RectorPrefix20220519\\Symfony\\Component\\Config\\Definition\\Builder\\ValidationBuilder' => $vendorDir . '/symfony/config/Definition/Builder/ValidationBuilder.php', - 'RectorPrefix20220519\\Symfony\\Component\\Config\\Definition\\Builder\\VariableNodeDefinition' => $vendorDir . '/symfony/config/Definition/Builder/VariableNodeDefinition.php', - 'RectorPrefix20220519\\Symfony\\Component\\Config\\Definition\\ConfigurationInterface' => $vendorDir . '/symfony/config/Definition/ConfigurationInterface.php', - 'RectorPrefix20220519\\Symfony\\Component\\Config\\Definition\\Dumper\\XmlReferenceDumper' => $vendorDir . '/symfony/config/Definition/Dumper/XmlReferenceDumper.php', - 'RectorPrefix20220519\\Symfony\\Component\\Config\\Definition\\Dumper\\YamlReferenceDumper' => $vendorDir . '/symfony/config/Definition/Dumper/YamlReferenceDumper.php', - 'RectorPrefix20220519\\Symfony\\Component\\Config\\Definition\\EnumNode' => $vendorDir . '/symfony/config/Definition/EnumNode.php', - 'RectorPrefix20220519\\Symfony\\Component\\Config\\Definition\\Exception\\DuplicateKeyException' => $vendorDir . '/symfony/config/Definition/Exception/DuplicateKeyException.php', - 'RectorPrefix20220519\\Symfony\\Component\\Config\\Definition\\Exception\\Exception' => $vendorDir . '/symfony/config/Definition/Exception/Exception.php', - 'RectorPrefix20220519\\Symfony\\Component\\Config\\Definition\\Exception\\ForbiddenOverwriteException' => $vendorDir . '/symfony/config/Definition/Exception/ForbiddenOverwriteException.php', - 'RectorPrefix20220519\\Symfony\\Component\\Config\\Definition\\Exception\\InvalidConfigurationException' => $vendorDir . '/symfony/config/Definition/Exception/InvalidConfigurationException.php', - 'RectorPrefix20220519\\Symfony\\Component\\Config\\Definition\\Exception\\InvalidDefinitionException' => $vendorDir . '/symfony/config/Definition/Exception/InvalidDefinitionException.php', - 'RectorPrefix20220519\\Symfony\\Component\\Config\\Definition\\Exception\\InvalidTypeException' => $vendorDir . '/symfony/config/Definition/Exception/InvalidTypeException.php', - 'RectorPrefix20220519\\Symfony\\Component\\Config\\Definition\\Exception\\UnsetKeyException' => $vendorDir . '/symfony/config/Definition/Exception/UnsetKeyException.php', - 'RectorPrefix20220519\\Symfony\\Component\\Config\\Definition\\FloatNode' => $vendorDir . '/symfony/config/Definition/FloatNode.php', - 'RectorPrefix20220519\\Symfony\\Component\\Config\\Definition\\IntegerNode' => $vendorDir . '/symfony/config/Definition/IntegerNode.php', - 'RectorPrefix20220519\\Symfony\\Component\\Config\\Definition\\NodeInterface' => $vendorDir . '/symfony/config/Definition/NodeInterface.php', - 'RectorPrefix20220519\\Symfony\\Component\\Config\\Definition\\NumericNode' => $vendorDir . '/symfony/config/Definition/NumericNode.php', - 'RectorPrefix20220519\\Symfony\\Component\\Config\\Definition\\Processor' => $vendorDir . '/symfony/config/Definition/Processor.php', - 'RectorPrefix20220519\\Symfony\\Component\\Config\\Definition\\PrototypeNodeInterface' => $vendorDir . '/symfony/config/Definition/PrototypeNodeInterface.php', - 'RectorPrefix20220519\\Symfony\\Component\\Config\\Definition\\PrototypedArrayNode' => $vendorDir . '/symfony/config/Definition/PrototypedArrayNode.php', - 'RectorPrefix20220519\\Symfony\\Component\\Config\\Definition\\ScalarNode' => $vendorDir . '/symfony/config/Definition/ScalarNode.php', - 'RectorPrefix20220519\\Symfony\\Component\\Config\\Definition\\VariableNode' => $vendorDir . '/symfony/config/Definition/VariableNode.php', - 'RectorPrefix20220519\\Symfony\\Component\\Config\\Exception\\FileLoaderImportCircularReferenceException' => $vendorDir . '/symfony/config/Exception/FileLoaderImportCircularReferenceException.php', - 'RectorPrefix20220519\\Symfony\\Component\\Config\\Exception\\FileLocatorFileNotFoundException' => $vendorDir . '/symfony/config/Exception/FileLocatorFileNotFoundException.php', - 'RectorPrefix20220519\\Symfony\\Component\\Config\\Exception\\LoaderLoadException' => $vendorDir . '/symfony/config/Exception/LoaderLoadException.php', - 'RectorPrefix20220519\\Symfony\\Component\\Config\\FileLocator' => $vendorDir . '/symfony/config/FileLocator.php', - 'RectorPrefix20220519\\Symfony\\Component\\Config\\FileLocatorInterface' => $vendorDir . '/symfony/config/FileLocatorInterface.php', - 'RectorPrefix20220519\\Symfony\\Component\\Config\\Loader\\DelegatingLoader' => $vendorDir . '/symfony/config/Loader/DelegatingLoader.php', - 'RectorPrefix20220519\\Symfony\\Component\\Config\\Loader\\FileLoader' => $vendorDir . '/symfony/config/Loader/FileLoader.php', - 'RectorPrefix20220519\\Symfony\\Component\\Config\\Loader\\GlobFileLoader' => $vendorDir . '/symfony/config/Loader/GlobFileLoader.php', - 'RectorPrefix20220519\\Symfony\\Component\\Config\\Loader\\Loader' => $vendorDir . '/symfony/config/Loader/Loader.php', - 'RectorPrefix20220519\\Symfony\\Component\\Config\\Loader\\LoaderInterface' => $vendorDir . '/symfony/config/Loader/LoaderInterface.php', - 'RectorPrefix20220519\\Symfony\\Component\\Config\\Loader\\LoaderResolver' => $vendorDir . '/symfony/config/Loader/LoaderResolver.php', - 'RectorPrefix20220519\\Symfony\\Component\\Config\\Loader\\LoaderResolverInterface' => $vendorDir . '/symfony/config/Loader/LoaderResolverInterface.php', - 'RectorPrefix20220519\\Symfony\\Component\\Config\\Loader\\ParamConfigurator' => $vendorDir . '/symfony/config/Loader/ParamConfigurator.php', - 'RectorPrefix20220519\\Symfony\\Component\\Config\\ResourceCheckerConfigCache' => $vendorDir . '/symfony/config/ResourceCheckerConfigCache.php', - 'RectorPrefix20220519\\Symfony\\Component\\Config\\ResourceCheckerConfigCacheFactory' => $vendorDir . '/symfony/config/ResourceCheckerConfigCacheFactory.php', - 'RectorPrefix20220519\\Symfony\\Component\\Config\\ResourceCheckerInterface' => $vendorDir . '/symfony/config/ResourceCheckerInterface.php', - 'RectorPrefix20220519\\Symfony\\Component\\Config\\Resource\\ClassExistenceResource' => $vendorDir . '/symfony/config/Resource/ClassExistenceResource.php', - 'RectorPrefix20220519\\Symfony\\Component\\Config\\Resource\\ComposerResource' => $vendorDir . '/symfony/config/Resource/ComposerResource.php', - 'RectorPrefix20220519\\Symfony\\Component\\Config\\Resource\\DirectoryResource' => $vendorDir . '/symfony/config/Resource/DirectoryResource.php', - 'RectorPrefix20220519\\Symfony\\Component\\Config\\Resource\\FileExistenceResource' => $vendorDir . '/symfony/config/Resource/FileExistenceResource.php', - 'RectorPrefix20220519\\Symfony\\Component\\Config\\Resource\\FileResource' => $vendorDir . '/symfony/config/Resource/FileResource.php', - 'RectorPrefix20220519\\Symfony\\Component\\Config\\Resource\\GlobResource' => $vendorDir . '/symfony/config/Resource/GlobResource.php', - 'RectorPrefix20220519\\Symfony\\Component\\Config\\Resource\\ReflectionClassResource' => $vendorDir . '/symfony/config/Resource/ReflectionClassResource.php', - 'RectorPrefix20220519\\Symfony\\Component\\Config\\Resource\\ResourceInterface' => $vendorDir . '/symfony/config/Resource/ResourceInterface.php', - 'RectorPrefix20220519\\Symfony\\Component\\Config\\Resource\\SelfCheckingResourceChecker' => $vendorDir . '/symfony/config/Resource/SelfCheckingResourceChecker.php', - 'RectorPrefix20220519\\Symfony\\Component\\Config\\Resource\\SelfCheckingResourceInterface' => $vendorDir . '/symfony/config/Resource/SelfCheckingResourceInterface.php', - 'RectorPrefix20220519\\Symfony\\Component\\Config\\Util\\Exception\\InvalidXmlException' => $vendorDir . '/symfony/config/Util/Exception/InvalidXmlException.php', - 'RectorPrefix20220519\\Symfony\\Component\\Config\\Util\\Exception\\XmlParsingException' => $vendorDir . '/symfony/config/Util/Exception/XmlParsingException.php', - 'RectorPrefix20220519\\Symfony\\Component\\Config\\Util\\XmlUtils' => $vendorDir . '/symfony/config/Util/XmlUtils.php', - 'RectorPrefix20220519\\Symfony\\Component\\Console\\Application' => $vendorDir . '/symfony/console/Application.php', - 'RectorPrefix20220519\\Symfony\\Component\\Console\\Attribute\\AsCommand' => $vendorDir . '/symfony/console/Attribute/AsCommand.php', - 'RectorPrefix20220519\\Symfony\\Component\\Console\\CI\\GithubActionReporter' => $vendorDir . '/symfony/console/CI/GithubActionReporter.php', - 'RectorPrefix20220519\\Symfony\\Component\\Console\\Color' => $vendorDir . '/symfony/console/Color.php', - 'RectorPrefix20220519\\Symfony\\Component\\Console\\CommandLoader\\CommandLoaderInterface' => $vendorDir . '/symfony/console/CommandLoader/CommandLoaderInterface.php', - 'RectorPrefix20220519\\Symfony\\Component\\Console\\CommandLoader\\ContainerCommandLoader' => $vendorDir . '/symfony/console/CommandLoader/ContainerCommandLoader.php', - 'RectorPrefix20220519\\Symfony\\Component\\Console\\CommandLoader\\FactoryCommandLoader' => $vendorDir . '/symfony/console/CommandLoader/FactoryCommandLoader.php', - 'RectorPrefix20220519\\Symfony\\Component\\Console\\Command\\Command' => $vendorDir . '/symfony/console/Command/Command.php', - 'RectorPrefix20220519\\Symfony\\Component\\Console\\Command\\CompleteCommand' => $vendorDir . '/symfony/console/Command/CompleteCommand.php', - 'RectorPrefix20220519\\Symfony\\Component\\Console\\Command\\DumpCompletionCommand' => $vendorDir . '/symfony/console/Command/DumpCompletionCommand.php', - 'RectorPrefix20220519\\Symfony\\Component\\Console\\Command\\HelpCommand' => $vendorDir . '/symfony/console/Command/HelpCommand.php', - 'RectorPrefix20220519\\Symfony\\Component\\Console\\Command\\LazyCommand' => $vendorDir . '/symfony/console/Command/LazyCommand.php', - 'RectorPrefix20220519\\Symfony\\Component\\Console\\Command\\ListCommand' => $vendorDir . '/symfony/console/Command/ListCommand.php', - 'RectorPrefix20220519\\Symfony\\Component\\Console\\Command\\LockableTrait' => $vendorDir . '/symfony/console/Command/LockableTrait.php', - 'RectorPrefix20220519\\Symfony\\Component\\Console\\Command\\SignalableCommandInterface' => $vendorDir . '/symfony/console/Command/SignalableCommandInterface.php', - 'RectorPrefix20220519\\Symfony\\Component\\Console\\Completion\\CompletionInput' => $vendorDir . '/symfony/console/Completion/CompletionInput.php', - 'RectorPrefix20220519\\Symfony\\Component\\Console\\Completion\\CompletionSuggestions' => $vendorDir . '/symfony/console/Completion/CompletionSuggestions.php', - 'RectorPrefix20220519\\Symfony\\Component\\Console\\Completion\\Output\\BashCompletionOutput' => $vendorDir . '/symfony/console/Completion/Output/BashCompletionOutput.php', - 'RectorPrefix20220519\\Symfony\\Component\\Console\\Completion\\Output\\CompletionOutputInterface' => $vendorDir . '/symfony/console/Completion/Output/CompletionOutputInterface.php', - 'RectorPrefix20220519\\Symfony\\Component\\Console\\Completion\\Suggestion' => $vendorDir . '/symfony/console/Completion/Suggestion.php', - 'RectorPrefix20220519\\Symfony\\Component\\Console\\ConsoleEvents' => $vendorDir . '/symfony/console/ConsoleEvents.php', - 'RectorPrefix20220519\\Symfony\\Component\\Console\\Cursor' => $vendorDir . '/symfony/console/Cursor.php', - 'RectorPrefix20220519\\Symfony\\Component\\Console\\DependencyInjection\\AddConsoleCommandPass' => $vendorDir . '/symfony/console/DependencyInjection/AddConsoleCommandPass.php', - 'RectorPrefix20220519\\Symfony\\Component\\Console\\Descriptor\\ApplicationDescription' => $vendorDir . '/symfony/console/Descriptor/ApplicationDescription.php', - 'RectorPrefix20220519\\Symfony\\Component\\Console\\Descriptor\\Descriptor' => $vendorDir . '/symfony/console/Descriptor/Descriptor.php', - 'RectorPrefix20220519\\Symfony\\Component\\Console\\Descriptor\\DescriptorInterface' => $vendorDir . '/symfony/console/Descriptor/DescriptorInterface.php', - 'RectorPrefix20220519\\Symfony\\Component\\Console\\Descriptor\\JsonDescriptor' => $vendorDir . '/symfony/console/Descriptor/JsonDescriptor.php', - 'RectorPrefix20220519\\Symfony\\Component\\Console\\Descriptor\\MarkdownDescriptor' => $vendorDir . '/symfony/console/Descriptor/MarkdownDescriptor.php', - 'RectorPrefix20220519\\Symfony\\Component\\Console\\Descriptor\\TextDescriptor' => $vendorDir . '/symfony/console/Descriptor/TextDescriptor.php', - 'RectorPrefix20220519\\Symfony\\Component\\Console\\Descriptor\\XmlDescriptor' => $vendorDir . '/symfony/console/Descriptor/XmlDescriptor.php', - 'RectorPrefix20220519\\Symfony\\Component\\Console\\EventListener\\ErrorListener' => $vendorDir . '/symfony/console/EventListener/ErrorListener.php', - 'RectorPrefix20220519\\Symfony\\Component\\Console\\Event\\ConsoleCommandEvent' => $vendorDir . '/symfony/console/Event/ConsoleCommandEvent.php', - 'RectorPrefix20220519\\Symfony\\Component\\Console\\Event\\ConsoleErrorEvent' => $vendorDir . '/symfony/console/Event/ConsoleErrorEvent.php', - 'RectorPrefix20220519\\Symfony\\Component\\Console\\Event\\ConsoleEvent' => $vendorDir . '/symfony/console/Event/ConsoleEvent.php', - 'RectorPrefix20220519\\Symfony\\Component\\Console\\Event\\ConsoleSignalEvent' => $vendorDir . '/symfony/console/Event/ConsoleSignalEvent.php', - 'RectorPrefix20220519\\Symfony\\Component\\Console\\Event\\ConsoleTerminateEvent' => $vendorDir . '/symfony/console/Event/ConsoleTerminateEvent.php', - 'RectorPrefix20220519\\Symfony\\Component\\Console\\Exception\\CommandNotFoundException' => $vendorDir . '/symfony/console/Exception/CommandNotFoundException.php', - 'RectorPrefix20220519\\Symfony\\Component\\Console\\Exception\\ExceptionInterface' => $vendorDir . '/symfony/console/Exception/ExceptionInterface.php', - 'RectorPrefix20220519\\Symfony\\Component\\Console\\Exception\\InvalidArgumentException' => $vendorDir . '/symfony/console/Exception/InvalidArgumentException.php', - 'RectorPrefix20220519\\Symfony\\Component\\Console\\Exception\\InvalidOptionException' => $vendorDir . '/symfony/console/Exception/InvalidOptionException.php', - 'RectorPrefix20220519\\Symfony\\Component\\Console\\Exception\\LogicException' => $vendorDir . '/symfony/console/Exception/LogicException.php', - 'RectorPrefix20220519\\Symfony\\Component\\Console\\Exception\\MissingInputException' => $vendorDir . '/symfony/console/Exception/MissingInputException.php', - 'RectorPrefix20220519\\Symfony\\Component\\Console\\Exception\\NamespaceNotFoundException' => $vendorDir . '/symfony/console/Exception/NamespaceNotFoundException.php', - 'RectorPrefix20220519\\Symfony\\Component\\Console\\Exception\\RuntimeException' => $vendorDir . '/symfony/console/Exception/RuntimeException.php', - 'RectorPrefix20220519\\Symfony\\Component\\Console\\Formatter\\NullOutputFormatter' => $vendorDir . '/symfony/console/Formatter/NullOutputFormatter.php', - 'RectorPrefix20220519\\Symfony\\Component\\Console\\Formatter\\NullOutputFormatterStyle' => $vendorDir . '/symfony/console/Formatter/NullOutputFormatterStyle.php', - 'RectorPrefix20220519\\Symfony\\Component\\Console\\Formatter\\OutputFormatter' => $vendorDir . '/symfony/console/Formatter/OutputFormatter.php', - 'RectorPrefix20220519\\Symfony\\Component\\Console\\Formatter\\OutputFormatterInterface' => $vendorDir . '/symfony/console/Formatter/OutputFormatterInterface.php', - 'RectorPrefix20220519\\Symfony\\Component\\Console\\Formatter\\OutputFormatterStyle' => $vendorDir . '/symfony/console/Formatter/OutputFormatterStyle.php', - 'RectorPrefix20220519\\Symfony\\Component\\Console\\Formatter\\OutputFormatterStyleInterface' => $vendorDir . '/symfony/console/Formatter/OutputFormatterStyleInterface.php', - 'RectorPrefix20220519\\Symfony\\Component\\Console\\Formatter\\OutputFormatterStyleStack' => $vendorDir . '/symfony/console/Formatter/OutputFormatterStyleStack.php', - 'RectorPrefix20220519\\Symfony\\Component\\Console\\Formatter\\WrappableOutputFormatterInterface' => $vendorDir . '/symfony/console/Formatter/WrappableOutputFormatterInterface.php', - 'RectorPrefix20220519\\Symfony\\Component\\Console\\Helper\\DebugFormatterHelper' => $vendorDir . '/symfony/console/Helper/DebugFormatterHelper.php', - 'RectorPrefix20220519\\Symfony\\Component\\Console\\Helper\\DescriptorHelper' => $vendorDir . '/symfony/console/Helper/DescriptorHelper.php', - 'RectorPrefix20220519\\Symfony\\Component\\Console\\Helper\\Dumper' => $vendorDir . '/symfony/console/Helper/Dumper.php', - 'RectorPrefix20220519\\Symfony\\Component\\Console\\Helper\\FormatterHelper' => $vendorDir . '/symfony/console/Helper/FormatterHelper.php', - 'RectorPrefix20220519\\Symfony\\Component\\Console\\Helper\\Helper' => $vendorDir . '/symfony/console/Helper/Helper.php', - 'RectorPrefix20220519\\Symfony\\Component\\Console\\Helper\\HelperInterface' => $vendorDir . '/symfony/console/Helper/HelperInterface.php', - 'RectorPrefix20220519\\Symfony\\Component\\Console\\Helper\\HelperSet' => $vendorDir . '/symfony/console/Helper/HelperSet.php', - 'RectorPrefix20220519\\Symfony\\Component\\Console\\Helper\\InputAwareHelper' => $vendorDir . '/symfony/console/Helper/InputAwareHelper.php', - 'RectorPrefix20220519\\Symfony\\Component\\Console\\Helper\\ProcessHelper' => $vendorDir . '/symfony/console/Helper/ProcessHelper.php', - 'RectorPrefix20220519\\Symfony\\Component\\Console\\Helper\\ProgressBar' => $vendorDir . '/symfony/console/Helper/ProgressBar.php', - 'RectorPrefix20220519\\Symfony\\Component\\Console\\Helper\\ProgressIndicator' => $vendorDir . '/symfony/console/Helper/ProgressIndicator.php', - 'RectorPrefix20220519\\Symfony\\Component\\Console\\Helper\\QuestionHelper' => $vendorDir . '/symfony/console/Helper/QuestionHelper.php', - 'RectorPrefix20220519\\Symfony\\Component\\Console\\Helper\\SymfonyQuestionHelper' => $vendorDir . '/symfony/console/Helper/SymfonyQuestionHelper.php', - 'RectorPrefix20220519\\Symfony\\Component\\Console\\Helper\\Table' => $vendorDir . '/symfony/console/Helper/Table.php', - 'RectorPrefix20220519\\Symfony\\Component\\Console\\Helper\\TableCell' => $vendorDir . '/symfony/console/Helper/TableCell.php', - 'RectorPrefix20220519\\Symfony\\Component\\Console\\Helper\\TableCellStyle' => $vendorDir . '/symfony/console/Helper/TableCellStyle.php', - 'RectorPrefix20220519\\Symfony\\Component\\Console\\Helper\\TableRows' => $vendorDir . '/symfony/console/Helper/TableRows.php', - 'RectorPrefix20220519\\Symfony\\Component\\Console\\Helper\\TableSeparator' => $vendorDir . '/symfony/console/Helper/TableSeparator.php', - 'RectorPrefix20220519\\Symfony\\Component\\Console\\Helper\\TableStyle' => $vendorDir . '/symfony/console/Helper/TableStyle.php', - 'RectorPrefix20220519\\Symfony\\Component\\Console\\Input\\ArgvInput' => $vendorDir . '/symfony/console/Input/ArgvInput.php', - 'RectorPrefix20220519\\Symfony\\Component\\Console\\Input\\ArrayInput' => $vendorDir . '/symfony/console/Input/ArrayInput.php', - 'RectorPrefix20220519\\Symfony\\Component\\Console\\Input\\Input' => $vendorDir . '/symfony/console/Input/Input.php', - 'RectorPrefix20220519\\Symfony\\Component\\Console\\Input\\InputArgument' => $vendorDir . '/symfony/console/Input/InputArgument.php', - 'RectorPrefix20220519\\Symfony\\Component\\Console\\Input\\InputAwareInterface' => $vendorDir . '/symfony/console/Input/InputAwareInterface.php', - 'RectorPrefix20220519\\Symfony\\Component\\Console\\Input\\InputDefinition' => $vendorDir . '/symfony/console/Input/InputDefinition.php', - 'RectorPrefix20220519\\Symfony\\Component\\Console\\Input\\InputInterface' => $vendorDir . '/symfony/console/Input/InputInterface.php', - 'RectorPrefix20220519\\Symfony\\Component\\Console\\Input\\InputOption' => $vendorDir . '/symfony/console/Input/InputOption.php', - 'RectorPrefix20220519\\Symfony\\Component\\Console\\Input\\StreamableInputInterface' => $vendorDir . '/symfony/console/Input/StreamableInputInterface.php', - 'RectorPrefix20220519\\Symfony\\Component\\Console\\Input\\StringInput' => $vendorDir . '/symfony/console/Input/StringInput.php', - 'RectorPrefix20220519\\Symfony\\Component\\Console\\Logger\\ConsoleLogger' => $vendorDir . '/symfony/console/Logger/ConsoleLogger.php', - 'RectorPrefix20220519\\Symfony\\Component\\Console\\Output\\BufferedOutput' => $vendorDir . '/symfony/console/Output/BufferedOutput.php', - 'RectorPrefix20220519\\Symfony\\Component\\Console\\Output\\ConsoleOutput' => $vendorDir . '/symfony/console/Output/ConsoleOutput.php', - 'RectorPrefix20220519\\Symfony\\Component\\Console\\Output\\ConsoleOutputInterface' => $vendorDir . '/symfony/console/Output/ConsoleOutputInterface.php', - 'RectorPrefix20220519\\Symfony\\Component\\Console\\Output\\ConsoleSectionOutput' => $vendorDir . '/symfony/console/Output/ConsoleSectionOutput.php', - 'RectorPrefix20220519\\Symfony\\Component\\Console\\Output\\NullOutput' => $vendorDir . '/symfony/console/Output/NullOutput.php', - 'RectorPrefix20220519\\Symfony\\Component\\Console\\Output\\Output' => $vendorDir . '/symfony/console/Output/Output.php', - 'RectorPrefix20220519\\Symfony\\Component\\Console\\Output\\OutputInterface' => $vendorDir . '/symfony/console/Output/OutputInterface.php', - 'RectorPrefix20220519\\Symfony\\Component\\Console\\Output\\StreamOutput' => $vendorDir . '/symfony/console/Output/StreamOutput.php', - 'RectorPrefix20220519\\Symfony\\Component\\Console\\Output\\TrimmedBufferOutput' => $vendorDir . '/symfony/console/Output/TrimmedBufferOutput.php', - 'RectorPrefix20220519\\Symfony\\Component\\Console\\Question\\ChoiceQuestion' => $vendorDir . '/symfony/console/Question/ChoiceQuestion.php', - 'RectorPrefix20220519\\Symfony\\Component\\Console\\Question\\ConfirmationQuestion' => $vendorDir . '/symfony/console/Question/ConfirmationQuestion.php', - 'RectorPrefix20220519\\Symfony\\Component\\Console\\Question\\Question' => $vendorDir . '/symfony/console/Question/Question.php', - 'RectorPrefix20220519\\Symfony\\Component\\Console\\SignalRegistry\\SignalRegistry' => $vendorDir . '/symfony/console/SignalRegistry/SignalRegistry.php', - 'RectorPrefix20220519\\Symfony\\Component\\Console\\SingleCommandApplication' => $vendorDir . '/symfony/console/SingleCommandApplication.php', - 'RectorPrefix20220519\\Symfony\\Component\\Console\\Style\\OutputStyle' => $vendorDir . '/symfony/console/Style/OutputStyle.php', - 'RectorPrefix20220519\\Symfony\\Component\\Console\\Style\\StyleInterface' => $vendorDir . '/symfony/console/Style/StyleInterface.php', - 'RectorPrefix20220519\\Symfony\\Component\\Console\\Style\\SymfonyStyle' => $vendorDir . '/symfony/console/Style/SymfonyStyle.php', - 'RectorPrefix20220519\\Symfony\\Component\\Console\\Terminal' => $vendorDir . '/symfony/console/Terminal.php', - 'RectorPrefix20220519\\Symfony\\Component\\Console\\Tester\\ApplicationTester' => $vendorDir . '/symfony/console/Tester/ApplicationTester.php', - 'RectorPrefix20220519\\Symfony\\Component\\Console\\Tester\\CommandCompletionTester' => $vendorDir . '/symfony/console/Tester/CommandCompletionTester.php', - 'RectorPrefix20220519\\Symfony\\Component\\Console\\Tester\\CommandTester' => $vendorDir . '/symfony/console/Tester/CommandTester.php', - 'RectorPrefix20220519\\Symfony\\Component\\Console\\Tester\\Constraint\\CommandIsSuccessful' => $vendorDir . '/symfony/console/Tester/Constraint/CommandIsSuccessful.php', - 'RectorPrefix20220519\\Symfony\\Component\\Console\\Tester\\TesterTrait' => $vendorDir . '/symfony/console/Tester/TesterTrait.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Alias' => $vendorDir . '/symfony/dependency-injection/Alias.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Argument\\AbstractArgument' => $vendorDir . '/symfony/dependency-injection/Argument/AbstractArgument.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Argument\\ArgumentInterface' => $vendorDir . '/symfony/dependency-injection/Argument/ArgumentInterface.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Argument\\BoundArgument' => $vendorDir . '/symfony/dependency-injection/Argument/BoundArgument.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Argument\\IteratorArgument' => $vendorDir . '/symfony/dependency-injection/Argument/IteratorArgument.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Argument\\ReferenceSetArgumentTrait' => $vendorDir . '/symfony/dependency-injection/Argument/ReferenceSetArgumentTrait.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Argument\\RewindableGenerator' => $vendorDir . '/symfony/dependency-injection/Argument/RewindableGenerator.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Argument\\ServiceClosureArgument' => $vendorDir . '/symfony/dependency-injection/Argument/ServiceClosureArgument.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Argument\\ServiceLocator' => $vendorDir . '/symfony/dependency-injection/Argument/ServiceLocator.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Argument\\ServiceLocatorArgument' => $vendorDir . '/symfony/dependency-injection/Argument/ServiceLocatorArgument.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Argument\\TaggedIteratorArgument' => $vendorDir . '/symfony/dependency-injection/Argument/TaggedIteratorArgument.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Attribute\\AsTaggedItem' => $vendorDir . '/symfony/dependency-injection/Attribute/AsTaggedItem.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Attribute\\Autoconfigure' => $vendorDir . '/symfony/dependency-injection/Attribute/Autoconfigure.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Attribute\\AutoconfigureTag' => $vendorDir . '/symfony/dependency-injection/Attribute/AutoconfigureTag.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Attribute\\TaggedIterator' => $vendorDir . '/symfony/dependency-injection/Attribute/TaggedIterator.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Attribute\\TaggedLocator' => $vendorDir . '/symfony/dependency-injection/Attribute/TaggedLocator.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Attribute\\Target' => $vendorDir . '/symfony/dependency-injection/Attribute/Target.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Attribute\\When' => $vendorDir . '/symfony/dependency-injection/Attribute/When.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\ChildDefinition' => $vendorDir . '/symfony/dependency-injection/ChildDefinition.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Compiler\\AbstractRecursivePass' => $vendorDir . '/symfony/dependency-injection/Compiler/AbstractRecursivePass.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Compiler\\AliasDeprecatedPublicServicesPass' => $vendorDir . '/symfony/dependency-injection/Compiler/AliasDeprecatedPublicServicesPass.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Compiler\\AnalyzeServiceReferencesPass' => $vendorDir . '/symfony/dependency-injection/Compiler/AnalyzeServiceReferencesPass.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Compiler\\AttributeAutoconfigurationPass' => $vendorDir . '/symfony/dependency-injection/Compiler/AttributeAutoconfigurationPass.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Compiler\\AutoAliasServicePass' => $vendorDir . '/symfony/dependency-injection/Compiler/AutoAliasServicePass.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Compiler\\AutowirePass' => $vendorDir . '/symfony/dependency-injection/Compiler/AutowirePass.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Compiler\\AutowireRequiredMethodsPass' => $vendorDir . '/symfony/dependency-injection/Compiler/AutowireRequiredMethodsPass.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Compiler\\AutowireRequiredPropertiesPass' => $vendorDir . '/symfony/dependency-injection/Compiler/AutowireRequiredPropertiesPass.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Compiler\\CheckArgumentsValidityPass' => $vendorDir . '/symfony/dependency-injection/Compiler/CheckArgumentsValidityPass.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Compiler\\CheckCircularReferencesPass' => $vendorDir . '/symfony/dependency-injection/Compiler/CheckCircularReferencesPass.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Compiler\\CheckDefinitionValidityPass' => $vendorDir . '/symfony/dependency-injection/Compiler/CheckDefinitionValidityPass.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Compiler\\CheckExceptionOnInvalidReferenceBehaviorPass' => $vendorDir . '/symfony/dependency-injection/Compiler/CheckExceptionOnInvalidReferenceBehaviorPass.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Compiler\\CheckReferenceValidityPass' => $vendorDir . '/symfony/dependency-injection/Compiler/CheckReferenceValidityPass.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Compiler\\CheckTypeDeclarationsPass' => $vendorDir . '/symfony/dependency-injection/Compiler/CheckTypeDeclarationsPass.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Compiler\\Compiler' => $vendorDir . '/symfony/dependency-injection/Compiler/Compiler.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Compiler\\CompilerPassInterface' => $vendorDir . '/symfony/dependency-injection/Compiler/CompilerPassInterface.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Compiler\\DecoratorServicePass' => $vendorDir . '/symfony/dependency-injection/Compiler/DecoratorServicePass.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Compiler\\DefinitionErrorExceptionPass' => $vendorDir . '/symfony/dependency-injection/Compiler/DefinitionErrorExceptionPass.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Compiler\\ExtensionCompilerPass' => $vendorDir . '/symfony/dependency-injection/Compiler/ExtensionCompilerPass.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Compiler\\InlineServiceDefinitionsPass' => $vendorDir . '/symfony/dependency-injection/Compiler/InlineServiceDefinitionsPass.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Compiler\\MergeExtensionConfigurationPass' => $vendorDir . '/symfony/dependency-injection/Compiler/MergeExtensionConfigurationPass.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Compiler\\PassConfig' => $vendorDir . '/symfony/dependency-injection/Compiler/PassConfig.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Compiler\\PriorityTaggedServiceTrait' => $vendorDir . '/symfony/dependency-injection/Compiler/PriorityTaggedServiceTrait.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Compiler\\RegisterAutoconfigureAttributesPass' => $vendorDir . '/symfony/dependency-injection/Compiler/RegisterAutoconfigureAttributesPass.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Compiler\\RegisterEnvVarProcessorsPass' => $vendorDir . '/symfony/dependency-injection/Compiler/RegisterEnvVarProcessorsPass.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Compiler\\RegisterReverseContainerPass' => $vendorDir . '/symfony/dependency-injection/Compiler/RegisterReverseContainerPass.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Compiler\\RegisterServiceSubscribersPass' => $vendorDir . '/symfony/dependency-injection/Compiler/RegisterServiceSubscribersPass.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Compiler\\RemoveAbstractDefinitionsPass' => $vendorDir . '/symfony/dependency-injection/Compiler/RemoveAbstractDefinitionsPass.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Compiler\\RemovePrivateAliasesPass' => $vendorDir . '/symfony/dependency-injection/Compiler/RemovePrivateAliasesPass.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Compiler\\RemoveUnusedDefinitionsPass' => $vendorDir . '/symfony/dependency-injection/Compiler/RemoveUnusedDefinitionsPass.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Compiler\\ReplaceAliasByActualDefinitionPass' => $vendorDir . '/symfony/dependency-injection/Compiler/ReplaceAliasByActualDefinitionPass.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Compiler\\ResolveBindingsPass' => $vendorDir . '/symfony/dependency-injection/Compiler/ResolveBindingsPass.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Compiler\\ResolveChildDefinitionsPass' => $vendorDir . '/symfony/dependency-injection/Compiler/ResolveChildDefinitionsPass.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Compiler\\ResolveClassPass' => $vendorDir . '/symfony/dependency-injection/Compiler/ResolveClassPass.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Compiler\\ResolveDecoratorStackPass' => $vendorDir . '/symfony/dependency-injection/Compiler/ResolveDecoratorStackPass.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Compiler\\ResolveEnvPlaceholdersPass' => $vendorDir . '/symfony/dependency-injection/Compiler/ResolveEnvPlaceholdersPass.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Compiler\\ResolveFactoryClassPass' => $vendorDir . '/symfony/dependency-injection/Compiler/ResolveFactoryClassPass.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Compiler\\ResolveHotPathPass' => $vendorDir . '/symfony/dependency-injection/Compiler/ResolveHotPathPass.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Compiler\\ResolveInstanceofConditionalsPass' => $vendorDir . '/symfony/dependency-injection/Compiler/ResolveInstanceofConditionalsPass.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Compiler\\ResolveInvalidReferencesPass' => $vendorDir . '/symfony/dependency-injection/Compiler/ResolveInvalidReferencesPass.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Compiler\\ResolveNamedArgumentsPass' => $vendorDir . '/symfony/dependency-injection/Compiler/ResolveNamedArgumentsPass.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Compiler\\ResolveNoPreloadPass' => $vendorDir . '/symfony/dependency-injection/Compiler/ResolveNoPreloadPass.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Compiler\\ResolveParameterPlaceHoldersPass' => $vendorDir . '/symfony/dependency-injection/Compiler/ResolveParameterPlaceHoldersPass.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Compiler\\ResolveReferencesToAliasesPass' => $vendorDir . '/symfony/dependency-injection/Compiler/ResolveReferencesToAliasesPass.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Compiler\\ResolveServiceSubscribersPass' => $vendorDir . '/symfony/dependency-injection/Compiler/ResolveServiceSubscribersPass.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Compiler\\ResolveTaggedIteratorArgumentPass' => $vendorDir . '/symfony/dependency-injection/Compiler/ResolveTaggedIteratorArgumentPass.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Compiler\\ServiceLocatorTagPass' => $vendorDir . '/symfony/dependency-injection/Compiler/ServiceLocatorTagPass.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Compiler\\ServiceReferenceGraph' => $vendorDir . '/symfony/dependency-injection/Compiler/ServiceReferenceGraph.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Compiler\\ServiceReferenceGraphEdge' => $vendorDir . '/symfony/dependency-injection/Compiler/ServiceReferenceGraphEdge.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Compiler\\ServiceReferenceGraphNode' => $vendorDir . '/symfony/dependency-injection/Compiler/ServiceReferenceGraphNode.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Compiler\\ValidateEnvPlaceholdersPass' => $vendorDir . '/symfony/dependency-injection/Compiler/ValidateEnvPlaceholdersPass.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Config\\ContainerParametersResource' => $vendorDir . '/symfony/dependency-injection/Config/ContainerParametersResource.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Config\\ContainerParametersResourceChecker' => $vendorDir . '/symfony/dependency-injection/Config/ContainerParametersResourceChecker.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Container' => $vendorDir . '/symfony/dependency-injection/Container.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\ContainerAwareInterface' => $vendorDir . '/symfony/dependency-injection/ContainerAwareInterface.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\ContainerAwareTrait' => $vendorDir . '/symfony/dependency-injection/ContainerAwareTrait.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\ContainerBuilder' => $vendorDir . '/symfony/dependency-injection/ContainerBuilder.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\ContainerInterface' => $vendorDir . '/symfony/dependency-injection/ContainerInterface.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Definition' => $vendorDir . '/symfony/dependency-injection/Definition.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Dumper\\Dumper' => $vendorDir . '/symfony/dependency-injection/Dumper/Dumper.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Dumper\\DumperInterface' => $vendorDir . '/symfony/dependency-injection/Dumper/DumperInterface.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Dumper\\GraphvizDumper' => $vendorDir . '/symfony/dependency-injection/Dumper/GraphvizDumper.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Dumper\\PhpDumper' => $vendorDir . '/symfony/dependency-injection/Dumper/PhpDumper.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Dumper\\Preloader' => $vendorDir . '/symfony/dependency-injection/Dumper/Preloader.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Dumper\\XmlDumper' => $vendorDir . '/symfony/dependency-injection/Dumper/XmlDumper.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Dumper\\YamlDumper' => $vendorDir . '/symfony/dependency-injection/Dumper/YamlDumper.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\EnvVarLoaderInterface' => $vendorDir . '/symfony/dependency-injection/EnvVarLoaderInterface.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\EnvVarProcessor' => $vendorDir . '/symfony/dependency-injection/EnvVarProcessor.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\EnvVarProcessorInterface' => $vendorDir . '/symfony/dependency-injection/EnvVarProcessorInterface.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Exception\\AutowiringFailedException' => $vendorDir . '/symfony/dependency-injection/Exception/AutowiringFailedException.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Exception\\BadMethodCallException' => $vendorDir . '/symfony/dependency-injection/Exception/BadMethodCallException.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Exception\\EnvNotFoundException' => $vendorDir . '/symfony/dependency-injection/Exception/EnvNotFoundException.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Exception\\EnvParameterException' => $vendorDir . '/symfony/dependency-injection/Exception/EnvParameterException.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Exception\\ExceptionInterface' => $vendorDir . '/symfony/dependency-injection/Exception/ExceptionInterface.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Exception\\InvalidArgumentException' => $vendorDir . '/symfony/dependency-injection/Exception/InvalidArgumentException.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Exception\\InvalidParameterTypeException' => $vendorDir . '/symfony/dependency-injection/Exception/InvalidParameterTypeException.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Exception\\LogicException' => $vendorDir . '/symfony/dependency-injection/Exception/LogicException.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Exception\\OutOfBoundsException' => $vendorDir . '/symfony/dependency-injection/Exception/OutOfBoundsException.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Exception\\ParameterCircularReferenceException' => $vendorDir . '/symfony/dependency-injection/Exception/ParameterCircularReferenceException.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Exception\\ParameterNotFoundException' => $vendorDir . '/symfony/dependency-injection/Exception/ParameterNotFoundException.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Exception\\RuntimeException' => $vendorDir . '/symfony/dependency-injection/Exception/RuntimeException.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Exception\\ServiceCircularReferenceException' => $vendorDir . '/symfony/dependency-injection/Exception/ServiceCircularReferenceException.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Exception\\ServiceNotFoundException' => $vendorDir . '/symfony/dependency-injection/Exception/ServiceNotFoundException.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\ExpressionLanguage' => $vendorDir . '/symfony/dependency-injection/ExpressionLanguage.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\ExpressionLanguageProvider' => $vendorDir . '/symfony/dependency-injection/ExpressionLanguageProvider.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Extension\\ConfigurationExtensionInterface' => $vendorDir . '/symfony/dependency-injection/Extension/ConfigurationExtensionInterface.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Extension\\Extension' => $vendorDir . '/symfony/dependency-injection/Extension/Extension.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Extension\\ExtensionInterface' => $vendorDir . '/symfony/dependency-injection/Extension/ExtensionInterface.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Extension\\PrependExtensionInterface' => $vendorDir . '/symfony/dependency-injection/Extension/PrependExtensionInterface.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\LazyProxy\\Instantiator\\InstantiatorInterface' => $vendorDir . '/symfony/dependency-injection/LazyProxy/Instantiator/InstantiatorInterface.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\LazyProxy\\Instantiator\\RealServiceInstantiator' => $vendorDir . '/symfony/dependency-injection/LazyProxy/Instantiator/RealServiceInstantiator.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\LazyProxy\\PhpDumper\\DumperInterface' => $vendorDir . '/symfony/dependency-injection/LazyProxy/PhpDumper/DumperInterface.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\LazyProxy\\PhpDumper\\NullDumper' => $vendorDir . '/symfony/dependency-injection/LazyProxy/PhpDumper/NullDumper.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\LazyProxy\\ProxyHelper' => $vendorDir . '/symfony/dependency-injection/LazyProxy/ProxyHelper.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Loader\\ClosureLoader' => $vendorDir . '/symfony/dependency-injection/Loader/ClosureLoader.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\AbstractConfigurator' => $vendorDir . '/symfony/dependency-injection/Loader/Configurator/AbstractConfigurator.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\AbstractServiceConfigurator' => $vendorDir . '/symfony/dependency-injection/Loader/Configurator/AbstractServiceConfigurator.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\AliasConfigurator' => $vendorDir . '/symfony/dependency-injection/Loader/Configurator/AliasConfigurator.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\ClosureReferenceConfigurator' => $vendorDir . '/symfony/dependency-injection/Loader/Configurator/ClosureReferenceConfigurator.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\ContainerConfigurator' => $vendorDir . '/symfony/dependency-injection/Loader/Configurator/ContainerConfigurator.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\DefaultsConfigurator' => $vendorDir . '/symfony/dependency-injection/Loader/Configurator/DefaultsConfigurator.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\EnvConfigurator' => $vendorDir . '/symfony/dependency-injection/Loader/Configurator/EnvConfigurator.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\InlineServiceConfigurator' => $vendorDir . '/symfony/dependency-injection/Loader/Configurator/InlineServiceConfigurator.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\InstanceofConfigurator' => $vendorDir . '/symfony/dependency-injection/Loader/Configurator/InstanceofConfigurator.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\ParametersConfigurator' => $vendorDir . '/symfony/dependency-injection/Loader/Configurator/ParametersConfigurator.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\PrototypeConfigurator' => $vendorDir . '/symfony/dependency-injection/Loader/Configurator/PrototypeConfigurator.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\ReferenceConfigurator' => $vendorDir . '/symfony/dependency-injection/Loader/Configurator/ReferenceConfigurator.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\ServiceConfigurator' => $vendorDir . '/symfony/dependency-injection/Loader/Configurator/ServiceConfigurator.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\ServicesConfigurator' => $vendorDir . '/symfony/dependency-injection/Loader/Configurator/ServicesConfigurator.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\Traits\\AbstractTrait' => $vendorDir . '/symfony/dependency-injection/Loader/Configurator/Traits/AbstractTrait.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\Traits\\ArgumentTrait' => $vendorDir . '/symfony/dependency-injection/Loader/Configurator/Traits/ArgumentTrait.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\Traits\\AutoconfigureTrait' => $vendorDir . '/symfony/dependency-injection/Loader/Configurator/Traits/AutoconfigureTrait.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\Traits\\AutowireTrait' => $vendorDir . '/symfony/dependency-injection/Loader/Configurator/Traits/AutowireTrait.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\Traits\\BindTrait' => $vendorDir . '/symfony/dependency-injection/Loader/Configurator/Traits/BindTrait.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\Traits\\CallTrait' => $vendorDir . '/symfony/dependency-injection/Loader/Configurator/Traits/CallTrait.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\Traits\\ClassTrait' => $vendorDir . '/symfony/dependency-injection/Loader/Configurator/Traits/ClassTrait.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\Traits\\ConfiguratorTrait' => $vendorDir . '/symfony/dependency-injection/Loader/Configurator/Traits/ConfiguratorTrait.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\Traits\\DecorateTrait' => $vendorDir . '/symfony/dependency-injection/Loader/Configurator/Traits/DecorateTrait.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\Traits\\DeprecateTrait' => $vendorDir . '/symfony/dependency-injection/Loader/Configurator/Traits/DeprecateTrait.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\Traits\\FactoryTrait' => $vendorDir . '/symfony/dependency-injection/Loader/Configurator/Traits/FactoryTrait.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\Traits\\FileTrait' => $vendorDir . '/symfony/dependency-injection/Loader/Configurator/Traits/FileTrait.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\Traits\\LazyTrait' => $vendorDir . '/symfony/dependency-injection/Loader/Configurator/Traits/LazyTrait.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\Traits\\ParentTrait' => $vendorDir . '/symfony/dependency-injection/Loader/Configurator/Traits/ParentTrait.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\Traits\\PropertyTrait' => $vendorDir . '/symfony/dependency-injection/Loader/Configurator/Traits/PropertyTrait.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\Traits\\PublicTrait' => $vendorDir . '/symfony/dependency-injection/Loader/Configurator/Traits/PublicTrait.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\Traits\\ShareTrait' => $vendorDir . '/symfony/dependency-injection/Loader/Configurator/Traits/ShareTrait.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\Traits\\SyntheticTrait' => $vendorDir . '/symfony/dependency-injection/Loader/Configurator/Traits/SyntheticTrait.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\Traits\\TagTrait' => $vendorDir . '/symfony/dependency-injection/Loader/Configurator/Traits/TagTrait.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Loader\\DirectoryLoader' => $vendorDir . '/symfony/dependency-injection/Loader/DirectoryLoader.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Loader\\FileLoader' => $vendorDir . '/symfony/dependency-injection/Loader/FileLoader.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Loader\\GlobFileLoader' => $vendorDir . '/symfony/dependency-injection/Loader/GlobFileLoader.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Loader\\IniFileLoader' => $vendorDir . '/symfony/dependency-injection/Loader/IniFileLoader.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Loader\\PhpFileLoader' => $vendorDir . '/symfony/dependency-injection/Loader/PhpFileLoader.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Loader\\XmlFileLoader' => $vendorDir . '/symfony/dependency-injection/Loader/XmlFileLoader.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Loader\\YamlFileLoader' => $vendorDir . '/symfony/dependency-injection/Loader/YamlFileLoader.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Parameter' => $vendorDir . '/symfony/dependency-injection/Parameter.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\ParameterBag\\ContainerBag' => $vendorDir . '/symfony/dependency-injection/ParameterBag/ContainerBag.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\ParameterBag\\ContainerBagInterface' => $vendorDir . '/symfony/dependency-injection/ParameterBag/ContainerBagInterface.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\ParameterBag\\EnvPlaceholderParameterBag' => $vendorDir . '/symfony/dependency-injection/ParameterBag/EnvPlaceholderParameterBag.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\ParameterBag\\FrozenParameterBag' => $vendorDir . '/symfony/dependency-injection/ParameterBag/FrozenParameterBag.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\ParameterBag\\ParameterBag' => $vendorDir . '/symfony/dependency-injection/ParameterBag/ParameterBag.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\ParameterBag\\ParameterBagInterface' => $vendorDir . '/symfony/dependency-injection/ParameterBag/ParameterBagInterface.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Reference' => $vendorDir . '/symfony/dependency-injection/Reference.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\ReverseContainer' => $vendorDir . '/symfony/dependency-injection/ReverseContainer.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\ServiceLocator' => $vendorDir . '/symfony/dependency-injection/ServiceLocator.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\TaggedContainerInterface' => $vendorDir . '/symfony/dependency-injection/TaggedContainerInterface.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\TypedReference' => $vendorDir . '/symfony/dependency-injection/TypedReference.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Variable' => $vendorDir . '/symfony/dependency-injection/Variable.php', - 'RectorPrefix20220519\\Symfony\\Component\\Filesystem\\Exception\\ExceptionInterface' => $vendorDir . '/symfony/filesystem/Exception/ExceptionInterface.php', - 'RectorPrefix20220519\\Symfony\\Component\\Filesystem\\Exception\\FileNotFoundException' => $vendorDir . '/symfony/filesystem/Exception/FileNotFoundException.php', - 'RectorPrefix20220519\\Symfony\\Component\\Filesystem\\Exception\\IOException' => $vendorDir . '/symfony/filesystem/Exception/IOException.php', - 'RectorPrefix20220519\\Symfony\\Component\\Filesystem\\Exception\\IOExceptionInterface' => $vendorDir . '/symfony/filesystem/Exception/IOExceptionInterface.php', - 'RectorPrefix20220519\\Symfony\\Component\\Filesystem\\Exception\\InvalidArgumentException' => $vendorDir . '/symfony/filesystem/Exception/InvalidArgumentException.php', - 'RectorPrefix20220519\\Symfony\\Component\\Filesystem\\Exception\\RuntimeException' => $vendorDir . '/symfony/filesystem/Exception/RuntimeException.php', - 'RectorPrefix20220519\\Symfony\\Component\\Filesystem\\Filesystem' => $vendorDir . '/symfony/filesystem/Filesystem.php', - 'RectorPrefix20220519\\Symfony\\Component\\Filesystem\\Path' => $vendorDir . '/symfony/filesystem/Path.php', - 'RectorPrefix20220519\\Symfony\\Component\\Finder\\Comparator\\Comparator' => $vendorDir . '/symfony/finder/Comparator/Comparator.php', - 'RectorPrefix20220519\\Symfony\\Component\\Finder\\Comparator\\DateComparator' => $vendorDir . '/symfony/finder/Comparator/DateComparator.php', - 'RectorPrefix20220519\\Symfony\\Component\\Finder\\Comparator\\NumberComparator' => $vendorDir . '/symfony/finder/Comparator/NumberComparator.php', - 'RectorPrefix20220519\\Symfony\\Component\\Finder\\Exception\\AccessDeniedException' => $vendorDir . '/symfony/finder/Exception/AccessDeniedException.php', - 'RectorPrefix20220519\\Symfony\\Component\\Finder\\Exception\\DirectoryNotFoundException' => $vendorDir . '/symfony/finder/Exception/DirectoryNotFoundException.php', - 'RectorPrefix20220519\\Symfony\\Component\\Finder\\Finder' => $vendorDir . '/symfony/finder/Finder.php', - 'RectorPrefix20220519\\Symfony\\Component\\Finder\\Gitignore' => $vendorDir . '/symfony/finder/Gitignore.php', - 'RectorPrefix20220519\\Symfony\\Component\\Finder\\Glob' => $vendorDir . '/symfony/finder/Glob.php', - 'RectorPrefix20220519\\Symfony\\Component\\Finder\\Iterator\\CustomFilterIterator' => $vendorDir . '/symfony/finder/Iterator/CustomFilterIterator.php', - 'RectorPrefix20220519\\Symfony\\Component\\Finder\\Iterator\\DateRangeFilterIterator' => $vendorDir . '/symfony/finder/Iterator/DateRangeFilterIterator.php', - 'RectorPrefix20220519\\Symfony\\Component\\Finder\\Iterator\\DepthRangeFilterIterator' => $vendorDir . '/symfony/finder/Iterator/DepthRangeFilterIterator.php', - 'RectorPrefix20220519\\Symfony\\Component\\Finder\\Iterator\\ExcludeDirectoryFilterIterator' => $vendorDir . '/symfony/finder/Iterator/ExcludeDirectoryFilterIterator.php', - 'RectorPrefix20220519\\Symfony\\Component\\Finder\\Iterator\\FileTypeFilterIterator' => $vendorDir . '/symfony/finder/Iterator/FileTypeFilterIterator.php', - 'RectorPrefix20220519\\Symfony\\Component\\Finder\\Iterator\\FilecontentFilterIterator' => $vendorDir . '/symfony/finder/Iterator/FilecontentFilterIterator.php', - 'RectorPrefix20220519\\Symfony\\Component\\Finder\\Iterator\\FilenameFilterIterator' => $vendorDir . '/symfony/finder/Iterator/FilenameFilterIterator.php', - 'RectorPrefix20220519\\Symfony\\Component\\Finder\\Iterator\\LazyIterator' => $vendorDir . '/symfony/finder/Iterator/LazyIterator.php', - 'RectorPrefix20220519\\Symfony\\Component\\Finder\\Iterator\\MultiplePcreFilterIterator' => $vendorDir . '/symfony/finder/Iterator/MultiplePcreFilterIterator.php', - 'RectorPrefix20220519\\Symfony\\Component\\Finder\\Iterator\\PathFilterIterator' => $vendorDir . '/symfony/finder/Iterator/PathFilterIterator.php', - 'RectorPrefix20220519\\Symfony\\Component\\Finder\\Iterator\\RecursiveDirectoryIterator' => $vendorDir . '/symfony/finder/Iterator/RecursiveDirectoryIterator.php', - 'RectorPrefix20220519\\Symfony\\Component\\Finder\\Iterator\\SizeRangeFilterIterator' => $vendorDir . '/symfony/finder/Iterator/SizeRangeFilterIterator.php', - 'RectorPrefix20220519\\Symfony\\Component\\Finder\\Iterator\\SortableIterator' => $vendorDir . '/symfony/finder/Iterator/SortableIterator.php', - 'RectorPrefix20220519\\Symfony\\Component\\Finder\\Iterator\\VcsIgnoredFilterIterator' => $vendorDir . '/symfony/finder/Iterator/VcsIgnoredFilterIterator.php', - 'RectorPrefix20220519\\Symfony\\Component\\Finder\\SplFileInfo' => $vendorDir . '/symfony/finder/SplFileInfo.php', - 'RectorPrefix20220519\\Symfony\\Component\\Process\\Exception\\ExceptionInterface' => $vendorDir . '/symfony/process/Exception/ExceptionInterface.php', - 'RectorPrefix20220519\\Symfony\\Component\\Process\\Exception\\InvalidArgumentException' => $vendorDir . '/symfony/process/Exception/InvalidArgumentException.php', - 'RectorPrefix20220519\\Symfony\\Component\\Process\\Exception\\LogicException' => $vendorDir . '/symfony/process/Exception/LogicException.php', - 'RectorPrefix20220519\\Symfony\\Component\\Process\\Exception\\ProcessFailedException' => $vendorDir . '/symfony/process/Exception/ProcessFailedException.php', - 'RectorPrefix20220519\\Symfony\\Component\\Process\\Exception\\ProcessSignaledException' => $vendorDir . '/symfony/process/Exception/ProcessSignaledException.php', - 'RectorPrefix20220519\\Symfony\\Component\\Process\\Exception\\ProcessTimedOutException' => $vendorDir . '/symfony/process/Exception/ProcessTimedOutException.php', - 'RectorPrefix20220519\\Symfony\\Component\\Process\\Exception\\RuntimeException' => $vendorDir . '/symfony/process/Exception/RuntimeException.php', - 'RectorPrefix20220519\\Symfony\\Component\\Process\\ExecutableFinder' => $vendorDir . '/symfony/process/ExecutableFinder.php', - 'RectorPrefix20220519\\Symfony\\Component\\Process\\InputStream' => $vendorDir . '/symfony/process/InputStream.php', - 'RectorPrefix20220519\\Symfony\\Component\\Process\\PhpExecutableFinder' => $vendorDir . '/symfony/process/PhpExecutableFinder.php', - 'RectorPrefix20220519\\Symfony\\Component\\Process\\PhpProcess' => $vendorDir . '/symfony/process/PhpProcess.php', - 'RectorPrefix20220519\\Symfony\\Component\\Process\\Pipes\\AbstractPipes' => $vendorDir . '/symfony/process/Pipes/AbstractPipes.php', - 'RectorPrefix20220519\\Symfony\\Component\\Process\\Pipes\\PipesInterface' => $vendorDir . '/symfony/process/Pipes/PipesInterface.php', - 'RectorPrefix20220519\\Symfony\\Component\\Process\\Pipes\\UnixPipes' => $vendorDir . '/symfony/process/Pipes/UnixPipes.php', - 'RectorPrefix20220519\\Symfony\\Component\\Process\\Pipes\\WindowsPipes' => $vendorDir . '/symfony/process/Pipes/WindowsPipes.php', - 'RectorPrefix20220519\\Symfony\\Component\\Process\\Process' => $vendorDir . '/symfony/process/Process.php', - 'RectorPrefix20220519\\Symfony\\Component\\Process\\ProcessUtils' => $vendorDir . '/symfony/process/ProcessUtils.php', - 'RectorPrefix20220519\\Symfony\\Component\\String\\AbstractString' => $vendorDir . '/symfony/string/AbstractString.php', - 'RectorPrefix20220519\\Symfony\\Component\\String\\AbstractUnicodeString' => $vendorDir . '/symfony/string/AbstractUnicodeString.php', - 'RectorPrefix20220519\\Symfony\\Component\\String\\ByteString' => $vendorDir . '/symfony/string/ByteString.php', - 'RectorPrefix20220519\\Symfony\\Component\\String\\CodePointString' => $vendorDir . '/symfony/string/CodePointString.php', - 'RectorPrefix20220519\\Symfony\\Component\\String\\Exception\\ExceptionInterface' => $vendorDir . '/symfony/string/Exception/ExceptionInterface.php', - 'RectorPrefix20220519\\Symfony\\Component\\String\\Exception\\InvalidArgumentException' => $vendorDir . '/symfony/string/Exception/InvalidArgumentException.php', - 'RectorPrefix20220519\\Symfony\\Component\\String\\Exception\\RuntimeException' => $vendorDir . '/symfony/string/Exception/RuntimeException.php', - 'RectorPrefix20220519\\Symfony\\Component\\String\\Inflector\\EnglishInflector' => $vendorDir . '/symfony/string/Inflector/EnglishInflector.php', - 'RectorPrefix20220519\\Symfony\\Component\\String\\Inflector\\FrenchInflector' => $vendorDir . '/symfony/string/Inflector/FrenchInflector.php', - 'RectorPrefix20220519\\Symfony\\Component\\String\\Inflector\\InflectorInterface' => $vendorDir . '/symfony/string/Inflector/InflectorInterface.php', - 'RectorPrefix20220519\\Symfony\\Component\\String\\LazyString' => $vendorDir . '/symfony/string/LazyString.php', - 'RectorPrefix20220519\\Symfony\\Component\\String\\Slugger\\AsciiSlugger' => $vendorDir . '/symfony/string/Slugger/AsciiSlugger.php', - 'RectorPrefix20220519\\Symfony\\Component\\String\\Slugger\\SluggerInterface' => $vendorDir . '/symfony/string/Slugger/SluggerInterface.php', - 'RectorPrefix20220519\\Symfony\\Component\\String\\UnicodeString' => $vendorDir . '/symfony/string/UnicodeString.php', - 'RectorPrefix20220519\\Symfony\\Component\\Yaml\\Command\\LintCommand' => $vendorDir . '/symfony/yaml/Command/LintCommand.php', - 'RectorPrefix20220519\\Symfony\\Component\\Yaml\\Dumper' => $vendorDir . '/symfony/yaml/Dumper.php', - 'RectorPrefix20220519\\Symfony\\Component\\Yaml\\Escaper' => $vendorDir . '/symfony/yaml/Escaper.php', - 'RectorPrefix20220519\\Symfony\\Component\\Yaml\\Exception\\DumpException' => $vendorDir . '/symfony/yaml/Exception/DumpException.php', - 'RectorPrefix20220519\\Symfony\\Component\\Yaml\\Exception\\ExceptionInterface' => $vendorDir . '/symfony/yaml/Exception/ExceptionInterface.php', - 'RectorPrefix20220519\\Symfony\\Component\\Yaml\\Exception\\ParseException' => $vendorDir . '/symfony/yaml/Exception/ParseException.php', - 'RectorPrefix20220519\\Symfony\\Component\\Yaml\\Exception\\RuntimeException' => $vendorDir . '/symfony/yaml/Exception/RuntimeException.php', - 'RectorPrefix20220519\\Symfony\\Component\\Yaml\\Inline' => $vendorDir . '/symfony/yaml/Inline.php', - 'RectorPrefix20220519\\Symfony\\Component\\Yaml\\Parser' => $vendorDir . '/symfony/yaml/Parser.php', - 'RectorPrefix20220519\\Symfony\\Component\\Yaml\\Tag\\TaggedValue' => $vendorDir . '/symfony/yaml/Tag/TaggedValue.php', - 'RectorPrefix20220519\\Symfony\\Component\\Yaml\\Unescaper' => $vendorDir . '/symfony/yaml/Unescaper.php', - 'RectorPrefix20220519\\Symfony\\Component\\Yaml\\Yaml' => $vendorDir . '/symfony/yaml/Yaml.php', - 'RectorPrefix20220519\\Symfony\\Contracts\\Cache\\CacheInterface' => $vendorDir . '/symfony/contracts/Cache/CacheInterface.php', - 'RectorPrefix20220519\\Symfony\\Contracts\\Cache\\CacheTrait' => $vendorDir . '/symfony/contracts/Cache/CacheTrait.php', - 'RectorPrefix20220519\\Symfony\\Contracts\\Cache\\CallbackInterface' => $vendorDir . '/symfony/contracts/Cache/CallbackInterface.php', - 'RectorPrefix20220519\\Symfony\\Contracts\\Cache\\ItemInterface' => $vendorDir . '/symfony/contracts/Cache/ItemInterface.php', - 'RectorPrefix20220519\\Symfony\\Contracts\\Cache\\TagAwareCacheInterface' => $vendorDir . '/symfony/contracts/Cache/TagAwareCacheInterface.php', - 'RectorPrefix20220519\\Symfony\\Contracts\\EventDispatcher\\Event' => $vendorDir . '/symfony/contracts/EventDispatcher/Event.php', - 'RectorPrefix20220519\\Symfony\\Contracts\\EventDispatcher\\EventDispatcherInterface' => $vendorDir . '/symfony/contracts/EventDispatcher/EventDispatcherInterface.php', - 'RectorPrefix20220519\\Symfony\\Contracts\\HttpClient\\ChunkInterface' => $vendorDir . '/symfony/contracts/HttpClient/ChunkInterface.php', - 'RectorPrefix20220519\\Symfony\\Contracts\\HttpClient\\Exception\\ClientExceptionInterface' => $vendorDir . '/symfony/contracts/HttpClient/Exception/ClientExceptionInterface.php', - 'RectorPrefix20220519\\Symfony\\Contracts\\HttpClient\\Exception\\DecodingExceptionInterface' => $vendorDir . '/symfony/contracts/HttpClient/Exception/DecodingExceptionInterface.php', - 'RectorPrefix20220519\\Symfony\\Contracts\\HttpClient\\Exception\\ExceptionInterface' => $vendorDir . '/symfony/contracts/HttpClient/Exception/ExceptionInterface.php', - 'RectorPrefix20220519\\Symfony\\Contracts\\HttpClient\\Exception\\HttpExceptionInterface' => $vendorDir . '/symfony/contracts/HttpClient/Exception/HttpExceptionInterface.php', - 'RectorPrefix20220519\\Symfony\\Contracts\\HttpClient\\Exception\\RedirectionExceptionInterface' => $vendorDir . '/symfony/contracts/HttpClient/Exception/RedirectionExceptionInterface.php', - 'RectorPrefix20220519\\Symfony\\Contracts\\HttpClient\\Exception\\ServerExceptionInterface' => $vendorDir . '/symfony/contracts/HttpClient/Exception/ServerExceptionInterface.php', - 'RectorPrefix20220519\\Symfony\\Contracts\\HttpClient\\Exception\\TimeoutExceptionInterface' => $vendorDir . '/symfony/contracts/HttpClient/Exception/TimeoutExceptionInterface.php', - 'RectorPrefix20220519\\Symfony\\Contracts\\HttpClient\\Exception\\TransportExceptionInterface' => $vendorDir . '/symfony/contracts/HttpClient/Exception/TransportExceptionInterface.php', - 'RectorPrefix20220519\\Symfony\\Contracts\\HttpClient\\HttpClientInterface' => $vendorDir . '/symfony/contracts/HttpClient/HttpClientInterface.php', - 'RectorPrefix20220519\\Symfony\\Contracts\\HttpClient\\ResponseInterface' => $vendorDir . '/symfony/contracts/HttpClient/ResponseInterface.php', - 'RectorPrefix20220519\\Symfony\\Contracts\\HttpClient\\ResponseStreamInterface' => $vendorDir . '/symfony/contracts/HttpClient/ResponseStreamInterface.php', - 'RectorPrefix20220519\\Symfony\\Contracts\\HttpClient\\Test\\HttpClientTestCase' => $vendorDir . '/symfony/contracts/HttpClient/Test/HttpClientTestCase.php', - 'RectorPrefix20220519\\Symfony\\Contracts\\HttpClient\\Test\\TestHttpServer' => $vendorDir . '/symfony/contracts/HttpClient/Test/TestHttpServer.php', - 'RectorPrefix20220519\\Symfony\\Contracts\\Service\\Attribute\\Required' => $vendorDir . '/symfony/contracts/Service/Attribute/Required.php', - 'RectorPrefix20220519\\Symfony\\Contracts\\Service\\Attribute\\SubscribedService' => $vendorDir . '/symfony/contracts/Service/Attribute/SubscribedService.php', - 'RectorPrefix20220519\\Symfony\\Contracts\\Service\\ResetInterface' => $vendorDir . '/symfony/contracts/Service/ResetInterface.php', - 'RectorPrefix20220519\\Symfony\\Contracts\\Service\\ServiceLocatorTrait' => $vendorDir . '/symfony/contracts/Service/ServiceLocatorTrait.php', - 'RectorPrefix20220519\\Symfony\\Contracts\\Service\\ServiceProviderInterface' => $vendorDir . '/symfony/contracts/Service/ServiceProviderInterface.php', - 'RectorPrefix20220519\\Symfony\\Contracts\\Service\\ServiceSubscriberInterface' => $vendorDir . '/symfony/contracts/Service/ServiceSubscriberInterface.php', - 'RectorPrefix20220519\\Symfony\\Contracts\\Service\\ServiceSubscriberTrait' => $vendorDir . '/symfony/contracts/Service/ServiceSubscriberTrait.php', - 'RectorPrefix20220519\\Symfony\\Contracts\\Service\\Test\\ServiceLocatorTest' => $vendorDir . '/symfony/contracts/Service/Test/ServiceLocatorTest.php', - 'RectorPrefix20220519\\Symfony\\Contracts\\Tests\\Cache\\CacheTraitTest' => $vendorDir . '/symfony/contracts/Tests/Cache/CacheTraitTest.php', - 'RectorPrefix20220519\\Symfony\\Contracts\\Tests\\Service\\ServiceSubscriberTraitTest' => $vendorDir . '/symfony/contracts/Tests/Service/ServiceSubscriberTraitTest.php', - 'RectorPrefix20220519\\Symfony\\Contracts\\Translation\\LocaleAwareInterface' => $vendorDir . '/symfony/contracts/Translation/LocaleAwareInterface.php', - 'RectorPrefix20220519\\Symfony\\Contracts\\Translation\\Test\\TranslatorTest' => $vendorDir . '/symfony/contracts/Translation/Test/TranslatorTest.php', - 'RectorPrefix20220519\\Symfony\\Contracts\\Translation\\TranslatableInterface' => $vendorDir . '/symfony/contracts/Translation/TranslatableInterface.php', - 'RectorPrefix20220519\\Symfony\\Contracts\\Translation\\TranslatorInterface' => $vendorDir . '/symfony/contracts/Translation/TranslatorInterface.php', - 'RectorPrefix20220519\\Symfony\\Contracts\\Translation\\TranslatorTrait' => $vendorDir . '/symfony/contracts/Translation/TranslatorTrait.php', - 'RectorPrefix20220519\\Symfony\\Polyfill\\Ctype\\Ctype' => $vendorDir . '/symfony/polyfill-ctype/Ctype.php', - 'RectorPrefix20220519\\Symfony\\Polyfill\\Intl\\Grapheme\\Grapheme' => $vendorDir . '/symfony/polyfill-intl-grapheme/Grapheme.php', - 'RectorPrefix20220519\\Symfony\\Polyfill\\Intl\\Normalizer\\Normalizer' => $vendorDir . '/symfony/polyfill-intl-normalizer/Normalizer.php', - 'RectorPrefix20220519\\Symfony\\Polyfill\\Mbstring\\Mbstring' => $vendorDir . '/symfony/polyfill-mbstring/Mbstring.php', - 'RectorPrefix20220519\\Symfony\\Polyfill\\Php81\\Php81' => $vendorDir . '/symfony/polyfill-php81/Php81.php', - 'RectorPrefix20220519\\Symplify\\Astral\\Contract\\NodeNameResolverInterface' => $vendorDir . '/symplify/astral/src/Contract/NodeNameResolverInterface.php', - 'RectorPrefix20220519\\Symplify\\Astral\\Contract\\NodeValueResolver\\NodeValueResolverInterface' => $vendorDir . '/symplify/astral/src/Contract/NodeValueResolver/NodeValueResolverInterface.php', - 'RectorPrefix20220519\\Symplify\\Astral\\Exception\\ShouldNotHappenException' => $vendorDir . '/symplify/astral/src/Exception/ShouldNotHappenException.php', - 'RectorPrefix20220519\\Symplify\\Astral\\Naming\\SimpleNameResolver' => $vendorDir . '/symplify/astral/src/Naming/SimpleNameResolver.php', - 'RectorPrefix20220519\\Symplify\\Astral\\NodeAnalyzer\\NetteTypeAnalyzer' => $vendorDir . '/symplify/astral/src/NodeAnalyzer/NetteTypeAnalyzer.php', - 'RectorPrefix20220519\\Symplify\\Astral\\NodeFinder\\SimpleNodeFinder' => $vendorDir . '/symplify/astral/src/NodeFinder/SimpleNodeFinder.php', - 'RectorPrefix20220519\\Symplify\\Astral\\NodeNameResolver\\ArgNodeNameResolver' => $vendorDir . '/symplify/astral/src/NodeNameResolver/ArgNodeNameResolver.php', - 'RectorPrefix20220519\\Symplify\\Astral\\NodeNameResolver\\AttributeNodeNameResolver' => $vendorDir . '/symplify/astral/src/NodeNameResolver/AttributeNodeNameResolver.php', - 'RectorPrefix20220519\\Symplify\\Astral\\NodeNameResolver\\ClassLikeNodeNameResolver' => $vendorDir . '/symplify/astral/src/NodeNameResolver/ClassLikeNodeNameResolver.php', - 'RectorPrefix20220519\\Symplify\\Astral\\NodeNameResolver\\ClassMethodNodeNameResolver' => $vendorDir . '/symplify/astral/src/NodeNameResolver/ClassMethodNodeNameResolver.php', - 'RectorPrefix20220519\\Symplify\\Astral\\NodeNameResolver\\ConstFetchNodeNameResolver' => $vendorDir . '/symplify/astral/src/NodeNameResolver/ConstFetchNodeNameResolver.php', - 'RectorPrefix20220519\\Symplify\\Astral\\NodeNameResolver\\FuncCallNodeNameResolver' => $vendorDir . '/symplify/astral/src/NodeNameResolver/FuncCallNodeNameResolver.php', - 'RectorPrefix20220519\\Symplify\\Astral\\NodeNameResolver\\IdentifierNodeNameResolver' => $vendorDir . '/symplify/astral/src/NodeNameResolver/IdentifierNodeNameResolver.php', - 'RectorPrefix20220519\\Symplify\\Astral\\NodeNameResolver\\NamespaceNodeNameResolver' => $vendorDir . '/symplify/astral/src/NodeNameResolver/NamespaceNodeNameResolver.php', - 'RectorPrefix20220519\\Symplify\\Astral\\NodeNameResolver\\ParamNodeNameResolver' => $vendorDir . '/symplify/astral/src/NodeNameResolver/ParamNodeNameResolver.php', - 'RectorPrefix20220519\\Symplify\\Astral\\NodeNameResolver\\PropertyNodeNameResolver' => $vendorDir . '/symplify/astral/src/NodeNameResolver/PropertyNodeNameResolver.php', - 'RectorPrefix20220519\\Symplify\\Astral\\NodeTraverser\\SimpleCallableNodeTraverser' => $vendorDir . '/symplify/astral/src/NodeTraverser/SimpleCallableNodeTraverser.php', - 'RectorPrefix20220519\\Symplify\\Astral\\NodeValue\\NodeValueResolver' => $vendorDir . '/symplify/astral/src/NodeValue/NodeValueResolver.php', - 'RectorPrefix20220519\\Symplify\\Astral\\NodeValue\\NodeValueResolver\\ClassConstFetchValueResolver' => $vendorDir . '/symplify/astral/src/NodeValue/NodeValueResolver/ClassConstFetchValueResolver.php', - 'RectorPrefix20220519\\Symplify\\Astral\\NodeValue\\NodeValueResolver\\ConstFetchValueResolver' => $vendorDir . '/symplify/astral/src/NodeValue/NodeValueResolver/ConstFetchValueResolver.php', - 'RectorPrefix20220519\\Symplify\\Astral\\NodeValue\\NodeValueResolver\\FuncCallValueResolver' => $vendorDir . '/symplify/astral/src/NodeValue/NodeValueResolver/FuncCallValueResolver.php', - 'RectorPrefix20220519\\Symplify\\Astral\\NodeValue\\NodeValueResolver\\MagicConstValueResolver' => $vendorDir . '/symplify/astral/src/NodeValue/NodeValueResolver/MagicConstValueResolver.php', - 'RectorPrefix20220519\\Symplify\\Astral\\NodeValue\\UnionTypeValueResolver' => $vendorDir . '/symplify/astral/src/NodeValue/UnionTypeValueResolver.php', - 'RectorPrefix20220519\\Symplify\\Astral\\NodeVisitor\\CallableNodeVisitor' => $vendorDir . '/symplify/astral/src/NodeVisitor/CallableNodeVisitor.php', - 'RectorPrefix20220519\\Symplify\\Astral\\PhpDocParser\\Contract\\PhpDocNodeVisitorInterface' => $vendorDir . '/symplify/astral/src/PhpDocParser/Contract/PhpDocNodeVisitorInterface.php', - 'RectorPrefix20220519\\Symplify\\Astral\\PhpDocParser\\Exception\\InvalidTraverseException' => $vendorDir . '/symplify/astral/src/PhpDocParser/Exception/InvalidTraverseException.php', - 'RectorPrefix20220519\\Symplify\\Astral\\PhpDocParser\\PhpDocNodeTraverser' => $vendorDir . '/symplify/astral/src/PhpDocParser/PhpDocNodeTraverser.php', - 'RectorPrefix20220519\\Symplify\\Astral\\PhpDocParser\\PhpDocNodeVisitor\\AbstractPhpDocNodeVisitor' => $vendorDir . '/symplify/astral/src/PhpDocParser/PhpDocNodeVisitor/AbstractPhpDocNodeVisitor.php', - 'RectorPrefix20220519\\Symplify\\Astral\\PhpDocParser\\PhpDocNodeVisitor\\CallablePhpDocNodeVisitor' => $vendorDir . '/symplify/astral/src/PhpDocParser/PhpDocNodeVisitor/CallablePhpDocNodeVisitor.php', - 'RectorPrefix20220519\\Symplify\\Astral\\PhpDocParser\\PhpDocNodeVisitor\\CloningPhpDocNodeVisitor' => $vendorDir . '/symplify/astral/src/PhpDocParser/PhpDocNodeVisitor/CloningPhpDocNodeVisitor.php', - 'RectorPrefix20220519\\Symplify\\Astral\\PhpDocParser\\PhpDocNodeVisitor\\ParentConnectingPhpDocNodeVisitor' => $vendorDir . '/symplify/astral/src/PhpDocParser/PhpDocNodeVisitor/ParentConnectingPhpDocNodeVisitor.php', - 'RectorPrefix20220519\\Symplify\\Astral\\PhpDocParser\\SimplePhpDocParser' => $vendorDir . '/symplify/astral/src/PhpDocParser/SimplePhpDocParser.php', - 'RectorPrefix20220519\\Symplify\\Astral\\PhpDocParser\\StaticFactory\\SimplePhpDocParserStaticFactory' => $vendorDir . '/symplify/astral/src/PhpDocParser/StaticFactory/SimplePhpDocParserStaticFactory.php', - 'RectorPrefix20220519\\Symplify\\Astral\\PhpDocParser\\ValueObject\\Ast\\PhpDoc\\SimplePhpDocNode' => $vendorDir . '/symplify/astral/src/PhpDocParser/ValueObject/Ast/PhpDoc/SimplePhpDocNode.php', - 'RectorPrefix20220519\\Symplify\\Astral\\PhpDocParser\\ValueObject\\PhpDocAttributeKey' => $vendorDir . '/symplify/astral/src/PhpDocParser/ValueObject/PhpDocAttributeKey.php', - 'RectorPrefix20220519\\Symplify\\Astral\\PhpParser\\SmartPhpParser' => $vendorDir . '/symplify/astral/src/PhpParser/SmartPhpParser.php', - 'RectorPrefix20220519\\Symplify\\Astral\\PhpParser\\SmartPhpParserFactory' => $vendorDir . '/symplify/astral/src/PhpParser/SmartPhpParserFactory.php', - 'RectorPrefix20220519\\Symplify\\Astral\\Reflection\\MethodCallParser' => $vendorDir . '/symplify/astral/src/Reflection/MethodCallParser.php', - 'RectorPrefix20220519\\Symplify\\Astral\\Reflection\\ReflectionParser' => $vendorDir . '/symplify/astral/src/Reflection/ReflectionParser.php', - 'RectorPrefix20220519\\Symplify\\Astral\\StaticFactory\\NodeValueResolverStaticFactory' => $vendorDir . '/symplify/astral/src/StaticFactory/NodeValueResolverStaticFactory.php', - 'RectorPrefix20220519\\Symplify\\Astral\\StaticFactory\\SimpleNameResolverStaticFactory' => $vendorDir . '/symplify/astral/src/StaticFactory/SimpleNameResolverStaticFactory.php', - 'RectorPrefix20220519\\Symplify\\Astral\\TypeAnalyzer\\ClassMethodReturnTypeResolver' => $vendorDir . '/symplify/astral/src/TypeAnalyzer/ClassMethodReturnTypeResolver.php', - 'RectorPrefix20220519\\Symplify\\Astral\\TypeAnalyzer\\ContainsTypeAnalyser' => $vendorDir . '/symplify/astral/src/TypeAnalyzer/ContainsTypeAnalyser.php', - 'RectorPrefix20220519\\Symplify\\Astral\\ValueObject\\AstralConfig' => $vendorDir . '/symplify/astral/src/ValueObject/AstralConfig.php', - 'RectorPrefix20220519\\Symplify\\Astral\\ValueObject\\AttributeKey' => $vendorDir . '/symplify/astral/src/ValueObject/AttributeKey.php', - 'RectorPrefix20220519\\Symplify\\Astral\\ValueObject\\NodeBuilder\\ClassBuilder' => $vendorDir . '/symplify/astral/src/ValueObject/NodeBuilder/ClassBuilder.php', - 'RectorPrefix20220519\\Symplify\\Astral\\ValueObject\\NodeBuilder\\MethodBuilder' => $vendorDir . '/symplify/astral/src/ValueObject/NodeBuilder/MethodBuilder.php', - 'RectorPrefix20220519\\Symplify\\Astral\\ValueObject\\NodeBuilder\\NamespaceBuilder' => $vendorDir . '/symplify/astral/src/ValueObject/NodeBuilder/NamespaceBuilder.php', - 'RectorPrefix20220519\\Symplify\\Astral\\ValueObject\\NodeBuilder\\ParamBuilder' => $vendorDir . '/symplify/astral/src/ValueObject/NodeBuilder/ParamBuilder.php', - 'RectorPrefix20220519\\Symplify\\Astral\\ValueObject\\NodeBuilder\\PropertyBuilder' => $vendorDir . '/symplify/astral/src/ValueObject/NodeBuilder/PropertyBuilder.php', - 'RectorPrefix20220519\\Symplify\\Astral\\ValueObject\\NodeBuilder\\TraitUseBuilder' => $vendorDir . '/symplify/astral/src/ValueObject/NodeBuilder/TraitUseBuilder.php', - 'RectorPrefix20220519\\Symplify\\Astral\\ValueObject\\NodeBuilder\\UseBuilder' => $vendorDir . '/symplify/astral/src/ValueObject/NodeBuilder/UseBuilder.php', - 'RectorPrefix20220519\\Symplify\\AutowireArrayParameter\\DependencyInjection\\CompilerPass\\AutowireArrayParameterCompilerPass' => $vendorDir . '/symplify/autowire-array-parameter/src/DependencyInjection/CompilerPass/AutowireArrayParameterCompilerPass.php', - 'RectorPrefix20220519\\Symplify\\AutowireArrayParameter\\DependencyInjection\\DefinitionFinder' => $vendorDir . '/symplify/autowire-array-parameter/src/DependencyInjection/DefinitionFinder.php', - 'RectorPrefix20220519\\Symplify\\AutowireArrayParameter\\DocBlock\\ParamTypeDocBlockResolver' => $vendorDir . '/symplify/autowire-array-parameter/src/DocBlock/ParamTypeDocBlockResolver.php', - 'RectorPrefix20220519\\Symplify\\AutowireArrayParameter\\Exception\\DependencyInjection\\DefinitionForTypeNotFoundException' => $vendorDir . '/symplify/autowire-array-parameter/src/Exception/DependencyInjection/DefinitionForTypeNotFoundException.php', - 'RectorPrefix20220519\\Symplify\\AutowireArrayParameter\\Skipper\\ParameterSkipper' => $vendorDir . '/symplify/autowire-array-parameter/src/Skipper/ParameterSkipper.php', - 'RectorPrefix20220519\\Symplify\\AutowireArrayParameter\\TypeResolver\\ParameterTypeResolver' => $vendorDir . '/symplify/autowire-array-parameter/src/TypeResolver/ParameterTypeResolver.php', - 'RectorPrefix20220519\\Symplify\\ComposerJsonManipulator\\ComposerJsonFactory' => $vendorDir . '/symplify/composer-json-manipulator/src/ComposerJsonFactory.php', - 'RectorPrefix20220519\\Symplify\\ComposerJsonManipulator\\FileSystem\\JsonFileManager' => $vendorDir . '/symplify/composer-json-manipulator/src/FileSystem/JsonFileManager.php', - 'RectorPrefix20220519\\Symplify\\ComposerJsonManipulator\\Json\\JsonCleaner' => $vendorDir . '/symplify/composer-json-manipulator/src/Json/JsonCleaner.php', - 'RectorPrefix20220519\\Symplify\\ComposerJsonManipulator\\Json\\JsonInliner' => $vendorDir . '/symplify/composer-json-manipulator/src/Json/JsonInliner.php', - 'RectorPrefix20220519\\Symplify\\ComposerJsonManipulator\\Printer\\ComposerJsonPrinter' => $vendorDir . '/symplify/composer-json-manipulator/src/Printer/ComposerJsonPrinter.php', - 'RectorPrefix20220519\\Symplify\\ComposerJsonManipulator\\Sorter\\ComposerPackageSorter' => $vendorDir . '/symplify/composer-json-manipulator/src/Sorter/ComposerPackageSorter.php', - 'RectorPrefix20220519\\Symplify\\ComposerJsonManipulator\\ValueObject\\ComposerJson' => $vendorDir . '/symplify/composer-json-manipulator/src/ValueObject/ComposerJson.php', - 'RectorPrefix20220519\\Symplify\\ComposerJsonManipulator\\ValueObject\\ComposerJsonManipulatorConfig' => $vendorDir . '/symplify/composer-json-manipulator/src/ValueObject/ComposerJsonManipulatorConfig.php', - 'RectorPrefix20220519\\Symplify\\ComposerJsonManipulator\\ValueObject\\ComposerJsonSection' => $vendorDir . '/symplify/composer-json-manipulator/src/ValueObject/ComposerJsonSection.php', - 'RectorPrefix20220519\\Symplify\\ComposerJsonManipulator\\ValueObject\\Option' => $vendorDir . '/symplify/composer-json-manipulator/src/ValueObject/Option.php', - 'RectorPrefix20220519\\Symplify\\EasyParallel\\CommandLine\\WorkerCommandLineFactory' => $vendorDir . '/symplify/easy-parallel/src/CommandLine/WorkerCommandLineFactory.php', - 'RectorPrefix20220519\\Symplify\\EasyParallel\\Contract\\SerializableInterface' => $vendorDir . '/symplify/easy-parallel/src/Contract/SerializableInterface.php', - 'RectorPrefix20220519\\Symplify\\EasyParallel\\CpuCoreCountProvider' => $vendorDir . '/symplify/easy-parallel/src/CpuCoreCountProvider.php', - 'RectorPrefix20220519\\Symplify\\EasyParallel\\Enum\\Action' => $vendorDir . '/symplify/easy-parallel/src/Enum/Action.php', - 'RectorPrefix20220519\\Symplify\\EasyParallel\\Enum\\Content' => $vendorDir . '/symplify/easy-parallel/src/Enum/Content.php', - 'RectorPrefix20220519\\Symplify\\EasyParallel\\Enum\\ReactCommand' => $vendorDir . '/symplify/easy-parallel/src/Enum/ReactCommand.php', - 'RectorPrefix20220519\\Symplify\\EasyParallel\\Enum\\ReactEvent' => $vendorDir . '/symplify/easy-parallel/src/Enum/ReactEvent.php', - 'RectorPrefix20220519\\Symplify\\EasyParallel\\Exception\\ParallelShouldNotHappenException' => $vendorDir . '/symplify/easy-parallel/src/Exception/ParallelShouldNotHappenException.php', - 'RectorPrefix20220519\\Symplify\\EasyParallel\\FileSystem\\FilePathNormalizer' => $vendorDir . '/symplify/easy-parallel/src/FileSystem/FilePathNormalizer.php', - 'RectorPrefix20220519\\Symplify\\EasyParallel\\Reflection\\CommandFromReflectionFactory' => $vendorDir . '/symplify/easy-parallel/src/Reflection/CommandFromReflectionFactory.php', - 'RectorPrefix20220519\\Symplify\\EasyParallel\\ScheduleFactory' => $vendorDir . '/symplify/easy-parallel/src/ScheduleFactory.php', - 'RectorPrefix20220519\\Symplify\\EasyParallel\\ValueObject\\EasyParallelConfig' => $vendorDir . '/symplify/easy-parallel/src/ValueObject/EasyParallelConfig.php', - 'RectorPrefix20220519\\Symplify\\EasyParallel\\ValueObject\\ParallelProcess' => $vendorDir . '/symplify/easy-parallel/src/ValueObject/ParallelProcess.php', - 'RectorPrefix20220519\\Symplify\\EasyParallel\\ValueObject\\ProcessPool' => $vendorDir . '/symplify/easy-parallel/src/ValueObject/ProcessPool.php', - 'RectorPrefix20220519\\Symplify\\EasyParallel\\ValueObject\\Schedule' => $vendorDir . '/symplify/easy-parallel/src/ValueObject/Schedule.php', - 'RectorPrefix20220519\\Symplify\\EasyTesting\\Command\\ValidateFixtureSkipNamingCommand' => $vendorDir . '/symplify/easy-testing/src/Command/ValidateFixtureSkipNamingCommand.php', - 'RectorPrefix20220519\\Symplify\\EasyTesting\\DataProvider\\StaticFixtureFinder' => $vendorDir . '/symplify/easy-testing/src/DataProvider/StaticFixtureFinder.php', - 'RectorPrefix20220519\\Symplify\\EasyTesting\\DataProvider\\StaticFixtureUpdater' => $vendorDir . '/symplify/easy-testing/src/DataProvider/StaticFixtureUpdater.php', - 'RectorPrefix20220519\\Symplify\\EasyTesting\\Finder\\FixtureFinder' => $vendorDir . '/symplify/easy-testing/src/Finder/FixtureFinder.php', - 'RectorPrefix20220519\\Symplify\\EasyTesting\\FixtureSplitter\\TrioFixtureSplitter' => $vendorDir . '/symplify/easy-testing/src/FixtureSplitter/TrioFixtureSplitter.php', - 'RectorPrefix20220519\\Symplify\\EasyTesting\\Kernel\\EasyTestingKernel' => $vendorDir . '/symplify/easy-testing/src/Kernel/EasyTestingKernel.php', - 'RectorPrefix20220519\\Symplify\\EasyTesting\\MissplacedSkipPrefixResolver' => $vendorDir . '/symplify/easy-testing/src/MissplacedSkipPrefixResolver.php', - 'RectorPrefix20220519\\Symplify\\EasyTesting\\PHPUnit\\Behavior\\DirectoryAssertableTrait' => $vendorDir . '/symplify/easy-testing/src/PHPUnit/Behavior/DirectoryAssertableTrait.php', - 'RectorPrefix20220519\\Symplify\\EasyTesting\\PHPUnit\\StaticPHPUnitEnvironment' => $vendorDir . '/symplify/easy-testing/src/PHPUnit/StaticPHPUnitEnvironment.php', - 'RectorPrefix20220519\\Symplify\\EasyTesting\\StaticFixtureSplitter' => $vendorDir . '/symplify/easy-testing/src/StaticFixtureSplitter.php', - 'RectorPrefix20220519\\Symplify\\EasyTesting\\ValueObject\\EasyTestingConfig' => $vendorDir . '/symplify/easy-testing/src/ValueObject/EasyTestingConfig.php', - 'RectorPrefix20220519\\Symplify\\EasyTesting\\ValueObject\\ExpectedAndOutputFileInfoPair' => $vendorDir . '/symplify/easy-testing/src/ValueObject/ExpectedAndOutputFileInfoPair.php', - 'RectorPrefix20220519\\Symplify\\EasyTesting\\ValueObject\\FixtureSplit\\TrioContent' => $vendorDir . '/symplify/easy-testing/src/ValueObject/FixtureSplit/TrioContent.php', - 'RectorPrefix20220519\\Symplify\\EasyTesting\\ValueObject\\IncorrectAndMissingSkips' => $vendorDir . '/symplify/easy-testing/src/ValueObject/IncorrectAndMissingSkips.php', - 'RectorPrefix20220519\\Symplify\\EasyTesting\\ValueObject\\InputAndExpected' => $vendorDir . '/symplify/easy-testing/src/ValueObject/InputAndExpected.php', - 'RectorPrefix20220519\\Symplify\\EasyTesting\\ValueObject\\InputFileInfoAndExpected' => $vendorDir . '/symplify/easy-testing/src/ValueObject/InputFileInfoAndExpected.php', - 'RectorPrefix20220519\\Symplify\\EasyTesting\\ValueObject\\InputFileInfoAndExpectedFileInfo' => $vendorDir . '/symplify/easy-testing/src/ValueObject/InputFileInfoAndExpectedFileInfo.php', - 'RectorPrefix20220519\\Symplify\\EasyTesting\\ValueObject\\Option' => $vendorDir . '/symplify/easy-testing/src/ValueObject/Option.php', - 'RectorPrefix20220519\\Symplify\\EasyTesting\\ValueObject\\Prefix' => $vendorDir . '/symplify/easy-testing/src/ValueObject/Prefix.php', - 'RectorPrefix20220519\\Symplify\\EasyTesting\\ValueObject\\SplitLine' => $vendorDir . '/symplify/easy-testing/src/ValueObject/SplitLine.php', - 'RectorPrefix20220519\\Symplify\\PackageBuilder\\Composer\\VendorDirProvider' => $vendorDir . '/symplify/package-builder/src/Composer/VendorDirProvider.php', - 'RectorPrefix20220519\\Symplify\\PackageBuilder\\Configuration\\StaticEolConfiguration' => $vendorDir . '/symplify/package-builder/src/Configuration/StaticEolConfiguration.php', - 'RectorPrefix20220519\\Symplify\\PackageBuilder\\Console\\Command\\AbstractSymplifyCommand' => $vendorDir . '/symplify/package-builder/src/Console/Command/AbstractSymplifyCommand.php', - 'RectorPrefix20220519\\Symplify\\PackageBuilder\\Console\\Command\\CommandNaming' => $vendorDir . '/symplify/package-builder/src/Console/Command/CommandNaming.php', - 'RectorPrefix20220519\\Symplify\\PackageBuilder\\Console\\Formatter\\ColorConsoleDiffFormatter' => $vendorDir . '/symplify/package-builder/src/Console/Formatter/ColorConsoleDiffFormatter.php', - 'RectorPrefix20220519\\Symplify\\PackageBuilder\\Console\\Input\\StaticInputDetector' => $vendorDir . '/symplify/package-builder/src/Console/Input/StaticInputDetector.php', - 'RectorPrefix20220519\\Symplify\\PackageBuilder\\Console\\Output\\ConsoleDiffer' => $vendorDir . '/symplify/package-builder/src/Console/Output/ConsoleDiffer.php', - 'RectorPrefix20220519\\Symplify\\PackageBuilder\\Console\\Style\\SymfonyStyleFactory' => $vendorDir . '/symplify/package-builder/src/Console/Style/SymfonyStyleFactory.php', - 'RectorPrefix20220519\\Symplify\\PackageBuilder\\DependencyInjection\\CompilerPass\\AutowireInterfacesCompilerPass' => $vendorDir . '/symplify/package-builder/src/DependencyInjection/CompilerPass/AutowireInterfacesCompilerPass.php', - 'RectorPrefix20220519\\Symplify\\PackageBuilder\\DependencyInjection\\FileLoader\\ParameterMergingPhpFileLoader' => $vendorDir . '/symplify/package-builder/src/DependencyInjection/FileLoader/ParameterMergingPhpFileLoader.php', - 'RectorPrefix20220519\\Symplify\\PackageBuilder\\Diff\\Output\\CompleteUnifiedDiffOutputBuilderFactory' => $vendorDir . '/symplify/package-builder/src/Diff/Output/CompleteUnifiedDiffOutputBuilderFactory.php', - 'RectorPrefix20220519\\Symplify\\PackageBuilder\\Exception\\HttpKernel\\MissingInterfaceException' => $vendorDir . '/symplify/package-builder/src/Exception/HttpKernel/MissingInterfaceException.php', - 'RectorPrefix20220519\\Symplify\\PackageBuilder\\Exception\\InvalidPrivatePropertyTypeException' => $vendorDir . '/symplify/package-builder/src/Exception/InvalidPrivatePropertyTypeException.php', - 'RectorPrefix20220519\\Symplify\\PackageBuilder\\Exception\\MissingPrivatePropertyException' => $vendorDir . '/symplify/package-builder/src/Exception/MissingPrivatePropertyException.php', - 'RectorPrefix20220519\\Symplify\\PackageBuilder\\Matcher\\ArrayStringAndFnMatcher' => $vendorDir . '/symplify/package-builder/src/Matcher/ArrayStringAndFnMatcher.php', - 'RectorPrefix20220519\\Symplify\\PackageBuilder\\Neon\\NeonPrinter' => $vendorDir . '/symplify/package-builder/src/Neon/NeonPrinter.php', - 'RectorPrefix20220519\\Symplify\\PackageBuilder\\Parameter\\ParameterProvider' => $vendorDir . '/symplify/package-builder/src/Parameter/ParameterProvider.php', - 'RectorPrefix20220519\\Symplify\\PackageBuilder\\Php\\TypeChecker' => $vendorDir . '/symplify/package-builder/src/Php/TypeChecker.php', - 'RectorPrefix20220519\\Symplify\\PackageBuilder\\Reflection\\ClassLikeExistenceChecker' => $vendorDir . '/symplify/package-builder/src/Reflection/ClassLikeExistenceChecker.php', - 'RectorPrefix20220519\\Symplify\\PackageBuilder\\Reflection\\PrivatesAccessor' => $vendorDir . '/symplify/package-builder/src/Reflection/PrivatesAccessor.php', - 'RectorPrefix20220519\\Symplify\\PackageBuilder\\Reflection\\PrivatesCaller' => $vendorDir . '/symplify/package-builder/src/Reflection/PrivatesCaller.php', - 'RectorPrefix20220519\\Symplify\\PackageBuilder\\Strings\\StringFormatConverter' => $vendorDir . '/symplify/package-builder/src/Strings/StringFormatConverter.php', - 'RectorPrefix20220519\\Symplify\\PackageBuilder\\Testing\\AbstractKernelTestCase' => $vendorDir . '/symplify/package-builder/src/Testing/AbstractKernelTestCase.php', - 'RectorPrefix20220519\\Symplify\\PackageBuilder\\ValueObject\\ConsoleColorDiffConfig' => $vendorDir . '/symplify/package-builder/src/ValueObject/ConsoleColorDiffConfig.php', - 'RectorPrefix20220519\\Symplify\\PackageBuilder\\ValueObject\\MethodName' => $vendorDir . '/symplify/package-builder/src/ValueObject/MethodName.php', - 'RectorPrefix20220519\\Symplify\\PackageBuilder\\ValueObject\\Option' => $vendorDir . '/symplify/package-builder/src/ValueObject/Option.php', - 'RectorPrefix20220519\\Symplify\\PackageBuilder\\Yaml\\ParametersMerger' => $vendorDir . '/symplify/package-builder/src/Yaml/ParametersMerger.php', - 'RectorPrefix20220519\\Symplify\\Skipper\\Contract\\SkipVoterInterface' => $vendorDir . '/symplify/skipper/src/Contract/SkipVoterInterface.php', - 'RectorPrefix20220519\\Symplify\\Skipper\\FileSystem\\FnMatchPathNormalizer' => $vendorDir . '/symplify/skipper/src/FileSystem/FnMatchPathNormalizer.php', - 'RectorPrefix20220519\\Symplify\\Skipper\\Matcher\\FileInfoMatcher' => $vendorDir . '/symplify/skipper/src/Matcher/FileInfoMatcher.php', - 'RectorPrefix20220519\\Symplify\\Skipper\\SkipCriteriaResolver\\SkippedClassAndCodesResolver' => $vendorDir . '/symplify/skipper/src/SkipCriteriaResolver/SkippedClassAndCodesResolver.php', - 'RectorPrefix20220519\\Symplify\\Skipper\\SkipCriteriaResolver\\SkippedClassResolver' => $vendorDir . '/symplify/skipper/src/SkipCriteriaResolver/SkippedClassResolver.php', - 'RectorPrefix20220519\\Symplify\\Skipper\\SkipCriteriaResolver\\SkippedMessagesResolver' => $vendorDir . '/symplify/skipper/src/SkipCriteriaResolver/SkippedMessagesResolver.php', - 'RectorPrefix20220519\\Symplify\\Skipper\\SkipCriteriaResolver\\SkippedPathsResolver' => $vendorDir . '/symplify/skipper/src/SkipCriteriaResolver/SkippedPathsResolver.php', - 'RectorPrefix20220519\\Symplify\\Skipper\\SkipVoter\\ClassAndCodeSkipVoter' => $vendorDir . '/symplify/skipper/src/SkipVoter/ClassAndCodeSkipVoter.php', - 'RectorPrefix20220519\\Symplify\\Skipper\\SkipVoter\\ClassSkipVoter' => $vendorDir . '/symplify/skipper/src/SkipVoter/ClassSkipVoter.php', - 'RectorPrefix20220519\\Symplify\\Skipper\\SkipVoter\\MessageSkipVoter' => $vendorDir . '/symplify/skipper/src/SkipVoter/MessageSkipVoter.php', - 'RectorPrefix20220519\\Symplify\\Skipper\\SkipVoter\\PathSkipVoter' => $vendorDir . '/symplify/skipper/src/SkipVoter/PathSkipVoter.php', - 'RectorPrefix20220519\\Symplify\\Skipper\\Skipper\\OnlySkipper' => $vendorDir . '/symplify/skipper/src/Skipper/OnlySkipper.php', - 'RectorPrefix20220519\\Symplify\\Skipper\\Skipper\\SkipSkipper' => $vendorDir . '/symplify/skipper/src/Skipper/SkipSkipper.php', - 'RectorPrefix20220519\\Symplify\\Skipper\\Skipper\\Skipper' => $vendorDir . '/symplify/skipper/src/Skipper/Skipper.php', - 'RectorPrefix20220519\\Symplify\\Skipper\\ValueObject\\Option' => $vendorDir . '/symplify/skipper/src/ValueObject/Option.php', - 'RectorPrefix20220519\\Symplify\\Skipper\\ValueObject\\SkipperConfig' => $vendorDir . '/symplify/skipper/src/ValueObject/SkipperConfig.php', - 'RectorPrefix20220519\\Symplify\\SmartFileSystem\\Exception\\DirectoryNotFoundException' => $vendorDir . '/symplify/smart-file-system/src/Exception/DirectoryNotFoundException.php', - 'RectorPrefix20220519\\Symplify\\SmartFileSystem\\Exception\\FileNotFoundException' => $vendorDir . '/symplify/smart-file-system/src/Exception/FileNotFoundException.php', - 'RectorPrefix20220519\\Symplify\\SmartFileSystem\\FileSystemFilter' => $vendorDir . '/symplify/smart-file-system/src/FileSystemFilter.php', - 'RectorPrefix20220519\\Symplify\\SmartFileSystem\\FileSystemGuard' => $vendorDir . '/symplify/smart-file-system/src/FileSystemGuard.php', - 'RectorPrefix20220519\\Symplify\\SmartFileSystem\\Finder\\FinderSanitizer' => $vendorDir . '/symplify/smart-file-system/src/Finder/FinderSanitizer.php', - 'RectorPrefix20220519\\Symplify\\SmartFileSystem\\Finder\\SmartFinder' => $vendorDir . '/symplify/smart-file-system/src/Finder/SmartFinder.php', - 'RectorPrefix20220519\\Symplify\\SmartFileSystem\\Json\\JsonFileSystem' => $vendorDir . '/symplify/smart-file-system/src/Json/JsonFileSystem.php', - 'RectorPrefix20220519\\Symplify\\SmartFileSystem\\Normalizer\\PathNormalizer' => $vendorDir . '/symplify/smart-file-system/src/Normalizer/PathNormalizer.php', - 'RectorPrefix20220519\\Symplify\\SmartFileSystem\\SmartFileInfo' => $vendorDir . '/symplify/smart-file-system/src/SmartFileInfo.php', - 'RectorPrefix20220519\\Symplify\\SmartFileSystem\\SmartFileSystem' => $vendorDir . '/symplify/smart-file-system/src/SmartFileSystem.php', - 'RectorPrefix20220519\\Symplify\\SymplifyKernel\\Config\\Loader\\ParameterMergingLoaderFactory' => $vendorDir . '/symplify/symplify-kernel/src/Config/Loader/ParameterMergingLoaderFactory.php', - 'RectorPrefix20220519\\Symplify\\SymplifyKernel\\ContainerBuilderFactory' => $vendorDir . '/symplify/symplify-kernel/src/ContainerBuilderFactory.php', - 'RectorPrefix20220519\\Symplify\\SymplifyKernel\\Contract\\Config\\LoaderFactoryInterface' => $vendorDir . '/symplify/symplify-kernel/src/Contract/Config/LoaderFactoryInterface.php', - 'RectorPrefix20220519\\Symplify\\SymplifyKernel\\Contract\\LightKernelInterface' => $vendorDir . '/symplify/symplify-kernel/src/Contract/LightKernelInterface.php', - 'RectorPrefix20220519\\Symplify\\SymplifyKernel\\DependencyInjection\\LoadExtensionConfigsCompilerPass' => $vendorDir . '/symplify/symplify-kernel/src/DependencyInjection/LoadExtensionConfigsCompilerPass.php', - 'RectorPrefix20220519\\Symplify\\SymplifyKernel\\Exception\\BootException' => $vendorDir . '/symplify/symplify-kernel/src/Exception/BootException.php', - 'RectorPrefix20220519\\Symplify\\SymplifyKernel\\Exception\\ShouldNotHappenException' => $vendorDir . '/symplify/symplify-kernel/src/Exception/ShouldNotHappenException.php', - 'RectorPrefix20220519\\Symplify\\SymplifyKernel\\HttpKernel\\AbstractSymplifyKernel' => $vendorDir . '/symplify/symplify-kernel/src/HttpKernel/AbstractSymplifyKernel.php', - 'RectorPrefix20220519\\Symplify\\SymplifyKernel\\ValueObject\\KernelBootAndApplicationRun' => $vendorDir . '/symplify/symplify-kernel/src/ValueObject/KernelBootAndApplicationRun.php', - 'RectorPrefix20220519\\Symplify\\SymplifyKernel\\ValueObject\\SymplifyKernelConfig' => $vendorDir . '/symplify/symplify-kernel/src/ValueObject/SymplifyKernelConfig.php', - 'RectorPrefix20220519\\Symplify\\VendorPatches\\Command\\GenerateCommand' => $vendorDir . '/symplify/vendor-patches/src/Command/GenerateCommand.php', - 'RectorPrefix20220519\\Symplify\\VendorPatches\\Composer\\ComposerPatchesConfigurationUpdater' => $vendorDir . '/symplify/vendor-patches/src/Composer/ComposerPatchesConfigurationUpdater.php', - 'RectorPrefix20220519\\Symplify\\VendorPatches\\Composer\\PackageNameResolver' => $vendorDir . '/symplify/vendor-patches/src/Composer/PackageNameResolver.php', - 'RectorPrefix20220519\\Symplify\\VendorPatches\\Console\\GenerateCommandReporter' => $vendorDir . '/symplify/vendor-patches/src/Console/GenerateCommandReporter.php', - 'RectorPrefix20220519\\Symplify\\VendorPatches\\Console\\VendorPatchesApplication' => $vendorDir . '/symplify/vendor-patches/src/Console/VendorPatchesApplication.php', - 'RectorPrefix20220519\\Symplify\\VendorPatches\\Differ\\PatchDiffer' => $vendorDir . '/symplify/vendor-patches/src/Differ/PatchDiffer.php', - 'RectorPrefix20220519\\Symplify\\VendorPatches\\FileSystem\\PathResolver' => $vendorDir . '/symplify/vendor-patches/src/FileSystem/PathResolver.php', - 'RectorPrefix20220519\\Symplify\\VendorPatches\\Finder\\OldToNewFilesFinder' => $vendorDir . '/symplify/vendor-patches/src/Finder/OldToNewFilesFinder.php', - 'RectorPrefix20220519\\Symplify\\VendorPatches\\Kernel\\VendorPatchesKernel' => $vendorDir . '/symplify/vendor-patches/src/Kernel/VendorPatchesKernel.php', - 'RectorPrefix20220519\\Symplify\\VendorPatches\\PatchFileFactory' => $vendorDir . '/symplify/vendor-patches/src/PatchFileFactory.php', - 'RectorPrefix20220519\\Symplify\\VendorPatches\\ValueObject\\OldAndNewFileInfo' => $vendorDir . '/symplify/vendor-patches/src/ValueObject/OldAndNewFileInfo.php', - 'RectorPrefix20220519\\Tracy\\Bar' => $vendorDir . '/tracy/tracy/src/Tracy/Bar/Bar.php', - 'RectorPrefix20220519\\Tracy\\BlueScreen' => $vendorDir . '/tracy/tracy/src/Tracy/BlueScreen/BlueScreen.php', - 'RectorPrefix20220519\\Tracy\\Bridges\\Nette\\Bridge' => $vendorDir . '/tracy/tracy/src/Bridges/Nette/Bridge.php', - 'RectorPrefix20220519\\Tracy\\Bridges\\Nette\\MailSender' => $vendorDir . '/tracy/tracy/src/Bridges/Nette/MailSender.php', - 'RectorPrefix20220519\\Tracy\\Bridges\\Nette\\TracyExtension' => $vendorDir . '/tracy/tracy/src/Bridges/Nette/TracyExtension.php', - 'RectorPrefix20220519\\Tracy\\Bridges\\Psr\\PsrToTracyLoggerAdapter' => $vendorDir . '/tracy/tracy/src/Bridges/Psr/PsrToTracyLoggerAdapter.php', - 'RectorPrefix20220519\\Tracy\\Bridges\\Psr\\TracyToPsrLoggerAdapter' => $vendorDir . '/tracy/tracy/src/Bridges/Psr/TracyToPsrLoggerAdapter.php', - 'RectorPrefix20220519\\Tracy\\Debugger' => $vendorDir . '/tracy/tracy/src/Tracy/Debugger/Debugger.php', - 'RectorPrefix20220519\\Tracy\\DefaultBarPanel' => $vendorDir . '/tracy/tracy/src/Tracy/Bar/DefaultBarPanel.php', - 'RectorPrefix20220519\\Tracy\\DeferredContent' => $vendorDir . '/tracy/tracy/src/Tracy/Debugger/DeferredContent.php', - 'RectorPrefix20220519\\Tracy\\DevelopmentStrategy' => $vendorDir . '/tracy/tracy/src/Tracy/Debugger/DevelopmentStrategy.php', - 'RectorPrefix20220519\\Tracy\\Dumper' => $vendorDir . '/tracy/tracy/src/Tracy/Dumper/Dumper.php', - 'RectorPrefix20220519\\Tracy\\Dumper\\Describer' => $vendorDir . '/tracy/tracy/src/Tracy/Dumper/Describer.php', - 'RectorPrefix20220519\\Tracy\\Dumper\\Exposer' => $vendorDir . '/tracy/tracy/src/Tracy/Dumper/Exposer.php', - 'RectorPrefix20220519\\Tracy\\Dumper\\Renderer' => $vendorDir . '/tracy/tracy/src/Tracy/Dumper/Renderer.php', - 'RectorPrefix20220519\\Tracy\\Dumper\\Value' => $vendorDir . '/tracy/tracy/src/Tracy/Dumper/Value.php', - 'RectorPrefix20220519\\Tracy\\FileSession' => $vendorDir . '/tracy/tracy/src/Tracy/Session/FileSession.php', - 'RectorPrefix20220519\\Tracy\\FireLogger' => $vendorDir . '/tracy/tracy/src/Tracy/Logger/FireLogger.php', - 'RectorPrefix20220519\\Tracy\\Helpers' => $vendorDir . '/tracy/tracy/src/Tracy/Helpers.php', - 'RectorPrefix20220519\\Tracy\\IBarPanel' => $vendorDir . '/tracy/tracy/src/Tracy/Bar/IBarPanel.php', - 'RectorPrefix20220519\\Tracy\\ILogger' => $vendorDir . '/tracy/tracy/src/Tracy/Logger/ILogger.php', - 'RectorPrefix20220519\\Tracy\\Logger' => $vendorDir . '/tracy/tracy/src/Tracy/Logger/Logger.php', - 'RectorPrefix20220519\\Tracy\\NativeSession' => $vendorDir . '/tracy/tracy/src/Tracy/Session/NativeSession.php', - 'RectorPrefix20220519\\Tracy\\OutputDebugger' => $vendorDir . '/tracy/tracy/src/Tracy/OutputDebugger/OutputDebugger.php', - 'RectorPrefix20220519\\Tracy\\ProductionStrategy' => $vendorDir . '/tracy/tracy/src/Tracy/Debugger/ProductionStrategy.php', - 'RectorPrefix20220519\\Tracy\\SessionStorage' => $vendorDir . '/tracy/tracy/src/Tracy/Session/SessionStorage.php', - 'RectorPrefix20220519\\Webmozart\\Assert\\Assert' => $vendorDir . '/webmozart/assert/src/Assert.php', - 'RectorPrefix20220519\\Webmozart\\Assert\\InvalidArgumentException' => $vendorDir . '/webmozart/assert/src/InvalidArgumentException.php', - 'RectorPrefix20220519\\Webmozart\\Assert\\Mixin' => $vendorDir . '/webmozart/assert/src/Mixin.php', - 'RectorPrefix20220519\\cweagans\\Composer\\PatchEvent' => $vendorDir . '/cweagans/composer-patches/src/PatchEvent.php', - 'RectorPrefix20220519\\cweagans\\Composer\\PatchEvents' => $vendorDir . '/cweagans/composer-patches/src/PatchEvents.php', - 'RectorPrefix20220519\\cweagans\\Composer\\Patches' => $vendorDir . '/cweagans/composer-patches/src/Patches.php', + 'RectorPrefix20220520\\Clue\\React\\NDJson\\Decoder' => $vendorDir . '/clue/ndjson-react/src/Decoder.php', + 'RectorPrefix20220520\\Clue\\React\\NDJson\\Encoder' => $vendorDir . '/clue/ndjson-react/src/Encoder.php', + 'RectorPrefix20220520\\Composer\\Pcre\\MatchAllResult' => $vendorDir . '/composer/pcre/src/MatchAllResult.php', + 'RectorPrefix20220520\\Composer\\Pcre\\MatchAllWithOffsetsResult' => $vendorDir . '/composer/pcre/src/MatchAllWithOffsetsResult.php', + 'RectorPrefix20220520\\Composer\\Pcre\\MatchResult' => $vendorDir . '/composer/pcre/src/MatchResult.php', + 'RectorPrefix20220520\\Composer\\Pcre\\MatchWithOffsetsResult' => $vendorDir . '/composer/pcre/src/MatchWithOffsetsResult.php', + 'RectorPrefix20220520\\Composer\\Pcre\\PcreException' => $vendorDir . '/composer/pcre/src/PcreException.php', + 'RectorPrefix20220520\\Composer\\Pcre\\Preg' => $vendorDir . '/composer/pcre/src/Preg.php', + 'RectorPrefix20220520\\Composer\\Pcre\\Regex' => $vendorDir . '/composer/pcre/src/Regex.php', + 'RectorPrefix20220520\\Composer\\Pcre\\ReplaceResult' => $vendorDir . '/composer/pcre/src/ReplaceResult.php', + 'RectorPrefix20220520\\Composer\\Semver\\Comparator' => $vendorDir . '/composer/semver/src/Comparator.php', + 'RectorPrefix20220520\\Composer\\Semver\\CompilingMatcher' => $vendorDir . '/composer/semver/src/CompilingMatcher.php', + 'RectorPrefix20220520\\Composer\\Semver\\Constraint\\Bound' => $vendorDir . '/composer/semver/src/Constraint/Bound.php', + 'RectorPrefix20220520\\Composer\\Semver\\Constraint\\Constraint' => $vendorDir . '/composer/semver/src/Constraint/Constraint.php', + 'RectorPrefix20220520\\Composer\\Semver\\Constraint\\ConstraintInterface' => $vendorDir . '/composer/semver/src/Constraint/ConstraintInterface.php', + 'RectorPrefix20220520\\Composer\\Semver\\Constraint\\MatchAllConstraint' => $vendorDir . '/composer/semver/src/Constraint/MatchAllConstraint.php', + 'RectorPrefix20220520\\Composer\\Semver\\Constraint\\MatchNoneConstraint' => $vendorDir . '/composer/semver/src/Constraint/MatchNoneConstraint.php', + 'RectorPrefix20220520\\Composer\\Semver\\Constraint\\MultiConstraint' => $vendorDir . '/composer/semver/src/Constraint/MultiConstraint.php', + 'RectorPrefix20220520\\Composer\\Semver\\Interval' => $vendorDir . '/composer/semver/src/Interval.php', + 'RectorPrefix20220520\\Composer\\Semver\\Intervals' => $vendorDir . '/composer/semver/src/Intervals.php', + 'RectorPrefix20220520\\Composer\\Semver\\Semver' => $vendorDir . '/composer/semver/src/Semver.php', + 'RectorPrefix20220520\\Composer\\Semver\\VersionParser' => $vendorDir . '/composer/semver/src/VersionParser.php', + 'RectorPrefix20220520\\Composer\\XdebugHandler\\PhpConfig' => $vendorDir . '/composer/xdebug-handler/src/PhpConfig.php', + 'RectorPrefix20220520\\Composer\\XdebugHandler\\Process' => $vendorDir . '/composer/xdebug-handler/src/Process.php', + 'RectorPrefix20220520\\Composer\\XdebugHandler\\Status' => $vendorDir . '/composer/xdebug-handler/src/Status.php', + 'RectorPrefix20220520\\Composer\\XdebugHandler\\XdebugHandler' => $vendorDir . '/composer/xdebug-handler/src/XdebugHandler.php', + 'RectorPrefix20220520\\Doctrine\\Inflector\\CachedWordInflector' => $vendorDir . '/doctrine/inflector/lib/Doctrine/Inflector/CachedWordInflector.php', + 'RectorPrefix20220520\\Doctrine\\Inflector\\GenericLanguageInflectorFactory' => $vendorDir . '/doctrine/inflector/lib/Doctrine/Inflector/GenericLanguageInflectorFactory.php', + 'RectorPrefix20220520\\Doctrine\\Inflector\\Inflector' => $vendorDir . '/doctrine/inflector/lib/Doctrine/Inflector/Inflector.php', + 'RectorPrefix20220520\\Doctrine\\Inflector\\InflectorFactory' => $vendorDir . '/doctrine/inflector/lib/Doctrine/Inflector/InflectorFactory.php', + 'RectorPrefix20220520\\Doctrine\\Inflector\\Language' => $vendorDir . '/doctrine/inflector/lib/Doctrine/Inflector/Language.php', + 'RectorPrefix20220520\\Doctrine\\Inflector\\LanguageInflectorFactory' => $vendorDir . '/doctrine/inflector/lib/Doctrine/Inflector/LanguageInflectorFactory.php', + 'RectorPrefix20220520\\Doctrine\\Inflector\\NoopWordInflector' => $vendorDir . '/doctrine/inflector/lib/Doctrine/Inflector/NoopWordInflector.php', + 'RectorPrefix20220520\\Doctrine\\Inflector\\Rules\\English\\Inflectible' => $vendorDir . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/English/Inflectible.php', + 'RectorPrefix20220520\\Doctrine\\Inflector\\Rules\\English\\InflectorFactory' => $vendorDir . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/English/InflectorFactory.php', + 'RectorPrefix20220520\\Doctrine\\Inflector\\Rules\\English\\Rules' => $vendorDir . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/English/Rules.php', + 'RectorPrefix20220520\\Doctrine\\Inflector\\Rules\\English\\Uninflected' => $vendorDir . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/English/Uninflected.php', + 'RectorPrefix20220520\\Doctrine\\Inflector\\Rules\\French\\Inflectible' => $vendorDir . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/French/Inflectible.php', + 'RectorPrefix20220520\\Doctrine\\Inflector\\Rules\\French\\InflectorFactory' => $vendorDir . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/French/InflectorFactory.php', + 'RectorPrefix20220520\\Doctrine\\Inflector\\Rules\\French\\Rules' => $vendorDir . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/French/Rules.php', + 'RectorPrefix20220520\\Doctrine\\Inflector\\Rules\\French\\Uninflected' => $vendorDir . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/French/Uninflected.php', + 'RectorPrefix20220520\\Doctrine\\Inflector\\Rules\\NorwegianBokmal\\Inflectible' => $vendorDir . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/NorwegianBokmal/Inflectible.php', + 'RectorPrefix20220520\\Doctrine\\Inflector\\Rules\\NorwegianBokmal\\InflectorFactory' => $vendorDir . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/NorwegianBokmal/InflectorFactory.php', + 'RectorPrefix20220520\\Doctrine\\Inflector\\Rules\\NorwegianBokmal\\Rules' => $vendorDir . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/NorwegianBokmal/Rules.php', + 'RectorPrefix20220520\\Doctrine\\Inflector\\Rules\\NorwegianBokmal\\Uninflected' => $vendorDir . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/NorwegianBokmal/Uninflected.php', + 'RectorPrefix20220520\\Doctrine\\Inflector\\Rules\\Pattern' => $vendorDir . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/Pattern.php', + 'RectorPrefix20220520\\Doctrine\\Inflector\\Rules\\Patterns' => $vendorDir . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/Patterns.php', + 'RectorPrefix20220520\\Doctrine\\Inflector\\Rules\\Portuguese\\Inflectible' => $vendorDir . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/Portuguese/Inflectible.php', + 'RectorPrefix20220520\\Doctrine\\Inflector\\Rules\\Portuguese\\InflectorFactory' => $vendorDir . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/Portuguese/InflectorFactory.php', + 'RectorPrefix20220520\\Doctrine\\Inflector\\Rules\\Portuguese\\Rules' => $vendorDir . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/Portuguese/Rules.php', + 'RectorPrefix20220520\\Doctrine\\Inflector\\Rules\\Portuguese\\Uninflected' => $vendorDir . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/Portuguese/Uninflected.php', + 'RectorPrefix20220520\\Doctrine\\Inflector\\Rules\\Ruleset' => $vendorDir . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/Ruleset.php', + 'RectorPrefix20220520\\Doctrine\\Inflector\\Rules\\Spanish\\Inflectible' => $vendorDir . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/Spanish/Inflectible.php', + 'RectorPrefix20220520\\Doctrine\\Inflector\\Rules\\Spanish\\InflectorFactory' => $vendorDir . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/Spanish/InflectorFactory.php', + 'RectorPrefix20220520\\Doctrine\\Inflector\\Rules\\Spanish\\Rules' => $vendorDir . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/Spanish/Rules.php', + 'RectorPrefix20220520\\Doctrine\\Inflector\\Rules\\Spanish\\Uninflected' => $vendorDir . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/Spanish/Uninflected.php', + 'RectorPrefix20220520\\Doctrine\\Inflector\\Rules\\Substitution' => $vendorDir . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/Substitution.php', + 'RectorPrefix20220520\\Doctrine\\Inflector\\Rules\\Substitutions' => $vendorDir . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/Substitutions.php', + 'RectorPrefix20220520\\Doctrine\\Inflector\\Rules\\Transformation' => $vendorDir . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/Transformation.php', + 'RectorPrefix20220520\\Doctrine\\Inflector\\Rules\\Transformations' => $vendorDir . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/Transformations.php', + 'RectorPrefix20220520\\Doctrine\\Inflector\\Rules\\Turkish\\Inflectible' => $vendorDir . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/Turkish/Inflectible.php', + 'RectorPrefix20220520\\Doctrine\\Inflector\\Rules\\Turkish\\InflectorFactory' => $vendorDir . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/Turkish/InflectorFactory.php', + 'RectorPrefix20220520\\Doctrine\\Inflector\\Rules\\Turkish\\Rules' => $vendorDir . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/Turkish/Rules.php', + 'RectorPrefix20220520\\Doctrine\\Inflector\\Rules\\Turkish\\Uninflected' => $vendorDir . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/Turkish/Uninflected.php', + 'RectorPrefix20220520\\Doctrine\\Inflector\\Rules\\Word' => $vendorDir . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/Word.php', + 'RectorPrefix20220520\\Doctrine\\Inflector\\RulesetInflector' => $vendorDir . '/doctrine/inflector/lib/Doctrine/Inflector/RulesetInflector.php', + 'RectorPrefix20220520\\Doctrine\\Inflector\\WordInflector' => $vendorDir . '/doctrine/inflector/lib/Doctrine/Inflector/WordInflector.php', + 'RectorPrefix20220520\\Ergebnis\\Json\\Printer\\Printer' => $vendorDir . '/ergebnis/json-printer/src/Printer.php', + 'RectorPrefix20220520\\Ergebnis\\Json\\Printer\\PrinterInterface' => $vendorDir . '/ergebnis/json-printer/src/PrinterInterface.php', + 'RectorPrefix20220520\\Evenement\\EventEmitter' => $vendorDir . '/evenement/evenement/src/Evenement/EventEmitter.php', + 'RectorPrefix20220520\\Evenement\\EventEmitterInterface' => $vendorDir . '/evenement/evenement/src/Evenement/EventEmitterInterface.php', + 'RectorPrefix20220520\\Evenement\\EventEmitterTrait' => $vendorDir . '/evenement/evenement/src/Evenement/EventEmitterTrait.php', + 'RectorPrefix20220520\\Helmich\\TypoScriptParser\\Parser\\AST\\Builder' => $vendorDir . '/helmich/typo3-typoscript-parser/src/Parser/AST/Builder.php', + 'RectorPrefix20220520\\Helmich\\TypoScriptParser\\Parser\\AST\\Comment' => $vendorDir . '/helmich/typo3-typoscript-parser/src/Parser/AST/Comment.php', + 'RectorPrefix20220520\\Helmich\\TypoScriptParser\\Parser\\AST\\ConditionalStatement' => $vendorDir . '/helmich/typo3-typoscript-parser/src/Parser/AST/ConditionalStatement.php', + 'RectorPrefix20220520\\Helmich\\TypoScriptParser\\Parser\\AST\\DirectoryIncludeStatement' => $vendorDir . '/helmich/typo3-typoscript-parser/src/Parser/AST/DirectoryIncludeStatement.php', + 'RectorPrefix20220520\\Helmich\\TypoScriptParser\\Parser\\AST\\FileIncludeStatement' => $vendorDir . '/helmich/typo3-typoscript-parser/src/Parser/AST/FileIncludeStatement.php', + 'RectorPrefix20220520\\Helmich\\TypoScriptParser\\Parser\\AST\\IncludeStatement' => $vendorDir . '/helmich/typo3-typoscript-parser/src/Parser/AST/IncludeStatement.php', + 'RectorPrefix20220520\\Helmich\\TypoScriptParser\\Parser\\AST\\MultilineComment' => $vendorDir . '/helmich/typo3-typoscript-parser/src/Parser/AST/MultilineComment.php', + 'RectorPrefix20220520\\Helmich\\TypoScriptParser\\Parser\\AST\\NestedAssignment' => $vendorDir . '/helmich/typo3-typoscript-parser/src/Parser/AST/NestedAssignment.php', + 'RectorPrefix20220520\\Helmich\\TypoScriptParser\\Parser\\AST\\NopStatement' => $vendorDir . '/helmich/typo3-typoscript-parser/src/Parser/AST/NopStatement.php', + 'RectorPrefix20220520\\Helmich\\TypoScriptParser\\Parser\\AST\\ObjectPath' => $vendorDir . '/helmich/typo3-typoscript-parser/src/Parser/AST/ObjectPath.php', + 'RectorPrefix20220520\\Helmich\\TypoScriptParser\\Parser\\AST\\Operator\\Assignment' => $vendorDir . '/helmich/typo3-typoscript-parser/src/Parser/AST/Operator/Assignment.php', + 'RectorPrefix20220520\\Helmich\\TypoScriptParser\\Parser\\AST\\Operator\\BinaryObjectOperator' => $vendorDir . '/helmich/typo3-typoscript-parser/src/Parser/AST/Operator/BinaryObjectOperator.php', + 'RectorPrefix20220520\\Helmich\\TypoScriptParser\\Parser\\AST\\Operator\\BinaryOperator' => $vendorDir . '/helmich/typo3-typoscript-parser/src/Parser/AST/Operator/BinaryOperator.php', + 'RectorPrefix20220520\\Helmich\\TypoScriptParser\\Parser\\AST\\Operator\\Builder' => $vendorDir . '/helmich/typo3-typoscript-parser/src/Parser/AST/Operator/Builder.php', + 'RectorPrefix20220520\\Helmich\\TypoScriptParser\\Parser\\AST\\Operator\\Copy' => $vendorDir . '/helmich/typo3-typoscript-parser/src/Parser/AST/Operator/Copy.php', + 'RectorPrefix20220520\\Helmich\\TypoScriptParser\\Parser\\AST\\Operator\\Delete' => $vendorDir . '/helmich/typo3-typoscript-parser/src/Parser/AST/Operator/Delete.php', + 'RectorPrefix20220520\\Helmich\\TypoScriptParser\\Parser\\AST\\Operator\\Modification' => $vendorDir . '/helmich/typo3-typoscript-parser/src/Parser/AST/Operator/Modification.php', + 'RectorPrefix20220520\\Helmich\\TypoScriptParser\\Parser\\AST\\Operator\\ModificationCall' => $vendorDir . '/helmich/typo3-typoscript-parser/src/Parser/AST/Operator/ModificationCall.php', + 'RectorPrefix20220520\\Helmich\\TypoScriptParser\\Parser\\AST\\Operator\\ObjectCreation' => $vendorDir . '/helmich/typo3-typoscript-parser/src/Parser/AST/Operator/ObjectCreation.php', + 'RectorPrefix20220520\\Helmich\\TypoScriptParser\\Parser\\AST\\Operator\\Reference' => $vendorDir . '/helmich/typo3-typoscript-parser/src/Parser/AST/Operator/Reference.php', + 'RectorPrefix20220520\\Helmich\\TypoScriptParser\\Parser\\AST\\Operator\\UnaryOperator' => $vendorDir . '/helmich/typo3-typoscript-parser/src/Parser/AST/Operator/UnaryOperator.php', + 'RectorPrefix20220520\\Helmich\\TypoScriptParser\\Parser\\AST\\RootObjectPath' => $vendorDir . '/helmich/typo3-typoscript-parser/src/Parser/AST/RootObjectPath.php', + 'RectorPrefix20220520\\Helmich\\TypoScriptParser\\Parser\\AST\\Scalar' => $vendorDir . '/helmich/typo3-typoscript-parser/src/Parser/AST/Scalar.php', + 'RectorPrefix20220520\\Helmich\\TypoScriptParser\\Parser\\AST\\Statement' => $vendorDir . '/helmich/typo3-typoscript-parser/src/Parser/AST/Statement.php', + 'RectorPrefix20220520\\Helmich\\TypoScriptParser\\Parser\\ParseError' => $vendorDir . '/helmich/typo3-typoscript-parser/src/Parser/ParseError.php', + 'RectorPrefix20220520\\Helmich\\TypoScriptParser\\Parser\\Parser' => $vendorDir . '/helmich/typo3-typoscript-parser/src/Parser/Parser.php', + 'RectorPrefix20220520\\Helmich\\TypoScriptParser\\Parser\\ParserInterface' => $vendorDir . '/helmich/typo3-typoscript-parser/src/Parser/ParserInterface.php', + 'RectorPrefix20220520\\Helmich\\TypoScriptParser\\Parser\\ParserState' => $vendorDir . '/helmich/typo3-typoscript-parser/src/Parser/ParserState.php', + 'RectorPrefix20220520\\Helmich\\TypoScriptParser\\Parser\\Printer\\ASTPrinterInterface' => $vendorDir . '/helmich/typo3-typoscript-parser/src/Parser/Printer/ASTPrinterInterface.php', + 'RectorPrefix20220520\\Helmich\\TypoScriptParser\\Parser\\Printer\\PrettyPrinter' => $vendorDir . '/helmich/typo3-typoscript-parser/src/Parser/Printer/PrettyPrinter.php', + 'RectorPrefix20220520\\Helmich\\TypoScriptParser\\Parser\\Printer\\PrettyPrinterConfiguration' => $vendorDir . '/helmich/typo3-typoscript-parser/src/Parser/Printer/PrettyPrinterConfiguration.php', + 'RectorPrefix20220520\\Helmich\\TypoScriptParser\\Parser\\TokenStream' => $vendorDir . '/helmich/typo3-typoscript-parser/src/Parser/TokenStream.php', + 'RectorPrefix20220520\\Helmich\\TypoScriptParser\\Parser\\Traverser\\AggregatingVisitor' => $vendorDir . '/helmich/typo3-typoscript-parser/src/Parser/Traverser/AggregatingVisitor.php', + 'RectorPrefix20220520\\Helmich\\TypoScriptParser\\Parser\\Traverser\\Traverser' => $vendorDir . '/helmich/typo3-typoscript-parser/src/Parser/Traverser/Traverser.php', + 'RectorPrefix20220520\\Helmich\\TypoScriptParser\\Parser\\Traverser\\Visitor' => $vendorDir . '/helmich/typo3-typoscript-parser/src/Parser/Traverser/Visitor.php', + 'RectorPrefix20220520\\Helmich\\TypoScriptParser\\Tokenizer\\LineGrouper' => $vendorDir . '/helmich/typo3-typoscript-parser/src/Tokenizer/LineGrouper.php', + 'RectorPrefix20220520\\Helmich\\TypoScriptParser\\Tokenizer\\MultilineTokenBuilder' => $vendorDir . '/helmich/typo3-typoscript-parser/src/Tokenizer/MultilineTokenBuilder.php', + 'RectorPrefix20220520\\Helmich\\TypoScriptParser\\Tokenizer\\Preprocessing\\NoOpPreprocessor' => $vendorDir . '/helmich/typo3-typoscript-parser/src/Tokenizer/Preprocessing/NoOpPreprocessor.php', + 'RectorPrefix20220520\\Helmich\\TypoScriptParser\\Tokenizer\\Preprocessing\\Preprocessor' => $vendorDir . '/helmich/typo3-typoscript-parser/src/Tokenizer/Preprocessing/Preprocessor.php', + 'RectorPrefix20220520\\Helmich\\TypoScriptParser\\Tokenizer\\Preprocessing\\ProcessorChain' => $vendorDir . '/helmich/typo3-typoscript-parser/src/Tokenizer/Preprocessing/ProcessorChain.php', + 'RectorPrefix20220520\\Helmich\\TypoScriptParser\\Tokenizer\\Preprocessing\\RemoveTrailingWhitespacePreprocessor' => $vendorDir . '/helmich/typo3-typoscript-parser/src/Tokenizer/Preprocessing/RemoveTrailingWhitespacePreprocessor.php', + 'RectorPrefix20220520\\Helmich\\TypoScriptParser\\Tokenizer\\Preprocessing\\StandardPreprocessor' => $vendorDir . '/helmich/typo3-typoscript-parser/src/Tokenizer/Preprocessing/StandardPreprocessor.php', + 'RectorPrefix20220520\\Helmich\\TypoScriptParser\\Tokenizer\\Preprocessing\\UnifyLineEndingsPreprocessor' => $vendorDir . '/helmich/typo3-typoscript-parser/src/Tokenizer/Preprocessing/UnifyLineEndingsPreprocessor.php', + 'RectorPrefix20220520\\Helmich\\TypoScriptParser\\Tokenizer\\Printer\\CodeTokenPrinter' => $vendorDir . '/helmich/typo3-typoscript-parser/src/Tokenizer/Printer/CodeTokenPrinter.php', + 'RectorPrefix20220520\\Helmich\\TypoScriptParser\\Tokenizer\\Printer\\StructuredTokenPrinter' => $vendorDir . '/helmich/typo3-typoscript-parser/src/Tokenizer/Printer/StructuredTokenPrinter.php', + 'RectorPrefix20220520\\Helmich\\TypoScriptParser\\Tokenizer\\Printer\\TokenPrinterInterface' => $vendorDir . '/helmich/typo3-typoscript-parser/src/Tokenizer/Printer/TokenPrinterInterface.php', + 'RectorPrefix20220520\\Helmich\\TypoScriptParser\\Tokenizer\\Scanner' => $vendorDir . '/helmich/typo3-typoscript-parser/src/Tokenizer/Scanner.php', + 'RectorPrefix20220520\\Helmich\\TypoScriptParser\\Tokenizer\\ScannerLine' => $vendorDir . '/helmich/typo3-typoscript-parser/src/Tokenizer/ScannerLine.php', + 'RectorPrefix20220520\\Helmich\\TypoScriptParser\\Tokenizer\\Token' => $vendorDir . '/helmich/typo3-typoscript-parser/src/Tokenizer/Token.php', + 'RectorPrefix20220520\\Helmich\\TypoScriptParser\\Tokenizer\\TokenInterface' => $vendorDir . '/helmich/typo3-typoscript-parser/src/Tokenizer/TokenInterface.php', + 'RectorPrefix20220520\\Helmich\\TypoScriptParser\\Tokenizer\\TokenStreamBuilder' => $vendorDir . '/helmich/typo3-typoscript-parser/src/Tokenizer/TokenStreamBuilder.php', + 'RectorPrefix20220520\\Helmich\\TypoScriptParser\\Tokenizer\\Tokenizer' => $vendorDir . '/helmich/typo3-typoscript-parser/src/Tokenizer/Tokenizer.php', + 'RectorPrefix20220520\\Helmich\\TypoScriptParser\\Tokenizer\\TokenizerException' => $vendorDir . '/helmich/typo3-typoscript-parser/src/Tokenizer/TokenizerException.php', + 'RectorPrefix20220520\\Helmich\\TypoScriptParser\\Tokenizer\\TokenizerInterface' => $vendorDir . '/helmich/typo3-typoscript-parser/src/Tokenizer/TokenizerInterface.php', + 'RectorPrefix20220520\\Helmich\\TypoScriptParser\\Tokenizer\\UnknownOperatorException' => $vendorDir . '/helmich/typo3-typoscript-parser/src/Tokenizer/UnknownOperatorException.php', + 'RectorPrefix20220520\\Helmich\\TypoScriptParser\\TypoScriptParserExtension' => $vendorDir . '/helmich/typo3-typoscript-parser/src/TypoScriptParserExtension.php', + 'RectorPrefix20220520\\Idiosyncratic\\EditorConfig\\Declaration\\BooleanDeclaration' => $vendorDir . '/idiosyncratic/editorconfig/src/Declaration/BooleanDeclaration.php', + 'RectorPrefix20220520\\Idiosyncratic\\EditorConfig\\Declaration\\Charset' => $vendorDir . '/idiosyncratic/editorconfig/src/Declaration/Charset.php', + 'RectorPrefix20220520\\Idiosyncratic\\EditorConfig\\Declaration\\Declaration' => $vendorDir . '/idiosyncratic/editorconfig/src/Declaration/Declaration.php', + 'RectorPrefix20220520\\Idiosyncratic\\EditorConfig\\Declaration\\EndOfLine' => $vendorDir . '/idiosyncratic/editorconfig/src/Declaration/EndOfLine.php', + 'RectorPrefix20220520\\Idiosyncratic\\EditorConfig\\Declaration\\Factory' => $vendorDir . '/idiosyncratic/editorconfig/src/Declaration/Factory.php', + 'RectorPrefix20220520\\Idiosyncratic\\EditorConfig\\Declaration\\GenericDeclaration' => $vendorDir . '/idiosyncratic/editorconfig/src/Declaration/GenericDeclaration.php', + 'RectorPrefix20220520\\Idiosyncratic\\EditorConfig\\Declaration\\IndentSize' => $vendorDir . '/idiosyncratic/editorconfig/src/Declaration/IndentSize.php', + 'RectorPrefix20220520\\Idiosyncratic\\EditorConfig\\Declaration\\IndentStyle' => $vendorDir . '/idiosyncratic/editorconfig/src/Declaration/IndentStyle.php', + 'RectorPrefix20220520\\Idiosyncratic\\EditorConfig\\Declaration\\InsertFinalNewline' => $vendorDir . '/idiosyncratic/editorconfig/src/Declaration/InsertFinalNewline.php', + 'RectorPrefix20220520\\Idiosyncratic\\EditorConfig\\Declaration\\MaxLineLength' => $vendorDir . '/idiosyncratic/editorconfig/src/Declaration/MaxLineLength.php', + 'RectorPrefix20220520\\Idiosyncratic\\EditorConfig\\Declaration\\TabWidth' => $vendorDir . '/idiosyncratic/editorconfig/src/Declaration/TabWidth.php', + 'RectorPrefix20220520\\Idiosyncratic\\EditorConfig\\Declaration\\TrimTrailingWhitespace' => $vendorDir . '/idiosyncratic/editorconfig/src/Declaration/TrimTrailingWhitespace.php', + 'RectorPrefix20220520\\Idiosyncratic\\EditorConfig\\Declaration\\UnsetDeclaration' => $vendorDir . '/idiosyncratic/editorconfig/src/Declaration/UnsetDeclaration.php', + 'RectorPrefix20220520\\Idiosyncratic\\EditorConfig\\EditorConfig' => $vendorDir . '/idiosyncratic/editorconfig/src/EditorConfig.php', + 'RectorPrefix20220520\\Idiosyncratic\\EditorConfig\\EditorConfigFile' => $vendorDir . '/idiosyncratic/editorconfig/src/EditorConfigFile.php', + 'RectorPrefix20220520\\Idiosyncratic\\EditorConfig\\Exception\\InvalidValue' => $vendorDir . '/idiosyncratic/editorconfig/src/Exception/InvalidValue.php', + 'RectorPrefix20220520\\Idiosyncratic\\EditorConfig\\Section' => $vendorDir . '/idiosyncratic/editorconfig/src/Section.php', + 'RectorPrefix20220520\\MyCLabs\\Enum\\Enum' => $vendorDir . '/myclabs/php-enum/src/Enum.php', + 'RectorPrefix20220520\\MyCLabs\\Enum\\PHPUnit\\Comparator' => $vendorDir . '/myclabs/php-enum/src/PHPUnit/Comparator.php', + 'RectorPrefix20220520\\Nette\\ArgumentOutOfRangeException' => $vendorDir . '/nette/utils/src/exceptions.php', + 'RectorPrefix20220520\\Nette\\DeprecatedException' => $vendorDir . '/nette/utils/src/exceptions.php', + 'RectorPrefix20220520\\Nette\\DirectoryNotFoundException' => $vendorDir . '/nette/utils/src/exceptions.php', + 'RectorPrefix20220520\\Nette\\FileNotFoundException' => $vendorDir . '/nette/utils/src/exceptions.php', + 'RectorPrefix20220520\\Nette\\HtmlStringable' => $vendorDir . '/nette/utils/src/HtmlStringable.php', + 'RectorPrefix20220520\\Nette\\IOException' => $vendorDir . '/nette/utils/src/exceptions.php', + 'RectorPrefix20220520\\Nette\\InvalidArgumentException' => $vendorDir . '/nette/utils/src/exceptions.php', + 'RectorPrefix20220520\\Nette\\InvalidStateException' => $vendorDir . '/nette/utils/src/exceptions.php', + 'RectorPrefix20220520\\Nette\\Iterators\\CachingIterator' => $vendorDir . '/nette/utils/src/Iterators/CachingIterator.php', + 'RectorPrefix20220520\\Nette\\Iterators\\Mapper' => $vendorDir . '/nette/utils/src/Iterators/Mapper.php', + 'RectorPrefix20220520\\Nette\\Localization\\ITranslator' => $vendorDir . '/nette/utils/src/compatibility.php', + 'RectorPrefix20220520\\Nette\\Localization\\Translator' => $vendorDir . '/nette/utils/src/Translator.php', + 'RectorPrefix20220520\\Nette\\MemberAccessException' => $vendorDir . '/nette/utils/src/exceptions.php', + 'RectorPrefix20220520\\Nette\\Neon\\Decoder' => $vendorDir . '/nette/neon/src/Neon/Decoder.php', + 'RectorPrefix20220520\\Nette\\Neon\\Encoder' => $vendorDir . '/nette/neon/src/Neon/Encoder.php', + 'RectorPrefix20220520\\Nette\\Neon\\Entity' => $vendorDir . '/nette/neon/src/Neon/Entity.php', + 'RectorPrefix20220520\\Nette\\Neon\\Exception' => $vendorDir . '/nette/neon/src/Neon/Exception.php', + 'RectorPrefix20220520\\Nette\\Neon\\Lexer' => $vendorDir . '/nette/neon/src/Neon/Lexer.php', + 'RectorPrefix20220520\\Nette\\Neon\\Neon' => $vendorDir . '/nette/neon/src/Neon/Neon.php', + 'RectorPrefix20220520\\Nette\\Neon\\Node' => $vendorDir . '/nette/neon/src/Neon/Node.php', + 'RectorPrefix20220520\\Nette\\Neon\\Node\\ArrayItemNode' => $vendorDir . '/nette/neon/src/Neon/Node/ArrayItemNode.php', + 'RectorPrefix20220520\\Nette\\Neon\\Node\\ArrayNode' => $vendorDir . '/nette/neon/src/Neon/Node/ArrayNode.php', + 'RectorPrefix20220520\\Nette\\Neon\\Node\\BlockArrayNode' => $vendorDir . '/nette/neon/src/Neon/Node/BlockArrayNode.php', + 'RectorPrefix20220520\\Nette\\Neon\\Node\\EntityChainNode' => $vendorDir . '/nette/neon/src/Neon/Node/EntityChainNode.php', + 'RectorPrefix20220520\\Nette\\Neon\\Node\\EntityNode' => $vendorDir . '/nette/neon/src/Neon/Node/EntityNode.php', + 'RectorPrefix20220520\\Nette\\Neon\\Node\\InlineArrayNode' => $vendorDir . '/nette/neon/src/Neon/Node/InlineArrayNode.php', + 'RectorPrefix20220520\\Nette\\Neon\\Node\\LiteralNode' => $vendorDir . '/nette/neon/src/Neon/Node/LiteralNode.php', + 'RectorPrefix20220520\\Nette\\Neon\\Node\\StringNode' => $vendorDir . '/nette/neon/src/Neon/Node/StringNode.php', + 'RectorPrefix20220520\\Nette\\Neon\\Parser' => $vendorDir . '/nette/neon/src/Neon/Parser.php', + 'RectorPrefix20220520\\Nette\\Neon\\Token' => $vendorDir . '/nette/neon/src/Neon/Token.php', + 'RectorPrefix20220520\\Nette\\Neon\\TokenStream' => $vendorDir . '/nette/neon/src/Neon/TokenStream.php', + 'RectorPrefix20220520\\Nette\\Neon\\Traverser' => $vendorDir . '/nette/neon/src/Neon/Traverser.php', + 'RectorPrefix20220520\\Nette\\NotImplementedException' => $vendorDir . '/nette/utils/src/exceptions.php', + 'RectorPrefix20220520\\Nette\\NotSupportedException' => $vendorDir . '/nette/utils/src/exceptions.php', + 'RectorPrefix20220520\\Nette\\OutOfRangeException' => $vendorDir . '/nette/utils/src/exceptions.php', + 'RectorPrefix20220520\\Nette\\SmartObject' => $vendorDir . '/nette/utils/src/SmartObject.php', + 'RectorPrefix20220520\\Nette\\StaticClass' => $vendorDir . '/nette/utils/src/StaticClass.php', + 'RectorPrefix20220520\\Nette\\UnexpectedValueException' => $vendorDir . '/nette/utils/src/exceptions.php', + 'RectorPrefix20220520\\Nette\\Utils\\ArrayHash' => $vendorDir . '/nette/utils/src/Utils/ArrayHash.php', + 'RectorPrefix20220520\\Nette\\Utils\\ArrayList' => $vendorDir . '/nette/utils/src/Utils/ArrayList.php', + 'RectorPrefix20220520\\Nette\\Utils\\Arrays' => $vendorDir . '/nette/utils/src/Utils/Arrays.php', + 'RectorPrefix20220520\\Nette\\Utils\\AssertionException' => $vendorDir . '/nette/utils/src/Utils/exceptions.php', + 'RectorPrefix20220520\\Nette\\Utils\\Callback' => $vendorDir . '/nette/utils/src/Utils/Callback.php', + 'RectorPrefix20220520\\Nette\\Utils\\DateTime' => $vendorDir . '/nette/utils/src/Utils/DateTime.php', + 'RectorPrefix20220520\\Nette\\Utils\\FileSystem' => $vendorDir . '/nette/utils/src/Utils/FileSystem.php', + 'RectorPrefix20220520\\Nette\\Utils\\Floats' => $vendorDir . '/nette/utils/src/Utils/Floats.php', + 'RectorPrefix20220520\\Nette\\Utils\\Helpers' => $vendorDir . '/nette/utils/src/Utils/Helpers.php', + 'RectorPrefix20220520\\Nette\\Utils\\Html' => $vendorDir . '/nette/utils/src/Utils/Html.php', + 'RectorPrefix20220520\\Nette\\Utils\\IHtmlString' => $vendorDir . '/nette/utils/src/compatibility.php', + 'RectorPrefix20220520\\Nette\\Utils\\Image' => $vendorDir . '/nette/utils/src/Utils/Image.php', + 'RectorPrefix20220520\\Nette\\Utils\\ImageException' => $vendorDir . '/nette/utils/src/Utils/exceptions.php', + 'RectorPrefix20220520\\Nette\\Utils\\Json' => $vendorDir . '/nette/utils/src/Utils/Json.php', + 'RectorPrefix20220520\\Nette\\Utils\\JsonException' => $vendorDir . '/nette/utils/src/Utils/exceptions.php', + 'RectorPrefix20220520\\Nette\\Utils\\ObjectHelpers' => $vendorDir . '/nette/utils/src/Utils/ObjectHelpers.php', + 'RectorPrefix20220520\\Nette\\Utils\\ObjectMixin' => $vendorDir . '/nette/utils/src/Utils/ObjectMixin.php', + 'RectorPrefix20220520\\Nette\\Utils\\Paginator' => $vendorDir . '/nette/utils/src/Utils/Paginator.php', + 'RectorPrefix20220520\\Nette\\Utils\\Random' => $vendorDir . '/nette/utils/src/Utils/Random.php', + 'RectorPrefix20220520\\Nette\\Utils\\Reflection' => $vendorDir . '/nette/utils/src/Utils/Reflection.php', + 'RectorPrefix20220520\\Nette\\Utils\\RegexpException' => $vendorDir . '/nette/utils/src/Utils/exceptions.php', + 'RectorPrefix20220520\\Nette\\Utils\\Strings' => $vendorDir . '/nette/utils/src/Utils/Strings.php', + 'RectorPrefix20220520\\Nette\\Utils\\Type' => $vendorDir . '/nette/utils/src/Utils/Type.php', + 'RectorPrefix20220520\\Nette\\Utils\\UnknownImageFileException' => $vendorDir . '/nette/utils/src/Utils/exceptions.php', + 'RectorPrefix20220520\\Nette\\Utils\\Validators' => $vendorDir . '/nette/utils/src/Utils/Validators.php', + 'RectorPrefix20220520\\OndraM\\CiDetector\\CiDetector' => $vendorDir . '/ondram/ci-detector/src/CiDetector.php', + 'RectorPrefix20220520\\OndraM\\CiDetector\\CiDetectorInterface' => $vendorDir . '/ondram/ci-detector/src/CiDetectorInterface.php', + 'RectorPrefix20220520\\OndraM\\CiDetector\\Ci\\AbstractCi' => $vendorDir . '/ondram/ci-detector/src/Ci/AbstractCi.php', + 'RectorPrefix20220520\\OndraM\\CiDetector\\Ci\\AppVeyor' => $vendorDir . '/ondram/ci-detector/src/Ci/AppVeyor.php', + 'RectorPrefix20220520\\OndraM\\CiDetector\\Ci\\AwsCodeBuild' => $vendorDir . '/ondram/ci-detector/src/Ci/AwsCodeBuild.php', + 'RectorPrefix20220520\\OndraM\\CiDetector\\Ci\\AzurePipelines' => $vendorDir . '/ondram/ci-detector/src/Ci/AzurePipelines.php', + 'RectorPrefix20220520\\OndraM\\CiDetector\\Ci\\Bamboo' => $vendorDir . '/ondram/ci-detector/src/Ci/Bamboo.php', + 'RectorPrefix20220520\\OndraM\\CiDetector\\Ci\\BitbucketPipelines' => $vendorDir . '/ondram/ci-detector/src/Ci/BitbucketPipelines.php', + 'RectorPrefix20220520\\OndraM\\CiDetector\\Ci\\Buddy' => $vendorDir . '/ondram/ci-detector/src/Ci/Buddy.php', + 'RectorPrefix20220520\\OndraM\\CiDetector\\Ci\\CiInterface' => $vendorDir . '/ondram/ci-detector/src/Ci/CiInterface.php', + 'RectorPrefix20220520\\OndraM\\CiDetector\\Ci\\Circle' => $vendorDir . '/ondram/ci-detector/src/Ci/Circle.php', + 'RectorPrefix20220520\\OndraM\\CiDetector\\Ci\\Codeship' => $vendorDir . '/ondram/ci-detector/src/Ci/Codeship.php', + 'RectorPrefix20220520\\OndraM\\CiDetector\\Ci\\Continuousphp' => $vendorDir . '/ondram/ci-detector/src/Ci/Continuousphp.php', + 'RectorPrefix20220520\\OndraM\\CiDetector\\Ci\\Drone' => $vendorDir . '/ondram/ci-detector/src/Ci/Drone.php', + 'RectorPrefix20220520\\OndraM\\CiDetector\\Ci\\GitHubActions' => $vendorDir . '/ondram/ci-detector/src/Ci/GitHubActions.php', + 'RectorPrefix20220520\\OndraM\\CiDetector\\Ci\\GitLab' => $vendorDir . '/ondram/ci-detector/src/Ci/GitLab.php', + 'RectorPrefix20220520\\OndraM\\CiDetector\\Ci\\Jenkins' => $vendorDir . '/ondram/ci-detector/src/Ci/Jenkins.php', + 'RectorPrefix20220520\\OndraM\\CiDetector\\Ci\\SourceHut' => $vendorDir . '/ondram/ci-detector/src/Ci/SourceHut.php', + 'RectorPrefix20220520\\OndraM\\CiDetector\\Ci\\TeamCity' => $vendorDir . '/ondram/ci-detector/src/Ci/TeamCity.php', + 'RectorPrefix20220520\\OndraM\\CiDetector\\Ci\\Travis' => $vendorDir . '/ondram/ci-detector/src/Ci/Travis.php', + 'RectorPrefix20220520\\OndraM\\CiDetector\\Ci\\Wercker' => $vendorDir . '/ondram/ci-detector/src/Ci/Wercker.php', + 'RectorPrefix20220520\\OndraM\\CiDetector\\Env' => $vendorDir . '/ondram/ci-detector/src/Env.php', + 'RectorPrefix20220520\\OndraM\\CiDetector\\Exception\\CiNotDetectedException' => $vendorDir . '/ondram/ci-detector/src/Exception/CiNotDetectedException.php', + 'RectorPrefix20220520\\OndraM\\CiDetector\\TrinaryLogic' => $vendorDir . '/ondram/ci-detector/src/TrinaryLogic.php', + 'RectorPrefix20220520\\Psr\\Cache\\CacheException' => $vendorDir . '/psr/cache/src/CacheException.php', + 'RectorPrefix20220520\\Psr\\Cache\\CacheItemInterface' => $vendorDir . '/psr/cache/src/CacheItemInterface.php', + 'RectorPrefix20220520\\Psr\\Cache\\CacheItemPoolInterface' => $vendorDir . '/psr/cache/src/CacheItemPoolInterface.php', + 'RectorPrefix20220520\\Psr\\Cache\\InvalidArgumentException' => $vendorDir . '/psr/cache/src/InvalidArgumentException.php', + 'RectorPrefix20220520\\Psr\\Container\\ContainerExceptionInterface' => $vendorDir . '/psr/container/src/ContainerExceptionInterface.php', + 'RectorPrefix20220520\\Psr\\Container\\ContainerInterface' => $vendorDir . '/psr/container/src/ContainerInterface.php', + 'RectorPrefix20220520\\Psr\\Container\\NotFoundExceptionInterface' => $vendorDir . '/psr/container/src/NotFoundExceptionInterface.php', + 'RectorPrefix20220520\\Psr\\EventDispatcher\\EventDispatcherInterface' => $vendorDir . '/psr/event-dispatcher/src/EventDispatcherInterface.php', + 'RectorPrefix20220520\\Psr\\EventDispatcher\\ListenerProviderInterface' => $vendorDir . '/psr/event-dispatcher/src/ListenerProviderInterface.php', + 'RectorPrefix20220520\\Psr\\EventDispatcher\\StoppableEventInterface' => $vendorDir . '/psr/event-dispatcher/src/StoppableEventInterface.php', + 'RectorPrefix20220520\\Psr\\Log\\AbstractLogger' => $vendorDir . '/psr/log/src/AbstractLogger.php', + 'RectorPrefix20220520\\Psr\\Log\\InvalidArgumentException' => $vendorDir . '/psr/log/src/InvalidArgumentException.php', + 'RectorPrefix20220520\\Psr\\Log\\LogLevel' => $vendorDir . '/psr/log/src/LogLevel.php', + 'RectorPrefix20220520\\Psr\\Log\\LoggerAwareInterface' => $vendorDir . '/psr/log/src/LoggerAwareInterface.php', + 'RectorPrefix20220520\\Psr\\Log\\LoggerAwareTrait' => $vendorDir . '/psr/log/src/LoggerAwareTrait.php', + 'RectorPrefix20220520\\Psr\\Log\\LoggerInterface' => $vendorDir . '/psr/log/src/LoggerInterface.php', + 'RectorPrefix20220520\\Psr\\Log\\LoggerTrait' => $vendorDir . '/psr/log/src/LoggerTrait.php', + 'RectorPrefix20220520\\Psr\\Log\\NullLogger' => $vendorDir . '/psr/log/src/NullLogger.php', + 'RectorPrefix20220520\\React\\Cache\\ArrayCache' => $vendorDir . '/react/cache/src/ArrayCache.php', + 'RectorPrefix20220520\\React\\Cache\\CacheInterface' => $vendorDir . '/react/cache/src/CacheInterface.php', + 'RectorPrefix20220520\\React\\ChildProcess\\Process' => $vendorDir . '/react/child-process/src/Process.php', + 'RectorPrefix20220520\\React\\Dns\\BadServerException' => $vendorDir . '/react/dns/src/BadServerException.php', + 'RectorPrefix20220520\\React\\Dns\\Config\\Config' => $vendorDir . '/react/dns/src/Config/Config.php', + 'RectorPrefix20220520\\React\\Dns\\Config\\HostsFile' => $vendorDir . '/react/dns/src/Config/HostsFile.php', + 'RectorPrefix20220520\\React\\Dns\\Model\\Message' => $vendorDir . '/react/dns/src/Model/Message.php', + 'RectorPrefix20220520\\React\\Dns\\Model\\Record' => $vendorDir . '/react/dns/src/Model/Record.php', + 'RectorPrefix20220520\\React\\Dns\\Protocol\\BinaryDumper' => $vendorDir . '/react/dns/src/Protocol/BinaryDumper.php', + 'RectorPrefix20220520\\React\\Dns\\Protocol\\Parser' => $vendorDir . '/react/dns/src/Protocol/Parser.php', + 'RectorPrefix20220520\\React\\Dns\\Query\\CachingExecutor' => $vendorDir . '/react/dns/src/Query/CachingExecutor.php', + 'RectorPrefix20220520\\React\\Dns\\Query\\CancellationException' => $vendorDir . '/react/dns/src/Query/CancellationException.php', + 'RectorPrefix20220520\\React\\Dns\\Query\\CoopExecutor' => $vendorDir . '/react/dns/src/Query/CoopExecutor.php', + 'RectorPrefix20220520\\React\\Dns\\Query\\ExecutorInterface' => $vendorDir . '/react/dns/src/Query/ExecutorInterface.php', + 'RectorPrefix20220520\\React\\Dns\\Query\\FallbackExecutor' => $vendorDir . '/react/dns/src/Query/FallbackExecutor.php', + 'RectorPrefix20220520\\React\\Dns\\Query\\HostsFileExecutor' => $vendorDir . '/react/dns/src/Query/HostsFileExecutor.php', + 'RectorPrefix20220520\\React\\Dns\\Query\\Query' => $vendorDir . '/react/dns/src/Query/Query.php', + 'RectorPrefix20220520\\React\\Dns\\Query\\RetryExecutor' => $vendorDir . '/react/dns/src/Query/RetryExecutor.php', + 'RectorPrefix20220520\\React\\Dns\\Query\\SelectiveTransportExecutor' => $vendorDir . '/react/dns/src/Query/SelectiveTransportExecutor.php', + 'RectorPrefix20220520\\React\\Dns\\Query\\TcpTransportExecutor' => $vendorDir . '/react/dns/src/Query/TcpTransportExecutor.php', + 'RectorPrefix20220520\\React\\Dns\\Query\\TimeoutException' => $vendorDir . '/react/dns/src/Query/TimeoutException.php', + 'RectorPrefix20220520\\React\\Dns\\Query\\TimeoutExecutor' => $vendorDir . '/react/dns/src/Query/TimeoutExecutor.php', + 'RectorPrefix20220520\\React\\Dns\\Query\\UdpTransportExecutor' => $vendorDir . '/react/dns/src/Query/UdpTransportExecutor.php', + 'RectorPrefix20220520\\React\\Dns\\RecordNotFoundException' => $vendorDir . '/react/dns/src/RecordNotFoundException.php', + 'RectorPrefix20220520\\React\\Dns\\Resolver\\Factory' => $vendorDir . '/react/dns/src/Resolver/Factory.php', + 'RectorPrefix20220520\\React\\Dns\\Resolver\\Resolver' => $vendorDir . '/react/dns/src/Resolver/Resolver.php', + 'RectorPrefix20220520\\React\\Dns\\Resolver\\ResolverInterface' => $vendorDir . '/react/dns/src/Resolver/ResolverInterface.php', + 'RectorPrefix20220520\\React\\EventLoop\\ExtEvLoop' => $vendorDir . '/react/event-loop/src/ExtEvLoop.php', + 'RectorPrefix20220520\\React\\EventLoop\\ExtEventLoop' => $vendorDir . '/react/event-loop/src/ExtEventLoop.php', + 'RectorPrefix20220520\\React\\EventLoop\\ExtLibevLoop' => $vendorDir . '/react/event-loop/src/ExtLibevLoop.php', + 'RectorPrefix20220520\\React\\EventLoop\\ExtLibeventLoop' => $vendorDir . '/react/event-loop/src/ExtLibeventLoop.php', + 'RectorPrefix20220520\\React\\EventLoop\\ExtUvLoop' => $vendorDir . '/react/event-loop/src/ExtUvLoop.php', + 'RectorPrefix20220520\\React\\EventLoop\\Factory' => $vendorDir . '/react/event-loop/src/Factory.php', + 'RectorPrefix20220520\\React\\EventLoop\\Loop' => $vendorDir . '/react/event-loop/src/Loop.php', + 'RectorPrefix20220520\\React\\EventLoop\\LoopInterface' => $vendorDir . '/react/event-loop/src/LoopInterface.php', + 'RectorPrefix20220520\\React\\EventLoop\\SignalsHandler' => $vendorDir . '/react/event-loop/src/SignalsHandler.php', + 'RectorPrefix20220520\\React\\EventLoop\\StreamSelectLoop' => $vendorDir . '/react/event-loop/src/StreamSelectLoop.php', + 'RectorPrefix20220520\\React\\EventLoop\\Tick\\FutureTickQueue' => $vendorDir . '/react/event-loop/src/Tick/FutureTickQueue.php', + 'RectorPrefix20220520\\React\\EventLoop\\TimerInterface' => $vendorDir . '/react/event-loop/src/TimerInterface.php', + 'RectorPrefix20220520\\React\\EventLoop\\Timer\\Timer' => $vendorDir . '/react/event-loop/src/Timer/Timer.php', + 'RectorPrefix20220520\\React\\EventLoop\\Timer\\Timers' => $vendorDir . '/react/event-loop/src/Timer/Timers.php', + 'RectorPrefix20220520\\React\\Promise\\CancellablePromiseInterface' => $vendorDir . '/react/promise/src/CancellablePromiseInterface.php', + 'RectorPrefix20220520\\React\\Promise\\CancellationQueue' => $vendorDir . '/react/promise/src/CancellationQueue.php', + 'RectorPrefix20220520\\React\\Promise\\Deferred' => $vendorDir . '/react/promise/src/Deferred.php', + 'RectorPrefix20220520\\React\\Promise\\Exception\\LengthException' => $vendorDir . '/react/promise/src/Exception/LengthException.php', + 'RectorPrefix20220520\\React\\Promise\\ExtendedPromiseInterface' => $vendorDir . '/react/promise/src/ExtendedPromiseInterface.php', + 'RectorPrefix20220520\\React\\Promise\\FulfilledPromise' => $vendorDir . '/react/promise/src/FulfilledPromise.php', + 'RectorPrefix20220520\\React\\Promise\\LazyPromise' => $vendorDir . '/react/promise/src/LazyPromise.php', + 'RectorPrefix20220520\\React\\Promise\\Promise' => $vendorDir . '/react/promise/src/Promise.php', + 'RectorPrefix20220520\\React\\Promise\\PromiseInterface' => $vendorDir . '/react/promise/src/PromiseInterface.php', + 'RectorPrefix20220520\\React\\Promise\\PromisorInterface' => $vendorDir . '/react/promise/src/PromisorInterface.php', + 'RectorPrefix20220520\\React\\Promise\\RejectedPromise' => $vendorDir . '/react/promise/src/RejectedPromise.php', + 'RectorPrefix20220520\\React\\Promise\\Timer\\TimeoutException' => $vendorDir . '/react/promise-timer/src/TimeoutException.php', + 'RectorPrefix20220520\\React\\Promise\\UnhandledRejectionException' => $vendorDir . '/react/promise/src/UnhandledRejectionException.php', + 'RectorPrefix20220520\\React\\Socket\\Connection' => $vendorDir . '/react/socket/src/Connection.php', + 'RectorPrefix20220520\\React\\Socket\\ConnectionInterface' => $vendorDir . '/react/socket/src/ConnectionInterface.php', + 'RectorPrefix20220520\\React\\Socket\\Connector' => $vendorDir . '/react/socket/src/Connector.php', + 'RectorPrefix20220520\\React\\Socket\\ConnectorInterface' => $vendorDir . '/react/socket/src/ConnectorInterface.php', + 'RectorPrefix20220520\\React\\Socket\\DnsConnector' => $vendorDir . '/react/socket/src/DnsConnector.php', + 'RectorPrefix20220520\\React\\Socket\\FdServer' => $vendorDir . '/react/socket/src/FdServer.php', + 'RectorPrefix20220520\\React\\Socket\\FixedUriConnector' => $vendorDir . '/react/socket/src/FixedUriConnector.php', + 'RectorPrefix20220520\\React\\Socket\\HappyEyeBallsConnectionBuilder' => $vendorDir . '/react/socket/src/HappyEyeBallsConnectionBuilder.php', + 'RectorPrefix20220520\\React\\Socket\\HappyEyeBallsConnector' => $vendorDir . '/react/socket/src/HappyEyeBallsConnector.php', + 'RectorPrefix20220520\\React\\Socket\\LimitingServer' => $vendorDir . '/react/socket/src/LimitingServer.php', + 'RectorPrefix20220520\\React\\Socket\\SecureConnector' => $vendorDir . '/react/socket/src/SecureConnector.php', + 'RectorPrefix20220520\\React\\Socket\\SecureServer' => $vendorDir . '/react/socket/src/SecureServer.php', + 'RectorPrefix20220520\\React\\Socket\\Server' => $vendorDir . '/react/socket/src/Server.php', + 'RectorPrefix20220520\\React\\Socket\\ServerInterface' => $vendorDir . '/react/socket/src/ServerInterface.php', + 'RectorPrefix20220520\\React\\Socket\\SocketServer' => $vendorDir . '/react/socket/src/SocketServer.php', + 'RectorPrefix20220520\\React\\Socket\\StreamEncryption' => $vendorDir . '/react/socket/src/StreamEncryption.php', + 'RectorPrefix20220520\\React\\Socket\\TcpConnector' => $vendorDir . '/react/socket/src/TcpConnector.php', + 'RectorPrefix20220520\\React\\Socket\\TcpServer' => $vendorDir . '/react/socket/src/TcpServer.php', + 'RectorPrefix20220520\\React\\Socket\\TimeoutConnector' => $vendorDir . '/react/socket/src/TimeoutConnector.php', + 'RectorPrefix20220520\\React\\Socket\\UnixConnector' => $vendorDir . '/react/socket/src/UnixConnector.php', + 'RectorPrefix20220520\\React\\Socket\\UnixServer' => $vendorDir . '/react/socket/src/UnixServer.php', + 'RectorPrefix20220520\\React\\Stream\\CompositeStream' => $vendorDir . '/react/stream/src/CompositeStream.php', + 'RectorPrefix20220520\\React\\Stream\\DuplexResourceStream' => $vendorDir . '/react/stream/src/DuplexResourceStream.php', + 'RectorPrefix20220520\\React\\Stream\\DuplexStreamInterface' => $vendorDir . '/react/stream/src/DuplexStreamInterface.php', + 'RectorPrefix20220520\\React\\Stream\\ReadableResourceStream' => $vendorDir . '/react/stream/src/ReadableResourceStream.php', + 'RectorPrefix20220520\\React\\Stream\\ReadableStreamInterface' => $vendorDir . '/react/stream/src/ReadableStreamInterface.php', + 'RectorPrefix20220520\\React\\Stream\\ThroughStream' => $vendorDir . '/react/stream/src/ThroughStream.php', + 'RectorPrefix20220520\\React\\Stream\\Util' => $vendorDir . '/react/stream/src/Util.php', + 'RectorPrefix20220520\\React\\Stream\\WritableResourceStream' => $vendorDir . '/react/stream/src/WritableResourceStream.php', + 'RectorPrefix20220520\\React\\Stream\\WritableStreamInterface' => $vendorDir . '/react/stream/src/WritableStreamInterface.php', + 'RectorPrefix20220520\\SebastianBergmann\\Diff\\Chunk' => $vendorDir . '/sebastian/diff/src/Chunk.php', + 'RectorPrefix20220520\\SebastianBergmann\\Diff\\ConfigurationException' => $vendorDir . '/sebastian/diff/src/Exception/ConfigurationException.php', + 'RectorPrefix20220520\\SebastianBergmann\\Diff\\Diff' => $vendorDir . '/sebastian/diff/src/Diff.php', + 'RectorPrefix20220520\\SebastianBergmann\\Diff\\Differ' => $vendorDir . '/sebastian/diff/src/Differ.php', + 'RectorPrefix20220520\\SebastianBergmann\\Diff\\Exception' => $vendorDir . '/sebastian/diff/src/Exception/Exception.php', + 'RectorPrefix20220520\\SebastianBergmann\\Diff\\InvalidArgumentException' => $vendorDir . '/sebastian/diff/src/Exception/InvalidArgumentException.php', + 'RectorPrefix20220520\\SebastianBergmann\\Diff\\Line' => $vendorDir . '/sebastian/diff/src/Line.php', + 'RectorPrefix20220520\\SebastianBergmann\\Diff\\LongestCommonSubsequenceCalculator' => $vendorDir . '/sebastian/diff/src/LongestCommonSubsequenceCalculator.php', + 'RectorPrefix20220520\\SebastianBergmann\\Diff\\MemoryEfficientLongestCommonSubsequenceCalculator' => $vendorDir . '/sebastian/diff/src/MemoryEfficientLongestCommonSubsequenceCalculator.php', + 'RectorPrefix20220520\\SebastianBergmann\\Diff\\Output\\AbstractChunkOutputBuilder' => $vendorDir . '/sebastian/diff/src/Output/AbstractChunkOutputBuilder.php', + 'RectorPrefix20220520\\SebastianBergmann\\Diff\\Output\\DiffOnlyOutputBuilder' => $vendorDir . '/sebastian/diff/src/Output/DiffOnlyOutputBuilder.php', + 'RectorPrefix20220520\\SebastianBergmann\\Diff\\Output\\DiffOutputBuilderInterface' => $vendorDir . '/sebastian/diff/src/Output/DiffOutputBuilderInterface.php', + 'RectorPrefix20220520\\SebastianBergmann\\Diff\\Output\\StrictUnifiedDiffOutputBuilder' => $vendorDir . '/sebastian/diff/src/Output/StrictUnifiedDiffOutputBuilder.php', + 'RectorPrefix20220520\\SebastianBergmann\\Diff\\Output\\UnifiedDiffOutputBuilder' => $vendorDir . '/sebastian/diff/src/Output/UnifiedDiffOutputBuilder.php', + 'RectorPrefix20220520\\SebastianBergmann\\Diff\\Parser' => $vendorDir . '/sebastian/diff/src/Parser.php', + 'RectorPrefix20220520\\SebastianBergmann\\Diff\\TimeEfficientLongestCommonSubsequenceCalculator' => $vendorDir . '/sebastian/diff/src/TimeEfficientLongestCommonSubsequenceCalculator.php', + 'RectorPrefix20220520\\Symfony\\Component\\Config\\Builder\\ClassBuilder' => $vendorDir . '/symfony/config/Builder/ClassBuilder.php', + 'RectorPrefix20220520\\Symfony\\Component\\Config\\Builder\\ConfigBuilderGenerator' => $vendorDir . '/symfony/config/Builder/ConfigBuilderGenerator.php', + 'RectorPrefix20220520\\Symfony\\Component\\Config\\Builder\\ConfigBuilderGeneratorInterface' => $vendorDir . '/symfony/config/Builder/ConfigBuilderGeneratorInterface.php', + 'RectorPrefix20220520\\Symfony\\Component\\Config\\Builder\\ConfigBuilderInterface' => $vendorDir . '/symfony/config/Builder/ConfigBuilderInterface.php', + 'RectorPrefix20220520\\Symfony\\Component\\Config\\Builder\\Method' => $vendorDir . '/symfony/config/Builder/Method.php', + 'RectorPrefix20220520\\Symfony\\Component\\Config\\Builder\\Property' => $vendorDir . '/symfony/config/Builder/Property.php', + 'RectorPrefix20220520\\Symfony\\Component\\Config\\ConfigCache' => $vendorDir . '/symfony/config/ConfigCache.php', + 'RectorPrefix20220520\\Symfony\\Component\\Config\\ConfigCacheFactory' => $vendorDir . '/symfony/config/ConfigCacheFactory.php', + 'RectorPrefix20220520\\Symfony\\Component\\Config\\ConfigCacheFactoryInterface' => $vendorDir . '/symfony/config/ConfigCacheFactoryInterface.php', + 'RectorPrefix20220520\\Symfony\\Component\\Config\\ConfigCacheInterface' => $vendorDir . '/symfony/config/ConfigCacheInterface.php', + 'RectorPrefix20220520\\Symfony\\Component\\Config\\Definition\\ArrayNode' => $vendorDir . '/symfony/config/Definition/ArrayNode.php', + 'RectorPrefix20220520\\Symfony\\Component\\Config\\Definition\\BaseNode' => $vendorDir . '/symfony/config/Definition/BaseNode.php', + 'RectorPrefix20220520\\Symfony\\Component\\Config\\Definition\\BooleanNode' => $vendorDir . '/symfony/config/Definition/BooleanNode.php', + 'RectorPrefix20220520\\Symfony\\Component\\Config\\Definition\\Builder\\ArrayNodeDefinition' => $vendorDir . '/symfony/config/Definition/Builder/ArrayNodeDefinition.php', + 'RectorPrefix20220520\\Symfony\\Component\\Config\\Definition\\Builder\\BooleanNodeDefinition' => $vendorDir . '/symfony/config/Definition/Builder/BooleanNodeDefinition.php', + 'RectorPrefix20220520\\Symfony\\Component\\Config\\Definition\\Builder\\BuilderAwareInterface' => $vendorDir . '/symfony/config/Definition/Builder/BuilderAwareInterface.php', + 'RectorPrefix20220520\\Symfony\\Component\\Config\\Definition\\Builder\\EnumNodeDefinition' => $vendorDir . '/symfony/config/Definition/Builder/EnumNodeDefinition.php', + 'RectorPrefix20220520\\Symfony\\Component\\Config\\Definition\\Builder\\ExprBuilder' => $vendorDir . '/symfony/config/Definition/Builder/ExprBuilder.php', + 'RectorPrefix20220520\\Symfony\\Component\\Config\\Definition\\Builder\\FloatNodeDefinition' => $vendorDir . '/symfony/config/Definition/Builder/FloatNodeDefinition.php', + 'RectorPrefix20220520\\Symfony\\Component\\Config\\Definition\\Builder\\IntegerNodeDefinition' => $vendorDir . '/symfony/config/Definition/Builder/IntegerNodeDefinition.php', + 'RectorPrefix20220520\\Symfony\\Component\\Config\\Definition\\Builder\\MergeBuilder' => $vendorDir . '/symfony/config/Definition/Builder/MergeBuilder.php', + 'RectorPrefix20220520\\Symfony\\Component\\Config\\Definition\\Builder\\NodeBuilder' => $vendorDir . '/symfony/config/Definition/Builder/NodeBuilder.php', + 'RectorPrefix20220520\\Symfony\\Component\\Config\\Definition\\Builder\\NodeDefinition' => $vendorDir . '/symfony/config/Definition/Builder/NodeDefinition.php', + 'RectorPrefix20220520\\Symfony\\Component\\Config\\Definition\\Builder\\NodeParentInterface' => $vendorDir . '/symfony/config/Definition/Builder/NodeParentInterface.php', + 'RectorPrefix20220520\\Symfony\\Component\\Config\\Definition\\Builder\\NormalizationBuilder' => $vendorDir . '/symfony/config/Definition/Builder/NormalizationBuilder.php', + 'RectorPrefix20220520\\Symfony\\Component\\Config\\Definition\\Builder\\NumericNodeDefinition' => $vendorDir . '/symfony/config/Definition/Builder/NumericNodeDefinition.php', + 'RectorPrefix20220520\\Symfony\\Component\\Config\\Definition\\Builder\\ParentNodeDefinitionInterface' => $vendorDir . '/symfony/config/Definition/Builder/ParentNodeDefinitionInterface.php', + 'RectorPrefix20220520\\Symfony\\Component\\Config\\Definition\\Builder\\ScalarNodeDefinition' => $vendorDir . '/symfony/config/Definition/Builder/ScalarNodeDefinition.php', + 'RectorPrefix20220520\\Symfony\\Component\\Config\\Definition\\Builder\\TreeBuilder' => $vendorDir . '/symfony/config/Definition/Builder/TreeBuilder.php', + 'RectorPrefix20220520\\Symfony\\Component\\Config\\Definition\\Builder\\ValidationBuilder' => $vendorDir . '/symfony/config/Definition/Builder/ValidationBuilder.php', + 'RectorPrefix20220520\\Symfony\\Component\\Config\\Definition\\Builder\\VariableNodeDefinition' => $vendorDir . '/symfony/config/Definition/Builder/VariableNodeDefinition.php', + 'RectorPrefix20220520\\Symfony\\Component\\Config\\Definition\\ConfigurationInterface' => $vendorDir . '/symfony/config/Definition/ConfigurationInterface.php', + 'RectorPrefix20220520\\Symfony\\Component\\Config\\Definition\\Dumper\\XmlReferenceDumper' => $vendorDir . '/symfony/config/Definition/Dumper/XmlReferenceDumper.php', + 'RectorPrefix20220520\\Symfony\\Component\\Config\\Definition\\Dumper\\YamlReferenceDumper' => $vendorDir . '/symfony/config/Definition/Dumper/YamlReferenceDumper.php', + 'RectorPrefix20220520\\Symfony\\Component\\Config\\Definition\\EnumNode' => $vendorDir . '/symfony/config/Definition/EnumNode.php', + 'RectorPrefix20220520\\Symfony\\Component\\Config\\Definition\\Exception\\DuplicateKeyException' => $vendorDir . '/symfony/config/Definition/Exception/DuplicateKeyException.php', + 'RectorPrefix20220520\\Symfony\\Component\\Config\\Definition\\Exception\\Exception' => $vendorDir . '/symfony/config/Definition/Exception/Exception.php', + 'RectorPrefix20220520\\Symfony\\Component\\Config\\Definition\\Exception\\ForbiddenOverwriteException' => $vendorDir . '/symfony/config/Definition/Exception/ForbiddenOverwriteException.php', + 'RectorPrefix20220520\\Symfony\\Component\\Config\\Definition\\Exception\\InvalidConfigurationException' => $vendorDir . '/symfony/config/Definition/Exception/InvalidConfigurationException.php', + 'RectorPrefix20220520\\Symfony\\Component\\Config\\Definition\\Exception\\InvalidDefinitionException' => $vendorDir . '/symfony/config/Definition/Exception/InvalidDefinitionException.php', + 'RectorPrefix20220520\\Symfony\\Component\\Config\\Definition\\Exception\\InvalidTypeException' => $vendorDir . '/symfony/config/Definition/Exception/InvalidTypeException.php', + 'RectorPrefix20220520\\Symfony\\Component\\Config\\Definition\\Exception\\UnsetKeyException' => $vendorDir . '/symfony/config/Definition/Exception/UnsetKeyException.php', + 'RectorPrefix20220520\\Symfony\\Component\\Config\\Definition\\FloatNode' => $vendorDir . '/symfony/config/Definition/FloatNode.php', + 'RectorPrefix20220520\\Symfony\\Component\\Config\\Definition\\IntegerNode' => $vendorDir . '/symfony/config/Definition/IntegerNode.php', + 'RectorPrefix20220520\\Symfony\\Component\\Config\\Definition\\NodeInterface' => $vendorDir . '/symfony/config/Definition/NodeInterface.php', + 'RectorPrefix20220520\\Symfony\\Component\\Config\\Definition\\NumericNode' => $vendorDir . '/symfony/config/Definition/NumericNode.php', + 'RectorPrefix20220520\\Symfony\\Component\\Config\\Definition\\Processor' => $vendorDir . '/symfony/config/Definition/Processor.php', + 'RectorPrefix20220520\\Symfony\\Component\\Config\\Definition\\PrototypeNodeInterface' => $vendorDir . '/symfony/config/Definition/PrototypeNodeInterface.php', + 'RectorPrefix20220520\\Symfony\\Component\\Config\\Definition\\PrototypedArrayNode' => $vendorDir . '/symfony/config/Definition/PrototypedArrayNode.php', + 'RectorPrefix20220520\\Symfony\\Component\\Config\\Definition\\ScalarNode' => $vendorDir . '/symfony/config/Definition/ScalarNode.php', + 'RectorPrefix20220520\\Symfony\\Component\\Config\\Definition\\VariableNode' => $vendorDir . '/symfony/config/Definition/VariableNode.php', + 'RectorPrefix20220520\\Symfony\\Component\\Config\\Exception\\FileLoaderImportCircularReferenceException' => $vendorDir . '/symfony/config/Exception/FileLoaderImportCircularReferenceException.php', + 'RectorPrefix20220520\\Symfony\\Component\\Config\\Exception\\FileLocatorFileNotFoundException' => $vendorDir . '/symfony/config/Exception/FileLocatorFileNotFoundException.php', + 'RectorPrefix20220520\\Symfony\\Component\\Config\\Exception\\LoaderLoadException' => $vendorDir . '/symfony/config/Exception/LoaderLoadException.php', + 'RectorPrefix20220520\\Symfony\\Component\\Config\\FileLocator' => $vendorDir . '/symfony/config/FileLocator.php', + 'RectorPrefix20220520\\Symfony\\Component\\Config\\FileLocatorInterface' => $vendorDir . '/symfony/config/FileLocatorInterface.php', + 'RectorPrefix20220520\\Symfony\\Component\\Config\\Loader\\DelegatingLoader' => $vendorDir . '/symfony/config/Loader/DelegatingLoader.php', + 'RectorPrefix20220520\\Symfony\\Component\\Config\\Loader\\FileLoader' => $vendorDir . '/symfony/config/Loader/FileLoader.php', + 'RectorPrefix20220520\\Symfony\\Component\\Config\\Loader\\GlobFileLoader' => $vendorDir . '/symfony/config/Loader/GlobFileLoader.php', + 'RectorPrefix20220520\\Symfony\\Component\\Config\\Loader\\Loader' => $vendorDir . '/symfony/config/Loader/Loader.php', + 'RectorPrefix20220520\\Symfony\\Component\\Config\\Loader\\LoaderInterface' => $vendorDir . '/symfony/config/Loader/LoaderInterface.php', + 'RectorPrefix20220520\\Symfony\\Component\\Config\\Loader\\LoaderResolver' => $vendorDir . '/symfony/config/Loader/LoaderResolver.php', + 'RectorPrefix20220520\\Symfony\\Component\\Config\\Loader\\LoaderResolverInterface' => $vendorDir . '/symfony/config/Loader/LoaderResolverInterface.php', + 'RectorPrefix20220520\\Symfony\\Component\\Config\\Loader\\ParamConfigurator' => $vendorDir . '/symfony/config/Loader/ParamConfigurator.php', + 'RectorPrefix20220520\\Symfony\\Component\\Config\\ResourceCheckerConfigCache' => $vendorDir . '/symfony/config/ResourceCheckerConfigCache.php', + 'RectorPrefix20220520\\Symfony\\Component\\Config\\ResourceCheckerConfigCacheFactory' => $vendorDir . '/symfony/config/ResourceCheckerConfigCacheFactory.php', + 'RectorPrefix20220520\\Symfony\\Component\\Config\\ResourceCheckerInterface' => $vendorDir . '/symfony/config/ResourceCheckerInterface.php', + 'RectorPrefix20220520\\Symfony\\Component\\Config\\Resource\\ClassExistenceResource' => $vendorDir . '/symfony/config/Resource/ClassExistenceResource.php', + 'RectorPrefix20220520\\Symfony\\Component\\Config\\Resource\\ComposerResource' => $vendorDir . '/symfony/config/Resource/ComposerResource.php', + 'RectorPrefix20220520\\Symfony\\Component\\Config\\Resource\\DirectoryResource' => $vendorDir . '/symfony/config/Resource/DirectoryResource.php', + 'RectorPrefix20220520\\Symfony\\Component\\Config\\Resource\\FileExistenceResource' => $vendorDir . '/symfony/config/Resource/FileExistenceResource.php', + 'RectorPrefix20220520\\Symfony\\Component\\Config\\Resource\\FileResource' => $vendorDir . '/symfony/config/Resource/FileResource.php', + 'RectorPrefix20220520\\Symfony\\Component\\Config\\Resource\\GlobResource' => $vendorDir . '/symfony/config/Resource/GlobResource.php', + 'RectorPrefix20220520\\Symfony\\Component\\Config\\Resource\\ReflectionClassResource' => $vendorDir . '/symfony/config/Resource/ReflectionClassResource.php', + 'RectorPrefix20220520\\Symfony\\Component\\Config\\Resource\\ResourceInterface' => $vendorDir . '/symfony/config/Resource/ResourceInterface.php', + 'RectorPrefix20220520\\Symfony\\Component\\Config\\Resource\\SelfCheckingResourceChecker' => $vendorDir . '/symfony/config/Resource/SelfCheckingResourceChecker.php', + 'RectorPrefix20220520\\Symfony\\Component\\Config\\Resource\\SelfCheckingResourceInterface' => $vendorDir . '/symfony/config/Resource/SelfCheckingResourceInterface.php', + 'RectorPrefix20220520\\Symfony\\Component\\Config\\Util\\Exception\\InvalidXmlException' => $vendorDir . '/symfony/config/Util/Exception/InvalidXmlException.php', + 'RectorPrefix20220520\\Symfony\\Component\\Config\\Util\\Exception\\XmlParsingException' => $vendorDir . '/symfony/config/Util/Exception/XmlParsingException.php', + 'RectorPrefix20220520\\Symfony\\Component\\Config\\Util\\XmlUtils' => $vendorDir . '/symfony/config/Util/XmlUtils.php', + 'RectorPrefix20220520\\Symfony\\Component\\Console\\Application' => $vendorDir . '/symfony/console/Application.php', + 'RectorPrefix20220520\\Symfony\\Component\\Console\\Attribute\\AsCommand' => $vendorDir . '/symfony/console/Attribute/AsCommand.php', + 'RectorPrefix20220520\\Symfony\\Component\\Console\\CI\\GithubActionReporter' => $vendorDir . '/symfony/console/CI/GithubActionReporter.php', + 'RectorPrefix20220520\\Symfony\\Component\\Console\\Color' => $vendorDir . '/symfony/console/Color.php', + 'RectorPrefix20220520\\Symfony\\Component\\Console\\CommandLoader\\CommandLoaderInterface' => $vendorDir . '/symfony/console/CommandLoader/CommandLoaderInterface.php', + 'RectorPrefix20220520\\Symfony\\Component\\Console\\CommandLoader\\ContainerCommandLoader' => $vendorDir . '/symfony/console/CommandLoader/ContainerCommandLoader.php', + 'RectorPrefix20220520\\Symfony\\Component\\Console\\CommandLoader\\FactoryCommandLoader' => $vendorDir . '/symfony/console/CommandLoader/FactoryCommandLoader.php', + 'RectorPrefix20220520\\Symfony\\Component\\Console\\Command\\Command' => $vendorDir . '/symfony/console/Command/Command.php', + 'RectorPrefix20220520\\Symfony\\Component\\Console\\Command\\CompleteCommand' => $vendorDir . '/symfony/console/Command/CompleteCommand.php', + 'RectorPrefix20220520\\Symfony\\Component\\Console\\Command\\DumpCompletionCommand' => $vendorDir . '/symfony/console/Command/DumpCompletionCommand.php', + 'RectorPrefix20220520\\Symfony\\Component\\Console\\Command\\HelpCommand' => $vendorDir . '/symfony/console/Command/HelpCommand.php', + 'RectorPrefix20220520\\Symfony\\Component\\Console\\Command\\LazyCommand' => $vendorDir . '/symfony/console/Command/LazyCommand.php', + 'RectorPrefix20220520\\Symfony\\Component\\Console\\Command\\ListCommand' => $vendorDir . '/symfony/console/Command/ListCommand.php', + 'RectorPrefix20220520\\Symfony\\Component\\Console\\Command\\LockableTrait' => $vendorDir . '/symfony/console/Command/LockableTrait.php', + 'RectorPrefix20220520\\Symfony\\Component\\Console\\Command\\SignalableCommandInterface' => $vendorDir . '/symfony/console/Command/SignalableCommandInterface.php', + 'RectorPrefix20220520\\Symfony\\Component\\Console\\Completion\\CompletionInput' => $vendorDir . '/symfony/console/Completion/CompletionInput.php', + 'RectorPrefix20220520\\Symfony\\Component\\Console\\Completion\\CompletionSuggestions' => $vendorDir . '/symfony/console/Completion/CompletionSuggestions.php', + 'RectorPrefix20220520\\Symfony\\Component\\Console\\Completion\\Output\\BashCompletionOutput' => $vendorDir . '/symfony/console/Completion/Output/BashCompletionOutput.php', + 'RectorPrefix20220520\\Symfony\\Component\\Console\\Completion\\Output\\CompletionOutputInterface' => $vendorDir . '/symfony/console/Completion/Output/CompletionOutputInterface.php', + 'RectorPrefix20220520\\Symfony\\Component\\Console\\Completion\\Suggestion' => $vendorDir . '/symfony/console/Completion/Suggestion.php', + 'RectorPrefix20220520\\Symfony\\Component\\Console\\ConsoleEvents' => $vendorDir . '/symfony/console/ConsoleEvents.php', + 'RectorPrefix20220520\\Symfony\\Component\\Console\\Cursor' => $vendorDir . '/symfony/console/Cursor.php', + 'RectorPrefix20220520\\Symfony\\Component\\Console\\DependencyInjection\\AddConsoleCommandPass' => $vendorDir . '/symfony/console/DependencyInjection/AddConsoleCommandPass.php', + 'RectorPrefix20220520\\Symfony\\Component\\Console\\Descriptor\\ApplicationDescription' => $vendorDir . '/symfony/console/Descriptor/ApplicationDescription.php', + 'RectorPrefix20220520\\Symfony\\Component\\Console\\Descriptor\\Descriptor' => $vendorDir . '/symfony/console/Descriptor/Descriptor.php', + 'RectorPrefix20220520\\Symfony\\Component\\Console\\Descriptor\\DescriptorInterface' => $vendorDir . '/symfony/console/Descriptor/DescriptorInterface.php', + 'RectorPrefix20220520\\Symfony\\Component\\Console\\Descriptor\\JsonDescriptor' => $vendorDir . '/symfony/console/Descriptor/JsonDescriptor.php', + 'RectorPrefix20220520\\Symfony\\Component\\Console\\Descriptor\\MarkdownDescriptor' => $vendorDir . '/symfony/console/Descriptor/MarkdownDescriptor.php', + 'RectorPrefix20220520\\Symfony\\Component\\Console\\Descriptor\\TextDescriptor' => $vendorDir . '/symfony/console/Descriptor/TextDescriptor.php', + 'RectorPrefix20220520\\Symfony\\Component\\Console\\Descriptor\\XmlDescriptor' => $vendorDir . '/symfony/console/Descriptor/XmlDescriptor.php', + 'RectorPrefix20220520\\Symfony\\Component\\Console\\EventListener\\ErrorListener' => $vendorDir . '/symfony/console/EventListener/ErrorListener.php', + 'RectorPrefix20220520\\Symfony\\Component\\Console\\Event\\ConsoleCommandEvent' => $vendorDir . '/symfony/console/Event/ConsoleCommandEvent.php', + 'RectorPrefix20220520\\Symfony\\Component\\Console\\Event\\ConsoleErrorEvent' => $vendorDir . '/symfony/console/Event/ConsoleErrorEvent.php', + 'RectorPrefix20220520\\Symfony\\Component\\Console\\Event\\ConsoleEvent' => $vendorDir . '/symfony/console/Event/ConsoleEvent.php', + 'RectorPrefix20220520\\Symfony\\Component\\Console\\Event\\ConsoleSignalEvent' => $vendorDir . '/symfony/console/Event/ConsoleSignalEvent.php', + 'RectorPrefix20220520\\Symfony\\Component\\Console\\Event\\ConsoleTerminateEvent' => $vendorDir . '/symfony/console/Event/ConsoleTerminateEvent.php', + 'RectorPrefix20220520\\Symfony\\Component\\Console\\Exception\\CommandNotFoundException' => $vendorDir . '/symfony/console/Exception/CommandNotFoundException.php', + 'RectorPrefix20220520\\Symfony\\Component\\Console\\Exception\\ExceptionInterface' => $vendorDir . '/symfony/console/Exception/ExceptionInterface.php', + 'RectorPrefix20220520\\Symfony\\Component\\Console\\Exception\\InvalidArgumentException' => $vendorDir . '/symfony/console/Exception/InvalidArgumentException.php', + 'RectorPrefix20220520\\Symfony\\Component\\Console\\Exception\\InvalidOptionException' => $vendorDir . '/symfony/console/Exception/InvalidOptionException.php', + 'RectorPrefix20220520\\Symfony\\Component\\Console\\Exception\\LogicException' => $vendorDir . '/symfony/console/Exception/LogicException.php', + 'RectorPrefix20220520\\Symfony\\Component\\Console\\Exception\\MissingInputException' => $vendorDir . '/symfony/console/Exception/MissingInputException.php', + 'RectorPrefix20220520\\Symfony\\Component\\Console\\Exception\\NamespaceNotFoundException' => $vendorDir . '/symfony/console/Exception/NamespaceNotFoundException.php', + 'RectorPrefix20220520\\Symfony\\Component\\Console\\Exception\\RuntimeException' => $vendorDir . '/symfony/console/Exception/RuntimeException.php', + 'RectorPrefix20220520\\Symfony\\Component\\Console\\Formatter\\NullOutputFormatter' => $vendorDir . '/symfony/console/Formatter/NullOutputFormatter.php', + 'RectorPrefix20220520\\Symfony\\Component\\Console\\Formatter\\NullOutputFormatterStyle' => $vendorDir . '/symfony/console/Formatter/NullOutputFormatterStyle.php', + 'RectorPrefix20220520\\Symfony\\Component\\Console\\Formatter\\OutputFormatter' => $vendorDir . '/symfony/console/Formatter/OutputFormatter.php', + 'RectorPrefix20220520\\Symfony\\Component\\Console\\Formatter\\OutputFormatterInterface' => $vendorDir . '/symfony/console/Formatter/OutputFormatterInterface.php', + 'RectorPrefix20220520\\Symfony\\Component\\Console\\Formatter\\OutputFormatterStyle' => $vendorDir . '/symfony/console/Formatter/OutputFormatterStyle.php', + 'RectorPrefix20220520\\Symfony\\Component\\Console\\Formatter\\OutputFormatterStyleInterface' => $vendorDir . '/symfony/console/Formatter/OutputFormatterStyleInterface.php', + 'RectorPrefix20220520\\Symfony\\Component\\Console\\Formatter\\OutputFormatterStyleStack' => $vendorDir . '/symfony/console/Formatter/OutputFormatterStyleStack.php', + 'RectorPrefix20220520\\Symfony\\Component\\Console\\Formatter\\WrappableOutputFormatterInterface' => $vendorDir . '/symfony/console/Formatter/WrappableOutputFormatterInterface.php', + 'RectorPrefix20220520\\Symfony\\Component\\Console\\Helper\\DebugFormatterHelper' => $vendorDir . '/symfony/console/Helper/DebugFormatterHelper.php', + 'RectorPrefix20220520\\Symfony\\Component\\Console\\Helper\\DescriptorHelper' => $vendorDir . '/symfony/console/Helper/DescriptorHelper.php', + 'RectorPrefix20220520\\Symfony\\Component\\Console\\Helper\\Dumper' => $vendorDir . '/symfony/console/Helper/Dumper.php', + 'RectorPrefix20220520\\Symfony\\Component\\Console\\Helper\\FormatterHelper' => $vendorDir . '/symfony/console/Helper/FormatterHelper.php', + 'RectorPrefix20220520\\Symfony\\Component\\Console\\Helper\\Helper' => $vendorDir . '/symfony/console/Helper/Helper.php', + 'RectorPrefix20220520\\Symfony\\Component\\Console\\Helper\\HelperInterface' => $vendorDir . '/symfony/console/Helper/HelperInterface.php', + 'RectorPrefix20220520\\Symfony\\Component\\Console\\Helper\\HelperSet' => $vendorDir . '/symfony/console/Helper/HelperSet.php', + 'RectorPrefix20220520\\Symfony\\Component\\Console\\Helper\\InputAwareHelper' => $vendorDir . '/symfony/console/Helper/InputAwareHelper.php', + 'RectorPrefix20220520\\Symfony\\Component\\Console\\Helper\\ProcessHelper' => $vendorDir . '/symfony/console/Helper/ProcessHelper.php', + 'RectorPrefix20220520\\Symfony\\Component\\Console\\Helper\\ProgressBar' => $vendorDir . '/symfony/console/Helper/ProgressBar.php', + 'RectorPrefix20220520\\Symfony\\Component\\Console\\Helper\\ProgressIndicator' => $vendorDir . '/symfony/console/Helper/ProgressIndicator.php', + 'RectorPrefix20220520\\Symfony\\Component\\Console\\Helper\\QuestionHelper' => $vendorDir . '/symfony/console/Helper/QuestionHelper.php', + 'RectorPrefix20220520\\Symfony\\Component\\Console\\Helper\\SymfonyQuestionHelper' => $vendorDir . '/symfony/console/Helper/SymfonyQuestionHelper.php', + 'RectorPrefix20220520\\Symfony\\Component\\Console\\Helper\\Table' => $vendorDir . '/symfony/console/Helper/Table.php', + 'RectorPrefix20220520\\Symfony\\Component\\Console\\Helper\\TableCell' => $vendorDir . '/symfony/console/Helper/TableCell.php', + 'RectorPrefix20220520\\Symfony\\Component\\Console\\Helper\\TableCellStyle' => $vendorDir . '/symfony/console/Helper/TableCellStyle.php', + 'RectorPrefix20220520\\Symfony\\Component\\Console\\Helper\\TableRows' => $vendorDir . '/symfony/console/Helper/TableRows.php', + 'RectorPrefix20220520\\Symfony\\Component\\Console\\Helper\\TableSeparator' => $vendorDir . '/symfony/console/Helper/TableSeparator.php', + 'RectorPrefix20220520\\Symfony\\Component\\Console\\Helper\\TableStyle' => $vendorDir . '/symfony/console/Helper/TableStyle.php', + 'RectorPrefix20220520\\Symfony\\Component\\Console\\Input\\ArgvInput' => $vendorDir . '/symfony/console/Input/ArgvInput.php', + 'RectorPrefix20220520\\Symfony\\Component\\Console\\Input\\ArrayInput' => $vendorDir . '/symfony/console/Input/ArrayInput.php', + 'RectorPrefix20220520\\Symfony\\Component\\Console\\Input\\Input' => $vendorDir . '/symfony/console/Input/Input.php', + 'RectorPrefix20220520\\Symfony\\Component\\Console\\Input\\InputArgument' => $vendorDir . '/symfony/console/Input/InputArgument.php', + 'RectorPrefix20220520\\Symfony\\Component\\Console\\Input\\InputAwareInterface' => $vendorDir . '/symfony/console/Input/InputAwareInterface.php', + 'RectorPrefix20220520\\Symfony\\Component\\Console\\Input\\InputDefinition' => $vendorDir . '/symfony/console/Input/InputDefinition.php', + 'RectorPrefix20220520\\Symfony\\Component\\Console\\Input\\InputInterface' => $vendorDir . '/symfony/console/Input/InputInterface.php', + 'RectorPrefix20220520\\Symfony\\Component\\Console\\Input\\InputOption' => $vendorDir . '/symfony/console/Input/InputOption.php', + 'RectorPrefix20220520\\Symfony\\Component\\Console\\Input\\StreamableInputInterface' => $vendorDir . '/symfony/console/Input/StreamableInputInterface.php', + 'RectorPrefix20220520\\Symfony\\Component\\Console\\Input\\StringInput' => $vendorDir . '/symfony/console/Input/StringInput.php', + 'RectorPrefix20220520\\Symfony\\Component\\Console\\Logger\\ConsoleLogger' => $vendorDir . '/symfony/console/Logger/ConsoleLogger.php', + 'RectorPrefix20220520\\Symfony\\Component\\Console\\Output\\BufferedOutput' => $vendorDir . '/symfony/console/Output/BufferedOutput.php', + 'RectorPrefix20220520\\Symfony\\Component\\Console\\Output\\ConsoleOutput' => $vendorDir . '/symfony/console/Output/ConsoleOutput.php', + 'RectorPrefix20220520\\Symfony\\Component\\Console\\Output\\ConsoleOutputInterface' => $vendorDir . '/symfony/console/Output/ConsoleOutputInterface.php', + 'RectorPrefix20220520\\Symfony\\Component\\Console\\Output\\ConsoleSectionOutput' => $vendorDir . '/symfony/console/Output/ConsoleSectionOutput.php', + 'RectorPrefix20220520\\Symfony\\Component\\Console\\Output\\NullOutput' => $vendorDir . '/symfony/console/Output/NullOutput.php', + 'RectorPrefix20220520\\Symfony\\Component\\Console\\Output\\Output' => $vendorDir . '/symfony/console/Output/Output.php', + 'RectorPrefix20220520\\Symfony\\Component\\Console\\Output\\OutputInterface' => $vendorDir . '/symfony/console/Output/OutputInterface.php', + 'RectorPrefix20220520\\Symfony\\Component\\Console\\Output\\StreamOutput' => $vendorDir . '/symfony/console/Output/StreamOutput.php', + 'RectorPrefix20220520\\Symfony\\Component\\Console\\Output\\TrimmedBufferOutput' => $vendorDir . '/symfony/console/Output/TrimmedBufferOutput.php', + 'RectorPrefix20220520\\Symfony\\Component\\Console\\Question\\ChoiceQuestion' => $vendorDir . '/symfony/console/Question/ChoiceQuestion.php', + 'RectorPrefix20220520\\Symfony\\Component\\Console\\Question\\ConfirmationQuestion' => $vendorDir . '/symfony/console/Question/ConfirmationQuestion.php', + 'RectorPrefix20220520\\Symfony\\Component\\Console\\Question\\Question' => $vendorDir . '/symfony/console/Question/Question.php', + 'RectorPrefix20220520\\Symfony\\Component\\Console\\SignalRegistry\\SignalRegistry' => $vendorDir . '/symfony/console/SignalRegistry/SignalRegistry.php', + 'RectorPrefix20220520\\Symfony\\Component\\Console\\SingleCommandApplication' => $vendorDir . '/symfony/console/SingleCommandApplication.php', + 'RectorPrefix20220520\\Symfony\\Component\\Console\\Style\\OutputStyle' => $vendorDir . '/symfony/console/Style/OutputStyle.php', + 'RectorPrefix20220520\\Symfony\\Component\\Console\\Style\\StyleInterface' => $vendorDir . '/symfony/console/Style/StyleInterface.php', + 'RectorPrefix20220520\\Symfony\\Component\\Console\\Style\\SymfonyStyle' => $vendorDir . '/symfony/console/Style/SymfonyStyle.php', + 'RectorPrefix20220520\\Symfony\\Component\\Console\\Terminal' => $vendorDir . '/symfony/console/Terminal.php', + 'RectorPrefix20220520\\Symfony\\Component\\Console\\Tester\\ApplicationTester' => $vendorDir . '/symfony/console/Tester/ApplicationTester.php', + 'RectorPrefix20220520\\Symfony\\Component\\Console\\Tester\\CommandCompletionTester' => $vendorDir . '/symfony/console/Tester/CommandCompletionTester.php', + 'RectorPrefix20220520\\Symfony\\Component\\Console\\Tester\\CommandTester' => $vendorDir . '/symfony/console/Tester/CommandTester.php', + 'RectorPrefix20220520\\Symfony\\Component\\Console\\Tester\\Constraint\\CommandIsSuccessful' => $vendorDir . '/symfony/console/Tester/Constraint/CommandIsSuccessful.php', + 'RectorPrefix20220520\\Symfony\\Component\\Console\\Tester\\TesterTrait' => $vendorDir . '/symfony/console/Tester/TesterTrait.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Alias' => $vendorDir . '/symfony/dependency-injection/Alias.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Argument\\AbstractArgument' => $vendorDir . '/symfony/dependency-injection/Argument/AbstractArgument.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Argument\\ArgumentInterface' => $vendorDir . '/symfony/dependency-injection/Argument/ArgumentInterface.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Argument\\BoundArgument' => $vendorDir . '/symfony/dependency-injection/Argument/BoundArgument.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Argument\\IteratorArgument' => $vendorDir . '/symfony/dependency-injection/Argument/IteratorArgument.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Argument\\ReferenceSetArgumentTrait' => $vendorDir . '/symfony/dependency-injection/Argument/ReferenceSetArgumentTrait.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Argument\\RewindableGenerator' => $vendorDir . '/symfony/dependency-injection/Argument/RewindableGenerator.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Argument\\ServiceClosureArgument' => $vendorDir . '/symfony/dependency-injection/Argument/ServiceClosureArgument.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Argument\\ServiceLocator' => $vendorDir . '/symfony/dependency-injection/Argument/ServiceLocator.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Argument\\ServiceLocatorArgument' => $vendorDir . '/symfony/dependency-injection/Argument/ServiceLocatorArgument.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Argument\\TaggedIteratorArgument' => $vendorDir . '/symfony/dependency-injection/Argument/TaggedIteratorArgument.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Attribute\\AsTaggedItem' => $vendorDir . '/symfony/dependency-injection/Attribute/AsTaggedItem.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Attribute\\Autoconfigure' => $vendorDir . '/symfony/dependency-injection/Attribute/Autoconfigure.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Attribute\\AutoconfigureTag' => $vendorDir . '/symfony/dependency-injection/Attribute/AutoconfigureTag.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Attribute\\TaggedIterator' => $vendorDir . '/symfony/dependency-injection/Attribute/TaggedIterator.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Attribute\\TaggedLocator' => $vendorDir . '/symfony/dependency-injection/Attribute/TaggedLocator.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Attribute\\Target' => $vendorDir . '/symfony/dependency-injection/Attribute/Target.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Attribute\\When' => $vendorDir . '/symfony/dependency-injection/Attribute/When.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\ChildDefinition' => $vendorDir . '/symfony/dependency-injection/ChildDefinition.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Compiler\\AbstractRecursivePass' => $vendorDir . '/symfony/dependency-injection/Compiler/AbstractRecursivePass.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Compiler\\AliasDeprecatedPublicServicesPass' => $vendorDir . '/symfony/dependency-injection/Compiler/AliasDeprecatedPublicServicesPass.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Compiler\\AnalyzeServiceReferencesPass' => $vendorDir . '/symfony/dependency-injection/Compiler/AnalyzeServiceReferencesPass.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Compiler\\AttributeAutoconfigurationPass' => $vendorDir . '/symfony/dependency-injection/Compiler/AttributeAutoconfigurationPass.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Compiler\\AutoAliasServicePass' => $vendorDir . '/symfony/dependency-injection/Compiler/AutoAliasServicePass.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Compiler\\AutowirePass' => $vendorDir . '/symfony/dependency-injection/Compiler/AutowirePass.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Compiler\\AutowireRequiredMethodsPass' => $vendorDir . '/symfony/dependency-injection/Compiler/AutowireRequiredMethodsPass.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Compiler\\AutowireRequiredPropertiesPass' => $vendorDir . '/symfony/dependency-injection/Compiler/AutowireRequiredPropertiesPass.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Compiler\\CheckArgumentsValidityPass' => $vendorDir . '/symfony/dependency-injection/Compiler/CheckArgumentsValidityPass.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Compiler\\CheckCircularReferencesPass' => $vendorDir . '/symfony/dependency-injection/Compiler/CheckCircularReferencesPass.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Compiler\\CheckDefinitionValidityPass' => $vendorDir . '/symfony/dependency-injection/Compiler/CheckDefinitionValidityPass.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Compiler\\CheckExceptionOnInvalidReferenceBehaviorPass' => $vendorDir . '/symfony/dependency-injection/Compiler/CheckExceptionOnInvalidReferenceBehaviorPass.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Compiler\\CheckReferenceValidityPass' => $vendorDir . '/symfony/dependency-injection/Compiler/CheckReferenceValidityPass.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Compiler\\CheckTypeDeclarationsPass' => $vendorDir . '/symfony/dependency-injection/Compiler/CheckTypeDeclarationsPass.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Compiler\\Compiler' => $vendorDir . '/symfony/dependency-injection/Compiler/Compiler.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Compiler\\CompilerPassInterface' => $vendorDir . '/symfony/dependency-injection/Compiler/CompilerPassInterface.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Compiler\\DecoratorServicePass' => $vendorDir . '/symfony/dependency-injection/Compiler/DecoratorServicePass.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Compiler\\DefinitionErrorExceptionPass' => $vendorDir . '/symfony/dependency-injection/Compiler/DefinitionErrorExceptionPass.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Compiler\\ExtensionCompilerPass' => $vendorDir . '/symfony/dependency-injection/Compiler/ExtensionCompilerPass.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Compiler\\InlineServiceDefinitionsPass' => $vendorDir . '/symfony/dependency-injection/Compiler/InlineServiceDefinitionsPass.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Compiler\\MergeExtensionConfigurationPass' => $vendorDir . '/symfony/dependency-injection/Compiler/MergeExtensionConfigurationPass.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Compiler\\PassConfig' => $vendorDir . '/symfony/dependency-injection/Compiler/PassConfig.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Compiler\\PriorityTaggedServiceTrait' => $vendorDir . '/symfony/dependency-injection/Compiler/PriorityTaggedServiceTrait.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Compiler\\RegisterAutoconfigureAttributesPass' => $vendorDir . '/symfony/dependency-injection/Compiler/RegisterAutoconfigureAttributesPass.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Compiler\\RegisterEnvVarProcessorsPass' => $vendorDir . '/symfony/dependency-injection/Compiler/RegisterEnvVarProcessorsPass.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Compiler\\RegisterReverseContainerPass' => $vendorDir . '/symfony/dependency-injection/Compiler/RegisterReverseContainerPass.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Compiler\\RegisterServiceSubscribersPass' => $vendorDir . '/symfony/dependency-injection/Compiler/RegisterServiceSubscribersPass.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Compiler\\RemoveAbstractDefinitionsPass' => $vendorDir . '/symfony/dependency-injection/Compiler/RemoveAbstractDefinitionsPass.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Compiler\\RemovePrivateAliasesPass' => $vendorDir . '/symfony/dependency-injection/Compiler/RemovePrivateAliasesPass.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Compiler\\RemoveUnusedDefinitionsPass' => $vendorDir . '/symfony/dependency-injection/Compiler/RemoveUnusedDefinitionsPass.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Compiler\\ReplaceAliasByActualDefinitionPass' => $vendorDir . '/symfony/dependency-injection/Compiler/ReplaceAliasByActualDefinitionPass.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Compiler\\ResolveBindingsPass' => $vendorDir . '/symfony/dependency-injection/Compiler/ResolveBindingsPass.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Compiler\\ResolveChildDefinitionsPass' => $vendorDir . '/symfony/dependency-injection/Compiler/ResolveChildDefinitionsPass.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Compiler\\ResolveClassPass' => $vendorDir . '/symfony/dependency-injection/Compiler/ResolveClassPass.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Compiler\\ResolveDecoratorStackPass' => $vendorDir . '/symfony/dependency-injection/Compiler/ResolveDecoratorStackPass.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Compiler\\ResolveEnvPlaceholdersPass' => $vendorDir . '/symfony/dependency-injection/Compiler/ResolveEnvPlaceholdersPass.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Compiler\\ResolveFactoryClassPass' => $vendorDir . '/symfony/dependency-injection/Compiler/ResolveFactoryClassPass.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Compiler\\ResolveHotPathPass' => $vendorDir . '/symfony/dependency-injection/Compiler/ResolveHotPathPass.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Compiler\\ResolveInstanceofConditionalsPass' => $vendorDir . '/symfony/dependency-injection/Compiler/ResolveInstanceofConditionalsPass.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Compiler\\ResolveInvalidReferencesPass' => $vendorDir . '/symfony/dependency-injection/Compiler/ResolveInvalidReferencesPass.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Compiler\\ResolveNamedArgumentsPass' => $vendorDir . '/symfony/dependency-injection/Compiler/ResolveNamedArgumentsPass.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Compiler\\ResolveNoPreloadPass' => $vendorDir . '/symfony/dependency-injection/Compiler/ResolveNoPreloadPass.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Compiler\\ResolveParameterPlaceHoldersPass' => $vendorDir . '/symfony/dependency-injection/Compiler/ResolveParameterPlaceHoldersPass.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Compiler\\ResolveReferencesToAliasesPass' => $vendorDir . '/symfony/dependency-injection/Compiler/ResolveReferencesToAliasesPass.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Compiler\\ResolveServiceSubscribersPass' => $vendorDir . '/symfony/dependency-injection/Compiler/ResolveServiceSubscribersPass.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Compiler\\ResolveTaggedIteratorArgumentPass' => $vendorDir . '/symfony/dependency-injection/Compiler/ResolveTaggedIteratorArgumentPass.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Compiler\\ServiceLocatorTagPass' => $vendorDir . '/symfony/dependency-injection/Compiler/ServiceLocatorTagPass.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Compiler\\ServiceReferenceGraph' => $vendorDir . '/symfony/dependency-injection/Compiler/ServiceReferenceGraph.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Compiler\\ServiceReferenceGraphEdge' => $vendorDir . '/symfony/dependency-injection/Compiler/ServiceReferenceGraphEdge.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Compiler\\ServiceReferenceGraphNode' => $vendorDir . '/symfony/dependency-injection/Compiler/ServiceReferenceGraphNode.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Compiler\\ValidateEnvPlaceholdersPass' => $vendorDir . '/symfony/dependency-injection/Compiler/ValidateEnvPlaceholdersPass.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Config\\ContainerParametersResource' => $vendorDir . '/symfony/dependency-injection/Config/ContainerParametersResource.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Config\\ContainerParametersResourceChecker' => $vendorDir . '/symfony/dependency-injection/Config/ContainerParametersResourceChecker.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Container' => $vendorDir . '/symfony/dependency-injection/Container.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\ContainerAwareInterface' => $vendorDir . '/symfony/dependency-injection/ContainerAwareInterface.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\ContainerAwareTrait' => $vendorDir . '/symfony/dependency-injection/ContainerAwareTrait.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\ContainerBuilder' => $vendorDir . '/symfony/dependency-injection/ContainerBuilder.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\ContainerInterface' => $vendorDir . '/symfony/dependency-injection/ContainerInterface.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Definition' => $vendorDir . '/symfony/dependency-injection/Definition.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Dumper\\Dumper' => $vendorDir . '/symfony/dependency-injection/Dumper/Dumper.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Dumper\\DumperInterface' => $vendorDir . '/symfony/dependency-injection/Dumper/DumperInterface.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Dumper\\GraphvizDumper' => $vendorDir . '/symfony/dependency-injection/Dumper/GraphvizDumper.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Dumper\\PhpDumper' => $vendorDir . '/symfony/dependency-injection/Dumper/PhpDumper.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Dumper\\Preloader' => $vendorDir . '/symfony/dependency-injection/Dumper/Preloader.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Dumper\\XmlDumper' => $vendorDir . '/symfony/dependency-injection/Dumper/XmlDumper.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Dumper\\YamlDumper' => $vendorDir . '/symfony/dependency-injection/Dumper/YamlDumper.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\EnvVarLoaderInterface' => $vendorDir . '/symfony/dependency-injection/EnvVarLoaderInterface.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\EnvVarProcessor' => $vendorDir . '/symfony/dependency-injection/EnvVarProcessor.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\EnvVarProcessorInterface' => $vendorDir . '/symfony/dependency-injection/EnvVarProcessorInterface.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Exception\\AutowiringFailedException' => $vendorDir . '/symfony/dependency-injection/Exception/AutowiringFailedException.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Exception\\BadMethodCallException' => $vendorDir . '/symfony/dependency-injection/Exception/BadMethodCallException.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Exception\\EnvNotFoundException' => $vendorDir . '/symfony/dependency-injection/Exception/EnvNotFoundException.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Exception\\EnvParameterException' => $vendorDir . '/symfony/dependency-injection/Exception/EnvParameterException.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Exception\\ExceptionInterface' => $vendorDir . '/symfony/dependency-injection/Exception/ExceptionInterface.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Exception\\InvalidArgumentException' => $vendorDir . '/symfony/dependency-injection/Exception/InvalidArgumentException.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Exception\\InvalidParameterTypeException' => $vendorDir . '/symfony/dependency-injection/Exception/InvalidParameterTypeException.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Exception\\LogicException' => $vendorDir . '/symfony/dependency-injection/Exception/LogicException.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Exception\\OutOfBoundsException' => $vendorDir . '/symfony/dependency-injection/Exception/OutOfBoundsException.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Exception\\ParameterCircularReferenceException' => $vendorDir . '/symfony/dependency-injection/Exception/ParameterCircularReferenceException.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Exception\\ParameterNotFoundException' => $vendorDir . '/symfony/dependency-injection/Exception/ParameterNotFoundException.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Exception\\RuntimeException' => $vendorDir . '/symfony/dependency-injection/Exception/RuntimeException.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Exception\\ServiceCircularReferenceException' => $vendorDir . '/symfony/dependency-injection/Exception/ServiceCircularReferenceException.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Exception\\ServiceNotFoundException' => $vendorDir . '/symfony/dependency-injection/Exception/ServiceNotFoundException.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\ExpressionLanguage' => $vendorDir . '/symfony/dependency-injection/ExpressionLanguage.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\ExpressionLanguageProvider' => $vendorDir . '/symfony/dependency-injection/ExpressionLanguageProvider.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Extension\\ConfigurationExtensionInterface' => $vendorDir . '/symfony/dependency-injection/Extension/ConfigurationExtensionInterface.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Extension\\Extension' => $vendorDir . '/symfony/dependency-injection/Extension/Extension.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Extension\\ExtensionInterface' => $vendorDir . '/symfony/dependency-injection/Extension/ExtensionInterface.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Extension\\PrependExtensionInterface' => $vendorDir . '/symfony/dependency-injection/Extension/PrependExtensionInterface.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\LazyProxy\\Instantiator\\InstantiatorInterface' => $vendorDir . '/symfony/dependency-injection/LazyProxy/Instantiator/InstantiatorInterface.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\LazyProxy\\Instantiator\\RealServiceInstantiator' => $vendorDir . '/symfony/dependency-injection/LazyProxy/Instantiator/RealServiceInstantiator.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\LazyProxy\\PhpDumper\\DumperInterface' => $vendorDir . '/symfony/dependency-injection/LazyProxy/PhpDumper/DumperInterface.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\LazyProxy\\PhpDumper\\NullDumper' => $vendorDir . '/symfony/dependency-injection/LazyProxy/PhpDumper/NullDumper.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\LazyProxy\\ProxyHelper' => $vendorDir . '/symfony/dependency-injection/LazyProxy/ProxyHelper.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Loader\\ClosureLoader' => $vendorDir . '/symfony/dependency-injection/Loader/ClosureLoader.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\AbstractConfigurator' => $vendorDir . '/symfony/dependency-injection/Loader/Configurator/AbstractConfigurator.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\AbstractServiceConfigurator' => $vendorDir . '/symfony/dependency-injection/Loader/Configurator/AbstractServiceConfigurator.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\AliasConfigurator' => $vendorDir . '/symfony/dependency-injection/Loader/Configurator/AliasConfigurator.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\ClosureReferenceConfigurator' => $vendorDir . '/symfony/dependency-injection/Loader/Configurator/ClosureReferenceConfigurator.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\ContainerConfigurator' => $vendorDir . '/symfony/dependency-injection/Loader/Configurator/ContainerConfigurator.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\DefaultsConfigurator' => $vendorDir . '/symfony/dependency-injection/Loader/Configurator/DefaultsConfigurator.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\EnvConfigurator' => $vendorDir . '/symfony/dependency-injection/Loader/Configurator/EnvConfigurator.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\InlineServiceConfigurator' => $vendorDir . '/symfony/dependency-injection/Loader/Configurator/InlineServiceConfigurator.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\InstanceofConfigurator' => $vendorDir . '/symfony/dependency-injection/Loader/Configurator/InstanceofConfigurator.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\ParametersConfigurator' => $vendorDir . '/symfony/dependency-injection/Loader/Configurator/ParametersConfigurator.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\PrototypeConfigurator' => $vendorDir . '/symfony/dependency-injection/Loader/Configurator/PrototypeConfigurator.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\ReferenceConfigurator' => $vendorDir . '/symfony/dependency-injection/Loader/Configurator/ReferenceConfigurator.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\ServiceConfigurator' => $vendorDir . '/symfony/dependency-injection/Loader/Configurator/ServiceConfigurator.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\ServicesConfigurator' => $vendorDir . '/symfony/dependency-injection/Loader/Configurator/ServicesConfigurator.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\Traits\\AbstractTrait' => $vendorDir . '/symfony/dependency-injection/Loader/Configurator/Traits/AbstractTrait.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\Traits\\ArgumentTrait' => $vendorDir . '/symfony/dependency-injection/Loader/Configurator/Traits/ArgumentTrait.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\Traits\\AutoconfigureTrait' => $vendorDir . '/symfony/dependency-injection/Loader/Configurator/Traits/AutoconfigureTrait.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\Traits\\AutowireTrait' => $vendorDir . '/symfony/dependency-injection/Loader/Configurator/Traits/AutowireTrait.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\Traits\\BindTrait' => $vendorDir . '/symfony/dependency-injection/Loader/Configurator/Traits/BindTrait.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\Traits\\CallTrait' => $vendorDir . '/symfony/dependency-injection/Loader/Configurator/Traits/CallTrait.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\Traits\\ClassTrait' => $vendorDir . '/symfony/dependency-injection/Loader/Configurator/Traits/ClassTrait.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\Traits\\ConfiguratorTrait' => $vendorDir . '/symfony/dependency-injection/Loader/Configurator/Traits/ConfiguratorTrait.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\Traits\\DecorateTrait' => $vendorDir . '/symfony/dependency-injection/Loader/Configurator/Traits/DecorateTrait.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\Traits\\DeprecateTrait' => $vendorDir . '/symfony/dependency-injection/Loader/Configurator/Traits/DeprecateTrait.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\Traits\\FactoryTrait' => $vendorDir . '/symfony/dependency-injection/Loader/Configurator/Traits/FactoryTrait.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\Traits\\FileTrait' => $vendorDir . '/symfony/dependency-injection/Loader/Configurator/Traits/FileTrait.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\Traits\\LazyTrait' => $vendorDir . '/symfony/dependency-injection/Loader/Configurator/Traits/LazyTrait.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\Traits\\ParentTrait' => $vendorDir . '/symfony/dependency-injection/Loader/Configurator/Traits/ParentTrait.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\Traits\\PropertyTrait' => $vendorDir . '/symfony/dependency-injection/Loader/Configurator/Traits/PropertyTrait.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\Traits\\PublicTrait' => $vendorDir . '/symfony/dependency-injection/Loader/Configurator/Traits/PublicTrait.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\Traits\\ShareTrait' => $vendorDir . '/symfony/dependency-injection/Loader/Configurator/Traits/ShareTrait.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\Traits\\SyntheticTrait' => $vendorDir . '/symfony/dependency-injection/Loader/Configurator/Traits/SyntheticTrait.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\Traits\\TagTrait' => $vendorDir . '/symfony/dependency-injection/Loader/Configurator/Traits/TagTrait.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Loader\\DirectoryLoader' => $vendorDir . '/symfony/dependency-injection/Loader/DirectoryLoader.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Loader\\FileLoader' => $vendorDir . '/symfony/dependency-injection/Loader/FileLoader.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Loader\\GlobFileLoader' => $vendorDir . '/symfony/dependency-injection/Loader/GlobFileLoader.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Loader\\IniFileLoader' => $vendorDir . '/symfony/dependency-injection/Loader/IniFileLoader.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Loader\\PhpFileLoader' => $vendorDir . '/symfony/dependency-injection/Loader/PhpFileLoader.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Loader\\XmlFileLoader' => $vendorDir . '/symfony/dependency-injection/Loader/XmlFileLoader.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Loader\\YamlFileLoader' => $vendorDir . '/symfony/dependency-injection/Loader/YamlFileLoader.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Parameter' => $vendorDir . '/symfony/dependency-injection/Parameter.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\ParameterBag\\ContainerBag' => $vendorDir . '/symfony/dependency-injection/ParameterBag/ContainerBag.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\ParameterBag\\ContainerBagInterface' => $vendorDir . '/symfony/dependency-injection/ParameterBag/ContainerBagInterface.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\ParameterBag\\EnvPlaceholderParameterBag' => $vendorDir . '/symfony/dependency-injection/ParameterBag/EnvPlaceholderParameterBag.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\ParameterBag\\FrozenParameterBag' => $vendorDir . '/symfony/dependency-injection/ParameterBag/FrozenParameterBag.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\ParameterBag\\ParameterBag' => $vendorDir . '/symfony/dependency-injection/ParameterBag/ParameterBag.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\ParameterBag\\ParameterBagInterface' => $vendorDir . '/symfony/dependency-injection/ParameterBag/ParameterBagInterface.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Reference' => $vendorDir . '/symfony/dependency-injection/Reference.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\ReverseContainer' => $vendorDir . '/symfony/dependency-injection/ReverseContainer.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\ServiceLocator' => $vendorDir . '/symfony/dependency-injection/ServiceLocator.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\TaggedContainerInterface' => $vendorDir . '/symfony/dependency-injection/TaggedContainerInterface.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\TypedReference' => $vendorDir . '/symfony/dependency-injection/TypedReference.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Variable' => $vendorDir . '/symfony/dependency-injection/Variable.php', + 'RectorPrefix20220520\\Symfony\\Component\\Filesystem\\Exception\\ExceptionInterface' => $vendorDir . '/symfony/filesystem/Exception/ExceptionInterface.php', + 'RectorPrefix20220520\\Symfony\\Component\\Filesystem\\Exception\\FileNotFoundException' => $vendorDir . '/symfony/filesystem/Exception/FileNotFoundException.php', + 'RectorPrefix20220520\\Symfony\\Component\\Filesystem\\Exception\\IOException' => $vendorDir . '/symfony/filesystem/Exception/IOException.php', + 'RectorPrefix20220520\\Symfony\\Component\\Filesystem\\Exception\\IOExceptionInterface' => $vendorDir . '/symfony/filesystem/Exception/IOExceptionInterface.php', + 'RectorPrefix20220520\\Symfony\\Component\\Filesystem\\Exception\\InvalidArgumentException' => $vendorDir . '/symfony/filesystem/Exception/InvalidArgumentException.php', + 'RectorPrefix20220520\\Symfony\\Component\\Filesystem\\Exception\\RuntimeException' => $vendorDir . '/symfony/filesystem/Exception/RuntimeException.php', + 'RectorPrefix20220520\\Symfony\\Component\\Filesystem\\Filesystem' => $vendorDir . '/symfony/filesystem/Filesystem.php', + 'RectorPrefix20220520\\Symfony\\Component\\Filesystem\\Path' => $vendorDir . '/symfony/filesystem/Path.php', + 'RectorPrefix20220520\\Symfony\\Component\\Finder\\Comparator\\Comparator' => $vendorDir . '/symfony/finder/Comparator/Comparator.php', + 'RectorPrefix20220520\\Symfony\\Component\\Finder\\Comparator\\DateComparator' => $vendorDir . '/symfony/finder/Comparator/DateComparator.php', + 'RectorPrefix20220520\\Symfony\\Component\\Finder\\Comparator\\NumberComparator' => $vendorDir . '/symfony/finder/Comparator/NumberComparator.php', + 'RectorPrefix20220520\\Symfony\\Component\\Finder\\Exception\\AccessDeniedException' => $vendorDir . '/symfony/finder/Exception/AccessDeniedException.php', + 'RectorPrefix20220520\\Symfony\\Component\\Finder\\Exception\\DirectoryNotFoundException' => $vendorDir . '/symfony/finder/Exception/DirectoryNotFoundException.php', + 'RectorPrefix20220520\\Symfony\\Component\\Finder\\Finder' => $vendorDir . '/symfony/finder/Finder.php', + 'RectorPrefix20220520\\Symfony\\Component\\Finder\\Gitignore' => $vendorDir . '/symfony/finder/Gitignore.php', + 'RectorPrefix20220520\\Symfony\\Component\\Finder\\Glob' => $vendorDir . '/symfony/finder/Glob.php', + 'RectorPrefix20220520\\Symfony\\Component\\Finder\\Iterator\\CustomFilterIterator' => $vendorDir . '/symfony/finder/Iterator/CustomFilterIterator.php', + 'RectorPrefix20220520\\Symfony\\Component\\Finder\\Iterator\\DateRangeFilterIterator' => $vendorDir . '/symfony/finder/Iterator/DateRangeFilterIterator.php', + 'RectorPrefix20220520\\Symfony\\Component\\Finder\\Iterator\\DepthRangeFilterIterator' => $vendorDir . '/symfony/finder/Iterator/DepthRangeFilterIterator.php', + 'RectorPrefix20220520\\Symfony\\Component\\Finder\\Iterator\\ExcludeDirectoryFilterIterator' => $vendorDir . '/symfony/finder/Iterator/ExcludeDirectoryFilterIterator.php', + 'RectorPrefix20220520\\Symfony\\Component\\Finder\\Iterator\\FileTypeFilterIterator' => $vendorDir . '/symfony/finder/Iterator/FileTypeFilterIterator.php', + 'RectorPrefix20220520\\Symfony\\Component\\Finder\\Iterator\\FilecontentFilterIterator' => $vendorDir . '/symfony/finder/Iterator/FilecontentFilterIterator.php', + 'RectorPrefix20220520\\Symfony\\Component\\Finder\\Iterator\\FilenameFilterIterator' => $vendorDir . '/symfony/finder/Iterator/FilenameFilterIterator.php', + 'RectorPrefix20220520\\Symfony\\Component\\Finder\\Iterator\\LazyIterator' => $vendorDir . '/symfony/finder/Iterator/LazyIterator.php', + 'RectorPrefix20220520\\Symfony\\Component\\Finder\\Iterator\\MultiplePcreFilterIterator' => $vendorDir . '/symfony/finder/Iterator/MultiplePcreFilterIterator.php', + 'RectorPrefix20220520\\Symfony\\Component\\Finder\\Iterator\\PathFilterIterator' => $vendorDir . '/symfony/finder/Iterator/PathFilterIterator.php', + 'RectorPrefix20220520\\Symfony\\Component\\Finder\\Iterator\\RecursiveDirectoryIterator' => $vendorDir . '/symfony/finder/Iterator/RecursiveDirectoryIterator.php', + 'RectorPrefix20220520\\Symfony\\Component\\Finder\\Iterator\\SizeRangeFilterIterator' => $vendorDir . '/symfony/finder/Iterator/SizeRangeFilterIterator.php', + 'RectorPrefix20220520\\Symfony\\Component\\Finder\\Iterator\\SortableIterator' => $vendorDir . '/symfony/finder/Iterator/SortableIterator.php', + 'RectorPrefix20220520\\Symfony\\Component\\Finder\\Iterator\\VcsIgnoredFilterIterator' => $vendorDir . '/symfony/finder/Iterator/VcsIgnoredFilterIterator.php', + 'RectorPrefix20220520\\Symfony\\Component\\Finder\\SplFileInfo' => $vendorDir . '/symfony/finder/SplFileInfo.php', + 'RectorPrefix20220520\\Symfony\\Component\\Process\\Exception\\ExceptionInterface' => $vendorDir . '/symfony/process/Exception/ExceptionInterface.php', + 'RectorPrefix20220520\\Symfony\\Component\\Process\\Exception\\InvalidArgumentException' => $vendorDir . '/symfony/process/Exception/InvalidArgumentException.php', + 'RectorPrefix20220520\\Symfony\\Component\\Process\\Exception\\LogicException' => $vendorDir . '/symfony/process/Exception/LogicException.php', + 'RectorPrefix20220520\\Symfony\\Component\\Process\\Exception\\ProcessFailedException' => $vendorDir . '/symfony/process/Exception/ProcessFailedException.php', + 'RectorPrefix20220520\\Symfony\\Component\\Process\\Exception\\ProcessSignaledException' => $vendorDir . '/symfony/process/Exception/ProcessSignaledException.php', + 'RectorPrefix20220520\\Symfony\\Component\\Process\\Exception\\ProcessTimedOutException' => $vendorDir . '/symfony/process/Exception/ProcessTimedOutException.php', + 'RectorPrefix20220520\\Symfony\\Component\\Process\\Exception\\RuntimeException' => $vendorDir . '/symfony/process/Exception/RuntimeException.php', + 'RectorPrefix20220520\\Symfony\\Component\\Process\\ExecutableFinder' => $vendorDir . '/symfony/process/ExecutableFinder.php', + 'RectorPrefix20220520\\Symfony\\Component\\Process\\InputStream' => $vendorDir . '/symfony/process/InputStream.php', + 'RectorPrefix20220520\\Symfony\\Component\\Process\\PhpExecutableFinder' => $vendorDir . '/symfony/process/PhpExecutableFinder.php', + 'RectorPrefix20220520\\Symfony\\Component\\Process\\PhpProcess' => $vendorDir . '/symfony/process/PhpProcess.php', + 'RectorPrefix20220520\\Symfony\\Component\\Process\\Pipes\\AbstractPipes' => $vendorDir . '/symfony/process/Pipes/AbstractPipes.php', + 'RectorPrefix20220520\\Symfony\\Component\\Process\\Pipes\\PipesInterface' => $vendorDir . '/symfony/process/Pipes/PipesInterface.php', + 'RectorPrefix20220520\\Symfony\\Component\\Process\\Pipes\\UnixPipes' => $vendorDir . '/symfony/process/Pipes/UnixPipes.php', + 'RectorPrefix20220520\\Symfony\\Component\\Process\\Pipes\\WindowsPipes' => $vendorDir . '/symfony/process/Pipes/WindowsPipes.php', + 'RectorPrefix20220520\\Symfony\\Component\\Process\\Process' => $vendorDir . '/symfony/process/Process.php', + 'RectorPrefix20220520\\Symfony\\Component\\Process\\ProcessUtils' => $vendorDir . '/symfony/process/ProcessUtils.php', + 'RectorPrefix20220520\\Symfony\\Component\\String\\AbstractString' => $vendorDir . '/symfony/string/AbstractString.php', + 'RectorPrefix20220520\\Symfony\\Component\\String\\AbstractUnicodeString' => $vendorDir . '/symfony/string/AbstractUnicodeString.php', + 'RectorPrefix20220520\\Symfony\\Component\\String\\ByteString' => $vendorDir . '/symfony/string/ByteString.php', + 'RectorPrefix20220520\\Symfony\\Component\\String\\CodePointString' => $vendorDir . '/symfony/string/CodePointString.php', + 'RectorPrefix20220520\\Symfony\\Component\\String\\Exception\\ExceptionInterface' => $vendorDir . '/symfony/string/Exception/ExceptionInterface.php', + 'RectorPrefix20220520\\Symfony\\Component\\String\\Exception\\InvalidArgumentException' => $vendorDir . '/symfony/string/Exception/InvalidArgumentException.php', + 'RectorPrefix20220520\\Symfony\\Component\\String\\Exception\\RuntimeException' => $vendorDir . '/symfony/string/Exception/RuntimeException.php', + 'RectorPrefix20220520\\Symfony\\Component\\String\\Inflector\\EnglishInflector' => $vendorDir . '/symfony/string/Inflector/EnglishInflector.php', + 'RectorPrefix20220520\\Symfony\\Component\\String\\Inflector\\FrenchInflector' => $vendorDir . '/symfony/string/Inflector/FrenchInflector.php', + 'RectorPrefix20220520\\Symfony\\Component\\String\\Inflector\\InflectorInterface' => $vendorDir . '/symfony/string/Inflector/InflectorInterface.php', + 'RectorPrefix20220520\\Symfony\\Component\\String\\LazyString' => $vendorDir . '/symfony/string/LazyString.php', + 'RectorPrefix20220520\\Symfony\\Component\\String\\Slugger\\AsciiSlugger' => $vendorDir . '/symfony/string/Slugger/AsciiSlugger.php', + 'RectorPrefix20220520\\Symfony\\Component\\String\\Slugger\\SluggerInterface' => $vendorDir . '/symfony/string/Slugger/SluggerInterface.php', + 'RectorPrefix20220520\\Symfony\\Component\\String\\UnicodeString' => $vendorDir . '/symfony/string/UnicodeString.php', + 'RectorPrefix20220520\\Symfony\\Component\\Yaml\\Command\\LintCommand' => $vendorDir . '/symfony/yaml/Command/LintCommand.php', + 'RectorPrefix20220520\\Symfony\\Component\\Yaml\\Dumper' => $vendorDir . '/symfony/yaml/Dumper.php', + 'RectorPrefix20220520\\Symfony\\Component\\Yaml\\Escaper' => $vendorDir . '/symfony/yaml/Escaper.php', + 'RectorPrefix20220520\\Symfony\\Component\\Yaml\\Exception\\DumpException' => $vendorDir . '/symfony/yaml/Exception/DumpException.php', + 'RectorPrefix20220520\\Symfony\\Component\\Yaml\\Exception\\ExceptionInterface' => $vendorDir . '/symfony/yaml/Exception/ExceptionInterface.php', + 'RectorPrefix20220520\\Symfony\\Component\\Yaml\\Exception\\ParseException' => $vendorDir . '/symfony/yaml/Exception/ParseException.php', + 'RectorPrefix20220520\\Symfony\\Component\\Yaml\\Exception\\RuntimeException' => $vendorDir . '/symfony/yaml/Exception/RuntimeException.php', + 'RectorPrefix20220520\\Symfony\\Component\\Yaml\\Inline' => $vendorDir . '/symfony/yaml/Inline.php', + 'RectorPrefix20220520\\Symfony\\Component\\Yaml\\Parser' => $vendorDir . '/symfony/yaml/Parser.php', + 'RectorPrefix20220520\\Symfony\\Component\\Yaml\\Tag\\TaggedValue' => $vendorDir . '/symfony/yaml/Tag/TaggedValue.php', + 'RectorPrefix20220520\\Symfony\\Component\\Yaml\\Unescaper' => $vendorDir . '/symfony/yaml/Unescaper.php', + 'RectorPrefix20220520\\Symfony\\Component\\Yaml\\Yaml' => $vendorDir . '/symfony/yaml/Yaml.php', + 'RectorPrefix20220520\\Symfony\\Contracts\\Cache\\CacheInterface' => $vendorDir . '/symfony/contracts/Cache/CacheInterface.php', + 'RectorPrefix20220520\\Symfony\\Contracts\\Cache\\CacheTrait' => $vendorDir . '/symfony/contracts/Cache/CacheTrait.php', + 'RectorPrefix20220520\\Symfony\\Contracts\\Cache\\CallbackInterface' => $vendorDir . '/symfony/contracts/Cache/CallbackInterface.php', + 'RectorPrefix20220520\\Symfony\\Contracts\\Cache\\ItemInterface' => $vendorDir . '/symfony/contracts/Cache/ItemInterface.php', + 'RectorPrefix20220520\\Symfony\\Contracts\\Cache\\TagAwareCacheInterface' => $vendorDir . '/symfony/contracts/Cache/TagAwareCacheInterface.php', + 'RectorPrefix20220520\\Symfony\\Contracts\\EventDispatcher\\Event' => $vendorDir . '/symfony/contracts/EventDispatcher/Event.php', + 'RectorPrefix20220520\\Symfony\\Contracts\\EventDispatcher\\EventDispatcherInterface' => $vendorDir . '/symfony/contracts/EventDispatcher/EventDispatcherInterface.php', + 'RectorPrefix20220520\\Symfony\\Contracts\\HttpClient\\ChunkInterface' => $vendorDir . '/symfony/contracts/HttpClient/ChunkInterface.php', + 'RectorPrefix20220520\\Symfony\\Contracts\\HttpClient\\Exception\\ClientExceptionInterface' => $vendorDir . '/symfony/contracts/HttpClient/Exception/ClientExceptionInterface.php', + 'RectorPrefix20220520\\Symfony\\Contracts\\HttpClient\\Exception\\DecodingExceptionInterface' => $vendorDir . '/symfony/contracts/HttpClient/Exception/DecodingExceptionInterface.php', + 'RectorPrefix20220520\\Symfony\\Contracts\\HttpClient\\Exception\\ExceptionInterface' => $vendorDir . '/symfony/contracts/HttpClient/Exception/ExceptionInterface.php', + 'RectorPrefix20220520\\Symfony\\Contracts\\HttpClient\\Exception\\HttpExceptionInterface' => $vendorDir . '/symfony/contracts/HttpClient/Exception/HttpExceptionInterface.php', + 'RectorPrefix20220520\\Symfony\\Contracts\\HttpClient\\Exception\\RedirectionExceptionInterface' => $vendorDir . '/symfony/contracts/HttpClient/Exception/RedirectionExceptionInterface.php', + 'RectorPrefix20220520\\Symfony\\Contracts\\HttpClient\\Exception\\ServerExceptionInterface' => $vendorDir . '/symfony/contracts/HttpClient/Exception/ServerExceptionInterface.php', + 'RectorPrefix20220520\\Symfony\\Contracts\\HttpClient\\Exception\\TimeoutExceptionInterface' => $vendorDir . '/symfony/contracts/HttpClient/Exception/TimeoutExceptionInterface.php', + 'RectorPrefix20220520\\Symfony\\Contracts\\HttpClient\\Exception\\TransportExceptionInterface' => $vendorDir . '/symfony/contracts/HttpClient/Exception/TransportExceptionInterface.php', + 'RectorPrefix20220520\\Symfony\\Contracts\\HttpClient\\HttpClientInterface' => $vendorDir . '/symfony/contracts/HttpClient/HttpClientInterface.php', + 'RectorPrefix20220520\\Symfony\\Contracts\\HttpClient\\ResponseInterface' => $vendorDir . '/symfony/contracts/HttpClient/ResponseInterface.php', + 'RectorPrefix20220520\\Symfony\\Contracts\\HttpClient\\ResponseStreamInterface' => $vendorDir . '/symfony/contracts/HttpClient/ResponseStreamInterface.php', + 'RectorPrefix20220520\\Symfony\\Contracts\\HttpClient\\Test\\HttpClientTestCase' => $vendorDir . '/symfony/contracts/HttpClient/Test/HttpClientTestCase.php', + 'RectorPrefix20220520\\Symfony\\Contracts\\HttpClient\\Test\\TestHttpServer' => $vendorDir . '/symfony/contracts/HttpClient/Test/TestHttpServer.php', + 'RectorPrefix20220520\\Symfony\\Contracts\\Service\\Attribute\\Required' => $vendorDir . '/symfony/contracts/Service/Attribute/Required.php', + 'RectorPrefix20220520\\Symfony\\Contracts\\Service\\Attribute\\SubscribedService' => $vendorDir . '/symfony/contracts/Service/Attribute/SubscribedService.php', + 'RectorPrefix20220520\\Symfony\\Contracts\\Service\\ResetInterface' => $vendorDir . '/symfony/contracts/Service/ResetInterface.php', + 'RectorPrefix20220520\\Symfony\\Contracts\\Service\\ServiceLocatorTrait' => $vendorDir . '/symfony/contracts/Service/ServiceLocatorTrait.php', + 'RectorPrefix20220520\\Symfony\\Contracts\\Service\\ServiceProviderInterface' => $vendorDir . '/symfony/contracts/Service/ServiceProviderInterface.php', + 'RectorPrefix20220520\\Symfony\\Contracts\\Service\\ServiceSubscriberInterface' => $vendorDir . '/symfony/contracts/Service/ServiceSubscriberInterface.php', + 'RectorPrefix20220520\\Symfony\\Contracts\\Service\\ServiceSubscriberTrait' => $vendorDir . '/symfony/contracts/Service/ServiceSubscriberTrait.php', + 'RectorPrefix20220520\\Symfony\\Contracts\\Service\\Test\\ServiceLocatorTest' => $vendorDir . '/symfony/contracts/Service/Test/ServiceLocatorTest.php', + 'RectorPrefix20220520\\Symfony\\Contracts\\Tests\\Cache\\CacheTraitTest' => $vendorDir . '/symfony/contracts/Tests/Cache/CacheTraitTest.php', + 'RectorPrefix20220520\\Symfony\\Contracts\\Tests\\Service\\ServiceSubscriberTraitTest' => $vendorDir . '/symfony/contracts/Tests/Service/ServiceSubscriberTraitTest.php', + 'RectorPrefix20220520\\Symfony\\Contracts\\Translation\\LocaleAwareInterface' => $vendorDir . '/symfony/contracts/Translation/LocaleAwareInterface.php', + 'RectorPrefix20220520\\Symfony\\Contracts\\Translation\\Test\\TranslatorTest' => $vendorDir . '/symfony/contracts/Translation/Test/TranslatorTest.php', + 'RectorPrefix20220520\\Symfony\\Contracts\\Translation\\TranslatableInterface' => $vendorDir . '/symfony/contracts/Translation/TranslatableInterface.php', + 'RectorPrefix20220520\\Symfony\\Contracts\\Translation\\TranslatorInterface' => $vendorDir . '/symfony/contracts/Translation/TranslatorInterface.php', + 'RectorPrefix20220520\\Symfony\\Contracts\\Translation\\TranslatorTrait' => $vendorDir . '/symfony/contracts/Translation/TranslatorTrait.php', + 'RectorPrefix20220520\\Symfony\\Polyfill\\Ctype\\Ctype' => $vendorDir . '/symfony/polyfill-ctype/Ctype.php', + 'RectorPrefix20220520\\Symfony\\Polyfill\\Intl\\Grapheme\\Grapheme' => $vendorDir . '/symfony/polyfill-intl-grapheme/Grapheme.php', + 'RectorPrefix20220520\\Symfony\\Polyfill\\Intl\\Normalizer\\Normalizer' => $vendorDir . '/symfony/polyfill-intl-normalizer/Normalizer.php', + 'RectorPrefix20220520\\Symfony\\Polyfill\\Mbstring\\Mbstring' => $vendorDir . '/symfony/polyfill-mbstring/Mbstring.php', + 'RectorPrefix20220520\\Symfony\\Polyfill\\Php81\\Php81' => $vendorDir . '/symfony/polyfill-php81/Php81.php', + 'RectorPrefix20220520\\Symplify\\Astral\\Contract\\NodeNameResolverInterface' => $vendorDir . '/symplify/astral/src/Contract/NodeNameResolverInterface.php', + 'RectorPrefix20220520\\Symplify\\Astral\\Contract\\NodeValueResolver\\NodeValueResolverInterface' => $vendorDir . '/symplify/astral/src/Contract/NodeValueResolver/NodeValueResolverInterface.php', + 'RectorPrefix20220520\\Symplify\\Astral\\Exception\\ShouldNotHappenException' => $vendorDir . '/symplify/astral/src/Exception/ShouldNotHappenException.php', + 'RectorPrefix20220520\\Symplify\\Astral\\Naming\\SimpleNameResolver' => $vendorDir . '/symplify/astral/src/Naming/SimpleNameResolver.php', + 'RectorPrefix20220520\\Symplify\\Astral\\NodeAnalyzer\\NetteTypeAnalyzer' => $vendorDir . '/symplify/astral/src/NodeAnalyzer/NetteTypeAnalyzer.php', + 'RectorPrefix20220520\\Symplify\\Astral\\NodeFinder\\SimpleNodeFinder' => $vendorDir . '/symplify/astral/src/NodeFinder/SimpleNodeFinder.php', + 'RectorPrefix20220520\\Symplify\\Astral\\NodeNameResolver\\ArgNodeNameResolver' => $vendorDir . '/symplify/astral/src/NodeNameResolver/ArgNodeNameResolver.php', + 'RectorPrefix20220520\\Symplify\\Astral\\NodeNameResolver\\AttributeNodeNameResolver' => $vendorDir . '/symplify/astral/src/NodeNameResolver/AttributeNodeNameResolver.php', + 'RectorPrefix20220520\\Symplify\\Astral\\NodeNameResolver\\ClassLikeNodeNameResolver' => $vendorDir . '/symplify/astral/src/NodeNameResolver/ClassLikeNodeNameResolver.php', + 'RectorPrefix20220520\\Symplify\\Astral\\NodeNameResolver\\ClassMethodNodeNameResolver' => $vendorDir . '/symplify/astral/src/NodeNameResolver/ClassMethodNodeNameResolver.php', + 'RectorPrefix20220520\\Symplify\\Astral\\NodeNameResolver\\ConstFetchNodeNameResolver' => $vendorDir . '/symplify/astral/src/NodeNameResolver/ConstFetchNodeNameResolver.php', + 'RectorPrefix20220520\\Symplify\\Astral\\NodeNameResolver\\FuncCallNodeNameResolver' => $vendorDir . '/symplify/astral/src/NodeNameResolver/FuncCallNodeNameResolver.php', + 'RectorPrefix20220520\\Symplify\\Astral\\NodeNameResolver\\IdentifierNodeNameResolver' => $vendorDir . '/symplify/astral/src/NodeNameResolver/IdentifierNodeNameResolver.php', + 'RectorPrefix20220520\\Symplify\\Astral\\NodeNameResolver\\NamespaceNodeNameResolver' => $vendorDir . '/symplify/astral/src/NodeNameResolver/NamespaceNodeNameResolver.php', + 'RectorPrefix20220520\\Symplify\\Astral\\NodeNameResolver\\ParamNodeNameResolver' => $vendorDir . '/symplify/astral/src/NodeNameResolver/ParamNodeNameResolver.php', + 'RectorPrefix20220520\\Symplify\\Astral\\NodeNameResolver\\PropertyNodeNameResolver' => $vendorDir . '/symplify/astral/src/NodeNameResolver/PropertyNodeNameResolver.php', + 'RectorPrefix20220520\\Symplify\\Astral\\NodeTraverser\\SimpleCallableNodeTraverser' => $vendorDir . '/symplify/astral/src/NodeTraverser/SimpleCallableNodeTraverser.php', + 'RectorPrefix20220520\\Symplify\\Astral\\NodeValue\\NodeValueResolver' => $vendorDir . '/symplify/astral/src/NodeValue/NodeValueResolver.php', + 'RectorPrefix20220520\\Symplify\\Astral\\NodeValue\\NodeValueResolver\\ClassConstFetchValueResolver' => $vendorDir . '/symplify/astral/src/NodeValue/NodeValueResolver/ClassConstFetchValueResolver.php', + 'RectorPrefix20220520\\Symplify\\Astral\\NodeValue\\NodeValueResolver\\ConstFetchValueResolver' => $vendorDir . '/symplify/astral/src/NodeValue/NodeValueResolver/ConstFetchValueResolver.php', + 'RectorPrefix20220520\\Symplify\\Astral\\NodeValue\\NodeValueResolver\\FuncCallValueResolver' => $vendorDir . '/symplify/astral/src/NodeValue/NodeValueResolver/FuncCallValueResolver.php', + 'RectorPrefix20220520\\Symplify\\Astral\\NodeValue\\NodeValueResolver\\MagicConstValueResolver' => $vendorDir . '/symplify/astral/src/NodeValue/NodeValueResolver/MagicConstValueResolver.php', + 'RectorPrefix20220520\\Symplify\\Astral\\NodeValue\\UnionTypeValueResolver' => $vendorDir . '/symplify/astral/src/NodeValue/UnionTypeValueResolver.php', + 'RectorPrefix20220520\\Symplify\\Astral\\NodeVisitor\\CallableNodeVisitor' => $vendorDir . '/symplify/astral/src/NodeVisitor/CallableNodeVisitor.php', + 'RectorPrefix20220520\\Symplify\\Astral\\PhpDocParser\\Contract\\PhpDocNodeVisitorInterface' => $vendorDir . '/symplify/astral/src/PhpDocParser/Contract/PhpDocNodeVisitorInterface.php', + 'RectorPrefix20220520\\Symplify\\Astral\\PhpDocParser\\Exception\\InvalidTraverseException' => $vendorDir . '/symplify/astral/src/PhpDocParser/Exception/InvalidTraverseException.php', + 'RectorPrefix20220520\\Symplify\\Astral\\PhpDocParser\\PhpDocNodeTraverser' => $vendorDir . '/symplify/astral/src/PhpDocParser/PhpDocNodeTraverser.php', + 'RectorPrefix20220520\\Symplify\\Astral\\PhpDocParser\\PhpDocNodeVisitor\\AbstractPhpDocNodeVisitor' => $vendorDir . '/symplify/astral/src/PhpDocParser/PhpDocNodeVisitor/AbstractPhpDocNodeVisitor.php', + 'RectorPrefix20220520\\Symplify\\Astral\\PhpDocParser\\PhpDocNodeVisitor\\CallablePhpDocNodeVisitor' => $vendorDir . '/symplify/astral/src/PhpDocParser/PhpDocNodeVisitor/CallablePhpDocNodeVisitor.php', + 'RectorPrefix20220520\\Symplify\\Astral\\PhpDocParser\\PhpDocNodeVisitor\\CloningPhpDocNodeVisitor' => $vendorDir . '/symplify/astral/src/PhpDocParser/PhpDocNodeVisitor/CloningPhpDocNodeVisitor.php', + 'RectorPrefix20220520\\Symplify\\Astral\\PhpDocParser\\PhpDocNodeVisitor\\ParentConnectingPhpDocNodeVisitor' => $vendorDir . '/symplify/astral/src/PhpDocParser/PhpDocNodeVisitor/ParentConnectingPhpDocNodeVisitor.php', + 'RectorPrefix20220520\\Symplify\\Astral\\PhpDocParser\\SimplePhpDocParser' => $vendorDir . '/symplify/astral/src/PhpDocParser/SimplePhpDocParser.php', + 'RectorPrefix20220520\\Symplify\\Astral\\PhpDocParser\\StaticFactory\\SimplePhpDocParserStaticFactory' => $vendorDir . '/symplify/astral/src/PhpDocParser/StaticFactory/SimplePhpDocParserStaticFactory.php', + 'RectorPrefix20220520\\Symplify\\Astral\\PhpDocParser\\ValueObject\\Ast\\PhpDoc\\SimplePhpDocNode' => $vendorDir . '/symplify/astral/src/PhpDocParser/ValueObject/Ast/PhpDoc/SimplePhpDocNode.php', + 'RectorPrefix20220520\\Symplify\\Astral\\PhpDocParser\\ValueObject\\PhpDocAttributeKey' => $vendorDir . '/symplify/astral/src/PhpDocParser/ValueObject/PhpDocAttributeKey.php', + 'RectorPrefix20220520\\Symplify\\Astral\\PhpParser\\SmartPhpParser' => $vendorDir . '/symplify/astral/src/PhpParser/SmartPhpParser.php', + 'RectorPrefix20220520\\Symplify\\Astral\\PhpParser\\SmartPhpParserFactory' => $vendorDir . '/symplify/astral/src/PhpParser/SmartPhpParserFactory.php', + 'RectorPrefix20220520\\Symplify\\Astral\\Reflection\\MethodCallParser' => $vendorDir . '/symplify/astral/src/Reflection/MethodCallParser.php', + 'RectorPrefix20220520\\Symplify\\Astral\\Reflection\\ReflectionParser' => $vendorDir . '/symplify/astral/src/Reflection/ReflectionParser.php', + 'RectorPrefix20220520\\Symplify\\Astral\\StaticFactory\\NodeValueResolverStaticFactory' => $vendorDir . '/symplify/astral/src/StaticFactory/NodeValueResolverStaticFactory.php', + 'RectorPrefix20220520\\Symplify\\Astral\\StaticFactory\\SimpleNameResolverStaticFactory' => $vendorDir . '/symplify/astral/src/StaticFactory/SimpleNameResolverStaticFactory.php', + 'RectorPrefix20220520\\Symplify\\Astral\\TypeAnalyzer\\ClassMethodReturnTypeResolver' => $vendorDir . '/symplify/astral/src/TypeAnalyzer/ClassMethodReturnTypeResolver.php', + 'RectorPrefix20220520\\Symplify\\Astral\\TypeAnalyzer\\ContainsTypeAnalyser' => $vendorDir . '/symplify/astral/src/TypeAnalyzer/ContainsTypeAnalyser.php', + 'RectorPrefix20220520\\Symplify\\Astral\\ValueObject\\AstralConfig' => $vendorDir . '/symplify/astral/src/ValueObject/AstralConfig.php', + 'RectorPrefix20220520\\Symplify\\Astral\\ValueObject\\AttributeKey' => $vendorDir . '/symplify/astral/src/ValueObject/AttributeKey.php', + 'RectorPrefix20220520\\Symplify\\Astral\\ValueObject\\NodeBuilder\\ClassBuilder' => $vendorDir . '/symplify/astral/src/ValueObject/NodeBuilder/ClassBuilder.php', + 'RectorPrefix20220520\\Symplify\\Astral\\ValueObject\\NodeBuilder\\MethodBuilder' => $vendorDir . '/symplify/astral/src/ValueObject/NodeBuilder/MethodBuilder.php', + 'RectorPrefix20220520\\Symplify\\Astral\\ValueObject\\NodeBuilder\\NamespaceBuilder' => $vendorDir . '/symplify/astral/src/ValueObject/NodeBuilder/NamespaceBuilder.php', + 'RectorPrefix20220520\\Symplify\\Astral\\ValueObject\\NodeBuilder\\ParamBuilder' => $vendorDir . '/symplify/astral/src/ValueObject/NodeBuilder/ParamBuilder.php', + 'RectorPrefix20220520\\Symplify\\Astral\\ValueObject\\NodeBuilder\\PropertyBuilder' => $vendorDir . '/symplify/astral/src/ValueObject/NodeBuilder/PropertyBuilder.php', + 'RectorPrefix20220520\\Symplify\\Astral\\ValueObject\\NodeBuilder\\TraitUseBuilder' => $vendorDir . '/symplify/astral/src/ValueObject/NodeBuilder/TraitUseBuilder.php', + 'RectorPrefix20220520\\Symplify\\Astral\\ValueObject\\NodeBuilder\\UseBuilder' => $vendorDir . '/symplify/astral/src/ValueObject/NodeBuilder/UseBuilder.php', + 'RectorPrefix20220520\\Symplify\\AutowireArrayParameter\\DependencyInjection\\CompilerPass\\AutowireArrayParameterCompilerPass' => $vendorDir . '/symplify/autowire-array-parameter/src/DependencyInjection/CompilerPass/AutowireArrayParameterCompilerPass.php', + 'RectorPrefix20220520\\Symplify\\AutowireArrayParameter\\DependencyInjection\\DefinitionFinder' => $vendorDir . '/symplify/autowire-array-parameter/src/DependencyInjection/DefinitionFinder.php', + 'RectorPrefix20220520\\Symplify\\AutowireArrayParameter\\DocBlock\\ParamTypeDocBlockResolver' => $vendorDir . '/symplify/autowire-array-parameter/src/DocBlock/ParamTypeDocBlockResolver.php', + 'RectorPrefix20220520\\Symplify\\AutowireArrayParameter\\Exception\\DependencyInjection\\DefinitionForTypeNotFoundException' => $vendorDir . '/symplify/autowire-array-parameter/src/Exception/DependencyInjection/DefinitionForTypeNotFoundException.php', + 'RectorPrefix20220520\\Symplify\\AutowireArrayParameter\\Skipper\\ParameterSkipper' => $vendorDir . '/symplify/autowire-array-parameter/src/Skipper/ParameterSkipper.php', + 'RectorPrefix20220520\\Symplify\\AutowireArrayParameter\\TypeResolver\\ParameterTypeResolver' => $vendorDir . '/symplify/autowire-array-parameter/src/TypeResolver/ParameterTypeResolver.php', + 'RectorPrefix20220520\\Symplify\\ComposerJsonManipulator\\ComposerJsonFactory' => $vendorDir . '/symplify/composer-json-manipulator/src/ComposerJsonFactory.php', + 'RectorPrefix20220520\\Symplify\\ComposerJsonManipulator\\FileSystem\\JsonFileManager' => $vendorDir . '/symplify/composer-json-manipulator/src/FileSystem/JsonFileManager.php', + 'RectorPrefix20220520\\Symplify\\ComposerJsonManipulator\\Json\\JsonCleaner' => $vendorDir . '/symplify/composer-json-manipulator/src/Json/JsonCleaner.php', + 'RectorPrefix20220520\\Symplify\\ComposerJsonManipulator\\Json\\JsonInliner' => $vendorDir . '/symplify/composer-json-manipulator/src/Json/JsonInliner.php', + 'RectorPrefix20220520\\Symplify\\ComposerJsonManipulator\\Printer\\ComposerJsonPrinter' => $vendorDir . '/symplify/composer-json-manipulator/src/Printer/ComposerJsonPrinter.php', + 'RectorPrefix20220520\\Symplify\\ComposerJsonManipulator\\Sorter\\ComposerPackageSorter' => $vendorDir . '/symplify/composer-json-manipulator/src/Sorter/ComposerPackageSorter.php', + 'RectorPrefix20220520\\Symplify\\ComposerJsonManipulator\\ValueObject\\ComposerJson' => $vendorDir . '/symplify/composer-json-manipulator/src/ValueObject/ComposerJson.php', + 'RectorPrefix20220520\\Symplify\\ComposerJsonManipulator\\ValueObject\\ComposerJsonManipulatorConfig' => $vendorDir . '/symplify/composer-json-manipulator/src/ValueObject/ComposerJsonManipulatorConfig.php', + 'RectorPrefix20220520\\Symplify\\ComposerJsonManipulator\\ValueObject\\ComposerJsonSection' => $vendorDir . '/symplify/composer-json-manipulator/src/ValueObject/ComposerJsonSection.php', + 'RectorPrefix20220520\\Symplify\\ComposerJsonManipulator\\ValueObject\\Option' => $vendorDir . '/symplify/composer-json-manipulator/src/ValueObject/Option.php', + 'RectorPrefix20220520\\Symplify\\EasyParallel\\CommandLine\\WorkerCommandLineFactory' => $vendorDir . '/symplify/easy-parallel/src/CommandLine/WorkerCommandLineFactory.php', + 'RectorPrefix20220520\\Symplify\\EasyParallel\\Contract\\SerializableInterface' => $vendorDir . '/symplify/easy-parallel/src/Contract/SerializableInterface.php', + 'RectorPrefix20220520\\Symplify\\EasyParallel\\CpuCoreCountProvider' => $vendorDir . '/symplify/easy-parallel/src/CpuCoreCountProvider.php', + 'RectorPrefix20220520\\Symplify\\EasyParallel\\Enum\\Action' => $vendorDir . '/symplify/easy-parallel/src/Enum/Action.php', + 'RectorPrefix20220520\\Symplify\\EasyParallel\\Enum\\Content' => $vendorDir . '/symplify/easy-parallel/src/Enum/Content.php', + 'RectorPrefix20220520\\Symplify\\EasyParallel\\Enum\\ReactCommand' => $vendorDir . '/symplify/easy-parallel/src/Enum/ReactCommand.php', + 'RectorPrefix20220520\\Symplify\\EasyParallel\\Enum\\ReactEvent' => $vendorDir . '/symplify/easy-parallel/src/Enum/ReactEvent.php', + 'RectorPrefix20220520\\Symplify\\EasyParallel\\Exception\\ParallelShouldNotHappenException' => $vendorDir . '/symplify/easy-parallel/src/Exception/ParallelShouldNotHappenException.php', + 'RectorPrefix20220520\\Symplify\\EasyParallel\\FileSystem\\FilePathNormalizer' => $vendorDir . '/symplify/easy-parallel/src/FileSystem/FilePathNormalizer.php', + 'RectorPrefix20220520\\Symplify\\EasyParallel\\Reflection\\CommandFromReflectionFactory' => $vendorDir . '/symplify/easy-parallel/src/Reflection/CommandFromReflectionFactory.php', + 'RectorPrefix20220520\\Symplify\\EasyParallel\\ScheduleFactory' => $vendorDir . '/symplify/easy-parallel/src/ScheduleFactory.php', + 'RectorPrefix20220520\\Symplify\\EasyParallel\\ValueObject\\EasyParallelConfig' => $vendorDir . '/symplify/easy-parallel/src/ValueObject/EasyParallelConfig.php', + 'RectorPrefix20220520\\Symplify\\EasyParallel\\ValueObject\\ParallelProcess' => $vendorDir . '/symplify/easy-parallel/src/ValueObject/ParallelProcess.php', + 'RectorPrefix20220520\\Symplify\\EasyParallel\\ValueObject\\ProcessPool' => $vendorDir . '/symplify/easy-parallel/src/ValueObject/ProcessPool.php', + 'RectorPrefix20220520\\Symplify\\EasyParallel\\ValueObject\\Schedule' => $vendorDir . '/symplify/easy-parallel/src/ValueObject/Schedule.php', + 'RectorPrefix20220520\\Symplify\\EasyTesting\\Command\\ValidateFixtureSkipNamingCommand' => $vendorDir . '/symplify/easy-testing/src/Command/ValidateFixtureSkipNamingCommand.php', + 'RectorPrefix20220520\\Symplify\\EasyTesting\\DataProvider\\StaticFixtureFinder' => $vendorDir . '/symplify/easy-testing/src/DataProvider/StaticFixtureFinder.php', + 'RectorPrefix20220520\\Symplify\\EasyTesting\\DataProvider\\StaticFixtureUpdater' => $vendorDir . '/symplify/easy-testing/src/DataProvider/StaticFixtureUpdater.php', + 'RectorPrefix20220520\\Symplify\\EasyTesting\\Finder\\FixtureFinder' => $vendorDir . '/symplify/easy-testing/src/Finder/FixtureFinder.php', + 'RectorPrefix20220520\\Symplify\\EasyTesting\\FixtureSplitter\\TrioFixtureSplitter' => $vendorDir . '/symplify/easy-testing/src/FixtureSplitter/TrioFixtureSplitter.php', + 'RectorPrefix20220520\\Symplify\\EasyTesting\\Kernel\\EasyTestingKernel' => $vendorDir . '/symplify/easy-testing/src/Kernel/EasyTestingKernel.php', + 'RectorPrefix20220520\\Symplify\\EasyTesting\\MissplacedSkipPrefixResolver' => $vendorDir . '/symplify/easy-testing/src/MissplacedSkipPrefixResolver.php', + 'RectorPrefix20220520\\Symplify\\EasyTesting\\PHPUnit\\Behavior\\DirectoryAssertableTrait' => $vendorDir . '/symplify/easy-testing/src/PHPUnit/Behavior/DirectoryAssertableTrait.php', + 'RectorPrefix20220520\\Symplify\\EasyTesting\\PHPUnit\\StaticPHPUnitEnvironment' => $vendorDir . '/symplify/easy-testing/src/PHPUnit/StaticPHPUnitEnvironment.php', + 'RectorPrefix20220520\\Symplify\\EasyTesting\\StaticFixtureSplitter' => $vendorDir . '/symplify/easy-testing/src/StaticFixtureSplitter.php', + 'RectorPrefix20220520\\Symplify\\EasyTesting\\ValueObject\\EasyTestingConfig' => $vendorDir . '/symplify/easy-testing/src/ValueObject/EasyTestingConfig.php', + 'RectorPrefix20220520\\Symplify\\EasyTesting\\ValueObject\\ExpectedAndOutputFileInfoPair' => $vendorDir . '/symplify/easy-testing/src/ValueObject/ExpectedAndOutputFileInfoPair.php', + 'RectorPrefix20220520\\Symplify\\EasyTesting\\ValueObject\\FixtureSplit\\TrioContent' => $vendorDir . '/symplify/easy-testing/src/ValueObject/FixtureSplit/TrioContent.php', + 'RectorPrefix20220520\\Symplify\\EasyTesting\\ValueObject\\IncorrectAndMissingSkips' => $vendorDir . '/symplify/easy-testing/src/ValueObject/IncorrectAndMissingSkips.php', + 'RectorPrefix20220520\\Symplify\\EasyTesting\\ValueObject\\InputAndExpected' => $vendorDir . '/symplify/easy-testing/src/ValueObject/InputAndExpected.php', + 'RectorPrefix20220520\\Symplify\\EasyTesting\\ValueObject\\InputFileInfoAndExpected' => $vendorDir . '/symplify/easy-testing/src/ValueObject/InputFileInfoAndExpected.php', + 'RectorPrefix20220520\\Symplify\\EasyTesting\\ValueObject\\InputFileInfoAndExpectedFileInfo' => $vendorDir . '/symplify/easy-testing/src/ValueObject/InputFileInfoAndExpectedFileInfo.php', + 'RectorPrefix20220520\\Symplify\\EasyTesting\\ValueObject\\Option' => $vendorDir . '/symplify/easy-testing/src/ValueObject/Option.php', + 'RectorPrefix20220520\\Symplify\\EasyTesting\\ValueObject\\Prefix' => $vendorDir . '/symplify/easy-testing/src/ValueObject/Prefix.php', + 'RectorPrefix20220520\\Symplify\\EasyTesting\\ValueObject\\SplitLine' => $vendorDir . '/symplify/easy-testing/src/ValueObject/SplitLine.php', + 'RectorPrefix20220520\\Symplify\\PackageBuilder\\Composer\\VendorDirProvider' => $vendorDir . '/symplify/package-builder/src/Composer/VendorDirProvider.php', + 'RectorPrefix20220520\\Symplify\\PackageBuilder\\Configuration\\StaticEolConfiguration' => $vendorDir . '/symplify/package-builder/src/Configuration/StaticEolConfiguration.php', + 'RectorPrefix20220520\\Symplify\\PackageBuilder\\Console\\Command\\AbstractSymplifyCommand' => $vendorDir . '/symplify/package-builder/src/Console/Command/AbstractSymplifyCommand.php', + 'RectorPrefix20220520\\Symplify\\PackageBuilder\\Console\\Command\\CommandNaming' => $vendorDir . '/symplify/package-builder/src/Console/Command/CommandNaming.php', + 'RectorPrefix20220520\\Symplify\\PackageBuilder\\Console\\Formatter\\ColorConsoleDiffFormatter' => $vendorDir . '/symplify/package-builder/src/Console/Formatter/ColorConsoleDiffFormatter.php', + 'RectorPrefix20220520\\Symplify\\PackageBuilder\\Console\\Input\\StaticInputDetector' => $vendorDir . '/symplify/package-builder/src/Console/Input/StaticInputDetector.php', + 'RectorPrefix20220520\\Symplify\\PackageBuilder\\Console\\Output\\ConsoleDiffer' => $vendorDir . '/symplify/package-builder/src/Console/Output/ConsoleDiffer.php', + 'RectorPrefix20220520\\Symplify\\PackageBuilder\\Console\\Style\\SymfonyStyleFactory' => $vendorDir . '/symplify/package-builder/src/Console/Style/SymfonyStyleFactory.php', + 'RectorPrefix20220520\\Symplify\\PackageBuilder\\DependencyInjection\\CompilerPass\\AutowireInterfacesCompilerPass' => $vendorDir . '/symplify/package-builder/src/DependencyInjection/CompilerPass/AutowireInterfacesCompilerPass.php', + 'RectorPrefix20220520\\Symplify\\PackageBuilder\\DependencyInjection\\FileLoader\\ParameterMergingPhpFileLoader' => $vendorDir . '/symplify/package-builder/src/DependencyInjection/FileLoader/ParameterMergingPhpFileLoader.php', + 'RectorPrefix20220520\\Symplify\\PackageBuilder\\Diff\\Output\\CompleteUnifiedDiffOutputBuilderFactory' => $vendorDir . '/symplify/package-builder/src/Diff/Output/CompleteUnifiedDiffOutputBuilderFactory.php', + 'RectorPrefix20220520\\Symplify\\PackageBuilder\\Exception\\HttpKernel\\MissingInterfaceException' => $vendorDir . '/symplify/package-builder/src/Exception/HttpKernel/MissingInterfaceException.php', + 'RectorPrefix20220520\\Symplify\\PackageBuilder\\Exception\\InvalidPrivatePropertyTypeException' => $vendorDir . '/symplify/package-builder/src/Exception/InvalidPrivatePropertyTypeException.php', + 'RectorPrefix20220520\\Symplify\\PackageBuilder\\Exception\\MissingPrivatePropertyException' => $vendorDir . '/symplify/package-builder/src/Exception/MissingPrivatePropertyException.php', + 'RectorPrefix20220520\\Symplify\\PackageBuilder\\Matcher\\ArrayStringAndFnMatcher' => $vendorDir . '/symplify/package-builder/src/Matcher/ArrayStringAndFnMatcher.php', + 'RectorPrefix20220520\\Symplify\\PackageBuilder\\Neon\\NeonPrinter' => $vendorDir . '/symplify/package-builder/src/Neon/NeonPrinter.php', + 'RectorPrefix20220520\\Symplify\\PackageBuilder\\Parameter\\ParameterProvider' => $vendorDir . '/symplify/package-builder/src/Parameter/ParameterProvider.php', + 'RectorPrefix20220520\\Symplify\\PackageBuilder\\Php\\TypeChecker' => $vendorDir . '/symplify/package-builder/src/Php/TypeChecker.php', + 'RectorPrefix20220520\\Symplify\\PackageBuilder\\Reflection\\ClassLikeExistenceChecker' => $vendorDir . '/symplify/package-builder/src/Reflection/ClassLikeExistenceChecker.php', + 'RectorPrefix20220520\\Symplify\\PackageBuilder\\Reflection\\PrivatesAccessor' => $vendorDir . '/symplify/package-builder/src/Reflection/PrivatesAccessor.php', + 'RectorPrefix20220520\\Symplify\\PackageBuilder\\Reflection\\PrivatesCaller' => $vendorDir . '/symplify/package-builder/src/Reflection/PrivatesCaller.php', + 'RectorPrefix20220520\\Symplify\\PackageBuilder\\Strings\\StringFormatConverter' => $vendorDir . '/symplify/package-builder/src/Strings/StringFormatConverter.php', + 'RectorPrefix20220520\\Symplify\\PackageBuilder\\Testing\\AbstractKernelTestCase' => $vendorDir . '/symplify/package-builder/src/Testing/AbstractKernelTestCase.php', + 'RectorPrefix20220520\\Symplify\\PackageBuilder\\ValueObject\\ConsoleColorDiffConfig' => $vendorDir . '/symplify/package-builder/src/ValueObject/ConsoleColorDiffConfig.php', + 'RectorPrefix20220520\\Symplify\\PackageBuilder\\ValueObject\\MethodName' => $vendorDir . '/symplify/package-builder/src/ValueObject/MethodName.php', + 'RectorPrefix20220520\\Symplify\\PackageBuilder\\ValueObject\\Option' => $vendorDir . '/symplify/package-builder/src/ValueObject/Option.php', + 'RectorPrefix20220520\\Symplify\\PackageBuilder\\Yaml\\ParametersMerger' => $vendorDir . '/symplify/package-builder/src/Yaml/ParametersMerger.php', + 'RectorPrefix20220520\\Symplify\\Skipper\\Contract\\SkipVoterInterface' => $vendorDir . '/symplify/skipper/src/Contract/SkipVoterInterface.php', + 'RectorPrefix20220520\\Symplify\\Skipper\\FileSystem\\FnMatchPathNormalizer' => $vendorDir . '/symplify/skipper/src/FileSystem/FnMatchPathNormalizer.php', + 'RectorPrefix20220520\\Symplify\\Skipper\\Matcher\\FileInfoMatcher' => $vendorDir . '/symplify/skipper/src/Matcher/FileInfoMatcher.php', + 'RectorPrefix20220520\\Symplify\\Skipper\\SkipCriteriaResolver\\SkippedClassAndCodesResolver' => $vendorDir . '/symplify/skipper/src/SkipCriteriaResolver/SkippedClassAndCodesResolver.php', + 'RectorPrefix20220520\\Symplify\\Skipper\\SkipCriteriaResolver\\SkippedClassResolver' => $vendorDir . '/symplify/skipper/src/SkipCriteriaResolver/SkippedClassResolver.php', + 'RectorPrefix20220520\\Symplify\\Skipper\\SkipCriteriaResolver\\SkippedMessagesResolver' => $vendorDir . '/symplify/skipper/src/SkipCriteriaResolver/SkippedMessagesResolver.php', + 'RectorPrefix20220520\\Symplify\\Skipper\\SkipCriteriaResolver\\SkippedPathsResolver' => $vendorDir . '/symplify/skipper/src/SkipCriteriaResolver/SkippedPathsResolver.php', + 'RectorPrefix20220520\\Symplify\\Skipper\\SkipVoter\\ClassAndCodeSkipVoter' => $vendorDir . '/symplify/skipper/src/SkipVoter/ClassAndCodeSkipVoter.php', + 'RectorPrefix20220520\\Symplify\\Skipper\\SkipVoter\\ClassSkipVoter' => $vendorDir . '/symplify/skipper/src/SkipVoter/ClassSkipVoter.php', + 'RectorPrefix20220520\\Symplify\\Skipper\\SkipVoter\\MessageSkipVoter' => $vendorDir . '/symplify/skipper/src/SkipVoter/MessageSkipVoter.php', + 'RectorPrefix20220520\\Symplify\\Skipper\\SkipVoter\\PathSkipVoter' => $vendorDir . '/symplify/skipper/src/SkipVoter/PathSkipVoter.php', + 'RectorPrefix20220520\\Symplify\\Skipper\\Skipper\\OnlySkipper' => $vendorDir . '/symplify/skipper/src/Skipper/OnlySkipper.php', + 'RectorPrefix20220520\\Symplify\\Skipper\\Skipper\\SkipSkipper' => $vendorDir . '/symplify/skipper/src/Skipper/SkipSkipper.php', + 'RectorPrefix20220520\\Symplify\\Skipper\\Skipper\\Skipper' => $vendorDir . '/symplify/skipper/src/Skipper/Skipper.php', + 'RectorPrefix20220520\\Symplify\\Skipper\\ValueObject\\Option' => $vendorDir . '/symplify/skipper/src/ValueObject/Option.php', + 'RectorPrefix20220520\\Symplify\\Skipper\\ValueObject\\SkipperConfig' => $vendorDir . '/symplify/skipper/src/ValueObject/SkipperConfig.php', + 'RectorPrefix20220520\\Symplify\\SmartFileSystem\\Exception\\DirectoryNotFoundException' => $vendorDir . '/symplify/smart-file-system/src/Exception/DirectoryNotFoundException.php', + 'RectorPrefix20220520\\Symplify\\SmartFileSystem\\Exception\\FileNotFoundException' => $vendorDir . '/symplify/smart-file-system/src/Exception/FileNotFoundException.php', + 'RectorPrefix20220520\\Symplify\\SmartFileSystem\\FileSystemFilter' => $vendorDir . '/symplify/smart-file-system/src/FileSystemFilter.php', + 'RectorPrefix20220520\\Symplify\\SmartFileSystem\\FileSystemGuard' => $vendorDir . '/symplify/smart-file-system/src/FileSystemGuard.php', + 'RectorPrefix20220520\\Symplify\\SmartFileSystem\\Finder\\FinderSanitizer' => $vendorDir . '/symplify/smart-file-system/src/Finder/FinderSanitizer.php', + 'RectorPrefix20220520\\Symplify\\SmartFileSystem\\Finder\\SmartFinder' => $vendorDir . '/symplify/smart-file-system/src/Finder/SmartFinder.php', + 'RectorPrefix20220520\\Symplify\\SmartFileSystem\\Json\\JsonFileSystem' => $vendorDir . '/symplify/smart-file-system/src/Json/JsonFileSystem.php', + 'RectorPrefix20220520\\Symplify\\SmartFileSystem\\Normalizer\\PathNormalizer' => $vendorDir . '/symplify/smart-file-system/src/Normalizer/PathNormalizer.php', + 'RectorPrefix20220520\\Symplify\\SmartFileSystem\\SmartFileInfo' => $vendorDir . '/symplify/smart-file-system/src/SmartFileInfo.php', + 'RectorPrefix20220520\\Symplify\\SmartFileSystem\\SmartFileSystem' => $vendorDir . '/symplify/smart-file-system/src/SmartFileSystem.php', + 'RectorPrefix20220520\\Symplify\\SymplifyKernel\\Config\\Loader\\ParameterMergingLoaderFactory' => $vendorDir . '/symplify/symplify-kernel/src/Config/Loader/ParameterMergingLoaderFactory.php', + 'RectorPrefix20220520\\Symplify\\SymplifyKernel\\ContainerBuilderFactory' => $vendorDir . '/symplify/symplify-kernel/src/ContainerBuilderFactory.php', + 'RectorPrefix20220520\\Symplify\\SymplifyKernel\\Contract\\Config\\LoaderFactoryInterface' => $vendorDir . '/symplify/symplify-kernel/src/Contract/Config/LoaderFactoryInterface.php', + 'RectorPrefix20220520\\Symplify\\SymplifyKernel\\Contract\\LightKernelInterface' => $vendorDir . '/symplify/symplify-kernel/src/Contract/LightKernelInterface.php', + 'RectorPrefix20220520\\Symplify\\SymplifyKernel\\DependencyInjection\\LoadExtensionConfigsCompilerPass' => $vendorDir . '/symplify/symplify-kernel/src/DependencyInjection/LoadExtensionConfigsCompilerPass.php', + 'RectorPrefix20220520\\Symplify\\SymplifyKernel\\Exception\\BootException' => $vendorDir . '/symplify/symplify-kernel/src/Exception/BootException.php', + 'RectorPrefix20220520\\Symplify\\SymplifyKernel\\Exception\\ShouldNotHappenException' => $vendorDir . '/symplify/symplify-kernel/src/Exception/ShouldNotHappenException.php', + 'RectorPrefix20220520\\Symplify\\SymplifyKernel\\HttpKernel\\AbstractSymplifyKernel' => $vendorDir . '/symplify/symplify-kernel/src/HttpKernel/AbstractSymplifyKernel.php', + 'RectorPrefix20220520\\Symplify\\SymplifyKernel\\ValueObject\\KernelBootAndApplicationRun' => $vendorDir . '/symplify/symplify-kernel/src/ValueObject/KernelBootAndApplicationRun.php', + 'RectorPrefix20220520\\Symplify\\SymplifyKernel\\ValueObject\\SymplifyKernelConfig' => $vendorDir . '/symplify/symplify-kernel/src/ValueObject/SymplifyKernelConfig.php', + 'RectorPrefix20220520\\Symplify\\VendorPatches\\Command\\GenerateCommand' => $vendorDir . '/symplify/vendor-patches/src/Command/GenerateCommand.php', + 'RectorPrefix20220520\\Symplify\\VendorPatches\\Composer\\ComposerPatchesConfigurationUpdater' => $vendorDir . '/symplify/vendor-patches/src/Composer/ComposerPatchesConfigurationUpdater.php', + 'RectorPrefix20220520\\Symplify\\VendorPatches\\Composer\\PackageNameResolver' => $vendorDir . '/symplify/vendor-patches/src/Composer/PackageNameResolver.php', + 'RectorPrefix20220520\\Symplify\\VendorPatches\\Console\\GenerateCommandReporter' => $vendorDir . '/symplify/vendor-patches/src/Console/GenerateCommandReporter.php', + 'RectorPrefix20220520\\Symplify\\VendorPatches\\Console\\VendorPatchesApplication' => $vendorDir . '/symplify/vendor-patches/src/Console/VendorPatchesApplication.php', + 'RectorPrefix20220520\\Symplify\\VendorPatches\\Differ\\PatchDiffer' => $vendorDir . '/symplify/vendor-patches/src/Differ/PatchDiffer.php', + 'RectorPrefix20220520\\Symplify\\VendorPatches\\FileSystem\\PathResolver' => $vendorDir . '/symplify/vendor-patches/src/FileSystem/PathResolver.php', + 'RectorPrefix20220520\\Symplify\\VendorPatches\\Finder\\OldToNewFilesFinder' => $vendorDir . '/symplify/vendor-patches/src/Finder/OldToNewFilesFinder.php', + 'RectorPrefix20220520\\Symplify\\VendorPatches\\Kernel\\VendorPatchesKernel' => $vendorDir . '/symplify/vendor-patches/src/Kernel/VendorPatchesKernel.php', + 'RectorPrefix20220520\\Symplify\\VendorPatches\\PatchFileFactory' => $vendorDir . '/symplify/vendor-patches/src/PatchFileFactory.php', + 'RectorPrefix20220520\\Symplify\\VendorPatches\\ValueObject\\OldAndNewFileInfo' => $vendorDir . '/symplify/vendor-patches/src/ValueObject/OldAndNewFileInfo.php', + 'RectorPrefix20220520\\Tracy\\Bar' => $vendorDir . '/tracy/tracy/src/Tracy/Bar/Bar.php', + 'RectorPrefix20220520\\Tracy\\BlueScreen' => $vendorDir . '/tracy/tracy/src/Tracy/BlueScreen/BlueScreen.php', + 'RectorPrefix20220520\\Tracy\\Bridges\\Nette\\Bridge' => $vendorDir . '/tracy/tracy/src/Bridges/Nette/Bridge.php', + 'RectorPrefix20220520\\Tracy\\Bridges\\Nette\\MailSender' => $vendorDir . '/tracy/tracy/src/Bridges/Nette/MailSender.php', + 'RectorPrefix20220520\\Tracy\\Bridges\\Nette\\TracyExtension' => $vendorDir . '/tracy/tracy/src/Bridges/Nette/TracyExtension.php', + 'RectorPrefix20220520\\Tracy\\Bridges\\Psr\\PsrToTracyLoggerAdapter' => $vendorDir . '/tracy/tracy/src/Bridges/Psr/PsrToTracyLoggerAdapter.php', + 'RectorPrefix20220520\\Tracy\\Bridges\\Psr\\TracyToPsrLoggerAdapter' => $vendorDir . '/tracy/tracy/src/Bridges/Psr/TracyToPsrLoggerAdapter.php', + 'RectorPrefix20220520\\Tracy\\Debugger' => $vendorDir . '/tracy/tracy/src/Tracy/Debugger/Debugger.php', + 'RectorPrefix20220520\\Tracy\\DefaultBarPanel' => $vendorDir . '/tracy/tracy/src/Tracy/Bar/DefaultBarPanel.php', + 'RectorPrefix20220520\\Tracy\\DeferredContent' => $vendorDir . '/tracy/tracy/src/Tracy/Debugger/DeferredContent.php', + 'RectorPrefix20220520\\Tracy\\DevelopmentStrategy' => $vendorDir . '/tracy/tracy/src/Tracy/Debugger/DevelopmentStrategy.php', + 'RectorPrefix20220520\\Tracy\\Dumper' => $vendorDir . '/tracy/tracy/src/Tracy/Dumper/Dumper.php', + 'RectorPrefix20220520\\Tracy\\Dumper\\Describer' => $vendorDir . '/tracy/tracy/src/Tracy/Dumper/Describer.php', + 'RectorPrefix20220520\\Tracy\\Dumper\\Exposer' => $vendorDir . '/tracy/tracy/src/Tracy/Dumper/Exposer.php', + 'RectorPrefix20220520\\Tracy\\Dumper\\Renderer' => $vendorDir . '/tracy/tracy/src/Tracy/Dumper/Renderer.php', + 'RectorPrefix20220520\\Tracy\\Dumper\\Value' => $vendorDir . '/tracy/tracy/src/Tracy/Dumper/Value.php', + 'RectorPrefix20220520\\Tracy\\FileSession' => $vendorDir . '/tracy/tracy/src/Tracy/Session/FileSession.php', + 'RectorPrefix20220520\\Tracy\\FireLogger' => $vendorDir . '/tracy/tracy/src/Tracy/Logger/FireLogger.php', + 'RectorPrefix20220520\\Tracy\\Helpers' => $vendorDir . '/tracy/tracy/src/Tracy/Helpers.php', + 'RectorPrefix20220520\\Tracy\\IBarPanel' => $vendorDir . '/tracy/tracy/src/Tracy/Bar/IBarPanel.php', + 'RectorPrefix20220520\\Tracy\\ILogger' => $vendorDir . '/tracy/tracy/src/Tracy/Logger/ILogger.php', + 'RectorPrefix20220520\\Tracy\\Logger' => $vendorDir . '/tracy/tracy/src/Tracy/Logger/Logger.php', + 'RectorPrefix20220520\\Tracy\\NativeSession' => $vendorDir . '/tracy/tracy/src/Tracy/Session/NativeSession.php', + 'RectorPrefix20220520\\Tracy\\OutputDebugger' => $vendorDir . '/tracy/tracy/src/Tracy/OutputDebugger/OutputDebugger.php', + 'RectorPrefix20220520\\Tracy\\ProductionStrategy' => $vendorDir . '/tracy/tracy/src/Tracy/Debugger/ProductionStrategy.php', + 'RectorPrefix20220520\\Tracy\\SessionStorage' => $vendorDir . '/tracy/tracy/src/Tracy/Session/SessionStorage.php', + 'RectorPrefix20220520\\Webmozart\\Assert\\Assert' => $vendorDir . '/webmozart/assert/src/Assert.php', + 'RectorPrefix20220520\\Webmozart\\Assert\\InvalidArgumentException' => $vendorDir . '/webmozart/assert/src/InvalidArgumentException.php', + 'RectorPrefix20220520\\Webmozart\\Assert\\Mixin' => $vendorDir . '/webmozart/assert/src/Mixin.php', + 'RectorPrefix20220520\\cweagans\\Composer\\PatchEvent' => $vendorDir . '/cweagans/composer-patches/src/PatchEvent.php', + 'RectorPrefix20220520\\cweagans\\Composer\\PatchEvents' => $vendorDir . '/cweagans/composer-patches/src/PatchEvents.php', + 'RectorPrefix20220520\\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', @@ -2089,6 +2089,7 @@ return array( 'Rector\\DowngradePhp80\\Rector\\Property\\DowngradeUnionTypeTypedPropertyRector' => $baseDir . '/rules/DowngradePhp80/Rector/Property/DowngradeUnionTypeTypedPropertyRector.php', 'Rector\\DowngradePhp80\\Rector\\StaticCall\\DowngradePhpTokenRector' => $baseDir . '/rules/DowngradePhp80/Rector/StaticCall/DowngradePhpTokenRector.php', 'Rector\\DowngradePhp80\\Reflection\\DefaultParameterValueResolver' => $baseDir . '/rules/DowngradePhp80/Reflection/DefaultParameterValueResolver.php', + 'Rector\\DowngradePhp80\\Reflection\\SimplePhpParameterReflection' => $baseDir . '/rules/DowngradePhp80/Reflection/SimplePhpParameterReflection.php', 'Rector\\DowngradePhp80\\ValueObject\\DowngradeAttributeToAnnotation' => $baseDir . '/rules/DowngradePhp80/ValueObject/DowngradeAttributeToAnnotation.php', 'Rector\\DowngradePhp81\\NodeAnalyzer\\ArraySpreadAnalyzer' => $baseDir . '/rules/DowngradePhp81/NodeAnalyzer/ArraySpreadAnalyzer.php', 'Rector\\DowngradePhp81\\NodeFactory\\ArrayMergeFromArraySpreadFactory' => $baseDir . '/rules/DowngradePhp81/NodeFactory/ArrayMergeFromArraySpreadFactory.php', diff --git a/vendor/composer/autoload_psr4.php b/vendor/composer/autoload_psr4.php index 92476cd13cc..4c32997c9ca 100644 --- a/vendor/composer/autoload_psr4.php +++ b/vendor/composer/autoload_psr4.php @@ -21,55 +21,55 @@ return array( 'Rector\\Compiler\\' => array($baseDir . '/utils/compiler/src'), 'Rector\\CakePHP\\' => array($vendorDir . '/rector/rector-cakephp/src'), 'Rector\\' => array($baseDir . '/packages', $baseDir . '/rules'), - 'RectorPrefix20220519\\cweagans\\Composer\\' => array($vendorDir . '/cweagans/composer-patches/src'), - 'RectorPrefix20220519\\Webmozart\\Assert\\' => array($vendorDir . '/webmozart/assert/src'), - 'RectorPrefix20220519\\Symplify\\VendorPatches\\' => array($vendorDir . '/symplify/vendor-patches/src'), - 'RectorPrefix20220519\\Symplify\\SymplifyKernel\\' => array($vendorDir . '/symplify/symplify-kernel/src'), - 'RectorPrefix20220519\\Symplify\\SmartFileSystem\\' => array($vendorDir . '/symplify/smart-file-system/src'), - 'RectorPrefix20220519\\Symplify\\Skipper\\' => array($vendorDir . '/symplify/skipper/src'), - 'RectorPrefix20220519\\Symplify\\PackageBuilder\\' => array($vendorDir . '/symplify/package-builder/src'), - 'RectorPrefix20220519\\Symplify\\EasyTesting\\' => array($vendorDir . '/symplify/easy-testing/src'), - 'RectorPrefix20220519\\Symplify\\EasyParallel\\' => array($vendorDir . '/symplify/easy-parallel/src'), - 'RectorPrefix20220519\\Symplify\\ComposerJsonManipulator\\' => array($vendorDir . '/symplify/composer-json-manipulator/src'), - 'RectorPrefix20220519\\Symplify\\AutowireArrayParameter\\' => array($vendorDir . '/symplify/autowire-array-parameter/src'), - 'RectorPrefix20220519\\Symplify\\Astral\\' => array($vendorDir . '/symplify/astral/src'), - 'RectorPrefix20220519\\Symfony\\Polyfill\\Php81\\' => array($vendorDir . '/symfony/polyfill-php81'), - 'RectorPrefix20220519\\Symfony\\Polyfill\\Mbstring\\' => array($vendorDir . '/symfony/polyfill-mbstring'), - 'RectorPrefix20220519\\Symfony\\Polyfill\\Intl\\Normalizer\\' => array($vendorDir . '/symfony/polyfill-intl-normalizer'), - 'RectorPrefix20220519\\Symfony\\Polyfill\\Intl\\Grapheme\\' => array($vendorDir . '/symfony/polyfill-intl-grapheme'), - 'RectorPrefix20220519\\Symfony\\Polyfill\\Ctype\\' => array($vendorDir . '/symfony/polyfill-ctype'), - 'RectorPrefix20220519\\Symfony\\Contracts\\' => array($vendorDir . '/symfony/contracts'), - 'RectorPrefix20220519\\Symfony\\Component\\Yaml\\' => array($vendorDir . '/symfony/yaml'), - 'RectorPrefix20220519\\Symfony\\Component\\String\\' => array($vendorDir . '/symfony/string'), - 'RectorPrefix20220519\\Symfony\\Component\\Process\\' => array($vendorDir . '/symfony/process'), - 'RectorPrefix20220519\\Symfony\\Component\\Finder\\' => array($vendorDir . '/symfony/finder'), - 'RectorPrefix20220519\\Symfony\\Component\\Filesystem\\' => array($vendorDir . '/symfony/filesystem'), - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\' => array($vendorDir . '/symfony/dependency-injection'), - 'RectorPrefix20220519\\Symfony\\Component\\Console\\' => array($vendorDir . '/symfony/console'), - 'RectorPrefix20220519\\Symfony\\Component\\Config\\' => array($vendorDir . '/symfony/config'), - 'RectorPrefix20220519\\React\\Stream\\' => array($vendorDir . '/react/stream/src'), - 'RectorPrefix20220519\\React\\Socket\\' => array($vendorDir . '/react/socket/src'), - 'RectorPrefix20220519\\React\\Promise\\Timer\\' => array($vendorDir . '/react/promise-timer/src'), - 'RectorPrefix20220519\\React\\Promise\\' => array($vendorDir . '/react/promise/src'), - 'RectorPrefix20220519\\React\\EventLoop\\' => array($vendorDir . '/react/event-loop/src'), - 'RectorPrefix20220519\\React\\Dns\\' => array($vendorDir . '/react/dns/src'), - 'RectorPrefix20220519\\React\\ChildProcess\\' => array($vendorDir . '/react/child-process/src'), - 'RectorPrefix20220519\\React\\Cache\\' => array($vendorDir . '/react/cache/src'), - 'RectorPrefix20220519\\Psr\\Log\\' => array($vendorDir . '/psr/log/src'), - 'RectorPrefix20220519\\Psr\\EventDispatcher\\' => array($vendorDir . '/psr/event-dispatcher/src'), - 'RectorPrefix20220519\\Psr\\Container\\' => array($vendorDir . '/psr/container/src'), - 'RectorPrefix20220519\\Psr\\Cache\\' => array($vendorDir . '/psr/cache/src'), - 'RectorPrefix20220519\\OndraM\\CiDetector\\' => array($vendorDir . '/ondram/ci-detector/src'), - 'RectorPrefix20220519\\MyCLabs\\Enum\\' => array($vendorDir . '/myclabs/php-enum/src'), - 'RectorPrefix20220519\\Idiosyncratic\\EditorConfig\\' => array($vendorDir . '/idiosyncratic/editorconfig/src'), - 'RectorPrefix20220519\\Helmich\\TypoScriptParser\\' => array($vendorDir . '/helmich/typo3-typoscript-parser/src'), - 'RectorPrefix20220519\\Evenement\\' => array($vendorDir . '/evenement/evenement/src/Evenement'), - 'RectorPrefix20220519\\Ergebnis\\Json\\Printer\\' => array($vendorDir . '/ergebnis/json-printer/src'), - 'RectorPrefix20220519\\Doctrine\\Inflector\\' => array($vendorDir . '/doctrine/inflector/lib/Doctrine/Inflector'), - 'RectorPrefix20220519\\Composer\\XdebugHandler\\' => array($vendorDir . '/composer/xdebug-handler/src'), - 'RectorPrefix20220519\\Composer\\Semver\\' => array($vendorDir . '/composer/semver/src'), - 'RectorPrefix20220519\\Composer\\Pcre\\' => array($vendorDir . '/composer/pcre/src'), - 'RectorPrefix20220519\\Clue\\React\\NDJson\\' => array($vendorDir . '/clue/ndjson-react/src'), + 'RectorPrefix20220520\\cweagans\\Composer\\' => array($vendorDir . '/cweagans/composer-patches/src'), + 'RectorPrefix20220520\\Webmozart\\Assert\\' => array($vendorDir . '/webmozart/assert/src'), + 'RectorPrefix20220520\\Symplify\\VendorPatches\\' => array($vendorDir . '/symplify/vendor-patches/src'), + 'RectorPrefix20220520\\Symplify\\SymplifyKernel\\' => array($vendorDir . '/symplify/symplify-kernel/src'), + 'RectorPrefix20220520\\Symplify\\SmartFileSystem\\' => array($vendorDir . '/symplify/smart-file-system/src'), + 'RectorPrefix20220520\\Symplify\\Skipper\\' => array($vendorDir . '/symplify/skipper/src'), + 'RectorPrefix20220520\\Symplify\\PackageBuilder\\' => array($vendorDir . '/symplify/package-builder/src'), + 'RectorPrefix20220520\\Symplify\\EasyTesting\\' => array($vendorDir . '/symplify/easy-testing/src'), + 'RectorPrefix20220520\\Symplify\\EasyParallel\\' => array($vendorDir . '/symplify/easy-parallel/src'), + 'RectorPrefix20220520\\Symplify\\ComposerJsonManipulator\\' => array($vendorDir . '/symplify/composer-json-manipulator/src'), + 'RectorPrefix20220520\\Symplify\\AutowireArrayParameter\\' => array($vendorDir . '/symplify/autowire-array-parameter/src'), + 'RectorPrefix20220520\\Symplify\\Astral\\' => array($vendorDir . '/symplify/astral/src'), + 'RectorPrefix20220520\\Symfony\\Polyfill\\Php81\\' => array($vendorDir . '/symfony/polyfill-php81'), + 'RectorPrefix20220520\\Symfony\\Polyfill\\Mbstring\\' => array($vendorDir . '/symfony/polyfill-mbstring'), + 'RectorPrefix20220520\\Symfony\\Polyfill\\Intl\\Normalizer\\' => array($vendorDir . '/symfony/polyfill-intl-normalizer'), + 'RectorPrefix20220520\\Symfony\\Polyfill\\Intl\\Grapheme\\' => array($vendorDir . '/symfony/polyfill-intl-grapheme'), + 'RectorPrefix20220520\\Symfony\\Polyfill\\Ctype\\' => array($vendorDir . '/symfony/polyfill-ctype'), + 'RectorPrefix20220520\\Symfony\\Contracts\\' => array($vendorDir . '/symfony/contracts'), + 'RectorPrefix20220520\\Symfony\\Component\\Yaml\\' => array($vendorDir . '/symfony/yaml'), + 'RectorPrefix20220520\\Symfony\\Component\\String\\' => array($vendorDir . '/symfony/string'), + 'RectorPrefix20220520\\Symfony\\Component\\Process\\' => array($vendorDir . '/symfony/process'), + 'RectorPrefix20220520\\Symfony\\Component\\Finder\\' => array($vendorDir . '/symfony/finder'), + 'RectorPrefix20220520\\Symfony\\Component\\Filesystem\\' => array($vendorDir . '/symfony/filesystem'), + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\' => array($vendorDir . '/symfony/dependency-injection'), + 'RectorPrefix20220520\\Symfony\\Component\\Console\\' => array($vendorDir . '/symfony/console'), + 'RectorPrefix20220520\\Symfony\\Component\\Config\\' => array($vendorDir . '/symfony/config'), + 'RectorPrefix20220520\\React\\Stream\\' => array($vendorDir . '/react/stream/src'), + 'RectorPrefix20220520\\React\\Socket\\' => array($vendorDir . '/react/socket/src'), + 'RectorPrefix20220520\\React\\Promise\\Timer\\' => array($vendorDir . '/react/promise-timer/src'), + 'RectorPrefix20220520\\React\\Promise\\' => array($vendorDir . '/react/promise/src'), + 'RectorPrefix20220520\\React\\EventLoop\\' => array($vendorDir . '/react/event-loop/src'), + 'RectorPrefix20220520\\React\\Dns\\' => array($vendorDir . '/react/dns/src'), + 'RectorPrefix20220520\\React\\ChildProcess\\' => array($vendorDir . '/react/child-process/src'), + 'RectorPrefix20220520\\React\\Cache\\' => array($vendorDir . '/react/cache/src'), + 'RectorPrefix20220520\\Psr\\Log\\' => array($vendorDir . '/psr/log/src'), + 'RectorPrefix20220520\\Psr\\EventDispatcher\\' => array($vendorDir . '/psr/event-dispatcher/src'), + 'RectorPrefix20220520\\Psr\\Container\\' => array($vendorDir . '/psr/container/src'), + 'RectorPrefix20220520\\Psr\\Cache\\' => array($vendorDir . '/psr/cache/src'), + 'RectorPrefix20220520\\OndraM\\CiDetector\\' => array($vendorDir . '/ondram/ci-detector/src'), + 'RectorPrefix20220520\\MyCLabs\\Enum\\' => array($vendorDir . '/myclabs/php-enum/src'), + 'RectorPrefix20220520\\Idiosyncratic\\EditorConfig\\' => array($vendorDir . '/idiosyncratic/editorconfig/src'), + 'RectorPrefix20220520\\Helmich\\TypoScriptParser\\' => array($vendorDir . '/helmich/typo3-typoscript-parser/src'), + 'RectorPrefix20220520\\Evenement\\' => array($vendorDir . '/evenement/evenement/src/Evenement'), + 'RectorPrefix20220520\\Ergebnis\\Json\\Printer\\' => array($vendorDir . '/ergebnis/json-printer/src'), + 'RectorPrefix20220520\\Doctrine\\Inflector\\' => array($vendorDir . '/doctrine/inflector/lib/Doctrine/Inflector'), + 'RectorPrefix20220520\\Composer\\XdebugHandler\\' => array($vendorDir . '/composer/xdebug-handler/src'), + 'RectorPrefix20220520\\Composer\\Semver\\' => array($vendorDir . '/composer/semver/src'), + 'RectorPrefix20220520\\Composer\\Pcre\\' => array($vendorDir . '/composer/pcre/src'), + 'RectorPrefix20220520\\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 0c1b1f37de7..852dbd789a5 100644 --- a/vendor/composer/autoload_real.php +++ b/vendor/composer/autoload_real.php @@ -2,7 +2,7 @@ // autoload_real.php @generated by Composer -class ComposerAutoloaderInit70a93d7538b708eba9d9e519bd6c9ee7 +class ComposerAutoloaderInit8e223b4397b3ebd238db2279dc1627ef { private static $loader; @@ -22,19 +22,19 @@ class ComposerAutoloaderInit70a93d7538b708eba9d9e519bd6c9ee7 return self::$loader; } - spl_autoload_register(array('ComposerAutoloaderInit70a93d7538b708eba9d9e519bd6c9ee7', 'loadClassLoader'), true, true); + spl_autoload_register(array('ComposerAutoloaderInit8e223b4397b3ebd238db2279dc1627ef', 'loadClassLoader'), true, true); self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__)); - spl_autoload_unregister(array('ComposerAutoloaderInit70a93d7538b708eba9d9e519bd6c9ee7', 'loadClassLoader')); + spl_autoload_unregister(array('ComposerAutoloaderInit8e223b4397b3ebd238db2279dc1627ef', 'loadClassLoader')); require __DIR__ . '/autoload_static.php'; - call_user_func(\Composer\Autoload\ComposerStaticInit70a93d7538b708eba9d9e519bd6c9ee7::getInitializer($loader)); + call_user_func(\Composer\Autoload\ComposerStaticInit8e223b4397b3ebd238db2279dc1627ef::getInitializer($loader)); $loader->setClassMapAuthoritative(true); $loader->register(true); - $includeFiles = \Composer\Autoload\ComposerStaticInit70a93d7538b708eba9d9e519bd6c9ee7::$files; + $includeFiles = \Composer\Autoload\ComposerStaticInit8e223b4397b3ebd238db2279dc1627ef::$files; foreach ($includeFiles as $fileIdentifier => $file) { - composerRequire70a93d7538b708eba9d9e519bd6c9ee7($fileIdentifier, $file); + composerRequire8e223b4397b3ebd238db2279dc1627ef($fileIdentifier, $file); } return $loader; @@ -46,7 +46,7 @@ class ComposerAutoloaderInit70a93d7538b708eba9d9e519bd6c9ee7 * @param string $file * @return void */ -function composerRequire70a93d7538b708eba9d9e519bd6c9ee7($fileIdentifier, $file) +function composerRequire8e223b4397b3ebd238db2279dc1627ef($fileIdentifier, $file) { if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) { $GLOBALS['__composer_autoload_files'][$fileIdentifier] = true; diff --git a/vendor/composer/autoload_static.php b/vendor/composer/autoload_static.php index b68af3c2d5d..6d2a8c06930 100644 --- a/vendor/composer/autoload_static.php +++ b/vendor/composer/autoload_static.php @@ -4,7 +4,7 @@ namespace Composer\Autoload; -class ComposerStaticInit70a93d7538b708eba9d9e519bd6c9ee7 +class ComposerStaticInit8e223b4397b3ebd238db2279dc1627ef { public static $files = array ( '320cde22f66dd4f5d3fd621d3e88b98f' => __DIR__ . '/..' . '/symfony/polyfill-ctype/bootstrap.php', @@ -43,55 +43,55 @@ class ComposerStaticInit70a93d7538b708eba9d9e519bd6c9ee7 'Rector\\Compiler\\' => 16, 'Rector\\CakePHP\\' => 15, 'Rector\\' => 7, - 'RectorPrefix20220519\\cweagans\\Composer\\' => 39, - 'RectorPrefix20220519\\Webmozart\\Assert\\' => 38, - 'RectorPrefix20220519\\Symplify\\VendorPatches\\' => 44, - 'RectorPrefix20220519\\Symplify\\SymplifyKernel\\' => 45, - 'RectorPrefix20220519\\Symplify\\SmartFileSystem\\' => 46, - 'RectorPrefix20220519\\Symplify\\Skipper\\' => 38, - 'RectorPrefix20220519\\Symplify\\PackageBuilder\\' => 45, - 'RectorPrefix20220519\\Symplify\\EasyTesting\\' => 42, - 'RectorPrefix20220519\\Symplify\\EasyParallel\\' => 43, - 'RectorPrefix20220519\\Symplify\\ComposerJsonManipulator\\' => 54, - 'RectorPrefix20220519\\Symplify\\AutowireArrayParameter\\' => 53, - 'RectorPrefix20220519\\Symplify\\Astral\\' => 37, - 'RectorPrefix20220519\\Symfony\\Polyfill\\Php81\\' => 44, - 'RectorPrefix20220519\\Symfony\\Polyfill\\Mbstring\\' => 47, - 'RectorPrefix20220519\\Symfony\\Polyfill\\Intl\\Normalizer\\' => 54, - 'RectorPrefix20220519\\Symfony\\Polyfill\\Intl\\Grapheme\\' => 52, - 'RectorPrefix20220519\\Symfony\\Polyfill\\Ctype\\' => 44, - 'RectorPrefix20220519\\Symfony\\Contracts\\' => 39, - 'RectorPrefix20220519\\Symfony\\Component\\Yaml\\' => 44, - 'RectorPrefix20220519\\Symfony\\Component\\String\\' => 46, - 'RectorPrefix20220519\\Symfony\\Component\\Process\\' => 47, - 'RectorPrefix20220519\\Symfony\\Component\\Finder\\' => 46, - 'RectorPrefix20220519\\Symfony\\Component\\Filesystem\\' => 50, - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\' => 59, - 'RectorPrefix20220519\\Symfony\\Component\\Console\\' => 47, - 'RectorPrefix20220519\\Symfony\\Component\\Config\\' => 46, - 'RectorPrefix20220519\\React\\Stream\\' => 34, - 'RectorPrefix20220519\\React\\Socket\\' => 34, - 'RectorPrefix20220519\\React\\Promise\\Timer\\' => 41, - 'RectorPrefix20220519\\React\\Promise\\' => 35, - 'RectorPrefix20220519\\React\\EventLoop\\' => 37, - 'RectorPrefix20220519\\React\\Dns\\' => 31, - 'RectorPrefix20220519\\React\\ChildProcess\\' => 40, - 'RectorPrefix20220519\\React\\Cache\\' => 33, - 'RectorPrefix20220519\\Psr\\Log\\' => 29, - 'RectorPrefix20220519\\Psr\\EventDispatcher\\' => 41, - 'RectorPrefix20220519\\Psr\\Container\\' => 35, - 'RectorPrefix20220519\\Psr\\Cache\\' => 31, - 'RectorPrefix20220519\\OndraM\\CiDetector\\' => 39, - 'RectorPrefix20220519\\MyCLabs\\Enum\\' => 34, - 'RectorPrefix20220519\\Idiosyncratic\\EditorConfig\\' => 48, - 'RectorPrefix20220519\\Helmich\\TypoScriptParser\\' => 46, - 'RectorPrefix20220519\\Evenement\\' => 31, - 'RectorPrefix20220519\\Ergebnis\\Json\\Printer\\' => 43, - 'RectorPrefix20220519\\Doctrine\\Inflector\\' => 40, - 'RectorPrefix20220519\\Composer\\XdebugHandler\\' => 44, - 'RectorPrefix20220519\\Composer\\Semver\\' => 37, - 'RectorPrefix20220519\\Composer\\Pcre\\' => 35, - 'RectorPrefix20220519\\Clue\\React\\NDJson\\' => 39, + 'RectorPrefix20220520\\cweagans\\Composer\\' => 39, + 'RectorPrefix20220520\\Webmozart\\Assert\\' => 38, + 'RectorPrefix20220520\\Symplify\\VendorPatches\\' => 44, + 'RectorPrefix20220520\\Symplify\\SymplifyKernel\\' => 45, + 'RectorPrefix20220520\\Symplify\\SmartFileSystem\\' => 46, + 'RectorPrefix20220520\\Symplify\\Skipper\\' => 38, + 'RectorPrefix20220520\\Symplify\\PackageBuilder\\' => 45, + 'RectorPrefix20220520\\Symplify\\EasyTesting\\' => 42, + 'RectorPrefix20220520\\Symplify\\EasyParallel\\' => 43, + 'RectorPrefix20220520\\Symplify\\ComposerJsonManipulator\\' => 54, + 'RectorPrefix20220520\\Symplify\\AutowireArrayParameter\\' => 53, + 'RectorPrefix20220520\\Symplify\\Astral\\' => 37, + 'RectorPrefix20220520\\Symfony\\Polyfill\\Php81\\' => 44, + 'RectorPrefix20220520\\Symfony\\Polyfill\\Mbstring\\' => 47, + 'RectorPrefix20220520\\Symfony\\Polyfill\\Intl\\Normalizer\\' => 54, + 'RectorPrefix20220520\\Symfony\\Polyfill\\Intl\\Grapheme\\' => 52, + 'RectorPrefix20220520\\Symfony\\Polyfill\\Ctype\\' => 44, + 'RectorPrefix20220520\\Symfony\\Contracts\\' => 39, + 'RectorPrefix20220520\\Symfony\\Component\\Yaml\\' => 44, + 'RectorPrefix20220520\\Symfony\\Component\\String\\' => 46, + 'RectorPrefix20220520\\Symfony\\Component\\Process\\' => 47, + 'RectorPrefix20220520\\Symfony\\Component\\Finder\\' => 46, + 'RectorPrefix20220520\\Symfony\\Component\\Filesystem\\' => 50, + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\' => 59, + 'RectorPrefix20220520\\Symfony\\Component\\Console\\' => 47, + 'RectorPrefix20220520\\Symfony\\Component\\Config\\' => 46, + 'RectorPrefix20220520\\React\\Stream\\' => 34, + 'RectorPrefix20220520\\React\\Socket\\' => 34, + 'RectorPrefix20220520\\React\\Promise\\Timer\\' => 41, + 'RectorPrefix20220520\\React\\Promise\\' => 35, + 'RectorPrefix20220520\\React\\EventLoop\\' => 37, + 'RectorPrefix20220520\\React\\Dns\\' => 31, + 'RectorPrefix20220520\\React\\ChildProcess\\' => 40, + 'RectorPrefix20220520\\React\\Cache\\' => 33, + 'RectorPrefix20220520\\Psr\\Log\\' => 29, + 'RectorPrefix20220520\\Psr\\EventDispatcher\\' => 41, + 'RectorPrefix20220520\\Psr\\Container\\' => 35, + 'RectorPrefix20220520\\Psr\\Cache\\' => 31, + 'RectorPrefix20220520\\OndraM\\CiDetector\\' => 39, + 'RectorPrefix20220520\\MyCLabs\\Enum\\' => 34, + 'RectorPrefix20220520\\Idiosyncratic\\EditorConfig\\' => 48, + 'RectorPrefix20220520\\Helmich\\TypoScriptParser\\' => 46, + 'RectorPrefix20220520\\Evenement\\' => 31, + 'RectorPrefix20220520\\Ergebnis\\Json\\Printer\\' => 43, + 'RectorPrefix20220520\\Doctrine\\Inflector\\' => 40, + 'RectorPrefix20220520\\Composer\\XdebugHandler\\' => 44, + 'RectorPrefix20220520\\Composer\\Semver\\' => 37, + 'RectorPrefix20220520\\Composer\\Pcre\\' => 35, + 'RectorPrefix20220520\\Clue\\React\\NDJson\\' => 39, ), 'P' => array ( @@ -164,199 +164,199 @@ class ComposerStaticInit70a93d7538b708eba9d9e519bd6c9ee7 0 => __DIR__ . '/../..' . '/packages', 1 => __DIR__ . '/../..' . '/rules', ), - 'RectorPrefix20220519\\cweagans\\Composer\\' => + 'RectorPrefix20220520\\cweagans\\Composer\\' => array ( 0 => __DIR__ . '/..' . '/cweagans/composer-patches/src', ), - 'RectorPrefix20220519\\Webmozart\\Assert\\' => + 'RectorPrefix20220520\\Webmozart\\Assert\\' => array ( 0 => __DIR__ . '/..' . '/webmozart/assert/src', ), - 'RectorPrefix20220519\\Symplify\\VendorPatches\\' => + 'RectorPrefix20220520\\Symplify\\VendorPatches\\' => array ( 0 => __DIR__ . '/..' . '/symplify/vendor-patches/src', ), - 'RectorPrefix20220519\\Symplify\\SymplifyKernel\\' => + 'RectorPrefix20220520\\Symplify\\SymplifyKernel\\' => array ( 0 => __DIR__ . '/..' . '/symplify/symplify-kernel/src', ), - 'RectorPrefix20220519\\Symplify\\SmartFileSystem\\' => + 'RectorPrefix20220520\\Symplify\\SmartFileSystem\\' => array ( 0 => __DIR__ . '/..' . '/symplify/smart-file-system/src', ), - 'RectorPrefix20220519\\Symplify\\Skipper\\' => + 'RectorPrefix20220520\\Symplify\\Skipper\\' => array ( 0 => __DIR__ . '/..' . '/symplify/skipper/src', ), - 'RectorPrefix20220519\\Symplify\\PackageBuilder\\' => + 'RectorPrefix20220520\\Symplify\\PackageBuilder\\' => array ( 0 => __DIR__ . '/..' . '/symplify/package-builder/src', ), - 'RectorPrefix20220519\\Symplify\\EasyTesting\\' => + 'RectorPrefix20220520\\Symplify\\EasyTesting\\' => array ( 0 => __DIR__ . '/..' . '/symplify/easy-testing/src', ), - 'RectorPrefix20220519\\Symplify\\EasyParallel\\' => + 'RectorPrefix20220520\\Symplify\\EasyParallel\\' => array ( 0 => __DIR__ . '/..' . '/symplify/easy-parallel/src', ), - 'RectorPrefix20220519\\Symplify\\ComposerJsonManipulator\\' => + 'RectorPrefix20220520\\Symplify\\ComposerJsonManipulator\\' => array ( 0 => __DIR__ . '/..' . '/symplify/composer-json-manipulator/src', ), - 'RectorPrefix20220519\\Symplify\\AutowireArrayParameter\\' => + 'RectorPrefix20220520\\Symplify\\AutowireArrayParameter\\' => array ( 0 => __DIR__ . '/..' . '/symplify/autowire-array-parameter/src', ), - 'RectorPrefix20220519\\Symplify\\Astral\\' => + 'RectorPrefix20220520\\Symplify\\Astral\\' => array ( 0 => __DIR__ . '/..' . '/symplify/astral/src', ), - 'RectorPrefix20220519\\Symfony\\Polyfill\\Php81\\' => + 'RectorPrefix20220520\\Symfony\\Polyfill\\Php81\\' => array ( 0 => __DIR__ . '/..' . '/symfony/polyfill-php81', ), - 'RectorPrefix20220519\\Symfony\\Polyfill\\Mbstring\\' => + 'RectorPrefix20220520\\Symfony\\Polyfill\\Mbstring\\' => array ( 0 => __DIR__ . '/..' . '/symfony/polyfill-mbstring', ), - 'RectorPrefix20220519\\Symfony\\Polyfill\\Intl\\Normalizer\\' => + 'RectorPrefix20220520\\Symfony\\Polyfill\\Intl\\Normalizer\\' => array ( 0 => __DIR__ . '/..' . '/symfony/polyfill-intl-normalizer', ), - 'RectorPrefix20220519\\Symfony\\Polyfill\\Intl\\Grapheme\\' => + 'RectorPrefix20220520\\Symfony\\Polyfill\\Intl\\Grapheme\\' => array ( 0 => __DIR__ . '/..' . '/symfony/polyfill-intl-grapheme', ), - 'RectorPrefix20220519\\Symfony\\Polyfill\\Ctype\\' => + 'RectorPrefix20220520\\Symfony\\Polyfill\\Ctype\\' => array ( 0 => __DIR__ . '/..' . '/symfony/polyfill-ctype', ), - 'RectorPrefix20220519\\Symfony\\Contracts\\' => + 'RectorPrefix20220520\\Symfony\\Contracts\\' => array ( 0 => __DIR__ . '/..' . '/symfony/contracts', ), - 'RectorPrefix20220519\\Symfony\\Component\\Yaml\\' => + 'RectorPrefix20220520\\Symfony\\Component\\Yaml\\' => array ( 0 => __DIR__ . '/..' . '/symfony/yaml', ), - 'RectorPrefix20220519\\Symfony\\Component\\String\\' => + 'RectorPrefix20220520\\Symfony\\Component\\String\\' => array ( 0 => __DIR__ . '/..' . '/symfony/string', ), - 'RectorPrefix20220519\\Symfony\\Component\\Process\\' => + 'RectorPrefix20220520\\Symfony\\Component\\Process\\' => array ( 0 => __DIR__ . '/..' . '/symfony/process', ), - 'RectorPrefix20220519\\Symfony\\Component\\Finder\\' => + 'RectorPrefix20220520\\Symfony\\Component\\Finder\\' => array ( 0 => __DIR__ . '/..' . '/symfony/finder', ), - 'RectorPrefix20220519\\Symfony\\Component\\Filesystem\\' => + 'RectorPrefix20220520\\Symfony\\Component\\Filesystem\\' => array ( 0 => __DIR__ . '/..' . '/symfony/filesystem', ), - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\' => + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\' => array ( 0 => __DIR__ . '/..' . '/symfony/dependency-injection', ), - 'RectorPrefix20220519\\Symfony\\Component\\Console\\' => + 'RectorPrefix20220520\\Symfony\\Component\\Console\\' => array ( 0 => __DIR__ . '/..' . '/symfony/console', ), - 'RectorPrefix20220519\\Symfony\\Component\\Config\\' => + 'RectorPrefix20220520\\Symfony\\Component\\Config\\' => array ( 0 => __DIR__ . '/..' . '/symfony/config', ), - 'RectorPrefix20220519\\React\\Stream\\' => + 'RectorPrefix20220520\\React\\Stream\\' => array ( 0 => __DIR__ . '/..' . '/react/stream/src', ), - 'RectorPrefix20220519\\React\\Socket\\' => + 'RectorPrefix20220520\\React\\Socket\\' => array ( 0 => __DIR__ . '/..' . '/react/socket/src', ), - 'RectorPrefix20220519\\React\\Promise\\Timer\\' => + 'RectorPrefix20220520\\React\\Promise\\Timer\\' => array ( 0 => __DIR__ . '/..' . '/react/promise-timer/src', ), - 'RectorPrefix20220519\\React\\Promise\\' => + 'RectorPrefix20220520\\React\\Promise\\' => array ( 0 => __DIR__ . '/..' . '/react/promise/src', ), - 'RectorPrefix20220519\\React\\EventLoop\\' => + 'RectorPrefix20220520\\React\\EventLoop\\' => array ( 0 => __DIR__ . '/..' . '/react/event-loop/src', ), - 'RectorPrefix20220519\\React\\Dns\\' => + 'RectorPrefix20220520\\React\\Dns\\' => array ( 0 => __DIR__ . '/..' . '/react/dns/src', ), - 'RectorPrefix20220519\\React\\ChildProcess\\' => + 'RectorPrefix20220520\\React\\ChildProcess\\' => array ( 0 => __DIR__ . '/..' . '/react/child-process/src', ), - 'RectorPrefix20220519\\React\\Cache\\' => + 'RectorPrefix20220520\\React\\Cache\\' => array ( 0 => __DIR__ . '/..' . '/react/cache/src', ), - 'RectorPrefix20220519\\Psr\\Log\\' => + 'RectorPrefix20220520\\Psr\\Log\\' => array ( 0 => __DIR__ . '/..' . '/psr/log/src', ), - 'RectorPrefix20220519\\Psr\\EventDispatcher\\' => + 'RectorPrefix20220520\\Psr\\EventDispatcher\\' => array ( 0 => __DIR__ . '/..' . '/psr/event-dispatcher/src', ), - 'RectorPrefix20220519\\Psr\\Container\\' => + 'RectorPrefix20220520\\Psr\\Container\\' => array ( 0 => __DIR__ . '/..' . '/psr/container/src', ), - 'RectorPrefix20220519\\Psr\\Cache\\' => + 'RectorPrefix20220520\\Psr\\Cache\\' => array ( 0 => __DIR__ . '/..' . '/psr/cache/src', ), - 'RectorPrefix20220519\\OndraM\\CiDetector\\' => + 'RectorPrefix20220520\\OndraM\\CiDetector\\' => array ( 0 => __DIR__ . '/..' . '/ondram/ci-detector/src', ), - 'RectorPrefix20220519\\MyCLabs\\Enum\\' => + 'RectorPrefix20220520\\MyCLabs\\Enum\\' => array ( 0 => __DIR__ . '/..' . '/myclabs/php-enum/src', ), - 'RectorPrefix20220519\\Idiosyncratic\\EditorConfig\\' => + 'RectorPrefix20220520\\Idiosyncratic\\EditorConfig\\' => array ( 0 => __DIR__ . '/..' . '/idiosyncratic/editorconfig/src', ), - 'RectorPrefix20220519\\Helmich\\TypoScriptParser\\' => + 'RectorPrefix20220520\\Helmich\\TypoScriptParser\\' => array ( 0 => __DIR__ . '/..' . '/helmich/typo3-typoscript-parser/src', ), - 'RectorPrefix20220519\\Evenement\\' => + 'RectorPrefix20220520\\Evenement\\' => array ( 0 => __DIR__ . '/..' . '/evenement/evenement/src/Evenement', ), - 'RectorPrefix20220519\\Ergebnis\\Json\\Printer\\' => + 'RectorPrefix20220520\\Ergebnis\\Json\\Printer\\' => array ( 0 => __DIR__ . '/..' . '/ergebnis/json-printer/src', ), - 'RectorPrefix20220519\\Doctrine\\Inflector\\' => + 'RectorPrefix20220520\\Doctrine\\Inflector\\' => array ( 0 => __DIR__ . '/..' . '/doctrine/inflector/lib/Doctrine/Inflector', ), - 'RectorPrefix20220519\\Composer\\XdebugHandler\\' => + 'RectorPrefix20220520\\Composer\\XdebugHandler\\' => array ( 0 => __DIR__ . '/..' . '/composer/xdebug-handler/src', ), - 'RectorPrefix20220519\\Composer\\Semver\\' => + 'RectorPrefix20220520\\Composer\\Semver\\' => array ( 0 => __DIR__ . '/..' . '/composer/semver/src', ), - 'RectorPrefix20220519\\Composer\\Pcre\\' => + 'RectorPrefix20220520\\Composer\\Pcre\\' => array ( 0 => __DIR__ . '/..' . '/composer/pcre/src', ), - 'RectorPrefix20220519\\Clue\\React\\NDJson\\' => + 'RectorPrefix20220520\\Clue\\React\\NDJson\\' => array ( 0 => __DIR__ . '/..' . '/clue/ndjson-react/src', ), @@ -697,1034 +697,1034 @@ class ComposerStaticInit70a93d7538b708eba9d9e519bd6c9ee7 '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', - 'RectorPrefix20220519\\Clue\\React\\NDJson\\Decoder' => __DIR__ . '/..' . '/clue/ndjson-react/src/Decoder.php', - 'RectorPrefix20220519\\Clue\\React\\NDJson\\Encoder' => __DIR__ . '/..' . '/clue/ndjson-react/src/Encoder.php', - 'RectorPrefix20220519\\Composer\\Pcre\\MatchAllResult' => __DIR__ . '/..' . '/composer/pcre/src/MatchAllResult.php', - 'RectorPrefix20220519\\Composer\\Pcre\\MatchAllWithOffsetsResult' => __DIR__ . '/..' . '/composer/pcre/src/MatchAllWithOffsetsResult.php', - 'RectorPrefix20220519\\Composer\\Pcre\\MatchResult' => __DIR__ . '/..' . '/composer/pcre/src/MatchResult.php', - 'RectorPrefix20220519\\Composer\\Pcre\\MatchWithOffsetsResult' => __DIR__ . '/..' . '/composer/pcre/src/MatchWithOffsetsResult.php', - 'RectorPrefix20220519\\Composer\\Pcre\\PcreException' => __DIR__ . '/..' . '/composer/pcre/src/PcreException.php', - 'RectorPrefix20220519\\Composer\\Pcre\\Preg' => __DIR__ . '/..' . '/composer/pcre/src/Preg.php', - 'RectorPrefix20220519\\Composer\\Pcre\\Regex' => __DIR__ . '/..' . '/composer/pcre/src/Regex.php', - 'RectorPrefix20220519\\Composer\\Pcre\\ReplaceResult' => __DIR__ . '/..' . '/composer/pcre/src/ReplaceResult.php', - 'RectorPrefix20220519\\Composer\\Semver\\Comparator' => __DIR__ . '/..' . '/composer/semver/src/Comparator.php', - 'RectorPrefix20220519\\Composer\\Semver\\CompilingMatcher' => __DIR__ . '/..' . '/composer/semver/src/CompilingMatcher.php', - 'RectorPrefix20220519\\Composer\\Semver\\Constraint\\Bound' => __DIR__ . '/..' . '/composer/semver/src/Constraint/Bound.php', - 'RectorPrefix20220519\\Composer\\Semver\\Constraint\\Constraint' => __DIR__ . '/..' . '/composer/semver/src/Constraint/Constraint.php', - 'RectorPrefix20220519\\Composer\\Semver\\Constraint\\ConstraintInterface' => __DIR__ . '/..' . '/composer/semver/src/Constraint/ConstraintInterface.php', - 'RectorPrefix20220519\\Composer\\Semver\\Constraint\\MatchAllConstraint' => __DIR__ . '/..' . '/composer/semver/src/Constraint/MatchAllConstraint.php', - 'RectorPrefix20220519\\Composer\\Semver\\Constraint\\MatchNoneConstraint' => __DIR__ . '/..' . '/composer/semver/src/Constraint/MatchNoneConstraint.php', - 'RectorPrefix20220519\\Composer\\Semver\\Constraint\\MultiConstraint' => __DIR__ . '/..' . '/composer/semver/src/Constraint/MultiConstraint.php', - 'RectorPrefix20220519\\Composer\\Semver\\Interval' => __DIR__ . '/..' . '/composer/semver/src/Interval.php', - 'RectorPrefix20220519\\Composer\\Semver\\Intervals' => __DIR__ . '/..' . '/composer/semver/src/Intervals.php', - 'RectorPrefix20220519\\Composer\\Semver\\Semver' => __DIR__ . '/..' . '/composer/semver/src/Semver.php', - 'RectorPrefix20220519\\Composer\\Semver\\VersionParser' => __DIR__ . '/..' . '/composer/semver/src/VersionParser.php', - 'RectorPrefix20220519\\Composer\\XdebugHandler\\PhpConfig' => __DIR__ . '/..' . '/composer/xdebug-handler/src/PhpConfig.php', - 'RectorPrefix20220519\\Composer\\XdebugHandler\\Process' => __DIR__ . '/..' . '/composer/xdebug-handler/src/Process.php', - 'RectorPrefix20220519\\Composer\\XdebugHandler\\Status' => __DIR__ . '/..' . '/composer/xdebug-handler/src/Status.php', - 'RectorPrefix20220519\\Composer\\XdebugHandler\\XdebugHandler' => __DIR__ . '/..' . '/composer/xdebug-handler/src/XdebugHandler.php', - 'RectorPrefix20220519\\Doctrine\\Inflector\\CachedWordInflector' => __DIR__ . '/..' . '/doctrine/inflector/lib/Doctrine/Inflector/CachedWordInflector.php', - 'RectorPrefix20220519\\Doctrine\\Inflector\\GenericLanguageInflectorFactory' => __DIR__ . '/..' . '/doctrine/inflector/lib/Doctrine/Inflector/GenericLanguageInflectorFactory.php', - 'RectorPrefix20220519\\Doctrine\\Inflector\\Inflector' => __DIR__ . '/..' . '/doctrine/inflector/lib/Doctrine/Inflector/Inflector.php', - 'RectorPrefix20220519\\Doctrine\\Inflector\\InflectorFactory' => __DIR__ . '/..' . '/doctrine/inflector/lib/Doctrine/Inflector/InflectorFactory.php', - 'RectorPrefix20220519\\Doctrine\\Inflector\\Language' => __DIR__ . '/..' . '/doctrine/inflector/lib/Doctrine/Inflector/Language.php', - 'RectorPrefix20220519\\Doctrine\\Inflector\\LanguageInflectorFactory' => __DIR__ . '/..' . '/doctrine/inflector/lib/Doctrine/Inflector/LanguageInflectorFactory.php', - 'RectorPrefix20220519\\Doctrine\\Inflector\\NoopWordInflector' => __DIR__ . '/..' . '/doctrine/inflector/lib/Doctrine/Inflector/NoopWordInflector.php', - 'RectorPrefix20220519\\Doctrine\\Inflector\\Rules\\English\\Inflectible' => __DIR__ . '/..' . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/English/Inflectible.php', - 'RectorPrefix20220519\\Doctrine\\Inflector\\Rules\\English\\InflectorFactory' => __DIR__ . '/..' . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/English/InflectorFactory.php', - 'RectorPrefix20220519\\Doctrine\\Inflector\\Rules\\English\\Rules' => __DIR__ . '/..' . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/English/Rules.php', - 'RectorPrefix20220519\\Doctrine\\Inflector\\Rules\\English\\Uninflected' => __DIR__ . '/..' . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/English/Uninflected.php', - 'RectorPrefix20220519\\Doctrine\\Inflector\\Rules\\French\\Inflectible' => __DIR__ . '/..' . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/French/Inflectible.php', - 'RectorPrefix20220519\\Doctrine\\Inflector\\Rules\\French\\InflectorFactory' => __DIR__ . '/..' . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/French/InflectorFactory.php', - 'RectorPrefix20220519\\Doctrine\\Inflector\\Rules\\French\\Rules' => __DIR__ . '/..' . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/French/Rules.php', - 'RectorPrefix20220519\\Doctrine\\Inflector\\Rules\\French\\Uninflected' => __DIR__ . '/..' . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/French/Uninflected.php', - 'RectorPrefix20220519\\Doctrine\\Inflector\\Rules\\NorwegianBokmal\\Inflectible' => __DIR__ . '/..' . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/NorwegianBokmal/Inflectible.php', - 'RectorPrefix20220519\\Doctrine\\Inflector\\Rules\\NorwegianBokmal\\InflectorFactory' => __DIR__ . '/..' . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/NorwegianBokmal/InflectorFactory.php', - 'RectorPrefix20220519\\Doctrine\\Inflector\\Rules\\NorwegianBokmal\\Rules' => __DIR__ . '/..' . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/NorwegianBokmal/Rules.php', - 'RectorPrefix20220519\\Doctrine\\Inflector\\Rules\\NorwegianBokmal\\Uninflected' => __DIR__ . '/..' . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/NorwegianBokmal/Uninflected.php', - 'RectorPrefix20220519\\Doctrine\\Inflector\\Rules\\Pattern' => __DIR__ . '/..' . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/Pattern.php', - 'RectorPrefix20220519\\Doctrine\\Inflector\\Rules\\Patterns' => __DIR__ . '/..' . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/Patterns.php', - 'RectorPrefix20220519\\Doctrine\\Inflector\\Rules\\Portuguese\\Inflectible' => __DIR__ . '/..' . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/Portuguese/Inflectible.php', - 'RectorPrefix20220519\\Doctrine\\Inflector\\Rules\\Portuguese\\InflectorFactory' => __DIR__ . '/..' . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/Portuguese/InflectorFactory.php', - 'RectorPrefix20220519\\Doctrine\\Inflector\\Rules\\Portuguese\\Rules' => __DIR__ . '/..' . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/Portuguese/Rules.php', - 'RectorPrefix20220519\\Doctrine\\Inflector\\Rules\\Portuguese\\Uninflected' => __DIR__ . '/..' . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/Portuguese/Uninflected.php', - 'RectorPrefix20220519\\Doctrine\\Inflector\\Rules\\Ruleset' => __DIR__ . '/..' . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/Ruleset.php', - 'RectorPrefix20220519\\Doctrine\\Inflector\\Rules\\Spanish\\Inflectible' => __DIR__ . '/..' . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/Spanish/Inflectible.php', - 'RectorPrefix20220519\\Doctrine\\Inflector\\Rules\\Spanish\\InflectorFactory' => __DIR__ . '/..' . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/Spanish/InflectorFactory.php', - 'RectorPrefix20220519\\Doctrine\\Inflector\\Rules\\Spanish\\Rules' => __DIR__ . '/..' . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/Spanish/Rules.php', - 'RectorPrefix20220519\\Doctrine\\Inflector\\Rules\\Spanish\\Uninflected' => __DIR__ . '/..' . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/Spanish/Uninflected.php', - 'RectorPrefix20220519\\Doctrine\\Inflector\\Rules\\Substitution' => __DIR__ . '/..' . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/Substitution.php', - 'RectorPrefix20220519\\Doctrine\\Inflector\\Rules\\Substitutions' => __DIR__ . '/..' . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/Substitutions.php', - 'RectorPrefix20220519\\Doctrine\\Inflector\\Rules\\Transformation' => __DIR__ . '/..' . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/Transformation.php', - 'RectorPrefix20220519\\Doctrine\\Inflector\\Rules\\Transformations' => __DIR__ . '/..' . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/Transformations.php', - 'RectorPrefix20220519\\Doctrine\\Inflector\\Rules\\Turkish\\Inflectible' => __DIR__ . '/..' . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/Turkish/Inflectible.php', - 'RectorPrefix20220519\\Doctrine\\Inflector\\Rules\\Turkish\\InflectorFactory' => __DIR__ . '/..' . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/Turkish/InflectorFactory.php', - 'RectorPrefix20220519\\Doctrine\\Inflector\\Rules\\Turkish\\Rules' => __DIR__ . '/..' . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/Turkish/Rules.php', - 'RectorPrefix20220519\\Doctrine\\Inflector\\Rules\\Turkish\\Uninflected' => __DIR__ . '/..' . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/Turkish/Uninflected.php', - 'RectorPrefix20220519\\Doctrine\\Inflector\\Rules\\Word' => __DIR__ . '/..' . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/Word.php', - 'RectorPrefix20220519\\Doctrine\\Inflector\\RulesetInflector' => __DIR__ . '/..' . '/doctrine/inflector/lib/Doctrine/Inflector/RulesetInflector.php', - 'RectorPrefix20220519\\Doctrine\\Inflector\\WordInflector' => __DIR__ . '/..' . '/doctrine/inflector/lib/Doctrine/Inflector/WordInflector.php', - 'RectorPrefix20220519\\Ergebnis\\Json\\Printer\\Printer' => __DIR__ . '/..' . '/ergebnis/json-printer/src/Printer.php', - 'RectorPrefix20220519\\Ergebnis\\Json\\Printer\\PrinterInterface' => __DIR__ . '/..' . '/ergebnis/json-printer/src/PrinterInterface.php', - 'RectorPrefix20220519\\Evenement\\EventEmitter' => __DIR__ . '/..' . '/evenement/evenement/src/Evenement/EventEmitter.php', - 'RectorPrefix20220519\\Evenement\\EventEmitterInterface' => __DIR__ . '/..' . '/evenement/evenement/src/Evenement/EventEmitterInterface.php', - 'RectorPrefix20220519\\Evenement\\EventEmitterTrait' => __DIR__ . '/..' . '/evenement/evenement/src/Evenement/EventEmitterTrait.php', - 'RectorPrefix20220519\\Helmich\\TypoScriptParser\\Parser\\AST\\Builder' => __DIR__ . '/..' . '/helmich/typo3-typoscript-parser/src/Parser/AST/Builder.php', - 'RectorPrefix20220519\\Helmich\\TypoScriptParser\\Parser\\AST\\Comment' => __DIR__ . '/..' . '/helmich/typo3-typoscript-parser/src/Parser/AST/Comment.php', - 'RectorPrefix20220519\\Helmich\\TypoScriptParser\\Parser\\AST\\ConditionalStatement' => __DIR__ . '/..' . '/helmich/typo3-typoscript-parser/src/Parser/AST/ConditionalStatement.php', - 'RectorPrefix20220519\\Helmich\\TypoScriptParser\\Parser\\AST\\DirectoryIncludeStatement' => __DIR__ . '/..' . '/helmich/typo3-typoscript-parser/src/Parser/AST/DirectoryIncludeStatement.php', - 'RectorPrefix20220519\\Helmich\\TypoScriptParser\\Parser\\AST\\FileIncludeStatement' => __DIR__ . '/..' . '/helmich/typo3-typoscript-parser/src/Parser/AST/FileIncludeStatement.php', - 'RectorPrefix20220519\\Helmich\\TypoScriptParser\\Parser\\AST\\IncludeStatement' => __DIR__ . '/..' . '/helmich/typo3-typoscript-parser/src/Parser/AST/IncludeStatement.php', - 'RectorPrefix20220519\\Helmich\\TypoScriptParser\\Parser\\AST\\MultilineComment' => __DIR__ . '/..' . '/helmich/typo3-typoscript-parser/src/Parser/AST/MultilineComment.php', - 'RectorPrefix20220519\\Helmich\\TypoScriptParser\\Parser\\AST\\NestedAssignment' => __DIR__ . '/..' . '/helmich/typo3-typoscript-parser/src/Parser/AST/NestedAssignment.php', - 'RectorPrefix20220519\\Helmich\\TypoScriptParser\\Parser\\AST\\NopStatement' => __DIR__ . '/..' . '/helmich/typo3-typoscript-parser/src/Parser/AST/NopStatement.php', - 'RectorPrefix20220519\\Helmich\\TypoScriptParser\\Parser\\AST\\ObjectPath' => __DIR__ . '/..' . '/helmich/typo3-typoscript-parser/src/Parser/AST/ObjectPath.php', - 'RectorPrefix20220519\\Helmich\\TypoScriptParser\\Parser\\AST\\Operator\\Assignment' => __DIR__ . '/..' . '/helmich/typo3-typoscript-parser/src/Parser/AST/Operator/Assignment.php', - 'RectorPrefix20220519\\Helmich\\TypoScriptParser\\Parser\\AST\\Operator\\BinaryObjectOperator' => __DIR__ . '/..' . '/helmich/typo3-typoscript-parser/src/Parser/AST/Operator/BinaryObjectOperator.php', - 'RectorPrefix20220519\\Helmich\\TypoScriptParser\\Parser\\AST\\Operator\\BinaryOperator' => __DIR__ . '/..' . '/helmich/typo3-typoscript-parser/src/Parser/AST/Operator/BinaryOperator.php', - 'RectorPrefix20220519\\Helmich\\TypoScriptParser\\Parser\\AST\\Operator\\Builder' => __DIR__ . '/..' . '/helmich/typo3-typoscript-parser/src/Parser/AST/Operator/Builder.php', - 'RectorPrefix20220519\\Helmich\\TypoScriptParser\\Parser\\AST\\Operator\\Copy' => __DIR__ . '/..' . '/helmich/typo3-typoscript-parser/src/Parser/AST/Operator/Copy.php', - 'RectorPrefix20220519\\Helmich\\TypoScriptParser\\Parser\\AST\\Operator\\Delete' => __DIR__ . '/..' . '/helmich/typo3-typoscript-parser/src/Parser/AST/Operator/Delete.php', - 'RectorPrefix20220519\\Helmich\\TypoScriptParser\\Parser\\AST\\Operator\\Modification' => __DIR__ . '/..' . '/helmich/typo3-typoscript-parser/src/Parser/AST/Operator/Modification.php', - 'RectorPrefix20220519\\Helmich\\TypoScriptParser\\Parser\\AST\\Operator\\ModificationCall' => __DIR__ . '/..' . '/helmich/typo3-typoscript-parser/src/Parser/AST/Operator/ModificationCall.php', - 'RectorPrefix20220519\\Helmich\\TypoScriptParser\\Parser\\AST\\Operator\\ObjectCreation' => __DIR__ . '/..' . '/helmich/typo3-typoscript-parser/src/Parser/AST/Operator/ObjectCreation.php', - 'RectorPrefix20220519\\Helmich\\TypoScriptParser\\Parser\\AST\\Operator\\Reference' => __DIR__ . '/..' . '/helmich/typo3-typoscript-parser/src/Parser/AST/Operator/Reference.php', - 'RectorPrefix20220519\\Helmich\\TypoScriptParser\\Parser\\AST\\Operator\\UnaryOperator' => __DIR__ . '/..' . '/helmich/typo3-typoscript-parser/src/Parser/AST/Operator/UnaryOperator.php', - 'RectorPrefix20220519\\Helmich\\TypoScriptParser\\Parser\\AST\\RootObjectPath' => __DIR__ . '/..' . '/helmich/typo3-typoscript-parser/src/Parser/AST/RootObjectPath.php', - 'RectorPrefix20220519\\Helmich\\TypoScriptParser\\Parser\\AST\\Scalar' => __DIR__ . '/..' . '/helmich/typo3-typoscript-parser/src/Parser/AST/Scalar.php', - 'RectorPrefix20220519\\Helmich\\TypoScriptParser\\Parser\\AST\\Statement' => __DIR__ . '/..' . '/helmich/typo3-typoscript-parser/src/Parser/AST/Statement.php', - 'RectorPrefix20220519\\Helmich\\TypoScriptParser\\Parser\\ParseError' => __DIR__ . '/..' . '/helmich/typo3-typoscript-parser/src/Parser/ParseError.php', - 'RectorPrefix20220519\\Helmich\\TypoScriptParser\\Parser\\Parser' => __DIR__ . '/..' . '/helmich/typo3-typoscript-parser/src/Parser/Parser.php', - 'RectorPrefix20220519\\Helmich\\TypoScriptParser\\Parser\\ParserInterface' => __DIR__ . '/..' . '/helmich/typo3-typoscript-parser/src/Parser/ParserInterface.php', - 'RectorPrefix20220519\\Helmich\\TypoScriptParser\\Parser\\ParserState' => __DIR__ . '/..' . '/helmich/typo3-typoscript-parser/src/Parser/ParserState.php', - 'RectorPrefix20220519\\Helmich\\TypoScriptParser\\Parser\\Printer\\ASTPrinterInterface' => __DIR__ . '/..' . '/helmich/typo3-typoscript-parser/src/Parser/Printer/ASTPrinterInterface.php', - 'RectorPrefix20220519\\Helmich\\TypoScriptParser\\Parser\\Printer\\PrettyPrinter' => __DIR__ . '/..' . '/helmich/typo3-typoscript-parser/src/Parser/Printer/PrettyPrinter.php', - 'RectorPrefix20220519\\Helmich\\TypoScriptParser\\Parser\\Printer\\PrettyPrinterConfiguration' => __DIR__ . '/..' . '/helmich/typo3-typoscript-parser/src/Parser/Printer/PrettyPrinterConfiguration.php', - 'RectorPrefix20220519\\Helmich\\TypoScriptParser\\Parser\\TokenStream' => __DIR__ . '/..' . '/helmich/typo3-typoscript-parser/src/Parser/TokenStream.php', - 'RectorPrefix20220519\\Helmich\\TypoScriptParser\\Parser\\Traverser\\AggregatingVisitor' => __DIR__ . '/..' . '/helmich/typo3-typoscript-parser/src/Parser/Traverser/AggregatingVisitor.php', - 'RectorPrefix20220519\\Helmich\\TypoScriptParser\\Parser\\Traverser\\Traverser' => __DIR__ . '/..' . '/helmich/typo3-typoscript-parser/src/Parser/Traverser/Traverser.php', - 'RectorPrefix20220519\\Helmich\\TypoScriptParser\\Parser\\Traverser\\Visitor' => __DIR__ . '/..' . '/helmich/typo3-typoscript-parser/src/Parser/Traverser/Visitor.php', - 'RectorPrefix20220519\\Helmich\\TypoScriptParser\\Tokenizer\\LineGrouper' => __DIR__ . '/..' . '/helmich/typo3-typoscript-parser/src/Tokenizer/LineGrouper.php', - 'RectorPrefix20220519\\Helmich\\TypoScriptParser\\Tokenizer\\MultilineTokenBuilder' => __DIR__ . '/..' . '/helmich/typo3-typoscript-parser/src/Tokenizer/MultilineTokenBuilder.php', - 'RectorPrefix20220519\\Helmich\\TypoScriptParser\\Tokenizer\\Preprocessing\\NoOpPreprocessor' => __DIR__ . '/..' . '/helmich/typo3-typoscript-parser/src/Tokenizer/Preprocessing/NoOpPreprocessor.php', - 'RectorPrefix20220519\\Helmich\\TypoScriptParser\\Tokenizer\\Preprocessing\\Preprocessor' => __DIR__ . '/..' . '/helmich/typo3-typoscript-parser/src/Tokenizer/Preprocessing/Preprocessor.php', - 'RectorPrefix20220519\\Helmich\\TypoScriptParser\\Tokenizer\\Preprocessing\\ProcessorChain' => __DIR__ . '/..' . '/helmich/typo3-typoscript-parser/src/Tokenizer/Preprocessing/ProcessorChain.php', - 'RectorPrefix20220519\\Helmich\\TypoScriptParser\\Tokenizer\\Preprocessing\\RemoveTrailingWhitespacePreprocessor' => __DIR__ . '/..' . '/helmich/typo3-typoscript-parser/src/Tokenizer/Preprocessing/RemoveTrailingWhitespacePreprocessor.php', - 'RectorPrefix20220519\\Helmich\\TypoScriptParser\\Tokenizer\\Preprocessing\\StandardPreprocessor' => __DIR__ . '/..' . '/helmich/typo3-typoscript-parser/src/Tokenizer/Preprocessing/StandardPreprocessor.php', - 'RectorPrefix20220519\\Helmich\\TypoScriptParser\\Tokenizer\\Preprocessing\\UnifyLineEndingsPreprocessor' => __DIR__ . '/..' . '/helmich/typo3-typoscript-parser/src/Tokenizer/Preprocessing/UnifyLineEndingsPreprocessor.php', - 'RectorPrefix20220519\\Helmich\\TypoScriptParser\\Tokenizer\\Printer\\CodeTokenPrinter' => __DIR__ . '/..' . '/helmich/typo3-typoscript-parser/src/Tokenizer/Printer/CodeTokenPrinter.php', - 'RectorPrefix20220519\\Helmich\\TypoScriptParser\\Tokenizer\\Printer\\StructuredTokenPrinter' => __DIR__ . '/..' . '/helmich/typo3-typoscript-parser/src/Tokenizer/Printer/StructuredTokenPrinter.php', - 'RectorPrefix20220519\\Helmich\\TypoScriptParser\\Tokenizer\\Printer\\TokenPrinterInterface' => __DIR__ . '/..' . '/helmich/typo3-typoscript-parser/src/Tokenizer/Printer/TokenPrinterInterface.php', - 'RectorPrefix20220519\\Helmich\\TypoScriptParser\\Tokenizer\\Scanner' => __DIR__ . '/..' . '/helmich/typo3-typoscript-parser/src/Tokenizer/Scanner.php', - 'RectorPrefix20220519\\Helmich\\TypoScriptParser\\Tokenizer\\ScannerLine' => __DIR__ . '/..' . '/helmich/typo3-typoscript-parser/src/Tokenizer/ScannerLine.php', - 'RectorPrefix20220519\\Helmich\\TypoScriptParser\\Tokenizer\\Token' => __DIR__ . '/..' . '/helmich/typo3-typoscript-parser/src/Tokenizer/Token.php', - 'RectorPrefix20220519\\Helmich\\TypoScriptParser\\Tokenizer\\TokenInterface' => __DIR__ . '/..' . '/helmich/typo3-typoscript-parser/src/Tokenizer/TokenInterface.php', - 'RectorPrefix20220519\\Helmich\\TypoScriptParser\\Tokenizer\\TokenStreamBuilder' => __DIR__ . '/..' . '/helmich/typo3-typoscript-parser/src/Tokenizer/TokenStreamBuilder.php', - 'RectorPrefix20220519\\Helmich\\TypoScriptParser\\Tokenizer\\Tokenizer' => __DIR__ . '/..' . '/helmich/typo3-typoscript-parser/src/Tokenizer/Tokenizer.php', - 'RectorPrefix20220519\\Helmich\\TypoScriptParser\\Tokenizer\\TokenizerException' => __DIR__ . '/..' . '/helmich/typo3-typoscript-parser/src/Tokenizer/TokenizerException.php', - 'RectorPrefix20220519\\Helmich\\TypoScriptParser\\Tokenizer\\TokenizerInterface' => __DIR__ . '/..' . '/helmich/typo3-typoscript-parser/src/Tokenizer/TokenizerInterface.php', - 'RectorPrefix20220519\\Helmich\\TypoScriptParser\\Tokenizer\\UnknownOperatorException' => __DIR__ . '/..' . '/helmich/typo3-typoscript-parser/src/Tokenizer/UnknownOperatorException.php', - 'RectorPrefix20220519\\Helmich\\TypoScriptParser\\TypoScriptParserExtension' => __DIR__ . '/..' . '/helmich/typo3-typoscript-parser/src/TypoScriptParserExtension.php', - 'RectorPrefix20220519\\Idiosyncratic\\EditorConfig\\Declaration\\BooleanDeclaration' => __DIR__ . '/..' . '/idiosyncratic/editorconfig/src/Declaration/BooleanDeclaration.php', - 'RectorPrefix20220519\\Idiosyncratic\\EditorConfig\\Declaration\\Charset' => __DIR__ . '/..' . '/idiosyncratic/editorconfig/src/Declaration/Charset.php', - 'RectorPrefix20220519\\Idiosyncratic\\EditorConfig\\Declaration\\Declaration' => __DIR__ . '/..' . '/idiosyncratic/editorconfig/src/Declaration/Declaration.php', - 'RectorPrefix20220519\\Idiosyncratic\\EditorConfig\\Declaration\\EndOfLine' => __DIR__ . '/..' . '/idiosyncratic/editorconfig/src/Declaration/EndOfLine.php', - 'RectorPrefix20220519\\Idiosyncratic\\EditorConfig\\Declaration\\Factory' => __DIR__ . '/..' . '/idiosyncratic/editorconfig/src/Declaration/Factory.php', - 'RectorPrefix20220519\\Idiosyncratic\\EditorConfig\\Declaration\\GenericDeclaration' => __DIR__ . '/..' . '/idiosyncratic/editorconfig/src/Declaration/GenericDeclaration.php', - 'RectorPrefix20220519\\Idiosyncratic\\EditorConfig\\Declaration\\IndentSize' => __DIR__ . '/..' . '/idiosyncratic/editorconfig/src/Declaration/IndentSize.php', - 'RectorPrefix20220519\\Idiosyncratic\\EditorConfig\\Declaration\\IndentStyle' => __DIR__ . '/..' . '/idiosyncratic/editorconfig/src/Declaration/IndentStyle.php', - 'RectorPrefix20220519\\Idiosyncratic\\EditorConfig\\Declaration\\InsertFinalNewline' => __DIR__ . '/..' . '/idiosyncratic/editorconfig/src/Declaration/InsertFinalNewline.php', - 'RectorPrefix20220519\\Idiosyncratic\\EditorConfig\\Declaration\\MaxLineLength' => __DIR__ . '/..' . '/idiosyncratic/editorconfig/src/Declaration/MaxLineLength.php', - 'RectorPrefix20220519\\Idiosyncratic\\EditorConfig\\Declaration\\TabWidth' => __DIR__ . '/..' . '/idiosyncratic/editorconfig/src/Declaration/TabWidth.php', - 'RectorPrefix20220519\\Idiosyncratic\\EditorConfig\\Declaration\\TrimTrailingWhitespace' => __DIR__ . '/..' . '/idiosyncratic/editorconfig/src/Declaration/TrimTrailingWhitespace.php', - 'RectorPrefix20220519\\Idiosyncratic\\EditorConfig\\Declaration\\UnsetDeclaration' => __DIR__ . '/..' . '/idiosyncratic/editorconfig/src/Declaration/UnsetDeclaration.php', - 'RectorPrefix20220519\\Idiosyncratic\\EditorConfig\\EditorConfig' => __DIR__ . '/..' . '/idiosyncratic/editorconfig/src/EditorConfig.php', - 'RectorPrefix20220519\\Idiosyncratic\\EditorConfig\\EditorConfigFile' => __DIR__ . '/..' . '/idiosyncratic/editorconfig/src/EditorConfigFile.php', - 'RectorPrefix20220519\\Idiosyncratic\\EditorConfig\\Exception\\InvalidValue' => __DIR__ . '/..' . '/idiosyncratic/editorconfig/src/Exception/InvalidValue.php', - 'RectorPrefix20220519\\Idiosyncratic\\EditorConfig\\Section' => __DIR__ . '/..' . '/idiosyncratic/editorconfig/src/Section.php', - 'RectorPrefix20220519\\MyCLabs\\Enum\\Enum' => __DIR__ . '/..' . '/myclabs/php-enum/src/Enum.php', - 'RectorPrefix20220519\\MyCLabs\\Enum\\PHPUnit\\Comparator' => __DIR__ . '/..' . '/myclabs/php-enum/src/PHPUnit/Comparator.php', - 'RectorPrefix20220519\\Nette\\ArgumentOutOfRangeException' => __DIR__ . '/..' . '/nette/utils/src/exceptions.php', - 'RectorPrefix20220519\\Nette\\DeprecatedException' => __DIR__ . '/..' . '/nette/utils/src/exceptions.php', - 'RectorPrefix20220519\\Nette\\DirectoryNotFoundException' => __DIR__ . '/..' . '/nette/utils/src/exceptions.php', - 'RectorPrefix20220519\\Nette\\FileNotFoundException' => __DIR__ . '/..' . '/nette/utils/src/exceptions.php', - 'RectorPrefix20220519\\Nette\\HtmlStringable' => __DIR__ . '/..' . '/nette/utils/src/HtmlStringable.php', - 'RectorPrefix20220519\\Nette\\IOException' => __DIR__ . '/..' . '/nette/utils/src/exceptions.php', - 'RectorPrefix20220519\\Nette\\InvalidArgumentException' => __DIR__ . '/..' . '/nette/utils/src/exceptions.php', - 'RectorPrefix20220519\\Nette\\InvalidStateException' => __DIR__ . '/..' . '/nette/utils/src/exceptions.php', - 'RectorPrefix20220519\\Nette\\Iterators\\CachingIterator' => __DIR__ . '/..' . '/nette/utils/src/Iterators/CachingIterator.php', - 'RectorPrefix20220519\\Nette\\Iterators\\Mapper' => __DIR__ . '/..' . '/nette/utils/src/Iterators/Mapper.php', - 'RectorPrefix20220519\\Nette\\Localization\\ITranslator' => __DIR__ . '/..' . '/nette/utils/src/compatibility.php', - 'RectorPrefix20220519\\Nette\\Localization\\Translator' => __DIR__ . '/..' . '/nette/utils/src/Translator.php', - 'RectorPrefix20220519\\Nette\\MemberAccessException' => __DIR__ . '/..' . '/nette/utils/src/exceptions.php', - 'RectorPrefix20220519\\Nette\\Neon\\Decoder' => __DIR__ . '/..' . '/nette/neon/src/Neon/Decoder.php', - 'RectorPrefix20220519\\Nette\\Neon\\Encoder' => __DIR__ . '/..' . '/nette/neon/src/Neon/Encoder.php', - 'RectorPrefix20220519\\Nette\\Neon\\Entity' => __DIR__ . '/..' . '/nette/neon/src/Neon/Entity.php', - 'RectorPrefix20220519\\Nette\\Neon\\Exception' => __DIR__ . '/..' . '/nette/neon/src/Neon/Exception.php', - 'RectorPrefix20220519\\Nette\\Neon\\Lexer' => __DIR__ . '/..' . '/nette/neon/src/Neon/Lexer.php', - 'RectorPrefix20220519\\Nette\\Neon\\Neon' => __DIR__ . '/..' . '/nette/neon/src/Neon/Neon.php', - 'RectorPrefix20220519\\Nette\\Neon\\Node' => __DIR__ . '/..' . '/nette/neon/src/Neon/Node.php', - 'RectorPrefix20220519\\Nette\\Neon\\Node\\ArrayItemNode' => __DIR__ . '/..' . '/nette/neon/src/Neon/Node/ArrayItemNode.php', - 'RectorPrefix20220519\\Nette\\Neon\\Node\\ArrayNode' => __DIR__ . '/..' . '/nette/neon/src/Neon/Node/ArrayNode.php', - 'RectorPrefix20220519\\Nette\\Neon\\Node\\BlockArrayNode' => __DIR__ . '/..' . '/nette/neon/src/Neon/Node/BlockArrayNode.php', - 'RectorPrefix20220519\\Nette\\Neon\\Node\\EntityChainNode' => __DIR__ . '/..' . '/nette/neon/src/Neon/Node/EntityChainNode.php', - 'RectorPrefix20220519\\Nette\\Neon\\Node\\EntityNode' => __DIR__ . '/..' . '/nette/neon/src/Neon/Node/EntityNode.php', - 'RectorPrefix20220519\\Nette\\Neon\\Node\\InlineArrayNode' => __DIR__ . '/..' . '/nette/neon/src/Neon/Node/InlineArrayNode.php', - 'RectorPrefix20220519\\Nette\\Neon\\Node\\LiteralNode' => __DIR__ . '/..' . '/nette/neon/src/Neon/Node/LiteralNode.php', - 'RectorPrefix20220519\\Nette\\Neon\\Node\\StringNode' => __DIR__ . '/..' . '/nette/neon/src/Neon/Node/StringNode.php', - 'RectorPrefix20220519\\Nette\\Neon\\Parser' => __DIR__ . '/..' . '/nette/neon/src/Neon/Parser.php', - 'RectorPrefix20220519\\Nette\\Neon\\Token' => __DIR__ . '/..' . '/nette/neon/src/Neon/Token.php', - 'RectorPrefix20220519\\Nette\\Neon\\TokenStream' => __DIR__ . '/..' . '/nette/neon/src/Neon/TokenStream.php', - 'RectorPrefix20220519\\Nette\\Neon\\Traverser' => __DIR__ . '/..' . '/nette/neon/src/Neon/Traverser.php', - 'RectorPrefix20220519\\Nette\\NotImplementedException' => __DIR__ . '/..' . '/nette/utils/src/exceptions.php', - 'RectorPrefix20220519\\Nette\\NotSupportedException' => __DIR__ . '/..' . '/nette/utils/src/exceptions.php', - 'RectorPrefix20220519\\Nette\\OutOfRangeException' => __DIR__ . '/..' . '/nette/utils/src/exceptions.php', - 'RectorPrefix20220519\\Nette\\SmartObject' => __DIR__ . '/..' . '/nette/utils/src/SmartObject.php', - 'RectorPrefix20220519\\Nette\\StaticClass' => __DIR__ . '/..' . '/nette/utils/src/StaticClass.php', - 'RectorPrefix20220519\\Nette\\UnexpectedValueException' => __DIR__ . '/..' . '/nette/utils/src/exceptions.php', - 'RectorPrefix20220519\\Nette\\Utils\\ArrayHash' => __DIR__ . '/..' . '/nette/utils/src/Utils/ArrayHash.php', - 'RectorPrefix20220519\\Nette\\Utils\\ArrayList' => __DIR__ . '/..' . '/nette/utils/src/Utils/ArrayList.php', - 'RectorPrefix20220519\\Nette\\Utils\\Arrays' => __DIR__ . '/..' . '/nette/utils/src/Utils/Arrays.php', - 'RectorPrefix20220519\\Nette\\Utils\\AssertionException' => __DIR__ . '/..' . '/nette/utils/src/Utils/exceptions.php', - 'RectorPrefix20220519\\Nette\\Utils\\Callback' => __DIR__ . '/..' . '/nette/utils/src/Utils/Callback.php', - 'RectorPrefix20220519\\Nette\\Utils\\DateTime' => __DIR__ . '/..' . '/nette/utils/src/Utils/DateTime.php', - 'RectorPrefix20220519\\Nette\\Utils\\FileSystem' => __DIR__ . '/..' . '/nette/utils/src/Utils/FileSystem.php', - 'RectorPrefix20220519\\Nette\\Utils\\Floats' => __DIR__ . '/..' . '/nette/utils/src/Utils/Floats.php', - 'RectorPrefix20220519\\Nette\\Utils\\Helpers' => __DIR__ . '/..' . '/nette/utils/src/Utils/Helpers.php', - 'RectorPrefix20220519\\Nette\\Utils\\Html' => __DIR__ . '/..' . '/nette/utils/src/Utils/Html.php', - 'RectorPrefix20220519\\Nette\\Utils\\IHtmlString' => __DIR__ . '/..' . '/nette/utils/src/compatibility.php', - 'RectorPrefix20220519\\Nette\\Utils\\Image' => __DIR__ . '/..' . '/nette/utils/src/Utils/Image.php', - 'RectorPrefix20220519\\Nette\\Utils\\ImageException' => __DIR__ . '/..' . '/nette/utils/src/Utils/exceptions.php', - 'RectorPrefix20220519\\Nette\\Utils\\Json' => __DIR__ . '/..' . '/nette/utils/src/Utils/Json.php', - 'RectorPrefix20220519\\Nette\\Utils\\JsonException' => __DIR__ . '/..' . '/nette/utils/src/Utils/exceptions.php', - 'RectorPrefix20220519\\Nette\\Utils\\ObjectHelpers' => __DIR__ . '/..' . '/nette/utils/src/Utils/ObjectHelpers.php', - 'RectorPrefix20220519\\Nette\\Utils\\ObjectMixin' => __DIR__ . '/..' . '/nette/utils/src/Utils/ObjectMixin.php', - 'RectorPrefix20220519\\Nette\\Utils\\Paginator' => __DIR__ . '/..' . '/nette/utils/src/Utils/Paginator.php', - 'RectorPrefix20220519\\Nette\\Utils\\Random' => __DIR__ . '/..' . '/nette/utils/src/Utils/Random.php', - 'RectorPrefix20220519\\Nette\\Utils\\Reflection' => __DIR__ . '/..' . '/nette/utils/src/Utils/Reflection.php', - 'RectorPrefix20220519\\Nette\\Utils\\RegexpException' => __DIR__ . '/..' . '/nette/utils/src/Utils/exceptions.php', - 'RectorPrefix20220519\\Nette\\Utils\\Strings' => __DIR__ . '/..' . '/nette/utils/src/Utils/Strings.php', - 'RectorPrefix20220519\\Nette\\Utils\\Type' => __DIR__ . '/..' . '/nette/utils/src/Utils/Type.php', - 'RectorPrefix20220519\\Nette\\Utils\\UnknownImageFileException' => __DIR__ . '/..' . '/nette/utils/src/Utils/exceptions.php', - 'RectorPrefix20220519\\Nette\\Utils\\Validators' => __DIR__ . '/..' . '/nette/utils/src/Utils/Validators.php', - 'RectorPrefix20220519\\OndraM\\CiDetector\\CiDetector' => __DIR__ . '/..' . '/ondram/ci-detector/src/CiDetector.php', - 'RectorPrefix20220519\\OndraM\\CiDetector\\CiDetectorInterface' => __DIR__ . '/..' . '/ondram/ci-detector/src/CiDetectorInterface.php', - 'RectorPrefix20220519\\OndraM\\CiDetector\\Ci\\AbstractCi' => __DIR__ . '/..' . '/ondram/ci-detector/src/Ci/AbstractCi.php', - 'RectorPrefix20220519\\OndraM\\CiDetector\\Ci\\AppVeyor' => __DIR__ . '/..' . '/ondram/ci-detector/src/Ci/AppVeyor.php', - 'RectorPrefix20220519\\OndraM\\CiDetector\\Ci\\AwsCodeBuild' => __DIR__ . '/..' . '/ondram/ci-detector/src/Ci/AwsCodeBuild.php', - 'RectorPrefix20220519\\OndraM\\CiDetector\\Ci\\AzurePipelines' => __DIR__ . '/..' . '/ondram/ci-detector/src/Ci/AzurePipelines.php', - 'RectorPrefix20220519\\OndraM\\CiDetector\\Ci\\Bamboo' => __DIR__ . '/..' . '/ondram/ci-detector/src/Ci/Bamboo.php', - 'RectorPrefix20220519\\OndraM\\CiDetector\\Ci\\BitbucketPipelines' => __DIR__ . '/..' . '/ondram/ci-detector/src/Ci/BitbucketPipelines.php', - 'RectorPrefix20220519\\OndraM\\CiDetector\\Ci\\Buddy' => __DIR__ . '/..' . '/ondram/ci-detector/src/Ci/Buddy.php', - 'RectorPrefix20220519\\OndraM\\CiDetector\\Ci\\CiInterface' => __DIR__ . '/..' . '/ondram/ci-detector/src/Ci/CiInterface.php', - 'RectorPrefix20220519\\OndraM\\CiDetector\\Ci\\Circle' => __DIR__ . '/..' . '/ondram/ci-detector/src/Ci/Circle.php', - 'RectorPrefix20220519\\OndraM\\CiDetector\\Ci\\Codeship' => __DIR__ . '/..' . '/ondram/ci-detector/src/Ci/Codeship.php', - 'RectorPrefix20220519\\OndraM\\CiDetector\\Ci\\Continuousphp' => __DIR__ . '/..' . '/ondram/ci-detector/src/Ci/Continuousphp.php', - 'RectorPrefix20220519\\OndraM\\CiDetector\\Ci\\Drone' => __DIR__ . '/..' . '/ondram/ci-detector/src/Ci/Drone.php', - 'RectorPrefix20220519\\OndraM\\CiDetector\\Ci\\GitHubActions' => __DIR__ . '/..' . '/ondram/ci-detector/src/Ci/GitHubActions.php', - 'RectorPrefix20220519\\OndraM\\CiDetector\\Ci\\GitLab' => __DIR__ . '/..' . '/ondram/ci-detector/src/Ci/GitLab.php', - 'RectorPrefix20220519\\OndraM\\CiDetector\\Ci\\Jenkins' => __DIR__ . '/..' . '/ondram/ci-detector/src/Ci/Jenkins.php', - 'RectorPrefix20220519\\OndraM\\CiDetector\\Ci\\SourceHut' => __DIR__ . '/..' . '/ondram/ci-detector/src/Ci/SourceHut.php', - 'RectorPrefix20220519\\OndraM\\CiDetector\\Ci\\TeamCity' => __DIR__ . '/..' . '/ondram/ci-detector/src/Ci/TeamCity.php', - 'RectorPrefix20220519\\OndraM\\CiDetector\\Ci\\Travis' => __DIR__ . '/..' . '/ondram/ci-detector/src/Ci/Travis.php', - 'RectorPrefix20220519\\OndraM\\CiDetector\\Ci\\Wercker' => __DIR__ . '/..' . '/ondram/ci-detector/src/Ci/Wercker.php', - 'RectorPrefix20220519\\OndraM\\CiDetector\\Env' => __DIR__ . '/..' . '/ondram/ci-detector/src/Env.php', - 'RectorPrefix20220519\\OndraM\\CiDetector\\Exception\\CiNotDetectedException' => __DIR__ . '/..' . '/ondram/ci-detector/src/Exception/CiNotDetectedException.php', - 'RectorPrefix20220519\\OndraM\\CiDetector\\TrinaryLogic' => __DIR__ . '/..' . '/ondram/ci-detector/src/TrinaryLogic.php', - 'RectorPrefix20220519\\Psr\\Cache\\CacheException' => __DIR__ . '/..' . '/psr/cache/src/CacheException.php', - 'RectorPrefix20220519\\Psr\\Cache\\CacheItemInterface' => __DIR__ . '/..' . '/psr/cache/src/CacheItemInterface.php', - 'RectorPrefix20220519\\Psr\\Cache\\CacheItemPoolInterface' => __DIR__ . '/..' . '/psr/cache/src/CacheItemPoolInterface.php', - 'RectorPrefix20220519\\Psr\\Cache\\InvalidArgumentException' => __DIR__ . '/..' . '/psr/cache/src/InvalidArgumentException.php', - 'RectorPrefix20220519\\Psr\\Container\\ContainerExceptionInterface' => __DIR__ . '/..' . '/psr/container/src/ContainerExceptionInterface.php', - 'RectorPrefix20220519\\Psr\\Container\\ContainerInterface' => __DIR__ . '/..' . '/psr/container/src/ContainerInterface.php', - 'RectorPrefix20220519\\Psr\\Container\\NotFoundExceptionInterface' => __DIR__ . '/..' . '/psr/container/src/NotFoundExceptionInterface.php', - 'RectorPrefix20220519\\Psr\\EventDispatcher\\EventDispatcherInterface' => __DIR__ . '/..' . '/psr/event-dispatcher/src/EventDispatcherInterface.php', - 'RectorPrefix20220519\\Psr\\EventDispatcher\\ListenerProviderInterface' => __DIR__ . '/..' . '/psr/event-dispatcher/src/ListenerProviderInterface.php', - 'RectorPrefix20220519\\Psr\\EventDispatcher\\StoppableEventInterface' => __DIR__ . '/..' . '/psr/event-dispatcher/src/StoppableEventInterface.php', - 'RectorPrefix20220519\\Psr\\Log\\AbstractLogger' => __DIR__ . '/..' . '/psr/log/src/AbstractLogger.php', - 'RectorPrefix20220519\\Psr\\Log\\InvalidArgumentException' => __DIR__ . '/..' . '/psr/log/src/InvalidArgumentException.php', - 'RectorPrefix20220519\\Psr\\Log\\LogLevel' => __DIR__ . '/..' . '/psr/log/src/LogLevel.php', - 'RectorPrefix20220519\\Psr\\Log\\LoggerAwareInterface' => __DIR__ . '/..' . '/psr/log/src/LoggerAwareInterface.php', - 'RectorPrefix20220519\\Psr\\Log\\LoggerAwareTrait' => __DIR__ . '/..' . '/psr/log/src/LoggerAwareTrait.php', - 'RectorPrefix20220519\\Psr\\Log\\LoggerInterface' => __DIR__ . '/..' . '/psr/log/src/LoggerInterface.php', - 'RectorPrefix20220519\\Psr\\Log\\LoggerTrait' => __DIR__ . '/..' . '/psr/log/src/LoggerTrait.php', - 'RectorPrefix20220519\\Psr\\Log\\NullLogger' => __DIR__ . '/..' . '/psr/log/src/NullLogger.php', - 'RectorPrefix20220519\\React\\Cache\\ArrayCache' => __DIR__ . '/..' . '/react/cache/src/ArrayCache.php', - 'RectorPrefix20220519\\React\\Cache\\CacheInterface' => __DIR__ . '/..' . '/react/cache/src/CacheInterface.php', - 'RectorPrefix20220519\\React\\ChildProcess\\Process' => __DIR__ . '/..' . '/react/child-process/src/Process.php', - 'RectorPrefix20220519\\React\\Dns\\BadServerException' => __DIR__ . '/..' . '/react/dns/src/BadServerException.php', - 'RectorPrefix20220519\\React\\Dns\\Config\\Config' => __DIR__ . '/..' . '/react/dns/src/Config/Config.php', - 'RectorPrefix20220519\\React\\Dns\\Config\\HostsFile' => __DIR__ . '/..' . '/react/dns/src/Config/HostsFile.php', - 'RectorPrefix20220519\\React\\Dns\\Model\\Message' => __DIR__ . '/..' . '/react/dns/src/Model/Message.php', - 'RectorPrefix20220519\\React\\Dns\\Model\\Record' => __DIR__ . '/..' . '/react/dns/src/Model/Record.php', - 'RectorPrefix20220519\\React\\Dns\\Protocol\\BinaryDumper' => __DIR__ . '/..' . '/react/dns/src/Protocol/BinaryDumper.php', - 'RectorPrefix20220519\\React\\Dns\\Protocol\\Parser' => __DIR__ . '/..' . '/react/dns/src/Protocol/Parser.php', - 'RectorPrefix20220519\\React\\Dns\\Query\\CachingExecutor' => __DIR__ . '/..' . '/react/dns/src/Query/CachingExecutor.php', - 'RectorPrefix20220519\\React\\Dns\\Query\\CancellationException' => __DIR__ . '/..' . '/react/dns/src/Query/CancellationException.php', - 'RectorPrefix20220519\\React\\Dns\\Query\\CoopExecutor' => __DIR__ . '/..' . '/react/dns/src/Query/CoopExecutor.php', - 'RectorPrefix20220519\\React\\Dns\\Query\\ExecutorInterface' => __DIR__ . '/..' . '/react/dns/src/Query/ExecutorInterface.php', - 'RectorPrefix20220519\\React\\Dns\\Query\\FallbackExecutor' => __DIR__ . '/..' . '/react/dns/src/Query/FallbackExecutor.php', - 'RectorPrefix20220519\\React\\Dns\\Query\\HostsFileExecutor' => __DIR__ . '/..' . '/react/dns/src/Query/HostsFileExecutor.php', - 'RectorPrefix20220519\\React\\Dns\\Query\\Query' => __DIR__ . '/..' . '/react/dns/src/Query/Query.php', - 'RectorPrefix20220519\\React\\Dns\\Query\\RetryExecutor' => __DIR__ . '/..' . '/react/dns/src/Query/RetryExecutor.php', - 'RectorPrefix20220519\\React\\Dns\\Query\\SelectiveTransportExecutor' => __DIR__ . '/..' . '/react/dns/src/Query/SelectiveTransportExecutor.php', - 'RectorPrefix20220519\\React\\Dns\\Query\\TcpTransportExecutor' => __DIR__ . '/..' . '/react/dns/src/Query/TcpTransportExecutor.php', - 'RectorPrefix20220519\\React\\Dns\\Query\\TimeoutException' => __DIR__ . '/..' . '/react/dns/src/Query/TimeoutException.php', - 'RectorPrefix20220519\\React\\Dns\\Query\\TimeoutExecutor' => __DIR__ . '/..' . '/react/dns/src/Query/TimeoutExecutor.php', - 'RectorPrefix20220519\\React\\Dns\\Query\\UdpTransportExecutor' => __DIR__ . '/..' . '/react/dns/src/Query/UdpTransportExecutor.php', - 'RectorPrefix20220519\\React\\Dns\\RecordNotFoundException' => __DIR__ . '/..' . '/react/dns/src/RecordNotFoundException.php', - 'RectorPrefix20220519\\React\\Dns\\Resolver\\Factory' => __DIR__ . '/..' . '/react/dns/src/Resolver/Factory.php', - 'RectorPrefix20220519\\React\\Dns\\Resolver\\Resolver' => __DIR__ . '/..' . '/react/dns/src/Resolver/Resolver.php', - 'RectorPrefix20220519\\React\\Dns\\Resolver\\ResolverInterface' => __DIR__ . '/..' . '/react/dns/src/Resolver/ResolverInterface.php', - 'RectorPrefix20220519\\React\\EventLoop\\ExtEvLoop' => __DIR__ . '/..' . '/react/event-loop/src/ExtEvLoop.php', - 'RectorPrefix20220519\\React\\EventLoop\\ExtEventLoop' => __DIR__ . '/..' . '/react/event-loop/src/ExtEventLoop.php', - 'RectorPrefix20220519\\React\\EventLoop\\ExtLibevLoop' => __DIR__ . '/..' . '/react/event-loop/src/ExtLibevLoop.php', - 'RectorPrefix20220519\\React\\EventLoop\\ExtLibeventLoop' => __DIR__ . '/..' . '/react/event-loop/src/ExtLibeventLoop.php', - 'RectorPrefix20220519\\React\\EventLoop\\ExtUvLoop' => __DIR__ . '/..' . '/react/event-loop/src/ExtUvLoop.php', - 'RectorPrefix20220519\\React\\EventLoop\\Factory' => __DIR__ . '/..' . '/react/event-loop/src/Factory.php', - 'RectorPrefix20220519\\React\\EventLoop\\Loop' => __DIR__ . '/..' . '/react/event-loop/src/Loop.php', - 'RectorPrefix20220519\\React\\EventLoop\\LoopInterface' => __DIR__ . '/..' . '/react/event-loop/src/LoopInterface.php', - 'RectorPrefix20220519\\React\\EventLoop\\SignalsHandler' => __DIR__ . '/..' . '/react/event-loop/src/SignalsHandler.php', - 'RectorPrefix20220519\\React\\EventLoop\\StreamSelectLoop' => __DIR__ . '/..' . '/react/event-loop/src/StreamSelectLoop.php', - 'RectorPrefix20220519\\React\\EventLoop\\Tick\\FutureTickQueue' => __DIR__ . '/..' . '/react/event-loop/src/Tick/FutureTickQueue.php', - 'RectorPrefix20220519\\React\\EventLoop\\TimerInterface' => __DIR__ . '/..' . '/react/event-loop/src/TimerInterface.php', - 'RectorPrefix20220519\\React\\EventLoop\\Timer\\Timer' => __DIR__ . '/..' . '/react/event-loop/src/Timer/Timer.php', - 'RectorPrefix20220519\\React\\EventLoop\\Timer\\Timers' => __DIR__ . '/..' . '/react/event-loop/src/Timer/Timers.php', - 'RectorPrefix20220519\\React\\Promise\\CancellablePromiseInterface' => __DIR__ . '/..' . '/react/promise/src/CancellablePromiseInterface.php', - 'RectorPrefix20220519\\React\\Promise\\CancellationQueue' => __DIR__ . '/..' . '/react/promise/src/CancellationQueue.php', - 'RectorPrefix20220519\\React\\Promise\\Deferred' => __DIR__ . '/..' . '/react/promise/src/Deferred.php', - 'RectorPrefix20220519\\React\\Promise\\Exception\\LengthException' => __DIR__ . '/..' . '/react/promise/src/Exception/LengthException.php', - 'RectorPrefix20220519\\React\\Promise\\ExtendedPromiseInterface' => __DIR__ . '/..' . '/react/promise/src/ExtendedPromiseInterface.php', - 'RectorPrefix20220519\\React\\Promise\\FulfilledPromise' => __DIR__ . '/..' . '/react/promise/src/FulfilledPromise.php', - 'RectorPrefix20220519\\React\\Promise\\LazyPromise' => __DIR__ . '/..' . '/react/promise/src/LazyPromise.php', - 'RectorPrefix20220519\\React\\Promise\\Promise' => __DIR__ . '/..' . '/react/promise/src/Promise.php', - 'RectorPrefix20220519\\React\\Promise\\PromiseInterface' => __DIR__ . '/..' . '/react/promise/src/PromiseInterface.php', - 'RectorPrefix20220519\\React\\Promise\\PromisorInterface' => __DIR__ . '/..' . '/react/promise/src/PromisorInterface.php', - 'RectorPrefix20220519\\React\\Promise\\RejectedPromise' => __DIR__ . '/..' . '/react/promise/src/RejectedPromise.php', - 'RectorPrefix20220519\\React\\Promise\\Timer\\TimeoutException' => __DIR__ . '/..' . '/react/promise-timer/src/TimeoutException.php', - 'RectorPrefix20220519\\React\\Promise\\UnhandledRejectionException' => __DIR__ . '/..' . '/react/promise/src/UnhandledRejectionException.php', - 'RectorPrefix20220519\\React\\Socket\\Connection' => __DIR__ . '/..' . '/react/socket/src/Connection.php', - 'RectorPrefix20220519\\React\\Socket\\ConnectionInterface' => __DIR__ . '/..' . '/react/socket/src/ConnectionInterface.php', - 'RectorPrefix20220519\\React\\Socket\\Connector' => __DIR__ . '/..' . '/react/socket/src/Connector.php', - 'RectorPrefix20220519\\React\\Socket\\ConnectorInterface' => __DIR__ . '/..' . '/react/socket/src/ConnectorInterface.php', - 'RectorPrefix20220519\\React\\Socket\\DnsConnector' => __DIR__ . '/..' . '/react/socket/src/DnsConnector.php', - 'RectorPrefix20220519\\React\\Socket\\FdServer' => __DIR__ . '/..' . '/react/socket/src/FdServer.php', - 'RectorPrefix20220519\\React\\Socket\\FixedUriConnector' => __DIR__ . '/..' . '/react/socket/src/FixedUriConnector.php', - 'RectorPrefix20220519\\React\\Socket\\HappyEyeBallsConnectionBuilder' => __DIR__ . '/..' . '/react/socket/src/HappyEyeBallsConnectionBuilder.php', - 'RectorPrefix20220519\\React\\Socket\\HappyEyeBallsConnector' => __DIR__ . '/..' . '/react/socket/src/HappyEyeBallsConnector.php', - 'RectorPrefix20220519\\React\\Socket\\LimitingServer' => __DIR__ . '/..' . '/react/socket/src/LimitingServer.php', - 'RectorPrefix20220519\\React\\Socket\\SecureConnector' => __DIR__ . '/..' . '/react/socket/src/SecureConnector.php', - 'RectorPrefix20220519\\React\\Socket\\SecureServer' => __DIR__ . '/..' . '/react/socket/src/SecureServer.php', - 'RectorPrefix20220519\\React\\Socket\\Server' => __DIR__ . '/..' . '/react/socket/src/Server.php', - 'RectorPrefix20220519\\React\\Socket\\ServerInterface' => __DIR__ . '/..' . '/react/socket/src/ServerInterface.php', - 'RectorPrefix20220519\\React\\Socket\\SocketServer' => __DIR__ . '/..' . '/react/socket/src/SocketServer.php', - 'RectorPrefix20220519\\React\\Socket\\StreamEncryption' => __DIR__ . '/..' . '/react/socket/src/StreamEncryption.php', - 'RectorPrefix20220519\\React\\Socket\\TcpConnector' => __DIR__ . '/..' . '/react/socket/src/TcpConnector.php', - 'RectorPrefix20220519\\React\\Socket\\TcpServer' => __DIR__ . '/..' . '/react/socket/src/TcpServer.php', - 'RectorPrefix20220519\\React\\Socket\\TimeoutConnector' => __DIR__ . '/..' . '/react/socket/src/TimeoutConnector.php', - 'RectorPrefix20220519\\React\\Socket\\UnixConnector' => __DIR__ . '/..' . '/react/socket/src/UnixConnector.php', - 'RectorPrefix20220519\\React\\Socket\\UnixServer' => __DIR__ . '/..' . '/react/socket/src/UnixServer.php', - 'RectorPrefix20220519\\React\\Stream\\CompositeStream' => __DIR__ . '/..' . '/react/stream/src/CompositeStream.php', - 'RectorPrefix20220519\\React\\Stream\\DuplexResourceStream' => __DIR__ . '/..' . '/react/stream/src/DuplexResourceStream.php', - 'RectorPrefix20220519\\React\\Stream\\DuplexStreamInterface' => __DIR__ . '/..' . '/react/stream/src/DuplexStreamInterface.php', - 'RectorPrefix20220519\\React\\Stream\\ReadableResourceStream' => __DIR__ . '/..' . '/react/stream/src/ReadableResourceStream.php', - 'RectorPrefix20220519\\React\\Stream\\ReadableStreamInterface' => __DIR__ . '/..' . '/react/stream/src/ReadableStreamInterface.php', - 'RectorPrefix20220519\\React\\Stream\\ThroughStream' => __DIR__ . '/..' . '/react/stream/src/ThroughStream.php', - 'RectorPrefix20220519\\React\\Stream\\Util' => __DIR__ . '/..' . '/react/stream/src/Util.php', - 'RectorPrefix20220519\\React\\Stream\\WritableResourceStream' => __DIR__ . '/..' . '/react/stream/src/WritableResourceStream.php', - 'RectorPrefix20220519\\React\\Stream\\WritableStreamInterface' => __DIR__ . '/..' . '/react/stream/src/WritableStreamInterface.php', - 'RectorPrefix20220519\\SebastianBergmann\\Diff\\Chunk' => __DIR__ . '/..' . '/sebastian/diff/src/Chunk.php', - 'RectorPrefix20220519\\SebastianBergmann\\Diff\\ConfigurationException' => __DIR__ . '/..' . '/sebastian/diff/src/Exception/ConfigurationException.php', - 'RectorPrefix20220519\\SebastianBergmann\\Diff\\Diff' => __DIR__ . '/..' . '/sebastian/diff/src/Diff.php', - 'RectorPrefix20220519\\SebastianBergmann\\Diff\\Differ' => __DIR__ . '/..' . '/sebastian/diff/src/Differ.php', - 'RectorPrefix20220519\\SebastianBergmann\\Diff\\Exception' => __DIR__ . '/..' . '/sebastian/diff/src/Exception/Exception.php', - 'RectorPrefix20220519\\SebastianBergmann\\Diff\\InvalidArgumentException' => __DIR__ . '/..' . '/sebastian/diff/src/Exception/InvalidArgumentException.php', - 'RectorPrefix20220519\\SebastianBergmann\\Diff\\Line' => __DIR__ . '/..' . '/sebastian/diff/src/Line.php', - 'RectorPrefix20220519\\SebastianBergmann\\Diff\\LongestCommonSubsequenceCalculator' => __DIR__ . '/..' . '/sebastian/diff/src/LongestCommonSubsequenceCalculator.php', - 'RectorPrefix20220519\\SebastianBergmann\\Diff\\MemoryEfficientLongestCommonSubsequenceCalculator' => __DIR__ . '/..' . '/sebastian/diff/src/MemoryEfficientLongestCommonSubsequenceCalculator.php', - 'RectorPrefix20220519\\SebastianBergmann\\Diff\\Output\\AbstractChunkOutputBuilder' => __DIR__ . '/..' . '/sebastian/diff/src/Output/AbstractChunkOutputBuilder.php', - 'RectorPrefix20220519\\SebastianBergmann\\Diff\\Output\\DiffOnlyOutputBuilder' => __DIR__ . '/..' . '/sebastian/diff/src/Output/DiffOnlyOutputBuilder.php', - 'RectorPrefix20220519\\SebastianBergmann\\Diff\\Output\\DiffOutputBuilderInterface' => __DIR__ . '/..' . '/sebastian/diff/src/Output/DiffOutputBuilderInterface.php', - 'RectorPrefix20220519\\SebastianBergmann\\Diff\\Output\\StrictUnifiedDiffOutputBuilder' => __DIR__ . '/..' . '/sebastian/diff/src/Output/StrictUnifiedDiffOutputBuilder.php', - 'RectorPrefix20220519\\SebastianBergmann\\Diff\\Output\\UnifiedDiffOutputBuilder' => __DIR__ . '/..' . '/sebastian/diff/src/Output/UnifiedDiffOutputBuilder.php', - 'RectorPrefix20220519\\SebastianBergmann\\Diff\\Parser' => __DIR__ . '/..' . '/sebastian/diff/src/Parser.php', - 'RectorPrefix20220519\\SebastianBergmann\\Diff\\TimeEfficientLongestCommonSubsequenceCalculator' => __DIR__ . '/..' . '/sebastian/diff/src/TimeEfficientLongestCommonSubsequenceCalculator.php', - 'RectorPrefix20220519\\Symfony\\Component\\Config\\Builder\\ClassBuilder' => __DIR__ . '/..' . '/symfony/config/Builder/ClassBuilder.php', - 'RectorPrefix20220519\\Symfony\\Component\\Config\\Builder\\ConfigBuilderGenerator' => __DIR__ . '/..' . '/symfony/config/Builder/ConfigBuilderGenerator.php', - 'RectorPrefix20220519\\Symfony\\Component\\Config\\Builder\\ConfigBuilderGeneratorInterface' => __DIR__ . '/..' . '/symfony/config/Builder/ConfigBuilderGeneratorInterface.php', - 'RectorPrefix20220519\\Symfony\\Component\\Config\\Builder\\ConfigBuilderInterface' => __DIR__ . '/..' . '/symfony/config/Builder/ConfigBuilderInterface.php', - 'RectorPrefix20220519\\Symfony\\Component\\Config\\Builder\\Method' => __DIR__ . '/..' . '/symfony/config/Builder/Method.php', - 'RectorPrefix20220519\\Symfony\\Component\\Config\\Builder\\Property' => __DIR__ . '/..' . '/symfony/config/Builder/Property.php', - 'RectorPrefix20220519\\Symfony\\Component\\Config\\ConfigCache' => __DIR__ . '/..' . '/symfony/config/ConfigCache.php', - 'RectorPrefix20220519\\Symfony\\Component\\Config\\ConfigCacheFactory' => __DIR__ . '/..' . '/symfony/config/ConfigCacheFactory.php', - 'RectorPrefix20220519\\Symfony\\Component\\Config\\ConfigCacheFactoryInterface' => __DIR__ . '/..' . '/symfony/config/ConfigCacheFactoryInterface.php', - 'RectorPrefix20220519\\Symfony\\Component\\Config\\ConfigCacheInterface' => __DIR__ . '/..' . '/symfony/config/ConfigCacheInterface.php', - 'RectorPrefix20220519\\Symfony\\Component\\Config\\Definition\\ArrayNode' => __DIR__ . '/..' . '/symfony/config/Definition/ArrayNode.php', - 'RectorPrefix20220519\\Symfony\\Component\\Config\\Definition\\BaseNode' => __DIR__ . '/..' . '/symfony/config/Definition/BaseNode.php', - 'RectorPrefix20220519\\Symfony\\Component\\Config\\Definition\\BooleanNode' => __DIR__ . '/..' . '/symfony/config/Definition/BooleanNode.php', - 'RectorPrefix20220519\\Symfony\\Component\\Config\\Definition\\Builder\\ArrayNodeDefinition' => __DIR__ . '/..' . '/symfony/config/Definition/Builder/ArrayNodeDefinition.php', - 'RectorPrefix20220519\\Symfony\\Component\\Config\\Definition\\Builder\\BooleanNodeDefinition' => __DIR__ . '/..' . '/symfony/config/Definition/Builder/BooleanNodeDefinition.php', - 'RectorPrefix20220519\\Symfony\\Component\\Config\\Definition\\Builder\\BuilderAwareInterface' => __DIR__ . '/..' . '/symfony/config/Definition/Builder/BuilderAwareInterface.php', - 'RectorPrefix20220519\\Symfony\\Component\\Config\\Definition\\Builder\\EnumNodeDefinition' => __DIR__ . '/..' . '/symfony/config/Definition/Builder/EnumNodeDefinition.php', - 'RectorPrefix20220519\\Symfony\\Component\\Config\\Definition\\Builder\\ExprBuilder' => __DIR__ . '/..' . '/symfony/config/Definition/Builder/ExprBuilder.php', - 'RectorPrefix20220519\\Symfony\\Component\\Config\\Definition\\Builder\\FloatNodeDefinition' => __DIR__ . '/..' . '/symfony/config/Definition/Builder/FloatNodeDefinition.php', - 'RectorPrefix20220519\\Symfony\\Component\\Config\\Definition\\Builder\\IntegerNodeDefinition' => __DIR__ . '/..' . '/symfony/config/Definition/Builder/IntegerNodeDefinition.php', - 'RectorPrefix20220519\\Symfony\\Component\\Config\\Definition\\Builder\\MergeBuilder' => __DIR__ . '/..' . '/symfony/config/Definition/Builder/MergeBuilder.php', - 'RectorPrefix20220519\\Symfony\\Component\\Config\\Definition\\Builder\\NodeBuilder' => __DIR__ . '/..' . '/symfony/config/Definition/Builder/NodeBuilder.php', - 'RectorPrefix20220519\\Symfony\\Component\\Config\\Definition\\Builder\\NodeDefinition' => __DIR__ . '/..' . '/symfony/config/Definition/Builder/NodeDefinition.php', - 'RectorPrefix20220519\\Symfony\\Component\\Config\\Definition\\Builder\\NodeParentInterface' => __DIR__ . '/..' . '/symfony/config/Definition/Builder/NodeParentInterface.php', - 'RectorPrefix20220519\\Symfony\\Component\\Config\\Definition\\Builder\\NormalizationBuilder' => __DIR__ . '/..' . '/symfony/config/Definition/Builder/NormalizationBuilder.php', - 'RectorPrefix20220519\\Symfony\\Component\\Config\\Definition\\Builder\\NumericNodeDefinition' => __DIR__ . '/..' . '/symfony/config/Definition/Builder/NumericNodeDefinition.php', - 'RectorPrefix20220519\\Symfony\\Component\\Config\\Definition\\Builder\\ParentNodeDefinitionInterface' => __DIR__ . '/..' . '/symfony/config/Definition/Builder/ParentNodeDefinitionInterface.php', - 'RectorPrefix20220519\\Symfony\\Component\\Config\\Definition\\Builder\\ScalarNodeDefinition' => __DIR__ . '/..' . '/symfony/config/Definition/Builder/ScalarNodeDefinition.php', - 'RectorPrefix20220519\\Symfony\\Component\\Config\\Definition\\Builder\\TreeBuilder' => __DIR__ . '/..' . '/symfony/config/Definition/Builder/TreeBuilder.php', - 'RectorPrefix20220519\\Symfony\\Component\\Config\\Definition\\Builder\\ValidationBuilder' => __DIR__ . '/..' . '/symfony/config/Definition/Builder/ValidationBuilder.php', - 'RectorPrefix20220519\\Symfony\\Component\\Config\\Definition\\Builder\\VariableNodeDefinition' => __DIR__ . '/..' . '/symfony/config/Definition/Builder/VariableNodeDefinition.php', - 'RectorPrefix20220519\\Symfony\\Component\\Config\\Definition\\ConfigurationInterface' => __DIR__ . '/..' . '/symfony/config/Definition/ConfigurationInterface.php', - 'RectorPrefix20220519\\Symfony\\Component\\Config\\Definition\\Dumper\\XmlReferenceDumper' => __DIR__ . '/..' . '/symfony/config/Definition/Dumper/XmlReferenceDumper.php', - 'RectorPrefix20220519\\Symfony\\Component\\Config\\Definition\\Dumper\\YamlReferenceDumper' => __DIR__ . '/..' . '/symfony/config/Definition/Dumper/YamlReferenceDumper.php', - 'RectorPrefix20220519\\Symfony\\Component\\Config\\Definition\\EnumNode' => __DIR__ . '/..' . '/symfony/config/Definition/EnumNode.php', - 'RectorPrefix20220519\\Symfony\\Component\\Config\\Definition\\Exception\\DuplicateKeyException' => __DIR__ . '/..' . '/symfony/config/Definition/Exception/DuplicateKeyException.php', - 'RectorPrefix20220519\\Symfony\\Component\\Config\\Definition\\Exception\\Exception' => __DIR__ . '/..' . '/symfony/config/Definition/Exception/Exception.php', - 'RectorPrefix20220519\\Symfony\\Component\\Config\\Definition\\Exception\\ForbiddenOverwriteException' => __DIR__ . '/..' . '/symfony/config/Definition/Exception/ForbiddenOverwriteException.php', - 'RectorPrefix20220519\\Symfony\\Component\\Config\\Definition\\Exception\\InvalidConfigurationException' => __DIR__ . '/..' . '/symfony/config/Definition/Exception/InvalidConfigurationException.php', - 'RectorPrefix20220519\\Symfony\\Component\\Config\\Definition\\Exception\\InvalidDefinitionException' => __DIR__ . '/..' . '/symfony/config/Definition/Exception/InvalidDefinitionException.php', - 'RectorPrefix20220519\\Symfony\\Component\\Config\\Definition\\Exception\\InvalidTypeException' => __DIR__ . '/..' . '/symfony/config/Definition/Exception/InvalidTypeException.php', - 'RectorPrefix20220519\\Symfony\\Component\\Config\\Definition\\Exception\\UnsetKeyException' => __DIR__ . '/..' . '/symfony/config/Definition/Exception/UnsetKeyException.php', - 'RectorPrefix20220519\\Symfony\\Component\\Config\\Definition\\FloatNode' => __DIR__ . '/..' . '/symfony/config/Definition/FloatNode.php', - 'RectorPrefix20220519\\Symfony\\Component\\Config\\Definition\\IntegerNode' => __DIR__ . '/..' . '/symfony/config/Definition/IntegerNode.php', - 'RectorPrefix20220519\\Symfony\\Component\\Config\\Definition\\NodeInterface' => __DIR__ . '/..' . '/symfony/config/Definition/NodeInterface.php', - 'RectorPrefix20220519\\Symfony\\Component\\Config\\Definition\\NumericNode' => __DIR__ . '/..' . '/symfony/config/Definition/NumericNode.php', - 'RectorPrefix20220519\\Symfony\\Component\\Config\\Definition\\Processor' => __DIR__ . '/..' . '/symfony/config/Definition/Processor.php', - 'RectorPrefix20220519\\Symfony\\Component\\Config\\Definition\\PrototypeNodeInterface' => __DIR__ . '/..' . '/symfony/config/Definition/PrototypeNodeInterface.php', - 'RectorPrefix20220519\\Symfony\\Component\\Config\\Definition\\PrototypedArrayNode' => __DIR__ . '/..' . '/symfony/config/Definition/PrototypedArrayNode.php', - 'RectorPrefix20220519\\Symfony\\Component\\Config\\Definition\\ScalarNode' => __DIR__ . '/..' . '/symfony/config/Definition/ScalarNode.php', - 'RectorPrefix20220519\\Symfony\\Component\\Config\\Definition\\VariableNode' => __DIR__ . '/..' . '/symfony/config/Definition/VariableNode.php', - 'RectorPrefix20220519\\Symfony\\Component\\Config\\Exception\\FileLoaderImportCircularReferenceException' => __DIR__ . '/..' . '/symfony/config/Exception/FileLoaderImportCircularReferenceException.php', - 'RectorPrefix20220519\\Symfony\\Component\\Config\\Exception\\FileLocatorFileNotFoundException' => __DIR__ . '/..' . '/symfony/config/Exception/FileLocatorFileNotFoundException.php', - 'RectorPrefix20220519\\Symfony\\Component\\Config\\Exception\\LoaderLoadException' => __DIR__ . '/..' . '/symfony/config/Exception/LoaderLoadException.php', - 'RectorPrefix20220519\\Symfony\\Component\\Config\\FileLocator' => __DIR__ . '/..' . '/symfony/config/FileLocator.php', - 'RectorPrefix20220519\\Symfony\\Component\\Config\\FileLocatorInterface' => __DIR__ . '/..' . '/symfony/config/FileLocatorInterface.php', - 'RectorPrefix20220519\\Symfony\\Component\\Config\\Loader\\DelegatingLoader' => __DIR__ . '/..' . '/symfony/config/Loader/DelegatingLoader.php', - 'RectorPrefix20220519\\Symfony\\Component\\Config\\Loader\\FileLoader' => __DIR__ . '/..' . '/symfony/config/Loader/FileLoader.php', - 'RectorPrefix20220519\\Symfony\\Component\\Config\\Loader\\GlobFileLoader' => __DIR__ . '/..' . '/symfony/config/Loader/GlobFileLoader.php', - 'RectorPrefix20220519\\Symfony\\Component\\Config\\Loader\\Loader' => __DIR__ . '/..' . '/symfony/config/Loader/Loader.php', - 'RectorPrefix20220519\\Symfony\\Component\\Config\\Loader\\LoaderInterface' => __DIR__ . '/..' . '/symfony/config/Loader/LoaderInterface.php', - 'RectorPrefix20220519\\Symfony\\Component\\Config\\Loader\\LoaderResolver' => __DIR__ . '/..' . '/symfony/config/Loader/LoaderResolver.php', - 'RectorPrefix20220519\\Symfony\\Component\\Config\\Loader\\LoaderResolverInterface' => __DIR__ . '/..' . '/symfony/config/Loader/LoaderResolverInterface.php', - 'RectorPrefix20220519\\Symfony\\Component\\Config\\Loader\\ParamConfigurator' => __DIR__ . '/..' . '/symfony/config/Loader/ParamConfigurator.php', - 'RectorPrefix20220519\\Symfony\\Component\\Config\\ResourceCheckerConfigCache' => __DIR__ . '/..' . '/symfony/config/ResourceCheckerConfigCache.php', - 'RectorPrefix20220519\\Symfony\\Component\\Config\\ResourceCheckerConfigCacheFactory' => __DIR__ . '/..' . '/symfony/config/ResourceCheckerConfigCacheFactory.php', - 'RectorPrefix20220519\\Symfony\\Component\\Config\\ResourceCheckerInterface' => __DIR__ . '/..' . '/symfony/config/ResourceCheckerInterface.php', - 'RectorPrefix20220519\\Symfony\\Component\\Config\\Resource\\ClassExistenceResource' => __DIR__ . '/..' . '/symfony/config/Resource/ClassExistenceResource.php', - 'RectorPrefix20220519\\Symfony\\Component\\Config\\Resource\\ComposerResource' => __DIR__ . '/..' . '/symfony/config/Resource/ComposerResource.php', - 'RectorPrefix20220519\\Symfony\\Component\\Config\\Resource\\DirectoryResource' => __DIR__ . '/..' . '/symfony/config/Resource/DirectoryResource.php', - 'RectorPrefix20220519\\Symfony\\Component\\Config\\Resource\\FileExistenceResource' => __DIR__ . '/..' . '/symfony/config/Resource/FileExistenceResource.php', - 'RectorPrefix20220519\\Symfony\\Component\\Config\\Resource\\FileResource' => __DIR__ . '/..' . '/symfony/config/Resource/FileResource.php', - 'RectorPrefix20220519\\Symfony\\Component\\Config\\Resource\\GlobResource' => __DIR__ . '/..' . '/symfony/config/Resource/GlobResource.php', - 'RectorPrefix20220519\\Symfony\\Component\\Config\\Resource\\ReflectionClassResource' => __DIR__ . '/..' . '/symfony/config/Resource/ReflectionClassResource.php', - 'RectorPrefix20220519\\Symfony\\Component\\Config\\Resource\\ResourceInterface' => __DIR__ . '/..' . '/symfony/config/Resource/ResourceInterface.php', - 'RectorPrefix20220519\\Symfony\\Component\\Config\\Resource\\SelfCheckingResourceChecker' => __DIR__ . '/..' . '/symfony/config/Resource/SelfCheckingResourceChecker.php', - 'RectorPrefix20220519\\Symfony\\Component\\Config\\Resource\\SelfCheckingResourceInterface' => __DIR__ . '/..' . '/symfony/config/Resource/SelfCheckingResourceInterface.php', - 'RectorPrefix20220519\\Symfony\\Component\\Config\\Util\\Exception\\InvalidXmlException' => __DIR__ . '/..' . '/symfony/config/Util/Exception/InvalidXmlException.php', - 'RectorPrefix20220519\\Symfony\\Component\\Config\\Util\\Exception\\XmlParsingException' => __DIR__ . '/..' . '/symfony/config/Util/Exception/XmlParsingException.php', - 'RectorPrefix20220519\\Symfony\\Component\\Config\\Util\\XmlUtils' => __DIR__ . '/..' . '/symfony/config/Util/XmlUtils.php', - 'RectorPrefix20220519\\Symfony\\Component\\Console\\Application' => __DIR__ . '/..' . '/symfony/console/Application.php', - 'RectorPrefix20220519\\Symfony\\Component\\Console\\Attribute\\AsCommand' => __DIR__ . '/..' . '/symfony/console/Attribute/AsCommand.php', - 'RectorPrefix20220519\\Symfony\\Component\\Console\\CI\\GithubActionReporter' => __DIR__ . '/..' . '/symfony/console/CI/GithubActionReporter.php', - 'RectorPrefix20220519\\Symfony\\Component\\Console\\Color' => __DIR__ . '/..' . '/symfony/console/Color.php', - 'RectorPrefix20220519\\Symfony\\Component\\Console\\CommandLoader\\CommandLoaderInterface' => __DIR__ . '/..' . '/symfony/console/CommandLoader/CommandLoaderInterface.php', - 'RectorPrefix20220519\\Symfony\\Component\\Console\\CommandLoader\\ContainerCommandLoader' => __DIR__ . '/..' . '/symfony/console/CommandLoader/ContainerCommandLoader.php', - 'RectorPrefix20220519\\Symfony\\Component\\Console\\CommandLoader\\FactoryCommandLoader' => __DIR__ . '/..' . '/symfony/console/CommandLoader/FactoryCommandLoader.php', - 'RectorPrefix20220519\\Symfony\\Component\\Console\\Command\\Command' => __DIR__ . '/..' . '/symfony/console/Command/Command.php', - 'RectorPrefix20220519\\Symfony\\Component\\Console\\Command\\CompleteCommand' => __DIR__ . '/..' . '/symfony/console/Command/CompleteCommand.php', - 'RectorPrefix20220519\\Symfony\\Component\\Console\\Command\\DumpCompletionCommand' => __DIR__ . '/..' . '/symfony/console/Command/DumpCompletionCommand.php', - 'RectorPrefix20220519\\Symfony\\Component\\Console\\Command\\HelpCommand' => __DIR__ . '/..' . '/symfony/console/Command/HelpCommand.php', - 'RectorPrefix20220519\\Symfony\\Component\\Console\\Command\\LazyCommand' => __DIR__ . '/..' . '/symfony/console/Command/LazyCommand.php', - 'RectorPrefix20220519\\Symfony\\Component\\Console\\Command\\ListCommand' => __DIR__ . '/..' . '/symfony/console/Command/ListCommand.php', - 'RectorPrefix20220519\\Symfony\\Component\\Console\\Command\\LockableTrait' => __DIR__ . '/..' . '/symfony/console/Command/LockableTrait.php', - 'RectorPrefix20220519\\Symfony\\Component\\Console\\Command\\SignalableCommandInterface' => __DIR__ . '/..' . '/symfony/console/Command/SignalableCommandInterface.php', - 'RectorPrefix20220519\\Symfony\\Component\\Console\\Completion\\CompletionInput' => __DIR__ . '/..' . '/symfony/console/Completion/CompletionInput.php', - 'RectorPrefix20220519\\Symfony\\Component\\Console\\Completion\\CompletionSuggestions' => __DIR__ . '/..' . '/symfony/console/Completion/CompletionSuggestions.php', - 'RectorPrefix20220519\\Symfony\\Component\\Console\\Completion\\Output\\BashCompletionOutput' => __DIR__ . '/..' . '/symfony/console/Completion/Output/BashCompletionOutput.php', - 'RectorPrefix20220519\\Symfony\\Component\\Console\\Completion\\Output\\CompletionOutputInterface' => __DIR__ . '/..' . '/symfony/console/Completion/Output/CompletionOutputInterface.php', - 'RectorPrefix20220519\\Symfony\\Component\\Console\\Completion\\Suggestion' => __DIR__ . '/..' . '/symfony/console/Completion/Suggestion.php', - 'RectorPrefix20220519\\Symfony\\Component\\Console\\ConsoleEvents' => __DIR__ . '/..' . '/symfony/console/ConsoleEvents.php', - 'RectorPrefix20220519\\Symfony\\Component\\Console\\Cursor' => __DIR__ . '/..' . '/symfony/console/Cursor.php', - 'RectorPrefix20220519\\Symfony\\Component\\Console\\DependencyInjection\\AddConsoleCommandPass' => __DIR__ . '/..' . '/symfony/console/DependencyInjection/AddConsoleCommandPass.php', - 'RectorPrefix20220519\\Symfony\\Component\\Console\\Descriptor\\ApplicationDescription' => __DIR__ . '/..' . '/symfony/console/Descriptor/ApplicationDescription.php', - 'RectorPrefix20220519\\Symfony\\Component\\Console\\Descriptor\\Descriptor' => __DIR__ . '/..' . '/symfony/console/Descriptor/Descriptor.php', - 'RectorPrefix20220519\\Symfony\\Component\\Console\\Descriptor\\DescriptorInterface' => __DIR__ . '/..' . '/symfony/console/Descriptor/DescriptorInterface.php', - 'RectorPrefix20220519\\Symfony\\Component\\Console\\Descriptor\\JsonDescriptor' => __DIR__ . '/..' . '/symfony/console/Descriptor/JsonDescriptor.php', - 'RectorPrefix20220519\\Symfony\\Component\\Console\\Descriptor\\MarkdownDescriptor' => __DIR__ . '/..' . '/symfony/console/Descriptor/MarkdownDescriptor.php', - 'RectorPrefix20220519\\Symfony\\Component\\Console\\Descriptor\\TextDescriptor' => __DIR__ . '/..' . '/symfony/console/Descriptor/TextDescriptor.php', - 'RectorPrefix20220519\\Symfony\\Component\\Console\\Descriptor\\XmlDescriptor' => __DIR__ . '/..' . '/symfony/console/Descriptor/XmlDescriptor.php', - 'RectorPrefix20220519\\Symfony\\Component\\Console\\EventListener\\ErrorListener' => __DIR__ . '/..' . '/symfony/console/EventListener/ErrorListener.php', - 'RectorPrefix20220519\\Symfony\\Component\\Console\\Event\\ConsoleCommandEvent' => __DIR__ . '/..' . '/symfony/console/Event/ConsoleCommandEvent.php', - 'RectorPrefix20220519\\Symfony\\Component\\Console\\Event\\ConsoleErrorEvent' => __DIR__ . '/..' . '/symfony/console/Event/ConsoleErrorEvent.php', - 'RectorPrefix20220519\\Symfony\\Component\\Console\\Event\\ConsoleEvent' => __DIR__ . '/..' . '/symfony/console/Event/ConsoleEvent.php', - 'RectorPrefix20220519\\Symfony\\Component\\Console\\Event\\ConsoleSignalEvent' => __DIR__ . '/..' . '/symfony/console/Event/ConsoleSignalEvent.php', - 'RectorPrefix20220519\\Symfony\\Component\\Console\\Event\\ConsoleTerminateEvent' => __DIR__ . '/..' . '/symfony/console/Event/ConsoleTerminateEvent.php', - 'RectorPrefix20220519\\Symfony\\Component\\Console\\Exception\\CommandNotFoundException' => __DIR__ . '/..' . '/symfony/console/Exception/CommandNotFoundException.php', - 'RectorPrefix20220519\\Symfony\\Component\\Console\\Exception\\ExceptionInterface' => __DIR__ . '/..' . '/symfony/console/Exception/ExceptionInterface.php', - 'RectorPrefix20220519\\Symfony\\Component\\Console\\Exception\\InvalidArgumentException' => __DIR__ . '/..' . '/symfony/console/Exception/InvalidArgumentException.php', - 'RectorPrefix20220519\\Symfony\\Component\\Console\\Exception\\InvalidOptionException' => __DIR__ . '/..' . '/symfony/console/Exception/InvalidOptionException.php', - 'RectorPrefix20220519\\Symfony\\Component\\Console\\Exception\\LogicException' => __DIR__ . '/..' . '/symfony/console/Exception/LogicException.php', - 'RectorPrefix20220519\\Symfony\\Component\\Console\\Exception\\MissingInputException' => __DIR__ . '/..' . '/symfony/console/Exception/MissingInputException.php', - 'RectorPrefix20220519\\Symfony\\Component\\Console\\Exception\\NamespaceNotFoundException' => __DIR__ . '/..' . '/symfony/console/Exception/NamespaceNotFoundException.php', - 'RectorPrefix20220519\\Symfony\\Component\\Console\\Exception\\RuntimeException' => __DIR__ . '/..' . '/symfony/console/Exception/RuntimeException.php', - 'RectorPrefix20220519\\Symfony\\Component\\Console\\Formatter\\NullOutputFormatter' => __DIR__ . '/..' . '/symfony/console/Formatter/NullOutputFormatter.php', - 'RectorPrefix20220519\\Symfony\\Component\\Console\\Formatter\\NullOutputFormatterStyle' => __DIR__ . '/..' . '/symfony/console/Formatter/NullOutputFormatterStyle.php', - 'RectorPrefix20220519\\Symfony\\Component\\Console\\Formatter\\OutputFormatter' => __DIR__ . '/..' . '/symfony/console/Formatter/OutputFormatter.php', - 'RectorPrefix20220519\\Symfony\\Component\\Console\\Formatter\\OutputFormatterInterface' => __DIR__ . '/..' . '/symfony/console/Formatter/OutputFormatterInterface.php', - 'RectorPrefix20220519\\Symfony\\Component\\Console\\Formatter\\OutputFormatterStyle' => __DIR__ . '/..' . '/symfony/console/Formatter/OutputFormatterStyle.php', - 'RectorPrefix20220519\\Symfony\\Component\\Console\\Formatter\\OutputFormatterStyleInterface' => __DIR__ . '/..' . '/symfony/console/Formatter/OutputFormatterStyleInterface.php', - 'RectorPrefix20220519\\Symfony\\Component\\Console\\Formatter\\OutputFormatterStyleStack' => __DIR__ . '/..' . '/symfony/console/Formatter/OutputFormatterStyleStack.php', - 'RectorPrefix20220519\\Symfony\\Component\\Console\\Formatter\\WrappableOutputFormatterInterface' => __DIR__ . '/..' . '/symfony/console/Formatter/WrappableOutputFormatterInterface.php', - 'RectorPrefix20220519\\Symfony\\Component\\Console\\Helper\\DebugFormatterHelper' => __DIR__ . '/..' . '/symfony/console/Helper/DebugFormatterHelper.php', - 'RectorPrefix20220519\\Symfony\\Component\\Console\\Helper\\DescriptorHelper' => __DIR__ . '/..' . '/symfony/console/Helper/DescriptorHelper.php', - 'RectorPrefix20220519\\Symfony\\Component\\Console\\Helper\\Dumper' => __DIR__ . '/..' . '/symfony/console/Helper/Dumper.php', - 'RectorPrefix20220519\\Symfony\\Component\\Console\\Helper\\FormatterHelper' => __DIR__ . '/..' . '/symfony/console/Helper/FormatterHelper.php', - 'RectorPrefix20220519\\Symfony\\Component\\Console\\Helper\\Helper' => __DIR__ . '/..' . '/symfony/console/Helper/Helper.php', - 'RectorPrefix20220519\\Symfony\\Component\\Console\\Helper\\HelperInterface' => __DIR__ . '/..' . '/symfony/console/Helper/HelperInterface.php', - 'RectorPrefix20220519\\Symfony\\Component\\Console\\Helper\\HelperSet' => __DIR__ . '/..' . '/symfony/console/Helper/HelperSet.php', - 'RectorPrefix20220519\\Symfony\\Component\\Console\\Helper\\InputAwareHelper' => __DIR__ . '/..' . '/symfony/console/Helper/InputAwareHelper.php', - 'RectorPrefix20220519\\Symfony\\Component\\Console\\Helper\\ProcessHelper' => __DIR__ . '/..' . '/symfony/console/Helper/ProcessHelper.php', - 'RectorPrefix20220519\\Symfony\\Component\\Console\\Helper\\ProgressBar' => __DIR__ . '/..' . '/symfony/console/Helper/ProgressBar.php', - 'RectorPrefix20220519\\Symfony\\Component\\Console\\Helper\\ProgressIndicator' => __DIR__ . '/..' . '/symfony/console/Helper/ProgressIndicator.php', - 'RectorPrefix20220519\\Symfony\\Component\\Console\\Helper\\QuestionHelper' => __DIR__ . '/..' . '/symfony/console/Helper/QuestionHelper.php', - 'RectorPrefix20220519\\Symfony\\Component\\Console\\Helper\\SymfonyQuestionHelper' => __DIR__ . '/..' . '/symfony/console/Helper/SymfonyQuestionHelper.php', - 'RectorPrefix20220519\\Symfony\\Component\\Console\\Helper\\Table' => __DIR__ . '/..' . '/symfony/console/Helper/Table.php', - 'RectorPrefix20220519\\Symfony\\Component\\Console\\Helper\\TableCell' => __DIR__ . '/..' . '/symfony/console/Helper/TableCell.php', - 'RectorPrefix20220519\\Symfony\\Component\\Console\\Helper\\TableCellStyle' => __DIR__ . '/..' . '/symfony/console/Helper/TableCellStyle.php', - 'RectorPrefix20220519\\Symfony\\Component\\Console\\Helper\\TableRows' => __DIR__ . '/..' . '/symfony/console/Helper/TableRows.php', - 'RectorPrefix20220519\\Symfony\\Component\\Console\\Helper\\TableSeparator' => __DIR__ . '/..' . '/symfony/console/Helper/TableSeparator.php', - 'RectorPrefix20220519\\Symfony\\Component\\Console\\Helper\\TableStyle' => __DIR__ . '/..' . '/symfony/console/Helper/TableStyle.php', - 'RectorPrefix20220519\\Symfony\\Component\\Console\\Input\\ArgvInput' => __DIR__ . '/..' . '/symfony/console/Input/ArgvInput.php', - 'RectorPrefix20220519\\Symfony\\Component\\Console\\Input\\ArrayInput' => __DIR__ . '/..' . '/symfony/console/Input/ArrayInput.php', - 'RectorPrefix20220519\\Symfony\\Component\\Console\\Input\\Input' => __DIR__ . '/..' . '/symfony/console/Input/Input.php', - 'RectorPrefix20220519\\Symfony\\Component\\Console\\Input\\InputArgument' => __DIR__ . '/..' . '/symfony/console/Input/InputArgument.php', - 'RectorPrefix20220519\\Symfony\\Component\\Console\\Input\\InputAwareInterface' => __DIR__ . '/..' . '/symfony/console/Input/InputAwareInterface.php', - 'RectorPrefix20220519\\Symfony\\Component\\Console\\Input\\InputDefinition' => __DIR__ . '/..' . '/symfony/console/Input/InputDefinition.php', - 'RectorPrefix20220519\\Symfony\\Component\\Console\\Input\\InputInterface' => __DIR__ . '/..' . '/symfony/console/Input/InputInterface.php', - 'RectorPrefix20220519\\Symfony\\Component\\Console\\Input\\InputOption' => __DIR__ . '/..' . '/symfony/console/Input/InputOption.php', - 'RectorPrefix20220519\\Symfony\\Component\\Console\\Input\\StreamableInputInterface' => __DIR__ . '/..' . '/symfony/console/Input/StreamableInputInterface.php', - 'RectorPrefix20220519\\Symfony\\Component\\Console\\Input\\StringInput' => __DIR__ . '/..' . '/symfony/console/Input/StringInput.php', - 'RectorPrefix20220519\\Symfony\\Component\\Console\\Logger\\ConsoleLogger' => __DIR__ . '/..' . '/symfony/console/Logger/ConsoleLogger.php', - 'RectorPrefix20220519\\Symfony\\Component\\Console\\Output\\BufferedOutput' => __DIR__ . '/..' . '/symfony/console/Output/BufferedOutput.php', - 'RectorPrefix20220519\\Symfony\\Component\\Console\\Output\\ConsoleOutput' => __DIR__ . '/..' . '/symfony/console/Output/ConsoleOutput.php', - 'RectorPrefix20220519\\Symfony\\Component\\Console\\Output\\ConsoleOutputInterface' => __DIR__ . '/..' . '/symfony/console/Output/ConsoleOutputInterface.php', - 'RectorPrefix20220519\\Symfony\\Component\\Console\\Output\\ConsoleSectionOutput' => __DIR__ . '/..' . '/symfony/console/Output/ConsoleSectionOutput.php', - 'RectorPrefix20220519\\Symfony\\Component\\Console\\Output\\NullOutput' => __DIR__ . '/..' . '/symfony/console/Output/NullOutput.php', - 'RectorPrefix20220519\\Symfony\\Component\\Console\\Output\\Output' => __DIR__ . '/..' . '/symfony/console/Output/Output.php', - 'RectorPrefix20220519\\Symfony\\Component\\Console\\Output\\OutputInterface' => __DIR__ . '/..' . '/symfony/console/Output/OutputInterface.php', - 'RectorPrefix20220519\\Symfony\\Component\\Console\\Output\\StreamOutput' => __DIR__ . '/..' . '/symfony/console/Output/StreamOutput.php', - 'RectorPrefix20220519\\Symfony\\Component\\Console\\Output\\TrimmedBufferOutput' => __DIR__ . '/..' . '/symfony/console/Output/TrimmedBufferOutput.php', - 'RectorPrefix20220519\\Symfony\\Component\\Console\\Question\\ChoiceQuestion' => __DIR__ . '/..' . '/symfony/console/Question/ChoiceQuestion.php', - 'RectorPrefix20220519\\Symfony\\Component\\Console\\Question\\ConfirmationQuestion' => __DIR__ . '/..' . '/symfony/console/Question/ConfirmationQuestion.php', - 'RectorPrefix20220519\\Symfony\\Component\\Console\\Question\\Question' => __DIR__ . '/..' . '/symfony/console/Question/Question.php', - 'RectorPrefix20220519\\Symfony\\Component\\Console\\SignalRegistry\\SignalRegistry' => __DIR__ . '/..' . '/symfony/console/SignalRegistry/SignalRegistry.php', - 'RectorPrefix20220519\\Symfony\\Component\\Console\\SingleCommandApplication' => __DIR__ . '/..' . '/symfony/console/SingleCommandApplication.php', - 'RectorPrefix20220519\\Symfony\\Component\\Console\\Style\\OutputStyle' => __DIR__ . '/..' . '/symfony/console/Style/OutputStyle.php', - 'RectorPrefix20220519\\Symfony\\Component\\Console\\Style\\StyleInterface' => __DIR__ . '/..' . '/symfony/console/Style/StyleInterface.php', - 'RectorPrefix20220519\\Symfony\\Component\\Console\\Style\\SymfonyStyle' => __DIR__ . '/..' . '/symfony/console/Style/SymfonyStyle.php', - 'RectorPrefix20220519\\Symfony\\Component\\Console\\Terminal' => __DIR__ . '/..' . '/symfony/console/Terminal.php', - 'RectorPrefix20220519\\Symfony\\Component\\Console\\Tester\\ApplicationTester' => __DIR__ . '/..' . '/symfony/console/Tester/ApplicationTester.php', - 'RectorPrefix20220519\\Symfony\\Component\\Console\\Tester\\CommandCompletionTester' => __DIR__ . '/..' . '/symfony/console/Tester/CommandCompletionTester.php', - 'RectorPrefix20220519\\Symfony\\Component\\Console\\Tester\\CommandTester' => __DIR__ . '/..' . '/symfony/console/Tester/CommandTester.php', - 'RectorPrefix20220519\\Symfony\\Component\\Console\\Tester\\Constraint\\CommandIsSuccessful' => __DIR__ . '/..' . '/symfony/console/Tester/Constraint/CommandIsSuccessful.php', - 'RectorPrefix20220519\\Symfony\\Component\\Console\\Tester\\TesterTrait' => __DIR__ . '/..' . '/symfony/console/Tester/TesterTrait.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Alias' => __DIR__ . '/..' . '/symfony/dependency-injection/Alias.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Argument\\AbstractArgument' => __DIR__ . '/..' . '/symfony/dependency-injection/Argument/AbstractArgument.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Argument\\ArgumentInterface' => __DIR__ . '/..' . '/symfony/dependency-injection/Argument/ArgumentInterface.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Argument\\BoundArgument' => __DIR__ . '/..' . '/symfony/dependency-injection/Argument/BoundArgument.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Argument\\IteratorArgument' => __DIR__ . '/..' . '/symfony/dependency-injection/Argument/IteratorArgument.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Argument\\ReferenceSetArgumentTrait' => __DIR__ . '/..' . '/symfony/dependency-injection/Argument/ReferenceSetArgumentTrait.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Argument\\RewindableGenerator' => __DIR__ . '/..' . '/symfony/dependency-injection/Argument/RewindableGenerator.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Argument\\ServiceClosureArgument' => __DIR__ . '/..' . '/symfony/dependency-injection/Argument/ServiceClosureArgument.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Argument\\ServiceLocator' => __DIR__ . '/..' . '/symfony/dependency-injection/Argument/ServiceLocator.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Argument\\ServiceLocatorArgument' => __DIR__ . '/..' . '/symfony/dependency-injection/Argument/ServiceLocatorArgument.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Argument\\TaggedIteratorArgument' => __DIR__ . '/..' . '/symfony/dependency-injection/Argument/TaggedIteratorArgument.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Attribute\\AsTaggedItem' => __DIR__ . '/..' . '/symfony/dependency-injection/Attribute/AsTaggedItem.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Attribute\\Autoconfigure' => __DIR__ . '/..' . '/symfony/dependency-injection/Attribute/Autoconfigure.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Attribute\\AutoconfigureTag' => __DIR__ . '/..' . '/symfony/dependency-injection/Attribute/AutoconfigureTag.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Attribute\\TaggedIterator' => __DIR__ . '/..' . '/symfony/dependency-injection/Attribute/TaggedIterator.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Attribute\\TaggedLocator' => __DIR__ . '/..' . '/symfony/dependency-injection/Attribute/TaggedLocator.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Attribute\\Target' => __DIR__ . '/..' . '/symfony/dependency-injection/Attribute/Target.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Attribute\\When' => __DIR__ . '/..' . '/symfony/dependency-injection/Attribute/When.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\ChildDefinition' => __DIR__ . '/..' . '/symfony/dependency-injection/ChildDefinition.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Compiler\\AbstractRecursivePass' => __DIR__ . '/..' . '/symfony/dependency-injection/Compiler/AbstractRecursivePass.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Compiler\\AliasDeprecatedPublicServicesPass' => __DIR__ . '/..' . '/symfony/dependency-injection/Compiler/AliasDeprecatedPublicServicesPass.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Compiler\\AnalyzeServiceReferencesPass' => __DIR__ . '/..' . '/symfony/dependency-injection/Compiler/AnalyzeServiceReferencesPass.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Compiler\\AttributeAutoconfigurationPass' => __DIR__ . '/..' . '/symfony/dependency-injection/Compiler/AttributeAutoconfigurationPass.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Compiler\\AutoAliasServicePass' => __DIR__ . '/..' . '/symfony/dependency-injection/Compiler/AutoAliasServicePass.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Compiler\\AutowirePass' => __DIR__ . '/..' . '/symfony/dependency-injection/Compiler/AutowirePass.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Compiler\\AutowireRequiredMethodsPass' => __DIR__ . '/..' . '/symfony/dependency-injection/Compiler/AutowireRequiredMethodsPass.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Compiler\\AutowireRequiredPropertiesPass' => __DIR__ . '/..' . '/symfony/dependency-injection/Compiler/AutowireRequiredPropertiesPass.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Compiler\\CheckArgumentsValidityPass' => __DIR__ . '/..' . '/symfony/dependency-injection/Compiler/CheckArgumentsValidityPass.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Compiler\\CheckCircularReferencesPass' => __DIR__ . '/..' . '/symfony/dependency-injection/Compiler/CheckCircularReferencesPass.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Compiler\\CheckDefinitionValidityPass' => __DIR__ . '/..' . '/symfony/dependency-injection/Compiler/CheckDefinitionValidityPass.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Compiler\\CheckExceptionOnInvalidReferenceBehaviorPass' => __DIR__ . '/..' . '/symfony/dependency-injection/Compiler/CheckExceptionOnInvalidReferenceBehaviorPass.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Compiler\\CheckReferenceValidityPass' => __DIR__ . '/..' . '/symfony/dependency-injection/Compiler/CheckReferenceValidityPass.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Compiler\\CheckTypeDeclarationsPass' => __DIR__ . '/..' . '/symfony/dependency-injection/Compiler/CheckTypeDeclarationsPass.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Compiler\\Compiler' => __DIR__ . '/..' . '/symfony/dependency-injection/Compiler/Compiler.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Compiler\\CompilerPassInterface' => __DIR__ . '/..' . '/symfony/dependency-injection/Compiler/CompilerPassInterface.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Compiler\\DecoratorServicePass' => __DIR__ . '/..' . '/symfony/dependency-injection/Compiler/DecoratorServicePass.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Compiler\\DefinitionErrorExceptionPass' => __DIR__ . '/..' . '/symfony/dependency-injection/Compiler/DefinitionErrorExceptionPass.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Compiler\\ExtensionCompilerPass' => __DIR__ . '/..' . '/symfony/dependency-injection/Compiler/ExtensionCompilerPass.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Compiler\\InlineServiceDefinitionsPass' => __DIR__ . '/..' . '/symfony/dependency-injection/Compiler/InlineServiceDefinitionsPass.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Compiler\\MergeExtensionConfigurationPass' => __DIR__ . '/..' . '/symfony/dependency-injection/Compiler/MergeExtensionConfigurationPass.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Compiler\\PassConfig' => __DIR__ . '/..' . '/symfony/dependency-injection/Compiler/PassConfig.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Compiler\\PriorityTaggedServiceTrait' => __DIR__ . '/..' . '/symfony/dependency-injection/Compiler/PriorityTaggedServiceTrait.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Compiler\\RegisterAutoconfigureAttributesPass' => __DIR__ . '/..' . '/symfony/dependency-injection/Compiler/RegisterAutoconfigureAttributesPass.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Compiler\\RegisterEnvVarProcessorsPass' => __DIR__ . '/..' . '/symfony/dependency-injection/Compiler/RegisterEnvVarProcessorsPass.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Compiler\\RegisterReverseContainerPass' => __DIR__ . '/..' . '/symfony/dependency-injection/Compiler/RegisterReverseContainerPass.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Compiler\\RegisterServiceSubscribersPass' => __DIR__ . '/..' . '/symfony/dependency-injection/Compiler/RegisterServiceSubscribersPass.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Compiler\\RemoveAbstractDefinitionsPass' => __DIR__ . '/..' . '/symfony/dependency-injection/Compiler/RemoveAbstractDefinitionsPass.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Compiler\\RemovePrivateAliasesPass' => __DIR__ . '/..' . '/symfony/dependency-injection/Compiler/RemovePrivateAliasesPass.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Compiler\\RemoveUnusedDefinitionsPass' => __DIR__ . '/..' . '/symfony/dependency-injection/Compiler/RemoveUnusedDefinitionsPass.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Compiler\\ReplaceAliasByActualDefinitionPass' => __DIR__ . '/..' . '/symfony/dependency-injection/Compiler/ReplaceAliasByActualDefinitionPass.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Compiler\\ResolveBindingsPass' => __DIR__ . '/..' . '/symfony/dependency-injection/Compiler/ResolveBindingsPass.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Compiler\\ResolveChildDefinitionsPass' => __DIR__ . '/..' . '/symfony/dependency-injection/Compiler/ResolveChildDefinitionsPass.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Compiler\\ResolveClassPass' => __DIR__ . '/..' . '/symfony/dependency-injection/Compiler/ResolveClassPass.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Compiler\\ResolveDecoratorStackPass' => __DIR__ . '/..' . '/symfony/dependency-injection/Compiler/ResolveDecoratorStackPass.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Compiler\\ResolveEnvPlaceholdersPass' => __DIR__ . '/..' . '/symfony/dependency-injection/Compiler/ResolveEnvPlaceholdersPass.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Compiler\\ResolveFactoryClassPass' => __DIR__ . '/..' . '/symfony/dependency-injection/Compiler/ResolveFactoryClassPass.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Compiler\\ResolveHotPathPass' => __DIR__ . '/..' . '/symfony/dependency-injection/Compiler/ResolveHotPathPass.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Compiler\\ResolveInstanceofConditionalsPass' => __DIR__ . '/..' . '/symfony/dependency-injection/Compiler/ResolveInstanceofConditionalsPass.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Compiler\\ResolveInvalidReferencesPass' => __DIR__ . '/..' . '/symfony/dependency-injection/Compiler/ResolveInvalidReferencesPass.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Compiler\\ResolveNamedArgumentsPass' => __DIR__ . '/..' . '/symfony/dependency-injection/Compiler/ResolveNamedArgumentsPass.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Compiler\\ResolveNoPreloadPass' => __DIR__ . '/..' . '/symfony/dependency-injection/Compiler/ResolveNoPreloadPass.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Compiler\\ResolveParameterPlaceHoldersPass' => __DIR__ . '/..' . '/symfony/dependency-injection/Compiler/ResolveParameterPlaceHoldersPass.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Compiler\\ResolveReferencesToAliasesPass' => __DIR__ . '/..' . '/symfony/dependency-injection/Compiler/ResolveReferencesToAliasesPass.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Compiler\\ResolveServiceSubscribersPass' => __DIR__ . '/..' . '/symfony/dependency-injection/Compiler/ResolveServiceSubscribersPass.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Compiler\\ResolveTaggedIteratorArgumentPass' => __DIR__ . '/..' . '/symfony/dependency-injection/Compiler/ResolveTaggedIteratorArgumentPass.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Compiler\\ServiceLocatorTagPass' => __DIR__ . '/..' . '/symfony/dependency-injection/Compiler/ServiceLocatorTagPass.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Compiler\\ServiceReferenceGraph' => __DIR__ . '/..' . '/symfony/dependency-injection/Compiler/ServiceReferenceGraph.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Compiler\\ServiceReferenceGraphEdge' => __DIR__ . '/..' . '/symfony/dependency-injection/Compiler/ServiceReferenceGraphEdge.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Compiler\\ServiceReferenceGraphNode' => __DIR__ . '/..' . '/symfony/dependency-injection/Compiler/ServiceReferenceGraphNode.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Compiler\\ValidateEnvPlaceholdersPass' => __DIR__ . '/..' . '/symfony/dependency-injection/Compiler/ValidateEnvPlaceholdersPass.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Config\\ContainerParametersResource' => __DIR__ . '/..' . '/symfony/dependency-injection/Config/ContainerParametersResource.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Config\\ContainerParametersResourceChecker' => __DIR__ . '/..' . '/symfony/dependency-injection/Config/ContainerParametersResourceChecker.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Container' => __DIR__ . '/..' . '/symfony/dependency-injection/Container.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\ContainerAwareInterface' => __DIR__ . '/..' . '/symfony/dependency-injection/ContainerAwareInterface.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\ContainerAwareTrait' => __DIR__ . '/..' . '/symfony/dependency-injection/ContainerAwareTrait.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\ContainerBuilder' => __DIR__ . '/..' . '/symfony/dependency-injection/ContainerBuilder.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\ContainerInterface' => __DIR__ . '/..' . '/symfony/dependency-injection/ContainerInterface.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Definition' => __DIR__ . '/..' . '/symfony/dependency-injection/Definition.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Dumper\\Dumper' => __DIR__ . '/..' . '/symfony/dependency-injection/Dumper/Dumper.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Dumper\\DumperInterface' => __DIR__ . '/..' . '/symfony/dependency-injection/Dumper/DumperInterface.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Dumper\\GraphvizDumper' => __DIR__ . '/..' . '/symfony/dependency-injection/Dumper/GraphvizDumper.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Dumper\\PhpDumper' => __DIR__ . '/..' . '/symfony/dependency-injection/Dumper/PhpDumper.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Dumper\\Preloader' => __DIR__ . '/..' . '/symfony/dependency-injection/Dumper/Preloader.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Dumper\\XmlDumper' => __DIR__ . '/..' . '/symfony/dependency-injection/Dumper/XmlDumper.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Dumper\\YamlDumper' => __DIR__ . '/..' . '/symfony/dependency-injection/Dumper/YamlDumper.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\EnvVarLoaderInterface' => __DIR__ . '/..' . '/symfony/dependency-injection/EnvVarLoaderInterface.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\EnvVarProcessor' => __DIR__ . '/..' . '/symfony/dependency-injection/EnvVarProcessor.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\EnvVarProcessorInterface' => __DIR__ . '/..' . '/symfony/dependency-injection/EnvVarProcessorInterface.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Exception\\AutowiringFailedException' => __DIR__ . '/..' . '/symfony/dependency-injection/Exception/AutowiringFailedException.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Exception\\BadMethodCallException' => __DIR__ . '/..' . '/symfony/dependency-injection/Exception/BadMethodCallException.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Exception\\EnvNotFoundException' => __DIR__ . '/..' . '/symfony/dependency-injection/Exception/EnvNotFoundException.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Exception\\EnvParameterException' => __DIR__ . '/..' . '/symfony/dependency-injection/Exception/EnvParameterException.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Exception\\ExceptionInterface' => __DIR__ . '/..' . '/symfony/dependency-injection/Exception/ExceptionInterface.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Exception\\InvalidArgumentException' => __DIR__ . '/..' . '/symfony/dependency-injection/Exception/InvalidArgumentException.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Exception\\InvalidParameterTypeException' => __DIR__ . '/..' . '/symfony/dependency-injection/Exception/InvalidParameterTypeException.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Exception\\LogicException' => __DIR__ . '/..' . '/symfony/dependency-injection/Exception/LogicException.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Exception\\OutOfBoundsException' => __DIR__ . '/..' . '/symfony/dependency-injection/Exception/OutOfBoundsException.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Exception\\ParameterCircularReferenceException' => __DIR__ . '/..' . '/symfony/dependency-injection/Exception/ParameterCircularReferenceException.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Exception\\ParameterNotFoundException' => __DIR__ . '/..' . '/symfony/dependency-injection/Exception/ParameterNotFoundException.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Exception\\RuntimeException' => __DIR__ . '/..' . '/symfony/dependency-injection/Exception/RuntimeException.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Exception\\ServiceCircularReferenceException' => __DIR__ . '/..' . '/symfony/dependency-injection/Exception/ServiceCircularReferenceException.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Exception\\ServiceNotFoundException' => __DIR__ . '/..' . '/symfony/dependency-injection/Exception/ServiceNotFoundException.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\ExpressionLanguage' => __DIR__ . '/..' . '/symfony/dependency-injection/ExpressionLanguage.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\ExpressionLanguageProvider' => __DIR__ . '/..' . '/symfony/dependency-injection/ExpressionLanguageProvider.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Extension\\ConfigurationExtensionInterface' => __DIR__ . '/..' . '/symfony/dependency-injection/Extension/ConfigurationExtensionInterface.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Extension\\Extension' => __DIR__ . '/..' . '/symfony/dependency-injection/Extension/Extension.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Extension\\ExtensionInterface' => __DIR__ . '/..' . '/symfony/dependency-injection/Extension/ExtensionInterface.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Extension\\PrependExtensionInterface' => __DIR__ . '/..' . '/symfony/dependency-injection/Extension/PrependExtensionInterface.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\LazyProxy\\Instantiator\\InstantiatorInterface' => __DIR__ . '/..' . '/symfony/dependency-injection/LazyProxy/Instantiator/InstantiatorInterface.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\LazyProxy\\Instantiator\\RealServiceInstantiator' => __DIR__ . '/..' . '/symfony/dependency-injection/LazyProxy/Instantiator/RealServiceInstantiator.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\LazyProxy\\PhpDumper\\DumperInterface' => __DIR__ . '/..' . '/symfony/dependency-injection/LazyProxy/PhpDumper/DumperInterface.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\LazyProxy\\PhpDumper\\NullDumper' => __DIR__ . '/..' . '/symfony/dependency-injection/LazyProxy/PhpDumper/NullDumper.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\LazyProxy\\ProxyHelper' => __DIR__ . '/..' . '/symfony/dependency-injection/LazyProxy/ProxyHelper.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Loader\\ClosureLoader' => __DIR__ . '/..' . '/symfony/dependency-injection/Loader/ClosureLoader.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\AbstractConfigurator' => __DIR__ . '/..' . '/symfony/dependency-injection/Loader/Configurator/AbstractConfigurator.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\AbstractServiceConfigurator' => __DIR__ . '/..' . '/symfony/dependency-injection/Loader/Configurator/AbstractServiceConfigurator.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\AliasConfigurator' => __DIR__ . '/..' . '/symfony/dependency-injection/Loader/Configurator/AliasConfigurator.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\ClosureReferenceConfigurator' => __DIR__ . '/..' . '/symfony/dependency-injection/Loader/Configurator/ClosureReferenceConfigurator.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\ContainerConfigurator' => __DIR__ . '/..' . '/symfony/dependency-injection/Loader/Configurator/ContainerConfigurator.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\DefaultsConfigurator' => __DIR__ . '/..' . '/symfony/dependency-injection/Loader/Configurator/DefaultsConfigurator.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\EnvConfigurator' => __DIR__ . '/..' . '/symfony/dependency-injection/Loader/Configurator/EnvConfigurator.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\InlineServiceConfigurator' => __DIR__ . '/..' . '/symfony/dependency-injection/Loader/Configurator/InlineServiceConfigurator.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\InstanceofConfigurator' => __DIR__ . '/..' . '/symfony/dependency-injection/Loader/Configurator/InstanceofConfigurator.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\ParametersConfigurator' => __DIR__ . '/..' . '/symfony/dependency-injection/Loader/Configurator/ParametersConfigurator.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\PrototypeConfigurator' => __DIR__ . '/..' . '/symfony/dependency-injection/Loader/Configurator/PrototypeConfigurator.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\ReferenceConfigurator' => __DIR__ . '/..' . '/symfony/dependency-injection/Loader/Configurator/ReferenceConfigurator.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\ServiceConfigurator' => __DIR__ . '/..' . '/symfony/dependency-injection/Loader/Configurator/ServiceConfigurator.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\ServicesConfigurator' => __DIR__ . '/..' . '/symfony/dependency-injection/Loader/Configurator/ServicesConfigurator.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\Traits\\AbstractTrait' => __DIR__ . '/..' . '/symfony/dependency-injection/Loader/Configurator/Traits/AbstractTrait.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\Traits\\ArgumentTrait' => __DIR__ . '/..' . '/symfony/dependency-injection/Loader/Configurator/Traits/ArgumentTrait.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\Traits\\AutoconfigureTrait' => __DIR__ . '/..' . '/symfony/dependency-injection/Loader/Configurator/Traits/AutoconfigureTrait.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\Traits\\AutowireTrait' => __DIR__ . '/..' . '/symfony/dependency-injection/Loader/Configurator/Traits/AutowireTrait.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\Traits\\BindTrait' => __DIR__ . '/..' . '/symfony/dependency-injection/Loader/Configurator/Traits/BindTrait.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\Traits\\CallTrait' => __DIR__ . '/..' . '/symfony/dependency-injection/Loader/Configurator/Traits/CallTrait.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\Traits\\ClassTrait' => __DIR__ . '/..' . '/symfony/dependency-injection/Loader/Configurator/Traits/ClassTrait.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\Traits\\ConfiguratorTrait' => __DIR__ . '/..' . '/symfony/dependency-injection/Loader/Configurator/Traits/ConfiguratorTrait.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\Traits\\DecorateTrait' => __DIR__ . '/..' . '/symfony/dependency-injection/Loader/Configurator/Traits/DecorateTrait.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\Traits\\DeprecateTrait' => __DIR__ . '/..' . '/symfony/dependency-injection/Loader/Configurator/Traits/DeprecateTrait.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\Traits\\FactoryTrait' => __DIR__ . '/..' . '/symfony/dependency-injection/Loader/Configurator/Traits/FactoryTrait.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\Traits\\FileTrait' => __DIR__ . '/..' . '/symfony/dependency-injection/Loader/Configurator/Traits/FileTrait.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\Traits\\LazyTrait' => __DIR__ . '/..' . '/symfony/dependency-injection/Loader/Configurator/Traits/LazyTrait.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\Traits\\ParentTrait' => __DIR__ . '/..' . '/symfony/dependency-injection/Loader/Configurator/Traits/ParentTrait.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\Traits\\PropertyTrait' => __DIR__ . '/..' . '/symfony/dependency-injection/Loader/Configurator/Traits/PropertyTrait.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\Traits\\PublicTrait' => __DIR__ . '/..' . '/symfony/dependency-injection/Loader/Configurator/Traits/PublicTrait.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\Traits\\ShareTrait' => __DIR__ . '/..' . '/symfony/dependency-injection/Loader/Configurator/Traits/ShareTrait.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\Traits\\SyntheticTrait' => __DIR__ . '/..' . '/symfony/dependency-injection/Loader/Configurator/Traits/SyntheticTrait.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\Traits\\TagTrait' => __DIR__ . '/..' . '/symfony/dependency-injection/Loader/Configurator/Traits/TagTrait.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Loader\\DirectoryLoader' => __DIR__ . '/..' . '/symfony/dependency-injection/Loader/DirectoryLoader.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Loader\\FileLoader' => __DIR__ . '/..' . '/symfony/dependency-injection/Loader/FileLoader.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Loader\\GlobFileLoader' => __DIR__ . '/..' . '/symfony/dependency-injection/Loader/GlobFileLoader.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Loader\\IniFileLoader' => __DIR__ . '/..' . '/symfony/dependency-injection/Loader/IniFileLoader.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Loader\\PhpFileLoader' => __DIR__ . '/..' . '/symfony/dependency-injection/Loader/PhpFileLoader.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Loader\\XmlFileLoader' => __DIR__ . '/..' . '/symfony/dependency-injection/Loader/XmlFileLoader.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Loader\\YamlFileLoader' => __DIR__ . '/..' . '/symfony/dependency-injection/Loader/YamlFileLoader.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Parameter' => __DIR__ . '/..' . '/symfony/dependency-injection/Parameter.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\ParameterBag\\ContainerBag' => __DIR__ . '/..' . '/symfony/dependency-injection/ParameterBag/ContainerBag.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\ParameterBag\\ContainerBagInterface' => __DIR__ . '/..' . '/symfony/dependency-injection/ParameterBag/ContainerBagInterface.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\ParameterBag\\EnvPlaceholderParameterBag' => __DIR__ . '/..' . '/symfony/dependency-injection/ParameterBag/EnvPlaceholderParameterBag.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\ParameterBag\\FrozenParameterBag' => __DIR__ . '/..' . '/symfony/dependency-injection/ParameterBag/FrozenParameterBag.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\ParameterBag\\ParameterBag' => __DIR__ . '/..' . '/symfony/dependency-injection/ParameterBag/ParameterBag.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\ParameterBag\\ParameterBagInterface' => __DIR__ . '/..' . '/symfony/dependency-injection/ParameterBag/ParameterBagInterface.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Reference' => __DIR__ . '/..' . '/symfony/dependency-injection/Reference.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\ReverseContainer' => __DIR__ . '/..' . '/symfony/dependency-injection/ReverseContainer.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\ServiceLocator' => __DIR__ . '/..' . '/symfony/dependency-injection/ServiceLocator.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\TaggedContainerInterface' => __DIR__ . '/..' . '/symfony/dependency-injection/TaggedContainerInterface.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\TypedReference' => __DIR__ . '/..' . '/symfony/dependency-injection/TypedReference.php', - 'RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Variable' => __DIR__ . '/..' . '/symfony/dependency-injection/Variable.php', - 'RectorPrefix20220519\\Symfony\\Component\\Filesystem\\Exception\\ExceptionInterface' => __DIR__ . '/..' . '/symfony/filesystem/Exception/ExceptionInterface.php', - 'RectorPrefix20220519\\Symfony\\Component\\Filesystem\\Exception\\FileNotFoundException' => __DIR__ . '/..' . '/symfony/filesystem/Exception/FileNotFoundException.php', - 'RectorPrefix20220519\\Symfony\\Component\\Filesystem\\Exception\\IOException' => __DIR__ . '/..' . '/symfony/filesystem/Exception/IOException.php', - 'RectorPrefix20220519\\Symfony\\Component\\Filesystem\\Exception\\IOExceptionInterface' => __DIR__ . '/..' . '/symfony/filesystem/Exception/IOExceptionInterface.php', - 'RectorPrefix20220519\\Symfony\\Component\\Filesystem\\Exception\\InvalidArgumentException' => __DIR__ . '/..' . '/symfony/filesystem/Exception/InvalidArgumentException.php', - 'RectorPrefix20220519\\Symfony\\Component\\Filesystem\\Exception\\RuntimeException' => __DIR__ . '/..' . '/symfony/filesystem/Exception/RuntimeException.php', - 'RectorPrefix20220519\\Symfony\\Component\\Filesystem\\Filesystem' => __DIR__ . '/..' . '/symfony/filesystem/Filesystem.php', - 'RectorPrefix20220519\\Symfony\\Component\\Filesystem\\Path' => __DIR__ . '/..' . '/symfony/filesystem/Path.php', - 'RectorPrefix20220519\\Symfony\\Component\\Finder\\Comparator\\Comparator' => __DIR__ . '/..' . '/symfony/finder/Comparator/Comparator.php', - 'RectorPrefix20220519\\Symfony\\Component\\Finder\\Comparator\\DateComparator' => __DIR__ . '/..' . '/symfony/finder/Comparator/DateComparator.php', - 'RectorPrefix20220519\\Symfony\\Component\\Finder\\Comparator\\NumberComparator' => __DIR__ . '/..' . '/symfony/finder/Comparator/NumberComparator.php', - 'RectorPrefix20220519\\Symfony\\Component\\Finder\\Exception\\AccessDeniedException' => __DIR__ . '/..' . '/symfony/finder/Exception/AccessDeniedException.php', - 'RectorPrefix20220519\\Symfony\\Component\\Finder\\Exception\\DirectoryNotFoundException' => __DIR__ . '/..' . '/symfony/finder/Exception/DirectoryNotFoundException.php', - 'RectorPrefix20220519\\Symfony\\Component\\Finder\\Finder' => __DIR__ . '/..' . '/symfony/finder/Finder.php', - 'RectorPrefix20220519\\Symfony\\Component\\Finder\\Gitignore' => __DIR__ . '/..' . '/symfony/finder/Gitignore.php', - 'RectorPrefix20220519\\Symfony\\Component\\Finder\\Glob' => __DIR__ . '/..' . '/symfony/finder/Glob.php', - 'RectorPrefix20220519\\Symfony\\Component\\Finder\\Iterator\\CustomFilterIterator' => __DIR__ . '/..' . '/symfony/finder/Iterator/CustomFilterIterator.php', - 'RectorPrefix20220519\\Symfony\\Component\\Finder\\Iterator\\DateRangeFilterIterator' => __DIR__ . '/..' . '/symfony/finder/Iterator/DateRangeFilterIterator.php', - 'RectorPrefix20220519\\Symfony\\Component\\Finder\\Iterator\\DepthRangeFilterIterator' => __DIR__ . '/..' . '/symfony/finder/Iterator/DepthRangeFilterIterator.php', - 'RectorPrefix20220519\\Symfony\\Component\\Finder\\Iterator\\ExcludeDirectoryFilterIterator' => __DIR__ . '/..' . '/symfony/finder/Iterator/ExcludeDirectoryFilterIterator.php', - 'RectorPrefix20220519\\Symfony\\Component\\Finder\\Iterator\\FileTypeFilterIterator' => __DIR__ . '/..' . '/symfony/finder/Iterator/FileTypeFilterIterator.php', - 'RectorPrefix20220519\\Symfony\\Component\\Finder\\Iterator\\FilecontentFilterIterator' => __DIR__ . '/..' . '/symfony/finder/Iterator/FilecontentFilterIterator.php', - 'RectorPrefix20220519\\Symfony\\Component\\Finder\\Iterator\\FilenameFilterIterator' => __DIR__ . '/..' . '/symfony/finder/Iterator/FilenameFilterIterator.php', - 'RectorPrefix20220519\\Symfony\\Component\\Finder\\Iterator\\LazyIterator' => __DIR__ . '/..' . '/symfony/finder/Iterator/LazyIterator.php', - 'RectorPrefix20220519\\Symfony\\Component\\Finder\\Iterator\\MultiplePcreFilterIterator' => __DIR__ . '/..' . '/symfony/finder/Iterator/MultiplePcreFilterIterator.php', - 'RectorPrefix20220519\\Symfony\\Component\\Finder\\Iterator\\PathFilterIterator' => __DIR__ . '/..' . '/symfony/finder/Iterator/PathFilterIterator.php', - 'RectorPrefix20220519\\Symfony\\Component\\Finder\\Iterator\\RecursiveDirectoryIterator' => __DIR__ . '/..' . '/symfony/finder/Iterator/RecursiveDirectoryIterator.php', - 'RectorPrefix20220519\\Symfony\\Component\\Finder\\Iterator\\SizeRangeFilterIterator' => __DIR__ . '/..' . '/symfony/finder/Iterator/SizeRangeFilterIterator.php', - 'RectorPrefix20220519\\Symfony\\Component\\Finder\\Iterator\\SortableIterator' => __DIR__ . '/..' . '/symfony/finder/Iterator/SortableIterator.php', - 'RectorPrefix20220519\\Symfony\\Component\\Finder\\Iterator\\VcsIgnoredFilterIterator' => __DIR__ . '/..' . '/symfony/finder/Iterator/VcsIgnoredFilterIterator.php', - 'RectorPrefix20220519\\Symfony\\Component\\Finder\\SplFileInfo' => __DIR__ . '/..' . '/symfony/finder/SplFileInfo.php', - 'RectorPrefix20220519\\Symfony\\Component\\Process\\Exception\\ExceptionInterface' => __DIR__ . '/..' . '/symfony/process/Exception/ExceptionInterface.php', - 'RectorPrefix20220519\\Symfony\\Component\\Process\\Exception\\InvalidArgumentException' => __DIR__ . '/..' . '/symfony/process/Exception/InvalidArgumentException.php', - 'RectorPrefix20220519\\Symfony\\Component\\Process\\Exception\\LogicException' => __DIR__ . '/..' . '/symfony/process/Exception/LogicException.php', - 'RectorPrefix20220519\\Symfony\\Component\\Process\\Exception\\ProcessFailedException' => __DIR__ . '/..' . '/symfony/process/Exception/ProcessFailedException.php', - 'RectorPrefix20220519\\Symfony\\Component\\Process\\Exception\\ProcessSignaledException' => __DIR__ . '/..' . '/symfony/process/Exception/ProcessSignaledException.php', - 'RectorPrefix20220519\\Symfony\\Component\\Process\\Exception\\ProcessTimedOutException' => __DIR__ . '/..' . '/symfony/process/Exception/ProcessTimedOutException.php', - 'RectorPrefix20220519\\Symfony\\Component\\Process\\Exception\\RuntimeException' => __DIR__ . '/..' . '/symfony/process/Exception/RuntimeException.php', - 'RectorPrefix20220519\\Symfony\\Component\\Process\\ExecutableFinder' => __DIR__ . '/..' . '/symfony/process/ExecutableFinder.php', - 'RectorPrefix20220519\\Symfony\\Component\\Process\\InputStream' => __DIR__ . '/..' . '/symfony/process/InputStream.php', - 'RectorPrefix20220519\\Symfony\\Component\\Process\\PhpExecutableFinder' => __DIR__ . '/..' . '/symfony/process/PhpExecutableFinder.php', - 'RectorPrefix20220519\\Symfony\\Component\\Process\\PhpProcess' => __DIR__ . '/..' . '/symfony/process/PhpProcess.php', - 'RectorPrefix20220519\\Symfony\\Component\\Process\\Pipes\\AbstractPipes' => __DIR__ . '/..' . '/symfony/process/Pipes/AbstractPipes.php', - 'RectorPrefix20220519\\Symfony\\Component\\Process\\Pipes\\PipesInterface' => __DIR__ . '/..' . '/symfony/process/Pipes/PipesInterface.php', - 'RectorPrefix20220519\\Symfony\\Component\\Process\\Pipes\\UnixPipes' => __DIR__ . '/..' . '/symfony/process/Pipes/UnixPipes.php', - 'RectorPrefix20220519\\Symfony\\Component\\Process\\Pipes\\WindowsPipes' => __DIR__ . '/..' . '/symfony/process/Pipes/WindowsPipes.php', - 'RectorPrefix20220519\\Symfony\\Component\\Process\\Process' => __DIR__ . '/..' . '/symfony/process/Process.php', - 'RectorPrefix20220519\\Symfony\\Component\\Process\\ProcessUtils' => __DIR__ . '/..' . '/symfony/process/ProcessUtils.php', - 'RectorPrefix20220519\\Symfony\\Component\\String\\AbstractString' => __DIR__ . '/..' . '/symfony/string/AbstractString.php', - 'RectorPrefix20220519\\Symfony\\Component\\String\\AbstractUnicodeString' => __DIR__ . '/..' . '/symfony/string/AbstractUnicodeString.php', - 'RectorPrefix20220519\\Symfony\\Component\\String\\ByteString' => __DIR__ . '/..' . '/symfony/string/ByteString.php', - 'RectorPrefix20220519\\Symfony\\Component\\String\\CodePointString' => __DIR__ . '/..' . '/symfony/string/CodePointString.php', - 'RectorPrefix20220519\\Symfony\\Component\\String\\Exception\\ExceptionInterface' => __DIR__ . '/..' . '/symfony/string/Exception/ExceptionInterface.php', - 'RectorPrefix20220519\\Symfony\\Component\\String\\Exception\\InvalidArgumentException' => __DIR__ . '/..' . '/symfony/string/Exception/InvalidArgumentException.php', - 'RectorPrefix20220519\\Symfony\\Component\\String\\Exception\\RuntimeException' => __DIR__ . '/..' . '/symfony/string/Exception/RuntimeException.php', - 'RectorPrefix20220519\\Symfony\\Component\\String\\Inflector\\EnglishInflector' => __DIR__ . '/..' . '/symfony/string/Inflector/EnglishInflector.php', - 'RectorPrefix20220519\\Symfony\\Component\\String\\Inflector\\FrenchInflector' => __DIR__ . '/..' . '/symfony/string/Inflector/FrenchInflector.php', - 'RectorPrefix20220519\\Symfony\\Component\\String\\Inflector\\InflectorInterface' => __DIR__ . '/..' . '/symfony/string/Inflector/InflectorInterface.php', - 'RectorPrefix20220519\\Symfony\\Component\\String\\LazyString' => __DIR__ . '/..' . '/symfony/string/LazyString.php', - 'RectorPrefix20220519\\Symfony\\Component\\String\\Slugger\\AsciiSlugger' => __DIR__ . '/..' . '/symfony/string/Slugger/AsciiSlugger.php', - 'RectorPrefix20220519\\Symfony\\Component\\String\\Slugger\\SluggerInterface' => __DIR__ . '/..' . '/symfony/string/Slugger/SluggerInterface.php', - 'RectorPrefix20220519\\Symfony\\Component\\String\\UnicodeString' => __DIR__ . '/..' . '/symfony/string/UnicodeString.php', - 'RectorPrefix20220519\\Symfony\\Component\\Yaml\\Command\\LintCommand' => __DIR__ . '/..' . '/symfony/yaml/Command/LintCommand.php', - 'RectorPrefix20220519\\Symfony\\Component\\Yaml\\Dumper' => __DIR__ . '/..' . '/symfony/yaml/Dumper.php', - 'RectorPrefix20220519\\Symfony\\Component\\Yaml\\Escaper' => __DIR__ . '/..' . '/symfony/yaml/Escaper.php', - 'RectorPrefix20220519\\Symfony\\Component\\Yaml\\Exception\\DumpException' => __DIR__ . '/..' . '/symfony/yaml/Exception/DumpException.php', - 'RectorPrefix20220519\\Symfony\\Component\\Yaml\\Exception\\ExceptionInterface' => __DIR__ . '/..' . '/symfony/yaml/Exception/ExceptionInterface.php', - 'RectorPrefix20220519\\Symfony\\Component\\Yaml\\Exception\\ParseException' => __DIR__ . '/..' . '/symfony/yaml/Exception/ParseException.php', - 'RectorPrefix20220519\\Symfony\\Component\\Yaml\\Exception\\RuntimeException' => __DIR__ . '/..' . '/symfony/yaml/Exception/RuntimeException.php', - 'RectorPrefix20220519\\Symfony\\Component\\Yaml\\Inline' => __DIR__ . '/..' . '/symfony/yaml/Inline.php', - 'RectorPrefix20220519\\Symfony\\Component\\Yaml\\Parser' => __DIR__ . '/..' . '/symfony/yaml/Parser.php', - 'RectorPrefix20220519\\Symfony\\Component\\Yaml\\Tag\\TaggedValue' => __DIR__ . '/..' . '/symfony/yaml/Tag/TaggedValue.php', - 'RectorPrefix20220519\\Symfony\\Component\\Yaml\\Unescaper' => __DIR__ . '/..' . '/symfony/yaml/Unescaper.php', - 'RectorPrefix20220519\\Symfony\\Component\\Yaml\\Yaml' => __DIR__ . '/..' . '/symfony/yaml/Yaml.php', - 'RectorPrefix20220519\\Symfony\\Contracts\\Cache\\CacheInterface' => __DIR__ . '/..' . '/symfony/contracts/Cache/CacheInterface.php', - 'RectorPrefix20220519\\Symfony\\Contracts\\Cache\\CacheTrait' => __DIR__ . '/..' . '/symfony/contracts/Cache/CacheTrait.php', - 'RectorPrefix20220519\\Symfony\\Contracts\\Cache\\CallbackInterface' => __DIR__ . '/..' . '/symfony/contracts/Cache/CallbackInterface.php', - 'RectorPrefix20220519\\Symfony\\Contracts\\Cache\\ItemInterface' => __DIR__ . '/..' . '/symfony/contracts/Cache/ItemInterface.php', - 'RectorPrefix20220519\\Symfony\\Contracts\\Cache\\TagAwareCacheInterface' => __DIR__ . '/..' . '/symfony/contracts/Cache/TagAwareCacheInterface.php', - 'RectorPrefix20220519\\Symfony\\Contracts\\EventDispatcher\\Event' => __DIR__ . '/..' . '/symfony/contracts/EventDispatcher/Event.php', - 'RectorPrefix20220519\\Symfony\\Contracts\\EventDispatcher\\EventDispatcherInterface' => __DIR__ . '/..' . '/symfony/contracts/EventDispatcher/EventDispatcherInterface.php', - 'RectorPrefix20220519\\Symfony\\Contracts\\HttpClient\\ChunkInterface' => __DIR__ . '/..' . '/symfony/contracts/HttpClient/ChunkInterface.php', - 'RectorPrefix20220519\\Symfony\\Contracts\\HttpClient\\Exception\\ClientExceptionInterface' => __DIR__ . '/..' . '/symfony/contracts/HttpClient/Exception/ClientExceptionInterface.php', - 'RectorPrefix20220519\\Symfony\\Contracts\\HttpClient\\Exception\\DecodingExceptionInterface' => __DIR__ . '/..' . '/symfony/contracts/HttpClient/Exception/DecodingExceptionInterface.php', - 'RectorPrefix20220519\\Symfony\\Contracts\\HttpClient\\Exception\\ExceptionInterface' => __DIR__ . '/..' . '/symfony/contracts/HttpClient/Exception/ExceptionInterface.php', - 'RectorPrefix20220519\\Symfony\\Contracts\\HttpClient\\Exception\\HttpExceptionInterface' => __DIR__ . '/..' . '/symfony/contracts/HttpClient/Exception/HttpExceptionInterface.php', - 'RectorPrefix20220519\\Symfony\\Contracts\\HttpClient\\Exception\\RedirectionExceptionInterface' => __DIR__ . '/..' . '/symfony/contracts/HttpClient/Exception/RedirectionExceptionInterface.php', - 'RectorPrefix20220519\\Symfony\\Contracts\\HttpClient\\Exception\\ServerExceptionInterface' => __DIR__ . '/..' . '/symfony/contracts/HttpClient/Exception/ServerExceptionInterface.php', - 'RectorPrefix20220519\\Symfony\\Contracts\\HttpClient\\Exception\\TimeoutExceptionInterface' => __DIR__ . '/..' . '/symfony/contracts/HttpClient/Exception/TimeoutExceptionInterface.php', - 'RectorPrefix20220519\\Symfony\\Contracts\\HttpClient\\Exception\\TransportExceptionInterface' => __DIR__ . '/..' . '/symfony/contracts/HttpClient/Exception/TransportExceptionInterface.php', - 'RectorPrefix20220519\\Symfony\\Contracts\\HttpClient\\HttpClientInterface' => __DIR__ . '/..' . '/symfony/contracts/HttpClient/HttpClientInterface.php', - 'RectorPrefix20220519\\Symfony\\Contracts\\HttpClient\\ResponseInterface' => __DIR__ . '/..' . '/symfony/contracts/HttpClient/ResponseInterface.php', - 'RectorPrefix20220519\\Symfony\\Contracts\\HttpClient\\ResponseStreamInterface' => __DIR__ . '/..' . '/symfony/contracts/HttpClient/ResponseStreamInterface.php', - 'RectorPrefix20220519\\Symfony\\Contracts\\HttpClient\\Test\\HttpClientTestCase' => __DIR__ . '/..' . '/symfony/contracts/HttpClient/Test/HttpClientTestCase.php', - 'RectorPrefix20220519\\Symfony\\Contracts\\HttpClient\\Test\\TestHttpServer' => __DIR__ . '/..' . '/symfony/contracts/HttpClient/Test/TestHttpServer.php', - 'RectorPrefix20220519\\Symfony\\Contracts\\Service\\Attribute\\Required' => __DIR__ . '/..' . '/symfony/contracts/Service/Attribute/Required.php', - 'RectorPrefix20220519\\Symfony\\Contracts\\Service\\Attribute\\SubscribedService' => __DIR__ . '/..' . '/symfony/contracts/Service/Attribute/SubscribedService.php', - 'RectorPrefix20220519\\Symfony\\Contracts\\Service\\ResetInterface' => __DIR__ . '/..' . '/symfony/contracts/Service/ResetInterface.php', - 'RectorPrefix20220519\\Symfony\\Contracts\\Service\\ServiceLocatorTrait' => __DIR__ . '/..' . '/symfony/contracts/Service/ServiceLocatorTrait.php', - 'RectorPrefix20220519\\Symfony\\Contracts\\Service\\ServiceProviderInterface' => __DIR__ . '/..' . '/symfony/contracts/Service/ServiceProviderInterface.php', - 'RectorPrefix20220519\\Symfony\\Contracts\\Service\\ServiceSubscriberInterface' => __DIR__ . '/..' . '/symfony/contracts/Service/ServiceSubscriberInterface.php', - 'RectorPrefix20220519\\Symfony\\Contracts\\Service\\ServiceSubscriberTrait' => __DIR__ . '/..' . '/symfony/contracts/Service/ServiceSubscriberTrait.php', - 'RectorPrefix20220519\\Symfony\\Contracts\\Service\\Test\\ServiceLocatorTest' => __DIR__ . '/..' . '/symfony/contracts/Service/Test/ServiceLocatorTest.php', - 'RectorPrefix20220519\\Symfony\\Contracts\\Tests\\Cache\\CacheTraitTest' => __DIR__ . '/..' . '/symfony/contracts/Tests/Cache/CacheTraitTest.php', - 'RectorPrefix20220519\\Symfony\\Contracts\\Tests\\Service\\ServiceSubscriberTraitTest' => __DIR__ . '/..' . '/symfony/contracts/Tests/Service/ServiceSubscriberTraitTest.php', - 'RectorPrefix20220519\\Symfony\\Contracts\\Translation\\LocaleAwareInterface' => __DIR__ . '/..' . '/symfony/contracts/Translation/LocaleAwareInterface.php', - 'RectorPrefix20220519\\Symfony\\Contracts\\Translation\\Test\\TranslatorTest' => __DIR__ . '/..' . '/symfony/contracts/Translation/Test/TranslatorTest.php', - 'RectorPrefix20220519\\Symfony\\Contracts\\Translation\\TranslatableInterface' => __DIR__ . '/..' . '/symfony/contracts/Translation/TranslatableInterface.php', - 'RectorPrefix20220519\\Symfony\\Contracts\\Translation\\TranslatorInterface' => __DIR__ . '/..' . '/symfony/contracts/Translation/TranslatorInterface.php', - 'RectorPrefix20220519\\Symfony\\Contracts\\Translation\\TranslatorTrait' => __DIR__ . '/..' . '/symfony/contracts/Translation/TranslatorTrait.php', - 'RectorPrefix20220519\\Symfony\\Polyfill\\Ctype\\Ctype' => __DIR__ . '/..' . '/symfony/polyfill-ctype/Ctype.php', - 'RectorPrefix20220519\\Symfony\\Polyfill\\Intl\\Grapheme\\Grapheme' => __DIR__ . '/..' . '/symfony/polyfill-intl-grapheme/Grapheme.php', - 'RectorPrefix20220519\\Symfony\\Polyfill\\Intl\\Normalizer\\Normalizer' => __DIR__ . '/..' . '/symfony/polyfill-intl-normalizer/Normalizer.php', - 'RectorPrefix20220519\\Symfony\\Polyfill\\Mbstring\\Mbstring' => __DIR__ . '/..' . '/symfony/polyfill-mbstring/Mbstring.php', - 'RectorPrefix20220519\\Symfony\\Polyfill\\Php81\\Php81' => __DIR__ . '/..' . '/symfony/polyfill-php81/Php81.php', - 'RectorPrefix20220519\\Symplify\\Astral\\Contract\\NodeNameResolverInterface' => __DIR__ . '/..' . '/symplify/astral/src/Contract/NodeNameResolverInterface.php', - 'RectorPrefix20220519\\Symplify\\Astral\\Contract\\NodeValueResolver\\NodeValueResolverInterface' => __DIR__ . '/..' . '/symplify/astral/src/Contract/NodeValueResolver/NodeValueResolverInterface.php', - 'RectorPrefix20220519\\Symplify\\Astral\\Exception\\ShouldNotHappenException' => __DIR__ . '/..' . '/symplify/astral/src/Exception/ShouldNotHappenException.php', - 'RectorPrefix20220519\\Symplify\\Astral\\Naming\\SimpleNameResolver' => __DIR__ . '/..' . '/symplify/astral/src/Naming/SimpleNameResolver.php', - 'RectorPrefix20220519\\Symplify\\Astral\\NodeAnalyzer\\NetteTypeAnalyzer' => __DIR__ . '/..' . '/symplify/astral/src/NodeAnalyzer/NetteTypeAnalyzer.php', - 'RectorPrefix20220519\\Symplify\\Astral\\NodeFinder\\SimpleNodeFinder' => __DIR__ . '/..' . '/symplify/astral/src/NodeFinder/SimpleNodeFinder.php', - 'RectorPrefix20220519\\Symplify\\Astral\\NodeNameResolver\\ArgNodeNameResolver' => __DIR__ . '/..' . '/symplify/astral/src/NodeNameResolver/ArgNodeNameResolver.php', - 'RectorPrefix20220519\\Symplify\\Astral\\NodeNameResolver\\AttributeNodeNameResolver' => __DIR__ . '/..' . '/symplify/astral/src/NodeNameResolver/AttributeNodeNameResolver.php', - 'RectorPrefix20220519\\Symplify\\Astral\\NodeNameResolver\\ClassLikeNodeNameResolver' => __DIR__ . '/..' . '/symplify/astral/src/NodeNameResolver/ClassLikeNodeNameResolver.php', - 'RectorPrefix20220519\\Symplify\\Astral\\NodeNameResolver\\ClassMethodNodeNameResolver' => __DIR__ . '/..' . '/symplify/astral/src/NodeNameResolver/ClassMethodNodeNameResolver.php', - 'RectorPrefix20220519\\Symplify\\Astral\\NodeNameResolver\\ConstFetchNodeNameResolver' => __DIR__ . '/..' . '/symplify/astral/src/NodeNameResolver/ConstFetchNodeNameResolver.php', - 'RectorPrefix20220519\\Symplify\\Astral\\NodeNameResolver\\FuncCallNodeNameResolver' => __DIR__ . '/..' . '/symplify/astral/src/NodeNameResolver/FuncCallNodeNameResolver.php', - 'RectorPrefix20220519\\Symplify\\Astral\\NodeNameResolver\\IdentifierNodeNameResolver' => __DIR__ . '/..' . '/symplify/astral/src/NodeNameResolver/IdentifierNodeNameResolver.php', - 'RectorPrefix20220519\\Symplify\\Astral\\NodeNameResolver\\NamespaceNodeNameResolver' => __DIR__ . '/..' . '/symplify/astral/src/NodeNameResolver/NamespaceNodeNameResolver.php', - 'RectorPrefix20220519\\Symplify\\Astral\\NodeNameResolver\\ParamNodeNameResolver' => __DIR__ . '/..' . '/symplify/astral/src/NodeNameResolver/ParamNodeNameResolver.php', - 'RectorPrefix20220519\\Symplify\\Astral\\NodeNameResolver\\PropertyNodeNameResolver' => __DIR__ . '/..' . '/symplify/astral/src/NodeNameResolver/PropertyNodeNameResolver.php', - 'RectorPrefix20220519\\Symplify\\Astral\\NodeTraverser\\SimpleCallableNodeTraverser' => __DIR__ . '/..' . '/symplify/astral/src/NodeTraverser/SimpleCallableNodeTraverser.php', - 'RectorPrefix20220519\\Symplify\\Astral\\NodeValue\\NodeValueResolver' => __DIR__ . '/..' . '/symplify/astral/src/NodeValue/NodeValueResolver.php', - 'RectorPrefix20220519\\Symplify\\Astral\\NodeValue\\NodeValueResolver\\ClassConstFetchValueResolver' => __DIR__ . '/..' . '/symplify/astral/src/NodeValue/NodeValueResolver/ClassConstFetchValueResolver.php', - 'RectorPrefix20220519\\Symplify\\Astral\\NodeValue\\NodeValueResolver\\ConstFetchValueResolver' => __DIR__ . '/..' . '/symplify/astral/src/NodeValue/NodeValueResolver/ConstFetchValueResolver.php', - 'RectorPrefix20220519\\Symplify\\Astral\\NodeValue\\NodeValueResolver\\FuncCallValueResolver' => __DIR__ . '/..' . '/symplify/astral/src/NodeValue/NodeValueResolver/FuncCallValueResolver.php', - 'RectorPrefix20220519\\Symplify\\Astral\\NodeValue\\NodeValueResolver\\MagicConstValueResolver' => __DIR__ . '/..' . '/symplify/astral/src/NodeValue/NodeValueResolver/MagicConstValueResolver.php', - 'RectorPrefix20220519\\Symplify\\Astral\\NodeValue\\UnionTypeValueResolver' => __DIR__ . '/..' . '/symplify/astral/src/NodeValue/UnionTypeValueResolver.php', - 'RectorPrefix20220519\\Symplify\\Astral\\NodeVisitor\\CallableNodeVisitor' => __DIR__ . '/..' . '/symplify/astral/src/NodeVisitor/CallableNodeVisitor.php', - 'RectorPrefix20220519\\Symplify\\Astral\\PhpDocParser\\Contract\\PhpDocNodeVisitorInterface' => __DIR__ . '/..' . '/symplify/astral/src/PhpDocParser/Contract/PhpDocNodeVisitorInterface.php', - 'RectorPrefix20220519\\Symplify\\Astral\\PhpDocParser\\Exception\\InvalidTraverseException' => __DIR__ . '/..' . '/symplify/astral/src/PhpDocParser/Exception/InvalidTraverseException.php', - 'RectorPrefix20220519\\Symplify\\Astral\\PhpDocParser\\PhpDocNodeTraverser' => __DIR__ . '/..' . '/symplify/astral/src/PhpDocParser/PhpDocNodeTraverser.php', - 'RectorPrefix20220519\\Symplify\\Astral\\PhpDocParser\\PhpDocNodeVisitor\\AbstractPhpDocNodeVisitor' => __DIR__ . '/..' . '/symplify/astral/src/PhpDocParser/PhpDocNodeVisitor/AbstractPhpDocNodeVisitor.php', - 'RectorPrefix20220519\\Symplify\\Astral\\PhpDocParser\\PhpDocNodeVisitor\\CallablePhpDocNodeVisitor' => __DIR__ . '/..' . '/symplify/astral/src/PhpDocParser/PhpDocNodeVisitor/CallablePhpDocNodeVisitor.php', - 'RectorPrefix20220519\\Symplify\\Astral\\PhpDocParser\\PhpDocNodeVisitor\\CloningPhpDocNodeVisitor' => __DIR__ . '/..' . '/symplify/astral/src/PhpDocParser/PhpDocNodeVisitor/CloningPhpDocNodeVisitor.php', - 'RectorPrefix20220519\\Symplify\\Astral\\PhpDocParser\\PhpDocNodeVisitor\\ParentConnectingPhpDocNodeVisitor' => __DIR__ . '/..' . '/symplify/astral/src/PhpDocParser/PhpDocNodeVisitor/ParentConnectingPhpDocNodeVisitor.php', - 'RectorPrefix20220519\\Symplify\\Astral\\PhpDocParser\\SimplePhpDocParser' => __DIR__ . '/..' . '/symplify/astral/src/PhpDocParser/SimplePhpDocParser.php', - 'RectorPrefix20220519\\Symplify\\Astral\\PhpDocParser\\StaticFactory\\SimplePhpDocParserStaticFactory' => __DIR__ . '/..' . '/symplify/astral/src/PhpDocParser/StaticFactory/SimplePhpDocParserStaticFactory.php', - 'RectorPrefix20220519\\Symplify\\Astral\\PhpDocParser\\ValueObject\\Ast\\PhpDoc\\SimplePhpDocNode' => __DIR__ . '/..' . '/symplify/astral/src/PhpDocParser/ValueObject/Ast/PhpDoc/SimplePhpDocNode.php', - 'RectorPrefix20220519\\Symplify\\Astral\\PhpDocParser\\ValueObject\\PhpDocAttributeKey' => __DIR__ . '/..' . '/symplify/astral/src/PhpDocParser/ValueObject/PhpDocAttributeKey.php', - 'RectorPrefix20220519\\Symplify\\Astral\\PhpParser\\SmartPhpParser' => __DIR__ . '/..' . '/symplify/astral/src/PhpParser/SmartPhpParser.php', - 'RectorPrefix20220519\\Symplify\\Astral\\PhpParser\\SmartPhpParserFactory' => __DIR__ . '/..' . '/symplify/astral/src/PhpParser/SmartPhpParserFactory.php', - 'RectorPrefix20220519\\Symplify\\Astral\\Reflection\\MethodCallParser' => __DIR__ . '/..' . '/symplify/astral/src/Reflection/MethodCallParser.php', - 'RectorPrefix20220519\\Symplify\\Astral\\Reflection\\ReflectionParser' => __DIR__ . '/..' . '/symplify/astral/src/Reflection/ReflectionParser.php', - 'RectorPrefix20220519\\Symplify\\Astral\\StaticFactory\\NodeValueResolverStaticFactory' => __DIR__ . '/..' . '/symplify/astral/src/StaticFactory/NodeValueResolverStaticFactory.php', - 'RectorPrefix20220519\\Symplify\\Astral\\StaticFactory\\SimpleNameResolverStaticFactory' => __DIR__ . '/..' . '/symplify/astral/src/StaticFactory/SimpleNameResolverStaticFactory.php', - 'RectorPrefix20220519\\Symplify\\Astral\\TypeAnalyzer\\ClassMethodReturnTypeResolver' => __DIR__ . '/..' . '/symplify/astral/src/TypeAnalyzer/ClassMethodReturnTypeResolver.php', - 'RectorPrefix20220519\\Symplify\\Astral\\TypeAnalyzer\\ContainsTypeAnalyser' => __DIR__ . '/..' . '/symplify/astral/src/TypeAnalyzer/ContainsTypeAnalyser.php', - 'RectorPrefix20220519\\Symplify\\Astral\\ValueObject\\AstralConfig' => __DIR__ . '/..' . '/symplify/astral/src/ValueObject/AstralConfig.php', - 'RectorPrefix20220519\\Symplify\\Astral\\ValueObject\\AttributeKey' => __DIR__ . '/..' . '/symplify/astral/src/ValueObject/AttributeKey.php', - 'RectorPrefix20220519\\Symplify\\Astral\\ValueObject\\NodeBuilder\\ClassBuilder' => __DIR__ . '/..' . '/symplify/astral/src/ValueObject/NodeBuilder/ClassBuilder.php', - 'RectorPrefix20220519\\Symplify\\Astral\\ValueObject\\NodeBuilder\\MethodBuilder' => __DIR__ . '/..' . '/symplify/astral/src/ValueObject/NodeBuilder/MethodBuilder.php', - 'RectorPrefix20220519\\Symplify\\Astral\\ValueObject\\NodeBuilder\\NamespaceBuilder' => __DIR__ . '/..' . '/symplify/astral/src/ValueObject/NodeBuilder/NamespaceBuilder.php', - 'RectorPrefix20220519\\Symplify\\Astral\\ValueObject\\NodeBuilder\\ParamBuilder' => __DIR__ . '/..' . '/symplify/astral/src/ValueObject/NodeBuilder/ParamBuilder.php', - 'RectorPrefix20220519\\Symplify\\Astral\\ValueObject\\NodeBuilder\\PropertyBuilder' => __DIR__ . '/..' . '/symplify/astral/src/ValueObject/NodeBuilder/PropertyBuilder.php', - 'RectorPrefix20220519\\Symplify\\Astral\\ValueObject\\NodeBuilder\\TraitUseBuilder' => __DIR__ . '/..' . '/symplify/astral/src/ValueObject/NodeBuilder/TraitUseBuilder.php', - 'RectorPrefix20220519\\Symplify\\Astral\\ValueObject\\NodeBuilder\\UseBuilder' => __DIR__ . '/..' . '/symplify/astral/src/ValueObject/NodeBuilder/UseBuilder.php', - 'RectorPrefix20220519\\Symplify\\AutowireArrayParameter\\DependencyInjection\\CompilerPass\\AutowireArrayParameterCompilerPass' => __DIR__ . '/..' . '/symplify/autowire-array-parameter/src/DependencyInjection/CompilerPass/AutowireArrayParameterCompilerPass.php', - 'RectorPrefix20220519\\Symplify\\AutowireArrayParameter\\DependencyInjection\\DefinitionFinder' => __DIR__ . '/..' . '/symplify/autowire-array-parameter/src/DependencyInjection/DefinitionFinder.php', - 'RectorPrefix20220519\\Symplify\\AutowireArrayParameter\\DocBlock\\ParamTypeDocBlockResolver' => __DIR__ . '/..' . '/symplify/autowire-array-parameter/src/DocBlock/ParamTypeDocBlockResolver.php', - 'RectorPrefix20220519\\Symplify\\AutowireArrayParameter\\Exception\\DependencyInjection\\DefinitionForTypeNotFoundException' => __DIR__ . '/..' . '/symplify/autowire-array-parameter/src/Exception/DependencyInjection/DefinitionForTypeNotFoundException.php', - 'RectorPrefix20220519\\Symplify\\AutowireArrayParameter\\Skipper\\ParameterSkipper' => __DIR__ . '/..' . '/symplify/autowire-array-parameter/src/Skipper/ParameterSkipper.php', - 'RectorPrefix20220519\\Symplify\\AutowireArrayParameter\\TypeResolver\\ParameterTypeResolver' => __DIR__ . '/..' . '/symplify/autowire-array-parameter/src/TypeResolver/ParameterTypeResolver.php', - 'RectorPrefix20220519\\Symplify\\ComposerJsonManipulator\\ComposerJsonFactory' => __DIR__ . '/..' . '/symplify/composer-json-manipulator/src/ComposerJsonFactory.php', - 'RectorPrefix20220519\\Symplify\\ComposerJsonManipulator\\FileSystem\\JsonFileManager' => __DIR__ . '/..' . '/symplify/composer-json-manipulator/src/FileSystem/JsonFileManager.php', - 'RectorPrefix20220519\\Symplify\\ComposerJsonManipulator\\Json\\JsonCleaner' => __DIR__ . '/..' . '/symplify/composer-json-manipulator/src/Json/JsonCleaner.php', - 'RectorPrefix20220519\\Symplify\\ComposerJsonManipulator\\Json\\JsonInliner' => __DIR__ . '/..' . '/symplify/composer-json-manipulator/src/Json/JsonInliner.php', - 'RectorPrefix20220519\\Symplify\\ComposerJsonManipulator\\Printer\\ComposerJsonPrinter' => __DIR__ . '/..' . '/symplify/composer-json-manipulator/src/Printer/ComposerJsonPrinter.php', - 'RectorPrefix20220519\\Symplify\\ComposerJsonManipulator\\Sorter\\ComposerPackageSorter' => __DIR__ . '/..' . '/symplify/composer-json-manipulator/src/Sorter/ComposerPackageSorter.php', - 'RectorPrefix20220519\\Symplify\\ComposerJsonManipulator\\ValueObject\\ComposerJson' => __DIR__ . '/..' . '/symplify/composer-json-manipulator/src/ValueObject/ComposerJson.php', - 'RectorPrefix20220519\\Symplify\\ComposerJsonManipulator\\ValueObject\\ComposerJsonManipulatorConfig' => __DIR__ . '/..' . '/symplify/composer-json-manipulator/src/ValueObject/ComposerJsonManipulatorConfig.php', - 'RectorPrefix20220519\\Symplify\\ComposerJsonManipulator\\ValueObject\\ComposerJsonSection' => __DIR__ . '/..' . '/symplify/composer-json-manipulator/src/ValueObject/ComposerJsonSection.php', - 'RectorPrefix20220519\\Symplify\\ComposerJsonManipulator\\ValueObject\\Option' => __DIR__ . '/..' . '/symplify/composer-json-manipulator/src/ValueObject/Option.php', - 'RectorPrefix20220519\\Symplify\\EasyParallel\\CommandLine\\WorkerCommandLineFactory' => __DIR__ . '/..' . '/symplify/easy-parallel/src/CommandLine/WorkerCommandLineFactory.php', - 'RectorPrefix20220519\\Symplify\\EasyParallel\\Contract\\SerializableInterface' => __DIR__ . '/..' . '/symplify/easy-parallel/src/Contract/SerializableInterface.php', - 'RectorPrefix20220519\\Symplify\\EasyParallel\\CpuCoreCountProvider' => __DIR__ . '/..' . '/symplify/easy-parallel/src/CpuCoreCountProvider.php', - 'RectorPrefix20220519\\Symplify\\EasyParallel\\Enum\\Action' => __DIR__ . '/..' . '/symplify/easy-parallel/src/Enum/Action.php', - 'RectorPrefix20220519\\Symplify\\EasyParallel\\Enum\\Content' => __DIR__ . '/..' . '/symplify/easy-parallel/src/Enum/Content.php', - 'RectorPrefix20220519\\Symplify\\EasyParallel\\Enum\\ReactCommand' => __DIR__ . '/..' . '/symplify/easy-parallel/src/Enum/ReactCommand.php', - 'RectorPrefix20220519\\Symplify\\EasyParallel\\Enum\\ReactEvent' => __DIR__ . '/..' . '/symplify/easy-parallel/src/Enum/ReactEvent.php', - 'RectorPrefix20220519\\Symplify\\EasyParallel\\Exception\\ParallelShouldNotHappenException' => __DIR__ . '/..' . '/symplify/easy-parallel/src/Exception/ParallelShouldNotHappenException.php', - 'RectorPrefix20220519\\Symplify\\EasyParallel\\FileSystem\\FilePathNormalizer' => __DIR__ . '/..' . '/symplify/easy-parallel/src/FileSystem/FilePathNormalizer.php', - 'RectorPrefix20220519\\Symplify\\EasyParallel\\Reflection\\CommandFromReflectionFactory' => __DIR__ . '/..' . '/symplify/easy-parallel/src/Reflection/CommandFromReflectionFactory.php', - 'RectorPrefix20220519\\Symplify\\EasyParallel\\ScheduleFactory' => __DIR__ . '/..' . '/symplify/easy-parallel/src/ScheduleFactory.php', - 'RectorPrefix20220519\\Symplify\\EasyParallel\\ValueObject\\EasyParallelConfig' => __DIR__ . '/..' . '/symplify/easy-parallel/src/ValueObject/EasyParallelConfig.php', - 'RectorPrefix20220519\\Symplify\\EasyParallel\\ValueObject\\ParallelProcess' => __DIR__ . '/..' . '/symplify/easy-parallel/src/ValueObject/ParallelProcess.php', - 'RectorPrefix20220519\\Symplify\\EasyParallel\\ValueObject\\ProcessPool' => __DIR__ . '/..' . '/symplify/easy-parallel/src/ValueObject/ProcessPool.php', - 'RectorPrefix20220519\\Symplify\\EasyParallel\\ValueObject\\Schedule' => __DIR__ . '/..' . '/symplify/easy-parallel/src/ValueObject/Schedule.php', - 'RectorPrefix20220519\\Symplify\\EasyTesting\\Command\\ValidateFixtureSkipNamingCommand' => __DIR__ . '/..' . '/symplify/easy-testing/src/Command/ValidateFixtureSkipNamingCommand.php', - 'RectorPrefix20220519\\Symplify\\EasyTesting\\DataProvider\\StaticFixtureFinder' => __DIR__ . '/..' . '/symplify/easy-testing/src/DataProvider/StaticFixtureFinder.php', - 'RectorPrefix20220519\\Symplify\\EasyTesting\\DataProvider\\StaticFixtureUpdater' => __DIR__ . '/..' . '/symplify/easy-testing/src/DataProvider/StaticFixtureUpdater.php', - 'RectorPrefix20220519\\Symplify\\EasyTesting\\Finder\\FixtureFinder' => __DIR__ . '/..' . '/symplify/easy-testing/src/Finder/FixtureFinder.php', - 'RectorPrefix20220519\\Symplify\\EasyTesting\\FixtureSplitter\\TrioFixtureSplitter' => __DIR__ . '/..' . '/symplify/easy-testing/src/FixtureSplitter/TrioFixtureSplitter.php', - 'RectorPrefix20220519\\Symplify\\EasyTesting\\Kernel\\EasyTestingKernel' => __DIR__ . '/..' . '/symplify/easy-testing/src/Kernel/EasyTestingKernel.php', - 'RectorPrefix20220519\\Symplify\\EasyTesting\\MissplacedSkipPrefixResolver' => __DIR__ . '/..' . '/symplify/easy-testing/src/MissplacedSkipPrefixResolver.php', - 'RectorPrefix20220519\\Symplify\\EasyTesting\\PHPUnit\\Behavior\\DirectoryAssertableTrait' => __DIR__ . '/..' . '/symplify/easy-testing/src/PHPUnit/Behavior/DirectoryAssertableTrait.php', - 'RectorPrefix20220519\\Symplify\\EasyTesting\\PHPUnit\\StaticPHPUnitEnvironment' => __DIR__ . '/..' . '/symplify/easy-testing/src/PHPUnit/StaticPHPUnitEnvironment.php', - 'RectorPrefix20220519\\Symplify\\EasyTesting\\StaticFixtureSplitter' => __DIR__ . '/..' . '/symplify/easy-testing/src/StaticFixtureSplitter.php', - 'RectorPrefix20220519\\Symplify\\EasyTesting\\ValueObject\\EasyTestingConfig' => __DIR__ . '/..' . '/symplify/easy-testing/src/ValueObject/EasyTestingConfig.php', - 'RectorPrefix20220519\\Symplify\\EasyTesting\\ValueObject\\ExpectedAndOutputFileInfoPair' => __DIR__ . '/..' . '/symplify/easy-testing/src/ValueObject/ExpectedAndOutputFileInfoPair.php', - 'RectorPrefix20220519\\Symplify\\EasyTesting\\ValueObject\\FixtureSplit\\TrioContent' => __DIR__ . '/..' . '/symplify/easy-testing/src/ValueObject/FixtureSplit/TrioContent.php', - 'RectorPrefix20220519\\Symplify\\EasyTesting\\ValueObject\\IncorrectAndMissingSkips' => __DIR__ . '/..' . '/symplify/easy-testing/src/ValueObject/IncorrectAndMissingSkips.php', - 'RectorPrefix20220519\\Symplify\\EasyTesting\\ValueObject\\InputAndExpected' => __DIR__ . '/..' . '/symplify/easy-testing/src/ValueObject/InputAndExpected.php', - 'RectorPrefix20220519\\Symplify\\EasyTesting\\ValueObject\\InputFileInfoAndExpected' => __DIR__ . '/..' . '/symplify/easy-testing/src/ValueObject/InputFileInfoAndExpected.php', - 'RectorPrefix20220519\\Symplify\\EasyTesting\\ValueObject\\InputFileInfoAndExpectedFileInfo' => __DIR__ . '/..' . '/symplify/easy-testing/src/ValueObject/InputFileInfoAndExpectedFileInfo.php', - 'RectorPrefix20220519\\Symplify\\EasyTesting\\ValueObject\\Option' => __DIR__ . '/..' . '/symplify/easy-testing/src/ValueObject/Option.php', - 'RectorPrefix20220519\\Symplify\\EasyTesting\\ValueObject\\Prefix' => __DIR__ . '/..' . '/symplify/easy-testing/src/ValueObject/Prefix.php', - 'RectorPrefix20220519\\Symplify\\EasyTesting\\ValueObject\\SplitLine' => __DIR__ . '/..' . '/symplify/easy-testing/src/ValueObject/SplitLine.php', - 'RectorPrefix20220519\\Symplify\\PackageBuilder\\Composer\\VendorDirProvider' => __DIR__ . '/..' . '/symplify/package-builder/src/Composer/VendorDirProvider.php', - 'RectorPrefix20220519\\Symplify\\PackageBuilder\\Configuration\\StaticEolConfiguration' => __DIR__ . '/..' . '/symplify/package-builder/src/Configuration/StaticEolConfiguration.php', - 'RectorPrefix20220519\\Symplify\\PackageBuilder\\Console\\Command\\AbstractSymplifyCommand' => __DIR__ . '/..' . '/symplify/package-builder/src/Console/Command/AbstractSymplifyCommand.php', - 'RectorPrefix20220519\\Symplify\\PackageBuilder\\Console\\Command\\CommandNaming' => __DIR__ . '/..' . '/symplify/package-builder/src/Console/Command/CommandNaming.php', - 'RectorPrefix20220519\\Symplify\\PackageBuilder\\Console\\Formatter\\ColorConsoleDiffFormatter' => __DIR__ . '/..' . '/symplify/package-builder/src/Console/Formatter/ColorConsoleDiffFormatter.php', - 'RectorPrefix20220519\\Symplify\\PackageBuilder\\Console\\Input\\StaticInputDetector' => __DIR__ . '/..' . '/symplify/package-builder/src/Console/Input/StaticInputDetector.php', - 'RectorPrefix20220519\\Symplify\\PackageBuilder\\Console\\Output\\ConsoleDiffer' => __DIR__ . '/..' . '/symplify/package-builder/src/Console/Output/ConsoleDiffer.php', - 'RectorPrefix20220519\\Symplify\\PackageBuilder\\Console\\Style\\SymfonyStyleFactory' => __DIR__ . '/..' . '/symplify/package-builder/src/Console/Style/SymfonyStyleFactory.php', - 'RectorPrefix20220519\\Symplify\\PackageBuilder\\DependencyInjection\\CompilerPass\\AutowireInterfacesCompilerPass' => __DIR__ . '/..' . '/symplify/package-builder/src/DependencyInjection/CompilerPass/AutowireInterfacesCompilerPass.php', - 'RectorPrefix20220519\\Symplify\\PackageBuilder\\DependencyInjection\\FileLoader\\ParameterMergingPhpFileLoader' => __DIR__ . '/..' . '/symplify/package-builder/src/DependencyInjection/FileLoader/ParameterMergingPhpFileLoader.php', - 'RectorPrefix20220519\\Symplify\\PackageBuilder\\Diff\\Output\\CompleteUnifiedDiffOutputBuilderFactory' => __DIR__ . '/..' . '/symplify/package-builder/src/Diff/Output/CompleteUnifiedDiffOutputBuilderFactory.php', - 'RectorPrefix20220519\\Symplify\\PackageBuilder\\Exception\\HttpKernel\\MissingInterfaceException' => __DIR__ . '/..' . '/symplify/package-builder/src/Exception/HttpKernel/MissingInterfaceException.php', - 'RectorPrefix20220519\\Symplify\\PackageBuilder\\Exception\\InvalidPrivatePropertyTypeException' => __DIR__ . '/..' . '/symplify/package-builder/src/Exception/InvalidPrivatePropertyTypeException.php', - 'RectorPrefix20220519\\Symplify\\PackageBuilder\\Exception\\MissingPrivatePropertyException' => __DIR__ . '/..' . '/symplify/package-builder/src/Exception/MissingPrivatePropertyException.php', - 'RectorPrefix20220519\\Symplify\\PackageBuilder\\Matcher\\ArrayStringAndFnMatcher' => __DIR__ . '/..' . '/symplify/package-builder/src/Matcher/ArrayStringAndFnMatcher.php', - 'RectorPrefix20220519\\Symplify\\PackageBuilder\\Neon\\NeonPrinter' => __DIR__ . '/..' . '/symplify/package-builder/src/Neon/NeonPrinter.php', - 'RectorPrefix20220519\\Symplify\\PackageBuilder\\Parameter\\ParameterProvider' => __DIR__ . '/..' . '/symplify/package-builder/src/Parameter/ParameterProvider.php', - 'RectorPrefix20220519\\Symplify\\PackageBuilder\\Php\\TypeChecker' => __DIR__ . '/..' . '/symplify/package-builder/src/Php/TypeChecker.php', - 'RectorPrefix20220519\\Symplify\\PackageBuilder\\Reflection\\ClassLikeExistenceChecker' => __DIR__ . '/..' . '/symplify/package-builder/src/Reflection/ClassLikeExistenceChecker.php', - 'RectorPrefix20220519\\Symplify\\PackageBuilder\\Reflection\\PrivatesAccessor' => __DIR__ . '/..' . '/symplify/package-builder/src/Reflection/PrivatesAccessor.php', - 'RectorPrefix20220519\\Symplify\\PackageBuilder\\Reflection\\PrivatesCaller' => __DIR__ . '/..' . '/symplify/package-builder/src/Reflection/PrivatesCaller.php', - 'RectorPrefix20220519\\Symplify\\PackageBuilder\\Strings\\StringFormatConverter' => __DIR__ . '/..' . '/symplify/package-builder/src/Strings/StringFormatConverter.php', - 'RectorPrefix20220519\\Symplify\\PackageBuilder\\Testing\\AbstractKernelTestCase' => __DIR__ . '/..' . '/symplify/package-builder/src/Testing/AbstractKernelTestCase.php', - 'RectorPrefix20220519\\Symplify\\PackageBuilder\\ValueObject\\ConsoleColorDiffConfig' => __DIR__ . '/..' . '/symplify/package-builder/src/ValueObject/ConsoleColorDiffConfig.php', - 'RectorPrefix20220519\\Symplify\\PackageBuilder\\ValueObject\\MethodName' => __DIR__ . '/..' . '/symplify/package-builder/src/ValueObject/MethodName.php', - 'RectorPrefix20220519\\Symplify\\PackageBuilder\\ValueObject\\Option' => __DIR__ . '/..' . '/symplify/package-builder/src/ValueObject/Option.php', - 'RectorPrefix20220519\\Symplify\\PackageBuilder\\Yaml\\ParametersMerger' => __DIR__ . '/..' . '/symplify/package-builder/src/Yaml/ParametersMerger.php', - 'RectorPrefix20220519\\Symplify\\Skipper\\Contract\\SkipVoterInterface' => __DIR__ . '/..' . '/symplify/skipper/src/Contract/SkipVoterInterface.php', - 'RectorPrefix20220519\\Symplify\\Skipper\\FileSystem\\FnMatchPathNormalizer' => __DIR__ . '/..' . '/symplify/skipper/src/FileSystem/FnMatchPathNormalizer.php', - 'RectorPrefix20220519\\Symplify\\Skipper\\Matcher\\FileInfoMatcher' => __DIR__ . '/..' . '/symplify/skipper/src/Matcher/FileInfoMatcher.php', - 'RectorPrefix20220519\\Symplify\\Skipper\\SkipCriteriaResolver\\SkippedClassAndCodesResolver' => __DIR__ . '/..' . '/symplify/skipper/src/SkipCriteriaResolver/SkippedClassAndCodesResolver.php', - 'RectorPrefix20220519\\Symplify\\Skipper\\SkipCriteriaResolver\\SkippedClassResolver' => __DIR__ . '/..' . '/symplify/skipper/src/SkipCriteriaResolver/SkippedClassResolver.php', - 'RectorPrefix20220519\\Symplify\\Skipper\\SkipCriteriaResolver\\SkippedMessagesResolver' => __DIR__ . '/..' . '/symplify/skipper/src/SkipCriteriaResolver/SkippedMessagesResolver.php', - 'RectorPrefix20220519\\Symplify\\Skipper\\SkipCriteriaResolver\\SkippedPathsResolver' => __DIR__ . '/..' . '/symplify/skipper/src/SkipCriteriaResolver/SkippedPathsResolver.php', - 'RectorPrefix20220519\\Symplify\\Skipper\\SkipVoter\\ClassAndCodeSkipVoter' => __DIR__ . '/..' . '/symplify/skipper/src/SkipVoter/ClassAndCodeSkipVoter.php', - 'RectorPrefix20220519\\Symplify\\Skipper\\SkipVoter\\ClassSkipVoter' => __DIR__ . '/..' . '/symplify/skipper/src/SkipVoter/ClassSkipVoter.php', - 'RectorPrefix20220519\\Symplify\\Skipper\\SkipVoter\\MessageSkipVoter' => __DIR__ . '/..' . '/symplify/skipper/src/SkipVoter/MessageSkipVoter.php', - 'RectorPrefix20220519\\Symplify\\Skipper\\SkipVoter\\PathSkipVoter' => __DIR__ . '/..' . '/symplify/skipper/src/SkipVoter/PathSkipVoter.php', - 'RectorPrefix20220519\\Symplify\\Skipper\\Skipper\\OnlySkipper' => __DIR__ . '/..' . '/symplify/skipper/src/Skipper/OnlySkipper.php', - 'RectorPrefix20220519\\Symplify\\Skipper\\Skipper\\SkipSkipper' => __DIR__ . '/..' . '/symplify/skipper/src/Skipper/SkipSkipper.php', - 'RectorPrefix20220519\\Symplify\\Skipper\\Skipper\\Skipper' => __DIR__ . '/..' . '/symplify/skipper/src/Skipper/Skipper.php', - 'RectorPrefix20220519\\Symplify\\Skipper\\ValueObject\\Option' => __DIR__ . '/..' . '/symplify/skipper/src/ValueObject/Option.php', - 'RectorPrefix20220519\\Symplify\\Skipper\\ValueObject\\SkipperConfig' => __DIR__ . '/..' . '/symplify/skipper/src/ValueObject/SkipperConfig.php', - 'RectorPrefix20220519\\Symplify\\SmartFileSystem\\Exception\\DirectoryNotFoundException' => __DIR__ . '/..' . '/symplify/smart-file-system/src/Exception/DirectoryNotFoundException.php', - 'RectorPrefix20220519\\Symplify\\SmartFileSystem\\Exception\\FileNotFoundException' => __DIR__ . '/..' . '/symplify/smart-file-system/src/Exception/FileNotFoundException.php', - 'RectorPrefix20220519\\Symplify\\SmartFileSystem\\FileSystemFilter' => __DIR__ . '/..' . '/symplify/smart-file-system/src/FileSystemFilter.php', - 'RectorPrefix20220519\\Symplify\\SmartFileSystem\\FileSystemGuard' => __DIR__ . '/..' . '/symplify/smart-file-system/src/FileSystemGuard.php', - 'RectorPrefix20220519\\Symplify\\SmartFileSystem\\Finder\\FinderSanitizer' => __DIR__ . '/..' . '/symplify/smart-file-system/src/Finder/FinderSanitizer.php', - 'RectorPrefix20220519\\Symplify\\SmartFileSystem\\Finder\\SmartFinder' => __DIR__ . '/..' . '/symplify/smart-file-system/src/Finder/SmartFinder.php', - 'RectorPrefix20220519\\Symplify\\SmartFileSystem\\Json\\JsonFileSystem' => __DIR__ . '/..' . '/symplify/smart-file-system/src/Json/JsonFileSystem.php', - 'RectorPrefix20220519\\Symplify\\SmartFileSystem\\Normalizer\\PathNormalizer' => __DIR__ . '/..' . '/symplify/smart-file-system/src/Normalizer/PathNormalizer.php', - 'RectorPrefix20220519\\Symplify\\SmartFileSystem\\SmartFileInfo' => __DIR__ . '/..' . '/symplify/smart-file-system/src/SmartFileInfo.php', - 'RectorPrefix20220519\\Symplify\\SmartFileSystem\\SmartFileSystem' => __DIR__ . '/..' . '/symplify/smart-file-system/src/SmartFileSystem.php', - 'RectorPrefix20220519\\Symplify\\SymplifyKernel\\Config\\Loader\\ParameterMergingLoaderFactory' => __DIR__ . '/..' . '/symplify/symplify-kernel/src/Config/Loader/ParameterMergingLoaderFactory.php', - 'RectorPrefix20220519\\Symplify\\SymplifyKernel\\ContainerBuilderFactory' => __DIR__ . '/..' . '/symplify/symplify-kernel/src/ContainerBuilderFactory.php', - 'RectorPrefix20220519\\Symplify\\SymplifyKernel\\Contract\\Config\\LoaderFactoryInterface' => __DIR__ . '/..' . '/symplify/symplify-kernel/src/Contract/Config/LoaderFactoryInterface.php', - 'RectorPrefix20220519\\Symplify\\SymplifyKernel\\Contract\\LightKernelInterface' => __DIR__ . '/..' . '/symplify/symplify-kernel/src/Contract/LightKernelInterface.php', - 'RectorPrefix20220519\\Symplify\\SymplifyKernel\\DependencyInjection\\LoadExtensionConfigsCompilerPass' => __DIR__ . '/..' . '/symplify/symplify-kernel/src/DependencyInjection/LoadExtensionConfigsCompilerPass.php', - 'RectorPrefix20220519\\Symplify\\SymplifyKernel\\Exception\\BootException' => __DIR__ . '/..' . '/symplify/symplify-kernel/src/Exception/BootException.php', - 'RectorPrefix20220519\\Symplify\\SymplifyKernel\\Exception\\ShouldNotHappenException' => __DIR__ . '/..' . '/symplify/symplify-kernel/src/Exception/ShouldNotHappenException.php', - 'RectorPrefix20220519\\Symplify\\SymplifyKernel\\HttpKernel\\AbstractSymplifyKernel' => __DIR__ . '/..' . '/symplify/symplify-kernel/src/HttpKernel/AbstractSymplifyKernel.php', - 'RectorPrefix20220519\\Symplify\\SymplifyKernel\\ValueObject\\KernelBootAndApplicationRun' => __DIR__ . '/..' . '/symplify/symplify-kernel/src/ValueObject/KernelBootAndApplicationRun.php', - 'RectorPrefix20220519\\Symplify\\SymplifyKernel\\ValueObject\\SymplifyKernelConfig' => __DIR__ . '/..' . '/symplify/symplify-kernel/src/ValueObject/SymplifyKernelConfig.php', - 'RectorPrefix20220519\\Symplify\\VendorPatches\\Command\\GenerateCommand' => __DIR__ . '/..' . '/symplify/vendor-patches/src/Command/GenerateCommand.php', - 'RectorPrefix20220519\\Symplify\\VendorPatches\\Composer\\ComposerPatchesConfigurationUpdater' => __DIR__ . '/..' . '/symplify/vendor-patches/src/Composer/ComposerPatchesConfigurationUpdater.php', - 'RectorPrefix20220519\\Symplify\\VendorPatches\\Composer\\PackageNameResolver' => __DIR__ . '/..' . '/symplify/vendor-patches/src/Composer/PackageNameResolver.php', - 'RectorPrefix20220519\\Symplify\\VendorPatches\\Console\\GenerateCommandReporter' => __DIR__ . '/..' . '/symplify/vendor-patches/src/Console/GenerateCommandReporter.php', - 'RectorPrefix20220519\\Symplify\\VendorPatches\\Console\\VendorPatchesApplication' => __DIR__ . '/..' . '/symplify/vendor-patches/src/Console/VendorPatchesApplication.php', - 'RectorPrefix20220519\\Symplify\\VendorPatches\\Differ\\PatchDiffer' => __DIR__ . '/..' . '/symplify/vendor-patches/src/Differ/PatchDiffer.php', - 'RectorPrefix20220519\\Symplify\\VendorPatches\\FileSystem\\PathResolver' => __DIR__ . '/..' . '/symplify/vendor-patches/src/FileSystem/PathResolver.php', - 'RectorPrefix20220519\\Symplify\\VendorPatches\\Finder\\OldToNewFilesFinder' => __DIR__ . '/..' . '/symplify/vendor-patches/src/Finder/OldToNewFilesFinder.php', - 'RectorPrefix20220519\\Symplify\\VendorPatches\\Kernel\\VendorPatchesKernel' => __DIR__ . '/..' . '/symplify/vendor-patches/src/Kernel/VendorPatchesKernel.php', - 'RectorPrefix20220519\\Symplify\\VendorPatches\\PatchFileFactory' => __DIR__ . '/..' . '/symplify/vendor-patches/src/PatchFileFactory.php', - 'RectorPrefix20220519\\Symplify\\VendorPatches\\ValueObject\\OldAndNewFileInfo' => __DIR__ . '/..' . '/symplify/vendor-patches/src/ValueObject/OldAndNewFileInfo.php', - 'RectorPrefix20220519\\Tracy\\Bar' => __DIR__ . '/..' . '/tracy/tracy/src/Tracy/Bar/Bar.php', - 'RectorPrefix20220519\\Tracy\\BlueScreen' => __DIR__ . '/..' . '/tracy/tracy/src/Tracy/BlueScreen/BlueScreen.php', - 'RectorPrefix20220519\\Tracy\\Bridges\\Nette\\Bridge' => __DIR__ . '/..' . '/tracy/tracy/src/Bridges/Nette/Bridge.php', - 'RectorPrefix20220519\\Tracy\\Bridges\\Nette\\MailSender' => __DIR__ . '/..' . '/tracy/tracy/src/Bridges/Nette/MailSender.php', - 'RectorPrefix20220519\\Tracy\\Bridges\\Nette\\TracyExtension' => __DIR__ . '/..' . '/tracy/tracy/src/Bridges/Nette/TracyExtension.php', - 'RectorPrefix20220519\\Tracy\\Bridges\\Psr\\PsrToTracyLoggerAdapter' => __DIR__ . '/..' . '/tracy/tracy/src/Bridges/Psr/PsrToTracyLoggerAdapter.php', - 'RectorPrefix20220519\\Tracy\\Bridges\\Psr\\TracyToPsrLoggerAdapter' => __DIR__ . '/..' . '/tracy/tracy/src/Bridges/Psr/TracyToPsrLoggerAdapter.php', - 'RectorPrefix20220519\\Tracy\\Debugger' => __DIR__ . '/..' . '/tracy/tracy/src/Tracy/Debugger/Debugger.php', - 'RectorPrefix20220519\\Tracy\\DefaultBarPanel' => __DIR__ . '/..' . '/tracy/tracy/src/Tracy/Bar/DefaultBarPanel.php', - 'RectorPrefix20220519\\Tracy\\DeferredContent' => __DIR__ . '/..' . '/tracy/tracy/src/Tracy/Debugger/DeferredContent.php', - 'RectorPrefix20220519\\Tracy\\DevelopmentStrategy' => __DIR__ . '/..' . '/tracy/tracy/src/Tracy/Debugger/DevelopmentStrategy.php', - 'RectorPrefix20220519\\Tracy\\Dumper' => __DIR__ . '/..' . '/tracy/tracy/src/Tracy/Dumper/Dumper.php', - 'RectorPrefix20220519\\Tracy\\Dumper\\Describer' => __DIR__ . '/..' . '/tracy/tracy/src/Tracy/Dumper/Describer.php', - 'RectorPrefix20220519\\Tracy\\Dumper\\Exposer' => __DIR__ . '/..' . '/tracy/tracy/src/Tracy/Dumper/Exposer.php', - 'RectorPrefix20220519\\Tracy\\Dumper\\Renderer' => __DIR__ . '/..' . '/tracy/tracy/src/Tracy/Dumper/Renderer.php', - 'RectorPrefix20220519\\Tracy\\Dumper\\Value' => __DIR__ . '/..' . '/tracy/tracy/src/Tracy/Dumper/Value.php', - 'RectorPrefix20220519\\Tracy\\FileSession' => __DIR__ . '/..' . '/tracy/tracy/src/Tracy/Session/FileSession.php', - 'RectorPrefix20220519\\Tracy\\FireLogger' => __DIR__ . '/..' . '/tracy/tracy/src/Tracy/Logger/FireLogger.php', - 'RectorPrefix20220519\\Tracy\\Helpers' => __DIR__ . '/..' . '/tracy/tracy/src/Tracy/Helpers.php', - 'RectorPrefix20220519\\Tracy\\IBarPanel' => __DIR__ . '/..' . '/tracy/tracy/src/Tracy/Bar/IBarPanel.php', - 'RectorPrefix20220519\\Tracy\\ILogger' => __DIR__ . '/..' . '/tracy/tracy/src/Tracy/Logger/ILogger.php', - 'RectorPrefix20220519\\Tracy\\Logger' => __DIR__ . '/..' . '/tracy/tracy/src/Tracy/Logger/Logger.php', - 'RectorPrefix20220519\\Tracy\\NativeSession' => __DIR__ . '/..' . '/tracy/tracy/src/Tracy/Session/NativeSession.php', - 'RectorPrefix20220519\\Tracy\\OutputDebugger' => __DIR__ . '/..' . '/tracy/tracy/src/Tracy/OutputDebugger/OutputDebugger.php', - 'RectorPrefix20220519\\Tracy\\ProductionStrategy' => __DIR__ . '/..' . '/tracy/tracy/src/Tracy/Debugger/ProductionStrategy.php', - 'RectorPrefix20220519\\Tracy\\SessionStorage' => __DIR__ . '/..' . '/tracy/tracy/src/Tracy/Session/SessionStorage.php', - 'RectorPrefix20220519\\Webmozart\\Assert\\Assert' => __DIR__ . '/..' . '/webmozart/assert/src/Assert.php', - 'RectorPrefix20220519\\Webmozart\\Assert\\InvalidArgumentException' => __DIR__ . '/..' . '/webmozart/assert/src/InvalidArgumentException.php', - 'RectorPrefix20220519\\Webmozart\\Assert\\Mixin' => __DIR__ . '/..' . '/webmozart/assert/src/Mixin.php', - 'RectorPrefix20220519\\cweagans\\Composer\\PatchEvent' => __DIR__ . '/..' . '/cweagans/composer-patches/src/PatchEvent.php', - 'RectorPrefix20220519\\cweagans\\Composer\\PatchEvents' => __DIR__ . '/..' . '/cweagans/composer-patches/src/PatchEvents.php', - 'RectorPrefix20220519\\cweagans\\Composer\\Patches' => __DIR__ . '/..' . '/cweagans/composer-patches/src/Patches.php', + 'RectorPrefix20220520\\Clue\\React\\NDJson\\Decoder' => __DIR__ . '/..' . '/clue/ndjson-react/src/Decoder.php', + 'RectorPrefix20220520\\Clue\\React\\NDJson\\Encoder' => __DIR__ . '/..' . '/clue/ndjson-react/src/Encoder.php', + 'RectorPrefix20220520\\Composer\\Pcre\\MatchAllResult' => __DIR__ . '/..' . '/composer/pcre/src/MatchAllResult.php', + 'RectorPrefix20220520\\Composer\\Pcre\\MatchAllWithOffsetsResult' => __DIR__ . '/..' . '/composer/pcre/src/MatchAllWithOffsetsResult.php', + 'RectorPrefix20220520\\Composer\\Pcre\\MatchResult' => __DIR__ . '/..' . '/composer/pcre/src/MatchResult.php', + 'RectorPrefix20220520\\Composer\\Pcre\\MatchWithOffsetsResult' => __DIR__ . '/..' . '/composer/pcre/src/MatchWithOffsetsResult.php', + 'RectorPrefix20220520\\Composer\\Pcre\\PcreException' => __DIR__ . '/..' . '/composer/pcre/src/PcreException.php', + 'RectorPrefix20220520\\Composer\\Pcre\\Preg' => __DIR__ . '/..' . '/composer/pcre/src/Preg.php', + 'RectorPrefix20220520\\Composer\\Pcre\\Regex' => __DIR__ . '/..' . '/composer/pcre/src/Regex.php', + 'RectorPrefix20220520\\Composer\\Pcre\\ReplaceResult' => __DIR__ . '/..' . '/composer/pcre/src/ReplaceResult.php', + 'RectorPrefix20220520\\Composer\\Semver\\Comparator' => __DIR__ . '/..' . '/composer/semver/src/Comparator.php', + 'RectorPrefix20220520\\Composer\\Semver\\CompilingMatcher' => __DIR__ . '/..' . '/composer/semver/src/CompilingMatcher.php', + 'RectorPrefix20220520\\Composer\\Semver\\Constraint\\Bound' => __DIR__ . '/..' . '/composer/semver/src/Constraint/Bound.php', + 'RectorPrefix20220520\\Composer\\Semver\\Constraint\\Constraint' => __DIR__ . '/..' . '/composer/semver/src/Constraint/Constraint.php', + 'RectorPrefix20220520\\Composer\\Semver\\Constraint\\ConstraintInterface' => __DIR__ . '/..' . '/composer/semver/src/Constraint/ConstraintInterface.php', + 'RectorPrefix20220520\\Composer\\Semver\\Constraint\\MatchAllConstraint' => __DIR__ . '/..' . '/composer/semver/src/Constraint/MatchAllConstraint.php', + 'RectorPrefix20220520\\Composer\\Semver\\Constraint\\MatchNoneConstraint' => __DIR__ . '/..' . '/composer/semver/src/Constraint/MatchNoneConstraint.php', + 'RectorPrefix20220520\\Composer\\Semver\\Constraint\\MultiConstraint' => __DIR__ . '/..' . '/composer/semver/src/Constraint/MultiConstraint.php', + 'RectorPrefix20220520\\Composer\\Semver\\Interval' => __DIR__ . '/..' . '/composer/semver/src/Interval.php', + 'RectorPrefix20220520\\Composer\\Semver\\Intervals' => __DIR__ . '/..' . '/composer/semver/src/Intervals.php', + 'RectorPrefix20220520\\Composer\\Semver\\Semver' => __DIR__ . '/..' . '/composer/semver/src/Semver.php', + 'RectorPrefix20220520\\Composer\\Semver\\VersionParser' => __DIR__ . '/..' . '/composer/semver/src/VersionParser.php', + 'RectorPrefix20220520\\Composer\\XdebugHandler\\PhpConfig' => __DIR__ . '/..' . '/composer/xdebug-handler/src/PhpConfig.php', + 'RectorPrefix20220520\\Composer\\XdebugHandler\\Process' => __DIR__ . '/..' . '/composer/xdebug-handler/src/Process.php', + 'RectorPrefix20220520\\Composer\\XdebugHandler\\Status' => __DIR__ . '/..' . '/composer/xdebug-handler/src/Status.php', + 'RectorPrefix20220520\\Composer\\XdebugHandler\\XdebugHandler' => __DIR__ . '/..' . '/composer/xdebug-handler/src/XdebugHandler.php', + 'RectorPrefix20220520\\Doctrine\\Inflector\\CachedWordInflector' => __DIR__ . '/..' . '/doctrine/inflector/lib/Doctrine/Inflector/CachedWordInflector.php', + 'RectorPrefix20220520\\Doctrine\\Inflector\\GenericLanguageInflectorFactory' => __DIR__ . '/..' . '/doctrine/inflector/lib/Doctrine/Inflector/GenericLanguageInflectorFactory.php', + 'RectorPrefix20220520\\Doctrine\\Inflector\\Inflector' => __DIR__ . '/..' . '/doctrine/inflector/lib/Doctrine/Inflector/Inflector.php', + 'RectorPrefix20220520\\Doctrine\\Inflector\\InflectorFactory' => __DIR__ . '/..' . '/doctrine/inflector/lib/Doctrine/Inflector/InflectorFactory.php', + 'RectorPrefix20220520\\Doctrine\\Inflector\\Language' => __DIR__ . '/..' . '/doctrine/inflector/lib/Doctrine/Inflector/Language.php', + 'RectorPrefix20220520\\Doctrine\\Inflector\\LanguageInflectorFactory' => __DIR__ . '/..' . '/doctrine/inflector/lib/Doctrine/Inflector/LanguageInflectorFactory.php', + 'RectorPrefix20220520\\Doctrine\\Inflector\\NoopWordInflector' => __DIR__ . '/..' . '/doctrine/inflector/lib/Doctrine/Inflector/NoopWordInflector.php', + 'RectorPrefix20220520\\Doctrine\\Inflector\\Rules\\English\\Inflectible' => __DIR__ . '/..' . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/English/Inflectible.php', + 'RectorPrefix20220520\\Doctrine\\Inflector\\Rules\\English\\InflectorFactory' => __DIR__ . '/..' . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/English/InflectorFactory.php', + 'RectorPrefix20220520\\Doctrine\\Inflector\\Rules\\English\\Rules' => __DIR__ . '/..' . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/English/Rules.php', + 'RectorPrefix20220520\\Doctrine\\Inflector\\Rules\\English\\Uninflected' => __DIR__ . '/..' . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/English/Uninflected.php', + 'RectorPrefix20220520\\Doctrine\\Inflector\\Rules\\French\\Inflectible' => __DIR__ . '/..' . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/French/Inflectible.php', + 'RectorPrefix20220520\\Doctrine\\Inflector\\Rules\\French\\InflectorFactory' => __DIR__ . '/..' . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/French/InflectorFactory.php', + 'RectorPrefix20220520\\Doctrine\\Inflector\\Rules\\French\\Rules' => __DIR__ . '/..' . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/French/Rules.php', + 'RectorPrefix20220520\\Doctrine\\Inflector\\Rules\\French\\Uninflected' => __DIR__ . '/..' . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/French/Uninflected.php', + 'RectorPrefix20220520\\Doctrine\\Inflector\\Rules\\NorwegianBokmal\\Inflectible' => __DIR__ . '/..' . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/NorwegianBokmal/Inflectible.php', + 'RectorPrefix20220520\\Doctrine\\Inflector\\Rules\\NorwegianBokmal\\InflectorFactory' => __DIR__ . '/..' . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/NorwegianBokmal/InflectorFactory.php', + 'RectorPrefix20220520\\Doctrine\\Inflector\\Rules\\NorwegianBokmal\\Rules' => __DIR__ . '/..' . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/NorwegianBokmal/Rules.php', + 'RectorPrefix20220520\\Doctrine\\Inflector\\Rules\\NorwegianBokmal\\Uninflected' => __DIR__ . '/..' . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/NorwegianBokmal/Uninflected.php', + 'RectorPrefix20220520\\Doctrine\\Inflector\\Rules\\Pattern' => __DIR__ . '/..' . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/Pattern.php', + 'RectorPrefix20220520\\Doctrine\\Inflector\\Rules\\Patterns' => __DIR__ . '/..' . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/Patterns.php', + 'RectorPrefix20220520\\Doctrine\\Inflector\\Rules\\Portuguese\\Inflectible' => __DIR__ . '/..' . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/Portuguese/Inflectible.php', + 'RectorPrefix20220520\\Doctrine\\Inflector\\Rules\\Portuguese\\InflectorFactory' => __DIR__ . '/..' . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/Portuguese/InflectorFactory.php', + 'RectorPrefix20220520\\Doctrine\\Inflector\\Rules\\Portuguese\\Rules' => __DIR__ . '/..' . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/Portuguese/Rules.php', + 'RectorPrefix20220520\\Doctrine\\Inflector\\Rules\\Portuguese\\Uninflected' => __DIR__ . '/..' . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/Portuguese/Uninflected.php', + 'RectorPrefix20220520\\Doctrine\\Inflector\\Rules\\Ruleset' => __DIR__ . '/..' . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/Ruleset.php', + 'RectorPrefix20220520\\Doctrine\\Inflector\\Rules\\Spanish\\Inflectible' => __DIR__ . '/..' . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/Spanish/Inflectible.php', + 'RectorPrefix20220520\\Doctrine\\Inflector\\Rules\\Spanish\\InflectorFactory' => __DIR__ . '/..' . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/Spanish/InflectorFactory.php', + 'RectorPrefix20220520\\Doctrine\\Inflector\\Rules\\Spanish\\Rules' => __DIR__ . '/..' . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/Spanish/Rules.php', + 'RectorPrefix20220520\\Doctrine\\Inflector\\Rules\\Spanish\\Uninflected' => __DIR__ . '/..' . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/Spanish/Uninflected.php', + 'RectorPrefix20220520\\Doctrine\\Inflector\\Rules\\Substitution' => __DIR__ . '/..' . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/Substitution.php', + 'RectorPrefix20220520\\Doctrine\\Inflector\\Rules\\Substitutions' => __DIR__ . '/..' . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/Substitutions.php', + 'RectorPrefix20220520\\Doctrine\\Inflector\\Rules\\Transformation' => __DIR__ . '/..' . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/Transformation.php', + 'RectorPrefix20220520\\Doctrine\\Inflector\\Rules\\Transformations' => __DIR__ . '/..' . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/Transformations.php', + 'RectorPrefix20220520\\Doctrine\\Inflector\\Rules\\Turkish\\Inflectible' => __DIR__ . '/..' . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/Turkish/Inflectible.php', + 'RectorPrefix20220520\\Doctrine\\Inflector\\Rules\\Turkish\\InflectorFactory' => __DIR__ . '/..' . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/Turkish/InflectorFactory.php', + 'RectorPrefix20220520\\Doctrine\\Inflector\\Rules\\Turkish\\Rules' => __DIR__ . '/..' . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/Turkish/Rules.php', + 'RectorPrefix20220520\\Doctrine\\Inflector\\Rules\\Turkish\\Uninflected' => __DIR__ . '/..' . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/Turkish/Uninflected.php', + 'RectorPrefix20220520\\Doctrine\\Inflector\\Rules\\Word' => __DIR__ . '/..' . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/Word.php', + 'RectorPrefix20220520\\Doctrine\\Inflector\\RulesetInflector' => __DIR__ . '/..' . '/doctrine/inflector/lib/Doctrine/Inflector/RulesetInflector.php', + 'RectorPrefix20220520\\Doctrine\\Inflector\\WordInflector' => __DIR__ . '/..' . '/doctrine/inflector/lib/Doctrine/Inflector/WordInflector.php', + 'RectorPrefix20220520\\Ergebnis\\Json\\Printer\\Printer' => __DIR__ . '/..' . '/ergebnis/json-printer/src/Printer.php', + 'RectorPrefix20220520\\Ergebnis\\Json\\Printer\\PrinterInterface' => __DIR__ . '/..' . '/ergebnis/json-printer/src/PrinterInterface.php', + 'RectorPrefix20220520\\Evenement\\EventEmitter' => __DIR__ . '/..' . '/evenement/evenement/src/Evenement/EventEmitter.php', + 'RectorPrefix20220520\\Evenement\\EventEmitterInterface' => __DIR__ . '/..' . '/evenement/evenement/src/Evenement/EventEmitterInterface.php', + 'RectorPrefix20220520\\Evenement\\EventEmitterTrait' => __DIR__ . '/..' . '/evenement/evenement/src/Evenement/EventEmitterTrait.php', + 'RectorPrefix20220520\\Helmich\\TypoScriptParser\\Parser\\AST\\Builder' => __DIR__ . '/..' . '/helmich/typo3-typoscript-parser/src/Parser/AST/Builder.php', + 'RectorPrefix20220520\\Helmich\\TypoScriptParser\\Parser\\AST\\Comment' => __DIR__ . '/..' . '/helmich/typo3-typoscript-parser/src/Parser/AST/Comment.php', + 'RectorPrefix20220520\\Helmich\\TypoScriptParser\\Parser\\AST\\ConditionalStatement' => __DIR__ . '/..' . '/helmich/typo3-typoscript-parser/src/Parser/AST/ConditionalStatement.php', + 'RectorPrefix20220520\\Helmich\\TypoScriptParser\\Parser\\AST\\DirectoryIncludeStatement' => __DIR__ . '/..' . '/helmich/typo3-typoscript-parser/src/Parser/AST/DirectoryIncludeStatement.php', + 'RectorPrefix20220520\\Helmich\\TypoScriptParser\\Parser\\AST\\FileIncludeStatement' => __DIR__ . '/..' . '/helmich/typo3-typoscript-parser/src/Parser/AST/FileIncludeStatement.php', + 'RectorPrefix20220520\\Helmich\\TypoScriptParser\\Parser\\AST\\IncludeStatement' => __DIR__ . '/..' . '/helmich/typo3-typoscript-parser/src/Parser/AST/IncludeStatement.php', + 'RectorPrefix20220520\\Helmich\\TypoScriptParser\\Parser\\AST\\MultilineComment' => __DIR__ . '/..' . '/helmich/typo3-typoscript-parser/src/Parser/AST/MultilineComment.php', + 'RectorPrefix20220520\\Helmich\\TypoScriptParser\\Parser\\AST\\NestedAssignment' => __DIR__ . '/..' . '/helmich/typo3-typoscript-parser/src/Parser/AST/NestedAssignment.php', + 'RectorPrefix20220520\\Helmich\\TypoScriptParser\\Parser\\AST\\NopStatement' => __DIR__ . '/..' . '/helmich/typo3-typoscript-parser/src/Parser/AST/NopStatement.php', + 'RectorPrefix20220520\\Helmich\\TypoScriptParser\\Parser\\AST\\ObjectPath' => __DIR__ . '/..' . '/helmich/typo3-typoscript-parser/src/Parser/AST/ObjectPath.php', + 'RectorPrefix20220520\\Helmich\\TypoScriptParser\\Parser\\AST\\Operator\\Assignment' => __DIR__ . '/..' . '/helmich/typo3-typoscript-parser/src/Parser/AST/Operator/Assignment.php', + 'RectorPrefix20220520\\Helmich\\TypoScriptParser\\Parser\\AST\\Operator\\BinaryObjectOperator' => __DIR__ . '/..' . '/helmich/typo3-typoscript-parser/src/Parser/AST/Operator/BinaryObjectOperator.php', + 'RectorPrefix20220520\\Helmich\\TypoScriptParser\\Parser\\AST\\Operator\\BinaryOperator' => __DIR__ . '/..' . '/helmich/typo3-typoscript-parser/src/Parser/AST/Operator/BinaryOperator.php', + 'RectorPrefix20220520\\Helmich\\TypoScriptParser\\Parser\\AST\\Operator\\Builder' => __DIR__ . '/..' . '/helmich/typo3-typoscript-parser/src/Parser/AST/Operator/Builder.php', + 'RectorPrefix20220520\\Helmich\\TypoScriptParser\\Parser\\AST\\Operator\\Copy' => __DIR__ . '/..' . '/helmich/typo3-typoscript-parser/src/Parser/AST/Operator/Copy.php', + 'RectorPrefix20220520\\Helmich\\TypoScriptParser\\Parser\\AST\\Operator\\Delete' => __DIR__ . '/..' . '/helmich/typo3-typoscript-parser/src/Parser/AST/Operator/Delete.php', + 'RectorPrefix20220520\\Helmich\\TypoScriptParser\\Parser\\AST\\Operator\\Modification' => __DIR__ . '/..' . '/helmich/typo3-typoscript-parser/src/Parser/AST/Operator/Modification.php', + 'RectorPrefix20220520\\Helmich\\TypoScriptParser\\Parser\\AST\\Operator\\ModificationCall' => __DIR__ . '/..' . '/helmich/typo3-typoscript-parser/src/Parser/AST/Operator/ModificationCall.php', + 'RectorPrefix20220520\\Helmich\\TypoScriptParser\\Parser\\AST\\Operator\\ObjectCreation' => __DIR__ . '/..' . '/helmich/typo3-typoscript-parser/src/Parser/AST/Operator/ObjectCreation.php', + 'RectorPrefix20220520\\Helmich\\TypoScriptParser\\Parser\\AST\\Operator\\Reference' => __DIR__ . '/..' . '/helmich/typo3-typoscript-parser/src/Parser/AST/Operator/Reference.php', + 'RectorPrefix20220520\\Helmich\\TypoScriptParser\\Parser\\AST\\Operator\\UnaryOperator' => __DIR__ . '/..' . '/helmich/typo3-typoscript-parser/src/Parser/AST/Operator/UnaryOperator.php', + 'RectorPrefix20220520\\Helmich\\TypoScriptParser\\Parser\\AST\\RootObjectPath' => __DIR__ . '/..' . '/helmich/typo3-typoscript-parser/src/Parser/AST/RootObjectPath.php', + 'RectorPrefix20220520\\Helmich\\TypoScriptParser\\Parser\\AST\\Scalar' => __DIR__ . '/..' . '/helmich/typo3-typoscript-parser/src/Parser/AST/Scalar.php', + 'RectorPrefix20220520\\Helmich\\TypoScriptParser\\Parser\\AST\\Statement' => __DIR__ . '/..' . '/helmich/typo3-typoscript-parser/src/Parser/AST/Statement.php', + 'RectorPrefix20220520\\Helmich\\TypoScriptParser\\Parser\\ParseError' => __DIR__ . '/..' . '/helmich/typo3-typoscript-parser/src/Parser/ParseError.php', + 'RectorPrefix20220520\\Helmich\\TypoScriptParser\\Parser\\Parser' => __DIR__ . '/..' . '/helmich/typo3-typoscript-parser/src/Parser/Parser.php', + 'RectorPrefix20220520\\Helmich\\TypoScriptParser\\Parser\\ParserInterface' => __DIR__ . '/..' . '/helmich/typo3-typoscript-parser/src/Parser/ParserInterface.php', + 'RectorPrefix20220520\\Helmich\\TypoScriptParser\\Parser\\ParserState' => __DIR__ . '/..' . '/helmich/typo3-typoscript-parser/src/Parser/ParserState.php', + 'RectorPrefix20220520\\Helmich\\TypoScriptParser\\Parser\\Printer\\ASTPrinterInterface' => __DIR__ . '/..' . '/helmich/typo3-typoscript-parser/src/Parser/Printer/ASTPrinterInterface.php', + 'RectorPrefix20220520\\Helmich\\TypoScriptParser\\Parser\\Printer\\PrettyPrinter' => __DIR__ . '/..' . '/helmich/typo3-typoscript-parser/src/Parser/Printer/PrettyPrinter.php', + 'RectorPrefix20220520\\Helmich\\TypoScriptParser\\Parser\\Printer\\PrettyPrinterConfiguration' => __DIR__ . '/..' . '/helmich/typo3-typoscript-parser/src/Parser/Printer/PrettyPrinterConfiguration.php', + 'RectorPrefix20220520\\Helmich\\TypoScriptParser\\Parser\\TokenStream' => __DIR__ . '/..' . '/helmich/typo3-typoscript-parser/src/Parser/TokenStream.php', + 'RectorPrefix20220520\\Helmich\\TypoScriptParser\\Parser\\Traverser\\AggregatingVisitor' => __DIR__ . '/..' . '/helmich/typo3-typoscript-parser/src/Parser/Traverser/AggregatingVisitor.php', + 'RectorPrefix20220520\\Helmich\\TypoScriptParser\\Parser\\Traverser\\Traverser' => __DIR__ . '/..' . '/helmich/typo3-typoscript-parser/src/Parser/Traverser/Traverser.php', + 'RectorPrefix20220520\\Helmich\\TypoScriptParser\\Parser\\Traverser\\Visitor' => __DIR__ . '/..' . '/helmich/typo3-typoscript-parser/src/Parser/Traverser/Visitor.php', + 'RectorPrefix20220520\\Helmich\\TypoScriptParser\\Tokenizer\\LineGrouper' => __DIR__ . '/..' . '/helmich/typo3-typoscript-parser/src/Tokenizer/LineGrouper.php', + 'RectorPrefix20220520\\Helmich\\TypoScriptParser\\Tokenizer\\MultilineTokenBuilder' => __DIR__ . '/..' . '/helmich/typo3-typoscript-parser/src/Tokenizer/MultilineTokenBuilder.php', + 'RectorPrefix20220520\\Helmich\\TypoScriptParser\\Tokenizer\\Preprocessing\\NoOpPreprocessor' => __DIR__ . '/..' . '/helmich/typo3-typoscript-parser/src/Tokenizer/Preprocessing/NoOpPreprocessor.php', + 'RectorPrefix20220520\\Helmich\\TypoScriptParser\\Tokenizer\\Preprocessing\\Preprocessor' => __DIR__ . '/..' . '/helmich/typo3-typoscript-parser/src/Tokenizer/Preprocessing/Preprocessor.php', + 'RectorPrefix20220520\\Helmich\\TypoScriptParser\\Tokenizer\\Preprocessing\\ProcessorChain' => __DIR__ . '/..' . '/helmich/typo3-typoscript-parser/src/Tokenizer/Preprocessing/ProcessorChain.php', + 'RectorPrefix20220520\\Helmich\\TypoScriptParser\\Tokenizer\\Preprocessing\\RemoveTrailingWhitespacePreprocessor' => __DIR__ . '/..' . '/helmich/typo3-typoscript-parser/src/Tokenizer/Preprocessing/RemoveTrailingWhitespacePreprocessor.php', + 'RectorPrefix20220520\\Helmich\\TypoScriptParser\\Tokenizer\\Preprocessing\\StandardPreprocessor' => __DIR__ . '/..' . '/helmich/typo3-typoscript-parser/src/Tokenizer/Preprocessing/StandardPreprocessor.php', + 'RectorPrefix20220520\\Helmich\\TypoScriptParser\\Tokenizer\\Preprocessing\\UnifyLineEndingsPreprocessor' => __DIR__ . '/..' . '/helmich/typo3-typoscript-parser/src/Tokenizer/Preprocessing/UnifyLineEndingsPreprocessor.php', + 'RectorPrefix20220520\\Helmich\\TypoScriptParser\\Tokenizer\\Printer\\CodeTokenPrinter' => __DIR__ . '/..' . '/helmich/typo3-typoscript-parser/src/Tokenizer/Printer/CodeTokenPrinter.php', + 'RectorPrefix20220520\\Helmich\\TypoScriptParser\\Tokenizer\\Printer\\StructuredTokenPrinter' => __DIR__ . '/..' . '/helmich/typo3-typoscript-parser/src/Tokenizer/Printer/StructuredTokenPrinter.php', + 'RectorPrefix20220520\\Helmich\\TypoScriptParser\\Tokenizer\\Printer\\TokenPrinterInterface' => __DIR__ . '/..' . '/helmich/typo3-typoscript-parser/src/Tokenizer/Printer/TokenPrinterInterface.php', + 'RectorPrefix20220520\\Helmich\\TypoScriptParser\\Tokenizer\\Scanner' => __DIR__ . '/..' . '/helmich/typo3-typoscript-parser/src/Tokenizer/Scanner.php', + 'RectorPrefix20220520\\Helmich\\TypoScriptParser\\Tokenizer\\ScannerLine' => __DIR__ . '/..' . '/helmich/typo3-typoscript-parser/src/Tokenizer/ScannerLine.php', + 'RectorPrefix20220520\\Helmich\\TypoScriptParser\\Tokenizer\\Token' => __DIR__ . '/..' . '/helmich/typo3-typoscript-parser/src/Tokenizer/Token.php', + 'RectorPrefix20220520\\Helmich\\TypoScriptParser\\Tokenizer\\TokenInterface' => __DIR__ . '/..' . '/helmich/typo3-typoscript-parser/src/Tokenizer/TokenInterface.php', + 'RectorPrefix20220520\\Helmich\\TypoScriptParser\\Tokenizer\\TokenStreamBuilder' => __DIR__ . '/..' . '/helmich/typo3-typoscript-parser/src/Tokenizer/TokenStreamBuilder.php', + 'RectorPrefix20220520\\Helmich\\TypoScriptParser\\Tokenizer\\Tokenizer' => __DIR__ . '/..' . '/helmich/typo3-typoscript-parser/src/Tokenizer/Tokenizer.php', + 'RectorPrefix20220520\\Helmich\\TypoScriptParser\\Tokenizer\\TokenizerException' => __DIR__ . '/..' . '/helmich/typo3-typoscript-parser/src/Tokenizer/TokenizerException.php', + 'RectorPrefix20220520\\Helmich\\TypoScriptParser\\Tokenizer\\TokenizerInterface' => __DIR__ . '/..' . '/helmich/typo3-typoscript-parser/src/Tokenizer/TokenizerInterface.php', + 'RectorPrefix20220520\\Helmich\\TypoScriptParser\\Tokenizer\\UnknownOperatorException' => __DIR__ . '/..' . '/helmich/typo3-typoscript-parser/src/Tokenizer/UnknownOperatorException.php', + 'RectorPrefix20220520\\Helmich\\TypoScriptParser\\TypoScriptParserExtension' => __DIR__ . '/..' . '/helmich/typo3-typoscript-parser/src/TypoScriptParserExtension.php', + 'RectorPrefix20220520\\Idiosyncratic\\EditorConfig\\Declaration\\BooleanDeclaration' => __DIR__ . '/..' . '/idiosyncratic/editorconfig/src/Declaration/BooleanDeclaration.php', + 'RectorPrefix20220520\\Idiosyncratic\\EditorConfig\\Declaration\\Charset' => __DIR__ . '/..' . '/idiosyncratic/editorconfig/src/Declaration/Charset.php', + 'RectorPrefix20220520\\Idiosyncratic\\EditorConfig\\Declaration\\Declaration' => __DIR__ . '/..' . '/idiosyncratic/editorconfig/src/Declaration/Declaration.php', + 'RectorPrefix20220520\\Idiosyncratic\\EditorConfig\\Declaration\\EndOfLine' => __DIR__ . '/..' . '/idiosyncratic/editorconfig/src/Declaration/EndOfLine.php', + 'RectorPrefix20220520\\Idiosyncratic\\EditorConfig\\Declaration\\Factory' => __DIR__ . '/..' . '/idiosyncratic/editorconfig/src/Declaration/Factory.php', + 'RectorPrefix20220520\\Idiosyncratic\\EditorConfig\\Declaration\\GenericDeclaration' => __DIR__ . '/..' . '/idiosyncratic/editorconfig/src/Declaration/GenericDeclaration.php', + 'RectorPrefix20220520\\Idiosyncratic\\EditorConfig\\Declaration\\IndentSize' => __DIR__ . '/..' . '/idiosyncratic/editorconfig/src/Declaration/IndentSize.php', + 'RectorPrefix20220520\\Idiosyncratic\\EditorConfig\\Declaration\\IndentStyle' => __DIR__ . '/..' . '/idiosyncratic/editorconfig/src/Declaration/IndentStyle.php', + 'RectorPrefix20220520\\Idiosyncratic\\EditorConfig\\Declaration\\InsertFinalNewline' => __DIR__ . '/..' . '/idiosyncratic/editorconfig/src/Declaration/InsertFinalNewline.php', + 'RectorPrefix20220520\\Idiosyncratic\\EditorConfig\\Declaration\\MaxLineLength' => __DIR__ . '/..' . '/idiosyncratic/editorconfig/src/Declaration/MaxLineLength.php', + 'RectorPrefix20220520\\Idiosyncratic\\EditorConfig\\Declaration\\TabWidth' => __DIR__ . '/..' . '/idiosyncratic/editorconfig/src/Declaration/TabWidth.php', + 'RectorPrefix20220520\\Idiosyncratic\\EditorConfig\\Declaration\\TrimTrailingWhitespace' => __DIR__ . '/..' . '/idiosyncratic/editorconfig/src/Declaration/TrimTrailingWhitespace.php', + 'RectorPrefix20220520\\Idiosyncratic\\EditorConfig\\Declaration\\UnsetDeclaration' => __DIR__ . '/..' . '/idiosyncratic/editorconfig/src/Declaration/UnsetDeclaration.php', + 'RectorPrefix20220520\\Idiosyncratic\\EditorConfig\\EditorConfig' => __DIR__ . '/..' . '/idiosyncratic/editorconfig/src/EditorConfig.php', + 'RectorPrefix20220520\\Idiosyncratic\\EditorConfig\\EditorConfigFile' => __DIR__ . '/..' . '/idiosyncratic/editorconfig/src/EditorConfigFile.php', + 'RectorPrefix20220520\\Idiosyncratic\\EditorConfig\\Exception\\InvalidValue' => __DIR__ . '/..' . '/idiosyncratic/editorconfig/src/Exception/InvalidValue.php', + 'RectorPrefix20220520\\Idiosyncratic\\EditorConfig\\Section' => __DIR__ . '/..' . '/idiosyncratic/editorconfig/src/Section.php', + 'RectorPrefix20220520\\MyCLabs\\Enum\\Enum' => __DIR__ . '/..' . '/myclabs/php-enum/src/Enum.php', + 'RectorPrefix20220520\\MyCLabs\\Enum\\PHPUnit\\Comparator' => __DIR__ . '/..' . '/myclabs/php-enum/src/PHPUnit/Comparator.php', + 'RectorPrefix20220520\\Nette\\ArgumentOutOfRangeException' => __DIR__ . '/..' . '/nette/utils/src/exceptions.php', + 'RectorPrefix20220520\\Nette\\DeprecatedException' => __DIR__ . '/..' . '/nette/utils/src/exceptions.php', + 'RectorPrefix20220520\\Nette\\DirectoryNotFoundException' => __DIR__ . '/..' . '/nette/utils/src/exceptions.php', + 'RectorPrefix20220520\\Nette\\FileNotFoundException' => __DIR__ . '/..' . '/nette/utils/src/exceptions.php', + 'RectorPrefix20220520\\Nette\\HtmlStringable' => __DIR__ . '/..' . '/nette/utils/src/HtmlStringable.php', + 'RectorPrefix20220520\\Nette\\IOException' => __DIR__ . '/..' . '/nette/utils/src/exceptions.php', + 'RectorPrefix20220520\\Nette\\InvalidArgumentException' => __DIR__ . '/..' . '/nette/utils/src/exceptions.php', + 'RectorPrefix20220520\\Nette\\InvalidStateException' => __DIR__ . '/..' . '/nette/utils/src/exceptions.php', + 'RectorPrefix20220520\\Nette\\Iterators\\CachingIterator' => __DIR__ . '/..' . '/nette/utils/src/Iterators/CachingIterator.php', + 'RectorPrefix20220520\\Nette\\Iterators\\Mapper' => __DIR__ . '/..' . '/nette/utils/src/Iterators/Mapper.php', + 'RectorPrefix20220520\\Nette\\Localization\\ITranslator' => __DIR__ . '/..' . '/nette/utils/src/compatibility.php', + 'RectorPrefix20220520\\Nette\\Localization\\Translator' => __DIR__ . '/..' . '/nette/utils/src/Translator.php', + 'RectorPrefix20220520\\Nette\\MemberAccessException' => __DIR__ . '/..' . '/nette/utils/src/exceptions.php', + 'RectorPrefix20220520\\Nette\\Neon\\Decoder' => __DIR__ . '/..' . '/nette/neon/src/Neon/Decoder.php', + 'RectorPrefix20220520\\Nette\\Neon\\Encoder' => __DIR__ . '/..' . '/nette/neon/src/Neon/Encoder.php', + 'RectorPrefix20220520\\Nette\\Neon\\Entity' => __DIR__ . '/..' . '/nette/neon/src/Neon/Entity.php', + 'RectorPrefix20220520\\Nette\\Neon\\Exception' => __DIR__ . '/..' . '/nette/neon/src/Neon/Exception.php', + 'RectorPrefix20220520\\Nette\\Neon\\Lexer' => __DIR__ . '/..' . '/nette/neon/src/Neon/Lexer.php', + 'RectorPrefix20220520\\Nette\\Neon\\Neon' => __DIR__ . '/..' . '/nette/neon/src/Neon/Neon.php', + 'RectorPrefix20220520\\Nette\\Neon\\Node' => __DIR__ . '/..' . '/nette/neon/src/Neon/Node.php', + 'RectorPrefix20220520\\Nette\\Neon\\Node\\ArrayItemNode' => __DIR__ . '/..' . '/nette/neon/src/Neon/Node/ArrayItemNode.php', + 'RectorPrefix20220520\\Nette\\Neon\\Node\\ArrayNode' => __DIR__ . '/..' . '/nette/neon/src/Neon/Node/ArrayNode.php', + 'RectorPrefix20220520\\Nette\\Neon\\Node\\BlockArrayNode' => __DIR__ . '/..' . '/nette/neon/src/Neon/Node/BlockArrayNode.php', + 'RectorPrefix20220520\\Nette\\Neon\\Node\\EntityChainNode' => __DIR__ . '/..' . '/nette/neon/src/Neon/Node/EntityChainNode.php', + 'RectorPrefix20220520\\Nette\\Neon\\Node\\EntityNode' => __DIR__ . '/..' . '/nette/neon/src/Neon/Node/EntityNode.php', + 'RectorPrefix20220520\\Nette\\Neon\\Node\\InlineArrayNode' => __DIR__ . '/..' . '/nette/neon/src/Neon/Node/InlineArrayNode.php', + 'RectorPrefix20220520\\Nette\\Neon\\Node\\LiteralNode' => __DIR__ . '/..' . '/nette/neon/src/Neon/Node/LiteralNode.php', + 'RectorPrefix20220520\\Nette\\Neon\\Node\\StringNode' => __DIR__ . '/..' . '/nette/neon/src/Neon/Node/StringNode.php', + 'RectorPrefix20220520\\Nette\\Neon\\Parser' => __DIR__ . '/..' . '/nette/neon/src/Neon/Parser.php', + 'RectorPrefix20220520\\Nette\\Neon\\Token' => __DIR__ . '/..' . '/nette/neon/src/Neon/Token.php', + 'RectorPrefix20220520\\Nette\\Neon\\TokenStream' => __DIR__ . '/..' . '/nette/neon/src/Neon/TokenStream.php', + 'RectorPrefix20220520\\Nette\\Neon\\Traverser' => __DIR__ . '/..' . '/nette/neon/src/Neon/Traverser.php', + 'RectorPrefix20220520\\Nette\\NotImplementedException' => __DIR__ . '/..' . '/nette/utils/src/exceptions.php', + 'RectorPrefix20220520\\Nette\\NotSupportedException' => __DIR__ . '/..' . '/nette/utils/src/exceptions.php', + 'RectorPrefix20220520\\Nette\\OutOfRangeException' => __DIR__ . '/..' . '/nette/utils/src/exceptions.php', + 'RectorPrefix20220520\\Nette\\SmartObject' => __DIR__ . '/..' . '/nette/utils/src/SmartObject.php', + 'RectorPrefix20220520\\Nette\\StaticClass' => __DIR__ . '/..' . '/nette/utils/src/StaticClass.php', + 'RectorPrefix20220520\\Nette\\UnexpectedValueException' => __DIR__ . '/..' . '/nette/utils/src/exceptions.php', + 'RectorPrefix20220520\\Nette\\Utils\\ArrayHash' => __DIR__ . '/..' . '/nette/utils/src/Utils/ArrayHash.php', + 'RectorPrefix20220520\\Nette\\Utils\\ArrayList' => __DIR__ . '/..' . '/nette/utils/src/Utils/ArrayList.php', + 'RectorPrefix20220520\\Nette\\Utils\\Arrays' => __DIR__ . '/..' . '/nette/utils/src/Utils/Arrays.php', + 'RectorPrefix20220520\\Nette\\Utils\\AssertionException' => __DIR__ . '/..' . '/nette/utils/src/Utils/exceptions.php', + 'RectorPrefix20220520\\Nette\\Utils\\Callback' => __DIR__ . '/..' . '/nette/utils/src/Utils/Callback.php', + 'RectorPrefix20220520\\Nette\\Utils\\DateTime' => __DIR__ . '/..' . '/nette/utils/src/Utils/DateTime.php', + 'RectorPrefix20220520\\Nette\\Utils\\FileSystem' => __DIR__ . '/..' . '/nette/utils/src/Utils/FileSystem.php', + 'RectorPrefix20220520\\Nette\\Utils\\Floats' => __DIR__ . '/..' . '/nette/utils/src/Utils/Floats.php', + 'RectorPrefix20220520\\Nette\\Utils\\Helpers' => __DIR__ . '/..' . '/nette/utils/src/Utils/Helpers.php', + 'RectorPrefix20220520\\Nette\\Utils\\Html' => __DIR__ . '/..' . '/nette/utils/src/Utils/Html.php', + 'RectorPrefix20220520\\Nette\\Utils\\IHtmlString' => __DIR__ . '/..' . '/nette/utils/src/compatibility.php', + 'RectorPrefix20220520\\Nette\\Utils\\Image' => __DIR__ . '/..' . '/nette/utils/src/Utils/Image.php', + 'RectorPrefix20220520\\Nette\\Utils\\ImageException' => __DIR__ . '/..' . '/nette/utils/src/Utils/exceptions.php', + 'RectorPrefix20220520\\Nette\\Utils\\Json' => __DIR__ . '/..' . '/nette/utils/src/Utils/Json.php', + 'RectorPrefix20220520\\Nette\\Utils\\JsonException' => __DIR__ . '/..' . '/nette/utils/src/Utils/exceptions.php', + 'RectorPrefix20220520\\Nette\\Utils\\ObjectHelpers' => __DIR__ . '/..' . '/nette/utils/src/Utils/ObjectHelpers.php', + 'RectorPrefix20220520\\Nette\\Utils\\ObjectMixin' => __DIR__ . '/..' . '/nette/utils/src/Utils/ObjectMixin.php', + 'RectorPrefix20220520\\Nette\\Utils\\Paginator' => __DIR__ . '/..' . '/nette/utils/src/Utils/Paginator.php', + 'RectorPrefix20220520\\Nette\\Utils\\Random' => __DIR__ . '/..' . '/nette/utils/src/Utils/Random.php', + 'RectorPrefix20220520\\Nette\\Utils\\Reflection' => __DIR__ . '/..' . '/nette/utils/src/Utils/Reflection.php', + 'RectorPrefix20220520\\Nette\\Utils\\RegexpException' => __DIR__ . '/..' . '/nette/utils/src/Utils/exceptions.php', + 'RectorPrefix20220520\\Nette\\Utils\\Strings' => __DIR__ . '/..' . '/nette/utils/src/Utils/Strings.php', + 'RectorPrefix20220520\\Nette\\Utils\\Type' => __DIR__ . '/..' . '/nette/utils/src/Utils/Type.php', + 'RectorPrefix20220520\\Nette\\Utils\\UnknownImageFileException' => __DIR__ . '/..' . '/nette/utils/src/Utils/exceptions.php', + 'RectorPrefix20220520\\Nette\\Utils\\Validators' => __DIR__ . '/..' . '/nette/utils/src/Utils/Validators.php', + 'RectorPrefix20220520\\OndraM\\CiDetector\\CiDetector' => __DIR__ . '/..' . '/ondram/ci-detector/src/CiDetector.php', + 'RectorPrefix20220520\\OndraM\\CiDetector\\CiDetectorInterface' => __DIR__ . '/..' . '/ondram/ci-detector/src/CiDetectorInterface.php', + 'RectorPrefix20220520\\OndraM\\CiDetector\\Ci\\AbstractCi' => __DIR__ . '/..' . '/ondram/ci-detector/src/Ci/AbstractCi.php', + 'RectorPrefix20220520\\OndraM\\CiDetector\\Ci\\AppVeyor' => __DIR__ . '/..' . '/ondram/ci-detector/src/Ci/AppVeyor.php', + 'RectorPrefix20220520\\OndraM\\CiDetector\\Ci\\AwsCodeBuild' => __DIR__ . '/..' . '/ondram/ci-detector/src/Ci/AwsCodeBuild.php', + 'RectorPrefix20220520\\OndraM\\CiDetector\\Ci\\AzurePipelines' => __DIR__ . '/..' . '/ondram/ci-detector/src/Ci/AzurePipelines.php', + 'RectorPrefix20220520\\OndraM\\CiDetector\\Ci\\Bamboo' => __DIR__ . '/..' . '/ondram/ci-detector/src/Ci/Bamboo.php', + 'RectorPrefix20220520\\OndraM\\CiDetector\\Ci\\BitbucketPipelines' => __DIR__ . '/..' . '/ondram/ci-detector/src/Ci/BitbucketPipelines.php', + 'RectorPrefix20220520\\OndraM\\CiDetector\\Ci\\Buddy' => __DIR__ . '/..' . '/ondram/ci-detector/src/Ci/Buddy.php', + 'RectorPrefix20220520\\OndraM\\CiDetector\\Ci\\CiInterface' => __DIR__ . '/..' . '/ondram/ci-detector/src/Ci/CiInterface.php', + 'RectorPrefix20220520\\OndraM\\CiDetector\\Ci\\Circle' => __DIR__ . '/..' . '/ondram/ci-detector/src/Ci/Circle.php', + 'RectorPrefix20220520\\OndraM\\CiDetector\\Ci\\Codeship' => __DIR__ . '/..' . '/ondram/ci-detector/src/Ci/Codeship.php', + 'RectorPrefix20220520\\OndraM\\CiDetector\\Ci\\Continuousphp' => __DIR__ . '/..' . '/ondram/ci-detector/src/Ci/Continuousphp.php', + 'RectorPrefix20220520\\OndraM\\CiDetector\\Ci\\Drone' => __DIR__ . '/..' . '/ondram/ci-detector/src/Ci/Drone.php', + 'RectorPrefix20220520\\OndraM\\CiDetector\\Ci\\GitHubActions' => __DIR__ . '/..' . '/ondram/ci-detector/src/Ci/GitHubActions.php', + 'RectorPrefix20220520\\OndraM\\CiDetector\\Ci\\GitLab' => __DIR__ . '/..' . '/ondram/ci-detector/src/Ci/GitLab.php', + 'RectorPrefix20220520\\OndraM\\CiDetector\\Ci\\Jenkins' => __DIR__ . '/..' . '/ondram/ci-detector/src/Ci/Jenkins.php', + 'RectorPrefix20220520\\OndraM\\CiDetector\\Ci\\SourceHut' => __DIR__ . '/..' . '/ondram/ci-detector/src/Ci/SourceHut.php', + 'RectorPrefix20220520\\OndraM\\CiDetector\\Ci\\TeamCity' => __DIR__ . '/..' . '/ondram/ci-detector/src/Ci/TeamCity.php', + 'RectorPrefix20220520\\OndraM\\CiDetector\\Ci\\Travis' => __DIR__ . '/..' . '/ondram/ci-detector/src/Ci/Travis.php', + 'RectorPrefix20220520\\OndraM\\CiDetector\\Ci\\Wercker' => __DIR__ . '/..' . '/ondram/ci-detector/src/Ci/Wercker.php', + 'RectorPrefix20220520\\OndraM\\CiDetector\\Env' => __DIR__ . '/..' . '/ondram/ci-detector/src/Env.php', + 'RectorPrefix20220520\\OndraM\\CiDetector\\Exception\\CiNotDetectedException' => __DIR__ . '/..' . '/ondram/ci-detector/src/Exception/CiNotDetectedException.php', + 'RectorPrefix20220520\\OndraM\\CiDetector\\TrinaryLogic' => __DIR__ . '/..' . '/ondram/ci-detector/src/TrinaryLogic.php', + 'RectorPrefix20220520\\Psr\\Cache\\CacheException' => __DIR__ . '/..' . '/psr/cache/src/CacheException.php', + 'RectorPrefix20220520\\Psr\\Cache\\CacheItemInterface' => __DIR__ . '/..' . '/psr/cache/src/CacheItemInterface.php', + 'RectorPrefix20220520\\Psr\\Cache\\CacheItemPoolInterface' => __DIR__ . '/..' . '/psr/cache/src/CacheItemPoolInterface.php', + 'RectorPrefix20220520\\Psr\\Cache\\InvalidArgumentException' => __DIR__ . '/..' . '/psr/cache/src/InvalidArgumentException.php', + 'RectorPrefix20220520\\Psr\\Container\\ContainerExceptionInterface' => __DIR__ . '/..' . '/psr/container/src/ContainerExceptionInterface.php', + 'RectorPrefix20220520\\Psr\\Container\\ContainerInterface' => __DIR__ . '/..' . '/psr/container/src/ContainerInterface.php', + 'RectorPrefix20220520\\Psr\\Container\\NotFoundExceptionInterface' => __DIR__ . '/..' . '/psr/container/src/NotFoundExceptionInterface.php', + 'RectorPrefix20220520\\Psr\\EventDispatcher\\EventDispatcherInterface' => __DIR__ . '/..' . '/psr/event-dispatcher/src/EventDispatcherInterface.php', + 'RectorPrefix20220520\\Psr\\EventDispatcher\\ListenerProviderInterface' => __DIR__ . '/..' . '/psr/event-dispatcher/src/ListenerProviderInterface.php', + 'RectorPrefix20220520\\Psr\\EventDispatcher\\StoppableEventInterface' => __DIR__ . '/..' . '/psr/event-dispatcher/src/StoppableEventInterface.php', + 'RectorPrefix20220520\\Psr\\Log\\AbstractLogger' => __DIR__ . '/..' . '/psr/log/src/AbstractLogger.php', + 'RectorPrefix20220520\\Psr\\Log\\InvalidArgumentException' => __DIR__ . '/..' . '/psr/log/src/InvalidArgumentException.php', + 'RectorPrefix20220520\\Psr\\Log\\LogLevel' => __DIR__ . '/..' . '/psr/log/src/LogLevel.php', + 'RectorPrefix20220520\\Psr\\Log\\LoggerAwareInterface' => __DIR__ . '/..' . '/psr/log/src/LoggerAwareInterface.php', + 'RectorPrefix20220520\\Psr\\Log\\LoggerAwareTrait' => __DIR__ . '/..' . '/psr/log/src/LoggerAwareTrait.php', + 'RectorPrefix20220520\\Psr\\Log\\LoggerInterface' => __DIR__ . '/..' . '/psr/log/src/LoggerInterface.php', + 'RectorPrefix20220520\\Psr\\Log\\LoggerTrait' => __DIR__ . '/..' . '/psr/log/src/LoggerTrait.php', + 'RectorPrefix20220520\\Psr\\Log\\NullLogger' => __DIR__ . '/..' . '/psr/log/src/NullLogger.php', + 'RectorPrefix20220520\\React\\Cache\\ArrayCache' => __DIR__ . '/..' . '/react/cache/src/ArrayCache.php', + 'RectorPrefix20220520\\React\\Cache\\CacheInterface' => __DIR__ . '/..' . '/react/cache/src/CacheInterface.php', + 'RectorPrefix20220520\\React\\ChildProcess\\Process' => __DIR__ . '/..' . '/react/child-process/src/Process.php', + 'RectorPrefix20220520\\React\\Dns\\BadServerException' => __DIR__ . '/..' . '/react/dns/src/BadServerException.php', + 'RectorPrefix20220520\\React\\Dns\\Config\\Config' => __DIR__ . '/..' . '/react/dns/src/Config/Config.php', + 'RectorPrefix20220520\\React\\Dns\\Config\\HostsFile' => __DIR__ . '/..' . '/react/dns/src/Config/HostsFile.php', + 'RectorPrefix20220520\\React\\Dns\\Model\\Message' => __DIR__ . '/..' . '/react/dns/src/Model/Message.php', + 'RectorPrefix20220520\\React\\Dns\\Model\\Record' => __DIR__ . '/..' . '/react/dns/src/Model/Record.php', + 'RectorPrefix20220520\\React\\Dns\\Protocol\\BinaryDumper' => __DIR__ . '/..' . '/react/dns/src/Protocol/BinaryDumper.php', + 'RectorPrefix20220520\\React\\Dns\\Protocol\\Parser' => __DIR__ . '/..' . '/react/dns/src/Protocol/Parser.php', + 'RectorPrefix20220520\\React\\Dns\\Query\\CachingExecutor' => __DIR__ . '/..' . '/react/dns/src/Query/CachingExecutor.php', + 'RectorPrefix20220520\\React\\Dns\\Query\\CancellationException' => __DIR__ . '/..' . '/react/dns/src/Query/CancellationException.php', + 'RectorPrefix20220520\\React\\Dns\\Query\\CoopExecutor' => __DIR__ . '/..' . '/react/dns/src/Query/CoopExecutor.php', + 'RectorPrefix20220520\\React\\Dns\\Query\\ExecutorInterface' => __DIR__ . '/..' . '/react/dns/src/Query/ExecutorInterface.php', + 'RectorPrefix20220520\\React\\Dns\\Query\\FallbackExecutor' => __DIR__ . '/..' . '/react/dns/src/Query/FallbackExecutor.php', + 'RectorPrefix20220520\\React\\Dns\\Query\\HostsFileExecutor' => __DIR__ . '/..' . '/react/dns/src/Query/HostsFileExecutor.php', + 'RectorPrefix20220520\\React\\Dns\\Query\\Query' => __DIR__ . '/..' . '/react/dns/src/Query/Query.php', + 'RectorPrefix20220520\\React\\Dns\\Query\\RetryExecutor' => __DIR__ . '/..' . '/react/dns/src/Query/RetryExecutor.php', + 'RectorPrefix20220520\\React\\Dns\\Query\\SelectiveTransportExecutor' => __DIR__ . '/..' . '/react/dns/src/Query/SelectiveTransportExecutor.php', + 'RectorPrefix20220520\\React\\Dns\\Query\\TcpTransportExecutor' => __DIR__ . '/..' . '/react/dns/src/Query/TcpTransportExecutor.php', + 'RectorPrefix20220520\\React\\Dns\\Query\\TimeoutException' => __DIR__ . '/..' . '/react/dns/src/Query/TimeoutException.php', + 'RectorPrefix20220520\\React\\Dns\\Query\\TimeoutExecutor' => __DIR__ . '/..' . '/react/dns/src/Query/TimeoutExecutor.php', + 'RectorPrefix20220520\\React\\Dns\\Query\\UdpTransportExecutor' => __DIR__ . '/..' . '/react/dns/src/Query/UdpTransportExecutor.php', + 'RectorPrefix20220520\\React\\Dns\\RecordNotFoundException' => __DIR__ . '/..' . '/react/dns/src/RecordNotFoundException.php', + 'RectorPrefix20220520\\React\\Dns\\Resolver\\Factory' => __DIR__ . '/..' . '/react/dns/src/Resolver/Factory.php', + 'RectorPrefix20220520\\React\\Dns\\Resolver\\Resolver' => __DIR__ . '/..' . '/react/dns/src/Resolver/Resolver.php', + 'RectorPrefix20220520\\React\\Dns\\Resolver\\ResolverInterface' => __DIR__ . '/..' . '/react/dns/src/Resolver/ResolverInterface.php', + 'RectorPrefix20220520\\React\\EventLoop\\ExtEvLoop' => __DIR__ . '/..' . '/react/event-loop/src/ExtEvLoop.php', + 'RectorPrefix20220520\\React\\EventLoop\\ExtEventLoop' => __DIR__ . '/..' . '/react/event-loop/src/ExtEventLoop.php', + 'RectorPrefix20220520\\React\\EventLoop\\ExtLibevLoop' => __DIR__ . '/..' . '/react/event-loop/src/ExtLibevLoop.php', + 'RectorPrefix20220520\\React\\EventLoop\\ExtLibeventLoop' => __DIR__ . '/..' . '/react/event-loop/src/ExtLibeventLoop.php', + 'RectorPrefix20220520\\React\\EventLoop\\ExtUvLoop' => __DIR__ . '/..' . '/react/event-loop/src/ExtUvLoop.php', + 'RectorPrefix20220520\\React\\EventLoop\\Factory' => __DIR__ . '/..' . '/react/event-loop/src/Factory.php', + 'RectorPrefix20220520\\React\\EventLoop\\Loop' => __DIR__ . '/..' . '/react/event-loop/src/Loop.php', + 'RectorPrefix20220520\\React\\EventLoop\\LoopInterface' => __DIR__ . '/..' . '/react/event-loop/src/LoopInterface.php', + 'RectorPrefix20220520\\React\\EventLoop\\SignalsHandler' => __DIR__ . '/..' . '/react/event-loop/src/SignalsHandler.php', + 'RectorPrefix20220520\\React\\EventLoop\\StreamSelectLoop' => __DIR__ . '/..' . '/react/event-loop/src/StreamSelectLoop.php', + 'RectorPrefix20220520\\React\\EventLoop\\Tick\\FutureTickQueue' => __DIR__ . '/..' . '/react/event-loop/src/Tick/FutureTickQueue.php', + 'RectorPrefix20220520\\React\\EventLoop\\TimerInterface' => __DIR__ . '/..' . '/react/event-loop/src/TimerInterface.php', + 'RectorPrefix20220520\\React\\EventLoop\\Timer\\Timer' => __DIR__ . '/..' . '/react/event-loop/src/Timer/Timer.php', + 'RectorPrefix20220520\\React\\EventLoop\\Timer\\Timers' => __DIR__ . '/..' . '/react/event-loop/src/Timer/Timers.php', + 'RectorPrefix20220520\\React\\Promise\\CancellablePromiseInterface' => __DIR__ . '/..' . '/react/promise/src/CancellablePromiseInterface.php', + 'RectorPrefix20220520\\React\\Promise\\CancellationQueue' => __DIR__ . '/..' . '/react/promise/src/CancellationQueue.php', + 'RectorPrefix20220520\\React\\Promise\\Deferred' => __DIR__ . '/..' . '/react/promise/src/Deferred.php', + 'RectorPrefix20220520\\React\\Promise\\Exception\\LengthException' => __DIR__ . '/..' . '/react/promise/src/Exception/LengthException.php', + 'RectorPrefix20220520\\React\\Promise\\ExtendedPromiseInterface' => __DIR__ . '/..' . '/react/promise/src/ExtendedPromiseInterface.php', + 'RectorPrefix20220520\\React\\Promise\\FulfilledPromise' => __DIR__ . '/..' . '/react/promise/src/FulfilledPromise.php', + 'RectorPrefix20220520\\React\\Promise\\LazyPromise' => __DIR__ . '/..' . '/react/promise/src/LazyPromise.php', + 'RectorPrefix20220520\\React\\Promise\\Promise' => __DIR__ . '/..' . '/react/promise/src/Promise.php', + 'RectorPrefix20220520\\React\\Promise\\PromiseInterface' => __DIR__ . '/..' . '/react/promise/src/PromiseInterface.php', + 'RectorPrefix20220520\\React\\Promise\\PromisorInterface' => __DIR__ . '/..' . '/react/promise/src/PromisorInterface.php', + 'RectorPrefix20220520\\React\\Promise\\RejectedPromise' => __DIR__ . '/..' . '/react/promise/src/RejectedPromise.php', + 'RectorPrefix20220520\\React\\Promise\\Timer\\TimeoutException' => __DIR__ . '/..' . '/react/promise-timer/src/TimeoutException.php', + 'RectorPrefix20220520\\React\\Promise\\UnhandledRejectionException' => __DIR__ . '/..' . '/react/promise/src/UnhandledRejectionException.php', + 'RectorPrefix20220520\\React\\Socket\\Connection' => __DIR__ . '/..' . '/react/socket/src/Connection.php', + 'RectorPrefix20220520\\React\\Socket\\ConnectionInterface' => __DIR__ . '/..' . '/react/socket/src/ConnectionInterface.php', + 'RectorPrefix20220520\\React\\Socket\\Connector' => __DIR__ . '/..' . '/react/socket/src/Connector.php', + 'RectorPrefix20220520\\React\\Socket\\ConnectorInterface' => __DIR__ . '/..' . '/react/socket/src/ConnectorInterface.php', + 'RectorPrefix20220520\\React\\Socket\\DnsConnector' => __DIR__ . '/..' . '/react/socket/src/DnsConnector.php', + 'RectorPrefix20220520\\React\\Socket\\FdServer' => __DIR__ . '/..' . '/react/socket/src/FdServer.php', + 'RectorPrefix20220520\\React\\Socket\\FixedUriConnector' => __DIR__ . '/..' . '/react/socket/src/FixedUriConnector.php', + 'RectorPrefix20220520\\React\\Socket\\HappyEyeBallsConnectionBuilder' => __DIR__ . '/..' . '/react/socket/src/HappyEyeBallsConnectionBuilder.php', + 'RectorPrefix20220520\\React\\Socket\\HappyEyeBallsConnector' => __DIR__ . '/..' . '/react/socket/src/HappyEyeBallsConnector.php', + 'RectorPrefix20220520\\React\\Socket\\LimitingServer' => __DIR__ . '/..' . '/react/socket/src/LimitingServer.php', + 'RectorPrefix20220520\\React\\Socket\\SecureConnector' => __DIR__ . '/..' . '/react/socket/src/SecureConnector.php', + 'RectorPrefix20220520\\React\\Socket\\SecureServer' => __DIR__ . '/..' . '/react/socket/src/SecureServer.php', + 'RectorPrefix20220520\\React\\Socket\\Server' => __DIR__ . '/..' . '/react/socket/src/Server.php', + 'RectorPrefix20220520\\React\\Socket\\ServerInterface' => __DIR__ . '/..' . '/react/socket/src/ServerInterface.php', + 'RectorPrefix20220520\\React\\Socket\\SocketServer' => __DIR__ . '/..' . '/react/socket/src/SocketServer.php', + 'RectorPrefix20220520\\React\\Socket\\StreamEncryption' => __DIR__ . '/..' . '/react/socket/src/StreamEncryption.php', + 'RectorPrefix20220520\\React\\Socket\\TcpConnector' => __DIR__ . '/..' . '/react/socket/src/TcpConnector.php', + 'RectorPrefix20220520\\React\\Socket\\TcpServer' => __DIR__ . '/..' . '/react/socket/src/TcpServer.php', + 'RectorPrefix20220520\\React\\Socket\\TimeoutConnector' => __DIR__ . '/..' . '/react/socket/src/TimeoutConnector.php', + 'RectorPrefix20220520\\React\\Socket\\UnixConnector' => __DIR__ . '/..' . '/react/socket/src/UnixConnector.php', + 'RectorPrefix20220520\\React\\Socket\\UnixServer' => __DIR__ . '/..' . '/react/socket/src/UnixServer.php', + 'RectorPrefix20220520\\React\\Stream\\CompositeStream' => __DIR__ . '/..' . '/react/stream/src/CompositeStream.php', + 'RectorPrefix20220520\\React\\Stream\\DuplexResourceStream' => __DIR__ . '/..' . '/react/stream/src/DuplexResourceStream.php', + 'RectorPrefix20220520\\React\\Stream\\DuplexStreamInterface' => __DIR__ . '/..' . '/react/stream/src/DuplexStreamInterface.php', + 'RectorPrefix20220520\\React\\Stream\\ReadableResourceStream' => __DIR__ . '/..' . '/react/stream/src/ReadableResourceStream.php', + 'RectorPrefix20220520\\React\\Stream\\ReadableStreamInterface' => __DIR__ . '/..' . '/react/stream/src/ReadableStreamInterface.php', + 'RectorPrefix20220520\\React\\Stream\\ThroughStream' => __DIR__ . '/..' . '/react/stream/src/ThroughStream.php', + 'RectorPrefix20220520\\React\\Stream\\Util' => __DIR__ . '/..' . '/react/stream/src/Util.php', + 'RectorPrefix20220520\\React\\Stream\\WritableResourceStream' => __DIR__ . '/..' . '/react/stream/src/WritableResourceStream.php', + 'RectorPrefix20220520\\React\\Stream\\WritableStreamInterface' => __DIR__ . '/..' . '/react/stream/src/WritableStreamInterface.php', + 'RectorPrefix20220520\\SebastianBergmann\\Diff\\Chunk' => __DIR__ . '/..' . '/sebastian/diff/src/Chunk.php', + 'RectorPrefix20220520\\SebastianBergmann\\Diff\\ConfigurationException' => __DIR__ . '/..' . '/sebastian/diff/src/Exception/ConfigurationException.php', + 'RectorPrefix20220520\\SebastianBergmann\\Diff\\Diff' => __DIR__ . '/..' . '/sebastian/diff/src/Diff.php', + 'RectorPrefix20220520\\SebastianBergmann\\Diff\\Differ' => __DIR__ . '/..' . '/sebastian/diff/src/Differ.php', + 'RectorPrefix20220520\\SebastianBergmann\\Diff\\Exception' => __DIR__ . '/..' . '/sebastian/diff/src/Exception/Exception.php', + 'RectorPrefix20220520\\SebastianBergmann\\Diff\\InvalidArgumentException' => __DIR__ . '/..' . '/sebastian/diff/src/Exception/InvalidArgumentException.php', + 'RectorPrefix20220520\\SebastianBergmann\\Diff\\Line' => __DIR__ . '/..' . '/sebastian/diff/src/Line.php', + 'RectorPrefix20220520\\SebastianBergmann\\Diff\\LongestCommonSubsequenceCalculator' => __DIR__ . '/..' . '/sebastian/diff/src/LongestCommonSubsequenceCalculator.php', + 'RectorPrefix20220520\\SebastianBergmann\\Diff\\MemoryEfficientLongestCommonSubsequenceCalculator' => __DIR__ . '/..' . '/sebastian/diff/src/MemoryEfficientLongestCommonSubsequenceCalculator.php', + 'RectorPrefix20220520\\SebastianBergmann\\Diff\\Output\\AbstractChunkOutputBuilder' => __DIR__ . '/..' . '/sebastian/diff/src/Output/AbstractChunkOutputBuilder.php', + 'RectorPrefix20220520\\SebastianBergmann\\Diff\\Output\\DiffOnlyOutputBuilder' => __DIR__ . '/..' . '/sebastian/diff/src/Output/DiffOnlyOutputBuilder.php', + 'RectorPrefix20220520\\SebastianBergmann\\Diff\\Output\\DiffOutputBuilderInterface' => __DIR__ . '/..' . '/sebastian/diff/src/Output/DiffOutputBuilderInterface.php', + 'RectorPrefix20220520\\SebastianBergmann\\Diff\\Output\\StrictUnifiedDiffOutputBuilder' => __DIR__ . '/..' . '/sebastian/diff/src/Output/StrictUnifiedDiffOutputBuilder.php', + 'RectorPrefix20220520\\SebastianBergmann\\Diff\\Output\\UnifiedDiffOutputBuilder' => __DIR__ . '/..' . '/sebastian/diff/src/Output/UnifiedDiffOutputBuilder.php', + 'RectorPrefix20220520\\SebastianBergmann\\Diff\\Parser' => __DIR__ . '/..' . '/sebastian/diff/src/Parser.php', + 'RectorPrefix20220520\\SebastianBergmann\\Diff\\TimeEfficientLongestCommonSubsequenceCalculator' => __DIR__ . '/..' . '/sebastian/diff/src/TimeEfficientLongestCommonSubsequenceCalculator.php', + 'RectorPrefix20220520\\Symfony\\Component\\Config\\Builder\\ClassBuilder' => __DIR__ . '/..' . '/symfony/config/Builder/ClassBuilder.php', + 'RectorPrefix20220520\\Symfony\\Component\\Config\\Builder\\ConfigBuilderGenerator' => __DIR__ . '/..' . '/symfony/config/Builder/ConfigBuilderGenerator.php', + 'RectorPrefix20220520\\Symfony\\Component\\Config\\Builder\\ConfigBuilderGeneratorInterface' => __DIR__ . '/..' . '/symfony/config/Builder/ConfigBuilderGeneratorInterface.php', + 'RectorPrefix20220520\\Symfony\\Component\\Config\\Builder\\ConfigBuilderInterface' => __DIR__ . '/..' . '/symfony/config/Builder/ConfigBuilderInterface.php', + 'RectorPrefix20220520\\Symfony\\Component\\Config\\Builder\\Method' => __DIR__ . '/..' . '/symfony/config/Builder/Method.php', + 'RectorPrefix20220520\\Symfony\\Component\\Config\\Builder\\Property' => __DIR__ . '/..' . '/symfony/config/Builder/Property.php', + 'RectorPrefix20220520\\Symfony\\Component\\Config\\ConfigCache' => __DIR__ . '/..' . '/symfony/config/ConfigCache.php', + 'RectorPrefix20220520\\Symfony\\Component\\Config\\ConfigCacheFactory' => __DIR__ . '/..' . '/symfony/config/ConfigCacheFactory.php', + 'RectorPrefix20220520\\Symfony\\Component\\Config\\ConfigCacheFactoryInterface' => __DIR__ . '/..' . '/symfony/config/ConfigCacheFactoryInterface.php', + 'RectorPrefix20220520\\Symfony\\Component\\Config\\ConfigCacheInterface' => __DIR__ . '/..' . '/symfony/config/ConfigCacheInterface.php', + 'RectorPrefix20220520\\Symfony\\Component\\Config\\Definition\\ArrayNode' => __DIR__ . '/..' . '/symfony/config/Definition/ArrayNode.php', + 'RectorPrefix20220520\\Symfony\\Component\\Config\\Definition\\BaseNode' => __DIR__ . '/..' . '/symfony/config/Definition/BaseNode.php', + 'RectorPrefix20220520\\Symfony\\Component\\Config\\Definition\\BooleanNode' => __DIR__ . '/..' . '/symfony/config/Definition/BooleanNode.php', + 'RectorPrefix20220520\\Symfony\\Component\\Config\\Definition\\Builder\\ArrayNodeDefinition' => __DIR__ . '/..' . '/symfony/config/Definition/Builder/ArrayNodeDefinition.php', + 'RectorPrefix20220520\\Symfony\\Component\\Config\\Definition\\Builder\\BooleanNodeDefinition' => __DIR__ . '/..' . '/symfony/config/Definition/Builder/BooleanNodeDefinition.php', + 'RectorPrefix20220520\\Symfony\\Component\\Config\\Definition\\Builder\\BuilderAwareInterface' => __DIR__ . '/..' . '/symfony/config/Definition/Builder/BuilderAwareInterface.php', + 'RectorPrefix20220520\\Symfony\\Component\\Config\\Definition\\Builder\\EnumNodeDefinition' => __DIR__ . '/..' . '/symfony/config/Definition/Builder/EnumNodeDefinition.php', + 'RectorPrefix20220520\\Symfony\\Component\\Config\\Definition\\Builder\\ExprBuilder' => __DIR__ . '/..' . '/symfony/config/Definition/Builder/ExprBuilder.php', + 'RectorPrefix20220520\\Symfony\\Component\\Config\\Definition\\Builder\\FloatNodeDefinition' => __DIR__ . '/..' . '/symfony/config/Definition/Builder/FloatNodeDefinition.php', + 'RectorPrefix20220520\\Symfony\\Component\\Config\\Definition\\Builder\\IntegerNodeDefinition' => __DIR__ . '/..' . '/symfony/config/Definition/Builder/IntegerNodeDefinition.php', + 'RectorPrefix20220520\\Symfony\\Component\\Config\\Definition\\Builder\\MergeBuilder' => __DIR__ . '/..' . '/symfony/config/Definition/Builder/MergeBuilder.php', + 'RectorPrefix20220520\\Symfony\\Component\\Config\\Definition\\Builder\\NodeBuilder' => __DIR__ . '/..' . '/symfony/config/Definition/Builder/NodeBuilder.php', + 'RectorPrefix20220520\\Symfony\\Component\\Config\\Definition\\Builder\\NodeDefinition' => __DIR__ . '/..' . '/symfony/config/Definition/Builder/NodeDefinition.php', + 'RectorPrefix20220520\\Symfony\\Component\\Config\\Definition\\Builder\\NodeParentInterface' => __DIR__ . '/..' . '/symfony/config/Definition/Builder/NodeParentInterface.php', + 'RectorPrefix20220520\\Symfony\\Component\\Config\\Definition\\Builder\\NormalizationBuilder' => __DIR__ . '/..' . '/symfony/config/Definition/Builder/NormalizationBuilder.php', + 'RectorPrefix20220520\\Symfony\\Component\\Config\\Definition\\Builder\\NumericNodeDefinition' => __DIR__ . '/..' . '/symfony/config/Definition/Builder/NumericNodeDefinition.php', + 'RectorPrefix20220520\\Symfony\\Component\\Config\\Definition\\Builder\\ParentNodeDefinitionInterface' => __DIR__ . '/..' . '/symfony/config/Definition/Builder/ParentNodeDefinitionInterface.php', + 'RectorPrefix20220520\\Symfony\\Component\\Config\\Definition\\Builder\\ScalarNodeDefinition' => __DIR__ . '/..' . '/symfony/config/Definition/Builder/ScalarNodeDefinition.php', + 'RectorPrefix20220520\\Symfony\\Component\\Config\\Definition\\Builder\\TreeBuilder' => __DIR__ . '/..' . '/symfony/config/Definition/Builder/TreeBuilder.php', + 'RectorPrefix20220520\\Symfony\\Component\\Config\\Definition\\Builder\\ValidationBuilder' => __DIR__ . '/..' . '/symfony/config/Definition/Builder/ValidationBuilder.php', + 'RectorPrefix20220520\\Symfony\\Component\\Config\\Definition\\Builder\\VariableNodeDefinition' => __DIR__ . '/..' . '/symfony/config/Definition/Builder/VariableNodeDefinition.php', + 'RectorPrefix20220520\\Symfony\\Component\\Config\\Definition\\ConfigurationInterface' => __DIR__ . '/..' . '/symfony/config/Definition/ConfigurationInterface.php', + 'RectorPrefix20220520\\Symfony\\Component\\Config\\Definition\\Dumper\\XmlReferenceDumper' => __DIR__ . '/..' . '/symfony/config/Definition/Dumper/XmlReferenceDumper.php', + 'RectorPrefix20220520\\Symfony\\Component\\Config\\Definition\\Dumper\\YamlReferenceDumper' => __DIR__ . '/..' . '/symfony/config/Definition/Dumper/YamlReferenceDumper.php', + 'RectorPrefix20220520\\Symfony\\Component\\Config\\Definition\\EnumNode' => __DIR__ . '/..' . '/symfony/config/Definition/EnumNode.php', + 'RectorPrefix20220520\\Symfony\\Component\\Config\\Definition\\Exception\\DuplicateKeyException' => __DIR__ . '/..' . '/symfony/config/Definition/Exception/DuplicateKeyException.php', + 'RectorPrefix20220520\\Symfony\\Component\\Config\\Definition\\Exception\\Exception' => __DIR__ . '/..' . '/symfony/config/Definition/Exception/Exception.php', + 'RectorPrefix20220520\\Symfony\\Component\\Config\\Definition\\Exception\\ForbiddenOverwriteException' => __DIR__ . '/..' . '/symfony/config/Definition/Exception/ForbiddenOverwriteException.php', + 'RectorPrefix20220520\\Symfony\\Component\\Config\\Definition\\Exception\\InvalidConfigurationException' => __DIR__ . '/..' . '/symfony/config/Definition/Exception/InvalidConfigurationException.php', + 'RectorPrefix20220520\\Symfony\\Component\\Config\\Definition\\Exception\\InvalidDefinitionException' => __DIR__ . '/..' . '/symfony/config/Definition/Exception/InvalidDefinitionException.php', + 'RectorPrefix20220520\\Symfony\\Component\\Config\\Definition\\Exception\\InvalidTypeException' => __DIR__ . '/..' . '/symfony/config/Definition/Exception/InvalidTypeException.php', + 'RectorPrefix20220520\\Symfony\\Component\\Config\\Definition\\Exception\\UnsetKeyException' => __DIR__ . '/..' . '/symfony/config/Definition/Exception/UnsetKeyException.php', + 'RectorPrefix20220520\\Symfony\\Component\\Config\\Definition\\FloatNode' => __DIR__ . '/..' . '/symfony/config/Definition/FloatNode.php', + 'RectorPrefix20220520\\Symfony\\Component\\Config\\Definition\\IntegerNode' => __DIR__ . '/..' . '/symfony/config/Definition/IntegerNode.php', + 'RectorPrefix20220520\\Symfony\\Component\\Config\\Definition\\NodeInterface' => __DIR__ . '/..' . '/symfony/config/Definition/NodeInterface.php', + 'RectorPrefix20220520\\Symfony\\Component\\Config\\Definition\\NumericNode' => __DIR__ . '/..' . '/symfony/config/Definition/NumericNode.php', + 'RectorPrefix20220520\\Symfony\\Component\\Config\\Definition\\Processor' => __DIR__ . '/..' . '/symfony/config/Definition/Processor.php', + 'RectorPrefix20220520\\Symfony\\Component\\Config\\Definition\\PrototypeNodeInterface' => __DIR__ . '/..' . '/symfony/config/Definition/PrototypeNodeInterface.php', + 'RectorPrefix20220520\\Symfony\\Component\\Config\\Definition\\PrototypedArrayNode' => __DIR__ . '/..' . '/symfony/config/Definition/PrototypedArrayNode.php', + 'RectorPrefix20220520\\Symfony\\Component\\Config\\Definition\\ScalarNode' => __DIR__ . '/..' . '/symfony/config/Definition/ScalarNode.php', + 'RectorPrefix20220520\\Symfony\\Component\\Config\\Definition\\VariableNode' => __DIR__ . '/..' . '/symfony/config/Definition/VariableNode.php', + 'RectorPrefix20220520\\Symfony\\Component\\Config\\Exception\\FileLoaderImportCircularReferenceException' => __DIR__ . '/..' . '/symfony/config/Exception/FileLoaderImportCircularReferenceException.php', + 'RectorPrefix20220520\\Symfony\\Component\\Config\\Exception\\FileLocatorFileNotFoundException' => __DIR__ . '/..' . '/symfony/config/Exception/FileLocatorFileNotFoundException.php', + 'RectorPrefix20220520\\Symfony\\Component\\Config\\Exception\\LoaderLoadException' => __DIR__ . '/..' . '/symfony/config/Exception/LoaderLoadException.php', + 'RectorPrefix20220520\\Symfony\\Component\\Config\\FileLocator' => __DIR__ . '/..' . '/symfony/config/FileLocator.php', + 'RectorPrefix20220520\\Symfony\\Component\\Config\\FileLocatorInterface' => __DIR__ . '/..' . '/symfony/config/FileLocatorInterface.php', + 'RectorPrefix20220520\\Symfony\\Component\\Config\\Loader\\DelegatingLoader' => __DIR__ . '/..' . '/symfony/config/Loader/DelegatingLoader.php', + 'RectorPrefix20220520\\Symfony\\Component\\Config\\Loader\\FileLoader' => __DIR__ . '/..' . '/symfony/config/Loader/FileLoader.php', + 'RectorPrefix20220520\\Symfony\\Component\\Config\\Loader\\GlobFileLoader' => __DIR__ . '/..' . '/symfony/config/Loader/GlobFileLoader.php', + 'RectorPrefix20220520\\Symfony\\Component\\Config\\Loader\\Loader' => __DIR__ . '/..' . '/symfony/config/Loader/Loader.php', + 'RectorPrefix20220520\\Symfony\\Component\\Config\\Loader\\LoaderInterface' => __DIR__ . '/..' . '/symfony/config/Loader/LoaderInterface.php', + 'RectorPrefix20220520\\Symfony\\Component\\Config\\Loader\\LoaderResolver' => __DIR__ . '/..' . '/symfony/config/Loader/LoaderResolver.php', + 'RectorPrefix20220520\\Symfony\\Component\\Config\\Loader\\LoaderResolverInterface' => __DIR__ . '/..' . '/symfony/config/Loader/LoaderResolverInterface.php', + 'RectorPrefix20220520\\Symfony\\Component\\Config\\Loader\\ParamConfigurator' => __DIR__ . '/..' . '/symfony/config/Loader/ParamConfigurator.php', + 'RectorPrefix20220520\\Symfony\\Component\\Config\\ResourceCheckerConfigCache' => __DIR__ . '/..' . '/symfony/config/ResourceCheckerConfigCache.php', + 'RectorPrefix20220520\\Symfony\\Component\\Config\\ResourceCheckerConfigCacheFactory' => __DIR__ . '/..' . '/symfony/config/ResourceCheckerConfigCacheFactory.php', + 'RectorPrefix20220520\\Symfony\\Component\\Config\\ResourceCheckerInterface' => __DIR__ . '/..' . '/symfony/config/ResourceCheckerInterface.php', + 'RectorPrefix20220520\\Symfony\\Component\\Config\\Resource\\ClassExistenceResource' => __DIR__ . '/..' . '/symfony/config/Resource/ClassExistenceResource.php', + 'RectorPrefix20220520\\Symfony\\Component\\Config\\Resource\\ComposerResource' => __DIR__ . '/..' . '/symfony/config/Resource/ComposerResource.php', + 'RectorPrefix20220520\\Symfony\\Component\\Config\\Resource\\DirectoryResource' => __DIR__ . '/..' . '/symfony/config/Resource/DirectoryResource.php', + 'RectorPrefix20220520\\Symfony\\Component\\Config\\Resource\\FileExistenceResource' => __DIR__ . '/..' . '/symfony/config/Resource/FileExistenceResource.php', + 'RectorPrefix20220520\\Symfony\\Component\\Config\\Resource\\FileResource' => __DIR__ . '/..' . '/symfony/config/Resource/FileResource.php', + 'RectorPrefix20220520\\Symfony\\Component\\Config\\Resource\\GlobResource' => __DIR__ . '/..' . '/symfony/config/Resource/GlobResource.php', + 'RectorPrefix20220520\\Symfony\\Component\\Config\\Resource\\ReflectionClassResource' => __DIR__ . '/..' . '/symfony/config/Resource/ReflectionClassResource.php', + 'RectorPrefix20220520\\Symfony\\Component\\Config\\Resource\\ResourceInterface' => __DIR__ . '/..' . '/symfony/config/Resource/ResourceInterface.php', + 'RectorPrefix20220520\\Symfony\\Component\\Config\\Resource\\SelfCheckingResourceChecker' => __DIR__ . '/..' . '/symfony/config/Resource/SelfCheckingResourceChecker.php', + 'RectorPrefix20220520\\Symfony\\Component\\Config\\Resource\\SelfCheckingResourceInterface' => __DIR__ . '/..' . '/symfony/config/Resource/SelfCheckingResourceInterface.php', + 'RectorPrefix20220520\\Symfony\\Component\\Config\\Util\\Exception\\InvalidXmlException' => __DIR__ . '/..' . '/symfony/config/Util/Exception/InvalidXmlException.php', + 'RectorPrefix20220520\\Symfony\\Component\\Config\\Util\\Exception\\XmlParsingException' => __DIR__ . '/..' . '/symfony/config/Util/Exception/XmlParsingException.php', + 'RectorPrefix20220520\\Symfony\\Component\\Config\\Util\\XmlUtils' => __DIR__ . '/..' . '/symfony/config/Util/XmlUtils.php', + 'RectorPrefix20220520\\Symfony\\Component\\Console\\Application' => __DIR__ . '/..' . '/symfony/console/Application.php', + 'RectorPrefix20220520\\Symfony\\Component\\Console\\Attribute\\AsCommand' => __DIR__ . '/..' . '/symfony/console/Attribute/AsCommand.php', + 'RectorPrefix20220520\\Symfony\\Component\\Console\\CI\\GithubActionReporter' => __DIR__ . '/..' . '/symfony/console/CI/GithubActionReporter.php', + 'RectorPrefix20220520\\Symfony\\Component\\Console\\Color' => __DIR__ . '/..' . '/symfony/console/Color.php', + 'RectorPrefix20220520\\Symfony\\Component\\Console\\CommandLoader\\CommandLoaderInterface' => __DIR__ . '/..' . '/symfony/console/CommandLoader/CommandLoaderInterface.php', + 'RectorPrefix20220520\\Symfony\\Component\\Console\\CommandLoader\\ContainerCommandLoader' => __DIR__ . '/..' . '/symfony/console/CommandLoader/ContainerCommandLoader.php', + 'RectorPrefix20220520\\Symfony\\Component\\Console\\CommandLoader\\FactoryCommandLoader' => __DIR__ . '/..' . '/symfony/console/CommandLoader/FactoryCommandLoader.php', + 'RectorPrefix20220520\\Symfony\\Component\\Console\\Command\\Command' => __DIR__ . '/..' . '/symfony/console/Command/Command.php', + 'RectorPrefix20220520\\Symfony\\Component\\Console\\Command\\CompleteCommand' => __DIR__ . '/..' . '/symfony/console/Command/CompleteCommand.php', + 'RectorPrefix20220520\\Symfony\\Component\\Console\\Command\\DumpCompletionCommand' => __DIR__ . '/..' . '/symfony/console/Command/DumpCompletionCommand.php', + 'RectorPrefix20220520\\Symfony\\Component\\Console\\Command\\HelpCommand' => __DIR__ . '/..' . '/symfony/console/Command/HelpCommand.php', + 'RectorPrefix20220520\\Symfony\\Component\\Console\\Command\\LazyCommand' => __DIR__ . '/..' . '/symfony/console/Command/LazyCommand.php', + 'RectorPrefix20220520\\Symfony\\Component\\Console\\Command\\ListCommand' => __DIR__ . '/..' . '/symfony/console/Command/ListCommand.php', + 'RectorPrefix20220520\\Symfony\\Component\\Console\\Command\\LockableTrait' => __DIR__ . '/..' . '/symfony/console/Command/LockableTrait.php', + 'RectorPrefix20220520\\Symfony\\Component\\Console\\Command\\SignalableCommandInterface' => __DIR__ . '/..' . '/symfony/console/Command/SignalableCommandInterface.php', + 'RectorPrefix20220520\\Symfony\\Component\\Console\\Completion\\CompletionInput' => __DIR__ . '/..' . '/symfony/console/Completion/CompletionInput.php', + 'RectorPrefix20220520\\Symfony\\Component\\Console\\Completion\\CompletionSuggestions' => __DIR__ . '/..' . '/symfony/console/Completion/CompletionSuggestions.php', + 'RectorPrefix20220520\\Symfony\\Component\\Console\\Completion\\Output\\BashCompletionOutput' => __DIR__ . '/..' . '/symfony/console/Completion/Output/BashCompletionOutput.php', + 'RectorPrefix20220520\\Symfony\\Component\\Console\\Completion\\Output\\CompletionOutputInterface' => __DIR__ . '/..' . '/symfony/console/Completion/Output/CompletionOutputInterface.php', + 'RectorPrefix20220520\\Symfony\\Component\\Console\\Completion\\Suggestion' => __DIR__ . '/..' . '/symfony/console/Completion/Suggestion.php', + 'RectorPrefix20220520\\Symfony\\Component\\Console\\ConsoleEvents' => __DIR__ . '/..' . '/symfony/console/ConsoleEvents.php', + 'RectorPrefix20220520\\Symfony\\Component\\Console\\Cursor' => __DIR__ . '/..' . '/symfony/console/Cursor.php', + 'RectorPrefix20220520\\Symfony\\Component\\Console\\DependencyInjection\\AddConsoleCommandPass' => __DIR__ . '/..' . '/symfony/console/DependencyInjection/AddConsoleCommandPass.php', + 'RectorPrefix20220520\\Symfony\\Component\\Console\\Descriptor\\ApplicationDescription' => __DIR__ . '/..' . '/symfony/console/Descriptor/ApplicationDescription.php', + 'RectorPrefix20220520\\Symfony\\Component\\Console\\Descriptor\\Descriptor' => __DIR__ . '/..' . '/symfony/console/Descriptor/Descriptor.php', + 'RectorPrefix20220520\\Symfony\\Component\\Console\\Descriptor\\DescriptorInterface' => __DIR__ . '/..' . '/symfony/console/Descriptor/DescriptorInterface.php', + 'RectorPrefix20220520\\Symfony\\Component\\Console\\Descriptor\\JsonDescriptor' => __DIR__ . '/..' . '/symfony/console/Descriptor/JsonDescriptor.php', + 'RectorPrefix20220520\\Symfony\\Component\\Console\\Descriptor\\MarkdownDescriptor' => __DIR__ . '/..' . '/symfony/console/Descriptor/MarkdownDescriptor.php', + 'RectorPrefix20220520\\Symfony\\Component\\Console\\Descriptor\\TextDescriptor' => __DIR__ . '/..' . '/symfony/console/Descriptor/TextDescriptor.php', + 'RectorPrefix20220520\\Symfony\\Component\\Console\\Descriptor\\XmlDescriptor' => __DIR__ . '/..' . '/symfony/console/Descriptor/XmlDescriptor.php', + 'RectorPrefix20220520\\Symfony\\Component\\Console\\EventListener\\ErrorListener' => __DIR__ . '/..' . '/symfony/console/EventListener/ErrorListener.php', + 'RectorPrefix20220520\\Symfony\\Component\\Console\\Event\\ConsoleCommandEvent' => __DIR__ . '/..' . '/symfony/console/Event/ConsoleCommandEvent.php', + 'RectorPrefix20220520\\Symfony\\Component\\Console\\Event\\ConsoleErrorEvent' => __DIR__ . '/..' . '/symfony/console/Event/ConsoleErrorEvent.php', + 'RectorPrefix20220520\\Symfony\\Component\\Console\\Event\\ConsoleEvent' => __DIR__ . '/..' . '/symfony/console/Event/ConsoleEvent.php', + 'RectorPrefix20220520\\Symfony\\Component\\Console\\Event\\ConsoleSignalEvent' => __DIR__ . '/..' . '/symfony/console/Event/ConsoleSignalEvent.php', + 'RectorPrefix20220520\\Symfony\\Component\\Console\\Event\\ConsoleTerminateEvent' => __DIR__ . '/..' . '/symfony/console/Event/ConsoleTerminateEvent.php', + 'RectorPrefix20220520\\Symfony\\Component\\Console\\Exception\\CommandNotFoundException' => __DIR__ . '/..' . '/symfony/console/Exception/CommandNotFoundException.php', + 'RectorPrefix20220520\\Symfony\\Component\\Console\\Exception\\ExceptionInterface' => __DIR__ . '/..' . '/symfony/console/Exception/ExceptionInterface.php', + 'RectorPrefix20220520\\Symfony\\Component\\Console\\Exception\\InvalidArgumentException' => __DIR__ . '/..' . '/symfony/console/Exception/InvalidArgumentException.php', + 'RectorPrefix20220520\\Symfony\\Component\\Console\\Exception\\InvalidOptionException' => __DIR__ . '/..' . '/symfony/console/Exception/InvalidOptionException.php', + 'RectorPrefix20220520\\Symfony\\Component\\Console\\Exception\\LogicException' => __DIR__ . '/..' . '/symfony/console/Exception/LogicException.php', + 'RectorPrefix20220520\\Symfony\\Component\\Console\\Exception\\MissingInputException' => __DIR__ . '/..' . '/symfony/console/Exception/MissingInputException.php', + 'RectorPrefix20220520\\Symfony\\Component\\Console\\Exception\\NamespaceNotFoundException' => __DIR__ . '/..' . '/symfony/console/Exception/NamespaceNotFoundException.php', + 'RectorPrefix20220520\\Symfony\\Component\\Console\\Exception\\RuntimeException' => __DIR__ . '/..' . '/symfony/console/Exception/RuntimeException.php', + 'RectorPrefix20220520\\Symfony\\Component\\Console\\Formatter\\NullOutputFormatter' => __DIR__ . '/..' . '/symfony/console/Formatter/NullOutputFormatter.php', + 'RectorPrefix20220520\\Symfony\\Component\\Console\\Formatter\\NullOutputFormatterStyle' => __DIR__ . '/..' . '/symfony/console/Formatter/NullOutputFormatterStyle.php', + 'RectorPrefix20220520\\Symfony\\Component\\Console\\Formatter\\OutputFormatter' => __DIR__ . '/..' . '/symfony/console/Formatter/OutputFormatter.php', + 'RectorPrefix20220520\\Symfony\\Component\\Console\\Formatter\\OutputFormatterInterface' => __DIR__ . '/..' . '/symfony/console/Formatter/OutputFormatterInterface.php', + 'RectorPrefix20220520\\Symfony\\Component\\Console\\Formatter\\OutputFormatterStyle' => __DIR__ . '/..' . '/symfony/console/Formatter/OutputFormatterStyle.php', + 'RectorPrefix20220520\\Symfony\\Component\\Console\\Formatter\\OutputFormatterStyleInterface' => __DIR__ . '/..' . '/symfony/console/Formatter/OutputFormatterStyleInterface.php', + 'RectorPrefix20220520\\Symfony\\Component\\Console\\Formatter\\OutputFormatterStyleStack' => __DIR__ . '/..' . '/symfony/console/Formatter/OutputFormatterStyleStack.php', + 'RectorPrefix20220520\\Symfony\\Component\\Console\\Formatter\\WrappableOutputFormatterInterface' => __DIR__ . '/..' . '/symfony/console/Formatter/WrappableOutputFormatterInterface.php', + 'RectorPrefix20220520\\Symfony\\Component\\Console\\Helper\\DebugFormatterHelper' => __DIR__ . '/..' . '/symfony/console/Helper/DebugFormatterHelper.php', + 'RectorPrefix20220520\\Symfony\\Component\\Console\\Helper\\DescriptorHelper' => __DIR__ . '/..' . '/symfony/console/Helper/DescriptorHelper.php', + 'RectorPrefix20220520\\Symfony\\Component\\Console\\Helper\\Dumper' => __DIR__ . '/..' . '/symfony/console/Helper/Dumper.php', + 'RectorPrefix20220520\\Symfony\\Component\\Console\\Helper\\FormatterHelper' => __DIR__ . '/..' . '/symfony/console/Helper/FormatterHelper.php', + 'RectorPrefix20220520\\Symfony\\Component\\Console\\Helper\\Helper' => __DIR__ . '/..' . '/symfony/console/Helper/Helper.php', + 'RectorPrefix20220520\\Symfony\\Component\\Console\\Helper\\HelperInterface' => __DIR__ . '/..' . '/symfony/console/Helper/HelperInterface.php', + 'RectorPrefix20220520\\Symfony\\Component\\Console\\Helper\\HelperSet' => __DIR__ . '/..' . '/symfony/console/Helper/HelperSet.php', + 'RectorPrefix20220520\\Symfony\\Component\\Console\\Helper\\InputAwareHelper' => __DIR__ . '/..' . '/symfony/console/Helper/InputAwareHelper.php', + 'RectorPrefix20220520\\Symfony\\Component\\Console\\Helper\\ProcessHelper' => __DIR__ . '/..' . '/symfony/console/Helper/ProcessHelper.php', + 'RectorPrefix20220520\\Symfony\\Component\\Console\\Helper\\ProgressBar' => __DIR__ . '/..' . '/symfony/console/Helper/ProgressBar.php', + 'RectorPrefix20220520\\Symfony\\Component\\Console\\Helper\\ProgressIndicator' => __DIR__ . '/..' . '/symfony/console/Helper/ProgressIndicator.php', + 'RectorPrefix20220520\\Symfony\\Component\\Console\\Helper\\QuestionHelper' => __DIR__ . '/..' . '/symfony/console/Helper/QuestionHelper.php', + 'RectorPrefix20220520\\Symfony\\Component\\Console\\Helper\\SymfonyQuestionHelper' => __DIR__ . '/..' . '/symfony/console/Helper/SymfonyQuestionHelper.php', + 'RectorPrefix20220520\\Symfony\\Component\\Console\\Helper\\Table' => __DIR__ . '/..' . '/symfony/console/Helper/Table.php', + 'RectorPrefix20220520\\Symfony\\Component\\Console\\Helper\\TableCell' => __DIR__ . '/..' . '/symfony/console/Helper/TableCell.php', + 'RectorPrefix20220520\\Symfony\\Component\\Console\\Helper\\TableCellStyle' => __DIR__ . '/..' . '/symfony/console/Helper/TableCellStyle.php', + 'RectorPrefix20220520\\Symfony\\Component\\Console\\Helper\\TableRows' => __DIR__ . '/..' . '/symfony/console/Helper/TableRows.php', + 'RectorPrefix20220520\\Symfony\\Component\\Console\\Helper\\TableSeparator' => __DIR__ . '/..' . '/symfony/console/Helper/TableSeparator.php', + 'RectorPrefix20220520\\Symfony\\Component\\Console\\Helper\\TableStyle' => __DIR__ . '/..' . '/symfony/console/Helper/TableStyle.php', + 'RectorPrefix20220520\\Symfony\\Component\\Console\\Input\\ArgvInput' => __DIR__ . '/..' . '/symfony/console/Input/ArgvInput.php', + 'RectorPrefix20220520\\Symfony\\Component\\Console\\Input\\ArrayInput' => __DIR__ . '/..' . '/symfony/console/Input/ArrayInput.php', + 'RectorPrefix20220520\\Symfony\\Component\\Console\\Input\\Input' => __DIR__ . '/..' . '/symfony/console/Input/Input.php', + 'RectorPrefix20220520\\Symfony\\Component\\Console\\Input\\InputArgument' => __DIR__ . '/..' . '/symfony/console/Input/InputArgument.php', + 'RectorPrefix20220520\\Symfony\\Component\\Console\\Input\\InputAwareInterface' => __DIR__ . '/..' . '/symfony/console/Input/InputAwareInterface.php', + 'RectorPrefix20220520\\Symfony\\Component\\Console\\Input\\InputDefinition' => __DIR__ . '/..' . '/symfony/console/Input/InputDefinition.php', + 'RectorPrefix20220520\\Symfony\\Component\\Console\\Input\\InputInterface' => __DIR__ . '/..' . '/symfony/console/Input/InputInterface.php', + 'RectorPrefix20220520\\Symfony\\Component\\Console\\Input\\InputOption' => __DIR__ . '/..' . '/symfony/console/Input/InputOption.php', + 'RectorPrefix20220520\\Symfony\\Component\\Console\\Input\\StreamableInputInterface' => __DIR__ . '/..' . '/symfony/console/Input/StreamableInputInterface.php', + 'RectorPrefix20220520\\Symfony\\Component\\Console\\Input\\StringInput' => __DIR__ . '/..' . '/symfony/console/Input/StringInput.php', + 'RectorPrefix20220520\\Symfony\\Component\\Console\\Logger\\ConsoleLogger' => __DIR__ . '/..' . '/symfony/console/Logger/ConsoleLogger.php', + 'RectorPrefix20220520\\Symfony\\Component\\Console\\Output\\BufferedOutput' => __DIR__ . '/..' . '/symfony/console/Output/BufferedOutput.php', + 'RectorPrefix20220520\\Symfony\\Component\\Console\\Output\\ConsoleOutput' => __DIR__ . '/..' . '/symfony/console/Output/ConsoleOutput.php', + 'RectorPrefix20220520\\Symfony\\Component\\Console\\Output\\ConsoleOutputInterface' => __DIR__ . '/..' . '/symfony/console/Output/ConsoleOutputInterface.php', + 'RectorPrefix20220520\\Symfony\\Component\\Console\\Output\\ConsoleSectionOutput' => __DIR__ . '/..' . '/symfony/console/Output/ConsoleSectionOutput.php', + 'RectorPrefix20220520\\Symfony\\Component\\Console\\Output\\NullOutput' => __DIR__ . '/..' . '/symfony/console/Output/NullOutput.php', + 'RectorPrefix20220520\\Symfony\\Component\\Console\\Output\\Output' => __DIR__ . '/..' . '/symfony/console/Output/Output.php', + 'RectorPrefix20220520\\Symfony\\Component\\Console\\Output\\OutputInterface' => __DIR__ . '/..' . '/symfony/console/Output/OutputInterface.php', + 'RectorPrefix20220520\\Symfony\\Component\\Console\\Output\\StreamOutput' => __DIR__ . '/..' . '/symfony/console/Output/StreamOutput.php', + 'RectorPrefix20220520\\Symfony\\Component\\Console\\Output\\TrimmedBufferOutput' => __DIR__ . '/..' . '/symfony/console/Output/TrimmedBufferOutput.php', + 'RectorPrefix20220520\\Symfony\\Component\\Console\\Question\\ChoiceQuestion' => __DIR__ . '/..' . '/symfony/console/Question/ChoiceQuestion.php', + 'RectorPrefix20220520\\Symfony\\Component\\Console\\Question\\ConfirmationQuestion' => __DIR__ . '/..' . '/symfony/console/Question/ConfirmationQuestion.php', + 'RectorPrefix20220520\\Symfony\\Component\\Console\\Question\\Question' => __DIR__ . '/..' . '/symfony/console/Question/Question.php', + 'RectorPrefix20220520\\Symfony\\Component\\Console\\SignalRegistry\\SignalRegistry' => __DIR__ . '/..' . '/symfony/console/SignalRegistry/SignalRegistry.php', + 'RectorPrefix20220520\\Symfony\\Component\\Console\\SingleCommandApplication' => __DIR__ . '/..' . '/symfony/console/SingleCommandApplication.php', + 'RectorPrefix20220520\\Symfony\\Component\\Console\\Style\\OutputStyle' => __DIR__ . '/..' . '/symfony/console/Style/OutputStyle.php', + 'RectorPrefix20220520\\Symfony\\Component\\Console\\Style\\StyleInterface' => __DIR__ . '/..' . '/symfony/console/Style/StyleInterface.php', + 'RectorPrefix20220520\\Symfony\\Component\\Console\\Style\\SymfonyStyle' => __DIR__ . '/..' . '/symfony/console/Style/SymfonyStyle.php', + 'RectorPrefix20220520\\Symfony\\Component\\Console\\Terminal' => __DIR__ . '/..' . '/symfony/console/Terminal.php', + 'RectorPrefix20220520\\Symfony\\Component\\Console\\Tester\\ApplicationTester' => __DIR__ . '/..' . '/symfony/console/Tester/ApplicationTester.php', + 'RectorPrefix20220520\\Symfony\\Component\\Console\\Tester\\CommandCompletionTester' => __DIR__ . '/..' . '/symfony/console/Tester/CommandCompletionTester.php', + 'RectorPrefix20220520\\Symfony\\Component\\Console\\Tester\\CommandTester' => __DIR__ . '/..' . '/symfony/console/Tester/CommandTester.php', + 'RectorPrefix20220520\\Symfony\\Component\\Console\\Tester\\Constraint\\CommandIsSuccessful' => __DIR__ . '/..' . '/symfony/console/Tester/Constraint/CommandIsSuccessful.php', + 'RectorPrefix20220520\\Symfony\\Component\\Console\\Tester\\TesterTrait' => __DIR__ . '/..' . '/symfony/console/Tester/TesterTrait.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Alias' => __DIR__ . '/..' . '/symfony/dependency-injection/Alias.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Argument\\AbstractArgument' => __DIR__ . '/..' . '/symfony/dependency-injection/Argument/AbstractArgument.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Argument\\ArgumentInterface' => __DIR__ . '/..' . '/symfony/dependency-injection/Argument/ArgumentInterface.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Argument\\BoundArgument' => __DIR__ . '/..' . '/symfony/dependency-injection/Argument/BoundArgument.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Argument\\IteratorArgument' => __DIR__ . '/..' . '/symfony/dependency-injection/Argument/IteratorArgument.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Argument\\ReferenceSetArgumentTrait' => __DIR__ . '/..' . '/symfony/dependency-injection/Argument/ReferenceSetArgumentTrait.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Argument\\RewindableGenerator' => __DIR__ . '/..' . '/symfony/dependency-injection/Argument/RewindableGenerator.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Argument\\ServiceClosureArgument' => __DIR__ . '/..' . '/symfony/dependency-injection/Argument/ServiceClosureArgument.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Argument\\ServiceLocator' => __DIR__ . '/..' . '/symfony/dependency-injection/Argument/ServiceLocator.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Argument\\ServiceLocatorArgument' => __DIR__ . '/..' . '/symfony/dependency-injection/Argument/ServiceLocatorArgument.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Argument\\TaggedIteratorArgument' => __DIR__ . '/..' . '/symfony/dependency-injection/Argument/TaggedIteratorArgument.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Attribute\\AsTaggedItem' => __DIR__ . '/..' . '/symfony/dependency-injection/Attribute/AsTaggedItem.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Attribute\\Autoconfigure' => __DIR__ . '/..' . '/symfony/dependency-injection/Attribute/Autoconfigure.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Attribute\\AutoconfigureTag' => __DIR__ . '/..' . '/symfony/dependency-injection/Attribute/AutoconfigureTag.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Attribute\\TaggedIterator' => __DIR__ . '/..' . '/symfony/dependency-injection/Attribute/TaggedIterator.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Attribute\\TaggedLocator' => __DIR__ . '/..' . '/symfony/dependency-injection/Attribute/TaggedLocator.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Attribute\\Target' => __DIR__ . '/..' . '/symfony/dependency-injection/Attribute/Target.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Attribute\\When' => __DIR__ . '/..' . '/symfony/dependency-injection/Attribute/When.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\ChildDefinition' => __DIR__ . '/..' . '/symfony/dependency-injection/ChildDefinition.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Compiler\\AbstractRecursivePass' => __DIR__ . '/..' . '/symfony/dependency-injection/Compiler/AbstractRecursivePass.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Compiler\\AliasDeprecatedPublicServicesPass' => __DIR__ . '/..' . '/symfony/dependency-injection/Compiler/AliasDeprecatedPublicServicesPass.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Compiler\\AnalyzeServiceReferencesPass' => __DIR__ . '/..' . '/symfony/dependency-injection/Compiler/AnalyzeServiceReferencesPass.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Compiler\\AttributeAutoconfigurationPass' => __DIR__ . '/..' . '/symfony/dependency-injection/Compiler/AttributeAutoconfigurationPass.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Compiler\\AutoAliasServicePass' => __DIR__ . '/..' . '/symfony/dependency-injection/Compiler/AutoAliasServicePass.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Compiler\\AutowirePass' => __DIR__ . '/..' . '/symfony/dependency-injection/Compiler/AutowirePass.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Compiler\\AutowireRequiredMethodsPass' => __DIR__ . '/..' . '/symfony/dependency-injection/Compiler/AutowireRequiredMethodsPass.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Compiler\\AutowireRequiredPropertiesPass' => __DIR__ . '/..' . '/symfony/dependency-injection/Compiler/AutowireRequiredPropertiesPass.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Compiler\\CheckArgumentsValidityPass' => __DIR__ . '/..' . '/symfony/dependency-injection/Compiler/CheckArgumentsValidityPass.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Compiler\\CheckCircularReferencesPass' => __DIR__ . '/..' . '/symfony/dependency-injection/Compiler/CheckCircularReferencesPass.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Compiler\\CheckDefinitionValidityPass' => __DIR__ . '/..' . '/symfony/dependency-injection/Compiler/CheckDefinitionValidityPass.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Compiler\\CheckExceptionOnInvalidReferenceBehaviorPass' => __DIR__ . '/..' . '/symfony/dependency-injection/Compiler/CheckExceptionOnInvalidReferenceBehaviorPass.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Compiler\\CheckReferenceValidityPass' => __DIR__ . '/..' . '/symfony/dependency-injection/Compiler/CheckReferenceValidityPass.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Compiler\\CheckTypeDeclarationsPass' => __DIR__ . '/..' . '/symfony/dependency-injection/Compiler/CheckTypeDeclarationsPass.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Compiler\\Compiler' => __DIR__ . '/..' . '/symfony/dependency-injection/Compiler/Compiler.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Compiler\\CompilerPassInterface' => __DIR__ . '/..' . '/symfony/dependency-injection/Compiler/CompilerPassInterface.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Compiler\\DecoratorServicePass' => __DIR__ . '/..' . '/symfony/dependency-injection/Compiler/DecoratorServicePass.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Compiler\\DefinitionErrorExceptionPass' => __DIR__ . '/..' . '/symfony/dependency-injection/Compiler/DefinitionErrorExceptionPass.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Compiler\\ExtensionCompilerPass' => __DIR__ . '/..' . '/symfony/dependency-injection/Compiler/ExtensionCompilerPass.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Compiler\\InlineServiceDefinitionsPass' => __DIR__ . '/..' . '/symfony/dependency-injection/Compiler/InlineServiceDefinitionsPass.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Compiler\\MergeExtensionConfigurationPass' => __DIR__ . '/..' . '/symfony/dependency-injection/Compiler/MergeExtensionConfigurationPass.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Compiler\\PassConfig' => __DIR__ . '/..' . '/symfony/dependency-injection/Compiler/PassConfig.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Compiler\\PriorityTaggedServiceTrait' => __DIR__ . '/..' . '/symfony/dependency-injection/Compiler/PriorityTaggedServiceTrait.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Compiler\\RegisterAutoconfigureAttributesPass' => __DIR__ . '/..' . '/symfony/dependency-injection/Compiler/RegisterAutoconfigureAttributesPass.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Compiler\\RegisterEnvVarProcessorsPass' => __DIR__ . '/..' . '/symfony/dependency-injection/Compiler/RegisterEnvVarProcessorsPass.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Compiler\\RegisterReverseContainerPass' => __DIR__ . '/..' . '/symfony/dependency-injection/Compiler/RegisterReverseContainerPass.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Compiler\\RegisterServiceSubscribersPass' => __DIR__ . '/..' . '/symfony/dependency-injection/Compiler/RegisterServiceSubscribersPass.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Compiler\\RemoveAbstractDefinitionsPass' => __DIR__ . '/..' . '/symfony/dependency-injection/Compiler/RemoveAbstractDefinitionsPass.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Compiler\\RemovePrivateAliasesPass' => __DIR__ . '/..' . '/symfony/dependency-injection/Compiler/RemovePrivateAliasesPass.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Compiler\\RemoveUnusedDefinitionsPass' => __DIR__ . '/..' . '/symfony/dependency-injection/Compiler/RemoveUnusedDefinitionsPass.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Compiler\\ReplaceAliasByActualDefinitionPass' => __DIR__ . '/..' . '/symfony/dependency-injection/Compiler/ReplaceAliasByActualDefinitionPass.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Compiler\\ResolveBindingsPass' => __DIR__ . '/..' . '/symfony/dependency-injection/Compiler/ResolveBindingsPass.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Compiler\\ResolveChildDefinitionsPass' => __DIR__ . '/..' . '/symfony/dependency-injection/Compiler/ResolveChildDefinitionsPass.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Compiler\\ResolveClassPass' => __DIR__ . '/..' . '/symfony/dependency-injection/Compiler/ResolveClassPass.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Compiler\\ResolveDecoratorStackPass' => __DIR__ . '/..' . '/symfony/dependency-injection/Compiler/ResolveDecoratorStackPass.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Compiler\\ResolveEnvPlaceholdersPass' => __DIR__ . '/..' . '/symfony/dependency-injection/Compiler/ResolveEnvPlaceholdersPass.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Compiler\\ResolveFactoryClassPass' => __DIR__ . '/..' . '/symfony/dependency-injection/Compiler/ResolveFactoryClassPass.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Compiler\\ResolveHotPathPass' => __DIR__ . '/..' . '/symfony/dependency-injection/Compiler/ResolveHotPathPass.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Compiler\\ResolveInstanceofConditionalsPass' => __DIR__ . '/..' . '/symfony/dependency-injection/Compiler/ResolveInstanceofConditionalsPass.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Compiler\\ResolveInvalidReferencesPass' => __DIR__ . '/..' . '/symfony/dependency-injection/Compiler/ResolveInvalidReferencesPass.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Compiler\\ResolveNamedArgumentsPass' => __DIR__ . '/..' . '/symfony/dependency-injection/Compiler/ResolveNamedArgumentsPass.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Compiler\\ResolveNoPreloadPass' => __DIR__ . '/..' . '/symfony/dependency-injection/Compiler/ResolveNoPreloadPass.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Compiler\\ResolveParameterPlaceHoldersPass' => __DIR__ . '/..' . '/symfony/dependency-injection/Compiler/ResolveParameterPlaceHoldersPass.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Compiler\\ResolveReferencesToAliasesPass' => __DIR__ . '/..' . '/symfony/dependency-injection/Compiler/ResolveReferencesToAliasesPass.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Compiler\\ResolveServiceSubscribersPass' => __DIR__ . '/..' . '/symfony/dependency-injection/Compiler/ResolveServiceSubscribersPass.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Compiler\\ResolveTaggedIteratorArgumentPass' => __DIR__ . '/..' . '/symfony/dependency-injection/Compiler/ResolveTaggedIteratorArgumentPass.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Compiler\\ServiceLocatorTagPass' => __DIR__ . '/..' . '/symfony/dependency-injection/Compiler/ServiceLocatorTagPass.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Compiler\\ServiceReferenceGraph' => __DIR__ . '/..' . '/symfony/dependency-injection/Compiler/ServiceReferenceGraph.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Compiler\\ServiceReferenceGraphEdge' => __DIR__ . '/..' . '/symfony/dependency-injection/Compiler/ServiceReferenceGraphEdge.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Compiler\\ServiceReferenceGraphNode' => __DIR__ . '/..' . '/symfony/dependency-injection/Compiler/ServiceReferenceGraphNode.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Compiler\\ValidateEnvPlaceholdersPass' => __DIR__ . '/..' . '/symfony/dependency-injection/Compiler/ValidateEnvPlaceholdersPass.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Config\\ContainerParametersResource' => __DIR__ . '/..' . '/symfony/dependency-injection/Config/ContainerParametersResource.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Config\\ContainerParametersResourceChecker' => __DIR__ . '/..' . '/symfony/dependency-injection/Config/ContainerParametersResourceChecker.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Container' => __DIR__ . '/..' . '/symfony/dependency-injection/Container.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\ContainerAwareInterface' => __DIR__ . '/..' . '/symfony/dependency-injection/ContainerAwareInterface.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\ContainerAwareTrait' => __DIR__ . '/..' . '/symfony/dependency-injection/ContainerAwareTrait.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\ContainerBuilder' => __DIR__ . '/..' . '/symfony/dependency-injection/ContainerBuilder.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\ContainerInterface' => __DIR__ . '/..' . '/symfony/dependency-injection/ContainerInterface.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Definition' => __DIR__ . '/..' . '/symfony/dependency-injection/Definition.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Dumper\\Dumper' => __DIR__ . '/..' . '/symfony/dependency-injection/Dumper/Dumper.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Dumper\\DumperInterface' => __DIR__ . '/..' . '/symfony/dependency-injection/Dumper/DumperInterface.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Dumper\\GraphvizDumper' => __DIR__ . '/..' . '/symfony/dependency-injection/Dumper/GraphvizDumper.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Dumper\\PhpDumper' => __DIR__ . '/..' . '/symfony/dependency-injection/Dumper/PhpDumper.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Dumper\\Preloader' => __DIR__ . '/..' . '/symfony/dependency-injection/Dumper/Preloader.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Dumper\\XmlDumper' => __DIR__ . '/..' . '/symfony/dependency-injection/Dumper/XmlDumper.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Dumper\\YamlDumper' => __DIR__ . '/..' . '/symfony/dependency-injection/Dumper/YamlDumper.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\EnvVarLoaderInterface' => __DIR__ . '/..' . '/symfony/dependency-injection/EnvVarLoaderInterface.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\EnvVarProcessor' => __DIR__ . '/..' . '/symfony/dependency-injection/EnvVarProcessor.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\EnvVarProcessorInterface' => __DIR__ . '/..' . '/symfony/dependency-injection/EnvVarProcessorInterface.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Exception\\AutowiringFailedException' => __DIR__ . '/..' . '/symfony/dependency-injection/Exception/AutowiringFailedException.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Exception\\BadMethodCallException' => __DIR__ . '/..' . '/symfony/dependency-injection/Exception/BadMethodCallException.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Exception\\EnvNotFoundException' => __DIR__ . '/..' . '/symfony/dependency-injection/Exception/EnvNotFoundException.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Exception\\EnvParameterException' => __DIR__ . '/..' . '/symfony/dependency-injection/Exception/EnvParameterException.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Exception\\ExceptionInterface' => __DIR__ . '/..' . '/symfony/dependency-injection/Exception/ExceptionInterface.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Exception\\InvalidArgumentException' => __DIR__ . '/..' . '/symfony/dependency-injection/Exception/InvalidArgumentException.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Exception\\InvalidParameterTypeException' => __DIR__ . '/..' . '/symfony/dependency-injection/Exception/InvalidParameterTypeException.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Exception\\LogicException' => __DIR__ . '/..' . '/symfony/dependency-injection/Exception/LogicException.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Exception\\OutOfBoundsException' => __DIR__ . '/..' . '/symfony/dependency-injection/Exception/OutOfBoundsException.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Exception\\ParameterCircularReferenceException' => __DIR__ . '/..' . '/symfony/dependency-injection/Exception/ParameterCircularReferenceException.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Exception\\ParameterNotFoundException' => __DIR__ . '/..' . '/symfony/dependency-injection/Exception/ParameterNotFoundException.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Exception\\RuntimeException' => __DIR__ . '/..' . '/symfony/dependency-injection/Exception/RuntimeException.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Exception\\ServiceCircularReferenceException' => __DIR__ . '/..' . '/symfony/dependency-injection/Exception/ServiceCircularReferenceException.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Exception\\ServiceNotFoundException' => __DIR__ . '/..' . '/symfony/dependency-injection/Exception/ServiceNotFoundException.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\ExpressionLanguage' => __DIR__ . '/..' . '/symfony/dependency-injection/ExpressionLanguage.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\ExpressionLanguageProvider' => __DIR__ . '/..' . '/symfony/dependency-injection/ExpressionLanguageProvider.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Extension\\ConfigurationExtensionInterface' => __DIR__ . '/..' . '/symfony/dependency-injection/Extension/ConfigurationExtensionInterface.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Extension\\Extension' => __DIR__ . '/..' . '/symfony/dependency-injection/Extension/Extension.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Extension\\ExtensionInterface' => __DIR__ . '/..' . '/symfony/dependency-injection/Extension/ExtensionInterface.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Extension\\PrependExtensionInterface' => __DIR__ . '/..' . '/symfony/dependency-injection/Extension/PrependExtensionInterface.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\LazyProxy\\Instantiator\\InstantiatorInterface' => __DIR__ . '/..' . '/symfony/dependency-injection/LazyProxy/Instantiator/InstantiatorInterface.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\LazyProxy\\Instantiator\\RealServiceInstantiator' => __DIR__ . '/..' . '/symfony/dependency-injection/LazyProxy/Instantiator/RealServiceInstantiator.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\LazyProxy\\PhpDumper\\DumperInterface' => __DIR__ . '/..' . '/symfony/dependency-injection/LazyProxy/PhpDumper/DumperInterface.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\LazyProxy\\PhpDumper\\NullDumper' => __DIR__ . '/..' . '/symfony/dependency-injection/LazyProxy/PhpDumper/NullDumper.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\LazyProxy\\ProxyHelper' => __DIR__ . '/..' . '/symfony/dependency-injection/LazyProxy/ProxyHelper.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Loader\\ClosureLoader' => __DIR__ . '/..' . '/symfony/dependency-injection/Loader/ClosureLoader.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\AbstractConfigurator' => __DIR__ . '/..' . '/symfony/dependency-injection/Loader/Configurator/AbstractConfigurator.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\AbstractServiceConfigurator' => __DIR__ . '/..' . '/symfony/dependency-injection/Loader/Configurator/AbstractServiceConfigurator.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\AliasConfigurator' => __DIR__ . '/..' . '/symfony/dependency-injection/Loader/Configurator/AliasConfigurator.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\ClosureReferenceConfigurator' => __DIR__ . '/..' . '/symfony/dependency-injection/Loader/Configurator/ClosureReferenceConfigurator.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\ContainerConfigurator' => __DIR__ . '/..' . '/symfony/dependency-injection/Loader/Configurator/ContainerConfigurator.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\DefaultsConfigurator' => __DIR__ . '/..' . '/symfony/dependency-injection/Loader/Configurator/DefaultsConfigurator.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\EnvConfigurator' => __DIR__ . '/..' . '/symfony/dependency-injection/Loader/Configurator/EnvConfigurator.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\InlineServiceConfigurator' => __DIR__ . '/..' . '/symfony/dependency-injection/Loader/Configurator/InlineServiceConfigurator.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\InstanceofConfigurator' => __DIR__ . '/..' . '/symfony/dependency-injection/Loader/Configurator/InstanceofConfigurator.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\ParametersConfigurator' => __DIR__ . '/..' . '/symfony/dependency-injection/Loader/Configurator/ParametersConfigurator.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\PrototypeConfigurator' => __DIR__ . '/..' . '/symfony/dependency-injection/Loader/Configurator/PrototypeConfigurator.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\ReferenceConfigurator' => __DIR__ . '/..' . '/symfony/dependency-injection/Loader/Configurator/ReferenceConfigurator.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\ServiceConfigurator' => __DIR__ . '/..' . '/symfony/dependency-injection/Loader/Configurator/ServiceConfigurator.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\ServicesConfigurator' => __DIR__ . '/..' . '/symfony/dependency-injection/Loader/Configurator/ServicesConfigurator.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\Traits\\AbstractTrait' => __DIR__ . '/..' . '/symfony/dependency-injection/Loader/Configurator/Traits/AbstractTrait.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\Traits\\ArgumentTrait' => __DIR__ . '/..' . '/symfony/dependency-injection/Loader/Configurator/Traits/ArgumentTrait.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\Traits\\AutoconfigureTrait' => __DIR__ . '/..' . '/symfony/dependency-injection/Loader/Configurator/Traits/AutoconfigureTrait.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\Traits\\AutowireTrait' => __DIR__ . '/..' . '/symfony/dependency-injection/Loader/Configurator/Traits/AutowireTrait.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\Traits\\BindTrait' => __DIR__ . '/..' . '/symfony/dependency-injection/Loader/Configurator/Traits/BindTrait.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\Traits\\CallTrait' => __DIR__ . '/..' . '/symfony/dependency-injection/Loader/Configurator/Traits/CallTrait.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\Traits\\ClassTrait' => __DIR__ . '/..' . '/symfony/dependency-injection/Loader/Configurator/Traits/ClassTrait.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\Traits\\ConfiguratorTrait' => __DIR__ . '/..' . '/symfony/dependency-injection/Loader/Configurator/Traits/ConfiguratorTrait.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\Traits\\DecorateTrait' => __DIR__ . '/..' . '/symfony/dependency-injection/Loader/Configurator/Traits/DecorateTrait.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\Traits\\DeprecateTrait' => __DIR__ . '/..' . '/symfony/dependency-injection/Loader/Configurator/Traits/DeprecateTrait.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\Traits\\FactoryTrait' => __DIR__ . '/..' . '/symfony/dependency-injection/Loader/Configurator/Traits/FactoryTrait.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\Traits\\FileTrait' => __DIR__ . '/..' . '/symfony/dependency-injection/Loader/Configurator/Traits/FileTrait.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\Traits\\LazyTrait' => __DIR__ . '/..' . '/symfony/dependency-injection/Loader/Configurator/Traits/LazyTrait.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\Traits\\ParentTrait' => __DIR__ . '/..' . '/symfony/dependency-injection/Loader/Configurator/Traits/ParentTrait.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\Traits\\PropertyTrait' => __DIR__ . '/..' . '/symfony/dependency-injection/Loader/Configurator/Traits/PropertyTrait.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\Traits\\PublicTrait' => __DIR__ . '/..' . '/symfony/dependency-injection/Loader/Configurator/Traits/PublicTrait.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\Traits\\ShareTrait' => __DIR__ . '/..' . '/symfony/dependency-injection/Loader/Configurator/Traits/ShareTrait.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\Traits\\SyntheticTrait' => __DIR__ . '/..' . '/symfony/dependency-injection/Loader/Configurator/Traits/SyntheticTrait.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\Traits\\TagTrait' => __DIR__ . '/..' . '/symfony/dependency-injection/Loader/Configurator/Traits/TagTrait.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Loader\\DirectoryLoader' => __DIR__ . '/..' . '/symfony/dependency-injection/Loader/DirectoryLoader.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Loader\\FileLoader' => __DIR__ . '/..' . '/symfony/dependency-injection/Loader/FileLoader.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Loader\\GlobFileLoader' => __DIR__ . '/..' . '/symfony/dependency-injection/Loader/GlobFileLoader.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Loader\\IniFileLoader' => __DIR__ . '/..' . '/symfony/dependency-injection/Loader/IniFileLoader.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Loader\\PhpFileLoader' => __DIR__ . '/..' . '/symfony/dependency-injection/Loader/PhpFileLoader.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Loader\\XmlFileLoader' => __DIR__ . '/..' . '/symfony/dependency-injection/Loader/XmlFileLoader.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Loader\\YamlFileLoader' => __DIR__ . '/..' . '/symfony/dependency-injection/Loader/YamlFileLoader.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Parameter' => __DIR__ . '/..' . '/symfony/dependency-injection/Parameter.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\ParameterBag\\ContainerBag' => __DIR__ . '/..' . '/symfony/dependency-injection/ParameterBag/ContainerBag.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\ParameterBag\\ContainerBagInterface' => __DIR__ . '/..' . '/symfony/dependency-injection/ParameterBag/ContainerBagInterface.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\ParameterBag\\EnvPlaceholderParameterBag' => __DIR__ . '/..' . '/symfony/dependency-injection/ParameterBag/EnvPlaceholderParameterBag.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\ParameterBag\\FrozenParameterBag' => __DIR__ . '/..' . '/symfony/dependency-injection/ParameterBag/FrozenParameterBag.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\ParameterBag\\ParameterBag' => __DIR__ . '/..' . '/symfony/dependency-injection/ParameterBag/ParameterBag.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\ParameterBag\\ParameterBagInterface' => __DIR__ . '/..' . '/symfony/dependency-injection/ParameterBag/ParameterBagInterface.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Reference' => __DIR__ . '/..' . '/symfony/dependency-injection/Reference.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\ReverseContainer' => __DIR__ . '/..' . '/symfony/dependency-injection/ReverseContainer.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\ServiceLocator' => __DIR__ . '/..' . '/symfony/dependency-injection/ServiceLocator.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\TaggedContainerInterface' => __DIR__ . '/..' . '/symfony/dependency-injection/TaggedContainerInterface.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\TypedReference' => __DIR__ . '/..' . '/symfony/dependency-injection/TypedReference.php', + 'RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Variable' => __DIR__ . '/..' . '/symfony/dependency-injection/Variable.php', + 'RectorPrefix20220520\\Symfony\\Component\\Filesystem\\Exception\\ExceptionInterface' => __DIR__ . '/..' . '/symfony/filesystem/Exception/ExceptionInterface.php', + 'RectorPrefix20220520\\Symfony\\Component\\Filesystem\\Exception\\FileNotFoundException' => __DIR__ . '/..' . '/symfony/filesystem/Exception/FileNotFoundException.php', + 'RectorPrefix20220520\\Symfony\\Component\\Filesystem\\Exception\\IOException' => __DIR__ . '/..' . '/symfony/filesystem/Exception/IOException.php', + 'RectorPrefix20220520\\Symfony\\Component\\Filesystem\\Exception\\IOExceptionInterface' => __DIR__ . '/..' . '/symfony/filesystem/Exception/IOExceptionInterface.php', + 'RectorPrefix20220520\\Symfony\\Component\\Filesystem\\Exception\\InvalidArgumentException' => __DIR__ . '/..' . '/symfony/filesystem/Exception/InvalidArgumentException.php', + 'RectorPrefix20220520\\Symfony\\Component\\Filesystem\\Exception\\RuntimeException' => __DIR__ . '/..' . '/symfony/filesystem/Exception/RuntimeException.php', + 'RectorPrefix20220520\\Symfony\\Component\\Filesystem\\Filesystem' => __DIR__ . '/..' . '/symfony/filesystem/Filesystem.php', + 'RectorPrefix20220520\\Symfony\\Component\\Filesystem\\Path' => __DIR__ . '/..' . '/symfony/filesystem/Path.php', + 'RectorPrefix20220520\\Symfony\\Component\\Finder\\Comparator\\Comparator' => __DIR__ . '/..' . '/symfony/finder/Comparator/Comparator.php', + 'RectorPrefix20220520\\Symfony\\Component\\Finder\\Comparator\\DateComparator' => __DIR__ . '/..' . '/symfony/finder/Comparator/DateComparator.php', + 'RectorPrefix20220520\\Symfony\\Component\\Finder\\Comparator\\NumberComparator' => __DIR__ . '/..' . '/symfony/finder/Comparator/NumberComparator.php', + 'RectorPrefix20220520\\Symfony\\Component\\Finder\\Exception\\AccessDeniedException' => __DIR__ . '/..' . '/symfony/finder/Exception/AccessDeniedException.php', + 'RectorPrefix20220520\\Symfony\\Component\\Finder\\Exception\\DirectoryNotFoundException' => __DIR__ . '/..' . '/symfony/finder/Exception/DirectoryNotFoundException.php', + 'RectorPrefix20220520\\Symfony\\Component\\Finder\\Finder' => __DIR__ . '/..' . '/symfony/finder/Finder.php', + 'RectorPrefix20220520\\Symfony\\Component\\Finder\\Gitignore' => __DIR__ . '/..' . '/symfony/finder/Gitignore.php', + 'RectorPrefix20220520\\Symfony\\Component\\Finder\\Glob' => __DIR__ . '/..' . '/symfony/finder/Glob.php', + 'RectorPrefix20220520\\Symfony\\Component\\Finder\\Iterator\\CustomFilterIterator' => __DIR__ . '/..' . '/symfony/finder/Iterator/CustomFilterIterator.php', + 'RectorPrefix20220520\\Symfony\\Component\\Finder\\Iterator\\DateRangeFilterIterator' => __DIR__ . '/..' . '/symfony/finder/Iterator/DateRangeFilterIterator.php', + 'RectorPrefix20220520\\Symfony\\Component\\Finder\\Iterator\\DepthRangeFilterIterator' => __DIR__ . '/..' . '/symfony/finder/Iterator/DepthRangeFilterIterator.php', + 'RectorPrefix20220520\\Symfony\\Component\\Finder\\Iterator\\ExcludeDirectoryFilterIterator' => __DIR__ . '/..' . '/symfony/finder/Iterator/ExcludeDirectoryFilterIterator.php', + 'RectorPrefix20220520\\Symfony\\Component\\Finder\\Iterator\\FileTypeFilterIterator' => __DIR__ . '/..' . '/symfony/finder/Iterator/FileTypeFilterIterator.php', + 'RectorPrefix20220520\\Symfony\\Component\\Finder\\Iterator\\FilecontentFilterIterator' => __DIR__ . '/..' . '/symfony/finder/Iterator/FilecontentFilterIterator.php', + 'RectorPrefix20220520\\Symfony\\Component\\Finder\\Iterator\\FilenameFilterIterator' => __DIR__ . '/..' . '/symfony/finder/Iterator/FilenameFilterIterator.php', + 'RectorPrefix20220520\\Symfony\\Component\\Finder\\Iterator\\LazyIterator' => __DIR__ . '/..' . '/symfony/finder/Iterator/LazyIterator.php', + 'RectorPrefix20220520\\Symfony\\Component\\Finder\\Iterator\\MultiplePcreFilterIterator' => __DIR__ . '/..' . '/symfony/finder/Iterator/MultiplePcreFilterIterator.php', + 'RectorPrefix20220520\\Symfony\\Component\\Finder\\Iterator\\PathFilterIterator' => __DIR__ . '/..' . '/symfony/finder/Iterator/PathFilterIterator.php', + 'RectorPrefix20220520\\Symfony\\Component\\Finder\\Iterator\\RecursiveDirectoryIterator' => __DIR__ . '/..' . '/symfony/finder/Iterator/RecursiveDirectoryIterator.php', + 'RectorPrefix20220520\\Symfony\\Component\\Finder\\Iterator\\SizeRangeFilterIterator' => __DIR__ . '/..' . '/symfony/finder/Iterator/SizeRangeFilterIterator.php', + 'RectorPrefix20220520\\Symfony\\Component\\Finder\\Iterator\\SortableIterator' => __DIR__ . '/..' . '/symfony/finder/Iterator/SortableIterator.php', + 'RectorPrefix20220520\\Symfony\\Component\\Finder\\Iterator\\VcsIgnoredFilterIterator' => __DIR__ . '/..' . '/symfony/finder/Iterator/VcsIgnoredFilterIterator.php', + 'RectorPrefix20220520\\Symfony\\Component\\Finder\\SplFileInfo' => __DIR__ . '/..' . '/symfony/finder/SplFileInfo.php', + 'RectorPrefix20220520\\Symfony\\Component\\Process\\Exception\\ExceptionInterface' => __DIR__ . '/..' . '/symfony/process/Exception/ExceptionInterface.php', + 'RectorPrefix20220520\\Symfony\\Component\\Process\\Exception\\InvalidArgumentException' => __DIR__ . '/..' . '/symfony/process/Exception/InvalidArgumentException.php', + 'RectorPrefix20220520\\Symfony\\Component\\Process\\Exception\\LogicException' => __DIR__ . '/..' . '/symfony/process/Exception/LogicException.php', + 'RectorPrefix20220520\\Symfony\\Component\\Process\\Exception\\ProcessFailedException' => __DIR__ . '/..' . '/symfony/process/Exception/ProcessFailedException.php', + 'RectorPrefix20220520\\Symfony\\Component\\Process\\Exception\\ProcessSignaledException' => __DIR__ . '/..' . '/symfony/process/Exception/ProcessSignaledException.php', + 'RectorPrefix20220520\\Symfony\\Component\\Process\\Exception\\ProcessTimedOutException' => __DIR__ . '/..' . '/symfony/process/Exception/ProcessTimedOutException.php', + 'RectorPrefix20220520\\Symfony\\Component\\Process\\Exception\\RuntimeException' => __DIR__ . '/..' . '/symfony/process/Exception/RuntimeException.php', + 'RectorPrefix20220520\\Symfony\\Component\\Process\\ExecutableFinder' => __DIR__ . '/..' . '/symfony/process/ExecutableFinder.php', + 'RectorPrefix20220520\\Symfony\\Component\\Process\\InputStream' => __DIR__ . '/..' . '/symfony/process/InputStream.php', + 'RectorPrefix20220520\\Symfony\\Component\\Process\\PhpExecutableFinder' => __DIR__ . '/..' . '/symfony/process/PhpExecutableFinder.php', + 'RectorPrefix20220520\\Symfony\\Component\\Process\\PhpProcess' => __DIR__ . '/..' . '/symfony/process/PhpProcess.php', + 'RectorPrefix20220520\\Symfony\\Component\\Process\\Pipes\\AbstractPipes' => __DIR__ . '/..' . '/symfony/process/Pipes/AbstractPipes.php', + 'RectorPrefix20220520\\Symfony\\Component\\Process\\Pipes\\PipesInterface' => __DIR__ . '/..' . '/symfony/process/Pipes/PipesInterface.php', + 'RectorPrefix20220520\\Symfony\\Component\\Process\\Pipes\\UnixPipes' => __DIR__ . '/..' . '/symfony/process/Pipes/UnixPipes.php', + 'RectorPrefix20220520\\Symfony\\Component\\Process\\Pipes\\WindowsPipes' => __DIR__ . '/..' . '/symfony/process/Pipes/WindowsPipes.php', + 'RectorPrefix20220520\\Symfony\\Component\\Process\\Process' => __DIR__ . '/..' . '/symfony/process/Process.php', + 'RectorPrefix20220520\\Symfony\\Component\\Process\\ProcessUtils' => __DIR__ . '/..' . '/symfony/process/ProcessUtils.php', + 'RectorPrefix20220520\\Symfony\\Component\\String\\AbstractString' => __DIR__ . '/..' . '/symfony/string/AbstractString.php', + 'RectorPrefix20220520\\Symfony\\Component\\String\\AbstractUnicodeString' => __DIR__ . '/..' . '/symfony/string/AbstractUnicodeString.php', + 'RectorPrefix20220520\\Symfony\\Component\\String\\ByteString' => __DIR__ . '/..' . '/symfony/string/ByteString.php', + 'RectorPrefix20220520\\Symfony\\Component\\String\\CodePointString' => __DIR__ . '/..' . '/symfony/string/CodePointString.php', + 'RectorPrefix20220520\\Symfony\\Component\\String\\Exception\\ExceptionInterface' => __DIR__ . '/..' . '/symfony/string/Exception/ExceptionInterface.php', + 'RectorPrefix20220520\\Symfony\\Component\\String\\Exception\\InvalidArgumentException' => __DIR__ . '/..' . '/symfony/string/Exception/InvalidArgumentException.php', + 'RectorPrefix20220520\\Symfony\\Component\\String\\Exception\\RuntimeException' => __DIR__ . '/..' . '/symfony/string/Exception/RuntimeException.php', + 'RectorPrefix20220520\\Symfony\\Component\\String\\Inflector\\EnglishInflector' => __DIR__ . '/..' . '/symfony/string/Inflector/EnglishInflector.php', + 'RectorPrefix20220520\\Symfony\\Component\\String\\Inflector\\FrenchInflector' => __DIR__ . '/..' . '/symfony/string/Inflector/FrenchInflector.php', + 'RectorPrefix20220520\\Symfony\\Component\\String\\Inflector\\InflectorInterface' => __DIR__ . '/..' . '/symfony/string/Inflector/InflectorInterface.php', + 'RectorPrefix20220520\\Symfony\\Component\\String\\LazyString' => __DIR__ . '/..' . '/symfony/string/LazyString.php', + 'RectorPrefix20220520\\Symfony\\Component\\String\\Slugger\\AsciiSlugger' => __DIR__ . '/..' . '/symfony/string/Slugger/AsciiSlugger.php', + 'RectorPrefix20220520\\Symfony\\Component\\String\\Slugger\\SluggerInterface' => __DIR__ . '/..' . '/symfony/string/Slugger/SluggerInterface.php', + 'RectorPrefix20220520\\Symfony\\Component\\String\\UnicodeString' => __DIR__ . '/..' . '/symfony/string/UnicodeString.php', + 'RectorPrefix20220520\\Symfony\\Component\\Yaml\\Command\\LintCommand' => __DIR__ . '/..' . '/symfony/yaml/Command/LintCommand.php', + 'RectorPrefix20220520\\Symfony\\Component\\Yaml\\Dumper' => __DIR__ . '/..' . '/symfony/yaml/Dumper.php', + 'RectorPrefix20220520\\Symfony\\Component\\Yaml\\Escaper' => __DIR__ . '/..' . '/symfony/yaml/Escaper.php', + 'RectorPrefix20220520\\Symfony\\Component\\Yaml\\Exception\\DumpException' => __DIR__ . '/..' . '/symfony/yaml/Exception/DumpException.php', + 'RectorPrefix20220520\\Symfony\\Component\\Yaml\\Exception\\ExceptionInterface' => __DIR__ . '/..' . '/symfony/yaml/Exception/ExceptionInterface.php', + 'RectorPrefix20220520\\Symfony\\Component\\Yaml\\Exception\\ParseException' => __DIR__ . '/..' . '/symfony/yaml/Exception/ParseException.php', + 'RectorPrefix20220520\\Symfony\\Component\\Yaml\\Exception\\RuntimeException' => __DIR__ . '/..' . '/symfony/yaml/Exception/RuntimeException.php', + 'RectorPrefix20220520\\Symfony\\Component\\Yaml\\Inline' => __DIR__ . '/..' . '/symfony/yaml/Inline.php', + 'RectorPrefix20220520\\Symfony\\Component\\Yaml\\Parser' => __DIR__ . '/..' . '/symfony/yaml/Parser.php', + 'RectorPrefix20220520\\Symfony\\Component\\Yaml\\Tag\\TaggedValue' => __DIR__ . '/..' . '/symfony/yaml/Tag/TaggedValue.php', + 'RectorPrefix20220520\\Symfony\\Component\\Yaml\\Unescaper' => __DIR__ . '/..' . '/symfony/yaml/Unescaper.php', + 'RectorPrefix20220520\\Symfony\\Component\\Yaml\\Yaml' => __DIR__ . '/..' . '/symfony/yaml/Yaml.php', + 'RectorPrefix20220520\\Symfony\\Contracts\\Cache\\CacheInterface' => __DIR__ . '/..' . '/symfony/contracts/Cache/CacheInterface.php', + 'RectorPrefix20220520\\Symfony\\Contracts\\Cache\\CacheTrait' => __DIR__ . '/..' . '/symfony/contracts/Cache/CacheTrait.php', + 'RectorPrefix20220520\\Symfony\\Contracts\\Cache\\CallbackInterface' => __DIR__ . '/..' . '/symfony/contracts/Cache/CallbackInterface.php', + 'RectorPrefix20220520\\Symfony\\Contracts\\Cache\\ItemInterface' => __DIR__ . '/..' . '/symfony/contracts/Cache/ItemInterface.php', + 'RectorPrefix20220520\\Symfony\\Contracts\\Cache\\TagAwareCacheInterface' => __DIR__ . '/..' . '/symfony/contracts/Cache/TagAwareCacheInterface.php', + 'RectorPrefix20220520\\Symfony\\Contracts\\EventDispatcher\\Event' => __DIR__ . '/..' . '/symfony/contracts/EventDispatcher/Event.php', + 'RectorPrefix20220520\\Symfony\\Contracts\\EventDispatcher\\EventDispatcherInterface' => __DIR__ . '/..' . '/symfony/contracts/EventDispatcher/EventDispatcherInterface.php', + 'RectorPrefix20220520\\Symfony\\Contracts\\HttpClient\\ChunkInterface' => __DIR__ . '/..' . '/symfony/contracts/HttpClient/ChunkInterface.php', + 'RectorPrefix20220520\\Symfony\\Contracts\\HttpClient\\Exception\\ClientExceptionInterface' => __DIR__ . '/..' . '/symfony/contracts/HttpClient/Exception/ClientExceptionInterface.php', + 'RectorPrefix20220520\\Symfony\\Contracts\\HttpClient\\Exception\\DecodingExceptionInterface' => __DIR__ . '/..' . '/symfony/contracts/HttpClient/Exception/DecodingExceptionInterface.php', + 'RectorPrefix20220520\\Symfony\\Contracts\\HttpClient\\Exception\\ExceptionInterface' => __DIR__ . '/..' . '/symfony/contracts/HttpClient/Exception/ExceptionInterface.php', + 'RectorPrefix20220520\\Symfony\\Contracts\\HttpClient\\Exception\\HttpExceptionInterface' => __DIR__ . '/..' . '/symfony/contracts/HttpClient/Exception/HttpExceptionInterface.php', + 'RectorPrefix20220520\\Symfony\\Contracts\\HttpClient\\Exception\\RedirectionExceptionInterface' => __DIR__ . '/..' . '/symfony/contracts/HttpClient/Exception/RedirectionExceptionInterface.php', + 'RectorPrefix20220520\\Symfony\\Contracts\\HttpClient\\Exception\\ServerExceptionInterface' => __DIR__ . '/..' . '/symfony/contracts/HttpClient/Exception/ServerExceptionInterface.php', + 'RectorPrefix20220520\\Symfony\\Contracts\\HttpClient\\Exception\\TimeoutExceptionInterface' => __DIR__ . '/..' . '/symfony/contracts/HttpClient/Exception/TimeoutExceptionInterface.php', + 'RectorPrefix20220520\\Symfony\\Contracts\\HttpClient\\Exception\\TransportExceptionInterface' => __DIR__ . '/..' . '/symfony/contracts/HttpClient/Exception/TransportExceptionInterface.php', + 'RectorPrefix20220520\\Symfony\\Contracts\\HttpClient\\HttpClientInterface' => __DIR__ . '/..' . '/symfony/contracts/HttpClient/HttpClientInterface.php', + 'RectorPrefix20220520\\Symfony\\Contracts\\HttpClient\\ResponseInterface' => __DIR__ . '/..' . '/symfony/contracts/HttpClient/ResponseInterface.php', + 'RectorPrefix20220520\\Symfony\\Contracts\\HttpClient\\ResponseStreamInterface' => __DIR__ . '/..' . '/symfony/contracts/HttpClient/ResponseStreamInterface.php', + 'RectorPrefix20220520\\Symfony\\Contracts\\HttpClient\\Test\\HttpClientTestCase' => __DIR__ . '/..' . '/symfony/contracts/HttpClient/Test/HttpClientTestCase.php', + 'RectorPrefix20220520\\Symfony\\Contracts\\HttpClient\\Test\\TestHttpServer' => __DIR__ . '/..' . '/symfony/contracts/HttpClient/Test/TestHttpServer.php', + 'RectorPrefix20220520\\Symfony\\Contracts\\Service\\Attribute\\Required' => __DIR__ . '/..' . '/symfony/contracts/Service/Attribute/Required.php', + 'RectorPrefix20220520\\Symfony\\Contracts\\Service\\Attribute\\SubscribedService' => __DIR__ . '/..' . '/symfony/contracts/Service/Attribute/SubscribedService.php', + 'RectorPrefix20220520\\Symfony\\Contracts\\Service\\ResetInterface' => __DIR__ . '/..' . '/symfony/contracts/Service/ResetInterface.php', + 'RectorPrefix20220520\\Symfony\\Contracts\\Service\\ServiceLocatorTrait' => __DIR__ . '/..' . '/symfony/contracts/Service/ServiceLocatorTrait.php', + 'RectorPrefix20220520\\Symfony\\Contracts\\Service\\ServiceProviderInterface' => __DIR__ . '/..' . '/symfony/contracts/Service/ServiceProviderInterface.php', + 'RectorPrefix20220520\\Symfony\\Contracts\\Service\\ServiceSubscriberInterface' => __DIR__ . '/..' . '/symfony/contracts/Service/ServiceSubscriberInterface.php', + 'RectorPrefix20220520\\Symfony\\Contracts\\Service\\ServiceSubscriberTrait' => __DIR__ . '/..' . '/symfony/contracts/Service/ServiceSubscriberTrait.php', + 'RectorPrefix20220520\\Symfony\\Contracts\\Service\\Test\\ServiceLocatorTest' => __DIR__ . '/..' . '/symfony/contracts/Service/Test/ServiceLocatorTest.php', + 'RectorPrefix20220520\\Symfony\\Contracts\\Tests\\Cache\\CacheTraitTest' => __DIR__ . '/..' . '/symfony/contracts/Tests/Cache/CacheTraitTest.php', + 'RectorPrefix20220520\\Symfony\\Contracts\\Tests\\Service\\ServiceSubscriberTraitTest' => __DIR__ . '/..' . '/symfony/contracts/Tests/Service/ServiceSubscriberTraitTest.php', + 'RectorPrefix20220520\\Symfony\\Contracts\\Translation\\LocaleAwareInterface' => __DIR__ . '/..' . '/symfony/contracts/Translation/LocaleAwareInterface.php', + 'RectorPrefix20220520\\Symfony\\Contracts\\Translation\\Test\\TranslatorTest' => __DIR__ . '/..' . '/symfony/contracts/Translation/Test/TranslatorTest.php', + 'RectorPrefix20220520\\Symfony\\Contracts\\Translation\\TranslatableInterface' => __DIR__ . '/..' . '/symfony/contracts/Translation/TranslatableInterface.php', + 'RectorPrefix20220520\\Symfony\\Contracts\\Translation\\TranslatorInterface' => __DIR__ . '/..' . '/symfony/contracts/Translation/TranslatorInterface.php', + 'RectorPrefix20220520\\Symfony\\Contracts\\Translation\\TranslatorTrait' => __DIR__ . '/..' . '/symfony/contracts/Translation/TranslatorTrait.php', + 'RectorPrefix20220520\\Symfony\\Polyfill\\Ctype\\Ctype' => __DIR__ . '/..' . '/symfony/polyfill-ctype/Ctype.php', + 'RectorPrefix20220520\\Symfony\\Polyfill\\Intl\\Grapheme\\Grapheme' => __DIR__ . '/..' . '/symfony/polyfill-intl-grapheme/Grapheme.php', + 'RectorPrefix20220520\\Symfony\\Polyfill\\Intl\\Normalizer\\Normalizer' => __DIR__ . '/..' . '/symfony/polyfill-intl-normalizer/Normalizer.php', + 'RectorPrefix20220520\\Symfony\\Polyfill\\Mbstring\\Mbstring' => __DIR__ . '/..' . '/symfony/polyfill-mbstring/Mbstring.php', + 'RectorPrefix20220520\\Symfony\\Polyfill\\Php81\\Php81' => __DIR__ . '/..' . '/symfony/polyfill-php81/Php81.php', + 'RectorPrefix20220520\\Symplify\\Astral\\Contract\\NodeNameResolverInterface' => __DIR__ . '/..' . '/symplify/astral/src/Contract/NodeNameResolverInterface.php', + 'RectorPrefix20220520\\Symplify\\Astral\\Contract\\NodeValueResolver\\NodeValueResolverInterface' => __DIR__ . '/..' . '/symplify/astral/src/Contract/NodeValueResolver/NodeValueResolverInterface.php', + 'RectorPrefix20220520\\Symplify\\Astral\\Exception\\ShouldNotHappenException' => __DIR__ . '/..' . '/symplify/astral/src/Exception/ShouldNotHappenException.php', + 'RectorPrefix20220520\\Symplify\\Astral\\Naming\\SimpleNameResolver' => __DIR__ . '/..' . '/symplify/astral/src/Naming/SimpleNameResolver.php', + 'RectorPrefix20220520\\Symplify\\Astral\\NodeAnalyzer\\NetteTypeAnalyzer' => __DIR__ . '/..' . '/symplify/astral/src/NodeAnalyzer/NetteTypeAnalyzer.php', + 'RectorPrefix20220520\\Symplify\\Astral\\NodeFinder\\SimpleNodeFinder' => __DIR__ . '/..' . '/symplify/astral/src/NodeFinder/SimpleNodeFinder.php', + 'RectorPrefix20220520\\Symplify\\Astral\\NodeNameResolver\\ArgNodeNameResolver' => __DIR__ . '/..' . '/symplify/astral/src/NodeNameResolver/ArgNodeNameResolver.php', + 'RectorPrefix20220520\\Symplify\\Astral\\NodeNameResolver\\AttributeNodeNameResolver' => __DIR__ . '/..' . '/symplify/astral/src/NodeNameResolver/AttributeNodeNameResolver.php', + 'RectorPrefix20220520\\Symplify\\Astral\\NodeNameResolver\\ClassLikeNodeNameResolver' => __DIR__ . '/..' . '/symplify/astral/src/NodeNameResolver/ClassLikeNodeNameResolver.php', + 'RectorPrefix20220520\\Symplify\\Astral\\NodeNameResolver\\ClassMethodNodeNameResolver' => __DIR__ . '/..' . '/symplify/astral/src/NodeNameResolver/ClassMethodNodeNameResolver.php', + 'RectorPrefix20220520\\Symplify\\Astral\\NodeNameResolver\\ConstFetchNodeNameResolver' => __DIR__ . '/..' . '/symplify/astral/src/NodeNameResolver/ConstFetchNodeNameResolver.php', + 'RectorPrefix20220520\\Symplify\\Astral\\NodeNameResolver\\FuncCallNodeNameResolver' => __DIR__ . '/..' . '/symplify/astral/src/NodeNameResolver/FuncCallNodeNameResolver.php', + 'RectorPrefix20220520\\Symplify\\Astral\\NodeNameResolver\\IdentifierNodeNameResolver' => __DIR__ . '/..' . '/symplify/astral/src/NodeNameResolver/IdentifierNodeNameResolver.php', + 'RectorPrefix20220520\\Symplify\\Astral\\NodeNameResolver\\NamespaceNodeNameResolver' => __DIR__ . '/..' . '/symplify/astral/src/NodeNameResolver/NamespaceNodeNameResolver.php', + 'RectorPrefix20220520\\Symplify\\Astral\\NodeNameResolver\\ParamNodeNameResolver' => __DIR__ . '/..' . '/symplify/astral/src/NodeNameResolver/ParamNodeNameResolver.php', + 'RectorPrefix20220520\\Symplify\\Astral\\NodeNameResolver\\PropertyNodeNameResolver' => __DIR__ . '/..' . '/symplify/astral/src/NodeNameResolver/PropertyNodeNameResolver.php', + 'RectorPrefix20220520\\Symplify\\Astral\\NodeTraverser\\SimpleCallableNodeTraverser' => __DIR__ . '/..' . '/symplify/astral/src/NodeTraverser/SimpleCallableNodeTraverser.php', + 'RectorPrefix20220520\\Symplify\\Astral\\NodeValue\\NodeValueResolver' => __DIR__ . '/..' . '/symplify/astral/src/NodeValue/NodeValueResolver.php', + 'RectorPrefix20220520\\Symplify\\Astral\\NodeValue\\NodeValueResolver\\ClassConstFetchValueResolver' => __DIR__ . '/..' . '/symplify/astral/src/NodeValue/NodeValueResolver/ClassConstFetchValueResolver.php', + 'RectorPrefix20220520\\Symplify\\Astral\\NodeValue\\NodeValueResolver\\ConstFetchValueResolver' => __DIR__ . '/..' . '/symplify/astral/src/NodeValue/NodeValueResolver/ConstFetchValueResolver.php', + 'RectorPrefix20220520\\Symplify\\Astral\\NodeValue\\NodeValueResolver\\FuncCallValueResolver' => __DIR__ . '/..' . '/symplify/astral/src/NodeValue/NodeValueResolver/FuncCallValueResolver.php', + 'RectorPrefix20220520\\Symplify\\Astral\\NodeValue\\NodeValueResolver\\MagicConstValueResolver' => __DIR__ . '/..' . '/symplify/astral/src/NodeValue/NodeValueResolver/MagicConstValueResolver.php', + 'RectorPrefix20220520\\Symplify\\Astral\\NodeValue\\UnionTypeValueResolver' => __DIR__ . '/..' . '/symplify/astral/src/NodeValue/UnionTypeValueResolver.php', + 'RectorPrefix20220520\\Symplify\\Astral\\NodeVisitor\\CallableNodeVisitor' => __DIR__ . '/..' . '/symplify/astral/src/NodeVisitor/CallableNodeVisitor.php', + 'RectorPrefix20220520\\Symplify\\Astral\\PhpDocParser\\Contract\\PhpDocNodeVisitorInterface' => __DIR__ . '/..' . '/symplify/astral/src/PhpDocParser/Contract/PhpDocNodeVisitorInterface.php', + 'RectorPrefix20220520\\Symplify\\Astral\\PhpDocParser\\Exception\\InvalidTraverseException' => __DIR__ . '/..' . '/symplify/astral/src/PhpDocParser/Exception/InvalidTraverseException.php', + 'RectorPrefix20220520\\Symplify\\Astral\\PhpDocParser\\PhpDocNodeTraverser' => __DIR__ . '/..' . '/symplify/astral/src/PhpDocParser/PhpDocNodeTraverser.php', + 'RectorPrefix20220520\\Symplify\\Astral\\PhpDocParser\\PhpDocNodeVisitor\\AbstractPhpDocNodeVisitor' => __DIR__ . '/..' . '/symplify/astral/src/PhpDocParser/PhpDocNodeVisitor/AbstractPhpDocNodeVisitor.php', + 'RectorPrefix20220520\\Symplify\\Astral\\PhpDocParser\\PhpDocNodeVisitor\\CallablePhpDocNodeVisitor' => __DIR__ . '/..' . '/symplify/astral/src/PhpDocParser/PhpDocNodeVisitor/CallablePhpDocNodeVisitor.php', + 'RectorPrefix20220520\\Symplify\\Astral\\PhpDocParser\\PhpDocNodeVisitor\\CloningPhpDocNodeVisitor' => __DIR__ . '/..' . '/symplify/astral/src/PhpDocParser/PhpDocNodeVisitor/CloningPhpDocNodeVisitor.php', + 'RectorPrefix20220520\\Symplify\\Astral\\PhpDocParser\\PhpDocNodeVisitor\\ParentConnectingPhpDocNodeVisitor' => __DIR__ . '/..' . '/symplify/astral/src/PhpDocParser/PhpDocNodeVisitor/ParentConnectingPhpDocNodeVisitor.php', + 'RectorPrefix20220520\\Symplify\\Astral\\PhpDocParser\\SimplePhpDocParser' => __DIR__ . '/..' . '/symplify/astral/src/PhpDocParser/SimplePhpDocParser.php', + 'RectorPrefix20220520\\Symplify\\Astral\\PhpDocParser\\StaticFactory\\SimplePhpDocParserStaticFactory' => __DIR__ . '/..' . '/symplify/astral/src/PhpDocParser/StaticFactory/SimplePhpDocParserStaticFactory.php', + 'RectorPrefix20220520\\Symplify\\Astral\\PhpDocParser\\ValueObject\\Ast\\PhpDoc\\SimplePhpDocNode' => __DIR__ . '/..' . '/symplify/astral/src/PhpDocParser/ValueObject/Ast/PhpDoc/SimplePhpDocNode.php', + 'RectorPrefix20220520\\Symplify\\Astral\\PhpDocParser\\ValueObject\\PhpDocAttributeKey' => __DIR__ . '/..' . '/symplify/astral/src/PhpDocParser/ValueObject/PhpDocAttributeKey.php', + 'RectorPrefix20220520\\Symplify\\Astral\\PhpParser\\SmartPhpParser' => __DIR__ . '/..' . '/symplify/astral/src/PhpParser/SmartPhpParser.php', + 'RectorPrefix20220520\\Symplify\\Astral\\PhpParser\\SmartPhpParserFactory' => __DIR__ . '/..' . '/symplify/astral/src/PhpParser/SmartPhpParserFactory.php', + 'RectorPrefix20220520\\Symplify\\Astral\\Reflection\\MethodCallParser' => __DIR__ . '/..' . '/symplify/astral/src/Reflection/MethodCallParser.php', + 'RectorPrefix20220520\\Symplify\\Astral\\Reflection\\ReflectionParser' => __DIR__ . '/..' . '/symplify/astral/src/Reflection/ReflectionParser.php', + 'RectorPrefix20220520\\Symplify\\Astral\\StaticFactory\\NodeValueResolverStaticFactory' => __DIR__ . '/..' . '/symplify/astral/src/StaticFactory/NodeValueResolverStaticFactory.php', + 'RectorPrefix20220520\\Symplify\\Astral\\StaticFactory\\SimpleNameResolverStaticFactory' => __DIR__ . '/..' . '/symplify/astral/src/StaticFactory/SimpleNameResolverStaticFactory.php', + 'RectorPrefix20220520\\Symplify\\Astral\\TypeAnalyzer\\ClassMethodReturnTypeResolver' => __DIR__ . '/..' . '/symplify/astral/src/TypeAnalyzer/ClassMethodReturnTypeResolver.php', + 'RectorPrefix20220520\\Symplify\\Astral\\TypeAnalyzer\\ContainsTypeAnalyser' => __DIR__ . '/..' . '/symplify/astral/src/TypeAnalyzer/ContainsTypeAnalyser.php', + 'RectorPrefix20220520\\Symplify\\Astral\\ValueObject\\AstralConfig' => __DIR__ . '/..' . '/symplify/astral/src/ValueObject/AstralConfig.php', + 'RectorPrefix20220520\\Symplify\\Astral\\ValueObject\\AttributeKey' => __DIR__ . '/..' . '/symplify/astral/src/ValueObject/AttributeKey.php', + 'RectorPrefix20220520\\Symplify\\Astral\\ValueObject\\NodeBuilder\\ClassBuilder' => __DIR__ . '/..' . '/symplify/astral/src/ValueObject/NodeBuilder/ClassBuilder.php', + 'RectorPrefix20220520\\Symplify\\Astral\\ValueObject\\NodeBuilder\\MethodBuilder' => __DIR__ . '/..' . '/symplify/astral/src/ValueObject/NodeBuilder/MethodBuilder.php', + 'RectorPrefix20220520\\Symplify\\Astral\\ValueObject\\NodeBuilder\\NamespaceBuilder' => __DIR__ . '/..' . '/symplify/astral/src/ValueObject/NodeBuilder/NamespaceBuilder.php', + 'RectorPrefix20220520\\Symplify\\Astral\\ValueObject\\NodeBuilder\\ParamBuilder' => __DIR__ . '/..' . '/symplify/astral/src/ValueObject/NodeBuilder/ParamBuilder.php', + 'RectorPrefix20220520\\Symplify\\Astral\\ValueObject\\NodeBuilder\\PropertyBuilder' => __DIR__ . '/..' . '/symplify/astral/src/ValueObject/NodeBuilder/PropertyBuilder.php', + 'RectorPrefix20220520\\Symplify\\Astral\\ValueObject\\NodeBuilder\\TraitUseBuilder' => __DIR__ . '/..' . '/symplify/astral/src/ValueObject/NodeBuilder/TraitUseBuilder.php', + 'RectorPrefix20220520\\Symplify\\Astral\\ValueObject\\NodeBuilder\\UseBuilder' => __DIR__ . '/..' . '/symplify/astral/src/ValueObject/NodeBuilder/UseBuilder.php', + 'RectorPrefix20220520\\Symplify\\AutowireArrayParameter\\DependencyInjection\\CompilerPass\\AutowireArrayParameterCompilerPass' => __DIR__ . '/..' . '/symplify/autowire-array-parameter/src/DependencyInjection/CompilerPass/AutowireArrayParameterCompilerPass.php', + 'RectorPrefix20220520\\Symplify\\AutowireArrayParameter\\DependencyInjection\\DefinitionFinder' => __DIR__ . '/..' . '/symplify/autowire-array-parameter/src/DependencyInjection/DefinitionFinder.php', + 'RectorPrefix20220520\\Symplify\\AutowireArrayParameter\\DocBlock\\ParamTypeDocBlockResolver' => __DIR__ . '/..' . '/symplify/autowire-array-parameter/src/DocBlock/ParamTypeDocBlockResolver.php', + 'RectorPrefix20220520\\Symplify\\AutowireArrayParameter\\Exception\\DependencyInjection\\DefinitionForTypeNotFoundException' => __DIR__ . '/..' . '/symplify/autowire-array-parameter/src/Exception/DependencyInjection/DefinitionForTypeNotFoundException.php', + 'RectorPrefix20220520\\Symplify\\AutowireArrayParameter\\Skipper\\ParameterSkipper' => __DIR__ . '/..' . '/symplify/autowire-array-parameter/src/Skipper/ParameterSkipper.php', + 'RectorPrefix20220520\\Symplify\\AutowireArrayParameter\\TypeResolver\\ParameterTypeResolver' => __DIR__ . '/..' . '/symplify/autowire-array-parameter/src/TypeResolver/ParameterTypeResolver.php', + 'RectorPrefix20220520\\Symplify\\ComposerJsonManipulator\\ComposerJsonFactory' => __DIR__ . '/..' . '/symplify/composer-json-manipulator/src/ComposerJsonFactory.php', + 'RectorPrefix20220520\\Symplify\\ComposerJsonManipulator\\FileSystem\\JsonFileManager' => __DIR__ . '/..' . '/symplify/composer-json-manipulator/src/FileSystem/JsonFileManager.php', + 'RectorPrefix20220520\\Symplify\\ComposerJsonManipulator\\Json\\JsonCleaner' => __DIR__ . '/..' . '/symplify/composer-json-manipulator/src/Json/JsonCleaner.php', + 'RectorPrefix20220520\\Symplify\\ComposerJsonManipulator\\Json\\JsonInliner' => __DIR__ . '/..' . '/symplify/composer-json-manipulator/src/Json/JsonInliner.php', + 'RectorPrefix20220520\\Symplify\\ComposerJsonManipulator\\Printer\\ComposerJsonPrinter' => __DIR__ . '/..' . '/symplify/composer-json-manipulator/src/Printer/ComposerJsonPrinter.php', + 'RectorPrefix20220520\\Symplify\\ComposerJsonManipulator\\Sorter\\ComposerPackageSorter' => __DIR__ . '/..' . '/symplify/composer-json-manipulator/src/Sorter/ComposerPackageSorter.php', + 'RectorPrefix20220520\\Symplify\\ComposerJsonManipulator\\ValueObject\\ComposerJson' => __DIR__ . '/..' . '/symplify/composer-json-manipulator/src/ValueObject/ComposerJson.php', + 'RectorPrefix20220520\\Symplify\\ComposerJsonManipulator\\ValueObject\\ComposerJsonManipulatorConfig' => __DIR__ . '/..' . '/symplify/composer-json-manipulator/src/ValueObject/ComposerJsonManipulatorConfig.php', + 'RectorPrefix20220520\\Symplify\\ComposerJsonManipulator\\ValueObject\\ComposerJsonSection' => __DIR__ . '/..' . '/symplify/composer-json-manipulator/src/ValueObject/ComposerJsonSection.php', + 'RectorPrefix20220520\\Symplify\\ComposerJsonManipulator\\ValueObject\\Option' => __DIR__ . '/..' . '/symplify/composer-json-manipulator/src/ValueObject/Option.php', + 'RectorPrefix20220520\\Symplify\\EasyParallel\\CommandLine\\WorkerCommandLineFactory' => __DIR__ . '/..' . '/symplify/easy-parallel/src/CommandLine/WorkerCommandLineFactory.php', + 'RectorPrefix20220520\\Symplify\\EasyParallel\\Contract\\SerializableInterface' => __DIR__ . '/..' . '/symplify/easy-parallel/src/Contract/SerializableInterface.php', + 'RectorPrefix20220520\\Symplify\\EasyParallel\\CpuCoreCountProvider' => __DIR__ . '/..' . '/symplify/easy-parallel/src/CpuCoreCountProvider.php', + 'RectorPrefix20220520\\Symplify\\EasyParallel\\Enum\\Action' => __DIR__ . '/..' . '/symplify/easy-parallel/src/Enum/Action.php', + 'RectorPrefix20220520\\Symplify\\EasyParallel\\Enum\\Content' => __DIR__ . '/..' . '/symplify/easy-parallel/src/Enum/Content.php', + 'RectorPrefix20220520\\Symplify\\EasyParallel\\Enum\\ReactCommand' => __DIR__ . '/..' . '/symplify/easy-parallel/src/Enum/ReactCommand.php', + 'RectorPrefix20220520\\Symplify\\EasyParallel\\Enum\\ReactEvent' => __DIR__ . '/..' . '/symplify/easy-parallel/src/Enum/ReactEvent.php', + 'RectorPrefix20220520\\Symplify\\EasyParallel\\Exception\\ParallelShouldNotHappenException' => __DIR__ . '/..' . '/symplify/easy-parallel/src/Exception/ParallelShouldNotHappenException.php', + 'RectorPrefix20220520\\Symplify\\EasyParallel\\FileSystem\\FilePathNormalizer' => __DIR__ . '/..' . '/symplify/easy-parallel/src/FileSystem/FilePathNormalizer.php', + 'RectorPrefix20220520\\Symplify\\EasyParallel\\Reflection\\CommandFromReflectionFactory' => __DIR__ . '/..' . '/symplify/easy-parallel/src/Reflection/CommandFromReflectionFactory.php', + 'RectorPrefix20220520\\Symplify\\EasyParallel\\ScheduleFactory' => __DIR__ . '/..' . '/symplify/easy-parallel/src/ScheduleFactory.php', + 'RectorPrefix20220520\\Symplify\\EasyParallel\\ValueObject\\EasyParallelConfig' => __DIR__ . '/..' . '/symplify/easy-parallel/src/ValueObject/EasyParallelConfig.php', + 'RectorPrefix20220520\\Symplify\\EasyParallel\\ValueObject\\ParallelProcess' => __DIR__ . '/..' . '/symplify/easy-parallel/src/ValueObject/ParallelProcess.php', + 'RectorPrefix20220520\\Symplify\\EasyParallel\\ValueObject\\ProcessPool' => __DIR__ . '/..' . '/symplify/easy-parallel/src/ValueObject/ProcessPool.php', + 'RectorPrefix20220520\\Symplify\\EasyParallel\\ValueObject\\Schedule' => __DIR__ . '/..' . '/symplify/easy-parallel/src/ValueObject/Schedule.php', + 'RectorPrefix20220520\\Symplify\\EasyTesting\\Command\\ValidateFixtureSkipNamingCommand' => __DIR__ . '/..' . '/symplify/easy-testing/src/Command/ValidateFixtureSkipNamingCommand.php', + 'RectorPrefix20220520\\Symplify\\EasyTesting\\DataProvider\\StaticFixtureFinder' => __DIR__ . '/..' . '/symplify/easy-testing/src/DataProvider/StaticFixtureFinder.php', + 'RectorPrefix20220520\\Symplify\\EasyTesting\\DataProvider\\StaticFixtureUpdater' => __DIR__ . '/..' . '/symplify/easy-testing/src/DataProvider/StaticFixtureUpdater.php', + 'RectorPrefix20220520\\Symplify\\EasyTesting\\Finder\\FixtureFinder' => __DIR__ . '/..' . '/symplify/easy-testing/src/Finder/FixtureFinder.php', + 'RectorPrefix20220520\\Symplify\\EasyTesting\\FixtureSplitter\\TrioFixtureSplitter' => __DIR__ . '/..' . '/symplify/easy-testing/src/FixtureSplitter/TrioFixtureSplitter.php', + 'RectorPrefix20220520\\Symplify\\EasyTesting\\Kernel\\EasyTestingKernel' => __DIR__ . '/..' . '/symplify/easy-testing/src/Kernel/EasyTestingKernel.php', + 'RectorPrefix20220520\\Symplify\\EasyTesting\\MissplacedSkipPrefixResolver' => __DIR__ . '/..' . '/symplify/easy-testing/src/MissplacedSkipPrefixResolver.php', + 'RectorPrefix20220520\\Symplify\\EasyTesting\\PHPUnit\\Behavior\\DirectoryAssertableTrait' => __DIR__ . '/..' . '/symplify/easy-testing/src/PHPUnit/Behavior/DirectoryAssertableTrait.php', + 'RectorPrefix20220520\\Symplify\\EasyTesting\\PHPUnit\\StaticPHPUnitEnvironment' => __DIR__ . '/..' . '/symplify/easy-testing/src/PHPUnit/StaticPHPUnitEnvironment.php', + 'RectorPrefix20220520\\Symplify\\EasyTesting\\StaticFixtureSplitter' => __DIR__ . '/..' . '/symplify/easy-testing/src/StaticFixtureSplitter.php', + 'RectorPrefix20220520\\Symplify\\EasyTesting\\ValueObject\\EasyTestingConfig' => __DIR__ . '/..' . '/symplify/easy-testing/src/ValueObject/EasyTestingConfig.php', + 'RectorPrefix20220520\\Symplify\\EasyTesting\\ValueObject\\ExpectedAndOutputFileInfoPair' => __DIR__ . '/..' . '/symplify/easy-testing/src/ValueObject/ExpectedAndOutputFileInfoPair.php', + 'RectorPrefix20220520\\Symplify\\EasyTesting\\ValueObject\\FixtureSplit\\TrioContent' => __DIR__ . '/..' . '/symplify/easy-testing/src/ValueObject/FixtureSplit/TrioContent.php', + 'RectorPrefix20220520\\Symplify\\EasyTesting\\ValueObject\\IncorrectAndMissingSkips' => __DIR__ . '/..' . '/symplify/easy-testing/src/ValueObject/IncorrectAndMissingSkips.php', + 'RectorPrefix20220520\\Symplify\\EasyTesting\\ValueObject\\InputAndExpected' => __DIR__ . '/..' . '/symplify/easy-testing/src/ValueObject/InputAndExpected.php', + 'RectorPrefix20220520\\Symplify\\EasyTesting\\ValueObject\\InputFileInfoAndExpected' => __DIR__ . '/..' . '/symplify/easy-testing/src/ValueObject/InputFileInfoAndExpected.php', + 'RectorPrefix20220520\\Symplify\\EasyTesting\\ValueObject\\InputFileInfoAndExpectedFileInfo' => __DIR__ . '/..' . '/symplify/easy-testing/src/ValueObject/InputFileInfoAndExpectedFileInfo.php', + 'RectorPrefix20220520\\Symplify\\EasyTesting\\ValueObject\\Option' => __DIR__ . '/..' . '/symplify/easy-testing/src/ValueObject/Option.php', + 'RectorPrefix20220520\\Symplify\\EasyTesting\\ValueObject\\Prefix' => __DIR__ . '/..' . '/symplify/easy-testing/src/ValueObject/Prefix.php', + 'RectorPrefix20220520\\Symplify\\EasyTesting\\ValueObject\\SplitLine' => __DIR__ . '/..' . '/symplify/easy-testing/src/ValueObject/SplitLine.php', + 'RectorPrefix20220520\\Symplify\\PackageBuilder\\Composer\\VendorDirProvider' => __DIR__ . '/..' . '/symplify/package-builder/src/Composer/VendorDirProvider.php', + 'RectorPrefix20220520\\Symplify\\PackageBuilder\\Configuration\\StaticEolConfiguration' => __DIR__ . '/..' . '/symplify/package-builder/src/Configuration/StaticEolConfiguration.php', + 'RectorPrefix20220520\\Symplify\\PackageBuilder\\Console\\Command\\AbstractSymplifyCommand' => __DIR__ . '/..' . '/symplify/package-builder/src/Console/Command/AbstractSymplifyCommand.php', + 'RectorPrefix20220520\\Symplify\\PackageBuilder\\Console\\Command\\CommandNaming' => __DIR__ . '/..' . '/symplify/package-builder/src/Console/Command/CommandNaming.php', + 'RectorPrefix20220520\\Symplify\\PackageBuilder\\Console\\Formatter\\ColorConsoleDiffFormatter' => __DIR__ . '/..' . '/symplify/package-builder/src/Console/Formatter/ColorConsoleDiffFormatter.php', + 'RectorPrefix20220520\\Symplify\\PackageBuilder\\Console\\Input\\StaticInputDetector' => __DIR__ . '/..' . '/symplify/package-builder/src/Console/Input/StaticInputDetector.php', + 'RectorPrefix20220520\\Symplify\\PackageBuilder\\Console\\Output\\ConsoleDiffer' => __DIR__ . '/..' . '/symplify/package-builder/src/Console/Output/ConsoleDiffer.php', + 'RectorPrefix20220520\\Symplify\\PackageBuilder\\Console\\Style\\SymfonyStyleFactory' => __DIR__ . '/..' . '/symplify/package-builder/src/Console/Style/SymfonyStyleFactory.php', + 'RectorPrefix20220520\\Symplify\\PackageBuilder\\DependencyInjection\\CompilerPass\\AutowireInterfacesCompilerPass' => __DIR__ . '/..' . '/symplify/package-builder/src/DependencyInjection/CompilerPass/AutowireInterfacesCompilerPass.php', + 'RectorPrefix20220520\\Symplify\\PackageBuilder\\DependencyInjection\\FileLoader\\ParameterMergingPhpFileLoader' => __DIR__ . '/..' . '/symplify/package-builder/src/DependencyInjection/FileLoader/ParameterMergingPhpFileLoader.php', + 'RectorPrefix20220520\\Symplify\\PackageBuilder\\Diff\\Output\\CompleteUnifiedDiffOutputBuilderFactory' => __DIR__ . '/..' . '/symplify/package-builder/src/Diff/Output/CompleteUnifiedDiffOutputBuilderFactory.php', + 'RectorPrefix20220520\\Symplify\\PackageBuilder\\Exception\\HttpKernel\\MissingInterfaceException' => __DIR__ . '/..' . '/symplify/package-builder/src/Exception/HttpKernel/MissingInterfaceException.php', + 'RectorPrefix20220520\\Symplify\\PackageBuilder\\Exception\\InvalidPrivatePropertyTypeException' => __DIR__ . '/..' . '/symplify/package-builder/src/Exception/InvalidPrivatePropertyTypeException.php', + 'RectorPrefix20220520\\Symplify\\PackageBuilder\\Exception\\MissingPrivatePropertyException' => __DIR__ . '/..' . '/symplify/package-builder/src/Exception/MissingPrivatePropertyException.php', + 'RectorPrefix20220520\\Symplify\\PackageBuilder\\Matcher\\ArrayStringAndFnMatcher' => __DIR__ . '/..' . '/symplify/package-builder/src/Matcher/ArrayStringAndFnMatcher.php', + 'RectorPrefix20220520\\Symplify\\PackageBuilder\\Neon\\NeonPrinter' => __DIR__ . '/..' . '/symplify/package-builder/src/Neon/NeonPrinter.php', + 'RectorPrefix20220520\\Symplify\\PackageBuilder\\Parameter\\ParameterProvider' => __DIR__ . '/..' . '/symplify/package-builder/src/Parameter/ParameterProvider.php', + 'RectorPrefix20220520\\Symplify\\PackageBuilder\\Php\\TypeChecker' => __DIR__ . '/..' . '/symplify/package-builder/src/Php/TypeChecker.php', + 'RectorPrefix20220520\\Symplify\\PackageBuilder\\Reflection\\ClassLikeExistenceChecker' => __DIR__ . '/..' . '/symplify/package-builder/src/Reflection/ClassLikeExistenceChecker.php', + 'RectorPrefix20220520\\Symplify\\PackageBuilder\\Reflection\\PrivatesAccessor' => __DIR__ . '/..' . '/symplify/package-builder/src/Reflection/PrivatesAccessor.php', + 'RectorPrefix20220520\\Symplify\\PackageBuilder\\Reflection\\PrivatesCaller' => __DIR__ . '/..' . '/symplify/package-builder/src/Reflection/PrivatesCaller.php', + 'RectorPrefix20220520\\Symplify\\PackageBuilder\\Strings\\StringFormatConverter' => __DIR__ . '/..' . '/symplify/package-builder/src/Strings/StringFormatConverter.php', + 'RectorPrefix20220520\\Symplify\\PackageBuilder\\Testing\\AbstractKernelTestCase' => __DIR__ . '/..' . '/symplify/package-builder/src/Testing/AbstractKernelTestCase.php', + 'RectorPrefix20220520\\Symplify\\PackageBuilder\\ValueObject\\ConsoleColorDiffConfig' => __DIR__ . '/..' . '/symplify/package-builder/src/ValueObject/ConsoleColorDiffConfig.php', + 'RectorPrefix20220520\\Symplify\\PackageBuilder\\ValueObject\\MethodName' => __DIR__ . '/..' . '/symplify/package-builder/src/ValueObject/MethodName.php', + 'RectorPrefix20220520\\Symplify\\PackageBuilder\\ValueObject\\Option' => __DIR__ . '/..' . '/symplify/package-builder/src/ValueObject/Option.php', + 'RectorPrefix20220520\\Symplify\\PackageBuilder\\Yaml\\ParametersMerger' => __DIR__ . '/..' . '/symplify/package-builder/src/Yaml/ParametersMerger.php', + 'RectorPrefix20220520\\Symplify\\Skipper\\Contract\\SkipVoterInterface' => __DIR__ . '/..' . '/symplify/skipper/src/Contract/SkipVoterInterface.php', + 'RectorPrefix20220520\\Symplify\\Skipper\\FileSystem\\FnMatchPathNormalizer' => __DIR__ . '/..' . '/symplify/skipper/src/FileSystem/FnMatchPathNormalizer.php', + 'RectorPrefix20220520\\Symplify\\Skipper\\Matcher\\FileInfoMatcher' => __DIR__ . '/..' . '/symplify/skipper/src/Matcher/FileInfoMatcher.php', + 'RectorPrefix20220520\\Symplify\\Skipper\\SkipCriteriaResolver\\SkippedClassAndCodesResolver' => __DIR__ . '/..' . '/symplify/skipper/src/SkipCriteriaResolver/SkippedClassAndCodesResolver.php', + 'RectorPrefix20220520\\Symplify\\Skipper\\SkipCriteriaResolver\\SkippedClassResolver' => __DIR__ . '/..' . '/symplify/skipper/src/SkipCriteriaResolver/SkippedClassResolver.php', + 'RectorPrefix20220520\\Symplify\\Skipper\\SkipCriteriaResolver\\SkippedMessagesResolver' => __DIR__ . '/..' . '/symplify/skipper/src/SkipCriteriaResolver/SkippedMessagesResolver.php', + 'RectorPrefix20220520\\Symplify\\Skipper\\SkipCriteriaResolver\\SkippedPathsResolver' => __DIR__ . '/..' . '/symplify/skipper/src/SkipCriteriaResolver/SkippedPathsResolver.php', + 'RectorPrefix20220520\\Symplify\\Skipper\\SkipVoter\\ClassAndCodeSkipVoter' => __DIR__ . '/..' . '/symplify/skipper/src/SkipVoter/ClassAndCodeSkipVoter.php', + 'RectorPrefix20220520\\Symplify\\Skipper\\SkipVoter\\ClassSkipVoter' => __DIR__ . '/..' . '/symplify/skipper/src/SkipVoter/ClassSkipVoter.php', + 'RectorPrefix20220520\\Symplify\\Skipper\\SkipVoter\\MessageSkipVoter' => __DIR__ . '/..' . '/symplify/skipper/src/SkipVoter/MessageSkipVoter.php', + 'RectorPrefix20220520\\Symplify\\Skipper\\SkipVoter\\PathSkipVoter' => __DIR__ . '/..' . '/symplify/skipper/src/SkipVoter/PathSkipVoter.php', + 'RectorPrefix20220520\\Symplify\\Skipper\\Skipper\\OnlySkipper' => __DIR__ . '/..' . '/symplify/skipper/src/Skipper/OnlySkipper.php', + 'RectorPrefix20220520\\Symplify\\Skipper\\Skipper\\SkipSkipper' => __DIR__ . '/..' . '/symplify/skipper/src/Skipper/SkipSkipper.php', + 'RectorPrefix20220520\\Symplify\\Skipper\\Skipper\\Skipper' => __DIR__ . '/..' . '/symplify/skipper/src/Skipper/Skipper.php', + 'RectorPrefix20220520\\Symplify\\Skipper\\ValueObject\\Option' => __DIR__ . '/..' . '/symplify/skipper/src/ValueObject/Option.php', + 'RectorPrefix20220520\\Symplify\\Skipper\\ValueObject\\SkipperConfig' => __DIR__ . '/..' . '/symplify/skipper/src/ValueObject/SkipperConfig.php', + 'RectorPrefix20220520\\Symplify\\SmartFileSystem\\Exception\\DirectoryNotFoundException' => __DIR__ . '/..' . '/symplify/smart-file-system/src/Exception/DirectoryNotFoundException.php', + 'RectorPrefix20220520\\Symplify\\SmartFileSystem\\Exception\\FileNotFoundException' => __DIR__ . '/..' . '/symplify/smart-file-system/src/Exception/FileNotFoundException.php', + 'RectorPrefix20220520\\Symplify\\SmartFileSystem\\FileSystemFilter' => __DIR__ . '/..' . '/symplify/smart-file-system/src/FileSystemFilter.php', + 'RectorPrefix20220520\\Symplify\\SmartFileSystem\\FileSystemGuard' => __DIR__ . '/..' . '/symplify/smart-file-system/src/FileSystemGuard.php', + 'RectorPrefix20220520\\Symplify\\SmartFileSystem\\Finder\\FinderSanitizer' => __DIR__ . '/..' . '/symplify/smart-file-system/src/Finder/FinderSanitizer.php', + 'RectorPrefix20220520\\Symplify\\SmartFileSystem\\Finder\\SmartFinder' => __DIR__ . '/..' . '/symplify/smart-file-system/src/Finder/SmartFinder.php', + 'RectorPrefix20220520\\Symplify\\SmartFileSystem\\Json\\JsonFileSystem' => __DIR__ . '/..' . '/symplify/smart-file-system/src/Json/JsonFileSystem.php', + 'RectorPrefix20220520\\Symplify\\SmartFileSystem\\Normalizer\\PathNormalizer' => __DIR__ . '/..' . '/symplify/smart-file-system/src/Normalizer/PathNormalizer.php', + 'RectorPrefix20220520\\Symplify\\SmartFileSystem\\SmartFileInfo' => __DIR__ . '/..' . '/symplify/smart-file-system/src/SmartFileInfo.php', + 'RectorPrefix20220520\\Symplify\\SmartFileSystem\\SmartFileSystem' => __DIR__ . '/..' . '/symplify/smart-file-system/src/SmartFileSystem.php', + 'RectorPrefix20220520\\Symplify\\SymplifyKernel\\Config\\Loader\\ParameterMergingLoaderFactory' => __DIR__ . '/..' . '/symplify/symplify-kernel/src/Config/Loader/ParameterMergingLoaderFactory.php', + 'RectorPrefix20220520\\Symplify\\SymplifyKernel\\ContainerBuilderFactory' => __DIR__ . '/..' . '/symplify/symplify-kernel/src/ContainerBuilderFactory.php', + 'RectorPrefix20220520\\Symplify\\SymplifyKernel\\Contract\\Config\\LoaderFactoryInterface' => __DIR__ . '/..' . '/symplify/symplify-kernel/src/Contract/Config/LoaderFactoryInterface.php', + 'RectorPrefix20220520\\Symplify\\SymplifyKernel\\Contract\\LightKernelInterface' => __DIR__ . '/..' . '/symplify/symplify-kernel/src/Contract/LightKernelInterface.php', + 'RectorPrefix20220520\\Symplify\\SymplifyKernel\\DependencyInjection\\LoadExtensionConfigsCompilerPass' => __DIR__ . '/..' . '/symplify/symplify-kernel/src/DependencyInjection/LoadExtensionConfigsCompilerPass.php', + 'RectorPrefix20220520\\Symplify\\SymplifyKernel\\Exception\\BootException' => __DIR__ . '/..' . '/symplify/symplify-kernel/src/Exception/BootException.php', + 'RectorPrefix20220520\\Symplify\\SymplifyKernel\\Exception\\ShouldNotHappenException' => __DIR__ . '/..' . '/symplify/symplify-kernel/src/Exception/ShouldNotHappenException.php', + 'RectorPrefix20220520\\Symplify\\SymplifyKernel\\HttpKernel\\AbstractSymplifyKernel' => __DIR__ . '/..' . '/symplify/symplify-kernel/src/HttpKernel/AbstractSymplifyKernel.php', + 'RectorPrefix20220520\\Symplify\\SymplifyKernel\\ValueObject\\KernelBootAndApplicationRun' => __DIR__ . '/..' . '/symplify/symplify-kernel/src/ValueObject/KernelBootAndApplicationRun.php', + 'RectorPrefix20220520\\Symplify\\SymplifyKernel\\ValueObject\\SymplifyKernelConfig' => __DIR__ . '/..' . '/symplify/symplify-kernel/src/ValueObject/SymplifyKernelConfig.php', + 'RectorPrefix20220520\\Symplify\\VendorPatches\\Command\\GenerateCommand' => __DIR__ . '/..' . '/symplify/vendor-patches/src/Command/GenerateCommand.php', + 'RectorPrefix20220520\\Symplify\\VendorPatches\\Composer\\ComposerPatchesConfigurationUpdater' => __DIR__ . '/..' . '/symplify/vendor-patches/src/Composer/ComposerPatchesConfigurationUpdater.php', + 'RectorPrefix20220520\\Symplify\\VendorPatches\\Composer\\PackageNameResolver' => __DIR__ . '/..' . '/symplify/vendor-patches/src/Composer/PackageNameResolver.php', + 'RectorPrefix20220520\\Symplify\\VendorPatches\\Console\\GenerateCommandReporter' => __DIR__ . '/..' . '/symplify/vendor-patches/src/Console/GenerateCommandReporter.php', + 'RectorPrefix20220520\\Symplify\\VendorPatches\\Console\\VendorPatchesApplication' => __DIR__ . '/..' . '/symplify/vendor-patches/src/Console/VendorPatchesApplication.php', + 'RectorPrefix20220520\\Symplify\\VendorPatches\\Differ\\PatchDiffer' => __DIR__ . '/..' . '/symplify/vendor-patches/src/Differ/PatchDiffer.php', + 'RectorPrefix20220520\\Symplify\\VendorPatches\\FileSystem\\PathResolver' => __DIR__ . '/..' . '/symplify/vendor-patches/src/FileSystem/PathResolver.php', + 'RectorPrefix20220520\\Symplify\\VendorPatches\\Finder\\OldToNewFilesFinder' => __DIR__ . '/..' . '/symplify/vendor-patches/src/Finder/OldToNewFilesFinder.php', + 'RectorPrefix20220520\\Symplify\\VendorPatches\\Kernel\\VendorPatchesKernel' => __DIR__ . '/..' . '/symplify/vendor-patches/src/Kernel/VendorPatchesKernel.php', + 'RectorPrefix20220520\\Symplify\\VendorPatches\\PatchFileFactory' => __DIR__ . '/..' . '/symplify/vendor-patches/src/PatchFileFactory.php', + 'RectorPrefix20220520\\Symplify\\VendorPatches\\ValueObject\\OldAndNewFileInfo' => __DIR__ . '/..' . '/symplify/vendor-patches/src/ValueObject/OldAndNewFileInfo.php', + 'RectorPrefix20220520\\Tracy\\Bar' => __DIR__ . '/..' . '/tracy/tracy/src/Tracy/Bar/Bar.php', + 'RectorPrefix20220520\\Tracy\\BlueScreen' => __DIR__ . '/..' . '/tracy/tracy/src/Tracy/BlueScreen/BlueScreen.php', + 'RectorPrefix20220520\\Tracy\\Bridges\\Nette\\Bridge' => __DIR__ . '/..' . '/tracy/tracy/src/Bridges/Nette/Bridge.php', + 'RectorPrefix20220520\\Tracy\\Bridges\\Nette\\MailSender' => __DIR__ . '/..' . '/tracy/tracy/src/Bridges/Nette/MailSender.php', + 'RectorPrefix20220520\\Tracy\\Bridges\\Nette\\TracyExtension' => __DIR__ . '/..' . '/tracy/tracy/src/Bridges/Nette/TracyExtension.php', + 'RectorPrefix20220520\\Tracy\\Bridges\\Psr\\PsrToTracyLoggerAdapter' => __DIR__ . '/..' . '/tracy/tracy/src/Bridges/Psr/PsrToTracyLoggerAdapter.php', + 'RectorPrefix20220520\\Tracy\\Bridges\\Psr\\TracyToPsrLoggerAdapter' => __DIR__ . '/..' . '/tracy/tracy/src/Bridges/Psr/TracyToPsrLoggerAdapter.php', + 'RectorPrefix20220520\\Tracy\\Debugger' => __DIR__ . '/..' . '/tracy/tracy/src/Tracy/Debugger/Debugger.php', + 'RectorPrefix20220520\\Tracy\\DefaultBarPanel' => __DIR__ . '/..' . '/tracy/tracy/src/Tracy/Bar/DefaultBarPanel.php', + 'RectorPrefix20220520\\Tracy\\DeferredContent' => __DIR__ . '/..' . '/tracy/tracy/src/Tracy/Debugger/DeferredContent.php', + 'RectorPrefix20220520\\Tracy\\DevelopmentStrategy' => __DIR__ . '/..' . '/tracy/tracy/src/Tracy/Debugger/DevelopmentStrategy.php', + 'RectorPrefix20220520\\Tracy\\Dumper' => __DIR__ . '/..' . '/tracy/tracy/src/Tracy/Dumper/Dumper.php', + 'RectorPrefix20220520\\Tracy\\Dumper\\Describer' => __DIR__ . '/..' . '/tracy/tracy/src/Tracy/Dumper/Describer.php', + 'RectorPrefix20220520\\Tracy\\Dumper\\Exposer' => __DIR__ . '/..' . '/tracy/tracy/src/Tracy/Dumper/Exposer.php', + 'RectorPrefix20220520\\Tracy\\Dumper\\Renderer' => __DIR__ . '/..' . '/tracy/tracy/src/Tracy/Dumper/Renderer.php', + 'RectorPrefix20220520\\Tracy\\Dumper\\Value' => __DIR__ . '/..' . '/tracy/tracy/src/Tracy/Dumper/Value.php', + 'RectorPrefix20220520\\Tracy\\FileSession' => __DIR__ . '/..' . '/tracy/tracy/src/Tracy/Session/FileSession.php', + 'RectorPrefix20220520\\Tracy\\FireLogger' => __DIR__ . '/..' . '/tracy/tracy/src/Tracy/Logger/FireLogger.php', + 'RectorPrefix20220520\\Tracy\\Helpers' => __DIR__ . '/..' . '/tracy/tracy/src/Tracy/Helpers.php', + 'RectorPrefix20220520\\Tracy\\IBarPanel' => __DIR__ . '/..' . '/tracy/tracy/src/Tracy/Bar/IBarPanel.php', + 'RectorPrefix20220520\\Tracy\\ILogger' => __DIR__ . '/..' . '/tracy/tracy/src/Tracy/Logger/ILogger.php', + 'RectorPrefix20220520\\Tracy\\Logger' => __DIR__ . '/..' . '/tracy/tracy/src/Tracy/Logger/Logger.php', + 'RectorPrefix20220520\\Tracy\\NativeSession' => __DIR__ . '/..' . '/tracy/tracy/src/Tracy/Session/NativeSession.php', + 'RectorPrefix20220520\\Tracy\\OutputDebugger' => __DIR__ . '/..' . '/tracy/tracy/src/Tracy/OutputDebugger/OutputDebugger.php', + 'RectorPrefix20220520\\Tracy\\ProductionStrategy' => __DIR__ . '/..' . '/tracy/tracy/src/Tracy/Debugger/ProductionStrategy.php', + 'RectorPrefix20220520\\Tracy\\SessionStorage' => __DIR__ . '/..' . '/tracy/tracy/src/Tracy/Session/SessionStorage.php', + 'RectorPrefix20220520\\Webmozart\\Assert\\Assert' => __DIR__ . '/..' . '/webmozart/assert/src/Assert.php', + 'RectorPrefix20220520\\Webmozart\\Assert\\InvalidArgumentException' => __DIR__ . '/..' . '/webmozart/assert/src/InvalidArgumentException.php', + 'RectorPrefix20220520\\Webmozart\\Assert\\Mixin' => __DIR__ . '/..' . '/webmozart/assert/src/Mixin.php', + 'RectorPrefix20220520\\cweagans\\Composer\\PatchEvent' => __DIR__ . '/..' . '/cweagans/composer-patches/src/PatchEvent.php', + 'RectorPrefix20220520\\cweagans\\Composer\\PatchEvents' => __DIR__ . '/..' . '/cweagans/composer-patches/src/PatchEvents.php', + 'RectorPrefix20220520\\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', @@ -2458,6 +2458,7 @@ class ComposerStaticInit70a93d7538b708eba9d9e519bd6c9ee7 'Rector\\DowngradePhp80\\Rector\\Property\\DowngradeUnionTypeTypedPropertyRector' => __DIR__ . '/../..' . '/rules/DowngradePhp80/Rector/Property/DowngradeUnionTypeTypedPropertyRector.php', 'Rector\\DowngradePhp80\\Rector\\StaticCall\\DowngradePhpTokenRector' => __DIR__ . '/../..' . '/rules/DowngradePhp80/Rector/StaticCall/DowngradePhpTokenRector.php', 'Rector\\DowngradePhp80\\Reflection\\DefaultParameterValueResolver' => __DIR__ . '/../..' . '/rules/DowngradePhp80/Reflection/DefaultParameterValueResolver.php', + 'Rector\\DowngradePhp80\\Reflection\\SimplePhpParameterReflection' => __DIR__ . '/../..' . '/rules/DowngradePhp80/Reflection/SimplePhpParameterReflection.php', 'Rector\\DowngradePhp80\\ValueObject\\DowngradeAttributeToAnnotation' => __DIR__ . '/../..' . '/rules/DowngradePhp80/ValueObject/DowngradeAttributeToAnnotation.php', 'Rector\\DowngradePhp81\\NodeAnalyzer\\ArraySpreadAnalyzer' => __DIR__ . '/../..' . '/rules/DowngradePhp81/NodeAnalyzer/ArraySpreadAnalyzer.php', 'Rector\\DowngradePhp81\\NodeFactory\\ArrayMergeFromArraySpreadFactory' => __DIR__ . '/../..' . '/rules/DowngradePhp81/NodeFactory/ArrayMergeFromArraySpreadFactory.php', @@ -3907,9 +3908,9 @@ class ComposerStaticInit70a93d7538b708eba9d9e519bd6c9ee7 public static function getInitializer(ClassLoader $loader) { return \Closure::bind(function () use ($loader) { - $loader->prefixLengthsPsr4 = ComposerStaticInit70a93d7538b708eba9d9e519bd6c9ee7::$prefixLengthsPsr4; - $loader->prefixDirsPsr4 = ComposerStaticInit70a93d7538b708eba9d9e519bd6c9ee7::$prefixDirsPsr4; - $loader->classMap = ComposerStaticInit70a93d7538b708eba9d9e519bd6c9ee7::$classMap; + $loader->prefixLengthsPsr4 = ComposerStaticInit8e223b4397b3ebd238db2279dc1627ef::$prefixLengthsPsr4; + $loader->prefixDirsPsr4 = ComposerStaticInit8e223b4397b3ebd238db2279dc1627ef::$prefixDirsPsr4; + $loader->classMap = ComposerStaticInit8e223b4397b3ebd238db2279dc1627ef::$classMap; }, null, ClassLoader::class); } diff --git a/vendor/composer/installed.json b/vendor/composer/installed.json index 5c6c8c3fa4d..d189a8f8393 100644 --- a/vendor/composer/installed.json +++ b/vendor/composer/installed.json @@ -28,7 +28,7 @@ "installation-source": "dist", "autoload": { "psr-4": { - "RectorPrefix20220519\\Clue\\React\\NDJson\\": "src\/" + "RectorPrefix20220520\\Clue\\React\\NDJson\\": "src\/" } }, "notification-url": "https:\/\/packagist.org\/downloads\/", @@ -100,7 +100,7 @@ "installation-source": "dist", "autoload": { "psr-4": { - "RectorPrefix20220519\\Composer\\Pcre\\": "src" + "RectorPrefix20220520\\Composer\\Pcre\\": "src" } }, "notification-url": "https:\/\/packagist.org\/downloads\/", @@ -173,7 +173,7 @@ "installation-source": "dist", "autoload": { "psr-4": { - "RectorPrefix20220519\\Composer\\Semver\\": "src" + "RectorPrefix20220520\\Composer\\Semver\\": "src" } }, "notification-url": "https:\/\/packagist.org\/downloads\/", @@ -255,7 +255,7 @@ "installation-source": "dist", "autoload": { "psr-4": { - "RectorPrefix20220519\\Composer\\XdebugHandler\\": "src" + "RectorPrefix20220520\\Composer\\XdebugHandler\\": "src" } }, "notification-url": "https:\/\/packagist.org\/downloads\/", @@ -325,7 +325,7 @@ "installation-source": "dist", "autoload": { "psr-4": { - "RectorPrefix20220519\\cweagans\\Composer\\": "src" + "RectorPrefix20220520\\cweagans\\Composer\\": "src" } }, "notification-url": "https:\/\/packagist.org\/downloads\/", @@ -376,7 +376,7 @@ "installation-source": "dist", "autoload": { "psr-4": { - "RectorPrefix20220519\\Doctrine\\Inflector\\": "lib\/Doctrine\/Inflector" + "RectorPrefix20220520\\Doctrine\\Inflector\\": "lib\/Doctrine\/Inflector" } }, "notification-url": "https:\/\/packagist.org\/downloads\/", @@ -473,7 +473,7 @@ "installation-source": "dist", "autoload": { "psr-4": { - "RectorPrefix20220519\\Ergebnis\\Json\\Printer\\": "src\/" + "RectorPrefix20220520\\Ergebnis\\Json\\Printer\\": "src\/" } }, "notification-url": "https:\/\/packagist.org\/downloads\/", @@ -531,7 +531,7 @@ "installation-source": "dist", "autoload": { "psr-4": { - "RectorPrefix20220519\\Evenement\\": "src\/Evenement\/" + "RectorPrefix20220520\\Evenement\\": "src\/Evenement\/" } }, "notification-url": "https:\/\/packagist.org\/downloads\/", @@ -588,7 +588,7 @@ "installation-source": "dist", "autoload": { "psr-4": { - "RectorPrefix20220519\\Helmich\\TypoScriptParser\\": "src\/" + "RectorPrefix20220520\\Helmich\\TypoScriptParser\\": "src\/" } }, "notification-url": "https:\/\/packagist.org\/downloads\/", @@ -652,7 +652,7 @@ "installation-source": "dist", "autoload": { "psr-4": { - "RectorPrefix20220519\\Idiosyncratic\\EditorConfig\\": "src" + "RectorPrefix20220520\\Idiosyncratic\\EditorConfig\\": "src" } }, "notification-url": "https:\/\/packagist.org\/downloads\/", @@ -701,7 +701,7 @@ "installation-source": "dist", "autoload": { "psr-4": { - "RectorPrefix20220519\\MyCLabs\\Enum\\": "src\/" + "RectorPrefix20220520\\MyCLabs\\Enum\\": "src\/" } }, "notification-url": "https:\/\/packagist.org\/downloads\/", @@ -1001,7 +1001,7 @@ "installation-source": "dist", "autoload": { "psr-4": { - "RectorPrefix20220519\\OndraM\\CiDetector\\": "src\/" + "RectorPrefix20220520\\OndraM\\CiDetector\\": "src\/" } }, "notification-url": "https:\/\/packagist.org\/downloads\/", @@ -1242,7 +1242,7 @@ "installation-source": "dist", "autoload": { "psr-4": { - "RectorPrefix20220519\\Psr\\Cache\\": "src\/" + "RectorPrefix20220520\\Psr\\Cache\\": "src\/" } }, "notification-url": "https:\/\/packagist.org\/downloads\/", @@ -1294,7 +1294,7 @@ "installation-source": "dist", "autoload": { "psr-4": { - "RectorPrefix20220519\\Psr\\Container\\": "src\/" + "RectorPrefix20220520\\Psr\\Container\\": "src\/" } }, "notification-url": "https:\/\/packagist.org\/downloads\/", @@ -1350,7 +1350,7 @@ "installation-source": "dist", "autoload": { "psr-4": { - "RectorPrefix20220519\\Psr\\EventDispatcher\\": "src\/" + "RectorPrefix20220520\\Psr\\EventDispatcher\\": "src\/" } }, "notification-url": "https:\/\/packagist.org\/downloads\/", @@ -1403,7 +1403,7 @@ "installation-source": "dist", "autoload": { "psr-4": { - "RectorPrefix20220519\\Psr\\Log\\": "src" + "RectorPrefix20220520\\Psr\\Log\\": "src" } }, "notification-url": "https:\/\/packagist.org\/downloads\/", @@ -1455,7 +1455,7 @@ "installation-source": "dist", "autoload": { "psr-4": { - "RectorPrefix20220519\\React\\Cache\\": "src\/" + "RectorPrefix20220520\\React\\Cache\\": "src\/" } }, "notification-url": "https:\/\/packagist.org\/downloads\/", @@ -1538,7 +1538,7 @@ "installation-source": "dist", "autoload": { "psr-4": { - "RectorPrefix20220519\\React\\ChildProcess\\": "src" + "RectorPrefix20220520\\React\\ChildProcess\\": "src" } }, "notification-url": "https:\/\/packagist.org\/downloads\/", @@ -1620,7 +1620,7 @@ "installation-source": "dist", "autoload": { "psr-4": { - "RectorPrefix20220519\\React\\Dns\\": "src" + "RectorPrefix20220520\\React\\Dns\\": "src" } }, "notification-url": "https:\/\/packagist.org\/downloads\/", @@ -1703,7 +1703,7 @@ "installation-source": "dist", "autoload": { "psr-4": { - "RectorPrefix20220519\\React\\EventLoop\\": "src" + "RectorPrefix20220520\\React\\EventLoop\\": "src" } }, "notification-url": "https:\/\/packagist.org\/downloads\/", @@ -1782,7 +1782,7 @@ "src\/functions_include.php" ], "psr-4": { - "RectorPrefix20220519\\React\\Promise\\": "src\/" + "RectorPrefix20220520\\React\\Promise\\": "src\/" } }, "notification-url": "https:\/\/packagist.org\/downloads\/", @@ -1863,7 +1863,7 @@ "src\/functions_include.php" ], "psr-4": { - "RectorPrefix20220519\\React\\Promise\\Timer\\": "src\/" + "RectorPrefix20220520\\React\\Promise\\Timer\\": "src\/" } }, "notification-url": "https:\/\/packagist.org\/downloads\/", @@ -1952,7 +1952,7 @@ "installation-source": "dist", "autoload": { "psr-4": { - "RectorPrefix20220519\\React\\Socket\\": "src" + "RectorPrefix20220520\\React\\Socket\\": "src" } }, "notification-url": "https:\/\/packagist.org\/downloads\/", @@ -2034,7 +2034,7 @@ "installation-source": "dist", "autoload": { "psr-4": { - "RectorPrefix20220519\\React\\Stream\\": "src" + "RectorPrefix20220520\\React\\Stream\\": "src" } }, "notification-url": "https:\/\/packagist.org\/downloads\/", @@ -2785,12 +2785,12 @@ "source": { "type": "git", "url": "https:\/\/github.com\/sabbelasichon\/typo3-rector.git", - "reference": "2e284d0f8e5ab3b0d53d5222f774fd0525eaf85f" + "reference": "1e75e867819e85e241319084d00efdb2817517fd" }, "dist": { "type": "zip", - "url": "https:\/\/api.github.com\/repos\/sabbelasichon\/typo3-rector\/zipball\/2e284d0f8e5ab3b0d53d5222f774fd0525eaf85f", - "reference": "2e284d0f8e5ab3b0d53d5222f774fd0525eaf85f", + "url": "https:\/\/api.github.com\/repos\/sabbelasichon\/typo3-rector\/zipball\/1e75e867819e85e241319084d00efdb2817517fd", + "reference": "1e75e867819e85e241319084d00efdb2817517fd", "shasum": "" }, "require": { @@ -2820,7 +2820,7 @@ "symplify\/vendor-patches": "^10.2", "tracy\/tracy": "^2.8" }, - "time": "2022-05-16T06:44:20+00:00", + "time": "2022-05-19T21:10:21+00:00", "default-branch": true, "type": "rector-extension", "extra": { @@ -2911,7 +2911,7 @@ "installation-source": "dist", "autoload": { "psr-4": { - "RectorPrefix20220519\\Symfony\\Component\\Config\\": "" + "RectorPrefix20220520\\Symfony\\Component\\Config\\": "" }, "exclude-from-classmap": [ "\/Tests\/" @@ -3003,7 +3003,7 @@ "installation-source": "dist", "autoload": { "psr-4": { - "RectorPrefix20220519\\Symfony\\Component\\Console\\": "" + "RectorPrefix20220520\\Symfony\\Component\\Console\\": "" }, "exclude-from-classmap": [ "\/Tests\/" @@ -3105,7 +3105,7 @@ "Deprecation\/function.php" ], "psr-4": { - "RectorPrefix20220519\\Symfony\\Contracts\\": "" + "RectorPrefix20220520\\Symfony\\Contracts\\": "" }, "exclude-from-classmap": [ "**\/Tests\/" @@ -3210,7 +3210,7 @@ "installation-source": "dist", "autoload": { "psr-4": { - "RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\": "" + "RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\": "" }, "exclude-from-classmap": [ "\/Tests\/" @@ -3276,7 +3276,7 @@ "installation-source": "dist", "autoload": { "psr-4": { - "RectorPrefix20220519\\Symfony\\Component\\Filesystem\\": "" + "RectorPrefix20220520\\Symfony\\Component\\Filesystem\\": "" }, "exclude-from-classmap": [ "\/Tests\/" @@ -3340,7 +3340,7 @@ "installation-source": "dist", "autoload": { "psr-4": { - "RectorPrefix20220519\\Symfony\\Component\\Finder\\": "" + "RectorPrefix20220520\\Symfony\\Component\\Finder\\": "" }, "exclude-from-classmap": [ "\/Tests\/" @@ -3422,7 +3422,7 @@ "bootstrap.php" ], "psr-4": { - "RectorPrefix20220519\\Symfony\\Polyfill\\Ctype\\": "" + "RectorPrefix20220520\\Symfony\\Polyfill\\Ctype\\": "" } }, "notification-url": "https:\/\/packagist.org\/downloads\/", @@ -3504,7 +3504,7 @@ "bootstrap.php" ], "psr-4": { - "RectorPrefix20220519\\Symfony\\Polyfill\\Intl\\Grapheme\\": "" + "RectorPrefix20220520\\Symfony\\Polyfill\\Intl\\Grapheme\\": "" } }, "notification-url": "https:\/\/packagist.org\/downloads\/", @@ -3588,7 +3588,7 @@ "bootstrap.php" ], "psr-4": { - "RectorPrefix20220519\\Symfony\\Polyfill\\Intl\\Normalizer\\": "" + "RectorPrefix20220520\\Symfony\\Polyfill\\Intl\\Normalizer\\": "" }, "classmap": [ "Resources\/stubs" @@ -3678,7 +3678,7 @@ "bootstrap.php" ], "psr-4": { - "RectorPrefix20220519\\Symfony\\Polyfill\\Mbstring\\": "" + "RectorPrefix20220520\\Symfony\\Polyfill\\Mbstring\\": "" } }, "notification-url": "https:\/\/packagist.org\/downloads\/", @@ -3758,7 +3758,7 @@ "bootstrap.php" ], "psr-4": { - "RectorPrefix20220519\\Symfony\\Polyfill\\Php81\\": "" + "RectorPrefix20220520\\Symfony\\Polyfill\\Php81\\": "" }, "classmap": [ "Resources\/stubs" @@ -3828,7 +3828,7 @@ "installation-source": "dist", "autoload": { "psr-4": { - "RectorPrefix20220519\\Symfony\\Component\\Process\\": "" + "RectorPrefix20220520\\Symfony\\Component\\Process\\": "" }, "exclude-from-classmap": [ "\/Tests\/" @@ -3908,7 +3908,7 @@ "Resources\/functions.php" ], "psr-4": { - "RectorPrefix20220519\\Symfony\\Component\\String\\": "" + "RectorPrefix20220520\\Symfony\\Component\\String\\": "" }, "exclude-from-classmap": [ "\/Tests\/" @@ -3993,7 +3993,7 @@ "installation-source": "dist", "autoload": { "psr-4": { - "RectorPrefix20220519\\Symfony\\Component\\Yaml\\": "" + "RectorPrefix20220520\\Symfony\\Component\\Yaml\\": "" }, "exclude-from-classmap": [ "\/Tests\/" @@ -4108,7 +4108,7 @@ "installation-source": "dist", "autoload": { "psr-4": { - "RectorPrefix20220519\\Symplify\\Astral\\": "src" + "RectorPrefix20220520\\Symplify\\Astral\\": "src" } }, "notification-url": "https:\/\/packagist.org\/downloads\/", @@ -4192,7 +4192,7 @@ "installation-source": "dist", "autoload": { "psr-4": { - "RectorPrefix20220519\\Symplify\\AutowireArrayParameter\\": "src" + "RectorPrefix20220520\\Symplify\\AutowireArrayParameter\\": "src" } }, "notification-url": "https:\/\/packagist.org\/downloads\/", @@ -4279,7 +4279,7 @@ "installation-source": "dist", "autoload": { "psr-4": { - "RectorPrefix20220519\\Symplify\\ComposerJsonManipulator\\": "src" + "RectorPrefix20220520\\Symplify\\ComposerJsonManipulator\\": "src" } }, "notification-url": "https:\/\/packagist.org\/downloads\/", @@ -4366,7 +4366,7 @@ "installation-source": "dist", "autoload": { "psr-4": { - "RectorPrefix20220519\\Symplify\\EasyParallel\\": "src" + "RectorPrefix20220520\\Symplify\\EasyParallel\\": "src" } }, "notification-url": "https:\/\/packagist.org\/downloads\/", @@ -4446,7 +4446,7 @@ "installation-source": "dist", "autoload": { "psr-4": { - "RectorPrefix20220519\\Symplify\\EasyTesting\\": "src" + "RectorPrefix20220520\\Symplify\\EasyTesting\\": "src" } }, "notification-url": "https:\/\/packagist.org\/downloads\/", @@ -4535,7 +4535,7 @@ "installation-source": "dist", "autoload": { "psr-4": { - "RectorPrefix20220519\\Symplify\\PackageBuilder\\": "src" + "RectorPrefix20220520\\Symplify\\PackageBuilder\\": "src" } }, "notification-url": "https:\/\/packagist.org\/downloads\/", @@ -4702,7 +4702,7 @@ "installation-source": "dist", "autoload": { "psr-4": { - "RectorPrefix20220519\\Symplify\\Skipper\\": "src" + "RectorPrefix20220520\\Symplify\\Skipper\\": "src" } }, "notification-url": "https:\/\/packagist.org\/downloads\/", @@ -4788,7 +4788,7 @@ "installation-source": "dist", "autoload": { "psr-4": { - "RectorPrefix20220519\\Symplify\\SmartFileSystem\\": "src" + "RectorPrefix20220520\\Symplify\\SmartFileSystem\\": "src" } }, "notification-url": "https:\/\/packagist.org\/downloads\/", @@ -4873,7 +4873,7 @@ "installation-source": "dist", "autoload": { "psr-4": { - "RectorPrefix20220519\\Symplify\\SymplifyKernel\\": "src" + "RectorPrefix20220520\\Symplify\\SymplifyKernel\\": "src" } }, "notification-url": "https:\/\/packagist.org\/downloads\/", @@ -4953,7 +4953,7 @@ "installation-source": "dist", "autoload": { "psr-4": { - "RectorPrefix20220519\\Symplify\\VendorPatches\\": "src" + "RectorPrefix20220520\\Symplify\\VendorPatches\\": "src" } }, "notification-url": "https:\/\/packagist.org\/downloads\/", @@ -5079,7 +5079,7 @@ "installation-source": "dist", "autoload": { "psr-4": { - "RectorPrefix20220519\\Webmozart\\Assert\\": "src\/" + "RectorPrefix20220520\\Webmozart\\Assert\\": "src\/" } }, "notification-url": "https:\/\/packagist.org\/downloads\/", diff --git a/vendor/composer/installed.php b/vendor/composer/installed.php index 68d1934cd9f..ed225a9e609 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/pcre' => array('pretty_version' => '3.0.0', 'version' => '3.0.0.0', 'type' => 'library', 'install_path' => __DIR__ . '/./pcre', 'aliases' => array(), 'reference' => 'e300eb6c535192decd27a85bc72a9290f0d6b3bd', 'dev_requirement' => \false), 'composer/semver' => array('pretty_version' => '3.3.2', 'version' => '3.3.2.0', 'type' => 'library', 'install_path' => __DIR__ . '/./semver', 'aliases' => array(), 'reference' => '3953f23262f2bff1919fc82183ad9acb13ff62c9', 'dev_requirement' => \false), 'composer/xdebug-handler' => array('pretty_version' => '3.0.3', 'version' => '3.0.3.0', 'type' => 'library', 'install_path' => __DIR__ . '/./xdebug-handler', 'aliases' => array(), 'reference' => 'ced299686f41dce890debac69273b47ffe98a40c', 'dev_requirement' => \false), 'cweagans/composer-patches' => array('pretty_version' => '1.7.2', 'version' => '1.7.2.0', 'type' => 'composer-plugin', 'install_path' => __DIR__ . '/../cweagans/composer-patches', 'aliases' => array(), 'reference' => 'e9969cfc0796e6dea9b4e52f77f18e1065212871', '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.2.0', 'version' => '3.2.0.0', 'type' => 'library', 'install_path' => __DIR__ . '/../ergebnis/json-printer', 'aliases' => array(), 'reference' => '651cab2b7604a6b338d0d16749f5ea0851a68005', '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.4.1', 'version' => '2.4.1.0', 'type' => 'library', 'install_path' => __DIR__ . '/../helmich/typo3-typoscript-parser', 'aliases' => array(), 'reference' => 'b61bc9d63d42901d08885c18f6c691aa0f0c800d', '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.3', 'version' => '3.3.3.0', 'type' => 'library', 'install_path' => __DIR__ . '/../nette/neon', 'aliases' => array(), 'reference' => '22e384da162fab42961d48eb06c06d3ad0c11b95', 'dev_requirement' => \false), 'nette/utils' => array('pretty_version' => 'v3.2.7', 'version' => '3.2.7.0', 'type' => 'library', 'install_path' => __DIR__ . '/../nette/utils', 'aliases' => array(), 'reference' => '0af4e3de4df9f1543534beab255ccf459e7a2c99', 'dev_requirement' => \false), 'nikic/php-parser' => array('pretty_version' => 'v4.13.2', 'version' => '4.13.2.0', 'type' => 'library', 'install_path' => __DIR__ . '/../nikic/php-parser', 'aliases' => array(), 'reference' => '210577fe3cf7badcc5814d99455df46564f3c077', 'dev_requirement' => \false), 'ondram/ci-detector' => array('pretty_version' => '4.1.0', 'version' => '4.1.0.0', 'type' => 'library', 'install_path' => __DIR__ . '/../ondram/ci-detector', 'aliases' => array(), 'reference' => '8a4b664e916df82ff26a44709942dfd593fa6f30', 'dev_requirement' => \false), 'phpstan/phpdoc-parser' => array('pretty_version' => '1.5.1', 'version' => '1.5.1.0', 'type' => 'library', 'install_path' => __DIR__ . '/../phpstan/phpdoc-parser', 'aliases' => array(), 'reference' => '981cc368a216c988e862a75e526b6076987d1b50', 'dev_requirement' => \false), 'phpstan/phpstan' => array('pretty_version' => '1.6.8', 'version' => '1.6.8.0', 'type' => 'library', 'install_path' => __DIR__ . '/../phpstan/phpstan', 'aliases' => array(), 'reference' => 'd76498c5531232cb8386ceb6004f7e013138d3ba', 'dev_requirement' => \false), 'phpstan/phpstan-phpunit' => array('pretty_version' => '1.1.1', 'version' => '1.1.1.0', 'type' => 'phpstan-extension', 'install_path' => __DIR__ . '/../phpstan/phpstan-phpunit', 'aliases' => array(), 'reference' => '4a3c437c09075736285d1cabb5c75bf27ed0bc84', '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' => '2.0.2', 'version' => '2.0.2.0', 'type' => 'library', 'install_path' => __DIR__ . '/../psr/container', 'aliases' => array(), 'reference' => 'c71ecc56dfe541dbd90c5360474fbc405f8d5963', 'dev_requirement' => \false), 'psr/container-implementation' => array('dev_requirement' => \false, 'provided' => array(0 => '1.1|2.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/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|3.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.9.0', 'version' => '1.9.0.0', 'type' => 'library', 'install_path' => __DIR__ . '/../react/dns', 'aliases' => array(), 'reference' => '6d38296756fa644e6cb1bfe95eff0f9a4ed6edcb', 'dev_requirement' => \false), 'react/event-loop' => array('pretty_version' => 'v1.3.0', 'version' => '1.3.0.0', 'type' => 'library', 'install_path' => __DIR__ . '/../react/event-loop', 'aliases' => array(), 'reference' => '187fb56f46d424afb6ec4ad089269c72eec2e137', 'dev_requirement' => \false), 'react/promise' => array('pretty_version' => 'v2.9.0', 'version' => '2.9.0.0', 'type' => 'library', 'install_path' => __DIR__ . '/../react/promise', 'aliases' => array(), 'reference' => '234f8fd1023c9158e2314fa9d7d0e6a83db42910', 'dev_requirement' => \false), 'react/promise-timer' => array('pretty_version' => 'v1.8.0', 'version' => '1.8.0.0', 'type' => 'library', 'install_path' => __DIR__ . '/../react/promise-timer', 'aliases' => array(), 'reference' => '0bbbcc79589e5bfdddba68a287f1cb805581a479', 'dev_requirement' => \false), 'react/socket' => array('pretty_version' => 'v1.11.0', 'version' => '1.11.0.0', 'type' => 'library', 'install_path' => __DIR__ . '/../react/socket', 'aliases' => array(), 'reference' => 'f474156aaab4f09041144fa8b57c7d70aed32a1c', '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.2', 'version' => '0.11.2.0', 'type' => 'composer-plugin', 'install_path' => __DIR__ . '/../rector/extension-installer', 'aliases' => array(), 'reference' => '05544e9b195863b8571ae2a3b903cbec7fa062e0', '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' => 'dev-main', 'version' => 'dev-main', 'type' => 'rector-extension', 'install_path' => __DIR__ . '/../rector/rector-cakephp', 'aliases' => array(0 => '0.11.x-dev'), 'reference' => '43ca394ae14176b995eab8efd804bcf28206898a', 'dev_requirement' => \false), 'rector/rector-doctrine' => array('pretty_version' => 'dev-main', 'version' => 'dev-main', 'type' => 'rector-extension', 'install_path' => __DIR__ . '/../rector/rector-doctrine', 'aliases' => array(0 => '0.11.x-dev'), 'reference' => '4a907ede0f35a562aadc63eebadf34e8d3d3d388', 'dev_requirement' => \false), 'rector/rector-generator' => array('pretty_version' => 'dev-main', 'version' => 'dev-main', 'type' => 'rector-extension', 'install_path' => __DIR__ . '/../rector/rector-generator', 'aliases' => array(0 => '9999999-dev'), 'reference' => '784271e3a88068bc6a1a14654eac565661fb0f77', 'dev_requirement' => \false), 'rector/rector-laravel' => array('pretty_version' => 'dev-main', 'version' => 'dev-main', 'type' => 'rector-extension', 'install_path' => __DIR__ . '/../rector/rector-laravel', 'aliases' => array(0 => '0.11.x-dev'), 'reference' => '2e0f600170c8fcedb7330772324900e3a39e3c2c', 'dev_requirement' => \false), 'rector/rector-nette' => array('pretty_version' => 'dev-main', 'version' => 'dev-main', 'type' => 'rector-extension', 'install_path' => __DIR__ . '/../rector/rector-nette', 'aliases' => array(0 => '0.11.x-dev'), 'reference' => '5f84d90af036738c70ef3d77677eff2cfa50dcf5', 'dev_requirement' => \false), 'rector/rector-phpoffice' => array('pretty_version' => 'dev-main', 'version' => 'dev-main', 'type' => 'rector-extension', 'install_path' => __DIR__ . '/../rector/rector-phpoffice', 'aliases' => array(0 => '0.11.x-dev'), 'reference' => 'e544f2a885fd0477e7c6c1287b2ff029411cbd3b', 'dev_requirement' => \false), 'rector/rector-phpunit' => array('pretty_version' => 'dev-main', 'version' => 'dev-main', 'type' => 'rector-extension', 'install_path' => __DIR__ . '/../rector/rector-phpunit', 'aliases' => array(0 => '0.11.x-dev'), 'reference' => '5a339401f870b3eeadff135a35bef91f944b3461', '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' => 'dev-main', 'version' => 'dev-main', 'type' => 'rector-extension', 'install_path' => __DIR__ . '/../rector/rector-symfony', 'aliases' => array(0 => '0.11.x-dev'), 'reference' => 'aec781e364347176d48d9545dd2360aa98f9923c', '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' => 'dev-main', 'version' => 'dev-main', 'type' => 'rector-extension', 'install_path' => __DIR__ . '/../ssch/typo3-rector', 'aliases' => array(0 => '0.11.x-dev'), 'reference' => '2e284d0f8e5ab3b0d53d5222f774fd0525eaf85f', 'dev_requirement' => \false), 'symfony/cache-contracts' => array('dev_requirement' => \false, 'replaced' => array(0 => 'v3.0.1')), 'symfony/config' => array('pretty_version' => 'v6.0.8', 'version' => '6.0.8.0', 'type' => 'library', 'install_path' => __DIR__ . '/../symfony/config', 'aliases' => array(), 'reference' => '6ac50d559aa64c8e7b5b17640c46241e4accb487', 'dev_requirement' => \false), 'symfony/console' => array('pretty_version' => 'v6.0.8', 'version' => '6.0.8.0', 'type' => 'library', 'install_path' => __DIR__ . '/../symfony/console', 'aliases' => array(), 'reference' => '0d00aa289215353aa8746a31d101f8e60826285c', 'dev_requirement' => \false), 'symfony/contracts' => array('pretty_version' => 'v3.0.1', 'version' => '3.0.1.0', 'type' => 'library', 'install_path' => __DIR__ . '/../symfony/contracts', 'aliases' => array(), 'reference' => 'f74917e5665e24008ac9bc3f0947a63b42e1f895', 'dev_requirement' => \false), 'symfony/dependency-injection' => array('pretty_version' => 'v6.0.8', 'version' => '6.0.8.0', 'type' => 'library', 'install_path' => __DIR__ . '/../symfony/dependency-injection', 'aliases' => array(), 'reference' => '571041cd7e765664cc527b461ee41be3013aa08e', 'dev_requirement' => \false), 'symfony/deprecation-contracts' => array('dev_requirement' => \false, 'replaced' => array(0 => 'v3.0.1')), 'symfony/event-dispatcher-contracts' => array('dev_requirement' => \false, 'replaced' => array(0 => 'v3.0.1')), 'symfony/filesystem' => array('pretty_version' => 'v6.0.7', 'version' => '6.0.7.0', 'type' => 'library', 'install_path' => __DIR__ . '/../symfony/filesystem', 'aliases' => array(), 'reference' => '6c9e4c41f2c51dfde3db298594ed9cba55dbf5ff', 'dev_requirement' => \false), 'symfony/finder' => array('pretty_version' => 'v6.0.8', 'version' => '6.0.8.0', 'type' => 'library', 'install_path' => __DIR__ . '/../symfony/finder', 'aliases' => array(), 'reference' => 'af7edab28d17caecd1f40a9219fc646ae751c21f', 'dev_requirement' => \false), 'symfony/http-client-contracts' => array('dev_requirement' => \false, 'replaced' => array(0 => 'v3.0.1')), 'symfony/polyfill-ctype' => array('pretty_version' => 'v1.25.0', 'version' => '1.25.0.0', 'type' => 'library', 'install_path' => __DIR__ . '/../symfony/polyfill-ctype', 'aliases' => array(), 'reference' => '30885182c981ab175d4d034db0f6f469898070ab', 'dev_requirement' => \false), 'symfony/polyfill-intl-grapheme' => array('pretty_version' => 'v1.25.0', 'version' => '1.25.0.0', 'type' => 'library', 'install_path' => __DIR__ . '/../symfony/polyfill-intl-grapheme', 'aliases' => array(), 'reference' => '81b86b50cf841a64252b439e738e97f4a34e2783', 'dev_requirement' => \false), 'symfony/polyfill-intl-normalizer' => array('pretty_version' => 'v1.25.0', 'version' => '1.25.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.25.0', 'version' => '1.25.0.0', 'type' => 'library', 'install_path' => __DIR__ . '/../symfony/polyfill-mbstring', 'aliases' => array(), 'reference' => '0abb51d2f102e00a4eefcf46ba7fec406d245825', 'dev_requirement' => \false), 'symfony/polyfill-php81' => array('pretty_version' => 'v1.25.0', 'version' => '1.25.0.0', 'type' => 'library', 'install_path' => __DIR__ . '/../symfony/polyfill-php81', 'aliases' => array(), 'reference' => '5de4ba2d41b15f9bd0e19b2ab9674135813ec98f', 'dev_requirement' => \false), 'symfony/process' => array('pretty_version' => 'v6.0.8', 'version' => '6.0.8.0', 'type' => 'library', 'install_path' => __DIR__ . '/../symfony/process', 'aliases' => array(), 'reference' => 'd074154ea8b1443a96391f6e39f9e547b2dd01b9', 'dev_requirement' => \false), 'symfony/service-contracts' => array('dev_requirement' => \false, 'replaced' => array(0 => 'v3.0.1')), 'symfony/service-implementation' => array('dev_requirement' => \false, 'provided' => array(0 => '1.1|2.0|3.0')), 'symfony/string' => array('pretty_version' => 'v6.0.8', 'version' => '6.0.8.0', 'type' => 'library', 'install_path' => __DIR__ . '/../symfony/string', 'aliases' => array(), 'reference' => 'ac0aa5c2282e0de624c175b68d13f2c8f2e2649d', 'dev_requirement' => \false), 'symfony/translation-contracts' => array('dev_requirement' => \false, 'replaced' => array(0 => 'v3.0.1')), 'symfony/yaml' => array('pretty_version' => 'v6.0.3', 'version' => '6.0.3.0', 'type' => 'library', 'install_path' => __DIR__ . '/../symfony/yaml', 'aliases' => array(), 'reference' => 'e77f3ea0b21141d771d4a5655faa54f692b34af5', 'dev_requirement' => \false), 'symplify/astral' => array('pretty_version' => '10.2.6', 'version' => '10.2.6.0', 'type' => 'phpstan-extension', 'install_path' => __DIR__ . '/../symplify/astral', 'aliases' => array(), 'reference' => '57a9344c63ddd53f8e3f2d6683565c8bf526ea98', 'dev_requirement' => \false), 'symplify/autowire-array-parameter' => array('pretty_version' => '10.2.6', 'version' => '10.2.6.0', 'type' => 'library', 'install_path' => __DIR__ . '/../symplify/autowire-array-parameter', 'aliases' => array(), 'reference' => '0260867953af60c6e979897106a1a441ef3f4aee', 'dev_requirement' => \false), 'symplify/composer-json-manipulator' => array('pretty_version' => '10.2.6', 'version' => '10.2.6.0', 'type' => 'symfony-bundle', 'install_path' => __DIR__ . '/../symplify/composer-json-manipulator', 'aliases' => array(), 'reference' => '879549bcf17ddb27a128d8683bbd7d46ef4191bf', 'dev_requirement' => \false), 'symplify/easy-parallel' => array('pretty_version' => '10.2.6', 'version' => '10.2.6.0', 'type' => 'library', 'install_path' => __DIR__ . '/../symplify/easy-parallel', 'aliases' => array(), 'reference' => '31f0faebbb6363f9582ac7effb6ac89dbb618e06', 'dev_requirement' => \false), 'symplify/easy-testing' => array('pretty_version' => '10.2.6', 'version' => '10.2.6.0', 'type' => 'symfony-bundle', 'install_path' => __DIR__ . '/../symplify/easy-testing', 'aliases' => array(), 'reference' => 'c4ad908124d5f7d6c0b6cc7603334cc9ffece491', 'dev_requirement' => \false), 'symplify/package-builder' => array('pretty_version' => '10.2.6', 'version' => '10.2.6.0', 'type' => 'library', 'install_path' => __DIR__ . '/../symplify/package-builder', 'aliases' => array(), 'reference' => 'b60cf39d958207387e92d15c5914f704dca1b4b0', 'dev_requirement' => \false), 'symplify/rule-doc-generator-contracts' => array('pretty_version' => '10.2.6', 'version' => '10.2.6.0', 'type' => 'library', 'install_path' => __DIR__ . '/../symplify/rule-doc-generator-contracts', 'aliases' => array(), 'reference' => 'de7e0fabcca81f0c147831a762df1425a8d4ef87', 'dev_requirement' => \false), 'symplify/skipper' => array('pretty_version' => '10.2.6', 'version' => '10.2.6.0', 'type' => 'library', 'install_path' => __DIR__ . '/../symplify/skipper', 'aliases' => array(), 'reference' => '90608ad908b2ce1bebe3d0f59f9400e4f93d51f4', 'dev_requirement' => \false), 'symplify/smart-file-system' => array('pretty_version' => '10.2.6', 'version' => '10.2.6.0', 'type' => 'library', 'install_path' => __DIR__ . '/../symplify/smart-file-system', 'aliases' => array(), 'reference' => '583a4a3262ea9304e4427450e9c7a948c5c3e47e', 'dev_requirement' => \false), 'symplify/symplify-kernel' => array('pretty_version' => '10.2.6', 'version' => '10.2.6.0', 'type' => 'library', 'install_path' => __DIR__ . '/../symplify/symplify-kernel', 'aliases' => array(), 'reference' => 'a0c1d66adb5b1fbcb01510852c61f27293338177', 'dev_requirement' => \false), 'symplify/vendor-patches' => array('pretty_version' => '10.2.6', 'version' => '10.2.6.0', 'type' => 'library', 'install_path' => __DIR__ . '/../symplify/vendor-patches', 'aliases' => array(), 'reference' => 'b4a0cac1986250cbeec770f3a071710d5c36ee5d', 'dev_requirement' => \false), 'tracy/tracy' => array('pretty_version' => 'v2.9.2', 'version' => '2.9.2.0', 'type' => 'library', 'install_path' => __DIR__ . '/../tracy/tracy', 'aliases' => array(), 'reference' => '03965a7cb94d284dbf7e3b788b3691715c13d401', '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/pcre' => array('pretty_version' => '3.0.0', 'version' => '3.0.0.0', 'type' => 'library', 'install_path' => __DIR__ . '/./pcre', 'aliases' => array(), 'reference' => 'e300eb6c535192decd27a85bc72a9290f0d6b3bd', 'dev_requirement' => \false), 'composer/semver' => array('pretty_version' => '3.3.2', 'version' => '3.3.2.0', 'type' => 'library', 'install_path' => __DIR__ . '/./semver', 'aliases' => array(), 'reference' => '3953f23262f2bff1919fc82183ad9acb13ff62c9', 'dev_requirement' => \false), 'composer/xdebug-handler' => array('pretty_version' => '3.0.3', 'version' => '3.0.3.0', 'type' => 'library', 'install_path' => __DIR__ . '/./xdebug-handler', 'aliases' => array(), 'reference' => 'ced299686f41dce890debac69273b47ffe98a40c', 'dev_requirement' => \false), 'cweagans/composer-patches' => array('pretty_version' => '1.7.2', 'version' => '1.7.2.0', 'type' => 'composer-plugin', 'install_path' => __DIR__ . '/../cweagans/composer-patches', 'aliases' => array(), 'reference' => 'e9969cfc0796e6dea9b4e52f77f18e1065212871', '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.2.0', 'version' => '3.2.0.0', 'type' => 'library', 'install_path' => __DIR__ . '/../ergebnis/json-printer', 'aliases' => array(), 'reference' => '651cab2b7604a6b338d0d16749f5ea0851a68005', '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.4.1', 'version' => '2.4.1.0', 'type' => 'library', 'install_path' => __DIR__ . '/../helmich/typo3-typoscript-parser', 'aliases' => array(), 'reference' => 'b61bc9d63d42901d08885c18f6c691aa0f0c800d', '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.3', 'version' => '3.3.3.0', 'type' => 'library', 'install_path' => __DIR__ . '/../nette/neon', 'aliases' => array(), 'reference' => '22e384da162fab42961d48eb06c06d3ad0c11b95', 'dev_requirement' => \false), 'nette/utils' => array('pretty_version' => 'v3.2.7', 'version' => '3.2.7.0', 'type' => 'library', 'install_path' => __DIR__ . '/../nette/utils', 'aliases' => array(), 'reference' => '0af4e3de4df9f1543534beab255ccf459e7a2c99', 'dev_requirement' => \false), 'nikic/php-parser' => array('pretty_version' => 'v4.13.2', 'version' => '4.13.2.0', 'type' => 'library', 'install_path' => __DIR__ . '/../nikic/php-parser', 'aliases' => array(), 'reference' => '210577fe3cf7badcc5814d99455df46564f3c077', 'dev_requirement' => \false), 'ondram/ci-detector' => array('pretty_version' => '4.1.0', 'version' => '4.1.0.0', 'type' => 'library', 'install_path' => __DIR__ . '/../ondram/ci-detector', 'aliases' => array(), 'reference' => '8a4b664e916df82ff26a44709942dfd593fa6f30', 'dev_requirement' => \false), 'phpstan/phpdoc-parser' => array('pretty_version' => '1.5.1', 'version' => '1.5.1.0', 'type' => 'library', 'install_path' => __DIR__ . '/../phpstan/phpdoc-parser', 'aliases' => array(), 'reference' => '981cc368a216c988e862a75e526b6076987d1b50', 'dev_requirement' => \false), 'phpstan/phpstan' => array('pretty_version' => '1.6.8', 'version' => '1.6.8.0', 'type' => 'library', 'install_path' => __DIR__ . '/../phpstan/phpstan', 'aliases' => array(), 'reference' => 'd76498c5531232cb8386ceb6004f7e013138d3ba', 'dev_requirement' => \false), 'phpstan/phpstan-phpunit' => array('pretty_version' => '1.1.1', 'version' => '1.1.1.0', 'type' => 'phpstan-extension', 'install_path' => __DIR__ . '/../phpstan/phpstan-phpunit', 'aliases' => array(), 'reference' => '4a3c437c09075736285d1cabb5c75bf27ed0bc84', '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' => '2.0.2', 'version' => '2.0.2.0', 'type' => 'library', 'install_path' => __DIR__ . '/../psr/container', 'aliases' => array(), 'reference' => 'c71ecc56dfe541dbd90c5360474fbc405f8d5963', 'dev_requirement' => \false), 'psr/container-implementation' => array('dev_requirement' => \false, 'provided' => array(0 => '1.1|2.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/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|3.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.9.0', 'version' => '1.9.0.0', 'type' => 'library', 'install_path' => __DIR__ . '/../react/dns', 'aliases' => array(), 'reference' => '6d38296756fa644e6cb1bfe95eff0f9a4ed6edcb', 'dev_requirement' => \false), 'react/event-loop' => array('pretty_version' => 'v1.3.0', 'version' => '1.3.0.0', 'type' => 'library', 'install_path' => __DIR__ . '/../react/event-loop', 'aliases' => array(), 'reference' => '187fb56f46d424afb6ec4ad089269c72eec2e137', 'dev_requirement' => \false), 'react/promise' => array('pretty_version' => 'v2.9.0', 'version' => '2.9.0.0', 'type' => 'library', 'install_path' => __DIR__ . '/../react/promise', 'aliases' => array(), 'reference' => '234f8fd1023c9158e2314fa9d7d0e6a83db42910', 'dev_requirement' => \false), 'react/promise-timer' => array('pretty_version' => 'v1.8.0', 'version' => '1.8.0.0', 'type' => 'library', 'install_path' => __DIR__ . '/../react/promise-timer', 'aliases' => array(), 'reference' => '0bbbcc79589e5bfdddba68a287f1cb805581a479', 'dev_requirement' => \false), 'react/socket' => array('pretty_version' => 'v1.11.0', 'version' => '1.11.0.0', 'type' => 'library', 'install_path' => __DIR__ . '/../react/socket', 'aliases' => array(), 'reference' => 'f474156aaab4f09041144fa8b57c7d70aed32a1c', '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.2', 'version' => '0.11.2.0', 'type' => 'composer-plugin', 'install_path' => __DIR__ . '/../rector/extension-installer', 'aliases' => array(), 'reference' => '05544e9b195863b8571ae2a3b903cbec7fa062e0', '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' => 'dev-main', 'version' => 'dev-main', 'type' => 'rector-extension', 'install_path' => __DIR__ . '/../rector/rector-cakephp', 'aliases' => array(0 => '0.11.x-dev'), 'reference' => '43ca394ae14176b995eab8efd804bcf28206898a', 'dev_requirement' => \false), 'rector/rector-doctrine' => array('pretty_version' => 'dev-main', 'version' => 'dev-main', 'type' => 'rector-extension', 'install_path' => __DIR__ . '/../rector/rector-doctrine', 'aliases' => array(0 => '0.11.x-dev'), 'reference' => '4a907ede0f35a562aadc63eebadf34e8d3d3d388', 'dev_requirement' => \false), 'rector/rector-generator' => array('pretty_version' => 'dev-main', 'version' => 'dev-main', 'type' => 'rector-extension', 'install_path' => __DIR__ . '/../rector/rector-generator', 'aliases' => array(0 => '9999999-dev'), 'reference' => '784271e3a88068bc6a1a14654eac565661fb0f77', 'dev_requirement' => \false), 'rector/rector-laravel' => array('pretty_version' => 'dev-main', 'version' => 'dev-main', 'type' => 'rector-extension', 'install_path' => __DIR__ . '/../rector/rector-laravel', 'aliases' => array(0 => '0.11.x-dev'), 'reference' => '2e0f600170c8fcedb7330772324900e3a39e3c2c', 'dev_requirement' => \false), 'rector/rector-nette' => array('pretty_version' => 'dev-main', 'version' => 'dev-main', 'type' => 'rector-extension', 'install_path' => __DIR__ . '/../rector/rector-nette', 'aliases' => array(0 => '0.11.x-dev'), 'reference' => '5f84d90af036738c70ef3d77677eff2cfa50dcf5', 'dev_requirement' => \false), 'rector/rector-phpoffice' => array('pretty_version' => 'dev-main', 'version' => 'dev-main', 'type' => 'rector-extension', 'install_path' => __DIR__ . '/../rector/rector-phpoffice', 'aliases' => array(0 => '0.11.x-dev'), 'reference' => 'e544f2a885fd0477e7c6c1287b2ff029411cbd3b', 'dev_requirement' => \false), 'rector/rector-phpunit' => array('pretty_version' => 'dev-main', 'version' => 'dev-main', 'type' => 'rector-extension', 'install_path' => __DIR__ . '/../rector/rector-phpunit', 'aliases' => array(0 => '0.11.x-dev'), 'reference' => '5a339401f870b3eeadff135a35bef91f944b3461', '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' => 'dev-main', 'version' => 'dev-main', 'type' => 'rector-extension', 'install_path' => __DIR__ . '/../rector/rector-symfony', 'aliases' => array(0 => '0.11.x-dev'), 'reference' => 'aec781e364347176d48d9545dd2360aa98f9923c', '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' => 'dev-main', 'version' => 'dev-main', 'type' => 'rector-extension', 'install_path' => __DIR__ . '/../ssch/typo3-rector', 'aliases' => array(0 => '0.11.x-dev'), 'reference' => '1e75e867819e85e241319084d00efdb2817517fd', 'dev_requirement' => \false), 'symfony/cache-contracts' => array('dev_requirement' => \false, 'replaced' => array(0 => 'v3.0.1')), 'symfony/config' => array('pretty_version' => 'v6.0.8', 'version' => '6.0.8.0', 'type' => 'library', 'install_path' => __DIR__ . '/../symfony/config', 'aliases' => array(), 'reference' => '6ac50d559aa64c8e7b5b17640c46241e4accb487', 'dev_requirement' => \false), 'symfony/console' => array('pretty_version' => 'v6.0.8', 'version' => '6.0.8.0', 'type' => 'library', 'install_path' => __DIR__ . '/../symfony/console', 'aliases' => array(), 'reference' => '0d00aa289215353aa8746a31d101f8e60826285c', 'dev_requirement' => \false), 'symfony/contracts' => array('pretty_version' => 'v3.0.1', 'version' => '3.0.1.0', 'type' => 'library', 'install_path' => __DIR__ . '/../symfony/contracts', 'aliases' => array(), 'reference' => 'f74917e5665e24008ac9bc3f0947a63b42e1f895', 'dev_requirement' => \false), 'symfony/dependency-injection' => array('pretty_version' => 'v6.0.8', 'version' => '6.0.8.0', 'type' => 'library', 'install_path' => __DIR__ . '/../symfony/dependency-injection', 'aliases' => array(), 'reference' => '571041cd7e765664cc527b461ee41be3013aa08e', 'dev_requirement' => \false), 'symfony/deprecation-contracts' => array('dev_requirement' => \false, 'replaced' => array(0 => 'v3.0.1')), 'symfony/event-dispatcher-contracts' => array('dev_requirement' => \false, 'replaced' => array(0 => 'v3.0.1')), 'symfony/filesystem' => array('pretty_version' => 'v6.0.7', 'version' => '6.0.7.0', 'type' => 'library', 'install_path' => __DIR__ . '/../symfony/filesystem', 'aliases' => array(), 'reference' => '6c9e4c41f2c51dfde3db298594ed9cba55dbf5ff', 'dev_requirement' => \false), 'symfony/finder' => array('pretty_version' => 'v6.0.8', 'version' => '6.0.8.0', 'type' => 'library', 'install_path' => __DIR__ . '/../symfony/finder', 'aliases' => array(), 'reference' => 'af7edab28d17caecd1f40a9219fc646ae751c21f', 'dev_requirement' => \false), 'symfony/http-client-contracts' => array('dev_requirement' => \false, 'replaced' => array(0 => 'v3.0.1')), 'symfony/polyfill-ctype' => array('pretty_version' => 'v1.25.0', 'version' => '1.25.0.0', 'type' => 'library', 'install_path' => __DIR__ . '/../symfony/polyfill-ctype', 'aliases' => array(), 'reference' => '30885182c981ab175d4d034db0f6f469898070ab', 'dev_requirement' => \false), 'symfony/polyfill-intl-grapheme' => array('pretty_version' => 'v1.25.0', 'version' => '1.25.0.0', 'type' => 'library', 'install_path' => __DIR__ . '/../symfony/polyfill-intl-grapheme', 'aliases' => array(), 'reference' => '81b86b50cf841a64252b439e738e97f4a34e2783', 'dev_requirement' => \false), 'symfony/polyfill-intl-normalizer' => array('pretty_version' => 'v1.25.0', 'version' => '1.25.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.25.0', 'version' => '1.25.0.0', 'type' => 'library', 'install_path' => __DIR__ . '/../symfony/polyfill-mbstring', 'aliases' => array(), 'reference' => '0abb51d2f102e00a4eefcf46ba7fec406d245825', 'dev_requirement' => \false), 'symfony/polyfill-php81' => array('pretty_version' => 'v1.25.0', 'version' => '1.25.0.0', 'type' => 'library', 'install_path' => __DIR__ . '/../symfony/polyfill-php81', 'aliases' => array(), 'reference' => '5de4ba2d41b15f9bd0e19b2ab9674135813ec98f', 'dev_requirement' => \false), 'symfony/process' => array('pretty_version' => 'v6.0.8', 'version' => '6.0.8.0', 'type' => 'library', 'install_path' => __DIR__ . '/../symfony/process', 'aliases' => array(), 'reference' => 'd074154ea8b1443a96391f6e39f9e547b2dd01b9', 'dev_requirement' => \false), 'symfony/service-contracts' => array('dev_requirement' => \false, 'replaced' => array(0 => 'v3.0.1')), 'symfony/service-implementation' => array('dev_requirement' => \false, 'provided' => array(0 => '1.1|2.0|3.0')), 'symfony/string' => array('pretty_version' => 'v6.0.8', 'version' => '6.0.8.0', 'type' => 'library', 'install_path' => __DIR__ . '/../symfony/string', 'aliases' => array(), 'reference' => 'ac0aa5c2282e0de624c175b68d13f2c8f2e2649d', 'dev_requirement' => \false), 'symfony/translation-contracts' => array('dev_requirement' => \false, 'replaced' => array(0 => 'v3.0.1')), 'symfony/yaml' => array('pretty_version' => 'v6.0.3', 'version' => '6.0.3.0', 'type' => 'library', 'install_path' => __DIR__ . '/../symfony/yaml', 'aliases' => array(), 'reference' => 'e77f3ea0b21141d771d4a5655faa54f692b34af5', 'dev_requirement' => \false), 'symplify/astral' => array('pretty_version' => '10.2.6', 'version' => '10.2.6.0', 'type' => 'phpstan-extension', 'install_path' => __DIR__ . '/../symplify/astral', 'aliases' => array(), 'reference' => '57a9344c63ddd53f8e3f2d6683565c8bf526ea98', 'dev_requirement' => \false), 'symplify/autowire-array-parameter' => array('pretty_version' => '10.2.6', 'version' => '10.2.6.0', 'type' => 'library', 'install_path' => __DIR__ . '/../symplify/autowire-array-parameter', 'aliases' => array(), 'reference' => '0260867953af60c6e979897106a1a441ef3f4aee', 'dev_requirement' => \false), 'symplify/composer-json-manipulator' => array('pretty_version' => '10.2.6', 'version' => '10.2.6.0', 'type' => 'symfony-bundle', 'install_path' => __DIR__ . '/../symplify/composer-json-manipulator', 'aliases' => array(), 'reference' => '879549bcf17ddb27a128d8683bbd7d46ef4191bf', 'dev_requirement' => \false), 'symplify/easy-parallel' => array('pretty_version' => '10.2.6', 'version' => '10.2.6.0', 'type' => 'library', 'install_path' => __DIR__ . '/../symplify/easy-parallel', 'aliases' => array(), 'reference' => '31f0faebbb6363f9582ac7effb6ac89dbb618e06', 'dev_requirement' => \false), 'symplify/easy-testing' => array('pretty_version' => '10.2.6', 'version' => '10.2.6.0', 'type' => 'symfony-bundle', 'install_path' => __DIR__ . '/../symplify/easy-testing', 'aliases' => array(), 'reference' => 'c4ad908124d5f7d6c0b6cc7603334cc9ffece491', 'dev_requirement' => \false), 'symplify/package-builder' => array('pretty_version' => '10.2.6', 'version' => '10.2.6.0', 'type' => 'library', 'install_path' => __DIR__ . '/../symplify/package-builder', 'aliases' => array(), 'reference' => 'b60cf39d958207387e92d15c5914f704dca1b4b0', 'dev_requirement' => \false), 'symplify/rule-doc-generator-contracts' => array('pretty_version' => '10.2.6', 'version' => '10.2.6.0', 'type' => 'library', 'install_path' => __DIR__ . '/../symplify/rule-doc-generator-contracts', 'aliases' => array(), 'reference' => 'de7e0fabcca81f0c147831a762df1425a8d4ef87', 'dev_requirement' => \false), 'symplify/skipper' => array('pretty_version' => '10.2.6', 'version' => '10.2.6.0', 'type' => 'library', 'install_path' => __DIR__ . '/../symplify/skipper', 'aliases' => array(), 'reference' => '90608ad908b2ce1bebe3d0f59f9400e4f93d51f4', 'dev_requirement' => \false), 'symplify/smart-file-system' => array('pretty_version' => '10.2.6', 'version' => '10.2.6.0', 'type' => 'library', 'install_path' => __DIR__ . '/../symplify/smart-file-system', 'aliases' => array(), 'reference' => '583a4a3262ea9304e4427450e9c7a948c5c3e47e', 'dev_requirement' => \false), 'symplify/symplify-kernel' => array('pretty_version' => '10.2.6', 'version' => '10.2.6.0', 'type' => 'library', 'install_path' => __DIR__ . '/../symplify/symplify-kernel', 'aliases' => array(), 'reference' => 'a0c1d66adb5b1fbcb01510852c61f27293338177', 'dev_requirement' => \false), 'symplify/vendor-patches' => array('pretty_version' => '10.2.6', 'version' => '10.2.6.0', 'type' => 'library', 'install_path' => __DIR__ . '/../symplify/vendor-patches', 'aliases' => array(), 'reference' => 'b4a0cac1986250cbeec770f3a071710d5c36ee5d', 'dev_requirement' => \false), 'tracy/tracy' => array('pretty_version' => 'v2.9.2', 'version' => '2.9.2.0', 'type' => 'library', 'install_path' => __DIR__ . '/../tracy/tracy', 'aliases' => array(), 'reference' => '03965a7cb94d284dbf7e3b788b3691715c13d401', '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/pcre/composer.json b/vendor/composer/pcre/composer.json index 824f90eac4a..5f42d83f169 100644 --- a/vendor/composer/pcre/composer.json +++ b/vendor/composer/pcre/composer.json @@ -26,12 +26,12 @@ }, "autoload": { "psr-4": { - "RectorPrefix20220519\\Composer\\Pcre\\": "src" + "RectorPrefix20220520\\Composer\\Pcre\\": "src" } }, "autoload-dev": { "psr-4": { - "RectorPrefix20220519\\Composer\\Pcre\\": "tests" + "RectorPrefix20220520\\Composer\\Pcre\\": "tests" } }, "extra": { diff --git a/vendor/composer/pcre/src/MatchAllResult.php b/vendor/composer/pcre/src/MatchAllResult.php index 62108361552..7dd2664758b 100644 --- a/vendor/composer/pcre/src/MatchAllResult.php +++ b/vendor/composer/pcre/src/MatchAllResult.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 RectorPrefix20220519\Composer\Pcre; +namespace RectorPrefix20220520\Composer\Pcre; final class MatchAllResult { diff --git a/vendor/composer/pcre/src/MatchAllWithOffsetsResult.php b/vendor/composer/pcre/src/MatchAllWithOffsetsResult.php index d2d4011c3d8..1d04ae79112 100644 --- a/vendor/composer/pcre/src/MatchAllWithOffsetsResult.php +++ b/vendor/composer/pcre/src/MatchAllWithOffsetsResult.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 RectorPrefix20220519\Composer\Pcre; +namespace RectorPrefix20220520\Composer\Pcre; final class MatchAllWithOffsetsResult { diff --git a/vendor/composer/pcre/src/MatchResult.php b/vendor/composer/pcre/src/MatchResult.php index baf23389230..e76c6b84dc1 100644 --- a/vendor/composer/pcre/src/MatchResult.php +++ b/vendor/composer/pcre/src/MatchResult.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 RectorPrefix20220519\Composer\Pcre; +namespace RectorPrefix20220520\Composer\Pcre; final class MatchResult { diff --git a/vendor/composer/pcre/src/MatchWithOffsetsResult.php b/vendor/composer/pcre/src/MatchWithOffsetsResult.php index 112aeb214ac..b7d4a117301 100644 --- a/vendor/composer/pcre/src/MatchWithOffsetsResult.php +++ b/vendor/composer/pcre/src/MatchWithOffsetsResult.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 RectorPrefix20220519\Composer\Pcre; +namespace RectorPrefix20220520\Composer\Pcre; final class MatchWithOffsetsResult { diff --git a/vendor/composer/pcre/src/PcreException.php b/vendor/composer/pcre/src/PcreException.php index c7a1a318546..ea5055ac602 100644 --- a/vendor/composer/pcre/src/PcreException.php +++ b/vendor/composer/pcre/src/PcreException.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 RectorPrefix20220519\Composer\Pcre; +namespace RectorPrefix20220520\Composer\Pcre; class PcreException extends \RuntimeException { @@ -23,7 +23,7 @@ class PcreException extends \RuntimeException if (\is_array($pattern)) { $pattern = \implode(', ', $pattern); } - return new \RectorPrefix20220519\Composer\Pcre\PcreException($function . '(): failed executing "' . $pattern . '": ' . self::pcreLastErrorMessage($code), $code); + return new \RectorPrefix20220520\Composer\Pcre\PcreException($function . '(): failed executing "' . $pattern . '": ' . self::pcreLastErrorMessage($code), $code); } /** * @param int $code diff --git a/vendor/composer/pcre/src/Preg.php b/vendor/composer/pcre/src/Preg.php index 3adb520d291..7cea8c21190 100644 --- a/vendor/composer/pcre/src/Preg.php +++ b/vendor/composer/pcre/src/Preg.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 RectorPrefix20220519\Composer\Pcre; +namespace RectorPrefix20220520\Composer\Pcre; class Preg { @@ -29,7 +29,7 @@ class Preg } $result = \preg_match($pattern, $subject, $matches, $flags | \PREG_UNMATCHED_AS_NULL, $offset); if ($result === \false) { - throw \RectorPrefix20220519\Composer\Pcre\PcreException::fromFunction('preg_match', $pattern); + throw \RectorPrefix20220520\Composer\Pcre\PcreException::fromFunction('preg_match', $pattern); } return $result; } @@ -47,7 +47,7 @@ class Preg { $result = \preg_match($pattern, $subject, $matches, $flags | \PREG_UNMATCHED_AS_NULL | \PREG_OFFSET_CAPTURE, $offset); if ($result === \false) { - throw \RectorPrefix20220519\Composer\Pcre\PcreException::fromFunction('preg_match', $pattern); + throw \RectorPrefix20220520\Composer\Pcre\PcreException::fromFunction('preg_match', $pattern); } return $result; } @@ -67,7 +67,7 @@ class Preg } $result = \preg_match_all($pattern, $subject, $matches, $flags | \PREG_UNMATCHED_AS_NULL, $offset); if ($result === \false || $result === null) { - throw \RectorPrefix20220519\Composer\Pcre\PcreException::fromFunction('preg_match_all', $pattern); + throw \RectorPrefix20220520\Composer\Pcre\PcreException::fromFunction('preg_match_all', $pattern); } return $result; } @@ -85,7 +85,7 @@ class Preg { $result = \preg_match_all($pattern, $subject, $matches, $flags | \PREG_UNMATCHED_AS_NULL | \PREG_OFFSET_CAPTURE, $offset); if ($result === \false || $result === null) { - throw \RectorPrefix20220519\Composer\Pcre\PcreException::fromFunction('preg_match_all', $pattern); + throw \RectorPrefix20220520\Composer\Pcre\PcreException::fromFunction('preg_match_all', $pattern); } return $result; } @@ -105,7 +105,7 @@ class Preg } $result = \preg_replace($pattern, $replacement, $subject, $limit, $count); if ($result === null) { - throw \RectorPrefix20220519\Composer\Pcre\PcreException::fromFunction('preg_replace', $pattern); + throw \RectorPrefix20220520\Composer\Pcre\PcreException::fromFunction('preg_replace', $pattern); } return $result; } @@ -125,7 +125,7 @@ class Preg } $result = \preg_replace_callback($pattern, $replacement, $subject, $limit, $count, $flags | \PREG_UNMATCHED_AS_NULL); if ($result === null) { - throw \RectorPrefix20220519\Composer\Pcre\PcreException::fromFunction('preg_replace_callback', $pattern); + throw \RectorPrefix20220520\Composer\Pcre\PcreException::fromFunction('preg_replace_callback', $pattern); } return $result; } @@ -146,7 +146,7 @@ class Preg $result = \preg_replace_callback_array($pattern, $subject, $limit, $count, $flags | \PREG_UNMATCHED_AS_NULL); if ($result === null) { $pattern = \array_keys($pattern); - throw \RectorPrefix20220519\Composer\Pcre\PcreException::fromFunction('preg_replace_callback_array', $pattern); + throw \RectorPrefix20220520\Composer\Pcre\PcreException::fromFunction('preg_replace_callback_array', $pattern); } return $result; } @@ -161,7 +161,7 @@ class Preg } $result = \preg_split($pattern, $subject, $limit, $flags); if ($result === \false) { - throw \RectorPrefix20220519\Composer\Pcre\PcreException::fromFunction('preg_split', $pattern); + throw \RectorPrefix20220520\Composer\Pcre\PcreException::fromFunction('preg_split', $pattern); } return $result; } @@ -174,7 +174,7 @@ class Preg { $result = \preg_split($pattern, $subject, $limit, $flags | \PREG_SPLIT_OFFSET_CAPTURE); if ($result === \false) { - throw \RectorPrefix20220519\Composer\Pcre\PcreException::fromFunction('preg_split', $pattern); + throw \RectorPrefix20220520\Composer\Pcre\PcreException::fromFunction('preg_split', $pattern); } return $result; } @@ -189,7 +189,7 @@ class Preg { $result = \preg_grep($pattern, $array, $flags); if ($result === \false) { - throw \RectorPrefix20220519\Composer\Pcre\PcreException::fromFunction('preg_grep', $pattern); + throw \RectorPrefix20220520\Composer\Pcre\PcreException::fromFunction('preg_grep', $pattern); } return $result; } diff --git a/vendor/composer/pcre/src/Regex.php b/vendor/composer/pcre/src/Regex.php index fe3ff10ae52..7705f7fcd88 100644 --- a/vendor/composer/pcre/src/Regex.php +++ b/vendor/composer/pcre/src/Regex.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 RectorPrefix20220519\Composer\Pcre; +namespace RectorPrefix20220520\Composer\Pcre; class Regex { @@ -17,19 +17,19 @@ class Regex */ public static function isMatch(string $pattern, string $subject, int $offset = 0) : bool { - return (bool) \RectorPrefix20220519\Composer\Pcre\Preg::match($pattern, $subject, $matches, 0, $offset); + return (bool) \RectorPrefix20220520\Composer\Pcre\Preg::match($pattern, $subject, $matches, 0, $offset); } /** * @param non-empty-string $pattern * @param int $flags PREG_UNMATCHED_AS_NULL is always set, no other flags are supported */ - public static function match(string $pattern, string $subject, int $flags = 0, int $offset = 0) : \RectorPrefix20220519\Composer\Pcre\MatchResult + public static function match(string $pattern, string $subject, int $flags = 0, int $offset = 0) : \RectorPrefix20220520\Composer\Pcre\MatchResult { if (($flags & \PREG_OFFSET_CAPTURE) !== 0) { throw new \InvalidArgumentException('PREG_OFFSET_CAPTURE is not supported as it changes the return type, use matchWithOffsets() instead'); } - $count = \RectorPrefix20220519\Composer\Pcre\Preg::match($pattern, $subject, $matches, $flags, $offset); - return new \RectorPrefix20220519\Composer\Pcre\MatchResult($count, $matches); + $count = \RectorPrefix20220520\Composer\Pcre\Preg::match($pattern, $subject, $matches, $flags, $offset); + return new \RectorPrefix20220520\Composer\Pcre\MatchResult($count, $matches); } /** * Runs preg_match with PREG_OFFSET_CAPTURE @@ -37,16 +37,16 @@ class Regex * @param non-empty-string $pattern * @param int $flags PREG_UNMATCHED_AS_NULL and PREG_MATCH_OFFSET are always set, no other flags are supported */ - public static function matchWithOffsets(string $pattern, string $subject, int $flags = 0, int $offset = 0) : \RectorPrefix20220519\Composer\Pcre\MatchWithOffsetsResult + public static function matchWithOffsets(string $pattern, string $subject, int $flags = 0, int $offset = 0) : \RectorPrefix20220520\Composer\Pcre\MatchWithOffsetsResult { - $count = \RectorPrefix20220519\Composer\Pcre\Preg::matchWithOffsets($pattern, $subject, $matches, $flags, $offset); - return new \RectorPrefix20220519\Composer\Pcre\MatchWithOffsetsResult($count, $matches); + $count = \RectorPrefix20220520\Composer\Pcre\Preg::matchWithOffsets($pattern, $subject, $matches, $flags, $offset); + return new \RectorPrefix20220520\Composer\Pcre\MatchWithOffsetsResult($count, $matches); } /** * @param non-empty-string $pattern * @param int $flags PREG_UNMATCHED_AS_NULL is always set, no other flags are supported */ - public static function matchAll(string $pattern, string $subject, int $flags = 0, int $offset = 0) : \RectorPrefix20220519\Composer\Pcre\MatchAllResult + public static function matchAll(string $pattern, string $subject, int $flags = 0, int $offset = 0) : \RectorPrefix20220520\Composer\Pcre\MatchAllResult { if (($flags & \PREG_OFFSET_CAPTURE) !== 0) { throw new \InvalidArgumentException('PREG_OFFSET_CAPTURE is not supported as it changes the return type, use matchAllWithOffsets() instead'); @@ -54,8 +54,8 @@ class Regex if (($flags & \PREG_SET_ORDER) !== 0) { throw new \InvalidArgumentException('PREG_SET_ORDER is not supported as it changes the return type'); } - $count = \RectorPrefix20220519\Composer\Pcre\Preg::matchAll($pattern, $subject, $matches, $flags, $offset); - return new \RectorPrefix20220519\Composer\Pcre\MatchAllResult($count, $matches); + $count = \RectorPrefix20220520\Composer\Pcre\Preg::matchAll($pattern, $subject, $matches, $flags, $offset); + return new \RectorPrefix20220520\Composer\Pcre\MatchAllResult($count, $matches); } /** * Runs preg_match_all with PREG_OFFSET_CAPTURE @@ -63,39 +63,39 @@ class Regex * @param non-empty-string $pattern * @param int $flags PREG_UNMATCHED_AS_NULL and PREG_MATCH_OFFSET are always set, no other flags are supported */ - public static function matchAllWithOffsets(string $pattern, string $subject, int $flags = 0, int $offset = 0) : \RectorPrefix20220519\Composer\Pcre\MatchAllWithOffsetsResult + public static function matchAllWithOffsets(string $pattern, string $subject, int $flags = 0, int $offset = 0) : \RectorPrefix20220520\Composer\Pcre\MatchAllWithOffsetsResult { - $count = \RectorPrefix20220519\Composer\Pcre\Preg::matchAllWithOffsets($pattern, $subject, $matches, $flags, $offset); - return new \RectorPrefix20220519\Composer\Pcre\MatchAllWithOffsetsResult($count, $matches); + $count = \RectorPrefix20220520\Composer\Pcre\Preg::matchAllWithOffsets($pattern, $subject, $matches, $flags, $offset); + return new \RectorPrefix20220520\Composer\Pcre\MatchAllWithOffsetsResult($count, $matches); } /** * @param string|string[] $pattern * @param string|string[] $replacement * @param string $subject */ - public static function replace($pattern, $replacement, $subject, int $limit = -1) : \RectorPrefix20220519\Composer\Pcre\ReplaceResult + public static function replace($pattern, $replacement, $subject, int $limit = -1) : \RectorPrefix20220520\Composer\Pcre\ReplaceResult { - $result = \RectorPrefix20220519\Composer\Pcre\Preg::replace($pattern, $replacement, $subject, $limit, $count); - return new \RectorPrefix20220519\Composer\Pcre\ReplaceResult($count, $result); + $result = \RectorPrefix20220520\Composer\Pcre\Preg::replace($pattern, $replacement, $subject, $limit, $count); + return new \RectorPrefix20220520\Composer\Pcre\ReplaceResult($count, $result); } /** * @param string|string[] $pattern * @param string $subject * @param int $flags PREG_OFFSET_CAPTURE is supported, PREG_UNMATCHED_AS_NULL is always set */ - public static function replaceCallback($pattern, callable $replacement, $subject, int $limit = -1, int $flags = 0) : \RectorPrefix20220519\Composer\Pcre\ReplaceResult + public static function replaceCallback($pattern, callable $replacement, $subject, int $limit = -1, int $flags = 0) : \RectorPrefix20220520\Composer\Pcre\ReplaceResult { - $result = \RectorPrefix20220519\Composer\Pcre\Preg::replaceCallback($pattern, $replacement, $subject, $limit, $count, $flags); - return new \RectorPrefix20220519\Composer\Pcre\ReplaceResult($count, $result); + $result = \RectorPrefix20220520\Composer\Pcre\Preg::replaceCallback($pattern, $replacement, $subject, $limit, $count, $flags); + return new \RectorPrefix20220520\Composer\Pcre\ReplaceResult($count, $result); } /** * @param array $pattern * @param string $subject * @param int $flags PREG_OFFSET_CAPTURE is supported, PREG_UNMATCHED_AS_NULL is always set */ - public static function replaceCallbackArray(array $pattern, $subject, int $limit = -1, int $flags = 0) : \RectorPrefix20220519\Composer\Pcre\ReplaceResult + public static function replaceCallbackArray(array $pattern, $subject, int $limit = -1, int $flags = 0) : \RectorPrefix20220520\Composer\Pcre\ReplaceResult { - $result = \RectorPrefix20220519\Composer\Pcre\Preg::replaceCallbackArray($pattern, $subject, $limit, $count, $flags); - return new \RectorPrefix20220519\Composer\Pcre\ReplaceResult($count, $result); + $result = \RectorPrefix20220520\Composer\Pcre\Preg::replaceCallbackArray($pattern, $subject, $limit, $count, $flags); + return new \RectorPrefix20220520\Composer\Pcre\ReplaceResult($count, $result); } } diff --git a/vendor/composer/pcre/src/ReplaceResult.php b/vendor/composer/pcre/src/ReplaceResult.php index a845ba1eaec..9a60a99950f 100644 --- a/vendor/composer/pcre/src/ReplaceResult.php +++ b/vendor/composer/pcre/src/ReplaceResult.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 RectorPrefix20220519\Composer\Pcre; +namespace RectorPrefix20220520\Composer\Pcre; final class ReplaceResult { diff --git a/vendor/composer/semver/composer.json b/vendor/composer/semver/composer.json index bd60ad2edfd..5ed5c5be424 100644 --- a/vendor/composer/semver/composer.json +++ b/vendor/composer/semver/composer.json @@ -39,12 +39,12 @@ }, "autoload": { "psr-4": { - "RectorPrefix20220519\\Composer\\Semver\\": "src" + "RectorPrefix20220520\\Composer\\Semver\\": "src" } }, "autoload-dev": { "psr-4": { - "RectorPrefix20220519\\Composer\\Semver\\": "tests" + "RectorPrefix20220520\\Composer\\Semver\\": "tests" } }, "extra": { diff --git a/vendor/composer/semver/src/Comparator.php b/vendor/composer/semver/src/Comparator.php index 4c0f9463843..7918ef287ae 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 RectorPrefix20220519\Composer\Semver; +namespace RectorPrefix20220520\Composer\Semver; -use RectorPrefix20220519\Composer\Semver\Constraint\Constraint; +use RectorPrefix20220520\Composer\Semver\Constraint\Constraint; class Comparator { /** @@ -98,7 +98,7 @@ class Comparator */ public static function compare($version1, $operator, $version2) { - $constraint = new \RectorPrefix20220519\Composer\Semver\Constraint\Constraint($operator, $version2); - return $constraint->matchSpecific(new \RectorPrefix20220519\Composer\Semver\Constraint\Constraint('==', $version1), \true); + $constraint = new \RectorPrefix20220520\Composer\Semver\Constraint\Constraint($operator, $version2); + return $constraint->matchSpecific(new \RectorPrefix20220520\Composer\Semver\Constraint\Constraint('==', $version1), \true); } } diff --git a/vendor/composer/semver/src/CompilingMatcher.php b/vendor/composer/semver/src/CompilingMatcher.php index fcef57810ae..05dcbe021d0 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 RectorPrefix20220519\Composer\Semver; +namespace RectorPrefix20220520\Composer\Semver; -use RectorPrefix20220519\Composer\Semver\Constraint\Constraint; -use RectorPrefix20220519\Composer\Semver\Constraint\ConstraintInterface; +use RectorPrefix20220520\Composer\Semver\Constraint\Constraint; +use RectorPrefix20220520\Composer\Semver\Constraint\ConstraintInterface; /** * Helper class to evaluate constraint by compiling and reusing the code to evaluate */ @@ -32,7 +32,7 @@ class CompilingMatcher /** * @phpstan-var array */ - private static $transOpInt = array(\RectorPrefix20220519\Composer\Semver\Constraint\Constraint::OP_EQ => \RectorPrefix20220519\Composer\Semver\Constraint\Constraint::STR_OP_EQ, \RectorPrefix20220519\Composer\Semver\Constraint\Constraint::OP_LT => \RectorPrefix20220519\Composer\Semver\Constraint\Constraint::STR_OP_LT, \RectorPrefix20220519\Composer\Semver\Constraint\Constraint::OP_LE => \RectorPrefix20220519\Composer\Semver\Constraint\Constraint::STR_OP_LE, \RectorPrefix20220519\Composer\Semver\Constraint\Constraint::OP_GT => \RectorPrefix20220519\Composer\Semver\Constraint\Constraint::STR_OP_GT, \RectorPrefix20220519\Composer\Semver\Constraint\Constraint::OP_GE => \RectorPrefix20220519\Composer\Semver\Constraint\Constraint::STR_OP_GE, \RectorPrefix20220519\Composer\Semver\Constraint\Constraint::OP_NE => \RectorPrefix20220519\Composer\Semver\Constraint\Constraint::STR_OP_NE); + private static $transOpInt = array(\RectorPrefix20220520\Composer\Semver\Constraint\Constraint::OP_EQ => \RectorPrefix20220520\Composer\Semver\Constraint\Constraint::STR_OP_EQ, \RectorPrefix20220520\Composer\Semver\Constraint\Constraint::OP_LT => \RectorPrefix20220520\Composer\Semver\Constraint\Constraint::STR_OP_LT, \RectorPrefix20220520\Composer\Semver\Constraint\Constraint::OP_LE => \RectorPrefix20220520\Composer\Semver\Constraint\Constraint::STR_OP_LE, \RectorPrefix20220520\Composer\Semver\Constraint\Constraint::OP_GT => \RectorPrefix20220520\Composer\Semver\Constraint\Constraint::STR_OP_GT, \RectorPrefix20220520\Composer\Semver\Constraint\Constraint::OP_GE => \RectorPrefix20220520\Composer\Semver\Constraint\Constraint::STR_OP_GE, \RectorPrefix20220520\Composer\Semver\Constraint\Constraint::OP_NE => \RectorPrefix20220520\Composer\Semver\Constraint\Constraint::STR_OP_NE); /** * Clears the memoization cache once you are done * @@ -53,7 +53,7 @@ class CompilingMatcher * * @return mixed */ - public static function match(\RectorPrefix20220519\Composer\Semver\Constraint\ConstraintInterface $constraint, $operator, $version) + public static function match(\RectorPrefix20220520\Composer\Semver\Constraint\ConstraintInterface $constraint, $operator, $version) { $resultCacheKey = $operator . $constraint . ';' . $version; if (isset(self::$resultCache[$resultCacheKey])) { @@ -63,7 +63,7 @@ class CompilingMatcher self::$enabled = !\in_array('eval', \explode(',', (string) \ini_get('disable_functions')), \true); } if (!self::$enabled) { - return self::$resultCache[$resultCacheKey] = $constraint->matches(new \RectorPrefix20220519\Composer\Semver\Constraint\Constraint(self::$transOpInt[$operator], $version)); + return self::$resultCache[$resultCacheKey] = $constraint->matches(new \RectorPrefix20220520\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 7ff91fc90c2..ad36ad99a5a 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 RectorPrefix20220519\Composer\Semver\Constraint; +namespace RectorPrefix20220520\Composer\Semver\Constraint; class Bound { @@ -65,7 +65,7 @@ class Bound * * @return bool */ - public function compareTo(\RectorPrefix20220519\Composer\Semver\Constraint\Bound $other, $operator) + public function compareTo(\RectorPrefix20220520\Composer\Semver\Constraint\Bound $other, $operator) { if (!\in_array($operator, array('<', '>'), \true)) { throw new \InvalidArgumentException('Does not support any other operator other than > or <.'); @@ -91,13 +91,13 @@ class Bound */ public static function zero() { - return new \RectorPrefix20220519\Composer\Semver\Constraint\Bound('0.0.0.0-dev', \true); + return new \RectorPrefix20220520\Composer\Semver\Constraint\Bound('0.0.0.0-dev', \true); } /** * @return self */ public static function positiveInfinity() { - return new \RectorPrefix20220519\Composer\Semver\Constraint\Bound(\PHP_INT_MAX . '.0.0.0', \false); + return new \RectorPrefix20220520\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 74065f7598e..8d4643e3378 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 RectorPrefix20220519\Composer\Semver\Constraint; +namespace RectorPrefix20220520\Composer\Semver\Constraint; /** * Defines a constraint. */ -class Constraint implements \RectorPrefix20220519\Composer\Semver\Constraint\ConstraintInterface +class Constraint implements \RectorPrefix20220520\Composer\Semver\Constraint\ConstraintInterface { /* operator integer values */ const OP_EQ = 0; @@ -97,7 +97,7 @@ class Constraint implements \RectorPrefix20220519\Composer\Semver\Constraint\Con * * @return bool */ - public function matches(\RectorPrefix20220519\Composer\Semver\Constraint\ConstraintInterface $provider) + public function matches(\RectorPrefix20220520\Composer\Semver\Constraint\ConstraintInterface $provider) { if ($provider instanceof self) { return $this->matchSpecific($provider); @@ -250,7 +250,7 @@ class Constraint implements \RectorPrefix20220519\Composer\Semver\Constraint\Con * * @return bool */ - public function matchSpecific(\RectorPrefix20220519\Composer\Semver\Constraint\Constraint $provider, $compareBranches = \false) + public function matchSpecific(\RectorPrefix20220520\Composer\Semver\Constraint\Constraint $provider, $compareBranches = \false) { $noEqualOp = \str_replace('=', '', self::$transOpInt[$this->operator]); $providerNoEqualOp = \str_replace('=', '', self::$transOpInt[$provider->operator]); @@ -320,34 +320,34 @@ class Constraint implements \RectorPrefix20220519\Composer\Semver\Constraint\Con } // Branches if (\strpos($this->version, 'dev-') === 0) { - $this->lowerBound = \RectorPrefix20220519\Composer\Semver\Constraint\Bound::zero(); - $this->upperBound = \RectorPrefix20220519\Composer\Semver\Constraint\Bound::positiveInfinity(); + $this->lowerBound = \RectorPrefix20220520\Composer\Semver\Constraint\Bound::zero(); + $this->upperBound = \RectorPrefix20220520\Composer\Semver\Constraint\Bound::positiveInfinity(); return; } switch ($this->operator) { case self::OP_EQ: - $this->lowerBound = new \RectorPrefix20220519\Composer\Semver\Constraint\Bound($this->version, \true); - $this->upperBound = new \RectorPrefix20220519\Composer\Semver\Constraint\Bound($this->version, \true); + $this->lowerBound = new \RectorPrefix20220520\Composer\Semver\Constraint\Bound($this->version, \true); + $this->upperBound = new \RectorPrefix20220520\Composer\Semver\Constraint\Bound($this->version, \true); break; case self::OP_LT: - $this->lowerBound = \RectorPrefix20220519\Composer\Semver\Constraint\Bound::zero(); - $this->upperBound = new \RectorPrefix20220519\Composer\Semver\Constraint\Bound($this->version, \false); + $this->lowerBound = \RectorPrefix20220520\Composer\Semver\Constraint\Bound::zero(); + $this->upperBound = new \RectorPrefix20220520\Composer\Semver\Constraint\Bound($this->version, \false); break; case self::OP_LE: - $this->lowerBound = \RectorPrefix20220519\Composer\Semver\Constraint\Bound::zero(); - $this->upperBound = new \RectorPrefix20220519\Composer\Semver\Constraint\Bound($this->version, \true); + $this->lowerBound = \RectorPrefix20220520\Composer\Semver\Constraint\Bound::zero(); + $this->upperBound = new \RectorPrefix20220520\Composer\Semver\Constraint\Bound($this->version, \true); break; case self::OP_GT: - $this->lowerBound = new \RectorPrefix20220519\Composer\Semver\Constraint\Bound($this->version, \false); - $this->upperBound = \RectorPrefix20220519\Composer\Semver\Constraint\Bound::positiveInfinity(); + $this->lowerBound = new \RectorPrefix20220520\Composer\Semver\Constraint\Bound($this->version, \false); + $this->upperBound = \RectorPrefix20220520\Composer\Semver\Constraint\Bound::positiveInfinity(); break; case self::OP_GE: - $this->lowerBound = new \RectorPrefix20220519\Composer\Semver\Constraint\Bound($this->version, \true); - $this->upperBound = \RectorPrefix20220519\Composer\Semver\Constraint\Bound::positiveInfinity(); + $this->lowerBound = new \RectorPrefix20220520\Composer\Semver\Constraint\Bound($this->version, \true); + $this->upperBound = \RectorPrefix20220520\Composer\Semver\Constraint\Bound::positiveInfinity(); break; case self::OP_NE: - $this->lowerBound = \RectorPrefix20220519\Composer\Semver\Constraint\Bound::zero(); - $this->upperBound = \RectorPrefix20220519\Composer\Semver\Constraint\Bound::positiveInfinity(); + $this->lowerBound = \RectorPrefix20220520\Composer\Semver\Constraint\Bound::zero(); + $this->upperBound = \RectorPrefix20220520\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 47d9bac3652..d5bfb3494b6 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 RectorPrefix20220519\Composer\Semver\Constraint; +namespace RectorPrefix20220520\Composer\Semver\Constraint; /** * DO NOT IMPLEMENT this interface. It is only meant for usage as a type hint @@ -25,7 +25,7 @@ interface ConstraintInterface * * @return bool */ - public function matches(\RectorPrefix20220519\Composer\Semver\Constraint\ConstraintInterface $provider); + public function matches(\RectorPrefix20220520\Composer\Semver\Constraint\ConstraintInterface $provider); /** * Provides a compiled version of the constraint for the given operator * The compiled version must be a PHP expression. diff --git a/vendor/composer/semver/src/Constraint/MatchAllConstraint.php b/vendor/composer/semver/src/Constraint/MatchAllConstraint.php index 98f9ca60cce..924ec3fe757 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 RectorPrefix20220519\Composer\Semver\Constraint; +namespace RectorPrefix20220520\Composer\Semver\Constraint; /** * Defines the absence of a constraint. * * This constraint matches everything. */ -class MatchAllConstraint implements \RectorPrefix20220519\Composer\Semver\Constraint\ConstraintInterface +class MatchAllConstraint implements \RectorPrefix20220520\Composer\Semver\Constraint\ConstraintInterface { /** @var string|null */ protected $prettyString; @@ -24,7 +24,7 @@ class MatchAllConstraint implements \RectorPrefix20220519\Composer\Semver\Constr * * @return bool */ - public function matches(\RectorPrefix20220519\Composer\Semver\Constraint\ConstraintInterface $provider) + public function matches(\RectorPrefix20220520\Composer\Semver\Constraint\ConstraintInterface $provider) { return \true; } @@ -64,13 +64,13 @@ class MatchAllConstraint implements \RectorPrefix20220519\Composer\Semver\Constr */ public function getUpperBound() { - return \RectorPrefix20220519\Composer\Semver\Constraint\Bound::positiveInfinity(); + return \RectorPrefix20220520\Composer\Semver\Constraint\Bound::positiveInfinity(); } /** * {@inheritDoc} */ public function getLowerBound() { - return \RectorPrefix20220519\Composer\Semver\Constraint\Bound::zero(); + return \RectorPrefix20220520\Composer\Semver\Constraint\Bound::zero(); } } diff --git a/vendor/composer/semver/src/Constraint/MatchNoneConstraint.php b/vendor/composer/semver/src/Constraint/MatchNoneConstraint.php index 6334712d282..dfc3a3670fd 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 RectorPrefix20220519\Composer\Semver\Constraint; +namespace RectorPrefix20220520\Composer\Semver\Constraint; /** * Blackhole of constraints, nothing escapes it */ -class MatchNoneConstraint implements \RectorPrefix20220519\Composer\Semver\Constraint\ConstraintInterface +class MatchNoneConstraint implements \RectorPrefix20220520\Composer\Semver\Constraint\ConstraintInterface { /** @var string|null */ protected $prettyString; @@ -22,7 +22,7 @@ class MatchNoneConstraint implements \RectorPrefix20220519\Composer\Semver\Const * * @return bool */ - public function matches(\RectorPrefix20220519\Composer\Semver\Constraint\ConstraintInterface $provider) + public function matches(\RectorPrefix20220520\Composer\Semver\Constraint\ConstraintInterface $provider) { return \false; } @@ -62,13 +62,13 @@ class MatchNoneConstraint implements \RectorPrefix20220519\Composer\Semver\Const */ public function getUpperBound() { - return new \RectorPrefix20220519\Composer\Semver\Constraint\Bound('0.0.0.0-dev', \false); + return new \RectorPrefix20220520\Composer\Semver\Constraint\Bound('0.0.0.0-dev', \false); } /** * {@inheritDoc} */ public function getLowerBound() { - return new \RectorPrefix20220519\Composer\Semver\Constraint\Bound('0.0.0.0-dev', \false); + return new \RectorPrefix20220520\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 7fdb4886f3b..d5b30fe0c28 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 RectorPrefix20220519\Composer\Semver\Constraint; +namespace RectorPrefix20220520\Composer\Semver\Constraint; /** * Defines a conjunctive or disjunctive set of constraints. */ -class MultiConstraint implements \RectorPrefix20220519\Composer\Semver\Constraint\ConstraintInterface +class MultiConstraint implements \RectorPrefix20220520\Composer\Semver\Constraint\ConstraintInterface { /** * @var ConstraintInterface[] @@ -95,7 +95,7 @@ class MultiConstraint implements \RectorPrefix20220519\Composer\Semver\Constrain * * @return bool */ - public function matches(\RectorPrefix20220519\Composer\Semver\Constraint\ConstraintInterface $provider) + public function matches(\RectorPrefix20220520\Composer\Semver\Constraint\ConstraintInterface $provider) { if (\false === $this->conjunctive) { foreach ($this->constraints as $constraint) { @@ -108,7 +108,7 @@ class MultiConstraint implements \RectorPrefix20220519\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 \RectorPrefix20220519\Composer\Semver\Constraint\MultiConstraint && $provider->isDisjunctive()) { + if ($provider instanceof \RectorPrefix20220520\Composer\Semver\Constraint\MultiConstraint && $provider->isDisjunctive()) { return $provider->matches($this); } foreach ($this->constraints as $constraint) { @@ -185,7 +185,7 @@ class MultiConstraint implements \RectorPrefix20220519\Composer\Semver\Constrain public static function create(array $constraints, $conjunctive = \true) { if (0 === \count($constraints)) { - return new \RectorPrefix20220519\Composer\Semver\Constraint\MatchAllConstraint(); + return new \RectorPrefix20220520\Composer\Semver\Constraint\MatchAllConstraint(); } if (1 === \count($constraints)) { return $constraints[0]; @@ -219,7 +219,7 @@ class MultiConstraint implements \RectorPrefix20220519\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 \RectorPrefix20220519\Composer\Semver\Constraint\MultiConstraint(array($left->constraints[0], $right->constraints[1]), \true); + $left = new \RectorPrefix20220520\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 257d48b66a1..2ba1b726a3c 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 RectorPrefix20220519\Composer\Semver; +namespace RectorPrefix20220520\Composer\Semver; -use RectorPrefix20220519\Composer\Semver\Constraint\Constraint; +use RectorPrefix20220520\Composer\Semver\Constraint\Constraint; class Interval { /** @var Constraint */ private $start; /** @var Constraint */ private $end; - public function __construct(\RectorPrefix20220519\Composer\Semver\Constraint\Constraint $start, \RectorPrefix20220519\Composer\Semver\Constraint\Constraint $end) + public function __construct(\RectorPrefix20220520\Composer\Semver\Constraint\Constraint $start, \RectorPrefix20220520\Composer\Semver\Constraint\Constraint $end) { $this->start = $start; $this->end = $end; @@ -43,7 +43,7 @@ class Interval { static $zero; if (null === $zero) { - $zero = new \RectorPrefix20220519\Composer\Semver\Constraint\Constraint('>=', '0.0.0.0-dev'); + $zero = new \RectorPrefix20220520\Composer\Semver\Constraint\Constraint('>=', '0.0.0.0-dev'); } return $zero; } @@ -54,7 +54,7 @@ class Interval { static $positiveInfinity; if (null === $positiveInfinity) { - $positiveInfinity = new \RectorPrefix20220519\Composer\Semver\Constraint\Constraint('<', \PHP_INT_MAX . '.0.0.0'); + $positiveInfinity = new \RectorPrefix20220520\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 9919a6fb276..cb4c6bfa0eb 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 RectorPrefix20220519\Composer\Semver; +namespace RectorPrefix20220520\Composer\Semver; -use RectorPrefix20220519\Composer\Semver\Constraint\Constraint; -use RectorPrefix20220519\Composer\Semver\Constraint\ConstraintInterface; -use RectorPrefix20220519\Composer\Semver\Constraint\MatchAllConstraint; -use RectorPrefix20220519\Composer\Semver\Constraint\MatchNoneConstraint; -use RectorPrefix20220519\Composer\Semver\Constraint\MultiConstraint; +use RectorPrefix20220520\Composer\Semver\Constraint\Constraint; +use RectorPrefix20220520\Composer\Semver\Constraint\ConstraintInterface; +use RectorPrefix20220520\Composer\Semver\Constraint\MatchAllConstraint; +use RectorPrefix20220520\Composer\Semver\Constraint\MatchNoneConstraint; +use RectorPrefix20220520\Composer\Semver\Constraint\MultiConstraint; /** * Helper class generating intervals from constraints * @@ -51,15 +51,15 @@ class Intervals * * @return bool */ - public static function isSubsetOf(\RectorPrefix20220519\Composer\Semver\Constraint\ConstraintInterface $candidate, \RectorPrefix20220519\Composer\Semver\Constraint\ConstraintInterface $constraint) + public static function isSubsetOf(\RectorPrefix20220520\Composer\Semver\Constraint\ConstraintInterface $candidate, \RectorPrefix20220520\Composer\Semver\Constraint\ConstraintInterface $constraint) { - if ($constraint instanceof \RectorPrefix20220519\Composer\Semver\Constraint\MatchAllConstraint) { + if ($constraint instanceof \RectorPrefix20220520\Composer\Semver\Constraint\MatchAllConstraint) { return \true; } - if ($candidate instanceof \RectorPrefix20220519\Composer\Semver\Constraint\MatchNoneConstraint || $constraint instanceof \RectorPrefix20220519\Composer\Semver\Constraint\MatchNoneConstraint) { + if ($candidate instanceof \RectorPrefix20220520\Composer\Semver\Constraint\MatchNoneConstraint || $constraint instanceof \RectorPrefix20220520\Composer\Semver\Constraint\MatchNoneConstraint) { return \false; } - $intersectionIntervals = self::get(new \RectorPrefix20220519\Composer\Semver\Constraint\MultiConstraint(array($candidate, $constraint), \true)); + $intersectionIntervals = self::get(new \RectorPrefix20220520\Composer\Semver\Constraint\MultiConstraint(array($candidate, $constraint), \true)); $candidateIntervals = self::get($candidate); if (\count($intersectionIntervals['numeric']) !== \count($candidateIntervals['numeric'])) { return \false; @@ -93,15 +93,15 @@ class Intervals * * @return bool */ - public static function haveIntersections(\RectorPrefix20220519\Composer\Semver\Constraint\ConstraintInterface $a, \RectorPrefix20220519\Composer\Semver\Constraint\ConstraintInterface $b) + public static function haveIntersections(\RectorPrefix20220520\Composer\Semver\Constraint\ConstraintInterface $a, \RectorPrefix20220520\Composer\Semver\Constraint\ConstraintInterface $b) { - if ($a instanceof \RectorPrefix20220519\Composer\Semver\Constraint\MatchAllConstraint || $b instanceof \RectorPrefix20220519\Composer\Semver\Constraint\MatchAllConstraint) { + if ($a instanceof \RectorPrefix20220520\Composer\Semver\Constraint\MatchAllConstraint || $b instanceof \RectorPrefix20220520\Composer\Semver\Constraint\MatchAllConstraint) { return \true; } - if ($a instanceof \RectorPrefix20220519\Composer\Semver\Constraint\MatchNoneConstraint || $b instanceof \RectorPrefix20220519\Composer\Semver\Constraint\MatchNoneConstraint) { + if ($a instanceof \RectorPrefix20220520\Composer\Semver\Constraint\MatchNoneConstraint || $b instanceof \RectorPrefix20220520\Composer\Semver\Constraint\MatchNoneConstraint) { return \false; } - $intersectionIntervals = self::generateIntervals(new \RectorPrefix20220519\Composer\Semver\Constraint\MultiConstraint(array($a, $b), \true), \true); + $intersectionIntervals = self::generateIntervals(new \RectorPrefix20220520\Composer\Semver\Constraint\MultiConstraint(array($a, $b), \true), \true); return \count($intersectionIntervals['numeric']) > 0 || $intersectionIntervals['branches']['exclude'] || \count($intersectionIntervals['branches']['names']) > 0; } /** @@ -114,15 +114,15 @@ class Intervals * * @return ConstraintInterface */ - public static function compactConstraint(\RectorPrefix20220519\Composer\Semver\Constraint\ConstraintInterface $constraint) + public static function compactConstraint(\RectorPrefix20220520\Composer\Semver\Constraint\ConstraintInterface $constraint) { - if (!$constraint instanceof \RectorPrefix20220519\Composer\Semver\Constraint\MultiConstraint) { + if (!$constraint instanceof \RectorPrefix20220520\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) \RectorPrefix20220519\Composer\Semver\Interval::fromZero() && (string) $intervals['numeric'][0]->getEnd() === (string) \RectorPrefix20220519\Composer\Semver\Interval::untilPositiveInfinity()) { + if (\count($intervals['numeric']) === 1 && (string) $intervals['numeric'][0]->getStart() === (string) \RectorPrefix20220520\Composer\Semver\Interval::fromZero() && (string) $intervals['numeric'][0]->getEnd() === (string) \RectorPrefix20220520\Composer\Semver\Interval::untilPositiveInfinity()) { $constraints[] = $intervals['numeric'][0]->getStart(); $hasNumericMatchAll = \true; } else { @@ -139,21 +139,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) \RectorPrefix20220519\Composer\Semver\Interval::fromZero()) { + if (\count($unEqualConstraints) === 0 && (string) $interval->getStart() !== (string) \RectorPrefix20220520\Composer\Semver\Interval::fromZero()) { $unEqualConstraints[] = $interval->getStart(); } - $unEqualConstraints[] = new \RectorPrefix20220519\Composer\Semver\Constraint\Constraint('!=', $interval->getEnd()->getVersion()); + $unEqualConstraints[] = new \RectorPrefix20220520\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) \RectorPrefix20220519\Composer\Semver\Interval::untilPositiveInfinity()) { + if ((string) $interval->getEnd() !== (string) \RectorPrefix20220520\Composer\Semver\Interval::untilPositiveInfinity()) { $unEqualConstraints[] = $interval->getEnd(); } // count is 1 if entire constraint is just one != expression if (\count($unEqualConstraints) > 1) { - $constraints[] = new \RectorPrefix20220519\Composer\Semver\Constraint\MultiConstraint($unEqualConstraints, \true); + $constraints[] = new \RectorPrefix20220520\Composer\Semver\Constraint\MultiConstraint($unEqualConstraints, \true); } else { $constraints[] = $unEqualConstraints[0]; } @@ -162,15 +162,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 \RectorPrefix20220519\Composer\Semver\Constraint\Constraint('==', $interval->getStart()->getVersion()); + $constraints[] = new \RectorPrefix20220520\Composer\Semver\Constraint\Constraint('==', $interval->getStart()->getVersion()); continue; } - if ((string) $interval->getStart() === (string) \RectorPrefix20220519\Composer\Semver\Interval::fromZero()) { + if ((string) $interval->getStart() === (string) \RectorPrefix20220520\Composer\Semver\Interval::fromZero()) { $constraints[] = $interval->getEnd(); - } elseif ((string) $interval->getEnd() === (string) \RectorPrefix20220519\Composer\Semver\Interval::untilPositiveInfinity()) { + } elseif ((string) $interval->getEnd() === (string) \RectorPrefix20220520\Composer\Semver\Interval::untilPositiveInfinity()) { $constraints[] = $interval->getStart(); } else { - $constraints[] = new \RectorPrefix20220519\Composer\Semver\Constraint\MultiConstraint(array($interval->getStart(), $interval->getEnd()), \true); + $constraints[] = new \RectorPrefix20220520\Composer\Semver\Constraint\MultiConstraint(array($interval->getStart(), $interval->getEnd()), \true); } } } @@ -178,43 +178,43 @@ class Intervals if (0 === \count($intervals['branches']['names'])) { if ($intervals['branches']['exclude']) { if ($hasNumericMatchAll) { - return new \RectorPrefix20220519\Composer\Semver\Constraint\MatchAllConstraint(); + return new \RectorPrefix20220520\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 \RectorPrefix20220519\Composer\Semver\Constraint\Constraint('!=', $branchName); + $devConstraints[] = new \RectorPrefix20220520\Composer\Semver\Constraint\Constraint('!=', $branchName); } else { - $devConstraints[] = new \RectorPrefix20220519\Composer\Semver\Constraint\Constraint('==', $branchName); + $devConstraints[] = new \RectorPrefix20220520\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 \RectorPrefix20220519\Composer\Semver\Constraint\MultiConstraint(\array_merge(array(new \RectorPrefix20220519\Composer\Semver\Constraint\MultiConstraint($constraints, \false)), $devConstraints), \true); + return new \RectorPrefix20220520\Composer\Semver\Constraint\MultiConstraint(\array_merge(array(new \RectorPrefix20220520\Composer\Semver\Constraint\MultiConstraint($constraints, \false)), $devConstraints), \true); } - if (\count($constraints) === 1 && (string) $constraints[0] === (string) \RectorPrefix20220519\Composer\Semver\Interval::fromZero()) { + if (\count($constraints) === 1 && (string) $constraints[0] === (string) \RectorPrefix20220520\Composer\Semver\Interval::fromZero()) { if (\count($devConstraints) > 1) { - return new \RectorPrefix20220519\Composer\Semver\Constraint\MultiConstraint($devConstraints, \true); + return new \RectorPrefix20220520\Composer\Semver\Constraint\MultiConstraint($devConstraints, \true); } return $devConstraints[0]; } - return new \RectorPrefix20220519\Composer\Semver\Constraint\MultiConstraint(\array_merge($constraints, $devConstraints), \true); + return new \RectorPrefix20220520\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 \RectorPrefix20220519\Composer\Semver\Constraint\MultiConstraint($constraints, \false); + return new \RectorPrefix20220520\Composer\Semver\Constraint\MultiConstraint($constraints, \false); } if (\count($constraints) === 1) { return $constraints[0]; } - return new \RectorPrefix20220519\Composer\Semver\Constraint\MatchNoneConstraint(); + return new \RectorPrefix20220520\Composer\Semver\Constraint\MatchNoneConstraint(); } /** * Creates an array of numeric intervals and branch constraints representing a given constraint @@ -226,7 +226,7 @@ class Intervals * @return array * @phpstan-return array{'numeric': Interval[], 'branches': array{'names': string[], 'exclude': bool}} */ - public static function get(\RectorPrefix20220519\Composer\Semver\Constraint\ConstraintInterface $constraint) + public static function get(\RectorPrefix20220520\Composer\Semver\Constraint\ConstraintInterface $constraint) { $key = (string) $constraint; if (!isset(self::$intervalsCache[$key])) { @@ -239,18 +239,18 @@ class Intervals * * @phpstan-return array{'numeric': Interval[], 'branches': array{'names': string[], 'exclude': bool}} */ - private static function generateIntervals(\RectorPrefix20220519\Composer\Semver\Constraint\ConstraintInterface $constraint, $stopOnFirstValidInterval = \false) + private static function generateIntervals(\RectorPrefix20220520\Composer\Semver\Constraint\ConstraintInterface $constraint, $stopOnFirstValidInterval = \false) { - if ($constraint instanceof \RectorPrefix20220519\Composer\Semver\Constraint\MatchAllConstraint) { - return array('numeric' => array(new \RectorPrefix20220519\Composer\Semver\Interval(\RectorPrefix20220519\Composer\Semver\Interval::fromZero(), \RectorPrefix20220519\Composer\Semver\Interval::untilPositiveInfinity())), 'branches' => \RectorPrefix20220519\Composer\Semver\Interval::anyDev()); + if ($constraint instanceof \RectorPrefix20220520\Composer\Semver\Constraint\MatchAllConstraint) { + return array('numeric' => array(new \RectorPrefix20220520\Composer\Semver\Interval(\RectorPrefix20220520\Composer\Semver\Interval::fromZero(), \RectorPrefix20220520\Composer\Semver\Interval::untilPositiveInfinity())), 'branches' => \RectorPrefix20220520\Composer\Semver\Interval::anyDev()); } - if ($constraint instanceof \RectorPrefix20220519\Composer\Semver\Constraint\MatchNoneConstraint) { + if ($constraint instanceof \RectorPrefix20220520\Composer\Semver\Constraint\MatchNoneConstraint) { return array('numeric' => array(), 'branches' => array('names' => array(), 'exclude' => \false)); } - if ($constraint instanceof \RectorPrefix20220519\Composer\Semver\Constraint\Constraint) { + if ($constraint instanceof \RectorPrefix20220520\Composer\Semver\Constraint\Constraint) { return self::generateSingleConstraintIntervals($constraint); } - if (!$constraint instanceof \RectorPrefix20220519\Composer\Semver\Constraint\MultiConstraint) { + if (!$constraint instanceof \RectorPrefix20220520\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(); @@ -262,7 +262,7 @@ class Intervals $constraintBranches[] = $res['branches']; } if ($constraint->isDisjunctive()) { - $branches = \RectorPrefix20220519\Composer\Semver\Interval::noDev(); + $branches = \RectorPrefix20220520\Composer\Semver\Interval::noDev(); foreach ($constraintBranches as $b) { if ($b['exclude']) { if ($branches['exclude']) { @@ -288,7 +288,7 @@ class Intervals } } } else { - $branches = \RectorPrefix20220519\Composer\Semver\Interval::anyDev(); + $branches = \RectorPrefix20220520\Composer\Semver\Interval::anyDev(); foreach ($constraintBranches as $b) { if ($b['exclude']) { if ($branches['exclude']) { @@ -345,13 +345,13 @@ class Intervals $activeIntervals--; } if (!$start && $activeIntervals >= $activationThreshold) { - $start = new \RectorPrefix20220519\Composer\Semver\Constraint\Constraint($border['operator'], $border['version']); + $start = new \RectorPrefix20220520\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 \RectorPrefix20220519\Composer\Semver\Interval($start, new \RectorPrefix20220519\Composer\Semver\Constraint\Constraint($border['operator'], $border['version'])); + $intervals[$index] = new \RectorPrefix20220520\Composer\Semver\Interval($start, new \RectorPrefix20220520\Composer\Semver\Constraint\Constraint($border['operator'], $border['version'])); $index++; if ($stopOnFirstValidInterval) { break; @@ -365,7 +365,7 @@ class Intervals /** * @phpstan-return array{'numeric': Interval[], 'branches': array{'names': string[], 'exclude': bool}} */ - private static function generateSingleConstraintIntervals(\RectorPrefix20220519\Composer\Semver\Constraint\Constraint $constraint) + private static function generateSingleConstraintIntervals(\RectorPrefix20220520\Composer\Semver\Constraint\Constraint $constraint) { $op = $constraint->getOperator(); // handle branch constraints first @@ -374,7 +374,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 \RectorPrefix20220519\Composer\Semver\Interval(\RectorPrefix20220519\Composer\Semver\Interval::fromZero(), \RectorPrefix20220519\Composer\Semver\Interval::untilPositiveInfinity()); + $intervals[] = new \RectorPrefix20220520\Composer\Semver\Interval(\RectorPrefix20220520\Composer\Semver\Interval::fromZero(), \RectorPrefix20220520\Composer\Semver\Interval::untilPositiveInfinity()); $branches = array('names' => array($constraint->getVersion()), 'exclude' => \true); } elseif ($op === '==') { $branches['names'][] = $constraint->getVersion(); @@ -383,17 +383,17 @@ class Intervals } if ($op[0] === '>') { // > & >= - return array('numeric' => array(new \RectorPrefix20220519\Composer\Semver\Interval($constraint, \RectorPrefix20220519\Composer\Semver\Interval::untilPositiveInfinity())), 'branches' => \RectorPrefix20220519\Composer\Semver\Interval::noDev()); + return array('numeric' => array(new \RectorPrefix20220520\Composer\Semver\Interval($constraint, \RectorPrefix20220520\Composer\Semver\Interval::untilPositiveInfinity())), 'branches' => \RectorPrefix20220520\Composer\Semver\Interval::noDev()); } if ($op[0] === '<') { // < & <= - return array('numeric' => array(new \RectorPrefix20220519\Composer\Semver\Interval(\RectorPrefix20220519\Composer\Semver\Interval::fromZero(), $constraint)), 'branches' => \RectorPrefix20220519\Composer\Semver\Interval::noDev()); + return array('numeric' => array(new \RectorPrefix20220520\Composer\Semver\Interval(\RectorPrefix20220520\Composer\Semver\Interval::fromZero(), $constraint)), 'branches' => \RectorPrefix20220520\Composer\Semver\Interval::noDev()); } if ($op === '!=') { // convert !=x to intervals of 0 - x - +inf + dev* - return array('numeric' => array(new \RectorPrefix20220519\Composer\Semver\Interval(\RectorPrefix20220519\Composer\Semver\Interval::fromZero(), new \RectorPrefix20220519\Composer\Semver\Constraint\Constraint('<', $constraint->getVersion())), new \RectorPrefix20220519\Composer\Semver\Interval(new \RectorPrefix20220519\Composer\Semver\Constraint\Constraint('>', $constraint->getVersion()), \RectorPrefix20220519\Composer\Semver\Interval::untilPositiveInfinity())), 'branches' => \RectorPrefix20220519\Composer\Semver\Interval::anyDev()); + return array('numeric' => array(new \RectorPrefix20220520\Composer\Semver\Interval(\RectorPrefix20220520\Composer\Semver\Interval::fromZero(), new \RectorPrefix20220520\Composer\Semver\Constraint\Constraint('<', $constraint->getVersion())), new \RectorPrefix20220520\Composer\Semver\Interval(new \RectorPrefix20220520\Composer\Semver\Constraint\Constraint('>', $constraint->getVersion()), \RectorPrefix20220520\Composer\Semver\Interval::untilPositiveInfinity())), 'branches' => \RectorPrefix20220520\Composer\Semver\Interval::anyDev()); } // convert ==x to an interval of >=x - <=x - return array('numeric' => array(new \RectorPrefix20220519\Composer\Semver\Interval(new \RectorPrefix20220519\Composer\Semver\Constraint\Constraint('>=', $constraint->getVersion()), new \RectorPrefix20220519\Composer\Semver\Constraint\Constraint('<=', $constraint->getVersion()))), 'branches' => \RectorPrefix20220519\Composer\Semver\Interval::noDev()); + return array('numeric' => array(new \RectorPrefix20220520\Composer\Semver\Interval(new \RectorPrefix20220520\Composer\Semver\Constraint\Constraint('>=', $constraint->getVersion()), new \RectorPrefix20220520\Composer\Semver\Constraint\Constraint('<=', $constraint->getVersion()))), 'branches' => \RectorPrefix20220520\Composer\Semver\Interval::noDev()); } } diff --git a/vendor/composer/semver/src/Semver.php b/vendor/composer/semver/src/Semver.php index 9f298687db1..c3b4d901d86 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 RectorPrefix20220519\Composer\Semver; +namespace RectorPrefix20220520\Composer\Semver; -use RectorPrefix20220519\Composer\Semver\Constraint\Constraint; +use RectorPrefix20220520\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 \RectorPrefix20220519\Composer\Semver\VersionParser(); + self::$versionParser = new \RectorPrefix20220520\Composer\Semver\VersionParser(); } $versionParser = self::$versionParser; - $provider = new \RectorPrefix20220519\Composer\Semver\Constraint\Constraint('==', $versionParser->normalize($version)); + $provider = new \RectorPrefix20220520\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(array $versions, $constraints) { $versions = \array_filter($versions, function ($version) use($constraints) { - return \RectorPrefix20220519\Composer\Semver\Semver::satisfies($version, $constraints); + return \RectorPrefix20220520\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 \RectorPrefix20220519\Composer\Semver\VersionParser(); + self::$versionParser = new \RectorPrefix20220520\Composer\Semver\VersionParser(); } $versionParser = self::$versionParser; $normalized = array(); @@ -96,7 +96,7 @@ class Semver if ($left[0] === $right[0]) { return 0; } - if (\RectorPrefix20220519\Composer\Semver\Comparator::lessThan($left[0], $right[0])) { + if (\RectorPrefix20220520\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 f7994f2ba12..e4d7f984cac 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 RectorPrefix20220519\Composer\Semver; +namespace RectorPrefix20220520\Composer\Semver; -use RectorPrefix20220519\Composer\Semver\Constraint\ConstraintInterface; -use RectorPrefix20220519\Composer\Semver\Constraint\MatchAllConstraint; -use RectorPrefix20220519\Composer\Semver\Constraint\MultiConstraint; -use RectorPrefix20220519\Composer\Semver\Constraint\Constraint; +use RectorPrefix20220520\Composer\Semver\Constraint\ConstraintInterface; +use RectorPrefix20220520\Composer\Semver\Constraint\MatchAllConstraint; +use RectorPrefix20220520\Composer\Semver\Constraint\MultiConstraint; +use RectorPrefix20220520\Composer\Semver\Constraint\Constraint; /** * Version parser. * @@ -240,11 +240,11 @@ class VersionParser if (1 === \count($constraintObjects)) { $constraint = $constraintObjects[0]; } else { - $constraint = new \RectorPrefix20220519\Composer\Semver\Constraint\MultiConstraint($constraintObjects); + $constraint = new \RectorPrefix20220520\Composer\Semver\Constraint\MultiConstraint($constraintObjects); } $orGroups[] = $constraint; } - $constraint = \RectorPrefix20220519\Composer\Semver\Constraint\MultiConstraint::create($orGroups, \false); + $constraint = \RectorPrefix20220520\Composer\Semver\Constraint\MultiConstraint::create($orGroups, \false); $constraint->setPrettyString($prettyConstraint); return $constraint; } @@ -276,9 +276,9 @@ class VersionParser } if (\preg_match('{^(v)?[xX*](\\.[xX*])*$}i', $constraint, $match)) { if (!empty($match[1]) || !empty($match[2])) { - return array(new \RectorPrefix20220519\Composer\Semver\Constraint\Constraint('>=', '0.0.0.0-dev')); + return array(new \RectorPrefix20220520\Composer\Semver\Constraint\Constraint('>=', '0.0.0.0-dev')); } - return array(new \RectorPrefix20220519\Composer\Semver\Constraint\MatchAllConstraint()); + return array(new \RectorPrefix20220520\Composer\Semver\Constraint\MatchAllConstraint()); } $versionRegex = 'v?(\\d++)(?:\\.(\\d++))?(?:\\.(\\d++))?(?:\\.(\\d++))?(?:' . self::$modifierRegex . '|\\.([xX*][.-]?dev))(?:\\+[^\\s]+)?'; // Tilde Range @@ -310,12 +310,12 @@ class VersionParser $stabilitySuffix .= '-dev'; } $lowVersion = $this->normalize(\substr($constraint . $stabilitySuffix, 1)); - $lowerBound = new \RectorPrefix20220519\Composer\Semver\Constraint\Constraint('>=', $lowVersion); + $lowerBound = new \RectorPrefix20220520\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 \RectorPrefix20220519\Composer\Semver\Constraint\Constraint('<', $highVersion); + $upperBound = new \RectorPrefix20220520\Composer\Semver\Constraint\Constraint('<', $highVersion); return array($lowerBound, $upperBound); } // Caret Range @@ -338,11 +338,11 @@ class VersionParser $stabilitySuffix .= '-dev'; } $lowVersion = $this->normalize(\substr($constraint . $stabilitySuffix, 1)); - $lowerBound = new \RectorPrefix20220519\Composer\Semver\Constraint\Constraint('>=', $lowVersion); + $lowerBound = new \RectorPrefix20220520\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 \RectorPrefix20220519\Composer\Semver\Constraint\Constraint('<', $highVersion); + $upperBound = new \RectorPrefix20220520\Composer\Semver\Constraint\Constraint('<', $highVersion); return array($lowerBound, $upperBound); } // X Range @@ -360,9 +360,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 \RectorPrefix20220519\Composer\Semver\Constraint\Constraint('<', $highVersion)); + return array(new \RectorPrefix20220520\Composer\Semver\Constraint\Constraint('<', $highVersion)); } - return array(new \RectorPrefix20220519\Composer\Semver\Constraint\Constraint('>=', $lowVersion), new \RectorPrefix20220519\Composer\Semver\Constraint\Constraint('<', $highVersion)); + return array(new \RectorPrefix20220520\Composer\Semver\Constraint\Constraint('>=', $lowVersion), new \RectorPrefix20220520\Composer\Semver\Constraint\Constraint('<', $highVersion)); } // Hyphen Range // @@ -377,19 +377,19 @@ class VersionParser $lowStabilitySuffix = '-dev'; } $lowVersion = $this->normalize($matches['from']); - $lowerBound = new \RectorPrefix20220519\Composer\Semver\Constraint\Constraint('>=', $lowVersion . $lowStabilitySuffix); + $lowerBound = new \RectorPrefix20220520\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 \RectorPrefix20220519\Composer\Semver\Constraint\Constraint('<=', $highVersion); + $upperBound = new \RectorPrefix20220520\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 \RectorPrefix20220519\Composer\Semver\Constraint\Constraint('<', $highVersion); + $upperBound = new \RectorPrefix20220520\Composer\Semver\Constraint\Constraint('<', $highVersion); } return array($lowerBound, $upperBound); } @@ -417,7 +417,7 @@ class VersionParser } } } - return array(new \RectorPrefix20220519\Composer\Semver\Constraint\Constraint($matches[1] ?: '=', $version)); + return array(new \RectorPrefix20220520\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 d0dd67158da..4f9f40a6cd2 100644 --- a/vendor/composer/xdebug-handler/composer.json +++ b/vendor/composer/xdebug-handler/composer.json @@ -29,12 +29,12 @@ }, "autoload": { "psr-4": { - "RectorPrefix20220519\\Composer\\XdebugHandler\\": "src" + "RectorPrefix20220520\\Composer\\XdebugHandler\\": "src" } }, "autoload-dev": { "psr-4": { - "RectorPrefix20220519\\Composer\\XdebugHandler\\Tests\\": "tests" + "RectorPrefix20220520\\Composer\\XdebugHandler\\Tests\\": "tests" } }, "scripts": { diff --git a/vendor/composer/xdebug-handler/src/PhpConfig.php b/vendor/composer/xdebug-handler/src/PhpConfig.php index 69344785546..7511f41bc4e 100644 --- a/vendor/composer/xdebug-handler/src/PhpConfig.php +++ b/vendor/composer/xdebug-handler/src/PhpConfig.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 RectorPrefix20220519\Composer\XdebugHandler; +namespace RectorPrefix20220520\Composer\XdebugHandler; /** * @author John Stevenson @@ -62,7 +62,7 @@ class PhpConfig */ private function getDataAndReset() : ?array { - $data = \RectorPrefix20220519\Composer\XdebugHandler\XdebugHandler::getRestartSettings(); + $data = \RectorPrefix20220520\Composer\XdebugHandler\XdebugHandler::getRestartSettings(); if ($data !== null) { $this->updateEnv('PHPRC', $data['phprc']); $this->updateEnv('PHP_INI_SCAN_DIR', $data['scanDir']); @@ -77,6 +77,6 @@ class PhpConfig */ private function updateEnv(string $name, $value) : void { - \RectorPrefix20220519\Composer\XdebugHandler\Process::setEnv($name, \false !== $value ? $value : null); + \RectorPrefix20220520\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 618d0db5ac8..b8c6e0a4f83 100644 --- a/vendor/composer/xdebug-handler/src/Process.php +++ b/vendor/composer/xdebug-handler/src/Process.php @@ -9,9 +9,9 @@ * the LICENSE file that was distributed with this source code. */ declare (strict_types=1); -namespace RectorPrefix20220519\Composer\XdebugHandler; +namespace RectorPrefix20220520\Composer\XdebugHandler; -use RectorPrefix20220519\Composer\Pcre\Preg; +use RectorPrefix20220520\Composer\Pcre\Preg; /** * Process utility functions * @@ -35,9 +35,9 @@ class Process return "'" . \str_replace("'", "'\\''", $arg) . "'"; } $quote = \strpbrk($arg, " \t") !== \false || $arg === ''; - $arg = \RectorPrefix20220519\Composer\Pcre\Preg::replace('/(\\\\*)"/', '$1$1\\"', $arg, -1, $dquotes); + $arg = \RectorPrefix20220520\Composer\Pcre\Preg::replace('/(\\\\*)"/', '$1$1\\"', $arg, -1, $dquotes); if ($meta) { - $meta = $dquotes || \RectorPrefix20220519\Composer\Pcre\Preg::isMatch('/%[^%]+%/', $arg); + $meta = $dquotes || \RectorPrefix20220520\Composer\Pcre\Preg::isMatch('/%[^%]+%/', $arg); if (!$meta) { $quote = $quote || \strpbrk($arg, '^&|<>()') !== \false; } elseif ($module && !$dquotes && $quote) { @@ -45,10 +45,10 @@ class Process } } if ($quote) { - $arg = '"' . \RectorPrefix20220519\Composer\Pcre\Preg::replace('/(\\\\*)$/', '$1$1', $arg) . '"'; + $arg = '"' . \RectorPrefix20220520\Composer\Pcre\Preg::replace('/(\\\\*)$/', '$1$1', $arg) . '"'; } if ($meta) { - $arg = \RectorPrefix20220519\Composer\Pcre\Preg::replace('/(["^&|<>()%])/', '^$1', $arg); + $arg = \RectorPrefix20220520\Composer\Pcre\Preg::replace('/(["^&|<>()%])/', '^$1', $arg); } return $arg; } diff --git a/vendor/composer/xdebug-handler/src/Status.php b/vendor/composer/xdebug-handler/src/Status.php index 8d0bf79ae1e..190663b9da9 100644 --- a/vendor/composer/xdebug-handler/src/Status.php +++ b/vendor/composer/xdebug-handler/src/Status.php @@ -9,10 +9,10 @@ * the LICENSE file that was distributed with this source code. */ declare (strict_types=1); -namespace RectorPrefix20220519\Composer\XdebugHandler; +namespace RectorPrefix20220520\Composer\XdebugHandler; -use RectorPrefix20220519\Psr\Log\LoggerInterface; -use RectorPrefix20220519\Psr\Log\LogLevel; +use RectorPrefix20220520\Psr\Log\LoggerInterface; +use RectorPrefix20220520\Psr\Log\LogLevel; /** * @author John Stevenson * @internal @@ -46,7 +46,7 @@ class Status public function __construct(string $envAllowXdebug, bool $debug) { $start = \getenv(self::ENV_RESTART); - \RectorPrefix20220519\Composer\XdebugHandler\Process::setEnv(self::ENV_RESTART); + \RectorPrefix20220520\Composer\XdebugHandler\Process::setEnv(self::ENV_RESTART); $this->time = \is_numeric($start) ? \round((\microtime(\true) - $start) * 1000) : 0; $this->envAllowXdebug = $envAllowXdebug; $this->debug = $debug && \defined('STDERR'); @@ -57,7 +57,7 @@ class Status * * @return void */ - public function setLogger(\RectorPrefix20220519\Psr\Log\LoggerInterface $logger) : void + public function setLogger(\RectorPrefix20220520\Psr\Log\LoggerInterface $logger) : void { $this->logger = $logger; } @@ -83,7 +83,7 @@ class Status private function output(string $text, ?string $level = null) : void { if ($this->logger !== null) { - $this->logger->log($level !== null ? $level : \RectorPrefix20220519\Psr\Log\LogLevel::DEBUG, $text); + $this->logger->log($level !== null ? $level : \RectorPrefix20220520\Psr\Log\LogLevel::DEBUG, $text); } if ($this->debug) { \fwrite(\STDERR, \sprintf('xdebug-handler[%d] %s', \getmypid(), $text . \PHP_EOL)); @@ -106,7 +106,7 @@ class Status */ private function reportError(string $error) : void { - $this->output(\sprintf('No restart (%s)', $error), \RectorPrefix20220519\Psr\Log\LogLevel::WARNING); + $this->output(\sprintf('No restart (%s)', $error), \RectorPrefix20220520\Psr\Log\LogLevel::WARNING); } /** * Info status message @@ -135,7 +135,7 @@ class Status private function reportRestart() : void { $this->output($this->getLoadedMessage()); - \RectorPrefix20220519\Composer\XdebugHandler\Process::setEnv(self::ENV_RESTART, (string) \microtime(\true)); + \RectorPrefix20220520\Composer\XdebugHandler\Process::setEnv(self::ENV_RESTART, (string) \microtime(\true)); } /** * Restarted status message @@ -144,7 +144,7 @@ class Status { $loaded = $this->getLoadedMessage(); $text = \sprintf('Restarted (%d ms). %s', $this->time, $loaded); - $level = $this->loaded !== null ? \RectorPrefix20220519\Psr\Log\LogLevel::WARNING : null; + $level = $this->loaded !== null ? \RectorPrefix20220520\Psr\Log\LogLevel::WARNING : null; $this->output($text, $level); } /** diff --git a/vendor/composer/xdebug-handler/src/XdebugHandler.php b/vendor/composer/xdebug-handler/src/XdebugHandler.php index cd44ce6c174..a509e672469 100644 --- a/vendor/composer/xdebug-handler/src/XdebugHandler.php +++ b/vendor/composer/xdebug-handler/src/XdebugHandler.php @@ -9,10 +9,10 @@ * the LICENSE file that was distributed with this source code. */ declare (strict_types=1); -namespace RectorPrefix20220519\Composer\XdebugHandler; +namespace RectorPrefix20220520\Composer\XdebugHandler; -use RectorPrefix20220519\Composer\Pcre\Preg; -use RectorPrefix20220519\Psr\Log\LoggerInterface; +use RectorPrefix20220520\Composer\Pcre\Preg; +use RectorPrefix20220520\Psr\Log\LoggerInterface; /** * @author John Stevenson * @@ -76,12 +76,12 @@ class XdebugHandler if ($this->cli = \PHP_SAPI === 'cli') { $this->debug = (string) \getenv(self::DEBUG); } - $this->statusWriter = new \RectorPrefix20220519\Composer\XdebugHandler\Status($this->envAllowXdebug, (bool) $this->debug); + $this->statusWriter = new \RectorPrefix20220520\Composer\XdebugHandler\Status($this->envAllowXdebug, (bool) $this->debug); } /** * Activates status message output to a PSR3 logger */ - public function setLogger(\RectorPrefix20220519\Psr\Log\LoggerInterface $logger) : self + public function setLogger(\RectorPrefix20220520\Psr\Log\LoggerInterface $logger) : self { $this->statusWriter->setLogger($logger); return $this; @@ -111,11 +111,11 @@ class XdebugHandler */ public function check() : void { - $this->notify(\RectorPrefix20220519\Composer\XdebugHandler\Status::CHECK, self::$xdebugVersion . '|' . self::$xdebugMode); + $this->notify(\RectorPrefix20220520\Composer\XdebugHandler\Status::CHECK, self::$xdebugVersion . '|' . self::$xdebugMode); $envArgs = \explode('|', (string) \getenv($this->envAllowXdebug)); if (!(bool) $envArgs[0] && $this->requiresRestart(self::$xdebugActive)) { // Restart required - $this->notify(\RectorPrefix20220519\Composer\XdebugHandler\Status::RESTART); + $this->notify(\RectorPrefix20220520\Composer\XdebugHandler\Status::RESTART); if ($this->prepareRestart()) { $command = $this->getCommand(); $this->restart($command); @@ -124,8 +124,8 @@ class XdebugHandler } if (self::RESTART_ID === $envArgs[0] && \count($envArgs) === 5) { // Restarted, so unset environment variable and use saved values - $this->notify(\RectorPrefix20220519\Composer\XdebugHandler\Status::RESTARTED); - \RectorPrefix20220519\Composer\XdebugHandler\Process::setEnv($this->envAllowXdebug); + $this->notify(\RectorPrefix20220520\Composer\XdebugHandler\Status::RESTARTED); + \RectorPrefix20220520\Composer\XdebugHandler\Process::setEnv($this->envAllowXdebug); self::$inRestart = \true; if (self::$xdebugVersion === null) { // Skipped version is only set if Xdebug is not loaded @@ -136,7 +136,7 @@ class XdebugHandler $this->setEnvRestartSettings($envArgs); return; } - $this->notify(\RectorPrefix20220519\Composer\XdebugHandler\Status::NORESTART); + $this->notify(\RectorPrefix20220520\Composer\XdebugHandler\Status::NORESTART); $settings = self::getRestartSettings(); if ($settings !== null) { // Called with existing settings, so sync our settings @@ -227,11 +227,11 @@ class XdebugHandler private function doRestart(array $command) : void { $this->tryEnableSignals(); - $this->notify(\RectorPrefix20220519\Composer\XdebugHandler\Status::RESTARTING, \implode(' ', $command)); + $this->notify(\RectorPrefix20220520\Composer\XdebugHandler\Status::RESTARTING, \implode(' ', $command)); if (\PHP_VERSION_ID >= 70400) { $cmd = $command; } else { - $cmd = \RectorPrefix20220519\Composer\XdebugHandler\Process::escapeShellCommand($command); + $cmd = \RectorPrefix20220520\Composer\XdebugHandler\Process::escapeShellCommand($command); if (\defined('PHP_WINDOWS_VERSION_BUILD')) { // Outer quotes required on cmd string below PHP 8 $cmd = '"' . $cmd . '"'; @@ -243,13 +243,13 @@ class XdebugHandler } if (!isset($exitCode)) { // Unlikely that php or the default shell cannot be invoked - $this->notify(\RectorPrefix20220519\Composer\XdebugHandler\Status::ERROR, 'Unable to restart process'); + $this->notify(\RectorPrefix20220520\Composer\XdebugHandler\Status::ERROR, 'Unable to restart process'); $exitCode = -1; } else { - $this->notify(\RectorPrefix20220519\Composer\XdebugHandler\Status::INFO, 'Restarted process exited ' . $exitCode); + $this->notify(\RectorPrefix20220520\Composer\XdebugHandler\Status::INFO, 'Restarted process exited ' . $exitCode); } if ($this->debug === '2') { - $this->notify(\RectorPrefix20220519\Composer\XdebugHandler\Status::INFO, 'Temp ini saved: ' . $this->tmpIni); + $this->notify(\RectorPrefix20220520\Composer\XdebugHandler\Status::INFO, 'Temp ini saved: ' . $this->tmpIni); } else { @\unlink((string) $this->tmpIni); } @@ -281,7 +281,7 @@ class XdebugHandler $error = 'Unable to set environment variables'; } if ($error !== null) { - $this->notify(\RectorPrefix20220519\Composer\XdebugHandler\Status::ERROR, $error); + $this->notify(\RectorPrefix20220520\Composer\XdebugHandler\Status::ERROR, $error); } return $error === null; } @@ -310,10 +310,10 @@ class XdebugHandler return \false; } // Check and remove directives after HOST and PATH sections - if (\RectorPrefix20220519\Composer\Pcre\Preg::isMatchWithOffsets($sectionRegex, $data, $matches, \PREG_OFFSET_CAPTURE)) { + if (\RectorPrefix20220520\Composer\Pcre\Preg::isMatchWithOffsets($sectionRegex, $data, $matches, \PREG_OFFSET_CAPTURE)) { $data = \substr($data, 0, $matches[0][1]); } - $content .= \RectorPrefix20220519\Composer\Pcre\Preg::replace($xdebugRegex, ';$1', $data) . \PHP_EOL; + $content .= \RectorPrefix20220520\Composer\Pcre\Preg::replace($xdebugRegex, ';$1', $data) . \PHP_EOL; } // Merge loaded settings into our ini content, if it is valid $config = \parse_ini_string($content); @@ -424,7 +424,7 @@ class XdebugHandler private function setEnvRestartSettings(array $envArgs) : void { $settings = [\php_ini_loaded_file(), $envArgs[2], $envArgs[3], $envArgs[4], \getenv($this->envOriginalInis), self::$skipped]; - \RectorPrefix20220519\Composer\XdebugHandler\Process::setEnv(self::RESTART_SETTINGS, \implode('|', $settings)); + \RectorPrefix20220520\Composer\XdebugHandler\Process::setEnv(self::RESTART_SETTINGS, \implode('|', $settings)); } /** * Syncs settings and the environment if called with existing settings @@ -435,10 +435,10 @@ class XdebugHandler { if (\false === \getenv($this->envOriginalInis)) { // Called by another app, so make original inis available - \RectorPrefix20220519\Composer\XdebugHandler\Process::setEnv($this->envOriginalInis, \implode(\PATH_SEPARATOR, $settings['inis'])); + \RectorPrefix20220520\Composer\XdebugHandler\Process::setEnv($this->envOriginalInis, \implode(\PATH_SEPARATOR, $settings['inis'])); } self::$skipped = $settings['skipped']; - $this->notify(\RectorPrefix20220519\Composer\XdebugHandler\Status::INFO, 'Process called with existing restart settings'); + $this->notify(\RectorPrefix20220520\Composer\XdebugHandler\Status::INFO, 'Process called with existing restart settings'); } /** * Returns true if there are no known configuration issues @@ -532,7 +532,7 @@ class XdebugHandler self::$xdebugMode = $iniMode !== '' ? $iniMode : 'off'; } // An empty comma-separated list is treated as mode 'off' - if (\RectorPrefix20220519\Composer\Pcre\Preg::isMatch('/^,+$/', \str_replace(' ', '', self::$xdebugMode))) { + if (\RectorPrefix20220520\Composer\Pcre\Preg::isMatch('/^,+$/', \str_replace(' ', '', self::$xdebugMode))) { self::$xdebugMode = 'off'; } self::$xdebugActive = self::$xdebugMode !== 'off'; diff --git a/vendor/cweagans/composer-patches/composer.json b/vendor/cweagans/composer-patches/composer.json index 2863f7f4e30..fa179459679 100644 --- a/vendor/cweagans/composer-patches/composer.json +++ b/vendor/cweagans/composer-patches/composer.json @@ -23,12 +23,12 @@ }, "autoload": { "psr-4": { - "RectorPrefix20220519\\cweagans\\Composer\\": "src" + "RectorPrefix20220520\\cweagans\\Composer\\": "src" } }, "autoload-dev": { "psr-4": { - "RectorPrefix20220519\\cweagans\\Composer\\Tests\\": "tests" + "RectorPrefix20220520\\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 2e16b694ed0..cbd250edc5d 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 RectorPrefix20220519\cweagans\Composer; +namespace RectorPrefix20220520\cweagans\Composer; -use RectorPrefix20220519\Composer\EventDispatcher\Event; -use RectorPrefix20220519\Composer\Package\PackageInterface; -class PatchEvent extends \RectorPrefix20220519\Composer\EventDispatcher\Event +use RectorPrefix20220520\Composer\EventDispatcher\Event; +use RectorPrefix20220520\Composer\Package\PackageInterface; +class PatchEvent extends \RectorPrefix20220520\Composer\EventDispatcher\Event { /** * @var PackageInterface $package @@ -30,7 +30,7 @@ class PatchEvent extends \RectorPrefix20220519\Composer\EventDispatcher\Event * @param string $url * @param string $description */ - public function __construct($eventName, \RectorPrefix20220519\Composer\Package\PackageInterface $package, $url, $description) + public function __construct($eventName, \RectorPrefix20220520\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 468c2188f14..5877e781d10 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 RectorPrefix20220519\cweagans\Composer; +namespace RectorPrefix20220520\cweagans\Composer; class PatchEvents { diff --git a/vendor/cweagans/composer-patches/src/Patches.php b/vendor/cweagans/composer-patches/src/Patches.php index 3a0c70c5764..6fcb57d4d56 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 RectorPrefix20220519\cweagans\Composer; +namespace RectorPrefix20220520\cweagans\Composer; -use RectorPrefix20220519\Composer\Composer; -use RectorPrefix20220519\Composer\DependencyResolver\Operation\InstallOperation; -use RectorPrefix20220519\Composer\DependencyResolver\Operation\UninstallOperation; -use RectorPrefix20220519\Composer\DependencyResolver\Operation\UpdateOperation; -use RectorPrefix20220519\Composer\DependencyResolver\Operation\OperationInterface; -use RectorPrefix20220519\Composer\EventDispatcher\EventSubscriberInterface; -use RectorPrefix20220519\Composer\IO\IOInterface; -use RectorPrefix20220519\Composer\Package\AliasPackage; -use RectorPrefix20220519\Composer\Package\PackageInterface; -use RectorPrefix20220519\Composer\Plugin\PluginInterface; -use RectorPrefix20220519\Composer\Installer\PackageEvents; -use RectorPrefix20220519\Composer\Script\Event; -use RectorPrefix20220519\Composer\Script\ScriptEvents; -use RectorPrefix20220519\Composer\Installer\PackageEvent; -use RectorPrefix20220519\Composer\Util\ProcessExecutor; -use RectorPrefix20220519\Composer\Util\RemoteFilesystem; -use RectorPrefix20220519\Symfony\Component\Process\Process; -class Patches implements \RectorPrefix20220519\Composer\Plugin\PluginInterface, \RectorPrefix20220519\Composer\EventDispatcher\EventSubscriberInterface +use RectorPrefix20220520\Composer\Composer; +use RectorPrefix20220520\Composer\DependencyResolver\Operation\InstallOperation; +use RectorPrefix20220520\Composer\DependencyResolver\Operation\UninstallOperation; +use RectorPrefix20220520\Composer\DependencyResolver\Operation\UpdateOperation; +use RectorPrefix20220520\Composer\DependencyResolver\Operation\OperationInterface; +use RectorPrefix20220520\Composer\EventDispatcher\EventSubscriberInterface; +use RectorPrefix20220520\Composer\IO\IOInterface; +use RectorPrefix20220520\Composer\Package\AliasPackage; +use RectorPrefix20220520\Composer\Package\PackageInterface; +use RectorPrefix20220520\Composer\Plugin\PluginInterface; +use RectorPrefix20220520\Composer\Installer\PackageEvents; +use RectorPrefix20220520\Composer\Script\Event; +use RectorPrefix20220520\Composer\Script\ScriptEvents; +use RectorPrefix20220520\Composer\Installer\PackageEvent; +use RectorPrefix20220520\Composer\Util\ProcessExecutor; +use RectorPrefix20220520\Composer\Util\RemoteFilesystem; +use RectorPrefix20220520\Symfony\Component\Process\Process; +class Patches implements \RectorPrefix20220520\Composer\Plugin\PluginInterface, \RectorPrefix20220520\Composer\EventDispatcher\EventSubscriberInterface { /** * @var Composer $composer @@ -51,12 +51,12 @@ class Patches implements \RectorPrefix20220519\Composer\Plugin\PluginInterface, * @param Composer $composer * @param IOInterface $io */ - public function activate(\RectorPrefix20220519\Composer\Composer $composer, \RectorPrefix20220519\Composer\IO\IOInterface $io) + public function activate(\RectorPrefix20220520\Composer\Composer $composer, \RectorPrefix20220520\Composer\IO\IOInterface $io) { $this->composer = $composer; $this->io = $io; $this->eventDispatcher = $composer->getEventDispatcher(); - $this->executor = new \RectorPrefix20220519\Composer\Util\ProcessExecutor($this->io); + $this->executor = new \RectorPrefix20220520\Composer\Util\ProcessExecutor($this->io); $this->patches = array(); $this->installedPatches = array(); } @@ -66,25 +66,25 @@ class Patches implements \RectorPrefix20220519\Composer\Plugin\PluginInterface, public static function getSubscribedEvents() { return array( - \RectorPrefix20220519\Composer\Script\ScriptEvents::PRE_INSTALL_CMD => array('checkPatches'), - \RectorPrefix20220519\Composer\Script\ScriptEvents::PRE_UPDATE_CMD => array('checkPatches'), - \RectorPrefix20220519\Composer\Installer\PackageEvents::PRE_PACKAGE_INSTALL => array('gatherPatches'), - \RectorPrefix20220519\Composer\Installer\PackageEvents::PRE_PACKAGE_UPDATE => array('gatherPatches'), + \RectorPrefix20220520\Composer\Script\ScriptEvents::PRE_INSTALL_CMD => array('checkPatches'), + \RectorPrefix20220520\Composer\Script\ScriptEvents::PRE_UPDATE_CMD => array('checkPatches'), + \RectorPrefix20220520\Composer\Installer\PackageEvents::PRE_PACKAGE_INSTALL => array('gatherPatches'), + \RectorPrefix20220520\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 - \RectorPrefix20220519\Composer\Installer\PackageEvents::POST_PACKAGE_INSTALL => array('postInstall', 10), - \RectorPrefix20220519\Composer\Installer\PackageEvents::POST_PACKAGE_UPDATE => array('postInstall', 10), + \RectorPrefix20220520\Composer\Installer\PackageEvents::POST_PACKAGE_INSTALL => array('postInstall', 10), + \RectorPrefix20220520\Composer\Installer\PackageEvents::POST_PACKAGE_UPDATE => array('postInstall', 10), ); } /** * Before running composer install, * @param Event $event */ - public function checkPatches(\RectorPrefix20220519\Composer\Script\Event $event) + public function checkPatches(\RectorPrefix20220520\Composer\Script\Event $event) { if (!$this->isPatchingEnabled()) { return; @@ -119,13 +119,13 @@ class Patches implements \RectorPrefix20220519\Composer\Plugin\PluginInterface, // Remove packages for which the patch set has changed. $promises = array(); foreach ($packages as $package) { - if (!$package instanceof \RectorPrefix20220519\Composer\Package\AliasPackage) { + if (!$package instanceof \RectorPrefix20220520\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 \RectorPrefix20220519\Composer\DependencyResolver\Operation\UninstallOperation($package, 'Removing package so it can be re-installed and re-patched.'); + $uninstallOperation = new \RectorPrefix20220520\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 \RectorPrefix20220519\Composer\Plugin\PluginInterface, * * @param PackageEvent $event */ - public function gatherPatches(\RectorPrefix20220519\Composer\Installer\PackageEvent $event) + public function gatherPatches(\RectorPrefix20220520\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, \RectorPrefix20220519\Composer\IO\IOInterface::VERBOSE); + $this->io->write('Patches already gathered. Skipping', TRUE, \RectorPrefix20220520\Composer\IO\IOInterface::VERBOSE); return; } elseif (!$this->isPatchingEnabled()) { - $this->io->write('Patching is disabled. Skipping.', TRUE, \RectorPrefix20220519\Composer\IO\IOInterface::VERBOSE); + $this->io->write('Patching is disabled. Skipping.', TRUE, \RectorPrefix20220520\Composer\IO\IOInterface::VERBOSE); return; } $this->patches = $this->grabPatches(); @@ -164,7 +164,7 @@ class Patches implements \RectorPrefix20220519\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 \RectorPrefix20220519\Composer\DependencyResolver\Operation\InstallOperation || $operation instanceof \RectorPrefix20220519\Composer\DependencyResolver\Operation\UpdateOperation) { + if ($operation instanceof \RectorPrefix20220520\Composer\DependencyResolver\Operation\InstallOperation || $operation instanceof \RectorPrefix20220520\Composer\DependencyResolver\Operation\UpdateOperation) { $package = $this->getPackageFromOperation($operation); $extra = $package->getExtra(); if (isset($extra['patches'])) { @@ -253,7 +253,7 @@ class Patches implements \RectorPrefix20220519\Composer\Plugin\PluginInterface, * @param PackageEvent $event * @throws \Exception */ - public function postInstall(\RectorPrefix20220519\Composer\Installer\PackageEvent $event) + public function postInstall(\RectorPrefix20220520\Composer\Installer\PackageEvent $event) { // Check if we should exit in failure. $extra = $this->composer->getPackage()->getExtra(); @@ -275,7 +275,7 @@ class Patches implements \RectorPrefix20220519\Composer\Plugin\PluginInterface, $manager = $event->getComposer()->getInstallationManager(); $install_path = $manager->getInstaller($package->getType())->getInstallPath($package); // Set up a downloader. - $downloader = new \RectorPrefix20220519\Composer\Util\RemoteFilesystem($this->io, $this->composer->getConfig()); + $downloader = new \RectorPrefix20220520\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 \RectorPrefix20220519\Composer\Plugin\PluginInterface, foreach ($this->patches[$package_name] as $description => $url) { $this->io->write(' ' . $url . ' (' . $description . ')'); try { - $this->eventDispatcher->dispatch(NULL, new \RectorPrefix20220519\cweagans\Composer\PatchEvent(\RectorPrefix20220519\cweagans\Composer\PatchEvents::PRE_PATCH_APPLY, $package, $url, $description)); + $this->eventDispatcher->dispatch(NULL, new \RectorPrefix20220520\cweagans\Composer\PatchEvent(\RectorPrefix20220520\cweagans\Composer\PatchEvents::PRE_PATCH_APPLY, $package, $url, $description)); $this->getAndApplyPatch($downloader, $install_path, $url, $package); - $this->eventDispatcher->dispatch(NULL, new \RectorPrefix20220519\cweagans\Composer\PatchEvent(\RectorPrefix20220519\cweagans\Composer\PatchEvents::POST_PATCH_APPLY, $package, $url, $description)); + $this->eventDispatcher->dispatch(NULL, new \RectorPrefix20220520\cweagans\Composer\PatchEvent(\RectorPrefix20220520\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 \RectorPrefix20220519\Composer\Plugin\PluginInterface, * @return PackageInterface * @throws \Exception */ - protected function getPackageFromOperation(\RectorPrefix20220519\Composer\DependencyResolver\Operation\OperationInterface $operation) + protected function getPackageFromOperation(\RectorPrefix20220520\Composer\DependencyResolver\Operation\OperationInterface $operation) { - if ($operation instanceof \RectorPrefix20220519\Composer\DependencyResolver\Operation\InstallOperation) { + if ($operation instanceof \RectorPrefix20220520\Composer\DependencyResolver\Operation\InstallOperation) { $package = $operation->getPackage(); - } elseif ($operation instanceof \RectorPrefix20220519\Composer\DependencyResolver\Operation\UpdateOperation) { + } elseif ($operation instanceof \RectorPrefix20220520\Composer\DependencyResolver\Operation\UpdateOperation) { $package = $operation->getTargetPackage(); } else { throw new \Exception('Unknown operation: ' . \get_class($operation)); @@ -328,7 +328,7 @@ class Patches implements \RectorPrefix20220519\Composer\Plugin\PluginInterface, * @param PackageInterface $package * @throws \Exception */ - protected function getAndApplyPatch(\RectorPrefix20220519\Composer\Util\RemoteFilesystem $downloader, $install_path, $patch_url, \RectorPrefix20220519\Composer\Package\PackageInterface $package) + protected function getAndApplyPatch(\RectorPrefix20220520\Composer\Util\RemoteFilesystem $downloader, $install_path, $patch_url, \RectorPrefix20220520\Composer\Package\PackageInterface $package) { // Local patch file. if (\file_exists($patch_url)) { @@ -433,7 +433,7 @@ class Patches implements \RectorPrefix20220519\Composer\Plugin\PluginInterface, $this->io->write('' . $command . ''); $io = $this->io; $output = function ($type, $data) use($io) { - if ($type == \RectorPrefix20220519\Symfony\Component\Process\Process::ERR) { + if ($type == \RectorPrefix20220520\Symfony\Component\Process\Process::ERR) { $io->write('' . $data . ''); } else { $io->write('' . $data . ''); @@ -519,20 +519,20 @@ class Patches implements \RectorPrefix20220519\Composer\Plugin\PluginInterface, * @return bool * TRUE if the package has been patched. */ - public static function isPackagePatched(\RectorPrefix20220519\Composer\Package\PackageInterface $package) + public static function isPackagePatched(\RectorPrefix20220520\Composer\Package\PackageInterface $package) { return \array_key_exists('patches_applied', $package->getExtra()); } /** * {@inheritDoc} */ - public function deactivate(\RectorPrefix20220519\Composer\Composer $composer, \RectorPrefix20220519\Composer\IO\IOInterface $io) + public function deactivate(\RectorPrefix20220520\Composer\Composer $composer, \RectorPrefix20220520\Composer\IO\IOInterface $io) { } /** * {@inheritDoc} */ - public function uninstall(\RectorPrefix20220519\Composer\Composer $composer, \RectorPrefix20220519\Composer\IO\IOInterface $io) + public function uninstall(\RectorPrefix20220520\Composer\Composer $composer, \RectorPrefix20220520\Composer\IO\IOInterface $io) { } } diff --git a/vendor/cweagans/composer-patches/tests/PatchEventTest.php b/vendor/cweagans/composer-patches/tests/PatchEventTest.php index 424f0824c3f..c1f6e2ef674 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 RectorPrefix20220519\cweagans\Composer\Tests; +namespace RectorPrefix20220520\cweagans\Composer\Tests; -use RectorPrefix20220519\cweagans\Composer\PatchEvent; -use RectorPrefix20220519\cweagans\Composer\PatchEvents; -use RectorPrefix20220519\Composer\Package\PackageInterface; -class PatchEventTest extends \RectorPrefix20220519\PHPUnit_Framework_TestCase +use RectorPrefix20220520\cweagans\Composer\PatchEvent; +use RectorPrefix20220520\cweagans\Composer\PatchEvents; +use RectorPrefix20220520\Composer\Package\PackageInterface; +class PatchEventTest extends \RectorPrefix20220520\PHPUnit_Framework_TestCase { /** * Tests all the getters. * * @dataProvider patchEventDataProvider */ - public function testGetters($event_name, \RectorPrefix20220519\Composer\Package\PackageInterface $package, $url, $description) + public function testGetters($event_name, \RectorPrefix20220520\Composer\Package\PackageInterface $package, $url, $description) { - $patch_event = new \RectorPrefix20220519\cweagans\Composer\PatchEvent($event_name, $package, $url, $description); + $patch_event = new \RectorPrefix20220520\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 \RectorPrefix20220519\PHPUnit_Framework_TestCase } public function patchEventDataProvider() { - $prophecy = $this->prophesize('RectorPrefix20220519\\Composer\\Package\\PackageInterface'); + $prophecy = $this->prophesize('RectorPrefix20220520\\Composer\\Package\\PackageInterface'); $package = $prophecy->reveal(); - return array(array(\RectorPrefix20220519\cweagans\Composer\PatchEvents::PRE_PATCH_APPLY, $package, 'https://www.drupal.org', 'A test patch'), array(\RectorPrefix20220519\cweagans\Composer\PatchEvents::POST_PATCH_APPLY, $package, 'https://www.drupal.org', 'A test patch')); + return array(array(\RectorPrefix20220520\cweagans\Composer\PatchEvents::PRE_PATCH_APPLY, $package, 'https://www.drupal.org', 'A test patch'), array(\RectorPrefix20220520\cweagans\Composer\PatchEvents::POST_PATCH_APPLY, $package, 'https://www.drupal.org', 'A test patch')); } } diff --git a/vendor/doctrine/inflector/composer.json b/vendor/doctrine/inflector/composer.json index ba4d1ebe495..8748b7069b6 100644 --- a/vendor/doctrine/inflector/composer.json +++ b/vendor/doctrine/inflector/composer.json @@ -51,12 +51,12 @@ }, "autoload": { "psr-4": { - "RectorPrefix20220519\\Doctrine\\Inflector\\": "lib\/Doctrine\/Inflector" + "RectorPrefix20220520\\Doctrine\\Inflector\\": "lib\/Doctrine\/Inflector" } }, "autoload-dev": { "psr-4": { - "RectorPrefix20220519\\Doctrine\\Tests\\Inflector\\": "tests\/Doctrine\/Tests\/Inflector" + "RectorPrefix20220520\\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 79367fa4498..7b062ebd54c 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 fe3fc0be818..066c499c663 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() : \RectorPrefix20220519\Doctrine\Inflector\Inflector + public final function build() : \RectorPrefix20220520\Doctrine\Inflector\Inflector { - return new \RectorPrefix20220519\Doctrine\Inflector\Inflector(new \RectorPrefix20220519\Doctrine\Inflector\CachedWordInflector(new \RectorPrefix20220519\Doctrine\Inflector\RulesetInflector(...$this->singularRulesets)), new \RectorPrefix20220519\Doctrine\Inflector\CachedWordInflector(new \RectorPrefix20220519\Doctrine\Inflector\RulesetInflector(...$this->pluralRulesets))); + return new \RectorPrefix20220520\Doctrine\Inflector\Inflector(new \RectorPrefix20220520\Doctrine\Inflector\CachedWordInflector(new \RectorPrefix20220520\Doctrine\Inflector\RulesetInflector(...$this->singularRulesets)), new \RectorPrefix20220520\Doctrine\Inflector\CachedWordInflector(new \RectorPrefix20220520\Doctrine\Inflector\RulesetInflector(...$this->pluralRulesets))); } - public final function withSingularRules(?\RectorPrefix20220519\Doctrine\Inflector\Rules\Ruleset $singularRules, bool $reset = \false) : \RectorPrefix20220519\Doctrine\Inflector\LanguageInflectorFactory + public final function withSingularRules(?\RectorPrefix20220520\Doctrine\Inflector\Rules\Ruleset $singularRules, bool $reset = \false) : \RectorPrefix20220520\Doctrine\Inflector\LanguageInflectorFactory { if ($reset) { $this->singularRulesets = []; } - if ($singularRules instanceof \RectorPrefix20220519\Doctrine\Inflector\Rules\Ruleset) { + if ($singularRules instanceof \RectorPrefix20220520\Doctrine\Inflector\Rules\Ruleset) { \array_unshift($this->singularRulesets, $singularRules); } return $this; } - public final function withPluralRules(?\RectorPrefix20220519\Doctrine\Inflector\Rules\Ruleset $pluralRules, bool $reset = \false) : \RectorPrefix20220519\Doctrine\Inflector\LanguageInflectorFactory + public final function withPluralRules(?\RectorPrefix20220520\Doctrine\Inflector\Rules\Ruleset $pluralRules, bool $reset = \false) : \RectorPrefix20220520\Doctrine\Inflector\LanguageInflectorFactory { if ($reset) { $this->pluralRulesets = []; } - if ($pluralRules instanceof \RectorPrefix20220519\Doctrine\Inflector\Rules\Ruleset) { + if ($pluralRules instanceof \RectorPrefix20220520\Doctrine\Inflector\Rules\Ruleset) { \array_unshift($this->pluralRulesets, $pluralRules); } return $this; } - protected abstract function getSingularRuleset() : \RectorPrefix20220519\Doctrine\Inflector\Rules\Ruleset; - protected abstract function getPluralRuleset() : \RectorPrefix20220519\Doctrine\Inflector\Rules\Ruleset; + protected abstract function getSingularRuleset() : \RectorPrefix20220520\Doctrine\Inflector\Rules\Ruleset; + protected abstract function getPluralRuleset() : \RectorPrefix20220520\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 6d8335a592f..dbf6fdaebbb 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; @@ -168,7 +168,7 @@ class Inflector } else { $lowered = \strtolower($unaccented); } - $replacements = ['/\\W/' => ' ', '/([A-Z]+)([A-Z][a-z])/' => 'RectorPrefix20220519\\1_\\2', '/([a-z\\d])([A-Z])/' => 'RectorPrefix20220519\\1_\\2', '/[^A-Z^a-z^0-9^\\/]+/' => '-']; + $replacements = ['/\\W/' => ' ', '/([A-Z]+)([A-Z][a-z])/' => 'RectorPrefix20220520\\1_\\2', '/([a-z\\d])([A-Z])/' => 'RectorPrefix20220520\\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 737655ca723..50b9850ef82 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 \RectorPrefix20220520\Doctrine\Inflector\Rules\Ruleset(new \RectorPrefix20220520\Doctrine\Inflector\Rules\Transformations(...\RectorPrefix20220520\Doctrine\Inflector\Rules\English\Inflectible::getSingular()), new \RectorPrefix20220520\Doctrine\Inflector\Rules\Patterns(...\RectorPrefix20220520\Doctrine\Inflector\Rules\English\Uninflected::getSingular()), (new \RectorPrefix20220520\Doctrine\Inflector\Rules\Substitutions(...\RectorPrefix20220520\Doctrine\Inflector\Rules\English\Inflectible::getIrregular()))->getFlippedSubstitutions()); } - public static function getPluralRuleset() : \RectorPrefix20220519\Doctrine\Inflector\Rules\Ruleset + public static function getPluralRuleset() : \RectorPrefix20220520\Doctrine\Inflector\Rules\Ruleset { - return new \RectorPrefix20220519\Doctrine\Inflector\Rules\Ruleset(new \RectorPrefix20220519\Doctrine\Inflector\Rules\Transformations(...\RectorPrefix20220519\Doctrine\Inflector\Rules\English\Inflectible::getPlural()), new \RectorPrefix20220519\Doctrine\Inflector\Rules\Patterns(...\RectorPrefix20220519\Doctrine\Inflector\Rules\English\Uninflected::getPlural()), new \RectorPrefix20220519\Doctrine\Inflector\Rules\Substitutions(...\RectorPrefix20220519\Doctrine\Inflector\Rules\English\Inflectible::getIrregular())); + return new \RectorPrefix20220520\Doctrine\Inflector\Rules\Ruleset(new \RectorPrefix20220520\Doctrine\Inflector\Rules\Transformations(...\RectorPrefix20220520\Doctrine\Inflector\Rules\English\Inflectible::getPlural()), new \RectorPrefix20220520\Doctrine\Inflector\Rules\Patterns(...\RectorPrefix20220520\Doctrine\Inflector\Rules\English\Uninflected::getPlural()), new \RectorPrefix20220520\Doctrine\Inflector\Rules\Substitutions(...\RectorPrefix20220520\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 142cb632a83..e09953bc622 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 \RectorPrefix20220520\Doctrine\Inflector\Rules\Ruleset(new \RectorPrefix20220520\Doctrine\Inflector\Rules\Transformations(...\RectorPrefix20220520\Doctrine\Inflector\Rules\French\Inflectible::getSingular()), new \RectorPrefix20220520\Doctrine\Inflector\Rules\Patterns(...\RectorPrefix20220520\Doctrine\Inflector\Rules\French\Uninflected::getSingular()), (new \RectorPrefix20220520\Doctrine\Inflector\Rules\Substitutions(...\RectorPrefix20220520\Doctrine\Inflector\Rules\French\Inflectible::getIrregular()))->getFlippedSubstitutions()); } - public static function getPluralRuleset() : \RectorPrefix20220519\Doctrine\Inflector\Rules\Ruleset + public static function getPluralRuleset() : \RectorPrefix20220520\Doctrine\Inflector\Rules\Ruleset { - return new \RectorPrefix20220519\Doctrine\Inflector\Rules\Ruleset(new \RectorPrefix20220519\Doctrine\Inflector\Rules\Transformations(...\RectorPrefix20220519\Doctrine\Inflector\Rules\French\Inflectible::getPlural()), new \RectorPrefix20220519\Doctrine\Inflector\Rules\Patterns(...\RectorPrefix20220519\Doctrine\Inflector\Rules\French\Uninflected::getPlural()), new \RectorPrefix20220519\Doctrine\Inflector\Rules\Substitutions(...\RectorPrefix20220519\Doctrine\Inflector\Rules\French\Inflectible::getIrregular())); + return new \RectorPrefix20220520\Doctrine\Inflector\Rules\Ruleset(new \RectorPrefix20220520\Doctrine\Inflector\Rules\Transformations(...\RectorPrefix20220520\Doctrine\Inflector\Rules\French\Inflectible::getPlural()), new \RectorPrefix20220520\Doctrine\Inflector\Rules\Patterns(...\RectorPrefix20220520\Doctrine\Inflector\Rules\French\Uninflected::getPlural()), new \RectorPrefix20220520\Doctrine\Inflector\Rules\Substitutions(...\RectorPrefix20220520\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 3a40b8710b9..8392cac0da2 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 \RectorPrefix20220520\Doctrine\Inflector\Rules\Ruleset(new \RectorPrefix20220520\Doctrine\Inflector\Rules\Transformations(...\RectorPrefix20220520\Doctrine\Inflector\Rules\NorwegianBokmal\Inflectible::getSingular()), new \RectorPrefix20220520\Doctrine\Inflector\Rules\Patterns(...\RectorPrefix20220520\Doctrine\Inflector\Rules\NorwegianBokmal\Uninflected::getSingular()), (new \RectorPrefix20220520\Doctrine\Inflector\Rules\Substitutions(...\RectorPrefix20220520\Doctrine\Inflector\Rules\NorwegianBokmal\Inflectible::getIrregular()))->getFlippedSubstitutions()); } - public static function getPluralRuleset() : \RectorPrefix20220519\Doctrine\Inflector\Rules\Ruleset + public static function getPluralRuleset() : \RectorPrefix20220520\Doctrine\Inflector\Rules\Ruleset { - return new \RectorPrefix20220519\Doctrine\Inflector\Rules\Ruleset(new \RectorPrefix20220519\Doctrine\Inflector\Rules\Transformations(...\RectorPrefix20220519\Doctrine\Inflector\Rules\NorwegianBokmal\Inflectible::getPlural()), new \RectorPrefix20220519\Doctrine\Inflector\Rules\Patterns(...\RectorPrefix20220519\Doctrine\Inflector\Rules\NorwegianBokmal\Uninflected::getPlural()), new \RectorPrefix20220519\Doctrine\Inflector\Rules\Substitutions(...\RectorPrefix20220519\Doctrine\Inflector\Rules\NorwegianBokmal\Inflectible::getIrregular())); + return new \RectorPrefix20220520\Doctrine\Inflector\Rules\Ruleset(new \RectorPrefix20220520\Doctrine\Inflector\Rules\Transformations(...\RectorPrefix20220520\Doctrine\Inflector\Rules\NorwegianBokmal\Inflectible::getPlural()), new \RectorPrefix20220520\Doctrine\Inflector\Rules\Patterns(...\RectorPrefix20220520\Doctrine\Inflector\Rules\NorwegianBokmal\Uninflected::getPlural()), new \RectorPrefix20220520\Doctrine\Inflector\Rules\Substitutions(...\RectorPrefix20220520\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 751a97abb2e..f51b4553393 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 (\RectorPrefix20220519\Doctrine\Inflector\Rules\Pattern $pattern) : string { + $patterns = \array_map(static function (\RectorPrefix20220520\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 eee979e5324..09d849b1931 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 \RectorPrefix20220520\Doctrine\Inflector\Rules\Ruleset(new \RectorPrefix20220520\Doctrine\Inflector\Rules\Transformations(...\RectorPrefix20220520\Doctrine\Inflector\Rules\Portuguese\Inflectible::getSingular()), new \RectorPrefix20220520\Doctrine\Inflector\Rules\Patterns(...\RectorPrefix20220520\Doctrine\Inflector\Rules\Portuguese\Uninflected::getSingular()), (new \RectorPrefix20220520\Doctrine\Inflector\Rules\Substitutions(...\RectorPrefix20220520\Doctrine\Inflector\Rules\Portuguese\Inflectible::getIrregular()))->getFlippedSubstitutions()); } - public static function getPluralRuleset() : \RectorPrefix20220519\Doctrine\Inflector\Rules\Ruleset + public static function getPluralRuleset() : \RectorPrefix20220520\Doctrine\Inflector\Rules\Ruleset { - return new \RectorPrefix20220519\Doctrine\Inflector\Rules\Ruleset(new \RectorPrefix20220519\Doctrine\Inflector\Rules\Transformations(...\RectorPrefix20220519\Doctrine\Inflector\Rules\Portuguese\Inflectible::getPlural()), new \RectorPrefix20220519\Doctrine\Inflector\Rules\Patterns(...\RectorPrefix20220519\Doctrine\Inflector\Rules\Portuguese\Uninflected::getPlural()), new \RectorPrefix20220519\Doctrine\Inflector\Rules\Substitutions(...\RectorPrefix20220519\Doctrine\Inflector\Rules\Portuguese\Inflectible::getIrregular())); + return new \RectorPrefix20220520\Doctrine\Inflector\Rules\Ruleset(new \RectorPrefix20220520\Doctrine\Inflector\Rules\Transformations(...\RectorPrefix20220520\Doctrine\Inflector\Rules\Portuguese\Inflectible::getPlural()), new \RectorPrefix20220520\Doctrine\Inflector\Rules\Patterns(...\RectorPrefix20220520\Doctrine\Inflector\Rules\Portuguese\Uninflected::getPlural()), new \RectorPrefix20220520\Doctrine\Inflector\Rules\Substitutions(...\RectorPrefix20220520\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 e8f6d716081..873e3a01bfb 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() : \RectorPrefix20220519\Doctrine\Inflector\Rules\Transformations + public function getRegular() : \RectorPrefix20220520\Doctrine\Inflector\Rules\Transformations { return $this->regular; } - public function getUninflected() : \RectorPrefix20220519\Doctrine\Inflector\Rules\Patterns + public function getUninflected() : \RectorPrefix20220520\Doctrine\Inflector\Rules\Patterns { return $this->uninflected; } - public function getIrregular() : \RectorPrefix20220519\Doctrine\Inflector\Rules\Substitutions + public function getIrregular() : \RectorPrefix20220520\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 ca49695da6a..b7813b82c5d 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 \RectorPrefix20220520\Doctrine\Inflector\Rules\Ruleset(new \RectorPrefix20220520\Doctrine\Inflector\Rules\Transformations(...\RectorPrefix20220520\Doctrine\Inflector\Rules\Spanish\Inflectible::getSingular()), new \RectorPrefix20220520\Doctrine\Inflector\Rules\Patterns(...\RectorPrefix20220520\Doctrine\Inflector\Rules\Spanish\Uninflected::getSingular()), (new \RectorPrefix20220520\Doctrine\Inflector\Rules\Substitutions(...\RectorPrefix20220520\Doctrine\Inflector\Rules\Spanish\Inflectible::getIrregular()))->getFlippedSubstitutions()); } - public static function getPluralRuleset() : \RectorPrefix20220519\Doctrine\Inflector\Rules\Ruleset + public static function getPluralRuleset() : \RectorPrefix20220520\Doctrine\Inflector\Rules\Ruleset { - return new \RectorPrefix20220519\Doctrine\Inflector\Rules\Ruleset(new \RectorPrefix20220519\Doctrine\Inflector\Rules\Transformations(...\RectorPrefix20220519\Doctrine\Inflector\Rules\Spanish\Inflectible::getPlural()), new \RectorPrefix20220519\Doctrine\Inflector\Rules\Patterns(...\RectorPrefix20220519\Doctrine\Inflector\Rules\Spanish\Uninflected::getPlural()), new \RectorPrefix20220519\Doctrine\Inflector\Rules\Substitutions(...\RectorPrefix20220519\Doctrine\Inflector\Rules\Spanish\Inflectible::getIrregular())); + return new \RectorPrefix20220520\Doctrine\Inflector\Rules\Ruleset(new \RectorPrefix20220520\Doctrine\Inflector\Rules\Transformations(...\RectorPrefix20220520\Doctrine\Inflector\Rules\Spanish\Inflectible::getPlural()), new \RectorPrefix20220520\Doctrine\Inflector\Rules\Patterns(...\RectorPrefix20220520\Doctrine\Inflector\Rules\Spanish\Uninflected::getPlural()), new \RectorPrefix20220520\Doctrine\Inflector\Rules\Substitutions(...\RectorPrefix20220520\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 ffcc3df9fd5..7884990a15c 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() : \RectorPrefix20220519\Doctrine\Inflector\Rules\Word + public function getFrom() : \RectorPrefix20220520\Doctrine\Inflector\Rules\Word { return $this->from; } - public function getTo() : \RectorPrefix20220519\Doctrine\Inflector\Rules\Word + public function getTo() : \RectorPrefix20220520\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 c941265da0b..1cba15c4203 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() : \RectorPrefix20220519\Doctrine\Inflector\Rules\Substitutions + public function getFlippedSubstitutions() : \RectorPrefix20220520\Doctrine\Inflector\Rules\Substitutions { $substitutions = []; foreach ($this->substitutions as $substitution) { - $substitutions[] = new \RectorPrefix20220519\Doctrine\Inflector\Rules\Substitution($substitution->getTo(), $substitution->getFrom()); + $substitutions[] = new \RectorPrefix20220520\Doctrine\Inflector\Rules\Substitution($substitution->getTo(), $substitution->getFrom()); } - return new \RectorPrefix20220519\Doctrine\Inflector\Rules\Substitutions(...$substitutions); + return new \RectorPrefix20220520\Doctrine\Inflector\Rules\Substitutions(...$substitutions); } public function inflect(string $word) : string { diff --git a/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/Transformation.php b/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/Transformation.php index e32e9a43838..d9c951f8744 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() : \RectorPrefix20220519\Doctrine\Inflector\Rules\Pattern + public function getPattern() : \RectorPrefix20220520\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 e307d4f7cca..21533936b30 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 82be529e3e8..e673f3aa789 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 \RectorPrefix20220520\Doctrine\Inflector\Rules\Ruleset(new \RectorPrefix20220520\Doctrine\Inflector\Rules\Transformations(...\RectorPrefix20220520\Doctrine\Inflector\Rules\Turkish\Inflectible::getSingular()), new \RectorPrefix20220520\Doctrine\Inflector\Rules\Patterns(...\RectorPrefix20220520\Doctrine\Inflector\Rules\Turkish\Uninflected::getSingular()), (new \RectorPrefix20220520\Doctrine\Inflector\Rules\Substitutions(...\RectorPrefix20220520\Doctrine\Inflector\Rules\Turkish\Inflectible::getIrregular()))->getFlippedSubstitutions()); } - public static function getPluralRuleset() : \RectorPrefix20220519\Doctrine\Inflector\Rules\Ruleset + public static function getPluralRuleset() : \RectorPrefix20220520\Doctrine\Inflector\Rules\Ruleset { - return new \RectorPrefix20220519\Doctrine\Inflector\Rules\Ruleset(new \RectorPrefix20220519\Doctrine\Inflector\Rules\Transformations(...\RectorPrefix20220519\Doctrine\Inflector\Rules\Turkish\Inflectible::getPlural()), new \RectorPrefix20220519\Doctrine\Inflector\Rules\Patterns(...\RectorPrefix20220519\Doctrine\Inflector\Rules\Turkish\Uninflected::getPlural()), new \RectorPrefix20220519\Doctrine\Inflector\Rules\Substitutions(...\RectorPrefix20220519\Doctrine\Inflector\Rules\Turkish\Inflectible::getIrregular())); + return new \RectorPrefix20220520\Doctrine\Inflector\Rules\Ruleset(new \RectorPrefix20220520\Doctrine\Inflector\Rules\Transformations(...\RectorPrefix20220520\Doctrine\Inflector\Rules\Turkish\Inflectible::getPlural()), new \RectorPrefix20220520\Doctrine\Inflector\Rules\Patterns(...\RectorPrefix20220520\Doctrine\Inflector\Rules\Turkish\Uninflected::getPlural()), new \RectorPrefix20220520\Doctrine\Inflector\Rules\Substitutions(...\RectorPrefix20220520\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 e1687b2c363..e5b7afc38bf 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 82326902f94..5d8be1409b4 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 c45057097af..3cba4249cf0 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 RectorPrefix20220519\Ergebnis\Json\Printer; +namespace RectorPrefix20220520\Ergebnis\Json\Printer; interface PrinterInterface { diff --git a/vendor/evenement/evenement/composer.json b/vendor/evenement/evenement/composer.json index b899ff0cbd4..6a5ce4af5b2 100644 --- a/vendor/evenement/evenement/composer.json +++ b/vendor/evenement/evenement/composer.json @@ -20,7 +20,7 @@ }, "autoload": { "psr-4": { - "RectorPrefix20220519\\Evenement\\": "src\/Evenement\/" + "RectorPrefix20220520\\Evenement\\": "src\/Evenement\/" } }, "autoload-dev": { @@ -28,7 +28,7 @@ "tests\/Evenement\/Tests\/functions.php" ], "psr-4": { - "RectorPrefix20220519\\Evenement\\": "tests\/Evenement\/" + "RectorPrefix20220520\\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 cf9c59cd704..60d973d4504 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 c2a46ee48c6..31fad8c3fd1 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 b8360072573..80af789b130 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 25d57a95eb2..380cb3eb149 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 948337e9c96..c1de5cf4711 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 \RectorPrefix20220519\Evenement\EventEmitter(); + $this->emitter = new \RectorPrefix20220520\Evenement\EventEmitter(); } public function testAddListenerWithLambda() { @@ -28,12 +28,12 @@ class EventEmitterTest extends \RectorPrefix20220519\PHPUnit\Framework\TestCase } public function testAddListenerWithMethod() { - $listener = new \RectorPrefix20220519\Evenement\Tests\Listener(); + $listener = new \RectorPrefix20220520\Evenement\Tests\Listener(); $this->emitter->on('foo', [$listener, 'onFoo']); } public function testAddListenerWithStaticMethod() { - $this->emitter->on('bar', ['RectorPrefix20220519\\Evenement\\Tests\\Listener', 'onBar']); + $this->emitter->on('bar', ['RectorPrefix20220520\\Evenement\\Tests\\Listener', 'onBar']); } public function testAddListenerWithInvalidListener() { @@ -191,14 +191,14 @@ class EventEmitterTest extends \RectorPrefix20220519\PHPUnit\Framework\TestCase } public function testCallablesClass() { - $listener = new \RectorPrefix20220519\Evenement\Tests\Listener(); + $listener = new \RectorPrefix20220520\Evenement\Tests\Listener(); $this->emitter->on('foo', [$listener, 'onFoo']); $this->emitter->emit('foo', ['bar']); self::assertSame(['bar'], $listener->getData()); } public function testCallablesClassInvoke() { - $listener = new \RectorPrefix20220519\Evenement\Tests\Listener(); + $listener = new \RectorPrefix20220520\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 \RectorPrefix20220519\PHPUnit\Framework\TestCase { $this->emitter->on('foo', '\\Evenement\\Tests\\Listener::onBar'); $this->emitter->emit('foo', ['bar']); - self::assertSame(['bar'], \RectorPrefix20220519\Evenement\Tests\Listener::getStaticData()); + self::assertSame(['bar'], \RectorPrefix20220520\Evenement\Tests\Listener::getStaticData()); } public function testCallablesFunction() { - $this->emitter->on('foo', 'RectorPrefix20220519\\Evenement\\Tests\\setGlobalTestData'); + $this->emitter->on('foo', 'RectorPrefix20220520\\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 b75e8557aed..d5b6697b226 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 RectorPrefix20220519\Evenement\Tests; +namespace RectorPrefix20220520\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 d7b90fa6389..4fcaec0187d 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 RectorPrefix20220519\Evenement\Tests; +namespace RectorPrefix20220520\Evenement\Tests; function setGlobalTestData($data) { diff --git a/vendor/helmich/typo3-typoscript-parser/composer.json b/vendor/helmich/typo3-typoscript-parser/composer.json index 89da166780d..02f6df47465 100644 --- a/vendor/helmich/typo3-typoscript-parser/composer.json +++ b/vendor/helmich/typo3-typoscript-parser/composer.json @@ -29,7 +29,7 @@ }, "autoload": { "psr-4": { - "RectorPrefix20220519\\Helmich\\TypoScriptParser\\": "src\/" + "RectorPrefix20220520\\Helmich\\TypoScriptParser\\": "src\/" } }, "autoload-dev": { @@ -37,8 +37,8 @@ "vendor\/phpunit\/phpunit\/src\/Framework\/Assert\/Functions.php" ], "psr-4": { - "RectorPrefix20220519\\Helmich\\TypoScriptParser\\Tests\\Functional\\": "tests\/functional", - "RectorPrefix20220519\\Helmich\\TypoScriptParser\\Tests\\Unit\\": "tests\/unit" + "RectorPrefix20220520\\Helmich\\TypoScriptParser\\Tests\\Functional\\": "tests\/functional", + "RectorPrefix20220520\\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 d099f7021cf..e4314d862c8 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: RectorPrefix20220519\Helmich\TypoScriptParser\Tokenizer\Tokenizer + class: RectorPrefix20220520\Helmich\TypoScriptParser\Tokenizer\Tokenizer token_printer_structured: - class: RectorPrefix20220519\Helmich\TypoScriptParser\Tokenizer\Printer\StructuredTokenPrinter + class: RectorPrefix20220520\Helmich\TypoScriptParser\Tokenizer\Printer\StructuredTokenPrinter token_printer_code: - class: RectorPrefix20220519\Helmich\TypoScriptParser\Tokenizer\Printer\CodeTokenPrinter + class: RectorPrefix20220520\Helmich\TypoScriptParser\Tokenizer\Printer\CodeTokenPrinter parser: - class: RectorPrefix20220519\Helmich\TypoScriptParser\Parser\Parser + class: RectorPrefix20220520\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 d3ee8868b10..cee9354bc8c 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 \RectorPrefix20220519\Helmich\TypoScriptParser\Parser\AST\Operator\Builder(); + $this->operatorBuilder = new \RectorPrefix20220520\Helmich\TypoScriptParser\Parser\AST\Operator\Builder(); } /** * @param string $condition @@ -28,21 +28,21 @@ class Builder * @param int $line * @return ConditionalStatement */ - public function condition(string $condition, array $if, array $else, int $line) : \RectorPrefix20220519\Helmich\TypoScriptParser\Parser\AST\ConditionalStatement + public function condition(string $condition, array $if, array $else, int $line) : \RectorPrefix20220520\Helmich\TypoScriptParser\Parser\AST\ConditionalStatement { - return new \RectorPrefix20220519\Helmich\TypoScriptParser\Parser\AST\ConditionalStatement($condition, $if, $else, $line); + return new \RectorPrefix20220520\Helmich\TypoScriptParser\Parser\AST\ConditionalStatement($condition, $if, $else, $line); } - public function comment(string $comment, int $line) : \RectorPrefix20220519\Helmich\TypoScriptParser\Parser\AST\Comment + public function comment(string $comment, int $line) : \RectorPrefix20220520\Helmich\TypoScriptParser\Parser\AST\Comment { - return new \RectorPrefix20220519\Helmich\TypoScriptParser\Parser\AST\Comment($comment, $line); + return new \RectorPrefix20220520\Helmich\TypoScriptParser\Parser\AST\Comment($comment, $line); } - public function multilineComment(string $comment, int $line) : \RectorPrefix20220519\Helmich\TypoScriptParser\Parser\AST\MultilineComment + public function multilineComment(string $comment, int $line) : \RectorPrefix20220520\Helmich\TypoScriptParser\Parser\AST\MultilineComment { - return new \RectorPrefix20220519\Helmich\TypoScriptParser\Parser\AST\MultilineComment($comment, $line); + return new \RectorPrefix20220520\Helmich\TypoScriptParser\Parser\AST\MultilineComment($comment, $line); } - public function nop(int $line) : \RectorPrefix20220519\Helmich\TypoScriptParser\Parser\AST\NopStatement + public function nop(int $line) : \RectorPrefix20220520\Helmich\TypoScriptParser\Parser\AST\NopStatement { - return new \RectorPrefix20220519\Helmich\TypoScriptParser\Parser\AST\NopStatement($line); + return new \RectorPrefix20220520\Helmich\TypoScriptParser\Parser\AST\NopStatement($line); } /** * @param string $directory @@ -51,9 +51,9 @@ class Builder * @param int $line * @return DirectoryIncludeStatement */ - public function includeDirectory(string $directory, ?string $extensions, ?string $condition, int $line) : \RectorPrefix20220519\Helmich\TypoScriptParser\Parser\AST\DirectoryIncludeStatement + public function includeDirectory(string $directory, ?string $extensions, ?string $condition, int $line) : \RectorPrefix20220520\Helmich\TypoScriptParser\Parser\AST\DirectoryIncludeStatement { - return new \RectorPrefix20220519\Helmich\TypoScriptParser\Parser\AST\DirectoryIncludeStatement($directory, $extensions, $condition, $line); + return new \RectorPrefix20220520\Helmich\TypoScriptParser\Parser\AST\DirectoryIncludeStatement($directory, $extensions, $condition, $line); } /** * @param string $file @@ -62,9 +62,9 @@ class Builder * @param int $line * @return FileIncludeStatement */ - public function includeFile(string $file, bool $newSyntax, ?string $condition, int $line) : \RectorPrefix20220519\Helmich\TypoScriptParser\Parser\AST\FileIncludeStatement + public function includeFile(string $file, bool $newSyntax, ?string $condition, int $line) : \RectorPrefix20220520\Helmich\TypoScriptParser\Parser\AST\FileIncludeStatement { - return new \RectorPrefix20220519\Helmich\TypoScriptParser\Parser\AST\FileIncludeStatement($file, $newSyntax, $condition, $line); + return new \RectorPrefix20220520\Helmich\TypoScriptParser\Parser\AST\FileIncludeStatement($file, $newSyntax, $condition, $line); } /** * @param ObjectPath $path @@ -72,31 +72,31 @@ class Builder * @param int $line * @return NestedAssignment */ - public function nested(\RectorPrefix20220519\Helmich\TypoScriptParser\Parser\AST\ObjectPath $path, array $statements, int $line) : \RectorPrefix20220519\Helmich\TypoScriptParser\Parser\AST\NestedAssignment + public function nested(\RectorPrefix20220520\Helmich\TypoScriptParser\Parser\AST\ObjectPath $path, array $statements, int $line) : \RectorPrefix20220520\Helmich\TypoScriptParser\Parser\AST\NestedAssignment { - return new \RectorPrefix20220519\Helmich\TypoScriptParser\Parser\AST\NestedAssignment($path, $statements, $line); + return new \RectorPrefix20220520\Helmich\TypoScriptParser\Parser\AST\NestedAssignment($path, $statements, $line); } /** * @param string $value * @return Scalar */ - public function scalar(string $value) : \RectorPrefix20220519\Helmich\TypoScriptParser\Parser\AST\Scalar + public function scalar(string $value) : \RectorPrefix20220520\Helmich\TypoScriptParser\Parser\AST\Scalar { - return new \RectorPrefix20220519\Helmich\TypoScriptParser\Parser\AST\Scalar($value); + return new \RectorPrefix20220520\Helmich\TypoScriptParser\Parser\AST\Scalar($value); } /** * @param string $absolute * @param string $relative * @return ObjectPath */ - public function path(string $absolute, string $relative) : \RectorPrefix20220519\Helmich\TypoScriptParser\Parser\AST\ObjectPath + public function path(string $absolute, string $relative) : \RectorPrefix20220520\Helmich\TypoScriptParser\Parser\AST\ObjectPath { - return new \RectorPrefix20220519\Helmich\TypoScriptParser\Parser\AST\ObjectPath($absolute, $relative); + return new \RectorPrefix20220520\Helmich\TypoScriptParser\Parser\AST\ObjectPath($absolute, $relative); } /** * @return Operator\Builder */ - public function op() : \RectorPrefix20220519\Helmich\TypoScriptParser\Parser\AST\Operator\Builder + public function op() : \RectorPrefix20220520\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 4a6a1724065..3f083857f1f 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 a18e3e234ec..2a8de1d99b0 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 \RectorPrefix20220519\Helmich\TypoScriptParser\Parser\AST\RootObjectPath(); + return new \RectorPrefix20220520\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 b259389a7ee..3c8cba5847c 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 a53d2a5a385..9e4c0704014 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 072febb640a..cd47f903953 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 8efea4df5df..49c5d55c330 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 94cc9e2e02f..b00e880fb10 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 d0b530e184e..c9a3f354e15 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 \RectorPrefix20220519\Helmich\TypoScriptParser\Parser\AST\Builder(); + $this->builder = $astBuilder ?: new \RectorPrefix20220520\Helmich\TypoScriptParser\Parser\AST\Builder(); } /** * Parses a stream resource. @@ -66,12 +66,12 @@ class Parser implements \RectorPrefix20220519\Helmich\TypoScriptParser\Parser\Pa */ public function parseTokens(array $tokens) : array { - $stream = (new \RectorPrefix20220519\Helmich\TypoScriptParser\Parser\TokenStream($tokens))->normalized(); - $state = new \RectorPrefix20220519\Helmich\TypoScriptParser\Parser\ParserState($stream); + $stream = (new \RectorPrefix20220520\Helmich\TypoScriptParser\Parser\TokenStream($tokens))->normalized(); + $state = new \RectorPrefix20220520\Helmich\TypoScriptParser\Parser\ParserState($stream); for (; $state->hasNext(); $state->next()) { - if ($state->token()->getType() === \RectorPrefix20220519\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_OBJECT_IDENTIFIER) { + if ($state->token()->getType() === \RectorPrefix20220520\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_OBJECT_IDENTIFIER) { $objectPath = $this->builder->path($state->token()->getValue(), $state->token()->getValue()); - if ($state->token(1)->getType() === \RectorPrefix20220519\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_BRACE_OPEN) { + if ($state->token(1)->getType() === \RectorPrefix20220520\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_BRACE_OPEN) { $state->next(2); $this->parseNestedStatements($state->withContext($objectPath)); } @@ -85,42 +85,42 @@ class Parser implements \RectorPrefix20220519\Helmich\TypoScriptParser\Parser\Pa * @return void * @throws ParseError */ - private function parseToken(\RectorPrefix20220519\Helmich\TypoScriptParser\Parser\ParserState $state) : void + private function parseToken(\RectorPrefix20220520\Helmich\TypoScriptParser\Parser\ParserState $state) : void { switch ($state->token()->getType()) { - case \RectorPrefix20220519\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_OBJECT_IDENTIFIER: + case \RectorPrefix20220520\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_OBJECT_IDENTIFIER: $objectPath = $state->context()->append($state->token()->getValue()); $this->parseValueOperation($state->withContext($objectPath)); break; - case \RectorPrefix20220519\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_CONDITION: + case \RectorPrefix20220520\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_CONDITION: $this->parseCondition($state); break; - case \RectorPrefix20220519\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_INCLUDE: - case \RectorPrefix20220519\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_INCLUDE_NEW: + case \RectorPrefix20220520\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_INCLUDE: + case \RectorPrefix20220520\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_INCLUDE_NEW: $this->parseInclude($state); break; - case \RectorPrefix20220519\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_WHITESPACE: + case \RectorPrefix20220520\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_WHITESPACE: break; - case \RectorPrefix20220519\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_BRACE_CLOSE: + case \RectorPrefix20220520\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 \RectorPrefix20220519\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_COMMENT_ONELINE: + case \RectorPrefix20220520\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_COMMENT_ONELINE: $state->statements()->append($this->builder->comment($state->token()->getValue(), $state->token()->getLine())); break; - case \RectorPrefix20220519\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_COMMENT_MULTILINE: + case \RectorPrefix20220520\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_COMMENT_MULTILINE: $state->statements()->append($this->builder->multilineComment($state->token()->getValue(), $state->token()->getLine())); break; - case \RectorPrefix20220519\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_EMPTY_LINE: + case \RectorPrefix20220520\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_EMPTY_LINE: $state->statements()->append($this->builder->nop($state->token()->getLine())); break; default: - throw new \RectorPrefix20220519\Helmich\TypoScriptParser\Parser\ParseError(\sprintf('Unexpected token %s in line %d.', $state->token()->getType(), $state->token()->getLine()), 1403011202, $state->token()->getLine()); + throw new \RectorPrefix20220520\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 \RectorPrefix20220519\Helmich\TypoScriptParser\Parser\ParseError($message, $code, $line); + throw new \RectorPrefix20220520\Helmich\TypoScriptParser\Parser\ParseError($message, $code, $line); } } /** @@ -129,37 +129,37 @@ class Parser implements \RectorPrefix20220519\Helmich\TypoScriptParser\Parser\Pa * @return void * @throws ParseError */ - private function parseNestedStatements(\RectorPrefix20220519\Helmich\TypoScriptParser\Parser\ParserState $state, ?int $startLine = null) : void + private function parseNestedStatements(\RectorPrefix20220520\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() === \RectorPrefix20220519\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_OBJECT_IDENTIFIER) { + if ($state->token()->getType() === \RectorPrefix20220520\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() === \RectorPrefix20220519\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_BRACE_OPEN) { + if ($state->token(1)->getType() === \RectorPrefix20220520\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() === \RectorPrefix20220519\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_BRACE_CLOSE) { + if ($state->token()->getType() === \RectorPrefix20220520\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_BRACE_CLOSE) { $state->statements()->append($this->builder->nested($state->context(), $statements->getArrayCopy(), $startLine)); $state->next(); return; } } - throw new \RectorPrefix20220519\Helmich\TypoScriptParser\Parser\ParseError('Unterminated nested statement!'); + throw new \RectorPrefix20220520\Helmich\TypoScriptParser\Parser\ParseError('Unterminated nested statement!'); } /** * @param ParserState $state * @throws ParseError */ - private function parseCondition(\RectorPrefix20220519\Helmich\TypoScriptParser\Parser\ParserState $state) : void + private function parseCondition(\RectorPrefix20220520\Helmich\TypoScriptParser\Parser\ParserState $state) : void { if ($state->context()->depth() !== 0) { - throw new \RectorPrefix20220519\Helmich\TypoScriptParser\Parser\ParseError('Found condition statement inside nested assignment.', 1403011203, $state->token()->getLine()); + throw new \RectorPrefix20220520\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 \RectorPrefix20220519\Helmich\TypoScriptParser\Parser\Pa $subContext = $state->withStatements($ifStatements); $state->next(); for (; $state->hasNext(); $state->next()) { - if ($state->token()->getType() === \RectorPrefix20220519\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_CONDITION_END) { + if ($state->token()->getType() === \RectorPrefix20220520\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() === \RectorPrefix20220519\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_CONDITION_ELSE) { + } elseif ($state->token()->getType() === \RectorPrefix20220520\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() === \RectorPrefix20220519\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_CONDITION) { + } elseif ($state->token()->getType() === \RectorPrefix20220520\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() === \RectorPrefix20220519\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_OBJECT_IDENTIFIER) { + if ($state->token()->getType() === \RectorPrefix20220520\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_OBJECT_IDENTIFIER) { $objectPath = $this->builder->path($state->token()->getValue(), $state->token()->getValue()); - if ($state->token(1)->getType() === \RectorPrefix20220519\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_BRACE_OPEN) { + if ($state->token(1)->getType() === \RectorPrefix20220520\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 \RectorPrefix20220519\Helmich\TypoScriptParser\Parser\Pa /** * @param ParserState $state */ - private function parseInclude(\RectorPrefix20220519\Helmich\TypoScriptParser\Parser\ParserState $state) : void + private function parseInclude(\RectorPrefix20220520\Helmich\TypoScriptParser\Parser\ParserState $state) : void { $token = $state->token(); $extensions = null; @@ -206,8 +206,8 @@ class Parser implements \RectorPrefix20220519\Helmich\TypoScriptParser\Parser\Pa if ($optional !== null) { list($extensions, $condition) = $this->parseIncludeOptionals($optional, $token); } - if ($token->getType() === \RectorPrefix20220519\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_INCLUDE_NEW || $token->getSubMatch('type') === 'FILE') { - $node = $this->builder->includeFile($filename, $token->getType() === \RectorPrefix20220519\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_INCLUDE_NEW, $condition, $token->getLine()); + if ($token->getType() === \RectorPrefix20220520\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_INCLUDE_NEW || $token->getSubMatch('type') === 'FILE') { + $node = $this->builder->includeFile($filename, $token->getType() === \RectorPrefix20220520\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 \RectorPrefix20220519\Helmich\TypoScriptParser\Parser\Pa * @return array * @throws ParseError */ - private function parseIncludeOptionals(string $optional, \RectorPrefix20220519\Helmich\TypoScriptParser\Tokenizer\TokenInterface $token) : array + private function parseIncludeOptionals(string $optional, \RectorPrefix20220520\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 \RectorPrefix20220519\Helmich\TypoScriptParser\Parser\Pa switch ($key) { case "extensions": if ($token->getSubMatch('type') === 'FILE') { - throw new \RectorPrefix20220519\Helmich\TypoScriptParser\Parser\ParseError("FILE includes may not have an 'extension' attribute", 0, $token->getLine()); + throw new \RectorPrefix20220520\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 \RectorPrefix20220519\Helmich\TypoScriptParser\Parser\Pa $condition = $value; break; default: - throw new \RectorPrefix20220519\Helmich\TypoScriptParser\Parser\ParseError("unknown attribute '{$key}' found in INCLUDE statement", 0, $token->getLine()); + throw new \RectorPrefix20220520\Helmich\TypoScriptParser\Parser\ParseError("unknown attribute '{$key}' found in INCLUDE statement", 0, $token->getLine()); } } return [$extensions, $condition]; @@ -249,23 +249,23 @@ class Parser implements \RectorPrefix20220519\Helmich\TypoScriptParser\Parser\Pa * @param ParserState $state * @throws ParseError */ - private function parseValueOperation(\RectorPrefix20220519\Helmich\TypoScriptParser\Parser\ParserState $state) : void + private function parseValueOperation(\RectorPrefix20220520\Helmich\TypoScriptParser\Parser\ParserState $state) : void { switch ($state->token(1)->getType()) { - case \RectorPrefix20220519\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_OPERATOR_ASSIGNMENT: + case \RectorPrefix20220520\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_OPERATOR_ASSIGNMENT: $this->parseAssignment($state); break; - case \RectorPrefix20220519\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_OPERATOR_COPY: - case \RectorPrefix20220519\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_OPERATOR_REFERENCE: + case \RectorPrefix20220520\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_OPERATOR_COPY: + case \RectorPrefix20220520\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_OPERATOR_REFERENCE: $this->parseCopyOrReference($state); break; - case \RectorPrefix20220519\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_OPERATOR_MODIFY: + case \RectorPrefix20220520\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_OPERATOR_MODIFY: $this->parseModification($state); break; - case \RectorPrefix20220519\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_OPERATOR_DELETE: + case \RectorPrefix20220520\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_OPERATOR_DELETE: $this->parseDeletion($state); break; - case \RectorPrefix20220519\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_RIGHTVALUE_MULTILINE: + case \RectorPrefix20220520\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_RIGHTVALUE_MULTILINE: $this->parseMultilineAssigment($state); break; } @@ -273,19 +273,19 @@ class Parser implements \RectorPrefix20220519\Helmich\TypoScriptParser\Parser\Pa /** * @param ParserState $state */ - private function parseAssignment(\RectorPrefix20220519\Helmich\TypoScriptParser\Parser\ParserState $state) : void + private function parseAssignment(\RectorPrefix20220520\Helmich\TypoScriptParser\Parser\ParserState $state) : void { switch ($state->token(2)->getType()) { - case \RectorPrefix20220519\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_OBJECT_CONSTRUCTOR: + case \RectorPrefix20220520\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 \RectorPrefix20220519\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_RIGHTVALUE: + case \RectorPrefix20220520\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 \RectorPrefix20220519\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_WHITESPACE: - case \RectorPrefix20220519\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_EMPTY_LINE: + case \RectorPrefix20220520\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_WHITESPACE: + case \RectorPrefix20220520\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 \RectorPrefix20220519\Helmich\TypoScriptParser\Parser\Pa * @param ParserState $state * @throws ParseError */ - private function parseCopyOrReference(\RectorPrefix20220519\Helmich\TypoScriptParser\Parser\ParserState $state) : void + private function parseCopyOrReference(\RectorPrefix20220520\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() === \RectorPrefix20220519\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_OPERATOR_COPY ? 'copy' : 'reference'; + $type = $state->token(1)->getType() === \RectorPrefix20220520\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 \RectorPrefix20220519\Helmich\TypoScriptParser\Parser\Pa * @param ParserState $state * @throws ParseError */ - private function parseModification(\RectorPrefix20220519\Helmich\TypoScriptParser\Parser\ParserState $state) : void + private function parseModification(\RectorPrefix20220520\Helmich\TypoScriptParser\Parser\ParserState $state) : void { $token = $state->token(2); $this->validateModifyOperatorRightValue($token); @@ -322,11 +322,11 @@ class Parser implements \RectorPrefix20220519\Helmich\TypoScriptParser\Parser\Pa * @param ParserState $state * @throws ParseError */ - private function parseDeletion(\RectorPrefix20220519\Helmich\TypoScriptParser\Parser\ParserState $state) : void + private function parseDeletion(\RectorPrefix20220520\Helmich\TypoScriptParser\Parser\ParserState $state) : void { - $allowedTypesInDeletion = [\RectorPrefix20220519\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_WHITESPACE, \RectorPrefix20220519\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_EMPTY_LINE, \RectorPrefix20220519\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_COMMENT_ONELINE]; + $allowedTypesInDeletion = [\RectorPrefix20220520\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_WHITESPACE, \RectorPrefix20220520\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_EMPTY_LINE, \RectorPrefix20220520\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_COMMENT_ONELINE]; if (!\in_array($state->token(2)->getType(), $allowedTypesInDeletion, \true)) { - throw new \RectorPrefix20220519\Helmich\TypoScriptParser\Parser\ParseError('Unexpected token ' . $state->token(2)->getType() . ' after delete operator (expected line break).', 1403011201, $state->token()->getLine()); + throw new \RectorPrefix20220520\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 \RectorPrefix20220519\Helmich\TypoScriptParser\Parser\Pa /** * @param ParserState $state */ - private function parseMultilineAssigment(\RectorPrefix20220519\Helmich\TypoScriptParser\Parser\ParserState $state) : void + private function parseMultilineAssigment(\RectorPrefix20220520\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 \RectorPrefix20220519\Helmich\TypoScriptParser\Parser\Pa * @param TokenInterface $token * @throws ParseError */ - private function validateModifyOperatorRightValue(\RectorPrefix20220519\Helmich\TypoScriptParser\Tokenizer\TokenInterface $token) : void + private function validateModifyOperatorRightValue(\RectorPrefix20220520\Helmich\TypoScriptParser\Tokenizer\TokenInterface $token) : void { - if ($token->getType() !== \RectorPrefix20220519\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_OBJECT_MODIFIER) { - throw new \RectorPrefix20220519\Helmich\TypoScriptParser\Parser\ParseError('Unexpected token ' . $token->getType() . ' after modify operator.', 1403010294, $token->getLine()); + if ($token->getType() !== \RectorPrefix20220520\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_OBJECT_MODIFIER) { + throw new \RectorPrefix20220520\Helmich\TypoScriptParser\Parser\ParseError('Unexpected token ' . $token->getType() . ' after modify operator.', 1403010294, $token->getLine()); } } /** * @param TokenInterface $token * @throws ParseError */ - private function validateCopyOperatorRightValue(\RectorPrefix20220519\Helmich\TypoScriptParser\Tokenizer\TokenInterface $token) : void + private function validateCopyOperatorRightValue(\RectorPrefix20220520\Helmich\TypoScriptParser\Tokenizer\TokenInterface $token) : void { - if ($token->getType() !== \RectorPrefix20220519\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_OBJECT_IDENTIFIER) { - throw new \RectorPrefix20220519\Helmich\TypoScriptParser\Parser\ParseError('Unexpected token ' . $token->getType() . ' after copy operator.', 1403010294, $token->getLine()); + if ($token->getType() !== \RectorPrefix20220520\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_OBJECT_IDENTIFIER) { + throw new \RectorPrefix20220520\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 c5abddc9923..df5b8fb7454 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 \RectorPrefix20220519\Helmich\TypoScriptParser\Parser\AST\RootObjectPath(); + $this->context = new \RectorPrefix20220520\Helmich\TypoScriptParser\Parser\AST\RootObjectPath(); } - public function withContext(\RectorPrefix20220519\Helmich\TypoScriptParser\Parser\AST\ObjectPath $context) : self + public function withContext(\RectorPrefix20220520\Helmich\TypoScriptParser\Parser\AST\ObjectPath $context) : self { $clone = clone $this; $clone->context = $context; @@ -40,7 +40,7 @@ class ParserState * @param int $lookAhead * @return TokenInterface */ - public function token(int $lookAhead = 0) : \RectorPrefix20220519\Helmich\TypoScriptParser\Tokenizer\TokenInterface + public function token(int $lookAhead = 0) : \RectorPrefix20220520\Helmich\TypoScriptParser\Tokenizer\TokenInterface { return $this->tokens->current($lookAhead); } @@ -62,7 +62,7 @@ class ParserState /** * @return ObjectPath */ - public function context() : \RectorPrefix20220519\Helmich\TypoScriptParser\Parser\AST\ObjectPath + public function context() : \RectorPrefix20220520\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 536eb6bceae..7e53b9d09c0 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 ?? \RectorPrefix20220519\Helmich\TypoScriptParser\Parser\Printer\PrettyPrinterConfiguration::create(); + $this->prettyPrinterConfiguration = $prettyPrinterConfiguration ?? \RectorPrefix20220520\Helmich\TypoScriptParser\Parser\Printer\PrettyPrinterConfiguration::create(); } - public function setPrettyPrinterConfiguration(\RectorPrefix20220519\Helmich\TypoScriptParser\Parser\Printer\PrettyPrinterConfiguration $prettyPrinterConfiguration) : void + public function setPrettyPrinterConfiguration(\RectorPrefix20220520\Helmich\TypoScriptParser\Parser\Printer\PrettyPrinterConfiguration $prettyPrinterConfiguration) : void { $this->prettyPrinterConfiguration = $prettyPrinterConfiguration; } @@ -45,14 +45,14 @@ class PrettyPrinter implements \RectorPrefix20220519\Helmich\TypoScriptParser\Pa * @param OutputInterface $output * @return void */ - public function printStatements(array $statements, \RectorPrefix20220519\Symfony\Component\Console\Output\OutputInterface $output) : void + public function printStatements(array $statements, \RectorPrefix20220520\Symfony\Component\Console\Output\OutputInterface $output) : void { $this->printStatementList($statements, $output, 0); } private function trimTrailingNoops(array $statements) : array { $out = $statements; - while ($out[\count($out) - 1] instanceof \RectorPrefix20220519\Helmich\TypoScriptParser\Parser\AST\NopStatement) { + while ($out[\count($out) - 1] instanceof \RectorPrefix20220520\Helmich\TypoScriptParser\Parser\AST\NopStatement) { \array_pop($out); } return $out; @@ -63,7 +63,7 @@ class PrettyPrinter implements \RectorPrefix20220519\Helmich\TypoScriptParser\Pa * @param int $nesting * @return void */ - private function printStatementList(array $statements, \RectorPrefix20220519\Symfony\Component\Console\Output\OutputInterface $output, int $nesting = 0) : void + private function printStatementList(array $statements, \RectorPrefix20220520\Symfony\Component\Console\Output\OutputInterface $output, int $nesting = 0) : void { if ($nesting === 0) { $statements = $this->trimTrailingNoops($statements); @@ -72,27 +72,27 @@ class PrettyPrinter implements \RectorPrefix20220519\Helmich\TypoScriptParser\Pa $count = \count($statements); for ($i = 0; $i < $count; $i++) { $statement = $statements[$i]; - if ($statement instanceof \RectorPrefix20220519\Helmich\TypoScriptParser\Parser\AST\NestedAssignment) { + if ($statement instanceof \RectorPrefix20220520\Helmich\TypoScriptParser\Parser\AST\NestedAssignment) { $this->printNestedAssignment($output, $nesting, $statement); - } elseif ($statement instanceof \RectorPrefix20220519\Helmich\TypoScriptParser\Parser\AST\Operator\Assignment) { + } elseif ($statement instanceof \RectorPrefix20220520\Helmich\TypoScriptParser\Parser\AST\Operator\Assignment) { $this->printAssignment($output, $statement, $indent); - } elseif ($statement instanceof \RectorPrefix20220519\Helmich\TypoScriptParser\Parser\AST\Operator\BinaryObjectOperator) { + } elseif ($statement instanceof \RectorPrefix20220520\Helmich\TypoScriptParser\Parser\AST\Operator\BinaryObjectOperator) { $this->printBinaryObjectOperator($output, $statement, $nesting); - } elseif ($statement instanceof \RectorPrefix20220519\Helmich\TypoScriptParser\Parser\AST\Operator\Delete) { + } elseif ($statement instanceof \RectorPrefix20220520\Helmich\TypoScriptParser\Parser\AST\Operator\Delete) { $output->writeln($indent . $statement->object->relativeName . ' >'); - } elseif ($statement instanceof \RectorPrefix20220519\Helmich\TypoScriptParser\Parser\AST\Operator\Modification) { + } elseif ($statement instanceof \RectorPrefix20220520\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 \RectorPrefix20220519\Helmich\TypoScriptParser\Parser\AST\ConditionalStatement) { + } elseif ($statement instanceof \RectorPrefix20220520\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 \RectorPrefix20220519\Helmich\TypoScriptParser\Parser\AST\ConditionalStatement); - } elseif ($statement instanceof \RectorPrefix20220519\Helmich\TypoScriptParser\Parser\AST\IncludeStatement) { + $this->printConditionalStatement($output, $nesting, $statement, $next instanceof \RectorPrefix20220520\Helmich\TypoScriptParser\Parser\AST\ConditionalStatement); + } elseif ($statement instanceof \RectorPrefix20220520\Helmich\TypoScriptParser\Parser\AST\IncludeStatement) { $this->printIncludeStatement($output, $statement); - } elseif ($statement instanceof \RectorPrefix20220519\Helmich\TypoScriptParser\Parser\AST\Comment) { + } elseif ($statement instanceof \RectorPrefix20220520\Helmich\TypoScriptParser\Parser\AST\Comment) { $output->writeln($indent . $statement->comment); - } elseif ($statement instanceof \RectorPrefix20220519\Helmich\TypoScriptParser\Parser\AST\MultilineComment) { + } elseif ($statement instanceof \RectorPrefix20220520\Helmich\TypoScriptParser\Parser\AST\MultilineComment) { $output->writeln($indent . $statement->comment); - } elseif ($statement instanceof \RectorPrefix20220519\Helmich\TypoScriptParser\Parser\AST\NopStatement) { + } elseif ($statement instanceof \RectorPrefix20220520\Helmich\TypoScriptParser\Parser\AST\NopStatement) { $this->printNopStatement($output); } } @@ -101,24 +101,24 @@ class PrettyPrinter implements \RectorPrefix20220519\Helmich\TypoScriptParser\Pa { return \str_repeat($this->prettyPrinterConfiguration->getIndentation(), $nesting); } - private function printBinaryObjectOperator(\RectorPrefix20220519\Symfony\Component\Console\Output\OutputInterface $output, \RectorPrefix20220519\Helmich\TypoScriptParser\Parser\AST\Operator\BinaryObjectOperator $operator, int $nesting) : void + private function printBinaryObjectOperator(\RectorPrefix20220520\Symfony\Component\Console\Output\OutputInterface $output, \RectorPrefix20220520\Helmich\TypoScriptParser\Parser\AST\Operator\BinaryObjectOperator $operator, int $nesting) : void { $targetObjectPath = $operator->target->relativeName; - if ($operator instanceof \RectorPrefix20220519\Helmich\TypoScriptParser\Parser\AST\Operator\Copy) { + if ($operator instanceof \RectorPrefix20220520\Helmich\TypoScriptParser\Parser\AST\Operator\Copy) { $output->writeln($this->getIndent($nesting) . $operator->object->relativeName . ' < ' . $targetObjectPath); - } elseif ($operator instanceof \RectorPrefix20220519\Helmich\TypoScriptParser\Parser\AST\Operator\Reference) { + } elseif ($operator instanceof \RectorPrefix20220520\Helmich\TypoScriptParser\Parser\AST\Operator\Reference) { $output->writeln($this->getIndent($nesting) . $operator->object->relativeName . ' =< ' . $targetObjectPath); } } - private function printIncludeStatement(\RectorPrefix20220519\Symfony\Component\Console\Output\OutputInterface $output, \RectorPrefix20220519\Helmich\TypoScriptParser\Parser\AST\IncludeStatement $statement) : void + private function printIncludeStatement(\RectorPrefix20220520\Symfony\Component\Console\Output\OutputInterface $output, \RectorPrefix20220520\Helmich\TypoScriptParser\Parser\AST\IncludeStatement $statement) : void { - if ($statement instanceof \RectorPrefix20220519\Helmich\TypoScriptParser\Parser\AST\FileIncludeStatement) { + if ($statement instanceof \RectorPrefix20220520\Helmich\TypoScriptParser\Parser\AST\FileIncludeStatement) { $this->printFileIncludeStatement($output, $statement); - } elseif ($statement instanceof \RectorPrefix20220519\Helmich\TypoScriptParser\Parser\AST\DirectoryIncludeStatement) { + } elseif ($statement instanceof \RectorPrefix20220520\Helmich\TypoScriptParser\Parser\AST\DirectoryIncludeStatement) { $this->printDirectoryIncludeStatement($output, $statement); } } - private function printFileIncludeStatement(\RectorPrefix20220519\Symfony\Component\Console\Output\OutputInterface $output, \RectorPrefix20220519\Helmich\TypoScriptParser\Parser\AST\FileIncludeStatement $statement) : void + private function printFileIncludeStatement(\RectorPrefix20220520\Symfony\Component\Console\Output\OutputInterface $output, \RectorPrefix20220520\Helmich\TypoScriptParser\Parser\AST\FileIncludeStatement $statement) : void { if ($statement->newSyntax) { $output->writeln('@import \'' . $statement->filename . '\''); @@ -130,7 +130,7 @@ class PrettyPrinter implements \RectorPrefix20220519\Helmich\TypoScriptParser\Pa $output->writeln(''); } } - private function printDirectoryIncludeStatement(\RectorPrefix20220519\Symfony\Component\Console\Output\OutputInterface $output, \RectorPrefix20220519\Helmich\TypoScriptParser\Parser\AST\DirectoryIncludeStatement $statement) : void + private function printDirectoryIncludeStatement(\RectorPrefix20220520\Symfony\Component\Console\Output\OutputInterface $output, \RectorPrefix20220520\Helmich\TypoScriptParser\Parser\AST\DirectoryIncludeStatement $statement) : void { $attributes = ""; if ($statement->extensions) { @@ -147,7 +147,7 @@ class PrettyPrinter implements \RectorPrefix20220519\Helmich\TypoScriptParser\Pa * @param int $nesting * @param NestedAssignment $statement */ - private function printNestedAssignment(\RectorPrefix20220519\Symfony\Component\Console\Output\OutputInterface $output, $nesting, \RectorPrefix20220519\Helmich\TypoScriptParser\Parser\AST\NestedAssignment $statement) : void + private function printNestedAssignment(\RectorPrefix20220520\Symfony\Component\Console\Output\OutputInterface $output, $nesting, \RectorPrefix20220520\Helmich\TypoScriptParser\Parser\AST\NestedAssignment $statement) : void { $output->writeln($this->getIndent($nesting) . $statement->object->relativeName . ' {'); $this->printStatementList($statement->statements, $output, $nesting + 1); @@ -159,7 +159,7 @@ class PrettyPrinter implements \RectorPrefix20220519\Helmich\TypoScriptParser\Pa * @param ConditionalStatement $statement * @param bool $hasNext */ - private function printConditionalStatement(\RectorPrefix20220519\Symfony\Component\Console\Output\OutputInterface $output, int $nesting, \RectorPrefix20220519\Helmich\TypoScriptParser\Parser\AST\ConditionalStatement $statement, bool $hasNext = \false) : void + private function printConditionalStatement(\RectorPrefix20220520\Symfony\Component\Console\Output\OutputInterface $output, int $nesting, \RectorPrefix20220520\Helmich\TypoScriptParser\Parser\AST\ConditionalStatement $statement, bool $hasNext = \false) : void { $output->writeln($statement->condition); $this->printStatementList($statement->ifStatements, $output, $nesting); @@ -176,7 +176,7 @@ class PrettyPrinter implements \RectorPrefix20220519\Helmich\TypoScriptParser\Pa * @param Assignment $statement * @param string $indent */ - private function printAssignment(\RectorPrefix20220519\Symfony\Component\Console\Output\OutputInterface $output, \RectorPrefix20220519\Helmich\TypoScriptParser\Parser\AST\Operator\Assignment $statement, string $indent) : void + private function printAssignment(\RectorPrefix20220520\Symfony\Component\Console\Output\OutputInterface $output, \RectorPrefix20220520\Helmich\TypoScriptParser\Parser\AST\Operator\Assignment $statement, string $indent) : void { if (\strpos($statement->value->value, "\n") !== \false) { $output->writeln($indent . $statement->object->relativeName . ' ('); @@ -186,7 +186,7 @@ class PrettyPrinter implements \RectorPrefix20220519\Helmich\TypoScriptParser\Pa } $output->writeln($indent . $statement->object->relativeName . ' = ' . $statement->value->value); } - private function printNopStatement(\RectorPrefix20220519\Symfony\Component\Console\Output\OutputInterface $output) : void + private function printNopStatement(\RectorPrefix20220520\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 895d7264a3e..47a8595077d 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) : \RectorPrefix20220519\Helmich\TypoScriptParser\Tokenizer\TokenInterface + public function offsetGet($offset) : \RectorPrefix20220520\Helmich\TypoScriptParser\Tokenizer\TokenInterface { return $this->tokens[$offset]; } @@ -110,17 +110,17 @@ class TokenStream implements \Iterator, \ArrayAccess * * @return TokenStream */ - public function normalized() : \RectorPrefix20220519\Helmich\TypoScriptParser\Parser\TokenStream + public function normalized() : \RectorPrefix20220520\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() === \RectorPrefix20220519\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_WHITESPACE) { + if ($token->getType() === \RectorPrefix20220520\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_WHITESPACE) { $value = \trim($token->getValue(), "\t "); if (\strlen($value) > 0) { - $filteredTokens[] = new \RectorPrefix20220519\Helmich\TypoScriptParser\Tokenizer\Token(\RectorPrefix20220519\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_WHITESPACE, $value, $token->getLine(), $token->getColumn()); + $filteredTokens[] = new \RectorPrefix20220520\Helmich\TypoScriptParser\Tokenizer\Token(\RectorPrefix20220520\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_WHITESPACE, $value, $token->getLine(), $token->getColumn()); } } else { $filteredTokens[] = $token; @@ -129,8 +129,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 \RectorPrefix20220519\Helmich\TypoScriptParser\Tokenizer\Token(\RectorPrefix20220519\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_WHITESPACE, "\n", $maxLine + 1, 1); - $filteredTokens[] = new \RectorPrefix20220519\Helmich\TypoScriptParser\Tokenizer\Token(\RectorPrefix20220519\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_WHITESPACE, "\n", $maxLine + 2, 1); - return new \RectorPrefix20220519\Helmich\TypoScriptParser\Parser\TokenStream($filteredTokens); + $filteredTokens[] = new \RectorPrefix20220520\Helmich\TypoScriptParser\Tokenizer\Token(\RectorPrefix20220520\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_WHITESPACE, "\n", $maxLine + 1, 1); + $filteredTokens[] = new \RectorPrefix20220520\Helmich\TypoScriptParser\Tokenizer\Token(\RectorPrefix20220520\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_WHITESPACE, "\n", $maxLine + 2, 1); + return new \RectorPrefix20220520\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 8b1a0d78709..14ff154c0dc 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 958b54937e8..a987ce43e52 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 \RectorPrefix20220519\Helmich\TypoScriptParser\Parser\Traverser\AggregatingVisitor(); + $this->visitors = new \RectorPrefix20220520\Helmich\TypoScriptParser\Parser\Traverser\AggregatingVisitor(); } /** * @param Visitor $visitor */ - public function addVisitor(\RectorPrefix20220519\Helmich\TypoScriptParser\Parser\Traverser\Visitor $visitor) : void + public function addVisitor(\RectorPrefix20220520\Helmich\TypoScriptParser\Parser\Traverser\Visitor $visitor) : void { $this->visitors->addVisitor($visitor); } @@ -50,9 +50,9 @@ class Traverser { foreach ($statements as $statement) { $this->visitors->enterNode($statement); - if ($statement instanceof \RectorPrefix20220519\Helmich\TypoScriptParser\Parser\AST\NestedAssignment) { + if ($statement instanceof \RectorPrefix20220520\Helmich\TypoScriptParser\Parser\AST\NestedAssignment) { $statement->statements = $this->walkRecursive($statement->statements); - } elseif ($statement instanceof \RectorPrefix20220519\Helmich\TypoScriptParser\Parser\AST\ConditionalStatement) { + } elseif ($statement instanceof \RectorPrefix20220520\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('RectorPrefix20220519\\Helmich\\TypoScriptParser\\Parser\\Traverser\\Traverser', 'Helmich\\TypoScriptParser\\Parser\\Traverser\\Traverser', \false); +\class_alias('RectorPrefix20220520\\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 161a28e41ba..f007f2e51ae 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 \RectorPrefix20220519\Helmich\TypoScriptParser\Tokenizer\TokenizerException('cannot call "endMultilineToken" before calling "startMultilineToken"'); + throw new \RectorPrefix20220520\Helmich\TypoScriptParser\Tokenizer\TokenizerException('cannot call "endMultilineToken" before calling "startMultilineToken"'); } - $token = new \RectorPrefix20220519\Helmich\TypoScriptParser\Tokenizer\Token($type, \rtrim($value), $startLine, $startColumn); + $token = new \RectorPrefix20220520\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 e88bd53b2f6..eb0be4fa640 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 = \array_merge($this->processors, [$next]); diff --git a/vendor/helmich/typo3-typoscript-parser/src/Tokenizer/Preprocessing/RemoveTrailingWhitespacePreprocessor.php b/vendor/helmich/typo3-typoscript-parser/src/Tokenizer/Preprocessing/RemoveTrailingWhitespacePreprocessor.php index e4e0432bb02..11458ae5130 100644 --- a/vendor/helmich/typo3-typoscript-parser/src/Tokenizer/Preprocessing/RemoveTrailingWhitespacePreprocessor.php +++ b/vendor/helmich/typo3-typoscript-parser/src/Tokenizer/Preprocessing/RemoveTrailingWhitespacePreprocessor.php @@ -1,14 +1,14 @@ processors = [new \RectorPrefix20220519\Helmich\TypoScriptParser\Tokenizer\Preprocessing\UnifyLineEndingsPreprocessor($eolChar), new \RectorPrefix20220519\Helmich\TypoScriptParser\Tokenizer\Preprocessing\RemoveTrailingWhitespacePreprocessor($eolChar)]; + $this->processors = [new \RectorPrefix20220520\Helmich\TypoScriptParser\Tokenizer\Preprocessing\UnifyLineEndingsPreprocessor($eolChar), new \RectorPrefix20220520\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 322d1c1795a..0197420afb7 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 \RectorPrefix20220519\Symfony\Component\Yaml\Yaml(); + $this->yaml = $yaml ?: new \RectorPrefix20220520\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 ecbe428afca..41a72bf50e7 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() : \RectorPrefix20220519\Helmich\TypoScriptParser\Tokenizer\ScannerLine + public function current() : \RectorPrefix20220520\Helmich\TypoScriptParser\Tokenizer\ScannerLine { - return new \RectorPrefix20220519\Helmich\TypoScriptParser\Tokenizer\ScannerLine($this->index + 1, $this->lines[$this->index]); + return new \RectorPrefix20220520\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 99a7a42927d..96da16f50ab 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 \RectorPrefix20220519\Helmich\TypoScriptParser\Tokenizer\Token($type, $value, $line, $this->currentColumn, $patternMatches)); + $this->tokens->append(new \RectorPrefix20220520\Helmich\TypoScriptParser\Tokenizer\Token($type, $value, $line, $this->currentColumn, $patternMatches)); $this->currentColumn += \strlen($value); } /** @@ -49,7 +49,7 @@ class TokenStreamBuilder * @param TokenInterface $token The token to append * @return void */ - public function appendToken(\RectorPrefix20220519\Helmich\TypoScriptParser\Tokenizer\TokenInterface $token) : void + public function appendToken(\RectorPrefix20220520\Helmich\TypoScriptParser\Tokenizer\TokenInterface $token) : void { $this->tokens->append($token); } diff --git a/vendor/helmich/typo3-typoscript-parser/src/Tokenizer/Tokenizer.php b/vendor/helmich/typo3-typoscript-parser/src/Tokenizer/Tokenizer.php index 40f98a5fe2d..5ace6901990 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; @@ -70,39 +70,39 @@ class Tokenizer implements \RectorPrefix20220519\Helmich\TypoScriptParser\Tokeni public function tokenizeString(string $inputString) : array { $inputString = $this->preprocessor->preprocess($inputString); - $tokens = new \RectorPrefix20220519\Helmich\TypoScriptParser\Tokenizer\TokenStreamBuilder(); - $state = new \RectorPrefix20220519\Helmich\TypoScriptParser\Tokenizer\MultilineTokenBuilder(); + $tokens = new \RectorPrefix20220520\Helmich\TypoScriptParser\Tokenizer\TokenStreamBuilder(); + $state = new \RectorPrefix20220520\Helmich\TypoScriptParser\Tokenizer\MultilineTokenBuilder(); $lines = \explode($this->eolChar, $inputString); - $scanner = new \RectorPrefix20220519\Helmich\TypoScriptParser\Tokenizer\Scanner($lines); + $scanner = new \RectorPrefix20220520\Helmich\TypoScriptParser\Tokenizer\Scanner($lines); foreach ($scanner as $line) { $column = 1; if ($this->tokenizeMultilineToken($tokens, $state, $line)) { continue; } if (\trim($line->value()) === '') { - $tokens->append(\RectorPrefix20220519\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_EMPTY_LINE, $this->eolChar, $line->index()); + $tokens->append(\RectorPrefix20220520\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_EMPTY_LINE, $this->eolChar, $line->index()); continue; } if ($tokens->count() !== 0) { - $tokens->append(\RectorPrefix20220519\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_WHITESPACE, $this->eolChar, (int) ($line->index() - 1)); + $tokens->append(\RectorPrefix20220520\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_WHITESPACE, $this->eolChar, (int) ($line->index() - 1)); $column += 1; } if ($matches = $line->scan(self::TOKEN_WHITESPACE)) { - $tokens->append(\RectorPrefix20220519\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_WHITESPACE, $matches[0], $line->index()); + $tokens->append(\RectorPrefix20220520\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_WHITESPACE, $matches[0], $line->index()); $column += \strlen($matches[0]); } if ($line->peek(self::TOKEN_COMMENT_MULTILINE_BEGIN)) { - $state->startMultilineToken(\RectorPrefix20220519\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_COMMENT_MULTILINE, $line->value(), $line->index(), $column); + $state->startMultilineToken(\RectorPrefix20220520\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 \RectorPrefix20220519\Helmich\TypoScriptParser\Tokenizer\TokenizerException('Cannot tokenize line "' . $line . '"', 1403084444, null, $line->index()); + throw new \RectorPrefix20220520\Helmich\TypoScriptParser\Tokenizer\TokenizerException('Cannot tokenize line "' . $line . '"', 1403084444, null, $line->index()); } $currentTokenType = $state->currentTokenType(); if ($currentTokenType !== null) { - throw new \RectorPrefix20220519\Helmich\TypoScriptParser\Tokenizer\TokenizerException("Unterminated {$currentTokenType}!", 1403084445, null, \count($lines) - 1); + throw new \RectorPrefix20220520\Helmich\TypoScriptParser\Tokenizer\TokenizerException("Unterminated {$currentTokenType}!", 1403084445, null, \count($lines) - 1); } return $tokens->build()->getArrayCopy(); } @@ -127,19 +127,19 @@ class Tokenizer implements \RectorPrefix20220519\Helmich\TypoScriptParser\Tokeni { switch ($operator) { case '=': - return \RectorPrefix20220519\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_OPERATOR_ASSIGNMENT; + return \RectorPrefix20220520\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_OPERATOR_ASSIGNMENT; case '<': - return \RectorPrefix20220519\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_OPERATOR_COPY; + return \RectorPrefix20220520\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_OPERATOR_COPY; case '=<': - return \RectorPrefix20220519\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_OPERATOR_REFERENCE; + return \RectorPrefix20220520\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_OPERATOR_REFERENCE; case ':=': - return \RectorPrefix20220519\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_OPERATOR_MODIFY; + return \RectorPrefix20220520\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_OPERATOR_MODIFY; case '>': - return \RectorPrefix20220519\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_OPERATOR_DELETE; + return \RectorPrefix20220520\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_OPERATOR_DELETE; } // It should not be possible in any case to reach this point // @codeCoverageIgnoreStart - throw new \RectorPrefix20220519\Helmich\TypoScriptParser\Tokenizer\UnknownOperatorException('Unknown binary operator "' . $operator . '"!'); + throw new \RectorPrefix20220520\Helmich\TypoScriptParser\Tokenizer\UnknownOperatorException('Unknown binary operator "' . $operator . '"!'); // @codeCoverageIgnoreEnd } /** @@ -148,30 +148,30 @@ class Tokenizer implements \RectorPrefix20220519\Helmich\TypoScriptParser\Tokeni * @param $currentLine * @throws UnknownOperatorException */ - private function tokenizeBinaryObjectOperation(\RectorPrefix20220519\Helmich\TypoScriptParser\Tokenizer\TokenStreamBuilder $tokens, array $matches, int $currentLine) : void + private function tokenizeBinaryObjectOperation(\RectorPrefix20220520\Helmich\TypoScriptParser\Tokenizer\TokenStreamBuilder $tokens, array $matches, int $currentLine) : void { $tokens->append($this->getTokenTypeForBinaryOperator($matches[3]), $matches[3], $currentLine); if ($matches[4]) { - $tokens->append(\RectorPrefix20220519\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_WHITESPACE, $matches[4], $currentLine); + $tokens->append(\RectorPrefix20220520\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_WHITESPACE, $matches[4], $currentLine); } if (($matches[3] === '<' || $matches[3] === '=<') && \preg_match(self::TOKEN_OBJECT_REFERENCE, $matches[5])) { - $tokens->append(\RectorPrefix20220519\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_OBJECT_IDENTIFIER, $matches[5], $currentLine); + $tokens->append(\RectorPrefix20220520\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(\RectorPrefix20220519\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_OBJECT_MODIFIER, $matches[5], $currentLine, $subMatches); + $tokens->append(\RectorPrefix20220520\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_OBJECT_MODIFIER, $matches[5], $currentLine, $subMatches); return; } if (\preg_match(self::TOKEN_OBJECT_NAME, $matches[5])) { - $tokens->append(\RectorPrefix20220519\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_OBJECT_CONSTRUCTOR, $matches[5], $currentLine); + $tokens->append(\RectorPrefix20220520\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_OBJECT_CONSTRUCTOR, $matches[5], $currentLine); return; } if ($matches[3] == '>' && \preg_match(self::TOKEN_COMMENT_ONELINE, $matches[5])) { - $tokens->append(\RectorPrefix20220519\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_COMMENT_ONELINE, $matches[5], $currentLine); + $tokens->append(\RectorPrefix20220520\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_COMMENT_ONELINE, $matches[5], $currentLine); return; } if (\strlen($matches[5])) { - $tokens->append(\RectorPrefix20220519\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_RIGHTVALUE, $matches[5], $currentLine); + $tokens->append(\RectorPrefix20220520\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_RIGHTVALUE, $matches[5], $currentLine); return; } } @@ -181,13 +181,13 @@ class Tokenizer implements \RectorPrefix20220519\Helmich\TypoScriptParser\Tokeni * @param ScannerLine $line * @return bool */ - private function tokenizeMultilineToken(\RectorPrefix20220519\Helmich\TypoScriptParser\Tokenizer\TokenStreamBuilder $tokens, \RectorPrefix20220519\Helmich\TypoScriptParser\Tokenizer\MultilineTokenBuilder $state, \RectorPrefix20220519\Helmich\TypoScriptParser\Tokenizer\ScannerLine $line) : bool + private function tokenizeMultilineToken(\RectorPrefix20220520\Helmich\TypoScriptParser\Tokenizer\TokenStreamBuilder $tokens, \RectorPrefix20220520\Helmich\TypoScriptParser\Tokenizer\MultilineTokenBuilder $state, \RectorPrefix20220520\Helmich\TypoScriptParser\Tokenizer\ScannerLine $line) : bool { - if ($state->currentTokenType() === \RectorPrefix20220519\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_COMMENT_MULTILINE) { + if ($state->currentTokenType() === \RectorPrefix20220520\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_COMMENT_MULTILINE) { $this->tokenizeMultilineComment($tokens, $state, $line); return \true; } - if ($state->currentTokenType() === \RectorPrefix20220519\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_RIGHTVALUE_MULTILINE) { + if ($state->currentTokenType() === \RectorPrefix20220520\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_RIGHTVALUE_MULTILINE) { $this->tokenizeMultilineAssignment($tokens, $state, $line); return \true; } @@ -199,7 +199,7 @@ class Tokenizer implements \RectorPrefix20220519\Helmich\TypoScriptParser\Tokeni * @param ScannerLine $line * @return void */ - private function tokenizeMultilineComment(\RectorPrefix20220519\Helmich\TypoScriptParser\Tokenizer\TokenStreamBuilder $tokens, \RectorPrefix20220519\Helmich\TypoScriptParser\Tokenizer\MultilineTokenBuilder $state, \RectorPrefix20220519\Helmich\TypoScriptParser\Tokenizer\ScannerLine $line) : void + private function tokenizeMultilineComment(\RectorPrefix20220520\Helmich\TypoScriptParser\Tokenizer\TokenStreamBuilder $tokens, \RectorPrefix20220520\Helmich\TypoScriptParser\Tokenizer\MultilineTokenBuilder $state, \RectorPrefix20220520\Helmich\TypoScriptParser\Tokenizer\ScannerLine $line) : void { if ($matches = $line->scan(self::TOKEN_WHITESPACE)) { $state->appendToToken(\trim($matches[0])); @@ -216,7 +216,7 @@ class Tokenizer implements \RectorPrefix20220519\Helmich\TypoScriptParser\Tokeni * @param $state * @param $line */ - private function tokenizeMultilineAssignment(\RectorPrefix20220519\Helmich\TypoScriptParser\Tokenizer\TokenStreamBuilder $tokens, \RectorPrefix20220519\Helmich\TypoScriptParser\Tokenizer\MultilineTokenBuilder $state, \RectorPrefix20220519\Helmich\TypoScriptParser\Tokenizer\ScannerLine $line) : void + private function tokenizeMultilineAssignment(\RectorPrefix20220520\Helmich\TypoScriptParser\Tokenizer\TokenStreamBuilder $tokens, \RectorPrefix20220520\Helmich\TypoScriptParser\Tokenizer\MultilineTokenBuilder $state, \RectorPrefix20220520\Helmich\TypoScriptParser\Tokenizer\ScannerLine $line) : void { if ($line->peek(',^\\s*\\),')) { $token = $state->endMultilineToken(); @@ -230,9 +230,9 @@ class Tokenizer implements \RectorPrefix20220519\Helmich\TypoScriptParser\Tokeni * @param ScannerLine $line * @return bool */ - private function tokenizeSimpleStatements(\RectorPrefix20220519\Helmich\TypoScriptParser\Tokenizer\TokenStreamBuilder $tokens, \RectorPrefix20220519\Helmich\TypoScriptParser\Tokenizer\ScannerLine $line) : bool + private function tokenizeSimpleStatements(\RectorPrefix20220520\Helmich\TypoScriptParser\Tokenizer\TokenStreamBuilder $tokens, \RectorPrefix20220520\Helmich\TypoScriptParser\Tokenizer\ScannerLine $line) : bool { - $simpleTokens = [self::TOKEN_COMMENT_ONELINE => \RectorPrefix20220519\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_COMMENT_ONELINE, self::TOKEN_NESTING_END => \RectorPrefix20220519\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_BRACE_CLOSE, self::TOKEN_CONDITION_ELSE => \RectorPrefix20220519\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_CONDITION_ELSE, self::TOKEN_CONDITION_END => \RectorPrefix20220519\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_CONDITION_END, self::TOKEN_CONDITION => \RectorPrefix20220519\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_CONDITION, self::TOKEN_INCLUDE_STATEMENT => \RectorPrefix20220519\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_INCLUDE, self::TOKEN_INCLUDE_NEW_STATEMENT => \RectorPrefix20220519\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_INCLUDE_NEW]; + $simpleTokens = [self::TOKEN_COMMENT_ONELINE => \RectorPrefix20220520\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_COMMENT_ONELINE, self::TOKEN_NESTING_END => \RectorPrefix20220520\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_BRACE_CLOSE, self::TOKEN_CONDITION_ELSE => \RectorPrefix20220520\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_CONDITION_ELSE, self::TOKEN_CONDITION_END => \RectorPrefix20220520\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_CONDITION_END, self::TOKEN_CONDITION => \RectorPrefix20220520\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_CONDITION, self::TOKEN_INCLUDE_STATEMENT => \RectorPrefix20220520\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_INCLUDE, self::TOKEN_INCLUDE_NEW_STATEMENT => \RectorPrefix20220520\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); @@ -247,20 +247,20 @@ class Tokenizer implements \RectorPrefix20220519\Helmich\TypoScriptParser\Tokeni * @param $line * @return bool */ - private function tokenizeObjectOperation(\RectorPrefix20220519\Helmich\TypoScriptParser\Tokenizer\TokenStreamBuilder $tokens, \RectorPrefix20220519\Helmich\TypoScriptParser\Tokenizer\MultilineTokenBuilder $state, \RectorPrefix20220519\Helmich\TypoScriptParser\Tokenizer\ScannerLine $line) : bool + private function tokenizeObjectOperation(\RectorPrefix20220520\Helmich\TypoScriptParser\Tokenizer\TokenStreamBuilder $tokens, \RectorPrefix20220520\Helmich\TypoScriptParser\Tokenizer\MultilineTokenBuilder $state, \RectorPrefix20220520\Helmich\TypoScriptParser\Tokenizer\ScannerLine $line) : bool { if ($matches = $line->scan(self::TOKEN_OPERATOR_LINE)) { - $tokens->append(\RectorPrefix20220519\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_OBJECT_IDENTIFIER, $matches[1], $line->index()); + $tokens->append(\RectorPrefix20220520\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_OBJECT_IDENTIFIER, $matches[1], $line->index()); if ($matches[2]) { - $tokens->append(\RectorPrefix20220519\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_WHITESPACE, $matches[2], $line->index()); + $tokens->append(\RectorPrefix20220520\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(\RectorPrefix20220519\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_BRACE_OPEN, $matches[3], $line->index()); + $tokens->append(\RectorPrefix20220520\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_BRACE_OPEN, $matches[3], $line->index()); } elseif ($matches[3] == '(') { - $state->startMultilineToken(\RectorPrefix20220519\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_RIGHTVALUE_MULTILINE, '', $line->index(), $tokens->currentColumn()); + $state->startMultilineToken(\RectorPrefix20220520\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 a8c2fe98794..df6152ef76c 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 c3f54a43b62..257f2570af7 100644 --- a/vendor/idiosyncratic/editorconfig/composer.json +++ b/vendor/idiosyncratic/editorconfig/composer.json @@ -32,12 +32,12 @@ }, "autoload": { "psr-4": { - "RectorPrefix20220519\\Idiosyncratic\\EditorConfig\\": "src" + "RectorPrefix20220520\\Idiosyncratic\\EditorConfig\\": "src" } }, "autoload-dev": { "psr-4": { - "RectorPrefix20220519\\Idiosyncratic\\EditorConfig\\": "tests" + "RectorPrefix20220520\\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 e82493803ad..369c4040449 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 \RectorPrefix20220520\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 5ba92c4cf93..3c5e5223ff7 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 \RectorPrefix20220520\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 aea688cc800..91057f69485 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 \RectorPrefix20220520\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 3ccf0434bca..56cbb11d64d 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 \RectorPrefix20220519\Idiosyncratic\EditorConfig\Declaration\GenericDeclaration($name, $value); + return new \RectorPrefix20220520\Idiosyncratic\EditorConfig\Declaration\GenericDeclaration($name, $value); } /** * @param mixed $value */ - public function getIndentStyle($value) : \RectorPrefix20220519\Idiosyncratic\EditorConfig\Declaration\IndentStyle + public function getIndentStyle($value) : \RectorPrefix20220520\Idiosyncratic\EditorConfig\Declaration\IndentStyle { - return new \RectorPrefix20220519\Idiosyncratic\EditorConfig\Declaration\IndentStyle($value); + return new \RectorPrefix20220520\Idiosyncratic\EditorConfig\Declaration\IndentStyle($value); } /** * @param mixed $value */ - public function getCharset($value) : \RectorPrefix20220519\Idiosyncratic\EditorConfig\Declaration\Charset + public function getCharset($value) : \RectorPrefix20220520\Idiosyncratic\EditorConfig\Declaration\Charset { - return new \RectorPrefix20220519\Idiosyncratic\EditorConfig\Declaration\Charset($value); + return new \RectorPrefix20220520\Idiosyncratic\EditorConfig\Declaration\Charset($value); } /** * @param mixed $value */ - public function getEndOfLine($value) : \RectorPrefix20220519\Idiosyncratic\EditorConfig\Declaration\EndOfLine + public function getEndOfLine($value) : \RectorPrefix20220520\Idiosyncratic\EditorConfig\Declaration\EndOfLine { - return new \RectorPrefix20220519\Idiosyncratic\EditorConfig\Declaration\EndOfLine($value); + return new \RectorPrefix20220520\Idiosyncratic\EditorConfig\Declaration\EndOfLine($value); } /** * @param mixed $value */ - public function getInsertFinalNewline($value) : \RectorPrefix20220519\Idiosyncratic\EditorConfig\Declaration\InsertFinalNewline + public function getInsertFinalNewline($value) : \RectorPrefix20220520\Idiosyncratic\EditorConfig\Declaration\InsertFinalNewline { - return new \RectorPrefix20220519\Idiosyncratic\EditorConfig\Declaration\InsertFinalNewline($value); + return new \RectorPrefix20220520\Idiosyncratic\EditorConfig\Declaration\InsertFinalNewline($value); } /** * @param mixed $value */ - public function getTrimTrailingWhitespace($value) : \RectorPrefix20220519\Idiosyncratic\EditorConfig\Declaration\TrimTrailingWhitespace + public function getTrimTrailingWhitespace($value) : \RectorPrefix20220520\Idiosyncratic\EditorConfig\Declaration\TrimTrailingWhitespace { - return new \RectorPrefix20220519\Idiosyncratic\EditorConfig\Declaration\TrimTrailingWhitespace($value); + return new \RectorPrefix20220520\Idiosyncratic\EditorConfig\Declaration\TrimTrailingWhitespace($value); } /** * @param mixed $value */ - public function getIndentSize($value) : \RectorPrefix20220519\Idiosyncratic\EditorConfig\Declaration\IndentSize + public function getIndentSize($value) : \RectorPrefix20220520\Idiosyncratic\EditorConfig\Declaration\IndentSize { - return new \RectorPrefix20220519\Idiosyncratic\EditorConfig\Declaration\IndentSize($value); + return new \RectorPrefix20220520\Idiosyncratic\EditorConfig\Declaration\IndentSize($value); } /** * @param mixed $value */ - public function getTabWidth($value) : \RectorPrefix20220519\Idiosyncratic\EditorConfig\Declaration\TabWidth + public function getTabWidth($value) : \RectorPrefix20220520\Idiosyncratic\EditorConfig\Declaration\TabWidth { - return new \RectorPrefix20220519\Idiosyncratic\EditorConfig\Declaration\TabWidth($value); + return new \RectorPrefix20220520\Idiosyncratic\EditorConfig\Declaration\TabWidth($value); } /** * @param mixed $value */ - public function getMaxLineLength($value) : \RectorPrefix20220519\Idiosyncratic\EditorConfig\Declaration\MaxLineLength + public function getMaxLineLength($value) : \RectorPrefix20220520\Idiosyncratic\EditorConfig\Declaration\MaxLineLength { - return new \RectorPrefix20220519\Idiosyncratic\EditorConfig\Declaration\MaxLineLength($value); + return new \RectorPrefix20220520\Idiosyncratic\EditorConfig\Declaration\MaxLineLength($value); } } diff --git a/vendor/idiosyncratic/editorconfig/src/Declaration/GenericDeclaration.php b/vendor/idiosyncratic/editorconfig/src/Declaration/GenericDeclaration.php index d17322b8e3f..98b0669daff 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 \RectorPrefix20220520\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 bc41f724d57..38bdd1f0810 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 \RectorPrefix20220520\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 a7a988c633f..ad4df466959 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 \RectorPrefix20220520\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 4d2a14efa68..08bd611e763 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 \RectorPrefix20220520\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 ff48c98f431..71a892d0cba 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 \RectorPrefix20220519\Idiosyncratic\EditorConfig\EditorConfigFile($path)); + return $this->configFiles[$path] ?? ($this->configFiles[$path] = new \RectorPrefix20220520\Idiosyncratic\EditorConfig\EditorConfigFile($path)); } } diff --git a/vendor/idiosyncratic/editorconfig/src/EditorConfigFile.php b/vendor/idiosyncratic/editorconfig/src/EditorConfigFile.php index c89a5deeb99..3564f0d2997 100644 --- a/vendor/idiosyncratic/editorconfig/src/EditorConfigFile.php +++ b/vendor/idiosyncratic/editorconfig/src/EditorConfigFile.php @@ -1,10 +1,10 @@ declarationFactory = $declarationFactory ?? new \RectorPrefix20220519\Idiosyncratic\EditorConfig\Declaration\Factory(); + $this->declarationFactory = $declarationFactory ?? new \RectorPrefix20220520\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)); } @@ -84,13 +84,13 @@ final class EditorConfigFile if (\is_array($declarations) === \false) { continue; } - $this->sections[] = new \RectorPrefix20220519\Idiosyncratic\EditorConfig\Section($this->getGlobPrefix($glob), $glob, $declarations, $this->declarationFactory); + $this->sections[] = new \RectorPrefix20220520\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 \RectorPrefix20220519\Idiosyncratic\EditorConfig\Exception\InvalidValue('root', $isRoot); + throw new \RectorPrefix20220520\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 43a2b24f539..41f5550b934 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, \RectorPrefix20220519\Idiosyncratic\EditorConfig\Declaration\Factory $declarationFactory) + public function __construct(string $globPrefix, string $glob, array $declarations, \RectorPrefix20220520\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 e1f93aaf35f..c7e80792055 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(\RectorPrefix20220519\Idiosyncratic\EditorConfig\Exception\InvalidValue::class); - $declaration = new \RectorPrefix20220519\Idiosyncratic\EditorConfig\Declaration\Charset('true'); - $this->expectException(\RectorPrefix20220519\Idiosyncratic\EditorConfig\Exception\InvalidValue::class); - $declaration = new \RectorPrefix20220519\Idiosyncratic\EditorConfig\Declaration\Charset('spaces'); + $this->expectException(\RectorPrefix20220520\Idiosyncratic\EditorConfig\Exception\InvalidValue::class); + $declaration = new \RectorPrefix20220520\Idiosyncratic\EditorConfig\Declaration\Charset('true'); + $this->expectException(\RectorPrefix20220520\Idiosyncratic\EditorConfig\Exception\InvalidValue::class); + $declaration = new \RectorPrefix20220520\Idiosyncratic\EditorConfig\Declaration\Charset('spaces'); } } diff --git a/vendor/idiosyncratic/editorconfig/tests/Declaration/EndOfLineTest.php b/vendor/idiosyncratic/editorconfig/tests/Declaration/EndOfLineTest.php index eb78d10aced..1bef9cabbb6 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 \RectorPrefix20220519\Idiosyncratic\EditorConfig\Declaration\EndOfLine('true'); + $declaration = new \RectorPrefix20220520\Idiosyncratic\EditorConfig\Declaration\EndOfLine('true'); $this->expectException(\DomainException::class); - $declaration = new \RectorPrefix20220519\Idiosyncratic\EditorConfig\Declaration\EndOfLine('spaces'); + $declaration = new \RectorPrefix20220520\Idiosyncratic\EditorConfig\Declaration\EndOfLine('spaces'); } } diff --git a/vendor/idiosyncratic/editorconfig/tests/Declaration/FactoryTest.php b/vendor/idiosyncratic/editorconfig/tests/Declaration/FactoryTest.php index bfaddd598f5..224c36639d2 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 \RectorPrefix20220519\Idiosyncratic\EditorConfig\Declaration\Factory(); + $factory = new \RectorPrefix20220520\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 \RectorPrefix20220519\PHPUnit\Framework\TestCase } public function testUnsetDeclaration() { - $factory = new \RectorPrefix20220519\Idiosyncratic\EditorConfig\Declaration\Factory(); + $factory = new \RectorPrefix20220520\Idiosyncratic\EditorConfig\Declaration\Factory(); $indentSize = $factory->getDeclaration('indent_size', 'unset'); - $this->assertInstanceOf(\RectorPrefix20220519\Idiosyncratic\EditorConfig\Declaration\UnsetDeclaration::class, $indentSize); + $this->assertInstanceOf(\RectorPrefix20220520\Idiosyncratic\EditorConfig\Declaration\UnsetDeclaration::class, $indentSize); } public function testUnknownDeclaration() { - $factory = new \RectorPrefix20220519\Idiosyncratic\EditorConfig\Declaration\Factory(); + $factory = new \RectorPrefix20220520\Idiosyncratic\EditorConfig\Declaration\Factory(); $justification = $factory->getDeclaration('justification', 'left'); - $this->assertInstanceOf(\RectorPrefix20220519\Idiosyncratic\EditorConfig\Declaration\GenericDeclaration::class, $justification); + $this->assertInstanceOf(\RectorPrefix20220520\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 00f130f8daf..b52dc4105a4 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 \RectorPrefix20220519\Idiosyncratic\EditorConfig\Declaration\GenericDeclaration('declaration', 'string'); + $declaration = new \RectorPrefix20220520\Idiosyncratic\EditorConfig\Declaration\GenericDeclaration('declaration', 'string'); $this->assertIsString($declaration->getValue()); $this->assertEquals('string', $declaration->getValue()); - $declaration = new \RectorPrefix20220519\Idiosyncratic\EditorConfig\Declaration\GenericDeclaration('declaration', '1'); + $declaration = new \RectorPrefix20220520\Idiosyncratic\EditorConfig\Declaration\GenericDeclaration('declaration', '1'); $this->assertIsInt($declaration->getValue()); $this->assertSame(1, $declaration->getValue()); $this->assertSame('1', $declaration->getStringValue()); - $declaration = new \RectorPrefix20220519\Idiosyncratic\EditorConfig\Declaration\GenericDeclaration('declaration', 'true'); + $declaration = new \RectorPrefix20220520\Idiosyncratic\EditorConfig\Declaration\GenericDeclaration('declaration', 'true'); $this->assertIsBool($declaration->getValue()); $this->assertTrue($declaration->getValue()); $this->assertSame('true', $declaration->getStringValue()); - $declaration = new \RectorPrefix20220519\Idiosyncratic\EditorConfig\Declaration\GenericDeclaration('declaration', '1.1'); + $declaration = new \RectorPrefix20220520\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 \RectorPrefix20220519\Idiosyncratic\EditorConfig\Declaration\GenericDeclaration('declaration', 'string'); + $declaration = new \RectorPrefix20220520\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 c8d6a92a638..6487225053f 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 \RectorPrefix20220519\Idiosyncratic\EditorConfig\Declaration\IndentSize('4'); + $declaration = new \RectorPrefix20220520\Idiosyncratic\EditorConfig\Declaration\IndentSize('4'); $this->assertEquals('indent_size=4', (string) $declaration); $this->assertSame(4, $declaration->getValue()); } public function testInvalidValueType() { - $this->expectException(\RectorPrefix20220519\Idiosyncratic\EditorConfig\Exception\InvalidValue::class); - $declaration = new \RectorPrefix20220519\Idiosyncratic\EditorConfig\Declaration\IndentSize('true'); + $this->expectException(\RectorPrefix20220520\Idiosyncratic\EditorConfig\Exception\InvalidValue::class); + $declaration = new \RectorPrefix20220520\Idiosyncratic\EditorConfig\Declaration\IndentSize('true'); } public function testInvalidValueValue() { - $this->expectException(\RectorPrefix20220519\Idiosyncratic\EditorConfig\Exception\InvalidValue::class); - $declaration = new \RectorPrefix20220519\Idiosyncratic\EditorConfig\Declaration\IndentSize('four'); + $this->expectException(\RectorPrefix20220520\Idiosyncratic\EditorConfig\Exception\InvalidValue::class); + $declaration = new \RectorPrefix20220520\Idiosyncratic\EditorConfig\Declaration\IndentSize('four'); } public function testInvalidNegativeIntegerValue() { - $this->expectException(\RectorPrefix20220519\Idiosyncratic\EditorConfig\Exception\InvalidValue::class); - $declaration = new \RectorPrefix20220519\Idiosyncratic\EditorConfig\Declaration\IndentSize('-1'); + $this->expectException(\RectorPrefix20220520\Idiosyncratic\EditorConfig\Exception\InvalidValue::class); + $declaration = new \RectorPrefix20220520\Idiosyncratic\EditorConfig\Declaration\IndentSize('-1'); } } diff --git a/vendor/idiosyncratic/editorconfig/tests/Declaration/IndentStyleTest.php b/vendor/idiosyncratic/editorconfig/tests/Declaration/IndentStyleTest.php index 0414a76fbe2..c591c5d5b0d 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 \RectorPrefix20220519\Idiosyncratic\EditorConfig\Declaration\IndentStyle('space'); + $declaration = new \RectorPrefix20220520\Idiosyncratic\EditorConfig\Declaration\IndentStyle('space'); $this->assertEquals('indent_style', $declaration->getName()); $this->assertEquals('space', $declaration->getValue()); } public function testInvalidValues() { - $this->expectException(\RectorPrefix20220519\Idiosyncratic\EditorConfig\Exception\InvalidValue::class); - $declaration = new \RectorPrefix20220519\Idiosyncratic\EditorConfig\Declaration\IndentStyle('true'); - $this->expectException(\RectorPrefix20220519\Idiosyncratic\EditorConfig\Exception\InvalidValue::class); - $declaration = new \RectorPrefix20220519\Idiosyncratic\EditorConfig\Declaration\IndentStyle('spaces'); + $this->expectException(\RectorPrefix20220520\Idiosyncratic\EditorConfig\Exception\InvalidValue::class); + $declaration = new \RectorPrefix20220520\Idiosyncratic\EditorConfig\Declaration\IndentStyle('true'); + $this->expectException(\RectorPrefix20220520\Idiosyncratic\EditorConfig\Exception\InvalidValue::class); + $declaration = new \RectorPrefix20220520\Idiosyncratic\EditorConfig\Declaration\IndentStyle('spaces'); } } diff --git a/vendor/idiosyncratic/editorconfig/tests/Declaration/InsertFinalNewlineTest.php b/vendor/idiosyncratic/editorconfig/tests/Declaration/InsertFinalNewlineTest.php index 6407c6cece3..5ff97109806 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 \RectorPrefix20220519\Idiosyncratic\EditorConfig\Declaration\InsertFinalNewline('true'); + $declaration = new \RectorPrefix20220520\Idiosyncratic\EditorConfig\Declaration\InsertFinalNewline('true'); $this->assertEquals('insert_final_newline=true', (string) $declaration); } public function testInvalidValues() { - $this->expectException(\RectorPrefix20220519\Idiosyncratic\EditorConfig\Exception\InvalidValue::class); - $declaration = new \RectorPrefix20220519\Idiosyncratic\EditorConfig\Declaration\InsertFinalNewline('4'); - $this->expectException(\RectorPrefix20220519\Idiosyncratic\EditorConfig\Exception\InvalidValue::class); - $declaration = new \RectorPrefix20220519\Idiosyncratic\EditorConfig\Declaration\InsertFinalNewline('four'); + $this->expectException(\RectorPrefix20220520\Idiosyncratic\EditorConfig\Exception\InvalidValue::class); + $declaration = new \RectorPrefix20220520\Idiosyncratic\EditorConfig\Declaration\InsertFinalNewline('4'); + $this->expectException(\RectorPrefix20220520\Idiosyncratic\EditorConfig\Exception\InvalidValue::class); + $declaration = new \RectorPrefix20220520\Idiosyncratic\EditorConfig\Declaration\InsertFinalNewline('four'); } } diff --git a/vendor/idiosyncratic/editorconfig/tests/Declaration/MaxLineLengthTest.php b/vendor/idiosyncratic/editorconfig/tests/Declaration/MaxLineLengthTest.php index e29fe5a7d93..22687629fba 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 \RectorPrefix20220519\Idiosyncratic\EditorConfig\Declaration\MaxLineLength('4'); + $declaration = new \RectorPrefix20220520\Idiosyncratic\EditorConfig\Declaration\MaxLineLength('4'); $this->assertEquals('max_line_length=4', (string) $declaration); $this->assertSame(4, $declaration->getValue()); } public function testInvalidValues() { - $this->expectException(\RectorPrefix20220519\Idiosyncratic\EditorConfig\Exception\InvalidValue::class); - $declaration = new \RectorPrefix20220519\Idiosyncratic\EditorConfig\Declaration\MaxLineLength('true'); - $this->expectException(\RectorPrefix20220519\Idiosyncratic\EditorConfig\Exception\InvalidValue::class); - $declaration = new \RectorPrefix20220519\Idiosyncratic\EditorConfig\Declaration\MaxLineLength('four'); - $this->expectException(\RectorPrefix20220519\Idiosyncratic\EditorConfig\Exception\InvalidValue::class); - $declaration = new \RectorPrefix20220519\Idiosyncratic\EditorConfig\Declaration\MaxLineLength('-1'); + $this->expectException(\RectorPrefix20220520\Idiosyncratic\EditorConfig\Exception\InvalidValue::class); + $declaration = new \RectorPrefix20220520\Idiosyncratic\EditorConfig\Declaration\MaxLineLength('true'); + $this->expectException(\RectorPrefix20220520\Idiosyncratic\EditorConfig\Exception\InvalidValue::class); + $declaration = new \RectorPrefix20220520\Idiosyncratic\EditorConfig\Declaration\MaxLineLength('four'); + $this->expectException(\RectorPrefix20220520\Idiosyncratic\EditorConfig\Exception\InvalidValue::class); + $declaration = new \RectorPrefix20220520\Idiosyncratic\EditorConfig\Declaration\MaxLineLength('-1'); } } diff --git a/vendor/idiosyncratic/editorconfig/tests/Declaration/TabWidthTest.php b/vendor/idiosyncratic/editorconfig/tests/Declaration/TabWidthTest.php index 0501839f68f..21dbfe558a3 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(\RectorPrefix20220519\Idiosyncratic\EditorConfig\Exception\InvalidValue::class); - $declaration = new \RectorPrefix20220519\Idiosyncratic\EditorConfig\Declaration\TabWidth('true'); - $this->expectException(\RectorPrefix20220519\Idiosyncratic\EditorConfig\Exception\InvalidValue::class); - $declaration = new \RectorPrefix20220519\Idiosyncratic\EditorConfig\Declaration\TabWidth('four'); - $this->expectException(\RectorPrefix20220519\Idiosyncratic\EditorConfig\Exception\InvalidValue::class); - $declaration = new \RectorPrefix20220519\Idiosyncratic\EditorConfig\Declaration\TabWidth('-1'); + $this->expectException(\RectorPrefix20220520\Idiosyncratic\EditorConfig\Exception\InvalidValue::class); + $declaration = new \RectorPrefix20220520\Idiosyncratic\EditorConfig\Declaration\TabWidth('true'); + $this->expectException(\RectorPrefix20220520\Idiosyncratic\EditorConfig\Exception\InvalidValue::class); + $declaration = new \RectorPrefix20220520\Idiosyncratic\EditorConfig\Declaration\TabWidth('four'); + $this->expectException(\RectorPrefix20220520\Idiosyncratic\EditorConfig\Exception\InvalidValue::class); + $declaration = new \RectorPrefix20220520\Idiosyncratic\EditorConfig\Declaration\TabWidth('-1'); } } diff --git a/vendor/idiosyncratic/editorconfig/tests/Declaration/TrimTrailingWhitespaceTest.php b/vendor/idiosyncratic/editorconfig/tests/Declaration/TrimTrailingWhitespaceTest.php index 457779897ec..53fdf8957ce 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 \RectorPrefix20220519\Idiosyncratic\EditorConfig\Declaration\TrimTrailingWhitespace('true'); + $declaration = new \RectorPrefix20220520\Idiosyncratic\EditorConfig\Declaration\TrimTrailingWhitespace('true'); $this->assertEquals('trim_trailing_whitespace=true', (string) $declaration); } public function testInvalidIntValue() { $this->expectException(\DomainException::class); - $declaration = new \RectorPrefix20220519\Idiosyncratic\EditorConfig\Declaration\TrimTrailingWhitespace('4'); + $declaration = new \RectorPrefix20220520\Idiosyncratic\EditorConfig\Declaration\TrimTrailingWhitespace('4'); } public function testInvalidStringValue() { $this->expectException(\DomainException::class); - $declaration = new \RectorPrefix20220519\Idiosyncratic\EditorConfig\Declaration\TrimTrailingWhitespace('four'); + $declaration = new \RectorPrefix20220520\Idiosyncratic\EditorConfig\Declaration\TrimTrailingWhitespace('four'); } } diff --git a/vendor/idiosyncratic/editorconfig/tests/Declaration/UnsetDeclarationTest.php b/vendor/idiosyncratic/editorconfig/tests/Declaration/UnsetDeclarationTest.php index c8545ff5096..5dd1cc0ea84 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 015ff19d0c0..40b92414f24 100644 --- a/vendor/idiosyncratic/editorconfig/tests/EditorConfigFileTest.php +++ b/vendor/idiosyncratic/editorconfig/tests/EditorConfigFileTest.php @@ -1,55 +1,55 @@ assertInstanceOf(\RectorPrefix20220519\Idiosyncratic\EditorConfig\EditorConfigFile::class, $file); + $file = new \RectorPrefix20220520\Idiosyncratic\EditorConfig\EditorConfigFile($path); + $this->assertInstanceOf(\RectorPrefix20220520\Idiosyncratic\EditorConfig\EditorConfigFile::class, $file); $this->assertFalse($file->isRoot()); $this->assertEquals($path, $file->getPath()); } public function testGetPath() : void { $path = __DIR__ . '/data/editorconfig'; - $file = new \RectorPrefix20220519\Idiosyncratic\EditorConfig\EditorConfigFile($path); + $file = new \RectorPrefix20220520\Idiosyncratic\EditorConfig\EditorConfigFile($path); $this->assertEquals($path, $file->getPath()); } public function testEmptyFile() : void { $path = __DIR__ . '/data/empty_editorconfig'; - $file = new \RectorPrefix20220519\Idiosyncratic\EditorConfig\EditorConfigFile($path); + $file = new \RectorPrefix20220520\Idiosyncratic\EditorConfig\EditorConfigFile($path); $this->assertEquals('', \trim((string) $file)); } public function testRootFile() : void { $path = __DIR__ . '/data/root_editorconfig'; - $file = new \RectorPrefix20220519\Idiosyncratic\EditorConfig\EditorConfigFile($path); + $file = new \RectorPrefix20220520\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(\RectorPrefix20220519\Idiosyncratic\EditorConfig\Exception\InvalidValue::class); - $file = new \RectorPrefix20220519\Idiosyncratic\EditorConfig\EditorConfigFile($path); + $this->expectException(\RectorPrefix20220520\Idiosyncratic\EditorConfig\Exception\InvalidValue::class); + $file = new \RectorPrefix20220520\Idiosyncratic\EditorConfig\EditorConfigFile($path); } public function testFileDoesNotExist() : void { $this->expectException(\RuntimeException::class); - $file = new \RectorPrefix20220519\Idiosyncratic\EditorConfig\EditorConfigFile(__DIR__); + $file = new \RectorPrefix20220520\Idiosyncratic\EditorConfig\EditorConfigFile(__DIR__); } public function testEmptyIndentSize() : void { $path = __DIR__ . '/data/editorconfig'; - $file = new \RectorPrefix20220519\Idiosyncratic\EditorConfig\EditorConfigFile($path); + $file = new \RectorPrefix20220520\Idiosyncratic\EditorConfig\EditorConfigFile($path); $config = $file->getConfigForPath(__DIR__); $this->assertFalse(isset($config['indent_size'])); } @@ -59,7 +59,7 @@ class EditorConfigFileTest extends \RectorPrefix20220519\PHPUnit\Framework\TestC public function testGetConfigForPath(string $pathToFile, int $expectedIndentSize) : void { $path = __DIR__ . '/data/editorconfig'; - $file = new \RectorPrefix20220519\Idiosyncratic\EditorConfig\EditorConfigFile($path); + $file = new \RectorPrefix20220520\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 b2860d42faf..0c083ca260b 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 c96071320b3..762351c6b58 100644 --- a/vendor/idiosyncratic/editorconfig/tests/SectionTest.php +++ b/vendor/idiosyncratic/editorconfig/tests/SectionTest.php @@ -1,28 +1,28 @@ '4', 'indent_style' => 'space'], new \RectorPrefix20220519\Idiosyncratic\EditorConfig\Declaration\Factory()); + $section = new \RectorPrefix20220520\Idiosyncratic\EditorConfig\Section('**/', '*.php', ['indent_size' => '4', 'indent_style' => 'space'], new \RectorPrefix20220520\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 \RectorPrefix20220519\Idiosyncratic\EditorConfig\Section('**/', '*.php', ['indent_size' => '4', 'indent_style' => 'space'], new \RectorPrefix20220519\Idiosyncratic\EditorConfig\Declaration\Factory()); + $section = new \RectorPrefix20220520\Idiosyncratic\EditorConfig\Section('**/', '*.php', ['indent_size' => '4', 'indent_style' => 'space'], new \RectorPrefix20220520\Idiosyncratic\EditorConfig\Declaration\Factory()); $this->assertTrue($section->matches('my\\composer.php')); } public function testGetMissingDeclaration() : void { - $section = new \RectorPrefix20220519\Idiosyncratic\EditorConfig\Section('**/', '*.php', ['indent_size' => '4', 'indent_style' => 'space'], new \RectorPrefix20220519\Idiosyncratic\EditorConfig\Declaration\Factory()); + $section = new \RectorPrefix20220520\Idiosyncratic\EditorConfig\Section('**/', '*.php', ['indent_size' => '4', 'indent_style' => 'space'], new \RectorPrefix20220520\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 93910385b33..034537c8430 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 \RectorPrefix20220519\SebastianBergmann\Comparator\Comparator +final class Comparator extends \RectorPrefix20220520\SebastianBergmann\Comparator\Comparator { public function accepts($expected, $actual) { - return $expected instanceof \RectorPrefix20220519\MyCLabs\Enum\Enum && ($actual instanceof \RectorPrefix20220519\MyCLabs\Enum\Enum || $actual === null); + return $expected instanceof \RectorPrefix20220520\MyCLabs\Enum\Enum && ($actual instanceof \RectorPrefix20220520\MyCLabs\Enum\Enum || $actual === null); } /** * @param Enum $expected @@ -28,9 +28,9 @@ final class Comparator extends \RectorPrefix20220519\SebastianBergmann\Comparato if ($expected->equals($actual)) { return; } - throw new \RectorPrefix20220519\SebastianBergmann\Comparator\ComparisonFailure($expected, $actual, $this->formatEnum($expected), $this->formatEnum($actual), \false, 'Failed asserting that two Enums are equal.'); + throw new \RectorPrefix20220520\SebastianBergmann\Comparator\ComparisonFailure($expected, $actual, $this->formatEnum($expected), $this->formatEnum($actual), \false, 'Failed asserting that two Enums are equal.'); } - private function formatEnum(\RectorPrefix20220519\MyCLabs\Enum\Enum $enum = null) + private function formatEnum(\RectorPrefix20220520\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 b0d92e4f8e5..6e2ec802a2f 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 = \RectorPrefix20220519\scanPath($argv[1]); +$ok = \RectorPrefix20220520\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 = \RectorPrefix20220519\lintFile((string) $file) && $success; + $success = \RectorPrefix20220520\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 { - \RectorPrefix20220519\Nette\Neon\Neon::decode($s); + \RectorPrefix20220520\Nette\Neon\Neon::decode($s); return \true; - } catch (\RectorPrefix20220519\Nette\Neon\Exception $e) { + } catch (\RectorPrefix20220520\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 1dfc25c7c53..ec25c98c754 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 RectorPrefix20220519\Nette\Neon; +namespace RectorPrefix20220520\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) : \RectorPrefix20220519\Nette\Neon\Node + public function parseToNode(string $input) : \RectorPrefix20220520\Nette\Neon\Node { - $lexer = new \RectorPrefix20220519\Nette\Neon\Lexer(); - $parser = new \RectorPrefix20220519\Nette\Neon\Parser(); + $lexer = new \RectorPrefix20220520\Nette\Neon\Lexer(); + $parser = new \RectorPrefix20220520\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 4693a9a8d15..a792b239460 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 RectorPrefix20220519\Nette\Neon; +namespace RectorPrefix20220520\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) : \RectorPrefix20220519\Nette\Neon\Node + public function valueToNode($val, bool $blockMode = \false) : \RectorPrefix20220520\Nette\Neon\Node { if ($val instanceof \DateTimeInterface) { - return new \RectorPrefix20220519\Nette\Neon\Node\LiteralNode($val); - } elseif ($val instanceof \RectorPrefix20220519\Nette\Neon\Entity && $val->value === \RectorPrefix20220519\Nette\Neon\Neon::Chain) { - $node = new \RectorPrefix20220519\Nette\Neon\Node\EntityChainNode(); + return new \RectorPrefix20220520\Nette\Neon\Node\LiteralNode($val); + } elseif ($val instanceof \RectorPrefix20220520\Nette\Neon\Entity && $val->value === \RectorPrefix20220520\Nette\Neon\Neon::Chain) { + $node = new \RectorPrefix20220520\Nette\Neon\Node\EntityChainNode(); foreach ($val->attributes as $entity) { $node->chain[] = $this->valueToNode($entity); } return $node; - } elseif ($val instanceof \RectorPrefix20220519\Nette\Neon\Entity) { - return new \RectorPrefix20220519\Nette\Neon\Node\EntityNode($this->valueToNode($val->value), $this->arrayToNodes((array) $val->attributes)); + } elseif ($val instanceof \RectorPrefix20220520\Nette\Neon\Entity) { + return new \RectorPrefix20220520\Nette\Neon\Node\EntityNode($this->valueToNode($val->value), $this->arrayToNodes((array) $val->attributes)); } elseif (\is_object($val) || \is_array($val)) { if ($blockMode) { - $node = new \RectorPrefix20220519\Nette\Neon\Node\BlockArrayNode(); + $node = new \RectorPrefix20220520\Nette\Neon\Node\BlockArrayNode(); } else { $isList = \is_array($val) && (!$val || \array_keys($val) === \range(0, \count($val) - 1)); - $node = new \RectorPrefix20220519\Nette\Neon\Node\InlineArrayNode($isList ? '[' : '{'); + $node = new \RectorPrefix20220520\Nette\Neon\Node\InlineArrayNode($isList ? '[' : '{'); } $node->items = $this->arrayToNodes($val, $blockMode); return $node; - } elseif (\is_string($val) && \RectorPrefix20220519\Nette\Neon\Lexer::requiresDelimiters($val)) { - return new \RectorPrefix20220519\Nette\Neon\Node\StringNode($val); + } elseif (\is_string($val) && \RectorPrefix20220520\Nette\Neon\Lexer::requiresDelimiters($val)) { + return new \RectorPrefix20220520\Nette\Neon\Node\StringNode($val); } else { - return new \RectorPrefix20220519\Nette\Neon\Node\LiteralNode($val); + return new \RectorPrefix20220520\Nette\Neon\Node\LiteralNode($val); } } /** @return Node\ArrayItemNode[] */ @@ -61,10 +61,10 @@ final class Encoder $counter = 0; $hide = \true; foreach ($val as $k => $v) { - $res[] = $item = new \RectorPrefix20220519\Nette\Neon\Node\ArrayItemNode(); + $res[] = $item = new \RectorPrefix20220520\Nette\Neon\Node\ArrayItemNode(); $item->key = $hide && $k === $counter ? null : self::valueToNode($k); $item->value = self::valueToNode($v, $blockMode); - if ($item->value instanceof \RectorPrefix20220519\Nette\Neon\Node\BlockArrayNode) { + if ($item->value instanceof \RectorPrefix20220520\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 693c723b1d1..0a672446937 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 RectorPrefix20220519\Nette\Neon; +namespace RectorPrefix20220520\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 3bdd6a1be58..272e8f0e6c8 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 RectorPrefix20220519\Nette\Neon; +namespace RectorPrefix20220520\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 ccf11148e3d..399e4900c8f 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 RectorPrefix20220519\Nette\Neon; +namespace RectorPrefix20220520\Nette\Neon; /** @internal */ final class Lexer { public const Patterns = [ // strings - \RectorPrefix20220519\Nette\Neon\Token::String => ' + \RectorPrefix20220520\Nette\Neon\Token::String => ' \'\'\'\\n (?:(?: [^\\n] | \\n(?![\\t\\ ]*+\'\'\') )*+ \\n)?[\\t\\ ]*+\'\'\' | """\\n (?:(?: [^\\n] | \\n(?![\\t\\ ]*+""") )*+ \\n)?[\\t\\ ]*+""" | \' (?: \'\' | [^\'\\n] )*+ \' | " (?: \\\\. | [^"\\\\\\n] )*+ " ', // literal / boolean / integer / float - \RectorPrefix20220519\Nette\Neon\Token::Literal => ' + \RectorPrefix20220520\Nette\Neon\Token::Literal => ' (?: [^#"\',:=[\\]{}()\\n\\t\\ `-] | (? '[,:=[\\]{}()-]', + \RectorPrefix20220520\Nette\Neon\Token::Char => '[,:=[\\]{}()-]', // comment - \RectorPrefix20220519\Nette\Neon\Token::Comment => '\\#.*+', + \RectorPrefix20220520\Nette\Neon\Token::Comment => '\\#.*+', // new line - \RectorPrefix20220519\Nette\Neon\Token::Newline => '\\n++', + \RectorPrefix20220520\Nette\Neon\Token::Newline => '\\n++', // whitespace - \RectorPrefix20220519\Nette\Neon\Token::Whitespace => '[\\t\\ ]++', + \RectorPrefix20220520\Nette\Neon\Token::Whitespace => '[\\t\\ ]++', ]; - public function tokenize(string $input) : \RectorPrefix20220519\Nette\Neon\TokenStream + public function tokenize(string $input) : \RectorPrefix20220520\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 \RectorPrefix20220519\Nette\Neon\Exception('Invalid UTF-8 sequence.'); + throw new \RectorPrefix20220520\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 === \RectorPrefix20220519\Nette\Neon\Token::Char) { + if ($type === \RectorPrefix20220520\Nette\Neon\Token::Char) { $type = $token[0]; } break; } } - $token = new \RectorPrefix20220519\Nette\Neon\Token($token[0], $type); + $token = new \RectorPrefix20220520\Nette\Neon\Token($token[0], $type); $offset += \strlen($token->value); } - $stream = new \RectorPrefix20220519\Nette\Neon\TokenStream($tokens); + $stream = new \RectorPrefix20220520\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[\RectorPrefix20220519\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[\RectorPrefix20220520\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 4d78dbd1e4c..7cd0e1dd312 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 RectorPrefix20220519\Nette\Neon; +namespace RectorPrefix20220520\Nette\Neon; /** * Simple parser & generator for Nette Object Notation. @@ -13,7 +13,7 @@ namespace RectorPrefix20220519\Nette\Neon; */ final class Neon { - public const BLOCK = \RectorPrefix20220519\Nette\Neon\Encoder::BLOCK; + public const BLOCK = \RectorPrefix20220520\Nette\Neon\Encoder::BLOCK; public const Chain = '!!chain'; public const CHAIN = self::Chain; /** @@ -21,7 +21,7 @@ final class Neon */ public static function encode($value, bool $blockMode = \false, string $indentation = "\t") : string { - $encoder = new \RectorPrefix20220519\Nette\Neon\Encoder(); + $encoder = new \RectorPrefix20220520\Nette\Neon\Encoder(); $encoder->blockMode = $blockMode; $encoder->indentation = $indentation; return $encoder->encode($value); @@ -32,7 +32,7 @@ final class Neon */ public static function decode(string $input) { - $decoder = new \RectorPrefix20220519\Nette\Neon\Decoder(); + $decoder = new \RectorPrefix20220520\Nette\Neon\Decoder(); return $decoder->decode($input); } /** @@ -42,7 +42,7 @@ final class Neon public static function decodeFile(string $file) { if (!\is_file($file)) { - throw new \RectorPrefix20220519\Nette\Neon\Exception("File '{$file}' does not exist."); + throw new \RectorPrefix20220520\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 c38c308e6de..3532938e3bd 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 RectorPrefix20220519\Nette\Neon; +namespace RectorPrefix20220520\Nette\Neon; /** * @implements \IteratorAggregate diff --git a/vendor/nette/neon/src/Neon/Node/ArrayItemNode.php b/vendor/nette/neon/src/Neon/Node/ArrayItemNode.php index 42321434854..78b17d87349 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 RectorPrefix20220519\Nette\Neon\Node; +namespace RectorPrefix20220520\Nette\Neon\Node; -use RectorPrefix20220519\Nette\Neon\Node; +use RectorPrefix20220520\Nette\Neon\Node; /** @internal */ -final class ArrayItemNode extends \RectorPrefix20220519\Nette\Neon\Node +final class ArrayItemNode extends \RectorPrefix20220520\Nette\Neon\Node { /** @var ?Node */ public $key; @@ -46,7 +46,7 @@ final class ArrayItemNode extends \RectorPrefix20220519\Nette\Neon\Node $res = ''; foreach ($items as $item) { $v = $item->value->toString(); - $res .= ($item->key ? $item->key->toString() . ':' : '-') . ($item->value instanceof \RectorPrefix20220519\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 \RectorPrefix20220520\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 c4f9aca8109..e2c74d29916 100644 --- a/vendor/nette/neon/src/Neon/Node/ArrayNode.php +++ b/vendor/nette/neon/src/Neon/Node/ArrayNode.php @@ -5,18 +5,18 @@ * Copyright (c) 2004 David Grudl (https://davidgrudl.com) */ declare (strict_types=1); -namespace RectorPrefix20220519\Nette\Neon\Node; +namespace RectorPrefix20220520\Nette\Neon\Node; -use RectorPrefix20220519\Nette\Neon\Node; +use RectorPrefix20220520\Nette\Neon\Node; /** @internal */ -abstract class ArrayNode extends \RectorPrefix20220519\Nette\Neon\Node +abstract class ArrayNode extends \RectorPrefix20220520\Nette\Neon\Node { /** @var ArrayItemNode[] */ public $items = []; /** @return mixed[] */ public function toValue() : array { - return \RectorPrefix20220519\Nette\Neon\Node\ArrayItemNode::itemsToArray($this->items); + return \RectorPrefix20220520\Nette\Neon\Node\ArrayItemNode::itemsToArray($this->items); } public function &getIterator() : \Generator { diff --git a/vendor/nette/neon/src/Neon/Node/BlockArrayNode.php b/vendor/nette/neon/src/Neon/Node/BlockArrayNode.php index 9440b116623..29b7702a448 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 RectorPrefix20220519\Nette\Neon\Node; +namespace RectorPrefix20220520\Nette\Neon\Node; /** @internal */ -final class BlockArrayNode extends \RectorPrefix20220519\Nette\Neon\Node\ArrayNode +final class BlockArrayNode extends \RectorPrefix20220520\Nette\Neon\Node\ArrayNode { /** @var string */ public $indentation; @@ -21,7 +21,7 @@ final class BlockArrayNode extends \RectorPrefix20220519\Nette\Neon\Node\ArrayNo if (\count($this->items) === 0) { return '[]'; } - $res = \RectorPrefix20220519\Nette\Neon\Node\ArrayItemNode::itemsToBlockString($this->items); + $res = \RectorPrefix20220520\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 971b343063e..56263f0be9e 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 RectorPrefix20220519\Nette\Neon\Node; +namespace RectorPrefix20220520\Nette\Neon\Node; -use RectorPrefix20220519\Nette\Neon; -use RectorPrefix20220519\Nette\Neon\Node; +use RectorPrefix20220520\Nette\Neon; +use RectorPrefix20220520\Nette\Neon\Node; /** @internal */ -final class EntityChainNode extends \RectorPrefix20220519\Nette\Neon\Node +final class EntityChainNode extends \RectorPrefix20220520\Nette\Neon\Node { /** @var EntityNode[] */ public $chain = []; @@ -18,13 +18,13 @@ final class EntityChainNode extends \RectorPrefix20220519\Nette\Neon\Node { $this->chain = $chain; } - public function toValue() : \RectorPrefix20220519\Nette\Neon\Entity + public function toValue() : \RectorPrefix20220520\Nette\Neon\Entity { $entities = []; foreach ($this->chain as $item) { $entities[] = $item->toValue(); } - return new \RectorPrefix20220519\Nette\Neon\Entity(\RectorPrefix20220519\Nette\Neon\Neon::Chain, $entities); + return new \RectorPrefix20220520\Nette\Neon\Entity(\RectorPrefix20220520\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 34ce5ae082d..b5c136bc7de 100644 --- a/vendor/nette/neon/src/Neon/Node/EntityNode.php +++ b/vendor/nette/neon/src/Neon/Node/EntityNode.php @@ -5,29 +5,29 @@ * Copyright (c) 2004 David Grudl (https://davidgrudl.com) */ declare (strict_types=1); -namespace RectorPrefix20220519\Nette\Neon\Node; +namespace RectorPrefix20220520\Nette\Neon\Node; -use RectorPrefix20220519\Nette\Neon\Entity; -use RectorPrefix20220519\Nette\Neon\Node; +use RectorPrefix20220520\Nette\Neon\Entity; +use RectorPrefix20220520\Nette\Neon\Node; /** @internal */ -final class EntityNode extends \RectorPrefix20220519\Nette\Neon\Node +final class EntityNode extends \RectorPrefix20220520\Nette\Neon\Node { /** @var Node */ public $value; /** @var ArrayItemNode[] */ public $attributes; - public function __construct(\RectorPrefix20220519\Nette\Neon\Node $value, array $attributes = []) + public function __construct(\RectorPrefix20220520\Nette\Neon\Node $value, array $attributes = []) { $this->value = $value; $this->attributes = $attributes; } - public function toValue() : \RectorPrefix20220519\Nette\Neon\Entity + public function toValue() : \RectorPrefix20220520\Nette\Neon\Entity { - return new \RectorPrefix20220519\Nette\Neon\Entity($this->value->toValue(), \RectorPrefix20220519\Nette\Neon\Node\ArrayItemNode::itemsToArray($this->attributes)); + return new \RectorPrefix20220520\Nette\Neon\Entity($this->value->toValue(), \RectorPrefix20220520\Nette\Neon\Node\ArrayItemNode::itemsToArray($this->attributes)); } public function toString() : string { - return $this->value->toString() . '(' . ($this->attributes ? \RectorPrefix20220519\Nette\Neon\Node\ArrayItemNode::itemsToInlineString($this->attributes) : '') . ')'; + return $this->value->toString() . '(' . ($this->attributes ? \RectorPrefix20220520\Nette\Neon\Node\ArrayItemNode::itemsToInlineString($this->attributes) : '') . ')'; } public function &getIterator() : \Generator { diff --git a/vendor/nette/neon/src/Neon/Node/InlineArrayNode.php b/vendor/nette/neon/src/Neon/Node/InlineArrayNode.php index d57033ae3e1..fd449a120ed 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 RectorPrefix20220519\Nette\Neon\Node; +namespace RectorPrefix20220520\Nette\Neon\Node; /** @internal */ -final class InlineArrayNode extends \RectorPrefix20220519\Nette\Neon\Node\ArrayNode +final class InlineArrayNode extends \RectorPrefix20220520\Nette\Neon\Node\ArrayNode { /** @var string */ public $bracket; @@ -18,6 +18,6 @@ final class InlineArrayNode extends \RectorPrefix20220519\Nette\Neon\Node\ArrayN } public function toString() : string { - return $this->bracket . \RectorPrefix20220519\Nette\Neon\Node\ArrayItemNode::itemsToInlineString($this->items) . ['[' => ']', '{' => '}', '(' => ')'][$this->bracket]; + return $this->bracket . \RectorPrefix20220520\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 c1a9b9e5988..ed06be1b409 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 RectorPrefix20220519\Nette\Neon\Node; +namespace RectorPrefix20220520\Nette\Neon\Node; -use RectorPrefix20220519\Nette\Neon\Node; +use RectorPrefix20220520\Nette\Neon\Node; /** @internal */ -final class LiteralNode extends \RectorPrefix20220519\Nette\Neon\Node +final class LiteralNode extends \RectorPrefix20220520\Nette\Neon\Node { private const SimpleTypes = ['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 DeprecatedTypes = ['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 0adee5ce89d..02f6bde74d2 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 RectorPrefix20220519\Nette\Neon\Node; +namespace RectorPrefix20220520\Nette\Neon\Node; -use RectorPrefix20220519\Nette; -use RectorPrefix20220519\Nette\Neon\Node; +use RectorPrefix20220520\Nette; +use RectorPrefix20220520\Nette\Neon\Node; /** @internal */ -final class StringNode extends \RectorPrefix20220519\Nette\Neon\Node +final class StringNode extends \RectorPrefix20220520\Nette\Neon\Node { private const EscapeSequences = ['t' => "\t", 'n' => "\n", 'r' => "\r", 'f' => "\f", 'b' => "\10", '"' => '"', '\\' => '\\', '/' => '/', '_' => " "]; /** @var string */ @@ -47,12 +47,12 @@ final class StringNode extends \RectorPrefix20220519\Nette\Neon\Node if (($res = \json_decode('"' . $sq . '"')) !== null) { return $res; } - throw new \RectorPrefix20220519\Nette\Neon\Exception("Invalid UTF-8 sequence {$sq}"); + throw new \RectorPrefix20220520\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 \RectorPrefix20220519\Nette\Neon\Exception("Invalid escaping sequence {$sq}"); + throw new \RectorPrefix20220520\Nette\Neon\Exception("Invalid escaping sequence {$sq}"); } }, $res); } diff --git a/vendor/nette/neon/src/Neon/Parser.php b/vendor/nette/neon/src/Neon/Parser.php index 207a96e5bc4..7c162d91208 100644 --- a/vendor/nette/neon/src/Neon/Parser.php +++ b/vendor/nette/neon/src/Neon/Parser.php @@ -5,7 +5,7 @@ * Copyright (c) 2004 David Grudl (https://davidgrudl.com) */ declare (strict_types=1); -namespace RectorPrefix20220519\Nette\Neon; +namespace RectorPrefix20220520\Nette\Neon; /** @internal */ final class Parser @@ -14,32 +14,32 @@ final class Parser private $tokens; /** @var int[] */ private $posToLine = []; - public function parse(\RectorPrefix20220519\Nette\Neon\TokenStream $tokens) : \RectorPrefix20220519\Nette\Neon\Node + public function parse(\RectorPrefix20220520\Nette\Neon\TokenStream $tokens) : \RectorPrefix20220520\Nette\Neon\Node { $this->tokens = $tokens; $this->initLines(); - while ($this->tokens->consume(\RectorPrefix20220519\Nette\Neon\Token::Newline)) { + while ($this->tokens->consume(\RectorPrefix20220520\Nette\Neon\Token::Newline)) { } $node = $this->parseBlock($this->tokens->getIndentation()); - while ($this->tokens->consume(\RectorPrefix20220519\Nette\Neon\Token::Newline)) { + while ($this->tokens->consume(\RectorPrefix20220520\Nette\Neon\Token::Newline)) { } if ($this->tokens->isNext()) { $this->tokens->error(); } return $node; } - private function parseBlock(string $indent, bool $onlyBullets = \false) : \RectorPrefix20220519\Nette\Neon\Node + private function parseBlock(string $indent, bool $onlyBullets = \false) : \RectorPrefix20220520\Nette\Neon\Node { - $res = new \RectorPrefix20220519\Nette\Neon\Node\BlockArrayNode($indent); + $res = new \RectorPrefix20220520\Nette\Neon\Node\BlockArrayNode($indent); $this->injectPos($res); $keyCheck = []; loop: - $item = new \RectorPrefix20220519\Nette\Neon\Node\ArrayItemNode(); + $item = new \RectorPrefix20220520\Nette\Neon\Node\ArrayItemNode(); $this->injectPos($item); if ($this->tokens->consume('-')) { // continue } elseif (!$this->tokens->isNext() || $onlyBullets) { - return $res->items ? $res : $this->injectPos(new \RectorPrefix20220519\Nette\Neon\Node\LiteralNode(null)); + return $res->items ? $res : $this->injectPos(new \RectorPrefix20220520\Nette\Neon\Node\LiteralNode(null)); } else { $value = $this->parseValue(); if ($this->tokens->consume(':', '=')) { @@ -53,10 +53,10 @@ final class Parser } } $res->items[] = $item; - $item->value = new \RectorPrefix20220519\Nette\Neon\Node\LiteralNode(null); + $item->value = new \RectorPrefix20220520\Nette\Neon\Node\LiteralNode(null); $this->injectPos($item->value); - if ($this->tokens->consume(\RectorPrefix20220519\Nette\Neon\Token::Newline)) { - while ($this->tokens->consume(\RectorPrefix20220519\Nette\Neon\Token::Newline)) { + if ($this->tokens->consume(\RectorPrefix20220520\Nette\Neon\Token::Newline)) { + while ($this->tokens->consume(\RectorPrefix20220520\Nette\Neon\Token::Newline)) { } $nextIndent = $this->tokens->getIndentation(); if (\strncmp($nextIndent, $indent, \min(\strlen($nextIndent), \strlen($indent)))) { @@ -76,16 +76,16 @@ final class Parser // open new block after dash } elseif ($this->tokens->isNext()) { $item->value = $this->parseValue(); - if ($this->tokens->isNext() && !$this->tokens->isNext(\RectorPrefix20220519\Nette\Neon\Token::Newline)) { + if ($this->tokens->isNext() && !$this->tokens->isNext(\RectorPrefix20220520\Nette\Neon\Token::Newline)) { $this->tokens->error(); } } - if ($item->value instanceof \RectorPrefix20220519\Nette\Neon\Node\BlockArrayNode) { + if ($item->value instanceof \RectorPrefix20220520\Nette\Neon\Node\BlockArrayNode) { $item->value->indentation = \substr($item->value->indentation, \strlen($indent)); } $this->injectPos($res, $res->startTokenPos, $item->value->endTokenPos); $this->injectPos($item, $item->startTokenPos, $item->value->endTokenPos); - while ($this->tokens->consume(\RectorPrefix20220519\Nette\Neon\Token::Newline)) { + while ($this->tokens->consume(\RectorPrefix20220520\Nette\Neon\Token::Newline)) { } if (!$this->tokens->isNext()) { return $res; @@ -101,18 +101,18 @@ final class Parser } goto loop; } - private function parseValue() : \RectorPrefix20220519\Nette\Neon\Node + private function parseValue() : \RectorPrefix20220520\Nette\Neon\Node { - if ($token = $this->tokens->consume(\RectorPrefix20220519\Nette\Neon\Token::String)) { + if ($token = $this->tokens->consume(\RectorPrefix20220520\Nette\Neon\Token::String)) { try { - $node = new \RectorPrefix20220519\Nette\Neon\Node\StringNode(\RectorPrefix20220519\Nette\Neon\Node\StringNode::parse($token->value)); + $node = new \RectorPrefix20220520\Nette\Neon\Node\StringNode(\RectorPrefix20220520\Nette\Neon\Node\StringNode::parse($token->value)); $this->injectPos($node, $this->tokens->getPos() - 1); - } catch (\RectorPrefix20220519\Nette\Neon\Exception $e) { + } catch (\RectorPrefix20220520\Nette\Neon\Exception $e) { $this->tokens->error($e->getMessage(), $this->tokens->getPos() - 1); } - } elseif ($token = $this->tokens->consume(\RectorPrefix20220519\Nette\Neon\Token::Literal)) { + } elseif ($token = $this->tokens->consume(\RectorPrefix20220520\Nette\Neon\Token::Literal)) { $pos = $this->tokens->getPos() - 1; - $node = new \RectorPrefix20220519\Nette\Neon\Node\LiteralNode(\RectorPrefix20220519\Nette\Neon\Node\LiteralNode::parse($token->value, $this->tokens->isNext(':', '='))); + $node = new \RectorPrefix20220520\Nette\Neon\Node\LiteralNode(\RectorPrefix20220520\Nette\Neon\Node\LiteralNode::parse($token->value, $this->tokens->isNext(':', '='))); $this->injectPos($node, $pos); } elseif ($this->tokens->isNext('[', '(', '{')) { $node = $this->parseBraces(); @@ -121,55 +121,55 @@ final class Parser } return $this->parseEntity($node); } - private function parseEntity(\RectorPrefix20220519\Nette\Neon\Node $node) : \RectorPrefix20220519\Nette\Neon\Node + private function parseEntity(\RectorPrefix20220520\Nette\Neon\Node $node) : \RectorPrefix20220520\Nette\Neon\Node { if (!$this->tokens->isNext('(')) { return $node; } $attributes = $this->parseBraces(); - $entities[] = $this->injectPos(new \RectorPrefix20220519\Nette\Neon\Node\EntityNode($node, $attributes->items), $node->startTokenPos, $attributes->endTokenPos); - while ($token = $this->tokens->consume(\RectorPrefix20220519\Nette\Neon\Token::Literal)) { - $valueNode = new \RectorPrefix20220519\Nette\Neon\Node\LiteralNode(\RectorPrefix20220519\Nette\Neon\Node\LiteralNode::parse($token->value)); + $entities[] = $this->injectPos(new \RectorPrefix20220520\Nette\Neon\Node\EntityNode($node, $attributes->items), $node->startTokenPos, $attributes->endTokenPos); + while ($token = $this->tokens->consume(\RectorPrefix20220520\Nette\Neon\Token::Literal)) { + $valueNode = new \RectorPrefix20220520\Nette\Neon\Node\LiteralNode(\RectorPrefix20220520\Nette\Neon\Node\LiteralNode::parse($token->value)); $this->injectPos($valueNode, $this->tokens->getPos() - 1); if ($this->tokens->isNext('(')) { $attributes = $this->parseBraces(); - $entities[] = $this->injectPos(new \RectorPrefix20220519\Nette\Neon\Node\EntityNode($valueNode, $attributes->items), $valueNode->startTokenPos, $attributes->endTokenPos); + $entities[] = $this->injectPos(new \RectorPrefix20220520\Nette\Neon\Node\EntityNode($valueNode, $attributes->items), $valueNode->startTokenPos, $attributes->endTokenPos); } else { - $entities[] = $this->injectPos(new \RectorPrefix20220519\Nette\Neon\Node\EntityNode($valueNode), $valueNode->startTokenPos); + $entities[] = $this->injectPos(new \RectorPrefix20220520\Nette\Neon\Node\EntityNode($valueNode), $valueNode->startTokenPos); break; } } - return \count($entities) === 1 ? $entities[0] : $this->injectPos(new \RectorPrefix20220519\Nette\Neon\Node\EntityChainNode($entities), $node->startTokenPos, \end($entities)->endTokenPos); + return \count($entities) === 1 ? $entities[0] : $this->injectPos(new \RectorPrefix20220520\Nette\Neon\Node\EntityChainNode($entities), $node->startTokenPos, \end($entities)->endTokenPos); } - private function parseBraces() : \RectorPrefix20220519\Nette\Neon\Node\InlineArrayNode + private function parseBraces() : \RectorPrefix20220520\Nette\Neon\Node\InlineArrayNode { $token = $this->tokens->consume(); $endBrace = ['[' => ']', '{' => '}', '(' => ')'][$token->value]; - $res = new \RectorPrefix20220519\Nette\Neon\Node\InlineArrayNode($token->value); + $res = new \RectorPrefix20220520\Nette\Neon\Node\InlineArrayNode($token->value); $this->injectPos($res, $this->tokens->getPos() - 1); $keyCheck = []; loop: - while ($this->tokens->consume(\RectorPrefix20220519\Nette\Neon\Token::Newline)) { + while ($this->tokens->consume(\RectorPrefix20220520\Nette\Neon\Token::Newline)) { } if ($this->tokens->consume($endBrace)) { $this->injectPos($res, $res->startTokenPos, $this->tokens->getPos() - 1); return $res; } - $res->items[] = $item = new \RectorPrefix20220519\Nette\Neon\Node\ArrayItemNode(); + $res->items[] = $item = new \RectorPrefix20220520\Nette\Neon\Node\ArrayItemNode(); $this->injectPos($item, $this->tokens->getPos()); $value = $this->parseValue(); if ($this->tokens->consume(':', '=')) { $this->checkArrayKey($value, $keyCheck); $item->key = $value; - $item->value = $this->tokens->isNext(\RectorPrefix20220519\Nette\Neon\Token::Newline, ',', $endBrace) ? $this->injectPos(new \RectorPrefix20220519\Nette\Neon\Node\LiteralNode(null), $this->tokens->getPos()) : $this->parseValue(); + $item->value = $this->tokens->isNext(\RectorPrefix20220520\Nette\Neon\Token::Newline, ',', $endBrace) ? $this->injectPos(new \RectorPrefix20220520\Nette\Neon\Node\LiteralNode(null), $this->tokens->getPos()) : $this->parseValue(); } else { $item->value = $value; } $this->injectPos($item, $item->startTokenPos, $item->value->endTokenPos); - if ($this->tokens->consume(',', \RectorPrefix20220519\Nette\Neon\Token::Newline)) { + if ($this->tokens->consume(',', \RectorPrefix20220520\Nette\Neon\Token::Newline)) { goto loop; } - while ($this->tokens->consume(\RectorPrefix20220519\Nette\Neon\Token::Newline)) { + while ($this->tokens->consume(\RectorPrefix20220520\Nette\Neon\Token::Newline)) { } if (!$this->tokens->isNext($endBrace)) { $this->tokens->error(); @@ -177,9 +177,9 @@ final class Parser goto loop; } /** @param true[] $arr */ - private function checkArrayKey(\RectorPrefix20220519\Nette\Neon\Node $key, array &$arr) : void + private function checkArrayKey(\RectorPrefix20220520\Nette\Neon\Node $key, array &$arr) : void { - if (!$key instanceof \RectorPrefix20220519\Nette\Neon\Node\StringNode && !$key instanceof \RectorPrefix20220519\Nette\Neon\Node\LiteralNode || !\is_scalar($key->value)) { + if (!$key instanceof \RectorPrefix20220520\Nette\Neon\Node\StringNode && !$key instanceof \RectorPrefix20220520\Nette\Neon\Node\LiteralNode || !\is_scalar($key->value)) { $this->tokens->error('Unacceptable key', $key->startTokenPos); } $k = (string) $key->value; @@ -188,7 +188,7 @@ final class Parser } $arr[$k] = \true; } - private function injectPos(\RectorPrefix20220519\Nette\Neon\Node $node, int $start = null, int $end = null) : \RectorPrefix20220519\Nette\Neon\Node + private function injectPos(\RectorPrefix20220520\Nette\Neon\Node $node, int $start = null, int $end = null) : \RectorPrefix20220520\Nette\Neon\Node { $node->startTokenPos = $start ?? $this->tokens->getPos(); $node->startLine = $this->posToLine[$node->startTokenPos]; diff --git a/vendor/nette/neon/src/Neon/Token.php b/vendor/nette/neon/src/Neon/Token.php index 92010a4b3c5..f3f15129579 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 RectorPrefix20220519\Nette\Neon; +namespace RectorPrefix20220520\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 767ef44c10d..c973065103b 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 RectorPrefix20220519\Nette\Neon; +namespace RectorPrefix20220520\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, [\RectorPrefix20220519\Nette\Neon\Token::Comment, \RectorPrefix20220519\Nette\Neon\Token::Whitespace], \true)) { + while (\in_array($this->tokens[$this->pos]->type ?? null, [\RectorPrefix20220520\Nette\Neon\Token::Comment, \RectorPrefix20220520\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) : ?\RectorPrefix20220519\Nette\Neon\Token + public function consume(...$types) : ?\RectorPrefix20220520\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, [\RectorPrefix20220519\Nette\Neon\Token::Newline, null], \true) && ($this->tokens[$this->pos - 1]->type ?? null) === \RectorPrefix20220519\Nette\Neon\Token::Whitespace ? $this->tokens[$this->pos - 1]->value : ''; + return \in_array($this->tokens[$this->pos - 2]->type ?? null, [\RectorPrefix20220520\Nette\Neon\Token::Newline, null], \true) && ($this->tokens[$this->pos - 1]->type ?? null) === \RectorPrefix20220520\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 \RectorPrefix20220519\Nette\Neon\Exception("{$message} on line {$line}, column {$col}."); + throw new \RectorPrefix20220520\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 d7f53bc8db0..d1fd5863d54 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 RectorPrefix20220519\Nette\Neon; +namespace RectorPrefix20220520\Nette\Neon; /** @internal */ final class Traverser @@ -22,19 +22,19 @@ final class Traverser * @param callable(Node): (Node|int|null)|null $enter * @param callable(Node): (Node|int|null)|null $leave */ - public function traverse(\RectorPrefix20220519\Nette\Neon\Node $node, ?callable $enter = null, ?callable $leave = null) : \RectorPrefix20220519\Nette\Neon\Node + public function traverse(\RectorPrefix20220520\Nette\Neon\Node $node, ?callable $enter = null, ?callable $leave = null) : \RectorPrefix20220520\Nette\Neon\Node { $this->enter = $enter; $this->leave = $leave; $this->stop = \false; return $this->traverseNode($node); } - private function traverseNode(\RectorPrefix20220519\Nette\Neon\Node $node) : \RectorPrefix20220519\Nette\Neon\Node + private function traverseNode(\RectorPrefix20220520\Nette\Neon\Node $node) : \RectorPrefix20220520\Nette\Neon\Node { $children = \true; if ($this->enter) { $res = ($this->enter)($node); - if ($res instanceof \RectorPrefix20220519\Nette\Neon\Node) { + if ($res instanceof \RectorPrefix20220520\Nette\Neon\Node) { $node = $res; } elseif ($res === self::DontTraverseChildren) { $children = \false; @@ -53,7 +53,7 @@ final class Traverser } if (!$this->stop && $this->leave) { $res = ($this->leave)($node); - if ($res instanceof \RectorPrefix20220519\Nette\Neon\Node) { + if ($res instanceof \RectorPrefix20220520\Nette\Neon\Node) { $node = $res; } elseif ($res === self::StopTraversal) { $this->stop = \true; diff --git a/vendor/nette/utils/ncs.php b/vendor/nette/utils/ncs.php index 84f8707acbc..afacf8d6946 100644 --- a/vendor/nette/utils/ncs.php +++ b/vendor/nette/utils/ncs.php @@ -5,7 +5,7 @@ * https://github.com/nette/coding-standard */ declare (strict_types=1); -namespace RectorPrefix20220519; +namespace RectorPrefix20220520; return [ // use function in Arrays.php, Callback.php, Html.php, Strings.php diff --git a/vendor/nette/utils/src/HtmlStringable.php b/vendor/nette/utils/src/HtmlStringable.php index 1c12c625419..742947c849b 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 RectorPrefix20220519\Nette; +namespace RectorPrefix20220520\Nette; interface HtmlStringable { @@ -14,4 +14,4 @@ interface HtmlStringable */ function __toString() : string; } -\interface_exists(\RectorPrefix20220519\Nette\Utils\IHtmlString::class); +\interface_exists(\RectorPrefix20220520\Nette\Utils\IHtmlString::class); diff --git a/vendor/nette/utils/src/Iterators/CachingIterator.php b/vendor/nette/utils/src/Iterators/CachingIterator.php index 8bed2effca9..2ead82164f6 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 RectorPrefix20220519\Nette\Iterators; +namespace RectorPrefix20220520\Nette\Iterators; -use RectorPrefix20220519\Nette; +use RectorPrefix20220520\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 \RectorPrefix20220519\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 \RectorPrefix20220520\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); } @@ -93,7 +93,7 @@ class CachingIterator extends \CachingIterator implements \Countable if ($inner instanceof \Countable) { return $inner->count(); } else { - throw new \RectorPrefix20220519\Nette\NotSupportedException('Iterator is not countable.'); + throw new \RectorPrefix20220520\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 79ad4105654..08f087cc08e 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 RectorPrefix20220519\Nette\Iterators; +namespace RectorPrefix20220520\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 6b3ed086a5d..1e6cef608f5 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 RectorPrefix20220519\Nette; +namespace RectorPrefix20220520\Nette; -use RectorPrefix20220519\Nette\Utils\ObjectHelpers; +use RectorPrefix20220520\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 (\RectorPrefix20220519\Nette\Utils\ObjectHelpers::hasProperty($class, $name) === 'event') { + if (\RectorPrefix20220520\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 \RectorPrefix20220519\Nette\UnexpectedValueException("Property {$class}::\${$name} must be iterable or null, " . \gettype($handlers) . ' given.'); + throw new \RectorPrefix20220520\Nette\UnexpectedValueException("Property {$class}::\${$name} must be iterable or null, " . \gettype($handlers) . ' given.'); } } else { - \RectorPrefix20220519\Nette\Utils\ObjectHelpers::strictCall($class, $name); + \RectorPrefix20220520\Nette\Utils\ObjectHelpers::strictCall($class, $name); } } /** @@ -42,7 +42,7 @@ trait SmartObject */ public static function __callStatic(string $name, array $args) { - \RectorPrefix20220519\Nette\Utils\ObjectHelpers::strictStaticCall(static::class, $name); + \RectorPrefix20220520\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 = \RectorPrefix20220519\Nette\Utils\ObjectHelpers::getMagicProperties($class)[$name] ?? null) { + if ($prop = \RectorPrefix20220520\Nette\Utils\ObjectHelpers::getMagicProperties($class)[$name] ?? null) { // property getter if (!($prop & 0b1)) { - throw new \RectorPrefix20220519\Nette\MemberAccessException("Cannot read a write-only property {$class}::\${$name}."); + throw new \RectorPrefix20220520\Nette\MemberAccessException("Cannot read a write-only property {$class}::\${$name}."); } $m = ($prop & 0b10 ? 'get' : 'is') . \ucfirst($name); if ($prop & 0b10000) { @@ -71,7 +71,7 @@ trait SmartObject return $val; } } else { - \RectorPrefix20220519\Nette\Utils\ObjectHelpers::strictGet($class, $name); + \RectorPrefix20220520\Nette\Utils\ObjectHelpers::strictGet($class, $name); } } /** @@ -82,13 +82,13 @@ trait SmartObject public function __set(string $name, $value) { $class = static::class; - if (\RectorPrefix20220519\Nette\Utils\ObjectHelpers::hasProperty($class, $name)) { + if (\RectorPrefix20220520\Nette\Utils\ObjectHelpers::hasProperty($class, $name)) { // unsetted property $this->{$name} = $value; - } elseif ($prop = \RectorPrefix20220519\Nette\Utils\ObjectHelpers::getMagicProperties($class)[$name] ?? null) { + } elseif ($prop = \RectorPrefix20220520\Nette\Utils\ObjectHelpers::getMagicProperties($class)[$name] ?? null) { // property setter if (!($prop & 0b1000)) { - throw new \RectorPrefix20220519\Nette\MemberAccessException("Cannot write to a read-only property {$class}::\${$name}."); + throw new \RectorPrefix20220520\Nette\MemberAccessException("Cannot write to a read-only property {$class}::\${$name}."); } $m = 'set' . \ucfirst($name); if ($prop & 0b10000) { @@ -99,7 +99,7 @@ trait SmartObject } $this->{$m}($value); } else { - \RectorPrefix20220519\Nette\Utils\ObjectHelpers::strictSet($class, $name); + \RectorPrefix20220520\Nette\Utils\ObjectHelpers::strictSet($class, $name); } } /** @@ -109,12 +109,12 @@ trait SmartObject public function __unset(string $name) { $class = static::class; - if (!\RectorPrefix20220519\Nette\Utils\ObjectHelpers::hasProperty($class, $name)) { - throw new \RectorPrefix20220519\Nette\MemberAccessException("Cannot unset the property {$class}::\${$name}."); + if (!\RectorPrefix20220520\Nette\Utils\ObjectHelpers::hasProperty($class, $name)) { + throw new \RectorPrefix20220520\Nette\MemberAccessException("Cannot unset the property {$class}::\${$name}."); } } public function __isset(string $name) : bool { - return isset(\RectorPrefix20220519\Nette\Utils\ObjectHelpers::getMagicProperties(static::class)[$name]); + return isset(\RectorPrefix20220520\Nette\Utils\ObjectHelpers::getMagicProperties(static::class)[$name]); } } diff --git a/vendor/nette/utils/src/StaticClass.php b/vendor/nette/utils/src/StaticClass.php index 67fca6cb3f6..ceeb3176c0e 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 RectorPrefix20220519\Nette; +namespace RectorPrefix20220520\Nette; /** * Static class. @@ -27,6 +27,6 @@ trait StaticClass */ public static function __callStatic(string $name, array $args) { - \RectorPrefix20220519\Nette\Utils\ObjectHelpers::strictStaticCall(static::class, $name); + \RectorPrefix20220520\Nette\Utils\ObjectHelpers::strictStaticCall(static::class, $name); } } diff --git a/vendor/nette/utils/src/Translator.php b/vendor/nette/utils/src/Translator.php index b609d21efa2..ebeefbceae0 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 RectorPrefix20220519\Nette\Localization; +namespace RectorPrefix20220520\Nette\Localization; /** * Translator adapter. @@ -19,4 +19,4 @@ interface Translator */ function translate($message, ...$parameters) : string; } -\interface_exists(\RectorPrefix20220519\Nette\Localization\ITranslator::class); +\interface_exists(\RectorPrefix20220520\Nette\Localization\ITranslator::class); diff --git a/vendor/nette/utils/src/Utils/ArrayHash.php b/vendor/nette/utils/src/Utils/ArrayHash.php index 244c67cba76..951a79d0e24 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 RectorPrefix20220519\Nette\Utils; +namespace RectorPrefix20220520\Nette\Utils; -use RectorPrefix20220519\Nette; +use RectorPrefix20220520\Nette; /** * Provides objects to work as array. * @template T @@ -51,7 +51,7 @@ class ArrayHash extends \stdClass implements \ArrayAccess, \Countable, \Iterator { if (!\is_scalar($key)) { // prevents null - throw new \RectorPrefix20220519\Nette\InvalidArgumentException(\sprintf('Key must be either a string or an integer, %s given.', \gettype($key))); + throw new \RectorPrefix20220520\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 22110809a8d..8c61ea44611 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 RectorPrefix20220519\Nette\Utils; +namespace RectorPrefix20220520\Nette\Utils; -use RectorPrefix20220519\Nette; +use RectorPrefix20220520\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 $array) { - if (!\RectorPrefix20220519\Nette\Utils\Arrays::isList($array)) { - throw new \RectorPrefix20220519\Nette\InvalidArgumentException('Array is not valid list.'); + if (!\RectorPrefix20220520\Nette\Utils\Arrays::isList($array)) { + throw new \RectorPrefix20220520\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 \RectorPrefix20220519\Nette\OutOfRangeException('Offset invalid or out of range'); + throw new \RectorPrefix20220520\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 \RectorPrefix20220519\Nette\OutOfRangeException('Offset invalid or out of range'); + throw new \RectorPrefix20220520\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 \RectorPrefix20220519\Nette\OutOfRangeException('Offset invalid or out of range'); + throw new \RectorPrefix20220520\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 fef1e54cb6c..1f694d24865 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 RectorPrefix20220519\Nette\Utils; +namespace RectorPrefix20220520\Nette\Utils; -use RectorPrefix20220519\Nette; +use RectorPrefix20220520\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 \RectorPrefix20220519\Nette\InvalidArgumentException("Missing item '{$k}'."); + throw new \RectorPrefix20220520\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 \RectorPrefix20220519\Nette\InvalidArgumentException('Traversed item is not an array.'); + throw new \RectorPrefix20220520\Nette\InvalidArgumentException('Traversed item is not an array.'); } } return $array; @@ -84,7 +84,7 @@ class Arrays */ public static function getKeyOffset(array $array, $key) : ?int { - return \RectorPrefix20220519\Nette\Utils\Helpers::falseToNull(\array_search(self::toKey($key), \array_keys($array), \true)); + return \RectorPrefix20220520\Nette\Utils\Helpers::falseToNull(\array_search(self::toKey($key), \array_keys($array), \true)); } /** * @deprecated use getKeyOffset() @@ -168,7 +168,7 @@ class Arrays */ public static function grep(array $array, string $pattern, int $flags = 0) : array { - return \RectorPrefix20220519\Nette\Utils\Strings::pcre('preg_grep', [$pattern, $array, $flags]); + return \RectorPrefix20220520\Nette\Utils\Strings::pcre('preg_grep', [$pattern, $array, $flags]); } /** * Transforms multidimensional array to flat array. @@ -191,7 +191,7 @@ class Arrays public static function isList($value) : bool { $arrayIsList = function (array $array) : bool { - if (\function_exists('RectorPrefix20220519\\array_is_list')) { + if (\function_exists('RectorPrefix20220520\\array_is_list')) { return array_is_list($array); } if ($array === []) { @@ -217,7 +217,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 \RectorPrefix20220519\Nette\InvalidArgumentException("Invalid path '{$path}'."); + throw new \RectorPrefix20220520\Nette\InvalidArgumentException("Invalid path '{$path}'."); } $res = $parts[0] === '->' ? new \stdClass() : []; foreach ($array as $rowOrig) { @@ -280,7 +280,7 @@ class Arrays unset($array[$key]); return $value; } elseif (\func_num_args() < 3) { - throw new \RectorPrefix20220519\Nette\InvalidArgumentException("Missing item '{$key}'."); + throw new \RectorPrefix20220520\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 71d8fc5a97d..755613b5c71 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 RectorPrefix20220519\Nette\Utils; +namespace RectorPrefix20220520\Nette\Utils; -use RectorPrefix20220519\Nette; +use RectorPrefix20220520\Nette; use function is_array, is_object, is_string; /** * PHP callable tools. @@ -25,7 +25,7 @@ final class Callback try { return \Closure::fromCallable($method === null ? $callable : [$callable, $method]); } catch (\TypeError $e) { - throw new \RectorPrefix20220519\Nette\InvalidArgumentException($e->getMessage()); + throw new \RectorPrefix20220520\Nette\InvalidArgumentException($e->getMessage()); } } /** @@ -58,7 +58,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') ? \RectorPrefix20220519\Nette\Utils\Html::htmlToText($message) : $message; + $msg = \ini_get('html_errors') ? \RectorPrefix20220520\Nette\Utils\Html::htmlToText($message) : $message; $msg = \preg_replace("#^{$function}\\(.*?\\): #", '', $msg); if ($onError($msg, $severity) !== \false) { return null; @@ -82,7 +82,7 @@ final class Callback public static function check($callable, bool $syntax = \false) { if (!\is_callable($callable, $syntax)) { - throw new \RectorPrefix20220519\Nette\InvalidArgumentException($syntax ? 'Given value is not a callable type.' : \sprintf("Callback '%s' is not callable.", self::toString($callable))); + throw new \RectorPrefix20220520\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 8aa7a29cc7c..a4fdf5efd6f 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 RectorPrefix20220519\Nette\Utils; +namespace RectorPrefix20220520\Nette\Utils; -use RectorPrefix20220519\Nette; +use RectorPrefix20220520\Nette; /** * DateTime. */ @@ -55,7 +55,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 \RectorPrefix20220519\Nette\InvalidArgumentException("Invalid date '{$s}'"); + throw new \RectorPrefix20220520\Nette\InvalidArgumentException("Invalid date '{$s}'"); } return new static($s); } @@ -74,7 +74,7 @@ class DateTime extends \DateTime implements \JsonSerializable } elseif (\is_string($timezone)) { $timezone = new \DateTimeZone($timezone); } elseif (!$timezone instanceof \DateTimeZone) { - throw new \RectorPrefix20220519\Nette\InvalidArgumentException('Invalid timezone given'); + throw new \RectorPrefix20220520\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 2d243372be0..e05eaa2fade 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 RectorPrefix20220519\Nette\Utils; +namespace RectorPrefix20220520\Nette\Utils; -use RectorPrefix20220519\Nette; +use RectorPrefix20220520\Nette; /** * File system tool. */ @@ -22,7 +22,7 @@ final class FileSystem { if (!\is_dir($dir) && !@\mkdir($dir, $mode, \true) && !\is_dir($dir)) { // @ - dir may already exist - throw new \RectorPrefix20220519\Nette\IOException(\sprintf("Unable to create directory '%s' with mode %s. %s", self::normalizePath($dir), \decoct($mode), \RectorPrefix20220519\Nette\Utils\Helpers::getLastError())); + throw new \RectorPrefix20220520\Nette\IOException(\sprintf("Unable to create directory '%s' with mode %s. %s", self::normalizePath($dir), \decoct($mode), \RectorPrefix20220520\Nette\Utils\Helpers::getLastError())); } } /** @@ -33,9 +33,9 @@ final class FileSystem public static function copy(string $origin, string $target, bool $overwrite = \true) : void { if (\stream_is_local($origin) && !\file_exists($origin)) { - throw new \RectorPrefix20220519\Nette\IOException(\sprintf("File or directory '%s' not found.", self::normalizePath($origin))); + throw new \RectorPrefix20220520\Nette\IOException(\sprintf("File or directory '%s' not found.", self::normalizePath($origin))); } elseif (!$overwrite && \file_exists($target)) { - throw new \RectorPrefix20220519\Nette\InvalidStateException(\sprintf("File or directory '%s' already exists.", self::normalizePath($target))); + throw new \RectorPrefix20220520\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) { @@ -52,7 +52,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 \RectorPrefix20220519\Nette\IOException(\sprintf("Unable to copy file '%s' to '%s'. %s", self::normalizePath($origin), self::normalizePath($target), \RectorPrefix20220519\Nette\Utils\Helpers::getLastError())); + throw new \RectorPrefix20220520\Nette\IOException(\sprintf("Unable to copy file '%s' to '%s'. %s", self::normalizePath($origin), self::normalizePath($target), \RectorPrefix20220520\Nette\Utils\Helpers::getLastError())); } } } @@ -66,7 +66,7 @@ final class FileSystem $func = \DIRECTORY_SEPARATOR === '\\' && \is_dir($path) ? 'rmdir' : 'unlink'; if (!@$func($path)) { // @ is escalated to exception - throw new \RectorPrefix20220519\Nette\IOException(\sprintf("Unable to delete '%s'. %s", self::normalizePath($path), \RectorPrefix20220519\Nette\Utils\Helpers::getLastError())); + throw new \RectorPrefix20220520\Nette\IOException(\sprintf("Unable to delete '%s'. %s", self::normalizePath($path), \RectorPrefix20220520\Nette\Utils\Helpers::getLastError())); } } elseif (\is_dir($path)) { foreach (new \FilesystemIterator($path) as $item) { @@ -74,7 +74,7 @@ final class FileSystem } if (!@\rmdir($path)) { // @ is escalated to exception - throw new \RectorPrefix20220519\Nette\IOException(\sprintf("Unable to delete directory '%s'. %s", self::normalizePath($path), \RectorPrefix20220519\Nette\Utils\Helpers::getLastError())); + throw new \RectorPrefix20220520\Nette\IOException(\sprintf("Unable to delete directory '%s'. %s", self::normalizePath($path), \RectorPrefix20220520\Nette\Utils\Helpers::getLastError())); } } } @@ -86,9 +86,9 @@ final class FileSystem public static function rename(string $origin, string $target, bool $overwrite = \true) : void { if (!$overwrite && \file_exists($target)) { - throw new \RectorPrefix20220519\Nette\InvalidStateException(\sprintf("File or directory '%s' already exists.", self::normalizePath($target))); + throw new \RectorPrefix20220520\Nette\InvalidStateException(\sprintf("File or directory '%s' already exists.", self::normalizePath($target))); } elseif (!\file_exists($origin)) { - throw new \RectorPrefix20220519\Nette\IOException(\sprintf("File or directory '%s' not found.", self::normalizePath($origin))); + throw new \RectorPrefix20220520\Nette\IOException(\sprintf("File or directory '%s' not found.", self::normalizePath($origin))); } else { static::createDir(\dirname($target)); if (\realpath($origin) !== \realpath($target)) { @@ -96,7 +96,7 @@ final class FileSystem } if (!@\rename($origin, $target)) { // @ is escalated to exception - throw new \RectorPrefix20220519\Nette\IOException(\sprintf("Unable to rename file or directory '%s' to '%s'. %s", self::normalizePath($origin), self::normalizePath($target), \RectorPrefix20220519\Nette\Utils\Helpers::getLastError())); + throw new \RectorPrefix20220520\Nette\IOException(\sprintf("Unable to rename file or directory '%s' to '%s'. %s", self::normalizePath($origin), self::normalizePath($target), \RectorPrefix20220520\Nette\Utils\Helpers::getLastError())); } } } @@ -109,7 +109,7 @@ final class FileSystem $content = @\file_get_contents($file); // @ is escalated to exception if ($content === \false) { - throw new \RectorPrefix20220519\Nette\IOException(\sprintf("Unable to read file '%s'. %s", self::normalizePath($file), \RectorPrefix20220519\Nette\Utils\Helpers::getLastError())); + throw new \RectorPrefix20220520\Nette\IOException(\sprintf("Unable to read file '%s'. %s", self::normalizePath($file), \RectorPrefix20220520\Nette\Utils\Helpers::getLastError())); } return $content; } @@ -122,11 +122,11 @@ final class FileSystem static::createDir(\dirname($file)); if (@\file_put_contents($file, $content) === \false) { // @ is escalated to exception - throw new \RectorPrefix20220519\Nette\IOException(\sprintf("Unable to write file '%s'. %s", self::normalizePath($file), \RectorPrefix20220519\Nette\Utils\Helpers::getLastError())); + throw new \RectorPrefix20220520\Nette\IOException(\sprintf("Unable to write file '%s'. %s", self::normalizePath($file), \RectorPrefix20220520\Nette\Utils\Helpers::getLastError())); } if ($mode !== null && !@\chmod($file, $mode)) { // @ is escalated to exception - throw new \RectorPrefix20220519\Nette\IOException(\sprintf("Unable to chmod file '%s' to mode %s. %s", self::normalizePath($file), \decoct($mode), \RectorPrefix20220519\Nette\Utils\Helpers::getLastError())); + throw new \RectorPrefix20220520\Nette\IOException(\sprintf("Unable to chmod file '%s' to mode %s. %s", self::normalizePath($file), \decoct($mode), \RectorPrefix20220520\Nette\Utils\Helpers::getLastError())); } } /** @@ -138,7 +138,7 @@ final class FileSystem if (\is_file($path)) { if (!@\chmod($path, $fileMode)) { // @ is escalated to exception - throw new \RectorPrefix20220519\Nette\IOException(\sprintf("Unable to chmod file '%s' to mode %s. %s", self::normalizePath($path), \decoct($fileMode), \RectorPrefix20220519\Nette\Utils\Helpers::getLastError())); + throw new \RectorPrefix20220520\Nette\IOException(\sprintf("Unable to chmod file '%s' to mode %s. %s", self::normalizePath($path), \decoct($fileMode), \RectorPrefix20220520\Nette\Utils\Helpers::getLastError())); } } elseif (\is_dir($path)) { foreach (new \FilesystemIterator($path) as $item) { @@ -146,10 +146,10 @@ final class FileSystem } if (!@\chmod($path, $dirMode)) { // @ is escalated to exception - throw new \RectorPrefix20220519\Nette\IOException(\sprintf("Unable to chmod directory '%s' to mode %s. %s", self::normalizePath($path), \decoct($dirMode), \RectorPrefix20220519\Nette\Utils\Helpers::getLastError())); + throw new \RectorPrefix20220520\Nette\IOException(\sprintf("Unable to chmod directory '%s' to mode %s. %s", self::normalizePath($path), \decoct($dirMode), \RectorPrefix20220520\Nette\Utils\Helpers::getLastError())); } } else { - throw new \RectorPrefix20220519\Nette\IOException(\sprintf("File or directory '%s' not found.", self::normalizePath($path))); + throw new \RectorPrefix20220520\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 214332adce7..d7db216372e 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 RectorPrefix20220519\Nette\Utils; +namespace RectorPrefix20220520\Nette\Utils; -use RectorPrefix20220519\Nette; +use RectorPrefix20220520\Nette; /** * Floating-point numbers comparison. */ diff --git a/vendor/nette/utils/src/Utils/Helpers.php b/vendor/nette/utils/src/Utils/Helpers.php index 03738f4ee2d..36555d606e7 100644 --- a/vendor/nette/utils/src/Utils/Helpers.php +++ b/vendor/nette/utils/src/Utils/Helpers.php @@ -5,9 +5,9 @@ * Copyright (c) 2004 David Grudl (https://davidgrudl.com) */ declare (strict_types=1); -namespace RectorPrefix20220519\Nette\Utils; +namespace RectorPrefix20220520\Nette\Utils; -use RectorPrefix20220519\Nette; +use RectorPrefix20220520\Nette; class Helpers { /** @@ -32,7 +32,7 @@ class Helpers public static function getLastError() : string { $message = \error_get_last()['message'] ?? ''; - $message = \ini_get('html_errors') ? \RectorPrefix20220519\Nette\Utils\Html::htmlToText($message) : $message; + $message = \ini_get('html_errors') ? \RectorPrefix20220520\Nette\Utils\Html::htmlToText($message) : $message; $message = \preg_replace('#^\\w+\\(.*?\\): #', '', $message); return $message; } @@ -55,7 +55,7 @@ class Helpers public static function clamp($value, $min, $max) { if ($min > $max) { - throw new \RectorPrefix20220519\Nette\InvalidArgumentException("Minimum ({$min}) is not less than maximum ({$max})."); + throw new \RectorPrefix20220520\Nette\InvalidArgumentException("Minimum ({$min}) is not less than maximum ({$max})."); } return \min(\max($value, $min), $max); } diff --git a/vendor/nette/utils/src/Utils/Html.php b/vendor/nette/utils/src/Utils/Html.php index 65def2ff6c4..a796da6d37c 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 RectorPrefix20220519\Nette\Utils; +namespace RectorPrefix20220520\Nette\Utils; -use RectorPrefix20220519\Nette; -use RectorPrefix20220519\Nette\HtmlStringable; +use RectorPrefix20220520\Nette; +use RectorPrefix20220520\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, \RectorPrefix20220519\Nette\HtmlStringable +class Html implements \ArrayAccess, \Countable, \IteratorAggregate, \RectorPrefix20220520\Nette\HtmlStringable { use Nette\SmartObject; /** @var array element's attributes */ @@ -258,7 +258,7 @@ class Html implements \ArrayAccess, \Countable, \IteratorAggregate, \RectorPrefi $el->setText($attrs); } if (isset($parts[1])) { - foreach (\RectorPrefix20220519\Nette\Utils\Strings::matchAll($parts[1] . ' ', '#([a-z0-9:-]+)(?:=(["\'])?(.*?)(?(2)\\2|\\s))?#i') as $m) { + foreach (\RectorPrefix20220520\Nette\Utils\Strings::matchAll($parts[1] . ' ', '#([a-z0-9:-]+)(?:=(["\'])?(.*?)(?(2)\\2|\\s))?#i') as $m) { $el->attrs[$m[1]] = $m[3] ?? \true; } } @@ -502,7 +502,7 @@ class Html implements \ArrayAccess, \Countable, \IteratorAggregate, \RectorPrefi */ public final function setText($text) { - if (!$text instanceof \RectorPrefix20220519\Nette\HtmlStringable) { + if (!$text instanceof \RectorPrefix20220520\Nette\HtmlStringable) { $text = \htmlspecialchars((string) $text, \ENT_NOQUOTES, 'UTF-8'); } $this->children = [(string) $text]; @@ -531,7 +531,7 @@ class Html implements \ArrayAccess, \Countable, \IteratorAggregate, \RectorPrefi */ public function addText($text) { - if (!$text instanceof \RectorPrefix20220519\Nette\HtmlStringable) { + if (!$text instanceof \RectorPrefix20220520\Nette\HtmlStringable) { $text = \htmlspecialchars((string) $text, \ENT_NOQUOTES, 'UTF-8'); } return $this->insert(null, $text); @@ -704,7 +704,7 @@ class Html implements \ArrayAccess, \Countable, \IteratorAggregate, \RectorPrefi continue; } elseif (\is_array($value)) { if (\strncmp($key, 'data-', 5) === 0) { - $value = \RectorPrefix20220519\Nette\Utils\Json::encode($value); + $value = \RectorPrefix20220520\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 7a0e19f1814..62a299b75f7 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 RectorPrefix20220519\Nette\Utils; +namespace RectorPrefix20220520\Nette\Utils; -use RectorPrefix20220519\Nette; +use RectorPrefix20220520\Nette; /** * Basic manipulation with images. Supported types are JPEG, PNG, GIF, WEBP, AVIF and BMP. * @@ -125,11 +125,11 @@ class Image public static function fromFile(string $file, ?int &$type = null) { if (!\extension_loaded('gd')) { - throw new \RectorPrefix20220519\Nette\NotSupportedException('PHP extension GD is not loaded.'); + throw new \RectorPrefix20220520\Nette\NotSupportedException('PHP extension GD is not loaded.'); } $type = self::detectTypeFromFile($file); if (!$type) { - throw new \RectorPrefix20220519\Nette\Utils\UnknownImageFileException(\is_file($file) ? "Unknown type of file '{$file}'." : "File '{$file}' not found."); + throw new \RectorPrefix20220520\Nette\Utils\UnknownImageFileException(\is_file($file) ? "Unknown type of file '{$file}'." : "File '{$file}' not found."); } return self::invokeSafe('imagecreatefrom' . self::FORMATS[$type], $file, "Unable to open file '{$file}'.", __METHOD__); } @@ -142,22 +142,22 @@ class Image public static function fromString(string $s, ?int &$type = null) { if (!\extension_loaded('gd')) { - throw new \RectorPrefix20220519\Nette\NotSupportedException('PHP extension GD is not loaded.'); + throw new \RectorPrefix20220520\Nette\NotSupportedException('PHP extension GD is not loaded.'); } $type = self::detectTypeFromString($s); if (!$type) { - throw new \RectorPrefix20220519\Nette\Utils\UnknownImageFileException('Unknown type of image.'); + throw new \RectorPrefix20220520\Nette\Utils\UnknownImageFileException('Unknown type of image.'); } return self::invokeSafe('imagecreatefromstring', $s, 'Unable to open image from string.', __METHOD__); } private static function invokeSafe(string $func, string $arg, string $message, string $callee) : self { $errors = []; - $res = \RectorPrefix20220519\Nette\Utils\Callback::invokeSafe($func, [$arg], function (string $message) use(&$errors) : void { + $res = \RectorPrefix20220520\Nette\Utils\Callback::invokeSafe($func, [$arg], function (string $message) use(&$errors) : void { $errors[] = $message; }); if (!$res) { - throw new \RectorPrefix20220519\Nette\Utils\ImageException($message . ' Errors: ' . \implode(', ', $errors)); + throw new \RectorPrefix20220520\Nette\Utils\ImageException($message . ' Errors: ' . \implode(', ', $errors)); } elseif ($errors) { \trigger_error($callee . '(): ' . \implode(', ', $errors), \E_USER_WARNING); } @@ -171,10 +171,10 @@ class Image public static function fromBlank(int $width, int $height, ?array $color = null) { if (!\extension_loaded('gd')) { - throw new \RectorPrefix20220519\Nette\NotSupportedException('PHP extension GD is not loaded.'); + throw new \RectorPrefix20220520\Nette\NotSupportedException('PHP extension GD is not loaded.'); } if ($width < 1 || $height < 1) { - throw new \RectorPrefix20220519\Nette\InvalidArgumentException('Image width and height must be greater than zero.'); + throw new \RectorPrefix20220520\Nette\InvalidArgumentException('Image width and height must be greater than zero.'); } $image = \imagecreatetruecolor($width, $height); if ($color) { @@ -210,7 +210,7 @@ class Image public static function typeToExtension(int $type) : string { if (!isset(self::FORMATS[$type])) { - throw new \RectorPrefix20220519\Nette\InvalidArgumentException("Unsupported image type '{$type}'."); + throw new \RectorPrefix20220520\Nette\InvalidArgumentException("Unsupported image type '{$type}'."); } return self::FORMATS[$type]; } @@ -252,7 +252,7 @@ class Image protected function setImageResource($image) { if (!$image instanceof \GdImage && !(\is_resource($image) && \get_resource_type($image) === 'gd')) { - throw new \RectorPrefix20220519\Nette\InvalidArgumentException('Image is not valid.'); + throw new \RectorPrefix20220520\Nette\InvalidArgumentException('Image is not valid.'); } $this->image = $image; return $this; @@ -312,7 +312,7 @@ class Image if ($flags & self::STRETCH) { // non-proportional if (!$newWidth || !$newHeight) { - throw new \RectorPrefix20220519\Nette\InvalidArgumentException('For stretching must be both width and height specified.'); + throw new \RectorPrefix20220520\Nette\InvalidArgumentException('For stretching must be both width and height specified.'); } if ($flags & self::SHRINK_ONLY) { $newWidth = (int) \round($srcWidth * \min(1, $newWidth / $srcWidth)); @@ -321,7 +321,7 @@ class Image } else { // proportional if (!$newWidth && !$newHeight) { - throw new \RectorPrefix20220519\Nette\InvalidArgumentException('At least width or height must be specified.'); + throw new \RectorPrefix20220520\Nette\InvalidArgumentException('At least width or height must be specified.'); } $scale = []; if ($newWidth > 0) { @@ -468,7 +468,7 @@ class Image $extensions = \array_flip(self::FORMATS) + ['jpg' => self::JPEG]; $ext = \strtolower(\pathinfo($file, \PATHINFO_EXTENSION)); if (!isset($extensions[$ext])) { - throw new \RectorPrefix20220519\Nette\InvalidArgumentException("Unsupported file extension '{$ext}'."); + throw new \RectorPrefix20220520\Nette\InvalidArgumentException("Unsupported file extension '{$ext}'."); } $type = $extensions[$ext]; } @@ -479,7 +479,7 @@ class Image */ public function toString(int $type = self::JPEG, ?int $quality = null) : string { - return \RectorPrefix20220519\Nette\Utils\Helpers::capture(function () use($type, $quality) { + return \RectorPrefix20220520\Nette\Utils\Helpers::capture(function () use($type, $quality) { $this->output($type, $quality); }); } @@ -543,10 +543,10 @@ class Image // @ is escalated to exception break; default: - throw new \RectorPrefix20220519\Nette\InvalidArgumentException("Unsupported image type '{$type}'."); + throw new \RectorPrefix20220520\Nette\InvalidArgumentException("Unsupported image type '{$type}'."); } if (!$success) { - throw new \RectorPrefix20220519\Nette\Utils\ImageException(\RectorPrefix20220519\Nette\Utils\Helpers::getLastError() ?: 'Unknown error'); + throw new \RectorPrefix20220520\Nette\Utils\ImageException(\RectorPrefix20220520\Nette\Utils\Helpers::getLastError() ?: 'Unknown error'); } } /** @@ -558,7 +558,7 @@ class Image { $function = 'image' . $name; if (!\function_exists($function)) { - \RectorPrefix20220519\Nette\Utils\ObjectHelpers::strictCall(static::class, $name); + \RectorPrefix20220520\Nette\Utils\ObjectHelpers::strictCall(static::class, $name); } foreach ($args as $key => $value) { if ($value instanceof self) { @@ -590,13 +590,13 @@ class Image $num = (int) $num; return \false; } - throw new \RectorPrefix20220519\Nette\InvalidArgumentException("Expected dimension in int|string, '{$num}' given."); + throw new \RectorPrefix20220520\Nette\InvalidArgumentException("Expected dimension in int|string, '{$num}' given."); } /** * Prevents serialization. */ public function __sleep() : array { - throw new \RectorPrefix20220519\Nette\NotSupportedException('You cannot serialize or unserialize ' . self::class . ' instances.'); + throw new \RectorPrefix20220520\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 c697373c0eb..83c5286917c 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 RectorPrefix20220519\Nette\Utils; +namespace RectorPrefix20220520\Nette\Utils; -use RectorPrefix20220519\Nette; +use RectorPrefix20220520\Nette; /** * JSON encoder and decoder. */ @@ -29,7 +29,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 \RectorPrefix20220519\Nette\Utils\JsonException(\json_last_error_msg(), $error); + throw new \RectorPrefix20220520\Nette\Utils\JsonException(\json_last_error_msg(), $error); } return $json; } @@ -42,7 +42,7 @@ final class Json { $value = \json_decode($json, null, 512, $flags | \JSON_BIGINT_AS_STRING); if ($error = \json_last_error()) { - throw new \RectorPrefix20220519\Nette\Utils\JsonException(\json_last_error_msg(), $error); + throw new \RectorPrefix20220520\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 5216cda463a..2eea66d3c68 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 RectorPrefix20220519\Nette\Utils; +namespace RectorPrefix20220520\Nette\Utils; -use RectorPrefix20220519\Nette; -use RectorPrefix20220519\Nette\MemberAccessException; +use RectorPrefix20220520\Nette; +use RectorPrefix20220520\Nette\MemberAccessException; /** * Nette\SmartObject helpers. */ @@ -25,7 +25,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 \RectorPrefix20220519\Nette\MemberAccessException("Cannot read an undeclared property {$class}::\${$name}" . ($hint ? ", did you mean \${$hint}?" : '.')); + throw new \RectorPrefix20220520\Nette\MemberAccessException("Cannot read an undeclared property {$class}::\${$name}" . ($hint ? ", did you mean \${$hint}?" : '.')); } /** * @return never @@ -37,7 +37,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 \RectorPrefix20220519\Nette\MemberAccessException("Cannot write to an undeclared property {$class}::\${$name}" . ($hint ? ", did you mean \${$hint}?" : '.')); + throw new \RectorPrefix20220520\Nette\MemberAccessException("Cannot write to an undeclared property {$class}::\${$name}" . ($hint ? ", did you mean \${$hint}?" : '.')); } /** * @return never @@ -56,10 +56,10 @@ final class ObjectHelpers // insufficient visibility $rm = new \ReflectionMethod($class, $method); $visibility = $rm->isPrivate() ? 'private ' : ($rm->isProtected() ? 'protected ' : ''); - throw new \RectorPrefix20220519\Nette\MemberAccessException("Call to {$visibility}method {$class}::{$method}() from " . ($context ? "scope {$context}." : 'global scope.')); + throw new \RectorPrefix20220520\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 \RectorPrefix20220519\Nette\MemberAccessException("Call to undefined method {$class}::{$method}()" . ($hint ? ", did you mean {$hint}()?" : '.')); + throw new \RectorPrefix20220520\Nette\MemberAccessException("Call to undefined method {$class}::{$method}()" . ($hint ? ", did you mean {$hint}()?" : '.')); } } /** @@ -79,12 +79,12 @@ final class ObjectHelpers // insufficient visibility $rm = new \ReflectionMethod($class, $method); $visibility = $rm->isPrivate() ? 'private ' : ($rm->isProtected() ? 'protected ' : ''); - throw new \RectorPrefix20220519\Nette\MemberAccessException("Call to {$visibility}method {$class}::{$method}() from " . ($context ? "scope {$context}." : 'global scope.')); + throw new \RectorPrefix20220520\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 \RectorPrefix20220519\Nette\MemberAccessException("Call to undefined static method {$class}::{$method}()" . ($hint ? ", did you mean {$hint}()?" : '.')); + throw new \RectorPrefix20220520\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 ef4176cd0e4..9e06ec0012d 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 RectorPrefix20220519\Nette\Utils; +namespace RectorPrefix20220520\Nette\Utils; -use RectorPrefix20220519\Nette; +use RectorPrefix20220520\Nette; /** * Nette\Object behaviour mixin. * @deprecated @@ -19,7 +19,7 @@ final class ObjectMixin public static function getSuggestion(array $possibilities, string $value) : ?string { \trigger_error(__METHOD__ . '() has been renamed to Nette\\Utils\\ObjectHelpers::getSuggestion()', \E_USER_DEPRECATED); - return \RectorPrefix20220519\Nette\Utils\ObjectHelpers::getSuggestion($possibilities, $value); + return \RectorPrefix20220520\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 9b8aae64fc3..a91babd791a 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 RectorPrefix20220519\Nette\Utils; +namespace RectorPrefix20220520\Nette\Utils; -use RectorPrefix20220519\Nette; +use RectorPrefix20220520\Nette; /** * Paginating math. * diff --git a/vendor/nette/utils/src/Utils/Random.php b/vendor/nette/utils/src/Utils/Random.php index 37b38cf950c..412341cc322 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 RectorPrefix20220519\Nette\Utils; +namespace RectorPrefix20220520\Nette\Utils; -use RectorPrefix20220519\Nette; +use RectorPrefix20220520\Nette; /** * Secure random string generator. */ @@ -25,9 +25,9 @@ final class Random }, $charlist), 3); $chLen = \strlen($charlist); if ($length < 1) { - throw new \RectorPrefix20220519\Nette\InvalidArgumentException('Length must be greater than zero.'); + throw new \RectorPrefix20220520\Nette\InvalidArgumentException('Length must be greater than zero.'); } elseif ($chLen < 2) { - throw new \RectorPrefix20220519\Nette\InvalidArgumentException('Character list must contain at least two chars.'); + throw new \RectorPrefix20220520\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 f24916fe070..190df2735f6 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 RectorPrefix20220519\Nette\Utils; +namespace RectorPrefix20220520\Nette\Utils; -use RectorPrefix20220519\Nette; +use RectorPrefix20220520\Nette; /** * PHP reflection helpers. */ @@ -45,7 +45,7 @@ final class Reflection */ public static function getReturnTypes(\ReflectionFunctionAbstract $func) : array { - $type = \RectorPrefix20220519\Nette\Utils\Type::fromReflection($func); + $type = \RectorPrefix20220520\Nette\Utils\Type::fromReflection($func); return $type ? $type->getNames() : []; } /** @@ -62,7 +62,7 @@ final class Reflection */ public static function getParameterTypes(\ReflectionParameter $param) : array { - $type = \RectorPrefix20220519\Nette\Utils\Type::fromReflection($param); + $type = \RectorPrefix20220520\Nette\Utils\Type::fromReflection($param); return $type ? $type->getNames() : []; } /** @@ -79,7 +79,7 @@ final class Reflection */ public static function getPropertyTypes(\ReflectionProperty $prop) : array { - $type = \RectorPrefix20220519\Nette\Utils\Type::fromReflection($prop); + $type = \RectorPrefix20220520\Nette\Utils\Type::fromReflection($prop); return $type ? $type->getNames() : []; } /** @@ -90,11 +90,11 @@ final class Reflection if ($type === null) { return null; } elseif ($type instanceof \ReflectionNamedType) { - return \RectorPrefix20220519\Nette\Utils\Type::resolve($type->getName(), $reflection); - } elseif ($type instanceof \ReflectionUnionType || $type instanceof \RectorPrefix20220519\ReflectionIntersectionType) { - throw new \RectorPrefix20220519\Nette\InvalidStateException('The ' . self::toString($reflection) . ' is not expected to have a union or intersection type.'); + return \RectorPrefix20220520\Nette\Utils\Type::resolve($type->getName(), $reflection); + } elseif ($type instanceof \ReflectionUnionType || $type instanceof \RectorPrefix20220520\ReflectionIntersectionType) { + throw new \RectorPrefix20220520\Nette\InvalidStateException('The ' . self::toString($reflection) . ' is not expected to have a union or intersection type.'); } else { - throw new \RectorPrefix20220519\Nette\InvalidStateException('Unexpected type of ' . self::toString($reflection)); + throw new \RectorPrefix20220520\Nette\InvalidStateException('Unexpected type of ' . self::toString($reflection)); } } /** @@ -108,7 +108,7 @@ final class Reflection $const = $orig = $param->getDefaultValueConstantName(); $pair = \explode('::', $const); if (isset($pair[1])) { - $pair[0] = \RectorPrefix20220519\Nette\Utils\Type::resolve($pair[0], $param); + $pair[0] = \RectorPrefix20220520\Nette\Utils\Type::resolve($pair[0], $param); try { $rcc = new \ReflectionClassConstant($pair[0], $pair[1]); } catch (\ReflectionException $e) { @@ -182,7 +182,7 @@ final class Reflection } elseif ($ref instanceof \ReflectionParameter) { return '$' . $ref->name . ' in ' . self::toString($ref->getDeclaringFunction()); } else { - throw new \RectorPrefix20220519\Nette\InvalidArgumentException(); + throw new \RectorPrefix20220520\Nette\InvalidArgumentException(); } } /** @@ -194,7 +194,7 @@ final class Reflection { $lower = \strtolower($name); if (empty($name)) { - throw new \RectorPrefix20220519\Nette\InvalidArgumentException('Class name must not be empty.'); + throw new \RectorPrefix20220520\Nette\InvalidArgumentException('Class name must not be empty.'); } elseif (isset(self::BUILTIN_TYPES[$lower])) { return $lower; } elseif ($lower === 'self' || $lower === 'static') { @@ -220,7 +220,7 @@ final class Reflection public static function getUseStatements(\ReflectionClass $class) : array { if ($class->isAnonymous()) { - throw new \RectorPrefix20220519\Nette\NotImplementedException('Anonymous classes are not supported.'); + throw new \RectorPrefix20220520\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 ab67a3ceb1c..c6cb85b0c67 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 RectorPrefix20220519\Nette\Utils; +namespace RectorPrefix20220520\Nette\Utils; -use RectorPrefix20220519\Nette; +use RectorPrefix20220520\Nette; use function is_array, is_object, strlen; /** * String tools library. @@ -38,9 +38,9 @@ class Strings public static function chr(int $code) : string { if ($code < 0 || $code >= 0xd800 && $code <= 0xdfff || $code > 0x10ffff) { - throw new \RectorPrefix20220519\Nette\InvalidArgumentException('Code point must be in range 0x0 to 0xD7FF or 0xE000 to 0x10FFFF.'); + throw new \RectorPrefix20220520\Nette\InvalidArgumentException('Code point must be in range 0x0 to 0xD7FF or 0xE000 to 0x10FFFF.'); } elseif (!\extension_loaded('iconv')) { - throw new \RectorPrefix20220519\Nette\NotSupportedException(__METHOD__ . '() requires ICONV extension that is not loaded.'); + throw new \RectorPrefix20220520\Nette\NotSupportedException(__METHOD__ . '() requires ICONV extension that is not loaded.'); } return \iconv('UTF-32BE', 'UTF-8//IGNORE', \pack('N', $code)); } @@ -75,7 +75,7 @@ class Strings return \mb_substr($s, $start, $length, 'UTF-8'); // MB is much faster } elseif (!\extension_loaded('iconv')) { - throw new \RectorPrefix20220519\Nette\NotSupportedException(__METHOD__ . '() requires extension ICONV or MBSTRING, neither is loaded.'); + throw new \RectorPrefix20220520\Nette\NotSupportedException(__METHOD__ . '() requires extension ICONV or MBSTRING, neither is loaded.'); } elseif ($length === null) { $length = self::length($s); } elseif ($start < 0 && $length < 0) { @@ -330,7 +330,7 @@ class Strings public static function reverse(string $s) : string { if (!\extension_loaded('iconv')) { - throw new \RectorPrefix20220519\Nette\NotSupportedException(__METHOD__ . '() requires ICONV extension that is not loaded.'); + throw new \RectorPrefix20220520\Nette\NotSupportedException(__METHOD__ . '() requires ICONV extension that is not loaded.'); } return \iconv('UTF-32LE', 'UTF-8', \strrev(\iconv('UTF-8', 'UTF-32BE', $s))); } @@ -388,7 +388,7 @@ class Strings $pos--; } } - return \RectorPrefix20220519\Nette\Utils\Helpers::falseToNull($pos); + return \RectorPrefix20220520\Nette\Utils\Helpers::falseToNull($pos); } /** * Splits a string into array by the regular expression. Parenthesized expression in the delimiter are captured. @@ -430,7 +430,7 @@ class Strings { if (\is_object($replacement) || \is_array($replacement)) { if (!\is_callable($replacement, \false, $textual)) { - throw new \RectorPrefix20220519\Nette\InvalidStateException("Callback '{$textual}' is not callable."); + throw new \RectorPrefix20220520\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))) { @@ -442,12 +442,12 @@ class Strings /** @internal */ public static function pcre(string $func, array $args) { - $res = \RectorPrefix20220519\Nette\Utils\Callback::invokeSafe($func, $args, function (string $message) use($args) : void { + $res = \RectorPrefix20220520\Nette\Utils\Callback::invokeSafe($func, $args, function (string $message) use($args) : void { // compile-time error, not detectable by preg_last_error - throw new \RectorPrefix20220519\Nette\Utils\RegexpException($message . ' in pattern: ' . \implode(' or ', (array) $args[0])); + throw new \RectorPrefix20220520\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 \RectorPrefix20220519\Nette\Utils\RegexpException((\RectorPrefix20220519\Nette\Utils\RegexpException::MESSAGES[$code] ?? 'Unknown error') . ' (pattern: ' . \implode(' or ', (array) $args[0]) . ')', $code); + throw new \RectorPrefix20220520\Nette\Utils\RegexpException((\RectorPrefix20220520\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 c54f3562dfa..98ee04694bf 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 RectorPrefix20220519\Nette\Utils; +namespace RectorPrefix20220520\Nette\Utils; -use RectorPrefix20220519\Nette; +use RectorPrefix20220520\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 \RectorPrefix20220519\ReflectionIntersectionType) { + } elseif ($type instanceof \ReflectionUnionType || $type instanceof \RectorPrefix20220520\ReflectionIntersectionType) { return new self(\array_map(function ($t) use($reflection) { return self::resolve($t->getName(), $reflection); }, $type->getTypes()), $type instanceof \ReflectionUnionType ? '|' : '&'); } else { - throw new \RectorPrefix20220519\Nette\InvalidStateException('Unexpected type of ' . \RectorPrefix20220519\Nette\Utils\Reflection::toString($reflection)); + throw new \RectorPrefix20220520\Nette\InvalidStateException('Unexpected type of ' . \RectorPrefix20220520\Nette\Utils\Reflection::toString($reflection)); } } /** @@ -55,7 +55,7 @@ final class Type \\?([\\w\\\\]+)| [\\w\\\\]+ (?: (&[\\w\\\\]+)* | (\\|[\\w\\\\]+)* ) )()$#xAD', $type, $m)) { - throw new \RectorPrefix20220519\Nette\InvalidArgumentException("Invalid type '{$type}'."); + throw new \RectorPrefix20220520\Nette\InvalidArgumentException("Invalid type '{$type}'."); } [, $nType, $iType] = $m; if ($nType) { @@ -148,21 +148,21 @@ final class Type */ public function isBuiltin() : bool { - return $this->single && \RectorPrefix20220519\Nette\Utils\Reflection::isBuiltinType($this->types[0]); + return $this->single && \RectorPrefix20220520\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 && !\RectorPrefix20220519\Nette\Utils\Reflection::isBuiltinType($this->types[0]); + return $this->single && !\RectorPrefix20220520\Nette\Utils\Reflection::isBuiltinType($this->types[0]); } /** * Determines if type is special class name self/parent/static. */ public function isClassKeyword() : bool { - return $this->single && \RectorPrefix20220519\Nette\Utils\Reflection::isClassKeyword($this->types[0]); + return $this->single && \RectorPrefix20220520\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. @@ -177,17 +177,17 @@ final class Type if (!$type->isIntersection()) { return \false; } - return \RectorPrefix20220519\Nette\Utils\Arrays::every($this->types, function ($currentType) use($type) { - $builtin = \RectorPrefix20220519\Nette\Utils\Reflection::isBuiltinType($currentType); - return \RectorPrefix20220519\Nette\Utils\Arrays::some($type->types, function ($testedType) use($currentType, $builtin) { + return \RectorPrefix20220520\Nette\Utils\Arrays::every($this->types, function ($currentType) use($type) { + $builtin = \RectorPrefix20220520\Nette\Utils\Reflection::isBuiltinType($currentType); + return \RectorPrefix20220520\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 \RectorPrefix20220519\Nette\Utils\Arrays::$method($type->types, function ($testedType) { - $builtin = \RectorPrefix20220519\Nette\Utils\Reflection::isBuiltinType($testedType); - return \RectorPrefix20220519\Nette\Utils\Arrays::some($this->types, function ($currentType) use($testedType, $builtin) { + return \RectorPrefix20220520\Nette\Utils\Arrays::$method($type->types, function ($testedType) { + $builtin = \RectorPrefix20220520\Nette\Utils\Reflection::isBuiltinType($testedType); + return \RectorPrefix20220520\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 e99e2b4d74f..8095dd289ca 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 RectorPrefix20220519\Nette\Utils; +namespace RectorPrefix20220520\Nette\Utils; -use RectorPrefix20220519\Nette; +use RectorPrefix20220520\Nette; /** * Validation utilities. */ @@ -31,7 +31,7 @@ class Validators // pseudo-types 'callable' => [self::class, 'isCallable'], 'iterable' => 'is_iterable', - 'list' => [\RectorPrefix20220519\Nette\Utils\Arrays::class, 'isList'], + 'list' => [\RectorPrefix20220520\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' => [\RectorPrefix20220519\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' => [\RectorPrefix20220520\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 @@ -77,7 +77,7 @@ class Validators } elseif (\is_object($value)) { $type .= ' ' . \get_class($value); } - throw new \RectorPrefix20220519\Nette\Utils\AssertionException("The {$label} expects to be {$expected}, {$type} given."); + throw new \RectorPrefix20220520\Nette\Utils\AssertionException("The {$label} expects to be {$expected}, {$type} given."); } } /** @@ -89,7 +89,7 @@ class Validators public static function assertField(array $array, $key, ?string $expected = null, string $label = "item '%' in array") : void { if (!\array_key_exists($key, $array)) { - throw new \RectorPrefix20220519\Nette\Utils\AssertionException('Missing ' . \str_replace('%', $key, $label) . '.'); + throw new \RectorPrefix20220520\Nette\Utils\AssertionException('Missing ' . \str_replace('%', $key, $label) . '.'); } elseif ($expected) { static::assert($array[$key], $expected, \str_replace('%', $key, $label)); } @@ -122,7 +122,7 @@ class Validators continue; } } elseif ($type === 'pattern') { - if (\RectorPrefix20220519\Nette\Utils\Strings::match($value, '|^' . ($item[1] ?? '') . '$|D')) { + if (\RectorPrefix20220520\Nette\Utils\Strings::match($value, '|^' . ($item[1] ?? '') . '$|D')) { return \true; } continue; @@ -220,7 +220,7 @@ class Validators */ public static function isList($value) : bool { - return \RectorPrefix20220519\Nette\Utils\Arrays::isList($value); + return \RectorPrefix20220520\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 dfa08807257..589c12ed246 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 RectorPrefix20220519\Nette\Utils; +namespace RectorPrefix20220520\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 \RectorPrefix20220519\Nette\Utils\ImageException +class UnknownImageFileException extends \RectorPrefix20220520\Nette\Utils\ImageException { } /** diff --git a/vendor/nette/utils/src/compatibility.php b/vendor/nette/utils/src/compatibility.php index c0ac170f55d..a78531a2342 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 RectorPrefix20220519\Nette\Utils; +namespace RectorPrefix20220520\Nette\Utils; -use RectorPrefix20220519\Nette; +use RectorPrefix20220520\Nette; if (\false) { /** @deprecated use Nette\HtmlStringable */ - interface IHtmlString extends \RectorPrefix20220519\Nette\HtmlStringable + interface IHtmlString extends \RectorPrefix20220520\Nette\HtmlStringable { } -} elseif (!\interface_exists(\RectorPrefix20220519\Nette\Utils\IHtmlString::class)) { - \class_alias(\RectorPrefix20220519\Nette\HtmlStringable::class, \RectorPrefix20220519\Nette\Utils\IHtmlString::class); +} elseif (!\interface_exists(\RectorPrefix20220520\Nette\Utils\IHtmlString::class)) { + \class_alias(\RectorPrefix20220520\Nette\HtmlStringable::class, \RectorPrefix20220520\Nette\Utils\IHtmlString::class); } -namespace RectorPrefix20220519\Nette\Localization; +namespace RectorPrefix20220520\Nette\Localization; if (\false) { /** @deprecated use Nette\Localization\Translator */ - interface ITranslator extends \RectorPrefix20220519\Nette\Localization\Translator + interface ITranslator extends \RectorPrefix20220520\Nette\Localization\Translator { } -} elseif (!\interface_exists(\RectorPrefix20220519\Nette\Localization\ITranslator::class)) { - \class_alias(\RectorPrefix20220519\Nette\Localization\Translator::class, \RectorPrefix20220519\Nette\Localization\ITranslator::class); +} elseif (!\interface_exists(\RectorPrefix20220520\Nette\Localization\ITranslator::class)) { + \class_alias(\RectorPrefix20220520\Nette\Localization\Translator::class, \RectorPrefix20220520\Nette\Localization\ITranslator::class); } diff --git a/vendor/nette/utils/src/exceptions.php b/vendor/nette/utils/src/exceptions.php index 81b7e53c9de..b45ec5a3ed5 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 RectorPrefix20220519\Nette; +namespace RectorPrefix20220520\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 \RectorPrefix20220519\Nette\NotSupportedException +class DeprecatedException extends \RectorPrefix20220520\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 \RectorPrefix20220519\Nette\IOException +class FileNotFoundException extends \RectorPrefix20220520\Nette\IOException { } /** * The exception that is thrown when part of a file or directory cannot be found. */ -class DirectoryNotFoundException extends \RectorPrefix20220519\Nette\IOException +class DirectoryNotFoundException extends \RectorPrefix20220520\Nette\IOException { } /** diff --git a/vendor/nikic/php-parser/bin/php-parse b/vendor/nikic/php-parser/bin/php-parse index 5dc6e09ffc2..8192e29e296 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 = \RectorPrefix20220519\formatErrorMessage($error, $code, $attributes['with-column-info']); + $message = \RectorPrefix20220520\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 = \RectorPrefix20220519\formatErrorMessage($error, $code, $attributes['with-column-info']); + $message = \RectorPrefix20220520\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': - \RectorPrefix20220519\showHelp(); + \RectorPrefix20220520\showHelp(); break; case '--': $parseOptions = \false; break; default: if ($arg[0] === '-') { - \RectorPrefix20220519\showHelp("Invalid operation {$arg}."); + \RectorPrefix20220520\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 e1e6b2ca942..d277aeb0635 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 = \RectorPrefix20220519\resolveNodes($code); - $code = \RectorPrefix20220519\resolveMacros($code); - $code = \RectorPrefix20220519\resolveStackAccess($code); + $code = \RectorPrefix20220520\resolveNodes($code); + $code = \RectorPrefix20220520\resolveMacros($code); + $code = \RectorPrefix20220520\resolveStackAccess($code); return $code; } function resolveNodes($code) { return \preg_replace_callback('~\\b(?[A-Z][a-zA-Z_\\\\]++)\\s*' . \PARAMS . '~', function ($matches) { // recurse - $matches['params'] = \RectorPrefix20220519\resolveNodes($matches['params']); - $params = \RectorPrefix20220519\magicSplit('(?:' . \PARAMS . '|' . \ARGS . ')(*SKIP)(*FAIL)|,', $matches['params']); + $matches['params'] = \RectorPrefix20220520\resolveNodes($matches['params']); + $params = \RectorPrefix20220520\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'] = \RectorPrefix20220519\resolveMacros($matches['args']); + $matches['args'] = \RectorPrefix20220520\resolveMacros($matches['args']); $name = $matches['name']; - $args = \RectorPrefix20220519\magicSplit('(?:' . \PARAMS . '|' . \ARGS . ')(*SKIP)(*FAIL)|,', $matches['args']); + $args = \RectorPrefix20220520\magicSplit('(?:' . \PARAMS . '|' . \ARGS . ')(*SKIP)(*FAIL)|,', $matches['args']); if ('attributes' === $name) { - \RectorPrefix20220519\assertArgs(0, $args, $name); + \RectorPrefix20220520\assertArgs(0, $args, $name); return '$this->startAttributeStack[#1] + $this->endAttributes'; } if ('stackAttributes' === $name) { - \RectorPrefix20220519\assertArgs(1, $args, $name); + \RectorPrefix20220520\assertArgs(1, $args, $name); return '$this->startAttributeStack[' . $args[0] . ']' . ' + $this->endAttributeStack[' . $args[0] . ']'; } if ('init' === $name) { return '$$ = array(' . \implode(', ', $args) . ')'; } if ('push' === $name) { - \RectorPrefix20220519\assertArgs(2, $args, $name); + \RectorPrefix20220520\assertArgs(2, $args, $name); return $args[0] . '[] = ' . $args[1] . '; $$ = ' . $args[0]; } if ('pushNormalizing' === $name) { - \RectorPrefix20220519\assertArgs(2, $args, $name); + \RectorPrefix20220520\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) { - \RectorPrefix20220519\assertArgs(1, $args, $name); + \RectorPrefix20220520\assertArgs(1, $args, $name); return 'is_array(' . $args[0] . ') ? ' . $args[0] . ' : array(' . $args[0] . ')'; } if ('parseVar' === $name) { - \RectorPrefix20220519\assertArgs(1, $args, $name); + \RectorPrefix20220520\assertArgs(1, $args, $name); return 'substr(' . $args[0] . ', 1)'; } if ('parseEncapsed' === $name) { - \RectorPrefix20220519\assertArgs(3, $args, $name); + \RectorPrefix20220520\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) { - \RectorPrefix20220519\assertArgs(3, $args, $name); + \RectorPrefix20220520\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) { - \RectorPrefix20220519\assertArgs(2, $args, $name); + \RectorPrefix20220520\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) { - \RectorPrefix20220519\assertArgs(1, $args, $name); + \RectorPrefix20220520\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) { - \RectorPrefix20220519\assertArgs(1, $args, $name); + \RectorPrefix20220520\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(\RectorPrefix20220519\regex('(?:(?&string)|(?&comment)|(?&code))(*SKIP)(*FAIL)|' . $regex), $string); + $pieces = \preg_split(\RectorPrefix20220520\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 4b2fb76a994..dfef48c644e 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 = \RectorPrefix20220519\preprocessGrammar($grammarCode); + $grammarCode = \RectorPrefix20220520\preprocessGrammar($grammarCode); \file_put_contents($tmpGrammarFile, $grammarCode); $additionalArgs = $optionDebug ? '-t -v' : ''; echo "Building {$name} parser.\n"; - $output = \RectorPrefix20220519\execCmd("{$kmyacc} {$additionalArgs} -m {$skeletonFile} -p {$name} {$tmpGrammarFile}"); + $output = \RectorPrefix20220520\execCmd("{$kmyacc} {$additionalArgs} -m {$skeletonFile} -p {$name} {$tmpGrammarFile}"); $resultCode = \file_get_contents($tmpResultFile); - $resultCode = \RectorPrefix20220519\removeTrailingWhitespace($resultCode); - \RectorPrefix20220519\ensureDirExists($resultDir); + $resultCode = \RectorPrefix20220520\removeTrailingWhitespace($resultCode); + \RectorPrefix20220520\ensureDirExists($resultDir); \file_put_contents("{$resultDir}/{$name}.php", $resultCode); \unlink($tmpResultFile); echo "Building token definition.\n"; - $output = \RectorPrefix20220519\execCmd("{$kmyacc} -m {$tokensTemplate} {$tmpGrammarFile}"); + $output = \RectorPrefix20220520\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 d87f99fd05e..a2fd5ac4c07 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 RectorPrefix20220519\PhpParser; +use RectorPrefix20220520\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 2e599e69ea6..c1e2ac6e5cb 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 RectorPrefix20220519\PhpParser; +use RectorPrefix20220520\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 f96bcec657e..af211a97949 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 RectorPrefix20220519\PhpParser; +use RectorPrefix20220520\PhpParser; use PhpParser\BuilderHelpers; abstract class Declaration implements \PhpParser\Builder { diff --git a/vendor/nikic/php-parser/lib/PhpParser/Builder/EnumCase.php b/vendor/nikic/php-parser/lib/PhpParser/Builder/EnumCase.php index 23d48fc46cd..885f7bf72b2 100644 --- a/vendor/nikic/php-parser/lib/PhpParser/Builder/EnumCase.php +++ b/vendor/nikic/php-parser/lib/PhpParser/Builder/EnumCase.php @@ -3,7 +3,7 @@ declare (strict_types=1); namespace PhpParser\Builder; -use RectorPrefix20220519\PhpParser; +use RectorPrefix20220520\PhpParser; use PhpParser\BuilderHelpers; use PhpParser\Node; use PhpParser\Node\Identifier; diff --git a/vendor/nikic/php-parser/lib/PhpParser/Builder/Enum_.php b/vendor/nikic/php-parser/lib/PhpParser/Builder/Enum_.php index 85681acc5cc..b0342ee627a 100644 --- a/vendor/nikic/php-parser/lib/PhpParser/Builder/Enum_.php +++ b/vendor/nikic/php-parser/lib/PhpParser/Builder/Enum_.php @@ -3,7 +3,7 @@ declare (strict_types=1); namespace PhpParser\Builder; -use RectorPrefix20220519\PhpParser; +use RectorPrefix20220520\PhpParser; use PhpParser\BuilderHelpers; use PhpParser\Node; use PhpParser\Node\Identifier; diff --git a/vendor/nikic/php-parser/lib/PhpParser/Builder/Function_.php b/vendor/nikic/php-parser/lib/PhpParser/Builder/Function_.php index 56a1959a072..a2705d74dc5 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 RectorPrefix20220519\PhpParser; +use RectorPrefix20220520\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 5d87e726b4a..5f7888c28d4 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 RectorPrefix20220519\PhpParser; +use RectorPrefix20220520\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 17900eaa1d0..0efa9a35304 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 RectorPrefix20220519\PhpParser; +use RectorPrefix20220520\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 3613602416e..a9acc7fab86 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 RectorPrefix20220519\PhpParser; +use RectorPrefix20220520\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 04e0ef254a1..13fc5bcadcf 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 RectorPrefix20220519\PhpParser; +use RectorPrefix20220520\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 6bfbacad83b..bb5ae5e67c5 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 RectorPrefix20220519\PhpParser; +use RectorPrefix20220520\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 73fbb71cfc8..eb584c84dd6 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 RectorPrefix20220519\PhpParser; +use RectorPrefix20220520\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 93ca0c89a77..b9a4f3fcc53 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('RectorPrefix20220519\\Expected string or instance of Node\\Identifier'); + throw new \LogicException('RectorPrefix20220520\\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('RectorPrefix20220519\\Expected string or instance of Node\\Identifier or Node\\Expr'); + throw new \LogicException('RectorPrefix20220520\\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('RectorPrefix20220519\\Name must be a string or an instance of Node\\Name'); + throw new \LogicException('RectorPrefix20220520\\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('RectorPrefix20220519\\Name must be a string or an instance of Node\\Name or Node\\Expr'); + throw new \LogicException('RectorPrefix20220520\\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('RectorPrefix20220519\\Doc comment must be a string or an instance of PhpParser\\Comment\\Doc'); + throw new \LogicException('RectorPrefix20220520\\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('RectorPrefix20220519\\Attribute must be an instance of PhpParser\\Node\\Attribute or PhpParser\\Node\\AttributeGroup'); + throw new \LogicException('RectorPrefix20220520\\Attribute must be an instance of PhpParser\\Node\\Attribute or PhpParser\\Node\\AttributeGroup'); } return new \PhpParser\Node\AttributeGroup([$attribute]); } diff --git a/vendor/ondram/ci-detector/composer.json b/vendor/ondram/ci-detector/composer.json index db54c09a1cc..390ea55175c 100644 --- a/vendor/ondram/ci-detector/composer.json +++ b/vendor/ondram/ci-detector/composer.json @@ -55,12 +55,12 @@ }, "autoload": { "psr-4": { - "RectorPrefix20220519\\OndraM\\CiDetector\\": "src\/" + "RectorPrefix20220520\\OndraM\\CiDetector\\": "src\/" } }, "autoload-dev": { "psr-4": { - "RectorPrefix20220519\\OndraM\\CiDetector\\Ci\\": "tests\/" + "RectorPrefix20220520\\OndraM\\CiDetector\\Ci\\": "tests\/" } }, "scripts": { diff --git a/vendor/ondram/ci-detector/src/Ci/AbstractCi.php b/vendor/ondram/ci-detector/src/Ci/AbstractCi.php index 100890193df..eaf16d9de99 100644 --- a/vendor/ondram/ci-detector/src/Ci/AbstractCi.php +++ b/vendor/ondram/ci-detector/src/Ci/AbstractCi.php @@ -1,17 +1,17 @@ env = $env; } diff --git a/vendor/ondram/ci-detector/src/Ci/AppVeyor.php b/vendor/ondram/ci-detector/src/Ci/AppVeyor.php index 57970733866..197de21a339 100644 --- a/vendor/ondram/ci-detector/src/Ci/AppVeyor.php +++ b/vendor/ondram/ci-detector/src/Ci/AppVeyor.php @@ -1,24 +1,24 @@ get('APPVEYOR') === 'True'; } public function getCiName() : string { - return \RectorPrefix20220519\OndraM\CiDetector\CiDetector::CI_APPVEYOR; + return \RectorPrefix20220520\OndraM\CiDetector\CiDetector::CI_APPVEYOR; } - public function isPullRequest() : \RectorPrefix20220519\OndraM\CiDetector\TrinaryLogic + public function isPullRequest() : \RectorPrefix20220520\OndraM\CiDetector\TrinaryLogic { - return \RectorPrefix20220519\OndraM\CiDetector\TrinaryLogic::createFromBoolean($this->env->getString('APPVEYOR_PULL_REQUEST_NUMBER') !== ''); + return \RectorPrefix20220520\OndraM\CiDetector\TrinaryLogic::createFromBoolean($this->env->getString('APPVEYOR_PULL_REQUEST_NUMBER') !== ''); } public function getBuildNumber() : string { diff --git a/vendor/ondram/ci-detector/src/Ci/AwsCodeBuild.php b/vendor/ondram/ci-detector/src/Ci/AwsCodeBuild.php index b92d1c662f8..bebf8fbbf82 100644 --- a/vendor/ondram/ci-detector/src/Ci/AwsCodeBuild.php +++ b/vendor/ondram/ci-detector/src/Ci/AwsCodeBuild.php @@ -1,24 +1,24 @@ get('CODEBUILD_CI') !== \false; } public function getCiName() : string { - return \RectorPrefix20220519\OndraM\CiDetector\CiDetector::CI_AWS_CODEBUILD; + return \RectorPrefix20220520\OndraM\CiDetector\CiDetector::CI_AWS_CODEBUILD; } - public function isPullRequest() : \RectorPrefix20220519\OndraM\CiDetector\TrinaryLogic + public function isPullRequest() : \RectorPrefix20220520\OndraM\CiDetector\TrinaryLogic { - return \RectorPrefix20220519\OndraM\CiDetector\TrinaryLogic::createFromBoolean(\mb_strpos($this->env->getString('CODEBUILD_WEBHOOK_EVENT'), 'PULL_REQUEST') === 0); + return \RectorPrefix20220520\OndraM\CiDetector\TrinaryLogic::createFromBoolean(\mb_strpos($this->env->getString('CODEBUILD_WEBHOOK_EVENT'), 'PULL_REQUEST') === 0); } public function getBuildNumber() : string { diff --git a/vendor/ondram/ci-detector/src/Ci/AzurePipelines.php b/vendor/ondram/ci-detector/src/Ci/AzurePipelines.php index 998cd36479a..6d17499fad4 100644 --- a/vendor/ondram/ci-detector/src/Ci/AzurePipelines.php +++ b/vendor/ondram/ci-detector/src/Ci/AzurePipelines.php @@ -1,24 +1,24 @@ get('BUILD_DEFINITIONVERSION') !== \false; } public function getCiName() : string { - return \RectorPrefix20220519\OndraM\CiDetector\CiDetector::CI_AZURE_PIPELINES; + return \RectorPrefix20220520\OndraM\CiDetector\CiDetector::CI_AZURE_PIPELINES; } - public function isPullRequest() : \RectorPrefix20220519\OndraM\CiDetector\TrinaryLogic + public function isPullRequest() : \RectorPrefix20220520\OndraM\CiDetector\TrinaryLogic { - return \RectorPrefix20220519\OndraM\CiDetector\TrinaryLogic::createFromBoolean($this->env->getString('BUILD_REASON') === 'PullRequest'); + return \RectorPrefix20220520\OndraM\CiDetector\TrinaryLogic::createFromBoolean($this->env->getString('BUILD_REASON') === 'PullRequest'); } public function getBuildNumber() : string { diff --git a/vendor/ondram/ci-detector/src/Ci/Bamboo.php b/vendor/ondram/ci-detector/src/Ci/Bamboo.php index 174426ccca9..6bc1899ca2c 100644 --- a/vendor/ondram/ci-detector/src/Ci/Bamboo.php +++ b/vendor/ondram/ci-detector/src/Ci/Bamboo.php @@ -1,24 +1,24 @@ get('bamboo_buildKey') !== \false; } public function getCiName() : string { - return \RectorPrefix20220519\OndraM\CiDetector\CiDetector::CI_BAMBOO; + return \RectorPrefix20220520\OndraM\CiDetector\CiDetector::CI_BAMBOO; } - public function isPullRequest() : \RectorPrefix20220519\OndraM\CiDetector\TrinaryLogic + public function isPullRequest() : \RectorPrefix20220520\OndraM\CiDetector\TrinaryLogic { - return \RectorPrefix20220519\OndraM\CiDetector\TrinaryLogic::createFromBoolean($this->env->get('bamboo_repository_pr_key') !== \false); + return \RectorPrefix20220520\OndraM\CiDetector\TrinaryLogic::createFromBoolean($this->env->get('bamboo_repository_pr_key') !== \false); } public function getBuildNumber() : string { diff --git a/vendor/ondram/ci-detector/src/Ci/BitbucketPipelines.php b/vendor/ondram/ci-detector/src/Ci/BitbucketPipelines.php index e56cda07fd3..48e74e0e57d 100644 --- a/vendor/ondram/ci-detector/src/Ci/BitbucketPipelines.php +++ b/vendor/ondram/ci-detector/src/Ci/BitbucketPipelines.php @@ -1,24 +1,24 @@ get('BITBUCKET_COMMIT') !== \false; } public function getCiName() : string { - return \RectorPrefix20220519\OndraM\CiDetector\CiDetector::CI_BITBUCKET_PIPELINES; + return \RectorPrefix20220520\OndraM\CiDetector\CiDetector::CI_BITBUCKET_PIPELINES; } - public function isPullRequest() : \RectorPrefix20220519\OndraM\CiDetector\TrinaryLogic + public function isPullRequest() : \RectorPrefix20220520\OndraM\CiDetector\TrinaryLogic { - return \RectorPrefix20220519\OndraM\CiDetector\TrinaryLogic::createFromBoolean($this->env->getString('BITBUCKET_PR_ID') !== ''); + return \RectorPrefix20220520\OndraM\CiDetector\TrinaryLogic::createFromBoolean($this->env->getString('BITBUCKET_PR_ID') !== ''); } public function getBuildNumber() : string { diff --git a/vendor/ondram/ci-detector/src/Ci/Buddy.php b/vendor/ondram/ci-detector/src/Ci/Buddy.php index 24964a908bb..9b19f732b8e 100644 --- a/vendor/ondram/ci-detector/src/Ci/Buddy.php +++ b/vendor/ondram/ci-detector/src/Ci/Buddy.php @@ -1,24 +1,24 @@ get('BUDDY') !== \false; } public function getCiName() : string { - return \RectorPrefix20220519\OndraM\CiDetector\CiDetector::CI_BUDDY; + return \RectorPrefix20220520\OndraM\CiDetector\CiDetector::CI_BUDDY; } - public function isPullRequest() : \RectorPrefix20220519\OndraM\CiDetector\TrinaryLogic + public function isPullRequest() : \RectorPrefix20220520\OndraM\CiDetector\TrinaryLogic { - return \RectorPrefix20220519\OndraM\CiDetector\TrinaryLogic::createFromBoolean($this->env->getString('BUDDY_EXECUTION_PULL_REQUEST_ID') !== ''); + return \RectorPrefix20220520\OndraM\CiDetector\TrinaryLogic::createFromBoolean($this->env->getString('BUDDY_EXECUTION_PULL_REQUEST_ID') !== ''); } public function getBuildNumber() : string { diff --git a/vendor/ondram/ci-detector/src/Ci/CiInterface.php b/vendor/ondram/ci-detector/src/Ci/CiInterface.php index 8163f849140..dee25f81898 100644 --- a/vendor/ondram/ci-detector/src/Ci/CiInterface.php +++ b/vendor/ondram/ci-detector/src/Ci/CiInterface.php @@ -1,16 +1,16 @@ get('CIRCLECI') !== \false; } public function getCiName() : string { - return \RectorPrefix20220519\OndraM\CiDetector\CiDetector::CI_CIRCLE; + return \RectorPrefix20220520\OndraM\CiDetector\CiDetector::CI_CIRCLE; } - public function isPullRequest() : \RectorPrefix20220519\OndraM\CiDetector\TrinaryLogic + public function isPullRequest() : \RectorPrefix20220520\OndraM\CiDetector\TrinaryLogic { - return \RectorPrefix20220519\OndraM\CiDetector\TrinaryLogic::createFromBoolean($this->env->getString('CI_PULL_REQUEST') !== ''); + return \RectorPrefix20220520\OndraM\CiDetector\TrinaryLogic::createFromBoolean($this->env->getString('CI_PULL_REQUEST') !== ''); } public function getBuildNumber() : string { diff --git a/vendor/ondram/ci-detector/src/Ci/Codeship.php b/vendor/ondram/ci-detector/src/Ci/Codeship.php index 139e6c63e01..8af4d4d6835 100644 --- a/vendor/ondram/ci-detector/src/Ci/Codeship.php +++ b/vendor/ondram/ci-detector/src/Ci/Codeship.php @@ -1,24 +1,24 @@ get('CI_NAME') === 'codeship'; } public function getCiName() : string { - return \RectorPrefix20220519\OndraM\CiDetector\CiDetector::CI_CODESHIP; + return \RectorPrefix20220520\OndraM\CiDetector\CiDetector::CI_CODESHIP; } - public function isPullRequest() : \RectorPrefix20220519\OndraM\CiDetector\TrinaryLogic + public function isPullRequest() : \RectorPrefix20220520\OndraM\CiDetector\TrinaryLogic { - return \RectorPrefix20220519\OndraM\CiDetector\TrinaryLogic::createFromBoolean($this->env->getString('CI_PULL_REQUEST') !== 'false'); + return \RectorPrefix20220520\OndraM\CiDetector\TrinaryLogic::createFromBoolean($this->env->getString('CI_PULL_REQUEST') !== 'false'); } public function getBuildNumber() : string { diff --git a/vendor/ondram/ci-detector/src/Ci/Continuousphp.php b/vendor/ondram/ci-detector/src/Ci/Continuousphp.php index 3b1cdb50fdf..ea39fa319c4 100644 --- a/vendor/ondram/ci-detector/src/Ci/Continuousphp.php +++ b/vendor/ondram/ci-detector/src/Ci/Continuousphp.php @@ -1,24 +1,24 @@ get('CONTINUOUSPHP') === 'continuousphp'; } public function getCiName() : string { - return \RectorPrefix20220519\OndraM\CiDetector\CiDetector::CI_CONTINUOUSPHP; + return \RectorPrefix20220520\OndraM\CiDetector\CiDetector::CI_CONTINUOUSPHP; } - public function isPullRequest() : \RectorPrefix20220519\OndraM\CiDetector\TrinaryLogic + public function isPullRequest() : \RectorPrefix20220520\OndraM\CiDetector\TrinaryLogic { - return \RectorPrefix20220519\OndraM\CiDetector\TrinaryLogic::createFromBoolean($this->env->getString('CPHP_PR_ID') !== ''); + return \RectorPrefix20220520\OndraM\CiDetector\TrinaryLogic::createFromBoolean($this->env->getString('CPHP_PR_ID') !== ''); } public function getBuildNumber() : string { diff --git a/vendor/ondram/ci-detector/src/Ci/Drone.php b/vendor/ondram/ci-detector/src/Ci/Drone.php index 61ed2f70373..8f461b2e89d 100644 --- a/vendor/ondram/ci-detector/src/Ci/Drone.php +++ b/vendor/ondram/ci-detector/src/Ci/Drone.php @@ -1,24 +1,24 @@ get('CI') === 'drone'; } public function getCiName() : string { - return \RectorPrefix20220519\OndraM\CiDetector\CiDetector::CI_DRONE; + return \RectorPrefix20220520\OndraM\CiDetector\CiDetector::CI_DRONE; } - public function isPullRequest() : \RectorPrefix20220519\OndraM\CiDetector\TrinaryLogic + public function isPullRequest() : \RectorPrefix20220520\OndraM\CiDetector\TrinaryLogic { - return \RectorPrefix20220519\OndraM\CiDetector\TrinaryLogic::createFromBoolean($this->env->getString('DRONE_PULL_REQUEST') !== ''); + return \RectorPrefix20220520\OndraM\CiDetector\TrinaryLogic::createFromBoolean($this->env->getString('DRONE_PULL_REQUEST') !== ''); } public function getBuildNumber() : string { diff --git a/vendor/ondram/ci-detector/src/Ci/GitHubActions.php b/vendor/ondram/ci-detector/src/Ci/GitHubActions.php index ae4ab929b29..d10f9904a06 100644 --- a/vendor/ondram/ci-detector/src/Ci/GitHubActions.php +++ b/vendor/ondram/ci-detector/src/Ci/GitHubActions.php @@ -1,25 +1,25 @@ get('GITHUB_ACTIONS') !== \false; } public function getCiName() : string { - return \RectorPrefix20220519\OndraM\CiDetector\CiDetector::CI_GITHUB_ACTIONS; + return \RectorPrefix20220520\OndraM\CiDetector\CiDetector::CI_GITHUB_ACTIONS; } - public function isPullRequest() : \RectorPrefix20220519\OndraM\CiDetector\TrinaryLogic + public function isPullRequest() : \RectorPrefix20220520\OndraM\CiDetector\TrinaryLogic { - return \RectorPrefix20220519\OndraM\CiDetector\TrinaryLogic::createFromBoolean($this->env->getString('GITHUB_EVENT_NAME') === 'pull_request'); + return \RectorPrefix20220520\OndraM\CiDetector\TrinaryLogic::createFromBoolean($this->env->getString('GITHUB_EVENT_NAME') === 'pull_request'); } public function getBuildNumber() : string { diff --git a/vendor/ondram/ci-detector/src/Ci/GitLab.php b/vendor/ondram/ci-detector/src/Ci/GitLab.php index a38e084a494..8cdc6f16ae1 100644 --- a/vendor/ondram/ci-detector/src/Ci/GitLab.php +++ b/vendor/ondram/ci-detector/src/Ci/GitLab.php @@ -1,24 +1,24 @@ get('GITLAB_CI') !== \false; } public function getCiName() : string { - return \RectorPrefix20220519\OndraM\CiDetector\CiDetector::CI_GITLAB; + return \RectorPrefix20220520\OndraM\CiDetector\CiDetector::CI_GITLAB; } - public function isPullRequest() : \RectorPrefix20220519\OndraM\CiDetector\TrinaryLogic + public function isPullRequest() : \RectorPrefix20220520\OndraM\CiDetector\TrinaryLogic { - return \RectorPrefix20220519\OndraM\CiDetector\TrinaryLogic::createFromBoolean($this->env->get('CI_MERGE_REQUEST_ID') !== \false || $this->env->get('CI_EXTERNAL_PULL_REQUEST_IID') !== \false); + return \RectorPrefix20220520\OndraM\CiDetector\TrinaryLogic::createFromBoolean($this->env->get('CI_MERGE_REQUEST_ID') !== \false || $this->env->get('CI_EXTERNAL_PULL_REQUEST_IID') !== \false); } public function getBuildNumber() : string { diff --git a/vendor/ondram/ci-detector/src/Ci/Jenkins.php b/vendor/ondram/ci-detector/src/Ci/Jenkins.php index 82d09d242ce..6e22a0652b4 100644 --- a/vendor/ondram/ci-detector/src/Ci/Jenkins.php +++ b/vendor/ondram/ci-detector/src/Ci/Jenkins.php @@ -1,24 +1,24 @@ get('JENKINS_URL') !== \false; } public function getCiName() : string { - return \RectorPrefix20220519\OndraM\CiDetector\CiDetector::CI_JENKINS; + return \RectorPrefix20220520\OndraM\CiDetector\CiDetector::CI_JENKINS; } - public function isPullRequest() : \RectorPrefix20220519\OndraM\CiDetector\TrinaryLogic + public function isPullRequest() : \RectorPrefix20220520\OndraM\CiDetector\TrinaryLogic { - return \RectorPrefix20220519\OndraM\CiDetector\TrinaryLogic::createMaybe(); + return \RectorPrefix20220520\OndraM\CiDetector\TrinaryLogic::createMaybe(); } public function getBuildNumber() : string { diff --git a/vendor/ondram/ci-detector/src/Ci/SourceHut.php b/vendor/ondram/ci-detector/src/Ci/SourceHut.php index 5b5158e6ceb..6b489926730 100644 --- a/vendor/ondram/ci-detector/src/Ci/SourceHut.php +++ b/vendor/ondram/ci-detector/src/Ci/SourceHut.php @@ -1,24 +1,24 @@ getString('CI_NAME') === 'sourcehut'; } public function getCiName() : string { - return \RectorPrefix20220519\OndraM\CiDetector\CiDetector::CI_SOURCEHUT; + return \RectorPrefix20220520\OndraM\CiDetector\CiDetector::CI_SOURCEHUT; } - public function isPullRequest() : \RectorPrefix20220519\OndraM\CiDetector\TrinaryLogic + public function isPullRequest() : \RectorPrefix20220520\OndraM\CiDetector\TrinaryLogic { - return \RectorPrefix20220519\OndraM\CiDetector\TrinaryLogic::createFromBoolean($this->env->getString('BUILD_REASON') === 'patchset'); + return \RectorPrefix20220520\OndraM\CiDetector\TrinaryLogic::createFromBoolean($this->env->getString('BUILD_REASON') === 'patchset'); } public function getBuildNumber() : string { diff --git a/vendor/ondram/ci-detector/src/Ci/TeamCity.php b/vendor/ondram/ci-detector/src/Ci/TeamCity.php index 33ea9ad4bfb..5ecc5279cdb 100644 --- a/vendor/ondram/ci-detector/src/Ci/TeamCity.php +++ b/vendor/ondram/ci-detector/src/Ci/TeamCity.php @@ -1,24 +1,24 @@ get('TEAMCITY_VERSION') !== \false; } public function getCiName() : string { - return \RectorPrefix20220519\OndraM\CiDetector\CiDetector::CI_TEAMCITY; + return \RectorPrefix20220520\OndraM\CiDetector\CiDetector::CI_TEAMCITY; } - public function isPullRequest() : \RectorPrefix20220519\OndraM\CiDetector\TrinaryLogic + public function isPullRequest() : \RectorPrefix20220520\OndraM\CiDetector\TrinaryLogic { - return \RectorPrefix20220519\OndraM\CiDetector\TrinaryLogic::createMaybe(); + return \RectorPrefix20220520\OndraM\CiDetector\TrinaryLogic::createMaybe(); } public function getBuildNumber() : string { diff --git a/vendor/ondram/ci-detector/src/Ci/Travis.php b/vendor/ondram/ci-detector/src/Ci/Travis.php index 427e37319f2..78448d5f770 100644 --- a/vendor/ondram/ci-detector/src/Ci/Travis.php +++ b/vendor/ondram/ci-detector/src/Ci/Travis.php @@ -1,24 +1,24 @@ get('TRAVIS') !== \false; } public function getCiName() : string { - return \RectorPrefix20220519\OndraM\CiDetector\CiDetector::CI_TRAVIS; + return \RectorPrefix20220520\OndraM\CiDetector\CiDetector::CI_TRAVIS; } - public function isPullRequest() : \RectorPrefix20220519\OndraM\CiDetector\TrinaryLogic + public function isPullRequest() : \RectorPrefix20220520\OndraM\CiDetector\TrinaryLogic { - return \RectorPrefix20220519\OndraM\CiDetector\TrinaryLogic::createFromBoolean($this->env->getString('TRAVIS_PULL_REQUEST') !== 'false'); + return \RectorPrefix20220520\OndraM\CiDetector\TrinaryLogic::createFromBoolean($this->env->getString('TRAVIS_PULL_REQUEST') !== 'false'); } public function getBuildNumber() : string { diff --git a/vendor/ondram/ci-detector/src/Ci/Wercker.php b/vendor/ondram/ci-detector/src/Ci/Wercker.php index 8ef36a62225..e280441c4e8 100644 --- a/vendor/ondram/ci-detector/src/Ci/Wercker.php +++ b/vendor/ondram/ci-detector/src/Ci/Wercker.php @@ -1,24 +1,24 @@ get('WERCKER') === 'true'; } public function getCiName() : string { - return \RectorPrefix20220519\OndraM\CiDetector\CiDetector::CI_WERCKER; + return \RectorPrefix20220520\OndraM\CiDetector\CiDetector::CI_WERCKER; } - public function isPullRequest() : \RectorPrefix20220519\OndraM\CiDetector\TrinaryLogic + public function isPullRequest() : \RectorPrefix20220520\OndraM\CiDetector\TrinaryLogic { - return \RectorPrefix20220519\OndraM\CiDetector\TrinaryLogic::createMaybe(); + return \RectorPrefix20220520\OndraM\CiDetector\TrinaryLogic::createMaybe(); } public function getBuildNumber() : string { diff --git a/vendor/ondram/ci-detector/src/CiDetector.php b/vendor/ondram/ci-detector/src/CiDetector.php index 03456b8c423..e85ff0e0000 100644 --- a/vendor/ondram/ci-detector/src/CiDetector.php +++ b/vendor/ondram/ci-detector/src/CiDetector.php @@ -1,14 +1,14 @@ environment = new \RectorPrefix20220519\OndraM\CiDetector\Env(); + $this->environment = new \RectorPrefix20220520\OndraM\CiDetector\Env(); } - public static function fromEnvironment(\RectorPrefix20220519\OndraM\CiDetector\Env $environment) : self + public static function fromEnvironment(\RectorPrefix20220520\OndraM\CiDetector\Env $environment) : self { $detector = new static(); $detector->environment = $environment; @@ -44,11 +44,11 @@ class CiDetector implements \RectorPrefix20220519\OndraM\CiDetector\CiDetectorIn $ciServer = $this->detectCurrentCiServer(); return $ciServer !== null; } - public function detect() : \RectorPrefix20220519\OndraM\CiDetector\Ci\CiInterface + public function detect() : \RectorPrefix20220520\OndraM\CiDetector\Ci\CiInterface { $ciServer = $this->detectCurrentCiServer(); if ($ciServer === null) { - throw new \RectorPrefix20220519\OndraM\CiDetector\Exception\CiNotDetectedException('No CI server detected in current environment'); + throw new \RectorPrefix20220520\OndraM\CiDetector\Exception\CiNotDetectedException('No CI server detected in current environment'); } return $ciServer; } @@ -57,9 +57,9 @@ class CiDetector implements \RectorPrefix20220519\OndraM\CiDetector\CiDetectorIn */ protected function getCiServers() : array { - return [\RectorPrefix20220519\OndraM\CiDetector\Ci\AppVeyor::class, \RectorPrefix20220519\OndraM\CiDetector\Ci\AwsCodeBuild::class, \RectorPrefix20220519\OndraM\CiDetector\Ci\AzurePipelines::class, \RectorPrefix20220519\OndraM\CiDetector\Ci\Bamboo::class, \RectorPrefix20220519\OndraM\CiDetector\Ci\BitbucketPipelines::class, \RectorPrefix20220519\OndraM\CiDetector\Ci\Buddy::class, \RectorPrefix20220519\OndraM\CiDetector\Ci\Circle::class, \RectorPrefix20220519\OndraM\CiDetector\Ci\Codeship::class, \RectorPrefix20220519\OndraM\CiDetector\Ci\Continuousphp::class, \RectorPrefix20220519\OndraM\CiDetector\Ci\Drone::class, \RectorPrefix20220519\OndraM\CiDetector\Ci\GitHubActions::class, \RectorPrefix20220519\OndraM\CiDetector\Ci\GitLab::class, \RectorPrefix20220519\OndraM\CiDetector\Ci\Jenkins::class, \RectorPrefix20220519\OndraM\CiDetector\Ci\SourceHut::class, \RectorPrefix20220519\OndraM\CiDetector\Ci\TeamCity::class, \RectorPrefix20220519\OndraM\CiDetector\Ci\Travis::class, \RectorPrefix20220519\OndraM\CiDetector\Ci\Wercker::class]; + return [\RectorPrefix20220520\OndraM\CiDetector\Ci\AppVeyor::class, \RectorPrefix20220520\OndraM\CiDetector\Ci\AwsCodeBuild::class, \RectorPrefix20220520\OndraM\CiDetector\Ci\AzurePipelines::class, \RectorPrefix20220520\OndraM\CiDetector\Ci\Bamboo::class, \RectorPrefix20220520\OndraM\CiDetector\Ci\BitbucketPipelines::class, \RectorPrefix20220520\OndraM\CiDetector\Ci\Buddy::class, \RectorPrefix20220520\OndraM\CiDetector\Ci\Circle::class, \RectorPrefix20220520\OndraM\CiDetector\Ci\Codeship::class, \RectorPrefix20220520\OndraM\CiDetector\Ci\Continuousphp::class, \RectorPrefix20220520\OndraM\CiDetector\Ci\Drone::class, \RectorPrefix20220520\OndraM\CiDetector\Ci\GitHubActions::class, \RectorPrefix20220520\OndraM\CiDetector\Ci\GitLab::class, \RectorPrefix20220520\OndraM\CiDetector\Ci\Jenkins::class, \RectorPrefix20220520\OndraM\CiDetector\Ci\SourceHut::class, \RectorPrefix20220520\OndraM\CiDetector\Ci\TeamCity::class, \RectorPrefix20220520\OndraM\CiDetector\Ci\Travis::class, \RectorPrefix20220520\OndraM\CiDetector\Ci\Wercker::class]; } - protected function detectCurrentCiServer() : ?\RectorPrefix20220519\OndraM\CiDetector\Ci\CiInterface + protected function detectCurrentCiServer() : ?\RectorPrefix20220520\OndraM\CiDetector\Ci\CiInterface { $ciServers = $this->getCiServers(); foreach ($ciServers as $ciClass) { diff --git a/vendor/ondram/ci-detector/src/CiDetectorInterface.php b/vendor/ondram/ci-detector/src/CiDetectorInterface.php index c0378203fa2..6ab103cad7f 100644 --- a/vendor/ondram/ci-detector/src/CiDetectorInterface.php +++ b/vendor/ondram/ci-detector/src/CiDetectorInterface.php @@ -1,10 +1,10 @@ \true, 'RectorPrefix20220519\\PHPUnit\\Framework\\MockObject\\MockObject' => \true, 'RectorPrefix20220519\\PHPUnit\\Framework\\MockObject\\Stub' => \true]; + static $mockClassNames = ['PHPUnit_Framework_MockObject_MockObject' => \true, 'RectorPrefix20220520\\PHPUnit\\Framework\\MockObject\\MockObject' => \true, 'RectorPrefix20220520\\PHPUnit\\Framework\\MockObject\\Stub' => \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 80668940f0d..7fff365b712 100644 --- a/vendor/phpstan/phpstan-phpunit/src/Rules/PHPUnit/AssertRuleHelper.php +++ b/vendor/phpstan/phpstan-phpunit/src/Rules/PHPUnit/AssertRuleHelper.php @@ -12,7 +12,7 @@ class AssertRuleHelper { public static function isMethodOrStaticCallOnAssert(\PhpParser\Node $node, \PHPStan\Analyser\Scope $scope) : bool { - $testCaseType = new \PHPStan\Type\ObjectType('RectorPrefix20220519\\PHPUnit\\Framework\\Assert'); + $testCaseType = new \PHPStan\Type\ObjectType('RectorPrefix20220520\\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 0b2c4c18408..6b919e42167 100644 --- a/vendor/phpstan/phpstan-phpunit/src/Rules/PHPUnit/MockMethodCallRule.php +++ b/vendor/phpstan/phpstan-phpunit/src/Rules/PHPUnit/MockMethodCallRule.php @@ -11,9 +11,9 @@ use PHPStan\Type\Constant\ConstantStringType; use PHPStan\Type\Generic\GenericObjectType; use PHPStan\Type\IntersectionType; use PHPStan\Type\ObjectType; -use RectorPrefix20220519\PHPUnit\Framework\MockObject\Builder\InvocationMocker; -use RectorPrefix20220519\PHPUnit\Framework\MockObject\MockObject; -use RectorPrefix20220519\PHPUnit\Framework\MockObject\Stub; +use RectorPrefix20220520\PHPUnit\Framework\MockObject\Builder\InvocationMocker; +use RectorPrefix20220520\PHPUnit\Framework\MockObject\MockObject; +use RectorPrefix20220520\PHPUnit\Framework\MockObject\Stub; use function array_filter; use function count; use function implode; @@ -44,13 +44,13 @@ class MockMethodCallRule implements \PHPStan\Rules\Rule } $method = $argType->getValue(); $type = $scope->getType($node->var); - if ($type instanceof \PHPStan\Type\IntersectionType && (\in_array(\RectorPrefix20220519\PHPUnit\Framework\MockObject\MockObject::class, $type->getReferencedClasses(), \true) || \in_array(\RectorPrefix20220519\PHPUnit\Framework\MockObject\Stub::class, $type->getReferencedClasses(), \true)) && !$type->hasMethod($method)->yes()) { + if ($type instanceof \PHPStan\Type\IntersectionType && (\in_array(\RectorPrefix20220520\PHPUnit\Framework\MockObject\MockObject::class, $type->getReferencedClasses(), \true) || \in_array(\RectorPrefix20220520\PHPUnit\Framework\MockObject\Stub::class, $type->getReferencedClasses(), \true)) && !$type->hasMethod($method)->yes()) { $mockClass = \array_filter($type->getReferencedClasses(), static function (string $class) : bool { - return $class !== \RectorPrefix20220519\PHPUnit\Framework\MockObject\MockObject::class && $class !== \RectorPrefix20220519\PHPUnit\Framework\MockObject\Stub::class; + return $class !== \RectorPrefix20220520\PHPUnit\Framework\MockObject\MockObject::class && $class !== \RectorPrefix20220520\PHPUnit\Framework\MockObject\Stub::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() === \RectorPrefix20220519\PHPUnit\Framework\MockObject\Builder\InvocationMocker::class && \count($type->getTypes()) > 0) { + if ($type instanceof \PHPStan\Type\Generic\GenericObjectType && $type->getClassName() === \RectorPrefix20220520\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 c0b93a55da9..3bc82998bd8 100644 --- a/vendor/phpstan/phpstan-phpunit/src/Rules/PHPUnit/ShouldCallParentMethodsRule.php +++ b/vendor/phpstan/phpstan-phpunit/src/Rules/PHPUnit/ShouldCallParentMethodsRule.php @@ -8,7 +8,7 @@ use PHPStan\Analyser\Scope; use PHPStan\Node\InClassMethodNode; use PHPStan\Rules\Rule; use PHPStan\Rules\RuleErrorBuilder; -use RectorPrefix20220519\PHPUnit\Framework\TestCase; +use RectorPrefix20220520\PHPUnit\Framework\TestCase; use function in_array; use function sprintf; use function strtolower; @@ -30,7 +30,7 @@ class ShouldCallParentMethodsRule implements \PHPStan\Rules\Rule if ($scope->getClassReflection() === null) { return []; } - if (!$scope->getClassReflection()->isSubclassOf(\RectorPrefix20220519\PHPUnit\Framework\TestCase::class)) { + if (!$scope->getClassReflection()->isSubclassOf(\RectorPrefix20220520\PHPUnit\Framework\TestCase::class)) { return []; } $parentClass = $scope->getClassReflection()->getParentClass(); @@ -41,7 +41,7 @@ class ShouldCallParentMethodsRule implements \PHPStan\Rules\Rule return []; } $parentMethod = $parentClass->getNativeMethod($methodName); - if ($parentMethod->getDeclaringClass()->getName() === \RectorPrefix20220519\PHPUnit\Framework\TestCase::class) { + if ($parentMethod->getDeclaringClass()->getName() === \RectorPrefix20220520\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 1dee598bb31..c4c0bf0c560 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 'RectorPrefix20220519\\PHPUnit\\Framework\\Assert'; + return 'RectorPrefix20220520\\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 12c8aaa876a..d923f50513f 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 'RectorPrefix20220519\\PHPUnit\\Framework\\Assert'; + return 'RectorPrefix20220520\\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 69f0a59fe0a..c73b2b0cca5 100644 --- a/vendor/phpstan/phpstan-phpunit/src/Type/PHPUnit/InvocationMockerDynamicReturnTypeExtension.php +++ b/vendor/phpstan/phpstan-phpunit/src/Type/PHPUnit/InvocationMockerDynamicReturnTypeExtension.php @@ -8,12 +8,12 @@ use PHPStan\Analyser\Scope; use PHPStan\Reflection\MethodReflection; use PHPStan\Type\DynamicMethodReturnTypeExtension; use PHPStan\Type\Type; -use RectorPrefix20220519\PHPUnit\Framework\MockObject\Builder\InvocationMocker; +use RectorPrefix20220520\PHPUnit\Framework\MockObject\Builder\InvocationMocker; class InvocationMockerDynamicReturnTypeExtension implements \PHPStan\Type\DynamicMethodReturnTypeExtension { public function getClass() : string { - return \RectorPrefix20220519\PHPUnit\Framework\MockObject\Builder\InvocationMocker::class; + return \RectorPrefix20220520\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 3d30743bf4e..02b30439333 100644 --- a/vendor/phpstan/phpstan-phpunit/src/Type/PHPUnit/MockBuilderDynamicReturnTypeExtension.php +++ b/vendor/phpstan/phpstan-phpunit/src/Type/PHPUnit/MockBuilderDynamicReturnTypeExtension.php @@ -8,13 +8,13 @@ use PHPStan\Analyser\Scope; use PHPStan\Reflection\MethodReflection; use PHPStan\Type\DynamicMethodReturnTypeExtension; use PHPStan\Type\Type; -use RectorPrefix20220519\PHPUnit\Framework\MockObject\MockBuilder; +use RectorPrefix20220520\PHPUnit\Framework\MockObject\MockBuilder; use function in_array; class MockBuilderDynamicReturnTypeExtension implements \PHPStan\Type\DynamicMethodReturnTypeExtension { public function getClass() : string { - return \RectorPrefix20220519\PHPUnit\Framework\MockObject\MockBuilder::class; + return \RectorPrefix20220520\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 4565034d2da..7d8bd241743 100644 --- a/vendor/phpstan/phpstan-phpunit/src/Type/PHPUnit/MockObjectDynamicReturnTypeExtension.php +++ b/vendor/phpstan/phpstan-phpunit/src/Type/PHPUnit/MockObjectDynamicReturnTypeExtension.php @@ -12,8 +12,8 @@ use PHPStan\Type\IntersectionType; use PHPStan\Type\ObjectType; use PHPStan\Type\Type; use PHPStan\Type\TypeWithClassName; -use RectorPrefix20220519\PHPUnit\Framework\MockObject\Builder\InvocationMocker; -use RectorPrefix20220519\PHPUnit\Framework\MockObject\MockObject; +use RectorPrefix20220520\PHPUnit\Framework\MockObject\Builder\InvocationMocker; +use RectorPrefix20220520\PHPUnit\Framework\MockObject\MockObject; use function array_filter; use function array_values; use function count; @@ -21,7 +21,7 @@ class MockObjectDynamicReturnTypeExtension implements \PHPStan\Type\DynamicMetho { public function getClass() : string { - return \RectorPrefix20220519\PHPUnit\Framework\MockObject\MockObject::class; + return \RectorPrefix20220520\PHPUnit\Framework\MockObject\MockObject::class; } public function isMethodSupported(\PHPStan\Reflection\MethodReflection $methodReflection) : bool { @@ -31,14 +31,14 @@ class MockObjectDynamicReturnTypeExtension implements \PHPStan\Type\DynamicMetho { $type = $scope->getType($methodCall->var); if (!$type instanceof \PHPStan\Type\IntersectionType) { - return new \PHPStan\Type\ObjectType(\RectorPrefix20220519\PHPUnit\Framework\MockObject\Builder\InvocationMocker::class); + return new \PHPStan\Type\ObjectType(\RectorPrefix20220520\PHPUnit\Framework\MockObject\Builder\InvocationMocker::class); } $mockClasses = \array_values(\array_filter($type->getTypes(), static function (\PHPStan\Type\Type $type) : bool { - return !$type instanceof \PHPStan\Type\TypeWithClassName || $type->getClassName() !== \RectorPrefix20220519\PHPUnit\Framework\MockObject\MockObject::class; + return !$type instanceof \PHPStan\Type\TypeWithClassName || $type->getClassName() !== \RectorPrefix20220520\PHPUnit\Framework\MockObject\MockObject::class; })); if (\count($mockClasses) !== 1) { - return new \PHPStan\Type\ObjectType(\RectorPrefix20220519\PHPUnit\Framework\MockObject\Builder\InvocationMocker::class); + return new \PHPStan\Type\ObjectType(\RectorPrefix20220520\PHPUnit\Framework\MockObject\Builder\InvocationMocker::class); } - return new \PHPStan\Type\Generic\GenericObjectType(\RectorPrefix20220519\PHPUnit\Framework\MockObject\Builder\InvocationMocker::class, $mockClasses); + return new \PHPStan\Type\Generic\GenericObjectType(\RectorPrefix20220520\PHPUnit\Framework\MockObject\Builder\InvocationMocker::class, $mockClasses); } } diff --git a/vendor/phpstan/phpstan/bootstrap.php b/vendor/phpstan/phpstan/bootstrap.php index e1ee0d29a2c..1fc45b79d0c 100644 --- a/vendor/phpstan/phpstan/bootstrap.php +++ b/vendor/phpstan/phpstan/bootstrap.php @@ -3,7 +3,7 @@ declare (strict_types=1); namespace PHPStan; -use RectorPrefix20220519\Composer\Autoload\ClassLoader; +use RectorPrefix20220520\Composer\Autoload\ClassLoader; final class PharAutoloader { /** @var ClassLoader */ diff --git a/vendor/phpstan/phpstan/phpstan b/vendor/phpstan/phpstan/phpstan index 292d26c7472..4a08e293961 100644 --- a/vendor/phpstan/phpstan/phpstan +++ b/vendor/phpstan/phpstan/phpstan @@ -1,7 +1,7 @@ #!/usr/bin/env php logger = $logger; } diff --git a/vendor/psr/log/src/LoggerInterface.php b/vendor/psr/log/src/LoggerInterface.php index 7942bc64da0..65bacc518ae 100644 --- a/vendor/psr/log/src/LoggerInterface.php +++ b/vendor/psr/log/src/LoggerInterface.php @@ -1,6 +1,6 @@ log(\RectorPrefix20220519\Psr\Log\LogLevel::EMERGENCY, $message, $context); + $this->log(\RectorPrefix20220520\Psr\Log\LogLevel::EMERGENCY, $message, $context); } /** * Action must be taken immediately. @@ -37,7 +37,7 @@ trait LoggerTrait */ public function alert($message, array $context = []) { - $this->log(\RectorPrefix20220519\Psr\Log\LogLevel::ALERT, $message, $context); + $this->log(\RectorPrefix20220520\Psr\Log\LogLevel::ALERT, $message, $context); } /** * Critical conditions. @@ -51,7 +51,7 @@ trait LoggerTrait */ public function critical($message, array $context = []) { - $this->log(\RectorPrefix20220519\Psr\Log\LogLevel::CRITICAL, $message, $context); + $this->log(\RectorPrefix20220520\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, array $context = []) { - $this->log(\RectorPrefix20220519\Psr\Log\LogLevel::ERROR, $message, $context); + $this->log(\RectorPrefix20220520\Psr\Log\LogLevel::ERROR, $message, $context); } /** * Exceptional occurrences that are not errors. @@ -79,7 +79,7 @@ trait LoggerTrait */ public function warning($message, array $context = []) { - $this->log(\RectorPrefix20220519\Psr\Log\LogLevel::WARNING, $message, $context); + $this->log(\RectorPrefix20220520\Psr\Log\LogLevel::WARNING, $message, $context); } /** * Normal but significant events. @@ -91,7 +91,7 @@ trait LoggerTrait */ public function notice($message, array $context = []) { - $this->log(\RectorPrefix20220519\Psr\Log\LogLevel::NOTICE, $message, $context); + $this->log(\RectorPrefix20220520\Psr\Log\LogLevel::NOTICE, $message, $context); } /** * Interesting events. @@ -105,7 +105,7 @@ trait LoggerTrait */ public function info($message, array $context = []) { - $this->log(\RectorPrefix20220519\Psr\Log\LogLevel::INFO, $message, $context); + $this->log(\RectorPrefix20220520\Psr\Log\LogLevel::INFO, $message, $context); } /** * Detailed debug information. @@ -117,7 +117,7 @@ trait LoggerTrait */ public function debug($message, array $context = []) { - $this->log(\RectorPrefix20220519\Psr\Log\LogLevel::DEBUG, $message, $context); + $this->log(\RectorPrefix20220520\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 483315bb726..eb6b6fbb397 100644 --- a/vendor/psr/log/src/NullLogger.php +++ b/vendor/psr/log/src/NullLogger.php @@ -1,6 +1,6 @@ logger) { }` * blocks. */ -class NullLogger extends \RectorPrefix20220519\Psr\Log\AbstractLogger +class NullLogger extends \RectorPrefix20220520\Psr\Log\AbstractLogger { /** * Logs with an arbitrary level. diff --git a/vendor/react/cache/composer.json b/vendor/react/cache/composer.json index 8e7fda173df..de46bb20a9f 100644 --- a/vendor/react/cache/composer.json +++ b/vendor/react/cache/composer.json @@ -36,12 +36,12 @@ }, "autoload": { "psr-4": { - "RectorPrefix20220519\\React\\Cache\\": "src\/" + "RectorPrefix20220520\\React\\Cache\\": "src\/" } }, "autoload-dev": { "psr-4": { - "RectorPrefix20220519\\React\\Tests\\Cache\\": "tests\/" + "RectorPrefix20220520\\React\\Tests\\Cache\\": "tests\/" } }, "require-dev": { diff --git a/vendor/react/cache/src/ArrayCache.php b/vendor/react/cache/src/ArrayCache.php index 0df670473eb..a2e1d574447 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 \RectorPrefix20220519\React\Promise\resolve($default); + return \RectorPrefix20220520\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 \RectorPrefix20220519\React\Promise\resolve($value); + return \RectorPrefix20220520\React\Promise\resolve($value); } public function set($key, $value, $ttl = null) { @@ -93,12 +93,12 @@ class ArrayCache implements \RectorPrefix20220519\React\Cache\CacheInterface } unset($this->data[$key], $this->expires[$key]); } - return \RectorPrefix20220519\React\Promise\resolve(\true); + return \RectorPrefix20220520\React\Promise\resolve(\true); } public function delete($key) { unset($this->data[$key], $this->expires[$key]); - return \RectorPrefix20220519\React\Promise\resolve(\true); + return \RectorPrefix20220520\React\Promise\resolve(\true); } public function getMultiple(array $keys, $default = null) { @@ -106,27 +106,27 @@ class ArrayCache implements \RectorPrefix20220519\React\Cache\CacheInterface foreach ($keys as $key) { $values[$key] = $this->get($key, $default); } - return \RectorPrefix20220519\React\Promise\all($values); + return \RectorPrefix20220520\React\Promise\all($values); } public function setMultiple(array $values, $ttl = null) { foreach ($values as $key => $value) { $this->set($key, $value, $ttl); } - return \RectorPrefix20220519\React\Promise\resolve(\true); + return \RectorPrefix20220520\React\Promise\resolve(\true); } public function deleteMultiple(array $keys) { foreach ($keys as $key) { unset($this->data[$key], $this->expires[$key]); } - return \RectorPrefix20220519\React\Promise\resolve(\true); + return \RectorPrefix20220520\React\Promise\resolve(\true); } public function clear() { $this->data = array(); $this->expires = array(); - return \RectorPrefix20220519\React\Promise\resolve(\true); + return \RectorPrefix20220520\React\Promise\resolve(\true); } public function has($key) { @@ -135,13 +135,13 @@ class ArrayCache implements \RectorPrefix20220519\React\Cache\CacheInterface unset($this->data[$key], $this->expires[$key]); } if (!\array_key_exists($key, $this->data)) { - return \RectorPrefix20220519\React\Promise\resolve(\false); + return \RectorPrefix20220520\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 \RectorPrefix20220519\React\Promise\resolve(\true); + return \RectorPrefix20220520\React\Promise\resolve(\true); } /** * @return float diff --git a/vendor/react/cache/src/CacheInterface.php b/vendor/react/cache/src/CacheInterface.php index 116153d652f..ce2a0bf83f2 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 ?: \RectorPrefix20220519\React\EventLoop\Loop::get(); + $loop = $loop ?: \RectorPrefix20220520\React\EventLoop\Loop::get(); $cmd = $this->cmd; $fdSpec = $this->fds; $sigchild = null; @@ -217,13 +217,13 @@ class Process extends \RectorPrefix20220519\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 \RectorPrefix20220519\React\Stream\DuplexResourceStream($fd, $loop); + $stream = new \RectorPrefix20220520\React\Stream\DuplexResourceStream($fd, $loop); $stream->on('close', $streamCloseHandler); $closeCount++; } elseif ($mode === 'w') { - $stream = new \RectorPrefix20220519\React\Stream\WritableResourceStream($fd, $loop); + $stream = new \RectorPrefix20220520\React\Stream\WritableResourceStream($fd, $loop); } else { - $stream = new \RectorPrefix20220519\React\Stream\ReadableResourceStream($fd, $loop); + $stream = new \RectorPrefix20220520\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 549bcd6817e..03ec5792d5a 100644 --- a/vendor/react/dns/composer.json +++ b/vendor/react/dns/composer.json @@ -43,12 +43,12 @@ }, "autoload": { "psr-4": { - "RectorPrefix20220519\\React\\Dns\\": "src" + "RectorPrefix20220520\\React\\Dns\\": "src" } }, "autoload-dev": { "psr-4": { - "RectorPrefix20220519\\React\\Tests\\Dns\\": "tests" + "RectorPrefix20220520\\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 427fe3f80ef..aefae18c6fe 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(\RectorPrefix20220519\React\Dns\Query\Query $query, array $answers) + public static function createResponseWithAnswersForQuery(\RectorPrefix20220520\React\Dns\Query\Query $query, array $answers) { - $response = new \RectorPrefix20220519\React\Dns\Model\Message(); + $response = new \RectorPrefix20220520\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 = \RectorPrefix20220519\React\Dns\Model\Message::RCODE_OK; + public $rcode = \RectorPrefix20220520\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 db3aa7e14c8..b5d7214824d 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(\RectorPrefix20220519\React\Dns\Model\Message $message) + private function headerToBinary(\RectorPrefix20220520\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 \RectorPrefix20220519\React\Dns\Model\Message::TYPE_A: - case \RectorPrefix20220519\React\Dns\Model\Message::TYPE_AAAA: + case \RectorPrefix20220520\React\Dns\Model\Message::TYPE_A: + case \RectorPrefix20220520\React\Dns\Model\Message::TYPE_AAAA: $binary = \inet_pton($record->data); break; - case \RectorPrefix20220519\React\Dns\Model\Message::TYPE_CNAME: - case \RectorPrefix20220519\React\Dns\Model\Message::TYPE_NS: - case \RectorPrefix20220519\React\Dns\Model\Message::TYPE_PTR: + case \RectorPrefix20220520\React\Dns\Model\Message::TYPE_CNAME: + case \RectorPrefix20220520\React\Dns\Model\Message::TYPE_NS: + case \RectorPrefix20220520\React\Dns\Model\Message::TYPE_PTR: $binary = $this->domainNameToBinary($record->data); break; - case \RectorPrefix20220519\React\Dns\Model\Message::TYPE_TXT: - case \RectorPrefix20220519\React\Dns\Model\Message::TYPE_SPF: + case \RectorPrefix20220520\React\Dns\Model\Message::TYPE_TXT: + case \RectorPrefix20220520\React\Dns\Model\Message::TYPE_SPF: $binary = $this->textsToBinary($record->data); break; - case \RectorPrefix20220519\React\Dns\Model\Message::TYPE_MX: + case \RectorPrefix20220520\React\Dns\Model\Message::TYPE_MX: $binary = \pack('n', $record->data['priority']); $binary .= $this->domainNameToBinary($record->data['target']); break; - case \RectorPrefix20220519\React\Dns\Model\Message::TYPE_SRV: + case \RectorPrefix20220520\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 \RectorPrefix20220519\React\Dns\Model\Message::TYPE_SOA: + case \RectorPrefix20220520\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 \RectorPrefix20220519\React\Dns\Model\Message::TYPE_CAA: + case \RectorPrefix20220520\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 \RectorPrefix20220519\React\Dns\Model\Message::TYPE_SSHFP: + case \RectorPrefix20220520\React\Dns\Model\Message::TYPE_SSHFP: $binary = \pack('CCH*', $record->data['algorithm'], $record->data['type'], $record->data['fingerprint']); break; - case \RectorPrefix20220519\React\Dns\Model\Message::TYPE_OPT: + case \RectorPrefix20220520\React\Dns\Model\Message::TYPE_OPT: $binary = ''; foreach ($record->data as $opt => $value) { - if ($opt === \RectorPrefix20220519\React\Dns\Model\Message::OPT_TCP_KEEPALIVE && $value !== null) { + if ($opt === \RectorPrefix20220520\React\Dns\Model\Message::OPT_TCP_KEEPALIVE && $value !== null) { $value = \pack('n', \round($value * 10)); } $binary .= \pack('n*', $opt, \strlen((string) $value)) . $value; diff --git a/vendor/react/dns/src/Protocol/Parser.php b/vendor/react/dns/src/Protocol/Parser.php index 645ad1825b1..28062d79127 100644 --- a/vendor/react/dns/src/Protocol/Parser.php +++ b/vendor/react/dns/src/Protocol/Parser.php @@ -1,10 +1,10 @@ id = $id; $message->rcode = $fields & 0xf; $message->ra = ($fields >> 7 & 1) === 1; @@ -100,7 +100,7 @@ final class Parser } list($type, $class) = \array_values(\unpack('n*', \substr($data, $consumed, 4))); $consumed += 4; - return array(new \RectorPrefix20220519\React\Dns\Query\Query(\implode('.', $labels), $type, $class), $consumed); + return array(new \RectorPrefix20220520\React\Dns\Query\Query(\implode('.', $labels), $type, $class), $consumed); } /** * @param string $data @@ -128,45 +128,45 @@ final class Parser } $rdata = null; $expected = $consumed + $rdLength; - if (\RectorPrefix20220519\React\Dns\Model\Message::TYPE_A === $type) { + if (\RectorPrefix20220520\React\Dns\Model\Message::TYPE_A === $type) { if ($rdLength === 4) { $rdata = \inet_ntop(\substr($data, $consumed, $rdLength)); $consumed += $rdLength; } - } elseif (\RectorPrefix20220519\React\Dns\Model\Message::TYPE_AAAA === $type) { + } elseif (\RectorPrefix20220520\React\Dns\Model\Message::TYPE_AAAA === $type) { if ($rdLength === 16) { $rdata = \inet_ntop(\substr($data, $consumed, $rdLength)); $consumed += $rdLength; } - } elseif (\RectorPrefix20220519\React\Dns\Model\Message::TYPE_CNAME === $type || \RectorPrefix20220519\React\Dns\Model\Message::TYPE_PTR === $type || \RectorPrefix20220519\React\Dns\Model\Message::TYPE_NS === $type) { + } elseif (\RectorPrefix20220520\React\Dns\Model\Message::TYPE_CNAME === $type || \RectorPrefix20220520\React\Dns\Model\Message::TYPE_PTR === $type || \RectorPrefix20220520\React\Dns\Model\Message::TYPE_NS === $type) { list($rdata, $consumed) = $this->readDomain($data, $consumed); - } elseif (\RectorPrefix20220519\React\Dns\Model\Message::TYPE_TXT === $type || \RectorPrefix20220519\React\Dns\Model\Message::TYPE_SPF === $type) { + } elseif (\RectorPrefix20220520\React\Dns\Model\Message::TYPE_TXT === $type || \RectorPrefix20220520\React\Dns\Model\Message::TYPE_SPF === $type) { $rdata = array(); while ($consumed < $expected) { $len = \ord($data[$consumed]); $rdata[] = (string) \substr($data, $consumed + 1, $len); $consumed += $len + 1; } - } elseif (\RectorPrefix20220519\React\Dns\Model\Message::TYPE_MX === $type) { + } elseif (\RectorPrefix20220520\React\Dns\Model\Message::TYPE_MX === $type) { if ($rdLength > 2) { list($priority) = \array_values(\unpack('n', \substr($data, $consumed, 2))); list($target, $consumed) = $this->readDomain($data, $consumed + 2); $rdata = array('priority' => $priority, 'target' => $target); } - } elseif (\RectorPrefix20220519\React\Dns\Model\Message::TYPE_SRV === $type) { + } elseif (\RectorPrefix20220520\React\Dns\Model\Message::TYPE_SRV === $type) { if ($rdLength > 6) { list($priority, $weight, $port) = \array_values(\unpack('n*', \substr($data, $consumed, 6))); list($target, $consumed) = $this->readDomain($data, $consumed + 6); $rdata = array('priority' => $priority, 'weight' => $weight, 'port' => $port, 'target' => $target); } - } elseif (\RectorPrefix20220519\React\Dns\Model\Message::TYPE_SSHFP === $type) { + } elseif (\RectorPrefix20220520\React\Dns\Model\Message::TYPE_SSHFP === $type) { if ($rdLength > 2) { list($algorithm, $hash) = \array_values(\unpack('C*', \substr($data, $consumed, 2))); $fingerprint = \bin2hex(\substr($data, $consumed + 2, $rdLength - 2)); $consumed += $rdLength; $rdata = array('algorithm' => $algorithm, 'type' => $hash, 'fingerprint' => $fingerprint); } - } elseif (\RectorPrefix20220519\React\Dns\Model\Message::TYPE_SOA === $type) { + } elseif (\RectorPrefix20220520\React\Dns\Model\Message::TYPE_SOA === $type) { list($mname, $consumed) = $this->readDomain($data, $consumed); list($rname, $consumed) = $this->readDomain($data, $consumed); if ($mname !== null && $rname !== null && isset($data[$consumed + 20 - 1])) { @@ -174,23 +174,23 @@ final class Parser $consumed += 20; $rdata = array('mname' => $mname, 'rname' => $rname, 'serial' => $serial, 'refresh' => $refresh, 'retry' => $retry, 'expire' => $expire, 'minimum' => $minimum); } - } elseif (\RectorPrefix20220519\React\Dns\Model\Message::TYPE_OPT === $type) { + } elseif (\RectorPrefix20220520\React\Dns\Model\Message::TYPE_OPT === $type) { $rdata = array(); while (isset($data[$consumed + 4 - 1])) { list($code, $length) = \array_values(\unpack('n*', \substr($data, $consumed, 4))); $value = (string) \substr($data, $consumed + 4, $length); - if ($code === \RectorPrefix20220519\React\Dns\Model\Message::OPT_TCP_KEEPALIVE && $value === '') { + if ($code === \RectorPrefix20220520\React\Dns\Model\Message::OPT_TCP_KEEPALIVE && $value === '') { $value = null; - } elseif ($code === \RectorPrefix20220519\React\Dns\Model\Message::OPT_TCP_KEEPALIVE && $length === 2) { + } elseif ($code === \RectorPrefix20220520\React\Dns\Model\Message::OPT_TCP_KEEPALIVE && $length === 2) { list($value) = \array_values(\unpack('n', $value)); $value = \round($value * 0.1, 1); - } elseif ($code === \RectorPrefix20220519\React\Dns\Model\Message::OPT_TCP_KEEPALIVE) { + } elseif ($code === \RectorPrefix20220520\React\Dns\Model\Message::OPT_TCP_KEEPALIVE) { break; } $rdata[$code] = $value; $consumed += 4 + $length; } - } elseif (\RectorPrefix20220519\React\Dns\Model\Message::TYPE_CAA === $type) { + } elseif (\RectorPrefix20220520\React\Dns\Model\Message::TYPE_CAA === $type) { if ($rdLength > 3) { list($flag, $tagLength) = \array_values(\unpack('C*', \substr($data, $consumed, 2))); if ($tagLength > 0 && $rdLength - 2 - $tagLength > 0) { @@ -209,7 +209,7 @@ final class Parser if ($consumed !== $expected || $rdata === null) { return array(null, null); } - return array(new \RectorPrefix20220519\React\Dns\Model\Record($name, $type, $class, $ttl, $rdata), $consumed); + return array(new \RectorPrefix20220520\React\Dns\Model\Record($name, $type, $class, $ttl, $rdata), $consumed); } private function readDomain($data, $consumed) { diff --git a/vendor/react/dns/src/Query/CachingExecutor.php b/vendor/react/dns/src/Query/CachingExecutor.php index 3661c29818e..101eac6efb3 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; } - public function query(\RectorPrefix20220519\React\Dns\Query\Query $query) + public function query(\RectorPrefix20220520\React\Dns\Query\Query $query) { $id = $query->name . ':' . $query->type . ':' . $query->class; $cache = $this->cache; $that = $this; $executor = $this->executor; $pending = $cache->get($id); - return new \RectorPrefix20220519\React\Promise\Promise(function ($resolve, $reject) use($query, $id, $cache, $executor, &$pending, $that) { + return new \RectorPrefix20220520\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 (\RectorPrefix20220519\React\Dns\Model\Message $message) use($cache, $id, $that) { + return $pending = $executor->query($query)->then(function (\RectorPrefix20220520\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)); @@ -56,7 +56,7 @@ final class CachingExecutor implements \RectorPrefix20220519\React\Dns\Query\Exe * @return int * @internal */ - public function ttl(\RectorPrefix20220519\React\Dns\Model\Message $message) + public function ttl(\RectorPrefix20220520\React\Dns\Model\Message $message) { // select TTL from answers (should all be the same), use smallest value if available // @link https://tools.ietf.org/html/rfc2181#section-5.2 diff --git a/vendor/react/dns/src/Query/CancellationException.php b/vendor/react/dns/src/Query/CancellationException.php index 7847e7e3000..c06039214ce 100644 --- a/vendor/react/dns/src/Query/CancellationException.php +++ b/vendor/react/dns/src/Query/CancellationException.php @@ -1,6 +1,6 @@ executor = $base; } - public function query(\RectorPrefix20220519\React\Dns\Query\Query $query) + public function query(\RectorPrefix20220520\React\Dns\Query\Query $query) { $key = $this->serializeQueryToIdentity($query); if (isset($this->pending[$key])) { @@ -67,7 +67,7 @@ final class CoopExecutor implements \RectorPrefix20220519\React\Dns\Query\Execut // when no other child promise is awaiting the same query. $pending =& $this->pending; $counts =& $this->counts; - return new \RectorPrefix20220519\React\Promise\Promise(function ($resolve, $reject) use($promise) { + return new \RectorPrefix20220520\React\Promise\Promise(function ($resolve, $reject) use($promise) { $promise->then($resolve, $reject); }, function () use(&$promise, $key, $query, &$pending, &$counts) { if (--$counts[$key] < 1) { @@ -78,7 +78,7 @@ final class CoopExecutor implements \RectorPrefix20220519\React\Dns\Query\Execut throw new \RuntimeException('DNS query for ' . $query->describe() . ' has been cancelled'); }); } - private function serializeQueryToIdentity(\RectorPrefix20220519\React\Dns\Query\Query $query) + private function serializeQueryToIdentity(\RectorPrefix20220520\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 c0cf988154b..7ff44f2d9f9 100644 --- a/vendor/react/dns/src/Query/ExecutorInterface.php +++ b/vendor/react/dns/src/Query/ExecutorInterface.php @@ -1,6 +1,6 @@ * resolves with response message on success or rejects with an Exception on error */ - public function query(\RectorPrefix20220519\React\Dns\Query\Query $query); + public function query(\RectorPrefix20220520\React\Dns\Query\Query $query); } diff --git a/vendor/react/dns/src/Query/FallbackExecutor.php b/vendor/react/dns/src/Query/FallbackExecutor.php index f56445db141..53516b07980 100644 --- a/vendor/react/dns/src/Query/FallbackExecutor.php +++ b/vendor/react/dns/src/Query/FallbackExecutor.php @@ -1,23 +1,23 @@ executor = $executor; $this->fallback = $fallback; } - public function query(\RectorPrefix20220519\React\Dns\Query\Query $query) + public function query(\RectorPrefix20220520\React\Dns\Query\Query $query) { $cancelled = \false; $fallback = $this->fallback; $promise = $this->executor->query($query); - return new \RectorPrefix20220519\React\Promise\Promise(function ($resolve, $reject) use(&$promise, $fallback, $query, &$cancelled) { + return new \RectorPrefix20220520\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 9e64dd0bc51..6c9c43f4b5b 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; } - public function query(\RectorPrefix20220519\React\Dns\Query\Query $query) + public function query(\RectorPrefix20220520\React\Dns\Query\Query $query) { - if ($query->class === \RectorPrefix20220519\React\Dns\Model\Message::CLASS_IN && ($query->type === \RectorPrefix20220519\React\Dns\Model\Message::TYPE_A || $query->type === \RectorPrefix20220519\React\Dns\Model\Message::TYPE_AAAA)) { + if ($query->class === \RectorPrefix20220520\React\Dns\Model\Message::CLASS_IN && ($query->type === \RectorPrefix20220520\React\Dns\Model\Message::TYPE_A || $query->type === \RectorPrefix20220520\React\Dns\Model\Message::TYPE_AAAA)) { // forward lookup for type A or AAAA $records = array(); - $expectsColon = $query->type === \RectorPrefix20220519\React\Dns\Model\Message::TYPE_AAAA; + $expectsColon = $query->type === \RectorPrefix20220520\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 \RectorPrefix20220519\React\Dns\Model\Record($query->name, $query->type, $query->class, 0, $ip); + $records[] = new \RectorPrefix20220520\React\Dns\Model\Record($query->name, $query->type, $query->class, 0, $ip); } } if ($records) { - return \RectorPrefix20220519\React\Promise\resolve(\RectorPrefix20220519\React\Dns\Model\Message::createResponseWithAnswersForQuery($query, $records)); + return \RectorPrefix20220520\React\Promise\resolve(\RectorPrefix20220520\React\Dns\Model\Message::createResponseWithAnswersForQuery($query, $records)); } - } elseif ($query->class === \RectorPrefix20220519\React\Dns\Model\Message::CLASS_IN && $query->type === \RectorPrefix20220519\React\Dns\Model\Message::TYPE_PTR) { + } elseif ($query->class === \RectorPrefix20220520\React\Dns\Model\Message::CLASS_IN && $query->type === \RectorPrefix20220520\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 \RectorPrefix20220519\React\Dns\Model\Record($query->name, $query->type, $query->class, 0, $host); + $records[] = new \RectorPrefix20220520\React\Dns\Model\Record($query->name, $query->type, $query->class, 0, $host); } if ($records) { - return \RectorPrefix20220519\React\Promise\resolve(\RectorPrefix20220519\React\Dns\Model\Message::createResponseWithAnswersForQuery($query, $records)); + return \RectorPrefix20220520\React\Promise\resolve(\RectorPrefix20220520\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 c1ccc29d057..d7fec9fb5c1 100644 --- a/vendor/react/dns/src/Query/Query.php +++ b/vendor/react/dns/src/Query/Query.php @@ -1,8 +1,8 @@ class !== \RectorPrefix20220519\React\Dns\Model\Message::CLASS_IN ? 'CLASS' . $this->class . ' ' : ''; + $class = $this->class !== \RectorPrefix20220520\React\Dns\Model\Message::CLASS_IN ? 'CLASS' . $this->class . ' ' : ''; $type = 'TYPE' . $this->type; - $ref = new \ReflectionClass('RectorPrefix20220519\\React\\Dns\\Model\\Message'); + $ref = new \ReflectionClass('RectorPrefix20220520\\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 b828204d9ce..78c38898dd3 100644 --- a/vendor/react/dns/src/Query/RetryExecutor.php +++ b/vendor/react/dns/src/Query/RetryExecutor.php @@ -1,27 +1,27 @@ executor = $executor; $this->retries = $retries; } - public function query(\RectorPrefix20220519\React\Dns\Query\Query $query) + public function query(\RectorPrefix20220520\React\Dns\Query\Query $query) { return $this->tryQuery($query, $this->retries); } - public function tryQuery(\RectorPrefix20220519\React\Dns\Query\Query $query, $retries) + public function tryQuery(\RectorPrefix20220520\React\Dns\Query\Query $query, $retries) { - $deferred = new \RectorPrefix20220519\React\Promise\Deferred(function () use(&$promise) { - if ($promise instanceof \RectorPrefix20220519\React\Promise\CancellablePromiseInterface || !\interface_exists('RectorPrefix20220519\\React\\Promise\\CancellablePromiseInterface') && \method_exists($promise, 'cancel')) { + $deferred = new \RectorPrefix20220520\React\Promise\Deferred(function () use(&$promise) { + if ($promise instanceof \RectorPrefix20220520\React\Promise\CancellablePromiseInterface || !\interface_exists('RectorPrefix20220520\\React\\Promise\\CancellablePromiseInterface') && \method_exists($promise, 'cancel')) { $promise->cancel(); } }); @@ -31,7 +31,7 @@ final class RetryExecutor implements \RectorPrefix20220519\React\Dns\Query\Execu }; $executor = $this->executor; $errorback = function ($e) use($deferred, &$promise, $query, $success, &$errorback, &$retries, $executor) { - if (!$e instanceof \RectorPrefix20220519\React\Dns\Query\TimeoutException) { + if (!$e instanceof \RectorPrefix20220520\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 591da9c6a18..029badc0453 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; } - public function query(\RectorPrefix20220519\React\Dns\Query\Query $query) + public function query(\RectorPrefix20220520\React\Dns\Query\Query $query) { $stream = $this->streamExecutor; $pending = $this->datagramExecutor->query($query); - return new \RectorPrefix20220519\React\Promise\Promise(function ($resolve, $reject) use(&$pending, $stream, $query) { + return new \RectorPrefix20220520\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 76211ecdaf3..10b4d0f4bdd 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 @@ -135,13 +135,13 @@ class TcpTransportExecutor implements \RectorPrefix20220519\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 ?: \RectorPrefix20220519\React\EventLoop\Loop::get(); - $this->parser = new \RectorPrefix20220519\React\Dns\Protocol\Parser(); - $this->dumper = new \RectorPrefix20220519\React\Dns\Protocol\BinaryDumper(); + $this->loop = $loop ?: \RectorPrefix20220520\React\EventLoop\Loop::get(); + $this->parser = new \RectorPrefix20220520\React\Dns\Protocol\Parser(); + $this->dumper = new \RectorPrefix20220520\React\Dns\Protocol\BinaryDumper(); } - public function query(\RectorPrefix20220519\React\Dns\Query\Query $query) + public function query(\RectorPrefix20220520\React\Dns\Query\Query $query) { - $request = \RectorPrefix20220519\React\Dns\Model\Message::createRequestForQuery($query); + $request = \RectorPrefix20220520\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); @@ -150,14 +150,14 @@ class TcpTransportExecutor implements \RectorPrefix20220519\React\Dns\Query\Exec $queryData = $this->dumper->toBinary($request); $length = \strlen($queryData); if ($length > 0xffff) { - return \RectorPrefix20220519\React\Promise\reject(new \RuntimeException('DNS query for ' . $query->describe() . ' failed: Query too large for TCP transport')); + return \RectorPrefix20220520\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 \RectorPrefix20220519\React\Promise\reject(new \RuntimeException('DNS query for ' . $query->describe() . ' failed: Unable to connect to DNS server ' . $this->nameserver . ' (' . $errstr . ')', $errno)); + return \RectorPrefix20220520\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); @@ -179,12 +179,12 @@ class TcpTransportExecutor implements \RectorPrefix20220519\React\Dns\Query\Exec } $names =& $this->names; $that = $this; - $deferred = new \RectorPrefix20220519\React\Promise\Deferred(function () use($that, &$names, $request) { + $deferred = new \RectorPrefix20220520\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 \RectorPrefix20220519\React\Dns\Query\CancellationException('DNS query for ' . $name . ' has been cancelled'); + throw new \RectorPrefix20220520\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 e1ce969da45..2324a28a464 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 ?: \RectorPrefix20220519\React\EventLoop\Loop::get(); + $this->loop = $loop ?: \RectorPrefix20220520\React\EventLoop\Loop::get(); $this->timeout = $timeout; } - public function query(\RectorPrefix20220519\React\Dns\Query\Query $query) + public function query(\RectorPrefix20220520\React\Dns\Query\Query $query) { - return \RectorPrefix20220519\React\Promise\Timer\timeout($this->executor->query($query), $this->timeout, $this->loop)->then(null, function ($e) use($query) { - if ($e instanceof \RectorPrefix20220519\React\Promise\Timer\TimeoutException) { - $e = new \RectorPrefix20220519\React\Dns\Query\TimeoutException(\sprintf("DNS query for %s timed out", $query->describe()), 0, $e); + return \RectorPrefix20220520\React\Promise\Timer\timeout($this->executor->query($query), $this->timeout, $this->loop)->then(null, function ($e) use($query) { + if ($e instanceof \RectorPrefix20220520\React\Promise\Timer\TimeoutException) { + $e = new \RectorPrefix20220520\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 dfc0f448e5b..ecceb4365fe 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,21 +106,21 @@ final class UdpTransportExecutor implements \RectorPrefix20220519\React\Dns\Quer throw new \InvalidArgumentException('Invalid nameserver address given'); } $this->nameserver = 'udp://' . $parts['host'] . ':' . (isset($parts['port']) ? $parts['port'] : 53); - $this->loop = $loop ?: \RectorPrefix20220519\React\EventLoop\Loop::get(); - $this->parser = new \RectorPrefix20220519\React\Dns\Protocol\Parser(); - $this->dumper = new \RectorPrefix20220519\React\Dns\Protocol\BinaryDumper(); + $this->loop = $loop ?: \RectorPrefix20220520\React\EventLoop\Loop::get(); + $this->parser = new \RectorPrefix20220520\React\Dns\Protocol\Parser(); + $this->dumper = new \RectorPrefix20220520\React\Dns\Protocol\BinaryDumper(); } - public function query(\RectorPrefix20220519\React\Dns\Query\Query $query) + public function query(\RectorPrefix20220520\React\Dns\Query\Query $query) { - $request = \RectorPrefix20220519\React\Dns\Model\Message::createRequestForQuery($query); + $request = \RectorPrefix20220520\React\Dns\Model\Message::createRequestForQuery($query); $queryData = $this->dumper->toBinary($request); if (isset($queryData[$this->maxPacketSize])) { - return \RectorPrefix20220519\React\Promise\reject(new \RuntimeException('DNS query for ' . $query->describe() . ' failed: Query too large for UDP transport', \defined('SOCKET_EMSGSIZE') ? \SOCKET_EMSGSIZE : 90)); + return \RectorPrefix20220520\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 \RectorPrefix20220519\React\Promise\reject(new \RuntimeException('DNS query for ' . $query->describe() . ' failed: Unable to connect to DNS server ' . $this->nameserver . ' (' . $errstr . ')', $errno)); + return \RectorPrefix20220520\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); @@ -132,14 +132,14 @@ final class UdpTransportExecutor implements \RectorPrefix20220519\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 \RectorPrefix20220519\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 \RectorPrefix20220520\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 \RectorPrefix20220519\React\Promise\Deferred(function () use($loop, $socket, $query) { + $deferred = new \RectorPrefix20220520\React\Promise\Deferred(function () use($loop, $socket, $query) { // cancellation should remove socket from loop and close socket $loop->removeReadStream($socket); \fclose($socket); - throw new \RectorPrefix20220519\React\Dns\Query\CancellationException('DNS query for ' . $query->describe() . ' has been cancelled'); + throw new \RectorPrefix20220520\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 addb1e430c7..c54e3bbfb53 100644 --- a/vendor/react/dns/src/RecordNotFoundException.php +++ b/vendor/react/dns/src/RecordNotFoundException.php @@ -1,6 +1,6 @@ decorateHostsFileExecutor($this->createExecutor($config, $loop ?: \RectorPrefix20220519\React\EventLoop\Loop::get())); - return new \RectorPrefix20220519\React\Dns\Resolver\Resolver($executor); + $executor = $this->decorateHostsFileExecutor($this->createExecutor($config, $loop ?: \RectorPrefix20220520\React\EventLoop\Loop::get())); + return new \RectorPrefix20220520\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, \RectorPrefix20220519\React\EventLoop\LoopInterface $loop = null, \RectorPrefix20220519\React\Cache\CacheInterface $cache = null) + public function createCached($config, \RectorPrefix20220520\React\EventLoop\LoopInterface $loop = null, \RectorPrefix20220520\React\Cache\CacheInterface $cache = null) { // default to keeping maximum of 256 responses in cache unless explicitly given - if (!$cache instanceof \RectorPrefix20220519\React\Cache\CacheInterface) { - $cache = new \RectorPrefix20220519\React\Cache\ArrayCache(256); + if (!$cache instanceof \RectorPrefix20220520\React\Cache\CacheInterface) { + $cache = new \RectorPrefix20220520\React\Cache\ArrayCache(256); } - $executor = $this->createExecutor($config, $loop ?: \RectorPrefix20220519\React\EventLoop\Loop::get()); - $executor = new \RectorPrefix20220519\React\Dns\Query\CachingExecutor($executor, $cache); + $executor = $this->createExecutor($config, $loop ?: \RectorPrefix20220520\React\EventLoop\Loop::get()); + $executor = new \RectorPrefix20220520\React\Dns\Query\CachingExecutor($executor, $cache); $executor = $this->decorateHostsFileExecutor($executor); - return new \RectorPrefix20220519\React\Dns\Resolver\Resolver($executor); + return new \RectorPrefix20220520\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(\RectorPrefix20220519\React\Dns\Query\ExecutorInterface $executor) + private function decorateHostsFileExecutor(\RectorPrefix20220520\React\Dns\Query\ExecutorInterface $executor) { try { - $executor = new \RectorPrefix20220519\React\Dns\Query\HostsFileExecutor(\RectorPrefix20220519\React\Dns\Config\HostsFile::loadFromPathBlocking(), $executor); + $executor = new \RectorPrefix20220520\React\Dns\Query\HostsFileExecutor(\RectorPrefix20220520\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 \RectorPrefix20220519\React\Dns\Query\HostsFileExecutor(new \RectorPrefix20220519\React\Dns\Config\HostsFile("127.0.0.1 localhost\n::1 localhost"), $executor); + $executor = new \RectorPrefix20220520\React\Dns\Query\HostsFileExecutor(new \RectorPrefix20220520\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, \RectorPrefix20220519\React\EventLoop\LoopInterface $loop) + private function createExecutor($nameserver, \RectorPrefix20220520\React\EventLoop\LoopInterface $loop) { - if ($nameserver instanceof \RectorPrefix20220519\React\Dns\Config\Config) { + if ($nameserver instanceof \RectorPrefix20220520\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 \RectorPrefix20220519\React\Dns\Query\CoopExecutor(new \RectorPrefix20220519\React\Dns\Query\RetryExecutor(new \RectorPrefix20220519\React\Dns\Query\FallbackExecutor($this->createSingleExecutor($primary, $loop), new \RectorPrefix20220519\React\Dns\Query\FallbackExecutor($this->createSingleExecutor($secondary, $loop), $this->createSingleExecutor($tertiary, $loop))))); + return new \RectorPrefix20220520\React\Dns\Query\CoopExecutor(new \RectorPrefix20220520\React\Dns\Query\RetryExecutor(new \RectorPrefix20220520\React\Dns\Query\FallbackExecutor($this->createSingleExecutor($primary, $loop), new \RectorPrefix20220520\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 \RectorPrefix20220519\React\Dns\Query\CoopExecutor(new \RectorPrefix20220519\React\Dns\Query\RetryExecutor(new \RectorPrefix20220519\React\Dns\Query\FallbackExecutor($this->createSingleExecutor($primary, $loop), $this->createSingleExecutor($secondary, $loop)))); + return new \RectorPrefix20220520\React\Dns\Query\CoopExecutor(new \RectorPrefix20220520\React\Dns\Query\RetryExecutor(new \RectorPrefix20220520\React\Dns\Query\FallbackExecutor($this->createSingleExecutor($primary, $loop), $this->createSingleExecutor($secondary, $loop)))); } else { // 1 DNS server given => use single executor $nameserver = $primary; } } - return new \RectorPrefix20220519\React\Dns\Query\CoopExecutor(new \RectorPrefix20220519\React\Dns\Query\RetryExecutor($this->createSingleExecutor($nameserver, $loop))); + return new \RectorPrefix20220520\React\Dns\Query\CoopExecutor(new \RectorPrefix20220520\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, \RectorPrefix20220519\React\EventLoop\LoopInterface $loop) + private function createSingleExecutor($nameserver, \RectorPrefix20220520\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 \RectorPrefix20220519\React\Dns\Query\SelectiveTransportExecutor($this->createUdpExecutor($nameserver, $loop), $this->createTcpExecutor($nameserver, $loop)); + $executor = new \RectorPrefix20220520\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, \RectorPrefix20220519\React\EventLoop\LoopInterface $loop) + private function createTcpExecutor($nameserver, \RectorPrefix20220520\React\EventLoop\LoopInterface $loop) { - return new \RectorPrefix20220519\React\Dns\Query\TimeoutExecutor(new \RectorPrefix20220519\React\Dns\Query\TcpTransportExecutor($nameserver, $loop), 5.0, $loop); + return new \RectorPrefix20220520\React\Dns\Query\TimeoutExecutor(new \RectorPrefix20220520\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, \RectorPrefix20220519\React\EventLoop\LoopInterface $loop) + private function createUdpExecutor($nameserver, \RectorPrefix20220520\React\EventLoop\LoopInterface $loop) { - return new \RectorPrefix20220519\React\Dns\Query\TimeoutExecutor(new \RectorPrefix20220519\React\Dns\Query\UdpTransportExecutor($nameserver, $loop), 5.0, $loop); + return new \RectorPrefix20220520\React\Dns\Query\TimeoutExecutor(new \RectorPrefix20220520\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 32fe7072e29..54911bc8856 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, \RectorPrefix20220519\React\Dns\Model\Message::TYPE_A)->then(function (array $ips) { + return $this->resolveAll($domain, \RectorPrefix20220520\React\Dns\Model\Message::TYPE_A)->then(function (array $ips) { return $ips[\array_rand($ips)]; }); } public function resolveAll($domain, $type) { - $query = new \RectorPrefix20220519\React\Dns\Query\Query($domain, $type, \RectorPrefix20220519\React\Dns\Model\Message::CLASS_IN); + $query = new \RectorPrefix20220520\React\Dns\Query\Query($domain, $type, \RectorPrefix20220520\React\Dns\Model\Message::CLASS_IN); $that = $this; - return $this->executor->query($query)->then(function (\RectorPrefix20220519\React\Dns\Model\Message $response) use($query, $that) { + return $this->executor->query($query)->then(function (\RectorPrefix20220520\React\Dns\Model\Message $response) use($query, $that) { return $that->extractValues($query, $response); }); } @@ -39,37 +39,37 @@ final class Resolver implements \RectorPrefix20220519\React\Dns\Resolver\Resolve * @throws RecordNotFoundException when response indicates an error or contains no data * @internal */ - public function extractValues(\RectorPrefix20220519\React\Dns\Query\Query $query, \RectorPrefix20220519\React\Dns\Model\Message $response) + public function extractValues(\RectorPrefix20220520\React\Dns\Query\Query $query, \RectorPrefix20220520\React\Dns\Model\Message $response) { // reject if response code indicates this is an error response message $code = $response->rcode; - if ($code !== \RectorPrefix20220519\React\Dns\Model\Message::RCODE_OK) { + if ($code !== \RectorPrefix20220520\React\Dns\Model\Message::RCODE_OK) { switch ($code) { - case \RectorPrefix20220519\React\Dns\Model\Message::RCODE_FORMAT_ERROR: + case \RectorPrefix20220520\React\Dns\Model\Message::RCODE_FORMAT_ERROR: $message = 'Format Error'; break; - case \RectorPrefix20220519\React\Dns\Model\Message::RCODE_SERVER_FAILURE: + case \RectorPrefix20220520\React\Dns\Model\Message::RCODE_SERVER_FAILURE: $message = 'Server Failure'; break; - case \RectorPrefix20220519\React\Dns\Model\Message::RCODE_NAME_ERROR: + case \RectorPrefix20220520\React\Dns\Model\Message::RCODE_NAME_ERROR: $message = 'Non-Existent Domain / NXDOMAIN'; break; - case \RectorPrefix20220519\React\Dns\Model\Message::RCODE_NOT_IMPLEMENTED: + case \RectorPrefix20220520\React\Dns\Model\Message::RCODE_NOT_IMPLEMENTED: $message = 'Not Implemented'; break; - case \RectorPrefix20220519\React\Dns\Model\Message::RCODE_REFUSED: + case \RectorPrefix20220520\React\Dns\Model\Message::RCODE_REFUSED: $message = 'Refused'; break; default: $message = 'Unknown error response code ' . $code; } - throw new \RectorPrefix20220519\React\Dns\RecordNotFoundException('DNS query for ' . $query->describe() . ' returned an error response (' . $message . ')', $code); + throw new \RectorPrefix20220520\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 \RectorPrefix20220519\React\Dns\RecordNotFoundException('DNS query for ' . $query->describe() . ' did not return a valid answer (NOERROR / NODATA)'); + throw new \RectorPrefix20220520\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 \RectorPrefix20220519\React\Dns\Resolver\Resolve return $this->mapRecordData($records); } // no matching records found? check if there are any matching CNAMEs instead - $cnameRecords = $this->filterByType($named, \RectorPrefix20220519\React\Dns\Model\Message::TYPE_CNAME); + $cnameRecords = $this->filterByType($named, \RectorPrefix20220520\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 db080e1dd41..e8abe9fff93 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 \RectorPrefix20220519\React\EventLoop\Tick\FutureTickQueue(); + $this->futureTickQueue = new \RectorPrefix20220520\React\EventLoop\Tick\FutureTickQueue(); $this->timers = new \SplObjectStorage(); - $this->signals = new \RectorPrefix20220519\React\EventLoop\SignalsHandler(); + $this->signals = new \RectorPrefix20220520\React\EventLoop\SignalsHandler(); } public function addReadStream($stream, $listener) { @@ -113,7 +113,7 @@ class ExtEvLoop implements \RectorPrefix20220519\React\EventLoop\LoopInterface } public function addTimer($interval, $callback) { - $timer = new \RectorPrefix20220519\React\EventLoop\Timer\Timer($interval, $callback, \false); + $timer = new \RectorPrefix20220520\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 \RectorPrefix20220519\React\EventLoop\LoopInterface } public function addPeriodicTimer($interval, $callback) { - $timer = new \RectorPrefix20220519\React\EventLoop\Timer\Timer($interval, $callback, \true); + $timer = new \RectorPrefix20220520\React\EventLoop\Timer\Timer($interval, $callback, \true); $callback = function () use($timer) { \call_user_func($timer->getCallback(), $timer); }; @@ -136,7 +136,7 @@ class ExtEvLoop implements \RectorPrefix20220519\React\EventLoop\LoopInterface $this->timers->attach($timer, $event); return $timer; } - public function cancelTimer(\RectorPrefix20220519\React\EventLoop\TimerInterface $timer) + public function cancelTimer(\RectorPrefix20220520\React\EventLoop\TimerInterface $timer) { if (!isset($this->timers[$timer])) { return; diff --git a/vendor/react/event-loop/src/ExtEventLoop.php b/vendor/react/event-loop/src/ExtEventLoop.php index ae29d4ae6f3..ef68de4b1bf 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 \RectorPrefix20220519\React\EventLoop\Tick\FutureTickQueue(); + $this->futureTickQueue = new \RectorPrefix20220520\React\EventLoop\Tick\FutureTickQueue(); $this->timerEvents = new \SplObjectStorage(); - $this->signals = new \RectorPrefix20220519\React\EventLoop\SignalsHandler(); + $this->signals = new \RectorPrefix20220520\React\EventLoop\SignalsHandler(); $this->createTimerCallback(); $this->createStreamCallback(); } @@ -113,17 +113,17 @@ final class ExtEventLoop implements \RectorPrefix20220519\React\EventLoop\LoopIn } public function addTimer($interval, $callback) { - $timer = new \RectorPrefix20220519\React\EventLoop\Timer\Timer($interval, $callback, \false); + $timer = new \RectorPrefix20220520\React\EventLoop\Timer\Timer($interval, $callback, \false); $this->scheduleTimer($timer); return $timer; } public function addPeriodicTimer($interval, $callback) { - $timer = new \RectorPrefix20220519\React\EventLoop\Timer\Timer($interval, $callback, \true); + $timer = new \RectorPrefix20220520\React\EventLoop\Timer\Timer($interval, $callback, \true); $this->scheduleTimer($timer); return $timer; } - public function cancelTimer(\RectorPrefix20220519\React\EventLoop\TimerInterface $timer) + public function cancelTimer(\RectorPrefix20220520\React\EventLoop\TimerInterface $timer) { if ($this->timerEvents->contains($timer)) { $this->timerEvents[$timer]->free(); @@ -173,7 +173,7 @@ final class ExtEventLoop implements \RectorPrefix20220519\React\EventLoop\LoopIn * * @param TimerInterface $timer */ - private function scheduleTimer(\RectorPrefix20220519\React\EventLoop\TimerInterface $timer) + private function scheduleTimer(\RectorPrefix20220520\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 fe7169d05d3..a8828deab50 100644 --- a/vendor/react/event-loop/src/ExtLibevLoop.php +++ b/vendor/react/event-loop/src/ExtLibevLoop.php @@ -1,14 +1,14 @@ loop = new \RectorPrefix20220519\libev\EventLoop(); - $this->futureTickQueue = new \RectorPrefix20220519\React\EventLoop\Tick\FutureTickQueue(); + $this->loop = new \RectorPrefix20220520\libev\EventLoop(); + $this->futureTickQueue = new \RectorPrefix20220520\React\EventLoop\Tick\FutureTickQueue(); $this->timerEvents = new \SplObjectStorage(); - $this->signals = new \RectorPrefix20220519\React\EventLoop\SignalsHandler(); + $this->signals = new \RectorPrefix20220520\React\EventLoop\SignalsHandler(); } public function addReadStream($stream, $listener) { @@ -53,7 +53,7 @@ final class ExtLibevLoop implements \RectorPrefix20220519\React\EventLoop\LoopIn $callback = function () use($stream, $listener) { \call_user_func($listener, $stream); }; - $event = new \RectorPrefix20220519\libev\IOEvent($callback, $stream, \RectorPrefix20220519\libev\IOEvent::READ); + $event = new \RectorPrefix20220520\libev\IOEvent($callback, $stream, \RectorPrefix20220520\libev\IOEvent::READ); $this->loop->add($event); $this->readEvents[(int) $stream] = $event; } @@ -65,7 +65,7 @@ final class ExtLibevLoop implements \RectorPrefix20220519\React\EventLoop\LoopIn $callback = function () use($stream, $listener) { \call_user_func($listener, $stream); }; - $event = new \RectorPrefix20220519\libev\IOEvent($callback, $stream, \RectorPrefix20220519\libev\IOEvent::WRITE); + $event = new \RectorPrefix20220520\libev\IOEvent($callback, $stream, \RectorPrefix20220520\libev\IOEvent::WRITE); $this->loop->add($event); $this->writeEvents[(int) $stream] = $event; } @@ -89,7 +89,7 @@ final class ExtLibevLoop implements \RectorPrefix20220519\React\EventLoop\LoopIn } public function addTimer($interval, $callback) { - $timer = new \RectorPrefix20220519\React\EventLoop\Timer\Timer($interval, $callback, \false); + $timer = new \RectorPrefix20220520\React\EventLoop\Timer\Timer($interval, $callback, \false); $that = $this; $timers = $this->timerEvents; $callback = function () use($timer, $timers, $that) { @@ -98,23 +98,23 @@ final class ExtLibevLoop implements \RectorPrefix20220519\React\EventLoop\LoopIn $that->cancelTimer($timer); } }; - $event = new \RectorPrefix20220519\libev\TimerEvent($callback, $timer->getInterval()); + $event = new \RectorPrefix20220520\libev\TimerEvent($callback, $timer->getInterval()); $this->timerEvents->attach($timer, $event); $this->loop->add($event); return $timer; } public function addPeriodicTimer($interval, $callback) { - $timer = new \RectorPrefix20220519\React\EventLoop\Timer\Timer($interval, $callback, \true); + $timer = new \RectorPrefix20220520\React\EventLoop\Timer\Timer($interval, $callback, \true); $callback = function () use($timer) { \call_user_func($timer->getCallback(), $timer); }; - $event = new \RectorPrefix20220519\libev\TimerEvent($callback, $timer->getInterval(), $timer->getInterval()); + $event = new \RectorPrefix20220520\libev\TimerEvent($callback, $timer->getInterval(), $timer->getInterval()); $this->timerEvents->attach($timer, $event); $this->loop->add($event); return $timer; } - public function cancelTimer(\RectorPrefix20220519\React\EventLoop\TimerInterface $timer) + public function cancelTimer(\RectorPrefix20220520\React\EventLoop\TimerInterface $timer) { if (isset($this->timerEvents[$timer])) { $this->loop->remove($this->timerEvents[$timer]); @@ -130,7 +130,7 @@ final class ExtLibevLoop implements \RectorPrefix20220519\React\EventLoop\LoopIn $this->signals->add($signal, $listener); if (!isset($this->signalEvents[$signal])) { $signals = $this->signals; - $this->signalEvents[$signal] = new \RectorPrefix20220519\libev\SignalEvent(function () use($signals, $signal) { + $this->signalEvents[$signal] = new \RectorPrefix20220520\libev\SignalEvent(function () use($signals, $signal) { $signals->call($signal); }, $signal); $this->loop->add($this->signalEvents[$signal]); @@ -150,9 +150,9 @@ final class ExtLibevLoop implements \RectorPrefix20220519\React\EventLoop\LoopIn $this->running = \true; while ($this->running) { $this->futureTickQueue->tick(); - $flags = \RectorPrefix20220519\libev\EventLoop::RUN_ONCE; + $flags = \RectorPrefix20220520\libev\EventLoop::RUN_ONCE; if (!$this->running || !$this->futureTickQueue->isEmpty()) { - $flags |= \RectorPrefix20220519\libev\EventLoop::RUN_NOWAIT; + $flags |= \RectorPrefix20220520\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 db3b05b23a2..ad2d8b146b2 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 \RectorPrefix20220519\React\EventLoop\Tick\FutureTickQueue(); + $this->futureTickQueue = new \RectorPrefix20220520\React\EventLoop\Tick\FutureTickQueue(); $this->timerEvents = new \SplObjectStorage(); - $this->signals = new \RectorPrefix20220519\React\EventLoop\SignalsHandler(); + $this->signals = new \RectorPrefix20220520\React\EventLoop\SignalsHandler(); $this->createTimerCallback(); $this->createStreamCallback(); } @@ -110,17 +110,17 @@ final class ExtLibeventLoop implements \RectorPrefix20220519\React\EventLoop\Loo } public function addTimer($interval, $callback) { - $timer = new \RectorPrefix20220519\React\EventLoop\Timer\Timer($interval, $callback, \false); + $timer = new \RectorPrefix20220520\React\EventLoop\Timer\Timer($interval, $callback, \false); $this->scheduleTimer($timer); return $timer; } public function addPeriodicTimer($interval, $callback) { - $timer = new \RectorPrefix20220519\React\EventLoop\Timer\Timer($interval, $callback, \true); + $timer = new \RectorPrefix20220520\React\EventLoop\Timer\Timer($interval, $callback, \true); $this->scheduleTimer($timer); return $timer; } - public function cancelTimer(\RectorPrefix20220519\React\EventLoop\TimerInterface $timer) + public function cancelTimer(\RectorPrefix20220520\React\EventLoop\TimerInterface $timer) { if ($this->timerEvents->contains($timer)) { $event = $this->timerEvents[$timer]; @@ -175,7 +175,7 @@ final class ExtLibeventLoop implements \RectorPrefix20220519\React\EventLoop\Loo * * @param TimerInterface $timer */ - private function scheduleTimer(\RectorPrefix20220519\React\EventLoop\TimerInterface $timer) + private function scheduleTimer(\RectorPrefix20220520\React\EventLoop\TimerInterface $timer) { $this->timerEvents[$timer] = $event = \event_timer_new(); \event_timer_set($event, $this->timerCallback, $timer); @@ -201,7 +201,7 @@ final class ExtLibeventLoop implements \RectorPrefix20220519\React\EventLoop\Loo } // Reschedule periodic timers ... if ($timer->isPeriodic()) { - \event_add($timers[$timer], $timer->getInterval() * \RectorPrefix20220519\React\EventLoop\ExtLibeventLoop::MICROSECONDS_PER_SECOND); + \event_add($timers[$timer], $timer->getInterval() * \RectorPrefix20220520\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 85362422825..a975718e0a2 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 \RectorPrefix20220519\React\EventLoop\Tick\FutureTickQueue(); + $this->futureTickQueue = new \RectorPrefix20220520\React\EventLoop\Tick\FutureTickQueue(); $this->timers = new \SplObjectStorage(); $this->streamListener = $this->createStreamListener(); - $this->signals = new \RectorPrefix20220519\React\EventLoop\SignalsHandler(); + $this->signals = new \RectorPrefix20220520\React\EventLoop\SignalsHandler(); } /** * Returns the underlying ext-uv event loop. (Internal ReactPHP use only.) @@ -99,7 +99,7 @@ final class ExtUvLoop implements \RectorPrefix20220519\React\EventLoop\LoopInter */ public function addTimer($interval, $callback) { - $timer = new \RectorPrefix20220519\React\EventLoop\Timer\Timer($interval, $callback, \false); + $timer = new \RectorPrefix20220520\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 \RectorPrefix20220519\React\EventLoop\LoopInter */ public function addPeriodicTimer($interval, $callback) { - $timer = new \RectorPrefix20220519\React\EventLoop\Timer\Timer($interval, $callback, \true); + $timer = new \RectorPrefix20220520\React\EventLoop\Timer\Timer($interval, $callback, \true); $callback = function () use($timer) { \call_user_func($timer->getCallback(), $timer); }; @@ -131,7 +131,7 @@ final class ExtUvLoop implements \RectorPrefix20220519\React\EventLoop\LoopInter /** * {@inheritdoc} */ - public function cancelTimer(\RectorPrefix20220519\React\EventLoop\TimerInterface $timer) + public function cancelTimer(\RectorPrefix20220520\React\EventLoop\TimerInterface $timer) { if (isset($this->timers[$timer])) { @\uv_timer_stop($this->timers[$timer]); @@ -150,8 +150,8 @@ final class ExtUvLoop implements \RectorPrefix20220519\React\EventLoop\LoopInter $this->signals->add($signal, $listener); if (!isset($this->signalEvents[$signal])) { $signals = $this->signals; - $this->signalEvents[$signal] = \RectorPrefix20220519\uv_signal_init($this->uv); - \RectorPrefix20220519\uv_signal_start($this->signalEvents[$signal], function () use($signals, $signal) { + $this->signalEvents[$signal] = \RectorPrefix20220520\uv_signal_init($this->uv); + \RectorPrefix20220520\uv_signal_start($this->signalEvents[$signal], function () use($signals, $signal) { $signals->call($signal); }, $signal); } @@ -197,7 +197,7 @@ final class ExtUvLoop implements \RectorPrefix20220519\React\EventLoop\LoopInter private function addStream($stream) { if (!isset($this->streamEvents[(int) $stream])) { - $this->streamEvents[(int) $stream] = \RectorPrefix20220519\uv_poll_init_socket($this->uv, $stream); + $this->streamEvents[(int) $stream] = \RectorPrefix20220520\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 dc985c61d0a..1cc26eec276 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 7a68db8927f..faa0b1965c3 100644 --- a/vendor/react/event-loop/src/LoopInterface.php +++ b/vendor/react/event-loop/src/LoopInterface.php @@ -1,6 +1,6 @@ futureTickQueue = new \RectorPrefix20220519\React\EventLoop\Tick\FutureTickQueue(); - $this->timers = new \RectorPrefix20220519\React\EventLoop\Timer\Timers(); + $this->futureTickQueue = new \RectorPrefix20220520\React\EventLoop\Tick\FutureTickQueue(); + $this->timers = new \RectorPrefix20220520\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 \RectorPrefix20220519\React\EventLoop\SignalsHandler(); + $this->signals = new \RectorPrefix20220520\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); @@ -103,17 +103,17 @@ final class StreamSelectLoop implements \RectorPrefix20220519\React\EventLoop\Lo } public function addTimer($interval, $callback) { - $timer = new \RectorPrefix20220519\React\EventLoop\Timer\Timer($interval, $callback, \false); + $timer = new \RectorPrefix20220520\React\EventLoop\Timer\Timer($interval, $callback, \false); $this->timers->add($timer); return $timer; } public function addPeriodicTimer($interval, $callback) { - $timer = new \RectorPrefix20220519\React\EventLoop\Timer\Timer($interval, $callback, \true); + $timer = new \RectorPrefix20220520\React\EventLoop\Timer\Timer($interval, $callback, \true); $this->timers->add($timer); return $timer; } - public function cancelTimer(\RectorPrefix20220519\React\EventLoop\TimerInterface $timer) + public function cancelTimer(\RectorPrefix20220520\React\EventLoop\TimerInterface $timer) { $this->timers->cancel($timer); } diff --git a/vendor/react/event-loop/src/Tick/FutureTickQueue.php b/vendor/react/event-loop/src/Tick/FutureTickQueue.php index 61a4b4571cc..2217237136d 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(\RectorPrefix20220519\React\EventLoop\TimerInterface $timer) + public function add(\RectorPrefix20220520\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(\RectorPrefix20220519\React\EventLoop\TimerInterface $timer) + public function contains(\RectorPrefix20220520\React\EventLoop\TimerInterface $timer) { return isset($this->timers[\spl_object_hash($timer)]); } - public function cancel(\RectorPrefix20220519\React\EventLoop\TimerInterface $timer) + public function cancel(\RectorPrefix20220520\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 1925dba2e95..00881e20641 100644 --- a/vendor/react/event-loop/src/TimerInterface.php +++ b/vendor/react/event-loop/src/TimerInterface.php @@ -1,6 +1,6 @@ */ -function timeout(\RectorPrefix20220519\React\Promise\PromiseInterface $promise, $time, \RectorPrefix20220519\React\EventLoop\LoopInterface $loop = null) +function timeout(\RectorPrefix20220520\React\Promise\PromiseInterface $promise, $time, \RectorPrefix20220520\React\EventLoop\LoopInterface $loop = null) { // cancelling this promise will only try to cancel the input promise, // thus leaving responsibility to the input promise. $canceller = null; - if ($promise instanceof \RectorPrefix20220519\React\Promise\CancellablePromiseInterface || !\interface_exists('RectorPrefix20220519\\React\\Promise\\CancellablePromiseInterface') && \method_exists($promise, 'cancel')) { + if ($promise instanceof \RectorPrefix20220520\React\Promise\CancellablePromiseInterface || !\interface_exists('RectorPrefix20220520\\React\\Promise\\CancellablePromiseInterface') && \method_exists($promise, 'cancel')) { // pass promise by reference to clean reference after cancellation handler // has been invoked once in order to avoid garbage references in call stack. $canceller = function () use(&$promise) { @@ -152,9 +152,9 @@ function timeout(\RectorPrefix20220519\React\Promise\PromiseInterface $promise, }; } if ($loop === null) { - $loop = \RectorPrefix20220519\React\EventLoop\Loop::get(); + $loop = \RectorPrefix20220520\React\EventLoop\Loop::get(); } - return new \RectorPrefix20220519\React\Promise\Promise(function ($resolve, $reject) use($loop, $time, $promise) { + return new \RectorPrefix20220520\React\Promise\Promise(function ($resolve, $reject) use($loop, $time, $promise) { $timer = null; $promise = $promise->then(function ($v) use(&$timer, $loop, $resolve) { if ($timer) { @@ -175,10 +175,10 @@ function timeout(\RectorPrefix20220519\React\Promise\PromiseInterface $promise, } // start timeout timer which will cancel the input promise $timer = $loop->addTimer($time, function () use($time, &$promise, $reject) { - $reject(new \RectorPrefix20220519\React\Promise\Timer\TimeoutException($time, 'Timed out after ' . $time . ' seconds')); + $reject(new \RectorPrefix20220520\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 \RectorPrefix20220519\React\Promise\CancellablePromiseInterface || !\interface_exists('RectorPrefix20220519\\React\\Promise\\CancellablePromiseInterface') && \method_exists($promise, 'cancel')) { + if ($promise instanceof \RectorPrefix20220520\React\Promise\CancellablePromiseInterface || !\interface_exists('RectorPrefix20220520\\React\\Promise\\CancellablePromiseInterface') && \method_exists($promise, 'cancel')) { $promise->cancel(); } $promise = null; @@ -219,13 +219,13 @@ function timeout(\RectorPrefix20220519\React\Promise\PromiseInterface $promise, * @param ?LoopInterface $loop * @return PromiseInterface */ -function sleep($time, \RectorPrefix20220519\React\EventLoop\LoopInterface $loop = null) +function sleep($time, \RectorPrefix20220520\React\EventLoop\LoopInterface $loop = null) { if ($loop === null) { - $loop = \RectorPrefix20220519\React\EventLoop\Loop::get(); + $loop = \RectorPrefix20220520\React\EventLoop\Loop::get(); } $timer = null; - return new \RectorPrefix20220519\React\Promise\Promise(function ($resolve) use($loop, $time, &$timer) { + return new \RectorPrefix20220520\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($resolve) { $resolve(); @@ -274,7 +274,7 @@ function sleep($time, \RectorPrefix20220519\React\EventLoop\LoopInterface $loop * @deprecated 1.8.0 See `sleep()` instead * @see sleep() */ -function resolve($time, \RectorPrefix20220519\React\EventLoop\LoopInterface $loop = null) +function resolve($time, \RectorPrefix20220520\React\EventLoop\LoopInterface $loop = null) { return \sleep($time, $loop)->then(function () use($time) { return $time; @@ -316,9 +316,9 @@ function resolve($time, \RectorPrefix20220519\React\EventLoop\LoopInterface $loo * @deprecated 1.8.0 See `sleep()` instead * @see sleep() */ -function reject($time, \RectorPrefix20220519\React\EventLoop\LoopInterface $loop = null) +function reject($time, \RectorPrefix20220520\React\EventLoop\LoopInterface $loop = null) { return \sleep($time, $loop)->then(function () use($time) { - throw new \RectorPrefix20220519\React\Promise\Timer\TimeoutException($time, 'Timer expired after ' . $time . ' seconds'); + throw new \RectorPrefix20220520\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 e2860b9235f..249634ac7d9 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 \RectorPrefix20220519\React\Promise\Promise(function ($resolve, $reject, $notify) { + $this->promise = new \RectorPrefix20220520\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 b2fe5d9f4b8..ba0a0320c73 100644 --- a/vendor/react/promise/src/Exception/LengthException.php +++ b/vendor/react/promise/src/Exception/LengthException.php @@ -1,6 +1,6 @@ value = $value; @@ -23,9 +23,9 @@ class FulfilledPromise implements \RectorPrefix20220519\React\Promise\ExtendedPr try { return resolve($onFulfilled($this->value)); } catch (\Throwable $exception) { - return new \RectorPrefix20220519\React\Promise\RejectedPromise($exception); + return new \RectorPrefix20220520\React\Promise\RejectedPromise($exception); } catch (\Exception $exception) { - return new \RectorPrefix20220519\React\Promise\RejectedPromise($exception); + return new \RectorPrefix20220520\React\Promise\RejectedPromise($exception); } } public function done(callable $onFulfilled = null, callable $onRejected = null, callable $onProgress = null) @@ -34,7 +34,7 @@ class FulfilledPromise implements \RectorPrefix20220519\React\Promise\ExtendedPr return; } $result = $onFulfilled($this->value); - if ($result instanceof \RectorPrefix20220519\React\Promise\ExtendedPromiseInterface) { + if ($result instanceof \RectorPrefix20220520\React\Promise\ExtendedPromiseInterface) { $result->done(); } } diff --git a/vendor/react/promise/src/LazyPromise.php b/vendor/react/promise/src/LazyPromise.php index 2ddf177f859..0b03efc9efd 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 \RectorPrefix20220519\React\Promise\RejectedPromise($exception); + $this->promise = new \RectorPrefix20220520\React\Promise\RejectedPromise($exception); } catch (\Exception $exception) { - $this->promise = new \RectorPrefix20220519\React\Promise\RejectedPromise($exception); + $this->promise = new \RectorPrefix20220520\React\Promise\RejectedPromise($exception); } } return $this->promise; diff --git a/vendor/react/promise/src/Promise.php b/vendor/react/promise/src/Promise.php index 5b13439d02d..812c07acd00 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 (\RectorPrefix20220519\React\Promise\ExtendedPromiseInterface $promise) use($onFulfilled, $onRejected) { + $this->handlers[] = static function (\RectorPrefix20220520\React\Promise\ExtendedPromiseInterface $promise) use($onFulfilled, $onRejected) { $promise->done($onFulfilled, $onRejected); }; if ($onProgress) { @@ -58,7 +58,7 @@ class Promise implements \RectorPrefix20220519\React\Promise\ExtendedPromiseInte { return $this->then(null, static function ($reason) use($onRejected) { if (!_checkTypehint($onRejected, $reason)) { - return new \RectorPrefix20220519\React\Promise\RejectedPromise($reason); + return new \RectorPrefix20220520\React\Promise\RejectedPromise($reason); } return $onRejected($reason); }); @@ -71,7 +71,7 @@ class Promise implements \RectorPrefix20220519\React\Promise\ExtendedPromiseInte }); }, static function ($reason) use($onFulfilledOrRejected) { return resolve($onFulfilledOrRejected())->then(function () use($reason) { - return new \RectorPrefix20220519\React\Promise\RejectedPromise($reason); + return new \RectorPrefix20220520\React\Promise\RejectedPromise($reason); }); }); } @@ -104,7 +104,7 @@ class Promise implements \RectorPrefix20220519\React\Promise\ExtendedPromiseInte } else { $progressHandler = $notify; } - $this->handlers[] = static function (\RectorPrefix20220519\React\Promise\ExtendedPromiseInterface $promise) use($onFulfilled, $onRejected, $resolve, $reject, $progressHandler) { + $this->handlers[] = static function (\RectorPrefix20220520\React\Promise\ExtendedPromiseInterface $promise) use($onFulfilled, $onRejected, $resolve, $reject, $progressHandler) { $promise->then($onFulfilled, $onRejected)->done($resolve, $reject, $progressHandler); }; $this->progressHandlers[] = $progressHandler; @@ -117,11 +117,11 @@ class Promise implements \RectorPrefix20220519\React\Promise\ExtendedPromiseInte } $this->settle(reject($reason)); } - private function settle(\RectorPrefix20220519\React\Promise\ExtendedPromiseInterface $promise) + private function settle(\RectorPrefix20220520\React\Promise\ExtendedPromiseInterface $promise) { $promise = $this->unwrap($promise); if ($promise === $this) { - $promise = new \RectorPrefix20220519\React\Promise\RejectedPromise(new \LogicException('Cannot resolve a promise with itself.')); + $promise = new \RectorPrefix20220520\React\Promise\RejectedPromise(new \LogicException('Cannot resolve a promise with itself.')); } $handlers = $this->handlers; $this->progressHandlers = $this->handlers = []; @@ -141,7 +141,7 @@ class Promise implements \RectorPrefix20220519\React\Promise\ExtendedPromiseInte } private function extract($promise) { - if ($promise instanceof \RectorPrefix20220519\React\Promise\LazyPromise) { + if ($promise instanceof \RectorPrefix20220520\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 491f4bd0a65..81a6bff484e 100644 --- a/vendor/react/promise/src/PromiseInterface.php +++ b/vendor/react/promise/src/PromiseInterface.php @@ -1,6 +1,6 @@ reason = $reason; @@ -23,21 +23,21 @@ class RejectedPromise implements \RectorPrefix20220519\React\Promise\ExtendedPro try { return resolve($onRejected($this->reason)); } catch (\Throwable $exception) { - return new \RectorPrefix20220519\React\Promise\RejectedPromise($exception); + return new \RectorPrefix20220520\React\Promise\RejectedPromise($exception); } catch (\Exception $exception) { - return new \RectorPrefix20220519\React\Promise\RejectedPromise($exception); + return new \RectorPrefix20220520\React\Promise\RejectedPromise($exception); } } public function done(callable $onFulfilled = null, callable $onRejected = null, callable $onProgress = null) { if (null === $onRejected) { - throw \RectorPrefix20220519\React\Promise\UnhandledRejectionException::resolve($this->reason); + throw \RectorPrefix20220520\React\Promise\UnhandledRejectionException::resolve($this->reason); } $result = $onRejected($this->reason); if ($result instanceof self) { - throw \RectorPrefix20220519\React\Promise\UnhandledRejectionException::resolve($result->reason); + throw \RectorPrefix20220520\React\Promise\UnhandledRejectionException::resolve($result->reason); } - if ($result instanceof \RectorPrefix20220519\React\Promise\ExtendedPromiseInterface) { + if ($result instanceof \RectorPrefix20220520\React\Promise\ExtendedPromiseInterface) { $result->done(); } } @@ -52,7 +52,7 @@ class RejectedPromise implements \RectorPrefix20220519\React\Promise\ExtendedPro { return $this->then(null, function ($reason) use($onFulfilledOrRejected) { return resolve($onFulfilledOrRejected())->then(function () use($reason) { - return new \RectorPrefix20220519\React\Promise\RejectedPromise($reason); + return new \RectorPrefix20220520\React\Promise\RejectedPromise($reason); }); }); } diff --git a/vendor/react/promise/src/UnhandledRejectionException.php b/vendor/react/promise/src/UnhandledRejectionException.php index 0ff1721d31a..e6265155f7a 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 \RectorPrefix20220519\React\Promise\FulfilledPromise($promiseOrValue); + return new \RectorPrefix20220520\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 \RectorPrefix20220519\React\Promise\PromiseInterface) { + if ($promiseOrValue instanceof \RectorPrefix20220520\React\Promise\PromiseInterface) { return resolve($promiseOrValue)->then(function ($value) { - return new \RectorPrefix20220519\React\Promise\RejectedPromise($value); + return new \RectorPrefix20220520\React\Promise\RejectedPromise($value); }); } - return new \RectorPrefix20220519\React\Promise\RejectedPromise($promiseOrValue); + return new \RectorPrefix20220520\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 \RectorPrefix20220519\React\Promise\CancellationQueue(); + $cancellationQueue = new \RectorPrefix20220520\React\Promise\CancellationQueue(); $cancellationQueue->enqueue($promisesOrValues); - return new \RectorPrefix20220519\React\Promise\Promise(function ($resolve, $reject, $notify) use($promisesOrValues, $cancellationQueue) { + return new \RectorPrefix20220520\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 \RectorPrefix20220519\React\Promise\CancellationQueue(); + $cancellationQueue = new \RectorPrefix20220520\React\Promise\CancellationQueue(); $cancellationQueue->enqueue($promisesOrValues); - return new \RectorPrefix20220519\React\Promise\Promise(function ($resolve, $reject, $notify) use($promisesOrValues, $howMany, $cancellationQueue) { + return new \RectorPrefix20220520\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 \RectorPrefix20220519\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 \RectorPrefix20220520\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 \RectorPrefix20220519\React\Promise\CancellationQueue(); + $cancellationQueue = new \RectorPrefix20220520\React\Promise\CancellationQueue(); $cancellationQueue->enqueue($promisesOrValues); - return new \RectorPrefix20220519\React\Promise\Promise(function ($resolve, $reject, $notify) use($promisesOrValues, $mapFunc, $cancellationQueue) { + return new \RectorPrefix20220520\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 \RectorPrefix20220519\React\Promise\CancellationQueue(); + $cancellationQueue = new \RectorPrefix20220520\React\Promise\CancellationQueue(); $cancellationQueue->enqueue($promisesOrValues); - return new \RectorPrefix20220519\React\Promise\Promise(function ($resolve, $reject, $notify) use($promisesOrValues, $reduceFunc, $initialValue, $cancellationQueue) { + return new \RectorPrefix20220520\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 = []; @@ -292,7 +292,7 @@ function _checkTypehint(callable $callback, $object) case $type instanceof \ReflectionNamedType: $types = [$type]; break; - case $type instanceof \RectorPrefix20220519\ReflectionIntersectionType: + case $type instanceof \RectorPrefix20220520\ReflectionIntersectionType: $isTypeUnion = \false; case $type instanceof \ReflectionUnionType: $types = $type->getTypes(); diff --git a/vendor/react/promise/src/functions_include.php b/vendor/react/promise/src/functions_include.php index 74a53e07ffd..a232847b034 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 \RectorPrefix20220519\React\Stream\DuplexResourceStream($resource, $loop, $clearCompleteBuffer ? -1 : null, new \RectorPrefix20220519\React\Stream\WritableResourceStream($resource, $loop, null, $limitWriteChunks ? 8192 : null)); + $this->input = new \RectorPrefix20220520\React\Stream\DuplexResourceStream($resource, $loop, $clearCompleteBuffer ? -1 : null, new \RectorPrefix20220520\React\Stream\WritableResourceStream($resource, $loop, null, $limitWriteChunks ? 8192 : null)); $this->stream = $resource; - \RectorPrefix20220519\React\Stream\Util::forwardEvents($this->input, $this, array('data', 'end', 'error', 'close', 'pipe', 'drain')); + \RectorPrefix20220520\React\Stream\Util::forwardEvents($this->input, $this, array('data', 'end', 'error', 'close', 'pipe', 'drain')); $this->input->on('close', array($this, 'close')); } public function isReadable() @@ -78,7 +78,7 @@ class Connection extends \RectorPrefix20220519\Evenement\EventEmitter implements { $this->input->resume(); } - public function pipe(\RectorPrefix20220519\React\Stream\WritableStreamInterface $dest, array $options = array()) + public function pipe(\RectorPrefix20220520\React\Stream\WritableStreamInterface $dest, array $options = array()) { return $this->input->pipe($dest, $options); } diff --git a/vendor/react/socket/src/ConnectionInterface.php b/vendor/react/socket/src/ConnectionInterface.php index bfa29147988..6c14350fab6 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 \RectorPrefix20220519\React\Dns\Resolver\Factory(); + $factory = new \RectorPrefix20220520\React\Dns\Resolver\Factory(); $resolver = $factory->createCached($config, $loop); } if ($context['happy_eyeballs'] === \true) { - $tcp = new \RectorPrefix20220519\React\Socket\HappyEyeBallsConnector($loop, $tcp, $resolver); + $tcp = new \RectorPrefix20220520\React\Socket\HappyEyeBallsConnector($loop, $tcp, $resolver); } else { - $tcp = new \RectorPrefix20220519\React\Socket\DnsConnector($tcp, $resolver); + $tcp = new \RectorPrefix20220520\React\Socket\DnsConnector($tcp, $resolver); } } if ($context['tcp'] !== \false) { $context['tcp'] = $tcp; if ($context['timeout'] !== \false) { - $context['tcp'] = new \RectorPrefix20220519\React\Socket\TimeoutConnector($context['tcp'], $context['timeout'], $loop); + $context['tcp'] = new \RectorPrefix20220520\React\Socket\TimeoutConnector($context['tcp'], $context['timeout'], $loop); } $this->connectors['tcp'] = $context['tcp']; } if ($context['tls'] !== \false) { - if (!$context['tls'] instanceof \RectorPrefix20220519\React\Socket\ConnectorInterface) { - $context['tls'] = new \RectorPrefix20220519\React\Socket\SecureConnector($tcp, $loop, \is_array($context['tls']) ? $context['tls'] : array()); + if (!$context['tls'] instanceof \RectorPrefix20220520\React\Socket\ConnectorInterface) { + $context['tls'] = new \RectorPrefix20220520\React\Socket\SecureConnector($tcp, $loop, \is_array($context['tls']) ? $context['tls'] : array()); } if ($context['timeout'] !== \false) { - $context['tls'] = new \RectorPrefix20220519\React\Socket\TimeoutConnector($context['tls'], $context['timeout'], $loop); + $context['tls'] = new \RectorPrefix20220520\React\Socket\TimeoutConnector($context['tls'], $context['timeout'], $loop); } $this->connectors['tls'] = $context['tls']; } if ($context['unix'] !== \false) { - if (!$context['unix'] instanceof \RectorPrefix20220519\React\Socket\ConnectorInterface) { - $context['unix'] = new \RectorPrefix20220519\React\Socket\UnixConnector($loop); + if (!$context['unix'] instanceof \RectorPrefix20220520\React\Socket\ConnectorInterface) { + $context['unix'] = new \RectorPrefix20220520\React\Socket\UnixConnector($loop); } $this->connectors['unix'] = $context['unix']; } @@ -125,7 +125,7 @@ final class Connector implements \RectorPrefix20220519\React\Socket\ConnectorInt $scheme = (string) \substr($uri, 0, \strpos($uri, '://')); } if (!isset($this->connectors[$scheme])) { - return \RectorPrefix20220519\React\Promise\reject(new \RuntimeException('No connector available for URI scheme "' . $scheme . '" (EINVAL)', \defined('SOCKET_EINVAL') ? \SOCKET_EINVAL : 22)); + return \RectorPrefix20220520\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 3eaf7c621cd..5decf944c38 100644 --- a/vendor/react/socket/src/ConnectorInterface.php +++ b/vendor/react/socket/src/ConnectorInterface.php @@ -1,6 +1,6 @@ connector = $connector; $this->resolver = $resolver; @@ -27,7 +27,7 @@ final class DnsConnector implements \RectorPrefix20220519\React\Socket\Connector $parts = \parse_url($uri); } if (!$parts || !isset($parts['host'])) { - return \RectorPrefix20220519\React\Promise\reject(new \InvalidArgumentException('Given URI "' . $original . '" is invalid (EINVAL)', \defined('SOCKET_EINVAL') ? \SOCKET_EINVAL : 22)); + return \RectorPrefix20220520\React\Promise\reject(new \InvalidArgumentException('Given URI "' . $original . '" is invalid (EINVAL)', \defined('SOCKET_EINVAL') ? \SOCKET_EINVAL : 22)); } $host = \trim($parts['host'], '[]'); $connector = $this->connector; @@ -37,11 +37,11 @@ final class DnsConnector implements \RectorPrefix20220519\React\Socket\Connector } $promise = $this->resolver->resolve($host); $resolved = null; - return new \RectorPrefix20220519\React\Promise\Promise(function ($resolve, $reject) use(&$promise, &$resolved, $uri, $connector, $host, $parts) { + return new \RectorPrefix20220520\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(\RectorPrefix20220519\React\Socket\Connector::uri($parts, $host, $ip))->then(null, function (\Exception $e) use($uri) { + return $promise = $connector->connect(\RectorPrefix20220520\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); @@ -76,7 +76,7 @@ final class DnsConnector implements \RectorPrefix20220519\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 \RectorPrefix20220519\React\Promise\CancellablePromiseInterface) { + if ($promise instanceof \RectorPrefix20220520\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 6983fe0e17f..ad9e9dbae2b 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 ?: \RectorPrefix20220519\React\EventLoop\Loop::get(); + $this->loop = $loop ?: \RectorPrefix20220520\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 \RectorPrefix20220519\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 . \RectorPrefix20220519\React\Socket\SocketServer::errconst($errno), $errno); + throw new \RuntimeException('Failed to listen on FD ' . $fd . ': ' . $errstr . \RectorPrefix20220520\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 \RectorPrefix20220519\Evenement\EventEmitter implem $that = $this; $this->loop->addReadStream($this->master, function ($master) use($that) { try { - $newSocket = \RectorPrefix20220519\React\Socket\SocketServer::accept($master); + $newSocket = \RectorPrefix20220520\React\Socket\SocketServer::accept($master); } catch (\RuntimeException $e) { $that->emit('error', array($e)); return; @@ -167,7 +167,7 @@ final class FdServer extends \RectorPrefix20220519\Evenement\EventEmitter implem /** @internal */ public function handleConnection($socket) { - $connection = new \RectorPrefix20220519\React\Socket\Connection($socket, $this->loop); + $connection = new \RectorPrefix20220520\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 21a81eb2bca..47630cfcb2a 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 \RectorPrefix20220519\React\Socket\ConnectorInterface +class FixedUriConnector implements \RectorPrefix20220520\React\Socket\ConnectorInterface { private $uri; private $connector; @@ -27,7 +27,7 @@ class FixedUriConnector implements \RectorPrefix20220519\React\Socket\ConnectorI * @param string $uri * @param ConnectorInterface $connector */ - public function __construct($uri, \RectorPrefix20220519\React\Socket\ConnectorInterface $connector) + public function __construct($uri, \RectorPrefix20220520\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 65f9779c7ff..dd131fc1d21 100644 --- a/vendor/react/socket/src/HappyEyeBallsConnectionBuilder.php +++ b/vendor/react/socket/src/HappyEyeBallsConnectionBuilder.php @@ -1,13 +1,13 @@ \false, \RectorPrefix20220519\React\Dns\Model\Message::TYPE_AAAA => \false); + public $resolved = array(\RectorPrefix20220520\React\Dns\Model\Message::TYPE_A => \false, \RectorPrefix20220520\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(\RectorPrefix20220519\React\EventLoop\LoopInterface $loop, \RectorPrefix20220519\React\Socket\ConnectorInterface $connector, \RectorPrefix20220519\React\Dns\Resolver\ResolverInterface $resolver, $uri, $host, $parts) + public function __construct(\RectorPrefix20220520\React\EventLoop\LoopInterface $loop, \RectorPrefix20220520\React\Socket\ConnectorInterface $connector, \RectorPrefix20220520\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 \RectorPrefix20220519\React\Promise\Promise(function ($resolve, $reject) use($that, &$timer) { + return new \RectorPrefix20220520\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[\RectorPrefix20220519\React\Dns\Model\Message::TYPE_AAAA] = $that->resolve(\RectorPrefix20220519\React\Dns\Model\Message::TYPE_AAAA, $reject)->then($lookupResolve(\RectorPrefix20220519\React\Dns\Model\Message::TYPE_AAAA)); - $that->resolverPromises[\RectorPrefix20220519\React\Dns\Model\Message::TYPE_A] = $that->resolve(\RectorPrefix20220519\React\Dns\Model\Message::TYPE_A, $reject)->then(function (array $ips) use($that, &$timer) { + $that->resolverPromises[\RectorPrefix20220520\React\Dns\Model\Message::TYPE_AAAA] = $that->resolve(\RectorPrefix20220520\React\Dns\Model\Message::TYPE_AAAA, $reject)->then($lookupResolve(\RectorPrefix20220520\React\Dns\Model\Message::TYPE_AAAA)); + $that->resolverPromises[\RectorPrefix20220520\React\Dns\Model\Message::TYPE_A] = $that->resolve(\RectorPrefix20220520\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[\RectorPrefix20220519\React\Dns\Model\Message::TYPE_AAAA] === \true || !$ips) { + if ($that->resolved[\RectorPrefix20220520\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 \RectorPrefix20220519\React\Promise\Deferred(); + $deferred = new \RectorPrefix20220520\React\Promise\Deferred(); $timer = $that->loop->addTimer($that::RESOLUTION_DELAY, function () use($deferred, $ips) { $deferred->resolve($ips); }); - $that->resolverPromises[\RectorPrefix20220519\React\Dns\Model\Message::TYPE_AAAA]->then(function () use($that, $timer, $deferred, $ips) { + $that->resolverPromises[\RectorPrefix20220520\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(\RectorPrefix20220519\React\Dns\Model\Message::TYPE_A)); + })->then($lookupResolve(\RectorPrefix20220520\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 \RectorPrefix20220519\React\EventLoop\TimerInterface) { + if ($timer instanceof \RectorPrefix20220520\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 === \RectorPrefix20220519\React\Dns\Model\Message::TYPE_A) { + if ($type === \RectorPrefix20220520\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[\RectorPrefix20220519\React\Dns\Model\Message::TYPE_A] === \false || $this->resolved[\RectorPrefix20220519\React\Dns\Model\Message::TYPE_AAAA] === \false)) { + if ($this->nextAttemptTimer === null && (\count($this->connectQueue) > 0 || $this->resolved[\RectorPrefix20220520\React\Dns\Model\Message::TYPE_A] === \false || $this->resolved[\RectorPrefix20220520\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 = \RectorPrefix20220519\React\Socket\Connector::uri($this->parts, $this->host, $ip); + $uri = \RectorPrefix20220520\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 \RectorPrefix20220519\React\Promise\CancellablePromiseInterface) { + if ($connectionPromise instanceof \RectorPrefix20220520\React\Promise\CancellablePromiseInterface) { $connectionPromise->cancel(); } } foreach ($this->resolverPromises as $resolverPromise) { - if ($resolverPromise instanceof \RectorPrefix20220519\React\Promise\CancellablePromiseInterface) { + if ($resolverPromise instanceof \RectorPrefix20220520\React\Promise\CancellablePromiseInterface) { $resolverPromise->cancel(); } } - if ($this->nextAttemptTimer instanceof \RectorPrefix20220519\React\EventLoop\TimerInterface) { + if ($this->nextAttemptTimer instanceof \RectorPrefix20220520\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 19b31ed1f7c..26444bcdff7 100644 --- a/vendor/react/socket/src/HappyEyeBallsConnector.php +++ b/vendor/react/socket/src/HappyEyeBallsConnector.php @@ -1,17 +1,17 @@ loop = $loop ?: \RectorPrefix20220519\React\EventLoop\Loop::get(); + $this->loop = $loop ?: \RectorPrefix20220520\React\EventLoop\Loop::get(); $this->connector = $connector; $this->resolver = $resolver; } @@ -38,14 +38,14 @@ final class HappyEyeBallsConnector implements \RectorPrefix20220519\React\Socket $parts = \parse_url($uri); } if (!$parts || !isset($parts['host'])) { - return \RectorPrefix20220519\React\Promise\reject(new \InvalidArgumentException('Given URI "' . $original . '" is invalid (EINVAL)', \defined('SOCKET_EINVAL') ? \SOCKET_EINVAL : 22)); + return \RectorPrefix20220520\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 (@\inet_pton($host) !== \false) { return $this->connector->connect($original); } - $builder = new \RectorPrefix20220519\React\Socket\HappyEyeBallsConnectionBuilder($this->loop, $this->connector, $this->resolver, $uri, $host, $parts); + $builder = new \RectorPrefix20220520\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 e69a6c582d9..e20d822ee14 100644 --- a/vendor/react/socket/src/LimitingServer.php +++ b/vendor/react/socket/src/LimitingServer.php @@ -1,8 +1,8 @@ server = $server; $this->limit = $connectionLimit; @@ -141,7 +141,7 @@ class LimitingServer extends \RectorPrefix20220519\Evenement\EventEmitter implem $this->server->close(); } /** @internal */ - public function handleConnection(\RectorPrefix20220519\React\Socket\ConnectionInterface $connection) + public function handleConnection(\RectorPrefix20220520\React\Socket\ConnectionInterface $connection) { // close connection if limit exceeded if ($this->limit !== null && \count($this->connections) >= $this->limit) { @@ -164,7 +164,7 @@ class LimitingServer extends \RectorPrefix20220519\Evenement\EventEmitter implem $this->emit('connection', array($connection)); } /** @internal */ - public function handleDisconnection(\RectorPrefix20220519\React\Socket\ConnectionInterface $connection) + public function handleDisconnection(\RectorPrefix20220520\React\Socket\ConnectionInterface $connection) { unset($this->connections[\array_search($connection, $this->connections)]); // continue accepting new connection if below limit diff --git a/vendor/react/socket/src/SecureConnector.php b/vendor/react/socket/src/SecureConnector.php index 2359475e4fd..6f8b67f43ef 100644 --- a/vendor/react/socket/src/SecureConnector.php +++ b/vendor/react/socket/src/SecureConnector.php @@ -1,28 +1,28 @@ connector = $connector; - $this->streamEncryption = new \RectorPrefix20220519\React\Socket\StreamEncryption($loop ?: \RectorPrefix20220519\React\EventLoop\Loop::get(), \false); + $this->streamEncryption = new \RectorPrefix20220520\React\Socket\StreamEncryption($loop ?: \RectorPrefix20220520\React\EventLoop\Loop::get(), \false); $this->context = $context; } public function connect($uri) { if (!\function_exists('stream_socket_enable_crypto')) { - return \RectorPrefix20220519\React\Promise\reject(new \BadMethodCallException('Encryption not supported on your platform (HHVM < 3.8?)')); + return \RectorPrefix20220520\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 \RectorPrefix20220519\React\Socket\Connec } $parts = \parse_url($uri); if (!$parts || !isset($parts['scheme']) || $parts['scheme'] !== 'tls') { - return \RectorPrefix20220519\React\Promise\reject(new \InvalidArgumentException('Given URI "' . $uri . '" is invalid (EINVAL)', \defined('SOCKET_EINVAL') ? \SOCKET_EINVAL : 22)); + return \RectorPrefix20220520\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 (\RectorPrefix20220519\React\Socket\ConnectionInterface $connection) use($context, $encryption, $uri, &$promise, &$connected) { + $promise = $this->connector->connect(\str_replace('tls://', '', $uri))->then(function (\RectorPrefix20220520\React\Socket\ConnectionInterface $connection) use($context, $encryption, $uri, &$promise, &$connected) { // (unencrypted) TCP/IP connection succeeded $connected = \true; - if (!$connection instanceof \RectorPrefix20220519\React\Socket\Connection) { + if (!$connection instanceof \RectorPrefix20220520\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 \RectorPrefix20220519\React\Socket\Connec } throw $e; }); - return new \RectorPrefix20220519\React\Promise\Promise(function ($resolve, $reject) use($promise) { + return new \RectorPrefix20220520\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 3d63368a389..bbe39fd1263 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 \RectorPrefix20220519\React\Socket\StreamEncryption($loop ?: \RectorPrefix20220519\React\EventLoop\Loop::get()); + $this->encryption = new \RectorPrefix20220520\React\Socket\StreamEncryption($loop ?: \RectorPrefix20220520\React\EventLoop\Loop::get()); $this->context = $context; $that = $this; $this->tcp->on('connection', function ($connection) use($that) { @@ -160,9 +160,9 @@ final class SecureServer extends \RectorPrefix20220519\Evenement\EventEmitter im return $this->tcp->close(); } /** @internal */ - public function handleConnection(\RectorPrefix20220519\React\Socket\ConnectionInterface $connection) + public function handleConnection(\RectorPrefix20220520\React\Socket\ConnectionInterface $connection) { - if (!$connection instanceof \RectorPrefix20220519\React\Socket\Connection) { + if (!$connection instanceof \RectorPrefix20220520\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 1f41cd36da5..c40d8222949 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 \RectorPrefix20220519\Evenement\EventEmitter implemen $scheme = \substr($uri, 0, $pos); } if ($scheme === 'unix') { - $server = new \RectorPrefix20220519\React\Socket\UnixServer($uri, $loop, $context['unix']); + $server = new \RectorPrefix20220520\React\Socket\UnixServer($uri, $loop, $context['unix']); } else { - $server = new \RectorPrefix20220519\React\Socket\TcpServer(\str_replace('tls://', '', $uri), $loop, $context['tcp']); + $server = new \RectorPrefix20220520\React\Socket\TcpServer(\str_replace('tls://', '', $uri), $loop, $context['tcp']); if ($scheme === 'tls') { - $server = new \RectorPrefix20220519\React\Socket\SecureServer($server, $loop, $context['tls']); + $server = new \RectorPrefix20220520\React\Socket\SecureServer($server, $loop, $context['tls']); } } $this->server = $server; $that = $this; - $server->on('connection', function (\RectorPrefix20220519\React\Socket\ConnectionInterface $conn) use($that) { + $server->on('connection', function (\RectorPrefix20220520\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 f72930acb83..d1b0a252027 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 \RectorPrefix20220519\Evenement\EventEmitter im $scheme = \substr($uri, 0, $pos); } if ($scheme === 'unix') { - $server = new \RectorPrefix20220519\React\Socket\UnixServer($uri, $loop, $context['unix']); + $server = new \RectorPrefix20220520\React\Socket\UnixServer($uri, $loop, $context['unix']); } elseif ($scheme === 'php') { - $server = new \RectorPrefix20220519\React\Socket\FdServer($uri, $loop); + $server = new \RectorPrefix20220520\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 \RectorPrefix20220519\React\Socket\TcpServer(\str_replace('tls://', '', $uri), $loop, $context['tcp']); + $server = new \RectorPrefix20220520\React\Socket\TcpServer(\str_replace('tls://', '', $uri), $loop, $context['tcp']); if ($scheme === 'tls') { - $server = new \RectorPrefix20220519\React\Socket\SecureServer($server, $loop, $context['tls']); + $server = new \RectorPrefix20220520\React\Socket\SecureServer($server, $loop, $context['tls']); } } $this->server = $server; $that = $this; - $server->on('connection', function (\RectorPrefix20220519\React\Socket\ConnectionInterface $conn) use($that) { + $server->on('connection', function (\RectorPrefix20220520\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 b39b79ada83..2e692a134aa 100644 --- a/vendor/react/socket/src/StreamEncryption.php +++ b/vendor/react/socket/src/StreamEncryption.php @@ -1,9 +1,9 @@ loop = $loop; $this->server = $server; @@ -40,17 +40,17 @@ class StreamEncryption } } } - public function enable(\RectorPrefix20220519\React\Socket\Connection $stream) + public function enable(\RectorPrefix20220520\React\Socket\Connection $stream) { return $this->toggle($stream, \true); } - public function toggle(\RectorPrefix20220519\React\Socket\Connection $stream, $toggle) + public function toggle(\RectorPrefix20220520\React\Socket\Connection $stream, $toggle) { // pause actual stream instance to continue operation on raw stream socket $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 \RectorPrefix20220519\React\Promise\Deferred(function () { + $deferred = new \RectorPrefix20220520\React\Promise\Deferred(function () { throw new \RuntimeException(); }); // get actual stream socket from stream instance @@ -81,7 +81,7 @@ class StreamEncryption throw $error; }); } - public function toggleCrypto($socket, \RectorPrefix20220519\React\Promise\Deferred $deferred, $toggle, $method) + public function toggleCrypto($socket, \RectorPrefix20220520\React\Promise\Deferred $deferred, $toggle, $method) { $error = null; \set_error_handler(function ($_, $errstr) use(&$error) { diff --git a/vendor/react/socket/src/TcpConnector.php b/vendor/react/socket/src/TcpConnector.php index d7c0d023c4d..bb38c88b936 100644 --- a/vendor/react/socket/src/TcpConnector.php +++ b/vendor/react/socket/src/TcpConnector.php @@ -1,19 +1,19 @@ loop = $loop ?: \RectorPrefix20220519\React\EventLoop\Loop::get(); + $this->loop = $loop ?: \RectorPrefix20220520\React\EventLoop\Loop::get(); $this->context = $context; } public function connect($uri) @@ -23,11 +23,11 @@ final class TcpConnector implements \RectorPrefix20220519\React\Socket\Connector } $parts = \parse_url($uri); if (!$parts || !isset($parts['scheme'], $parts['host'], $parts['port']) || $parts['scheme'] !== 'tcp') { - return \RectorPrefix20220519\React\Promise\reject(new \InvalidArgumentException('Given URI "' . $uri . '" is invalid (EINVAL)', \defined('SOCKET_EINVAL') ? \SOCKET_EINVAL : 22)); + return \RectorPrefix20220520\React\Promise\reject(new \InvalidArgumentException('Given URI "' . $uri . '" is invalid (EINVAL)', \defined('SOCKET_EINVAL') ? \SOCKET_EINVAL : 22)); } $ip = \trim($parts['host'], '[]'); if (@\inet_pton($ip) === \false) { - return \RectorPrefix20220519\React\Promise\reject(new \InvalidArgumentException('Given URI "' . $uri . '" does not contain a valid host IP (EINVAL)', \defined('SOCKET_EINVAL') ? \SOCKET_EINVAL : 22)); + return \RectorPrefix20220520\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 \RectorPrefix20220519\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 \RectorPrefix20220519\React\Promise\reject(new \RuntimeException('Connection to ' . $uri . ' failed: ' . $errstr . \RectorPrefix20220519\React\Socket\SocketServer::errconst($errno), $errno)); + return \RectorPrefix20220520\React\Promise\reject(new \RuntimeException('Connection to ' . $uri . ' failed: ' . $errstr . \RectorPrefix20220520\React\Socket\SocketServer::errconst($errno), $errno)); } // wait for connection $loop = $this->loop; - return new \RectorPrefix20220519\React\Promise\Promise(function ($resolve, $reject) use($loop, $stream, $uri) { + return new \RectorPrefix20220520\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 \RectorPrefix20220519\React\Socket\Connector } // @codeCoverageIgnoreEnd \fclose($stream); - $reject(new \RuntimeException('Connection to ' . $uri . ' failed: ' . $errstr . \RectorPrefix20220519\React\Socket\SocketServer::errconst($errno), $errno)); + $reject(new \RuntimeException('Connection to ' . $uri . ' failed: ' . $errstr . \RectorPrefix20220520\React\Socket\SocketServer::errconst($errno), $errno)); } else { - $resolve(new \RectorPrefix20220519\React\Socket\Connection($stream, $loop)); + $resolve(new \RectorPrefix20220520\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 3ebd88a1a53..37ee98973db 100644 --- a/vendor/react/socket/src/TcpServer.php +++ b/vendor/react/socket/src/TcpServer.php @@ -1,10 +1,10 @@ loop = $loop ?: \RectorPrefix20220519\React\EventLoop\Loop::get(); + $this->loop = $loop ?: \RectorPrefix20220520\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 \RectorPrefix20220519\Evenement\EventEmitter imple if ($errno === 0) { // PHP does not seem to report errno, so match errno from errstr // @link https://3v4l.org/3qOBl - $errno = \RectorPrefix20220519\React\Socket\SocketServer::errno($errstr); + $errno = \RectorPrefix20220520\React\Socket\SocketServer::errno($errstr); } - throw new \RuntimeException('Failed to listen on "' . $uri . '": ' . $errstr . \RectorPrefix20220519\React\Socket\SocketServer::errconst($errno), $errno); + throw new \RuntimeException('Failed to listen on "' . $uri . '": ' . $errstr . \RectorPrefix20220520\React\Socket\SocketServer::errconst($errno), $errno); } \stream_set_blocking($this->master, \false); $this->resume(); @@ -195,7 +195,7 @@ final class TcpServer extends \RectorPrefix20220519\Evenement\EventEmitter imple $that = $this; $this->loop->addReadStream($this->master, function ($master) use($that) { try { - $newSocket = \RectorPrefix20220519\React\Socket\SocketServer::accept($master); + $newSocket = \RectorPrefix20220520\React\Socket\SocketServer::accept($master); } catch (\RuntimeException $e) { $that->emit('error', array($e)); return; @@ -216,6 +216,6 @@ final class TcpServer extends \RectorPrefix20220519\Evenement\EventEmitter imple /** @internal */ public function handleConnection($socket) { - $this->emit('connection', array(new \RectorPrefix20220519\React\Socket\Connection($socket, $this->loop))); + $this->emit('connection', array(new \RectorPrefix20220520\React\Socket\Connection($socket, $this->loop))); } } diff --git a/vendor/react/socket/src/TimeoutConnector.php b/vendor/react/socket/src/TimeoutConnector.php index 58e9639ed7d..07cb723c0fd 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 ?: \RectorPrefix20220519\React\EventLoop\Loop::get(); + $this->loop = $loop ?: \RectorPrefix20220520\React\EventLoop\Loop::get(); } public function connect($uri) { - return \RectorPrefix20220519\React\Promise\Timer\timeout($this->connector->connect($uri), $this->timeout, $this->loop)->then(null, self::handler($uri)); + return \RectorPrefix20220520\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 \RectorPrefix20220519\React\Socket\Conne private static function handler($uri) { return function (\Exception $e) use($uri) { - if ($e instanceof \RectorPrefix20220519\React\Promise\Timer\TimeoutException) { + if ($e instanceof \RectorPrefix20220520\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 9c8f622ede4..6667ac85d2f 100644 --- a/vendor/react/socket/src/UnixConnector.php +++ b/vendor/react/socket/src/UnixConnector.php @@ -1,10 +1,10 @@ loop = $loop ?: \RectorPrefix20220519\React\EventLoop\Loop::get(); + $this->loop = $loop ?: \RectorPrefix20220520\React\EventLoop\Loop::get(); } public function connect($path) { if (\strpos($path, '://') === \false) { $path = 'unix://' . $path; } elseif (\substr($path, 0, 7) !== 'unix://') { - return \RectorPrefix20220519\React\Promise\reject(new \InvalidArgumentException('Given URI "' . $path . '" is invalid (EINVAL)', \defined('SOCKET_EINVAL') ? \SOCKET_EINVAL : 22)); + return \RectorPrefix20220520\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 \RectorPrefix20220519\React\Promise\reject(new \RuntimeException('Unable to connect to unix domain socket "' . $path . '": ' . $errstr . \RectorPrefix20220519\React\Socket\SocketServer::errconst($errno), $errno)); + return \RectorPrefix20220520\React\Promise\reject(new \RuntimeException('Unable to connect to unix domain socket "' . $path . '": ' . $errstr . \RectorPrefix20220520\React\Socket\SocketServer::errconst($errno), $errno)); } - $connection = new \RectorPrefix20220519\React\Socket\Connection($resource, $this->loop); + $connection = new \RectorPrefix20220520\React\Socket\Connection($resource, $this->loop); $connection->unix = \true; - return \RectorPrefix20220519\React\Promise\resolve($connection); + return \RectorPrefix20220520\React\Promise\resolve($connection); } } diff --git a/vendor/react/socket/src/UnixServer.php b/vendor/react/socket/src/UnixServer.php index 79fa016fcd6..c7098b2c950 100644 --- a/vendor/react/socket/src/UnixServer.php +++ b/vendor/react/socket/src/UnixServer.php @@ -1,10 +1,10 @@ loop = $loop ?: \RectorPrefix20220519\React\EventLoop\Loop::get(); + $this->loop = $loop ?: \RectorPrefix20220520\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 \RectorPrefix20220519\Evenement\EventEmitter impl $errno = isset($match[2]) ? (int) $match[2] : 0; } } - throw new \RuntimeException('Failed to listen on Unix domain socket "' . $path . '": ' . $errstr . \RectorPrefix20220519\React\Socket\SocketServer::errconst($errno), $errno); + throw new \RuntimeException('Failed to listen on Unix domain socket "' . $path . '": ' . $errstr . \RectorPrefix20220520\React\Socket\SocketServer::errconst($errno), $errno); } \stream_set_blocking($this->master, 0); $this->resume(); @@ -96,7 +96,7 @@ final class UnixServer extends \RectorPrefix20220519\Evenement\EventEmitter impl $that = $this; $this->loop->addReadStream($this->master, function ($master) use($that) { try { - $newSocket = \RectorPrefix20220519\React\Socket\SocketServer::accept($master); + $newSocket = \RectorPrefix20220520\React\Socket\SocketServer::accept($master); } catch (\RuntimeException $e) { $that->emit('error', array($e)); return; @@ -117,7 +117,7 @@ final class UnixServer extends \RectorPrefix20220519\Evenement\EventEmitter impl /** @internal */ public function handleConnection($socket) { - $connection = new \RectorPrefix20220519\React\Socket\Connection($socket, $this->loop); + $connection = new \RectorPrefix20220520\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 1ea8b719543..4a906228535 100644 --- a/vendor/react/stream/composer.json +++ b/vendor/react/stream/composer.json @@ -45,12 +45,12 @@ }, "autoload": { "psr-4": { - "RectorPrefix20220519\\React\\Stream\\": "src" + "RectorPrefix20220520\\React\\Stream\\": "src" } }, "autoload-dev": { "psr-4": { - "RectorPrefix20220519\\React\\Tests\\Stream\\": "tests" + "RectorPrefix20220520\\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 022835deafd..6e69559dc70 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 \RectorPrefix20220519\Evenement\EventEmitter $this->close(); return; } - \RectorPrefix20220519\React\Stream\Util::forwardEvents($this->readable, $this, array('data', 'end', 'error')); - \RectorPrefix20220519\React\Stream\Util::forwardEvents($this->writable, $this, array('drain', 'error', 'pipe')); + \RectorPrefix20220520\React\Stream\Util::forwardEvents($this->readable, $this, array('data', 'end', 'error')); + \RectorPrefix20220520\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')); } @@ -36,9 +36,9 @@ final class CompositeStream extends \RectorPrefix20220519\Evenement\EventEmitter } $this->readable->resume(); } - public function pipe(\RectorPrefix20220519\React\Stream\WritableStreamInterface $dest, array $options = array()) + public function pipe(\RectorPrefix20220520\React\Stream\WritableStreamInterface $dest, array $options = array()) { - return \RectorPrefix20220519\React\Stream\Util::pipe($this, $dest, $options); + return \RectorPrefix20220520\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 6c1b8a60a78..abdb1c30e15 100644 --- a/vendor/react/stream/src/DuplexResourceStream.php +++ b/vendor/react/stream/src/DuplexResourceStream.php @@ -1,12 +1,12 @@ stream = $stream; - $this->loop = $loop ?: \RectorPrefix20220519\React\EventLoop\Loop::get(); + $this->loop = $loop ?: \RectorPrefix20220520\React\EventLoop\Loop::get(); $this->bufferSize = $readChunkSize === null ? 65536 : (int) $readChunkSize; $this->buffer = $buffer; $that = $this; @@ -132,9 +132,9 @@ final class DuplexResourceStream extends \RectorPrefix20220519\Evenement\EventEm $this->pause(); $this->buffer->end($data); } - public function pipe(\RectorPrefix20220519\React\Stream\WritableStreamInterface $dest, array $options = array()) + public function pipe(\RectorPrefix20220520\React\Stream\WritableStreamInterface $dest, array $options = array()) { - return \RectorPrefix20220519\React\Stream\Util::pipe($this, $dest, $options); + return \RectorPrefix20220520\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 bcccb8911ce..f91bc4c2ccc 100644 --- a/vendor/react/stream/src/DuplexStreamInterface.php +++ b/vendor/react/stream/src/DuplexStreamInterface.php @@ -1,6 +1,6 @@ stream = $stream; - $this->loop = $loop ?: \RectorPrefix20220519\React\EventLoop\Loop::get(); + $this->loop = $loop ?: \RectorPrefix20220520\React\EventLoop\Loop::get(); $this->bufferSize = $readChunkSize === null ? 65536 : (int) $readChunkSize; $this->resume(); } @@ -84,9 +84,9 @@ final class ReadableResourceStream extends \RectorPrefix20220519\Evenement\Event $this->listening = \true; } } - public function pipe(\RectorPrefix20220519\React\Stream\WritableStreamInterface $dest, array $options = array()) + public function pipe(\RectorPrefix20220520\React\Stream\WritableStreamInterface $dest, array $options = array()) { - return \RectorPrefix20220519\React\Stream\Util::pipe($this, $dest, $options); + return \RectorPrefix20220520\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 39441a6e68d..822ac01a4b9 100644 --- a/vendor/react/stream/src/ReadableStreamInterface.php +++ b/vendor/react/stream/src/ReadableStreamInterface.php @@ -1,8 +1,8 @@ paused = \false; } - public function pipe(\RectorPrefix20220519\React\Stream\WritableStreamInterface $dest, array $options = array()) + public function pipe(\RectorPrefix20220520\React\Stream\WritableStreamInterface $dest, array $options = array()) { - return \RectorPrefix20220519\React\Stream\Util::pipe($this, $dest, $options); + return \RectorPrefix20220520\React\Stream\Util::pipe($this, $dest, $options); } public function isReadable() { diff --git a/vendor/react/stream/src/Util.php b/vendor/react/stream/src/Util.php index 2db5031d0e8..19f55d68242 100644 --- a/vendor/react/stream/src/Util.php +++ b/vendor/react/stream/src/Util.php @@ -1,6 +1,6 @@ NO-OP if (!$source->isReadable()) { diff --git a/vendor/react/stream/src/WritableResourceStream.php b/vendor/react/stream/src/WritableResourceStream.php index 47aecc79d5b..1b72011aeba 100644 --- a/vendor/react/stream/src/WritableResourceStream.php +++ b/vendor/react/stream/src/WritableResourceStream.php @@ -1,11 +1,11 @@ stream = $stream; - $this->loop = $loop ?: \RectorPrefix20220519\React\EventLoop\Loop::get(); + $this->loop = $loop ?: \RectorPrefix20220520\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 89294cdd60d..7b460a420bf 100644 --- a/vendor/react/stream/src/WritableStreamInterface.php +++ b/vendor/react/stream/src/WritableStreamInterface.php @@ -1,8 +1,8 @@ array('install_path' => '/home/runner/work/rector-src/rector-src/vendor/rector/rector-cakephp', 'relative_install_path' => '../../rector-cakephp', 'extra' => array('includes' => array(0 => 'config/config.php')), 'version' => 'dev-main 43ca394'), 'rector/rector-doctrine' => array('install_path' => '/home/runner/work/rector-src/rector-src/vendor/rector/rector-doctrine', 'relative_install_path' => '../../rector-doctrine', 'extra' => array('includes' => array(0 => 'config/config.php')), 'version' => 'dev-main 4a907ed'), 'rector/rector-generator' => array('install_path' => '/home/runner/work/rector-src/rector-src/vendor/rector/rector-generator', 'relative_install_path' => '../../rector-generator', 'extra' => array('includes' => array(0 => 'config/config.php')), 'version' => 'dev-main 784271e'), 'rector/rector-laravel' => array('install_path' => '/home/runner/work/rector-src/rector-src/vendor/rector/rector-laravel', 'relative_install_path' => '../../rector-laravel', 'extra' => array('includes' => array(0 => 'config/config.php')), 'version' => 'dev-main 2e0f600'), 'rector/rector-nette' => array('install_path' => '/home/runner/work/rector-src/rector-src/vendor/rector/rector-nette', 'relative_install_path' => '../../rector-nette', 'extra' => array('includes' => array(0 => 'config/config.php')), 'version' => 'dev-main 5f84d90'), 'rector/rector-phpoffice' => array('install_path' => '/home/runner/work/rector-src/rector-src/vendor/rector/rector-phpoffice', 'relative_install_path' => '../../rector-phpoffice', 'extra' => array('includes' => array(0 => 'config/config.php')), 'version' => 'dev-main e544f2a'), 'rector/rector-phpunit' => array('install_path' => '/home/runner/work/rector-src/rector-src/vendor/rector/rector-phpunit', 'relative_install_path' => '../../rector-phpunit', 'extra' => array('includes' => array(0 => 'config/config.php')), 'version' => 'dev-main 5a33940'), 'rector/rector-symfony' => array('install_path' => '/home/runner/work/rector-src/rector-src/vendor/rector/rector-symfony', 'relative_install_path' => '../../rector-symfony', 'extra' => array('includes' => array(0 => 'config/config.php')), 'version' => 'dev-main aec781e'), 'ssch/typo3-rector' => array('install_path' => '/home/runner/work/rector-src/rector-src/vendor/ssch/typo3-rector', 'relative_install_path' => '../../../ssch/typo3-rector', 'extra' => array('includes' => array(0 => 'config/config.php')), 'version' => 'dev-main 2e284d0')); + public const EXTENSIONS = array('rector/rector-cakephp' => array('install_path' => '/home/runner/work/rector-src/rector-src/vendor/rector/rector-cakephp', 'relative_install_path' => '../../rector-cakephp', 'extra' => array('includes' => array(0 => 'config/config.php')), 'version' => 'dev-main 43ca394'), 'rector/rector-doctrine' => array('install_path' => '/home/runner/work/rector-src/rector-src/vendor/rector/rector-doctrine', 'relative_install_path' => '../../rector-doctrine', 'extra' => array('includes' => array(0 => 'config/config.php')), 'version' => 'dev-main 4a907ed'), 'rector/rector-generator' => array('install_path' => '/home/runner/work/rector-src/rector-src/vendor/rector/rector-generator', 'relative_install_path' => '../../rector-generator', 'extra' => array('includes' => array(0 => 'config/config.php')), 'version' => 'dev-main 784271e'), 'rector/rector-laravel' => array('install_path' => '/home/runner/work/rector-src/rector-src/vendor/rector/rector-laravel', 'relative_install_path' => '../../rector-laravel', 'extra' => array('includes' => array(0 => 'config/config.php')), 'version' => 'dev-main 2e0f600'), 'rector/rector-nette' => array('install_path' => '/home/runner/work/rector-src/rector-src/vendor/rector/rector-nette', 'relative_install_path' => '../../rector-nette', 'extra' => array('includes' => array(0 => 'config/config.php')), 'version' => 'dev-main 5f84d90'), 'rector/rector-phpoffice' => array('install_path' => '/home/runner/work/rector-src/rector-src/vendor/rector/rector-phpoffice', 'relative_install_path' => '../../rector-phpoffice', 'extra' => array('includes' => array(0 => 'config/config.php')), 'version' => 'dev-main e544f2a'), 'rector/rector-phpunit' => array('install_path' => '/home/runner/work/rector-src/rector-src/vendor/rector/rector-phpunit', 'relative_install_path' => '../../rector-phpunit', 'extra' => array('includes' => array(0 => 'config/config.php')), 'version' => 'dev-main 5a33940'), 'rector/rector-symfony' => array('install_path' => '/home/runner/work/rector-src/rector-src/vendor/rector/rector-symfony', 'relative_install_path' => '../../rector-symfony', 'extra' => array('includes' => array(0 => 'config/config.php')), 'version' => 'dev-main aec781e'), 'ssch/typo3-rector' => array('install_path' => '/home/runner/work/rector-src/rector-src/vendor/ssch/typo3-rector', 'relative_install_path' => '../../../ssch/typo3-rector', 'extra' => array('includes' => array(0 => 'config/config.php')), 'version' => 'dev-main 1e75e86')); private function __construct() { } diff --git a/vendor/rector/extension-installer/src/PluginInstaller.php b/vendor/rector/extension-installer/src/PluginInstaller.php index 45d15472ff1..25fbd803cca 100644 --- a/vendor/rector/extension-installer/src/PluginInstaller.php +++ b/vendor/rector/extension-installer/src/PluginInstaller.php @@ -3,11 +3,11 @@ declare (strict_types=1); namespace Rector\RectorInstaller; -use RectorPrefix20220519\Composer\Installer\InstallationManager; -use RectorPrefix20220519\Composer\IO\IOInterface; -use RectorPrefix20220519\Composer\Package\PackageInterface; -use RectorPrefix20220519\Composer\Repository\InstalledRepositoryInterface; -use RectorPrefix20220519\Composer\Util\Filesystem as ComposerFilesystem; +use RectorPrefix20220520\Composer\Installer\InstallationManager; +use RectorPrefix20220520\Composer\IO\IOInterface; +use RectorPrefix20220520\Composer\Package\PackageInterface; +use RectorPrefix20220520\Composer\Repository\InstalledRepositoryInterface; +use RectorPrefix20220520\Composer\Util\Filesystem as ComposerFilesystem; /** * @see \Rector\RectorInstaller\Tests\PluginInstallerTest */ @@ -69,7 +69,7 @@ CODE_SAMPLE; * @var string */ private $configurationFile; - public function __construct(\Rector\RectorInstaller\Filesystem $filesystem, \RectorPrefix20220519\Composer\Repository\InstalledRepositoryInterface $localRepository, \RectorPrefix20220519\Composer\IO\IOInterface $io, \RectorPrefix20220519\Composer\Installer\InstallationManager $installationManager, \RectorPrefix20220519\Composer\Util\Filesystem $composerFilesystem, string $configurationFile) + public function __construct(\Rector\RectorInstaller\Filesystem $filesystem, \RectorPrefix20220520\Composer\Repository\InstalledRepositoryInterface $localRepository, \RectorPrefix20220520\Composer\IO\IOInterface $io, \RectorPrefix20220520\Composer\Installer\InstallationManager $installationManager, \RectorPrefix20220520\Composer\Util\Filesystem $composerFilesystem, string $configurationFile) { $this->filesystem = $filesystem; $this->localRepository = $localRepository; @@ -106,7 +106,7 @@ CODE_SAMPLE; $this->io->write(\sprintf('> %s: installed', $name)); } } - private function shouldSkip(\RectorPrefix20220519\Composer\Package\PackageInterface $package) : bool + private function shouldSkip(\RectorPrefix20220520\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 fb3018e2ac7..dfcec07a080 100644 --- a/vendor/rector/rector-cakephp/config/config.php +++ b/vendor/rector/rector-cakephp/config/config.php @@ -1,7 +1,7 @@ services(); // @see https://github.com/symplify/monorepo-builder#6-release-flow - $services->set(\RectorPrefix20220519\Symplify\MonorepoBuilder\Release\ReleaseWorker\TagVersionReleaseWorker::class); - $services->set(\RectorPrefix20220519\Symplify\MonorepoBuilder\Release\ReleaseWorker\PushTagReleaseWorker::class); + $services->set(\RectorPrefix20220520\Symplify\MonorepoBuilder\Release\ReleaseWorker\TagVersionReleaseWorker::class); + $services->set(\RectorPrefix20220520\Symplify\MonorepoBuilder\Release\ReleaseWorker\PushTagReleaseWorker::class); }; diff --git a/vendor/rector/rector-cakephp/rector.php b/vendor/rector/rector-cakephp/rector.php index e501b0903b1..6f08444a965 100644 --- a/vendor/rector/rector-cakephp/rector.php +++ b/vendor/rector/rector-cakephp/rector.php @@ -1,7 +1,7 @@ arraysToFluentCalls = $arraysToFluentCalls; $factoryMethods = $configuration[self::FACTORY_METHODS] ?? []; - \RectorPrefix20220519\Webmozart\Assert\Assert::isArray($factoryMethods); - \RectorPrefix20220519\Webmozart\Assert\Assert::allIsInstanceOf($factoryMethods, \Rector\CakePHP\ValueObject\FactoryMethod::class); + \RectorPrefix20220520\Webmozart\Assert\Assert::isArray($factoryMethods); + \RectorPrefix20220520\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 d4557fc044e..77b1eb7f696 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 RectorPrefix20220519\Webmozart\Assert\Assert; +use RectorPrefix20220520\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,8 +77,8 @@ CODE_SAMPLE public function configure(array $configuration) : void { $unprefixedMethodsToGetSet = $configuration[self::UNPREFIXED_METHODS_TO_GET_SET] ?? $configuration; - \RectorPrefix20220519\Webmozart\Assert\Assert::isArray($unprefixedMethodsToGetSet); - \RectorPrefix20220519\Webmozart\Assert\Assert::allIsAOf($unprefixedMethodsToGetSet, \Rector\CakePHP\ValueObject\ModalToGetSet::class); + \RectorPrefix20220520\Webmozart\Assert\Assert::isArray($unprefixedMethodsToGetSet); + \RectorPrefix20220520\Webmozart\Assert\Assert::allIsAOf($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 663b290957e..d6213cb07e6 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 RectorPrefix20220519\Webmozart\Assert\Assert; +use RectorPrefix20220520\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 @@ -76,8 +76,8 @@ CODE_SAMPLE public function configure(array $configuration) : void { $removeIntermediaryMethods = $configuration[self::REMOVE_INTERMEDIARY_METHOD] ?? $configuration; - \RectorPrefix20220519\Webmozart\Assert\Assert::isArray($removeIntermediaryMethods); - \RectorPrefix20220519\Webmozart\Assert\Assert::allIsAOf($removeIntermediaryMethods, \Rector\CakePHP\ValueObject\RemoveIntermediaryMethod::class); + \RectorPrefix20220520\Webmozart\Assert\Assert::isArray($removeIntermediaryMethods); + \RectorPrefix20220520\Webmozart\Assert\Assert::allIsAOf($removeIntermediaryMethods, \Rector\CakePHP\ValueObject\RemoveIntermediaryMethod::class); $this->removeIntermediaryMethod = $removeIntermediaryMethods; } 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 f62b6fdbce0..f16cb273ff3 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 RectorPrefix20220519\Webmozart\Assert\Assert; +use RectorPrefix20220520\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,8 +70,8 @@ CODE_SAMPLE public function configure(array $configuration) : void { $callsWithParamRenames = $configuration[self::CALLS_WITH_PARAM_RENAMES] ?? $configuration; - \RectorPrefix20220519\Webmozart\Assert\Assert::isArray($callsWithParamRenames); - \RectorPrefix20220519\Webmozart\Assert\Assert::allIsInstanceOf($callsWithParamRenames, \Rector\CakePHP\ValueObject\RenameMethodCallBasedOnParameter::class); + \RectorPrefix20220520\Webmozart\Assert\Assert::isArray($callsWithParamRenames); + \RectorPrefix20220520\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 efbb57338e5..c9503f913b4 100644 --- a/vendor/rector/rector-cakephp/src/Rector/Property/ChangeSnakedFixtureNameToPascalRector.php +++ b/vendor/rector/rector-cakephp/src/Rector/Property/ChangeSnakedFixtureNameToPascalRector.php @@ -11,7 +11,7 @@ use PhpParser\Node\Stmt\ClassLike; use PhpParser\Node\Stmt\Property; use PhpParser\Node\Stmt\PropertyProperty; use Rector\Core\Rector\AbstractRector; -use RectorPrefix20220519\Symfony\Component\String\UnicodeString; +use RectorPrefix20220520\Symfony\Component\String\UnicodeString; use Symplify\RuleDocGenerator\ValueObject\CodeSample\CodeSample; use Symplify\RuleDocGenerator\ValueObject\RuleDefinition; /** @@ -89,7 +89,7 @@ CODE_SAMPLE [$prefix, $table] = \explode('.', $string->value); $tableParts = \explode('/', $table); $pascalCaseTableParts = \array_map(function (string $token) : string { - $tokenUnicodeString = new \RectorPrefix20220519\Symfony\Component\String\UnicodeString($token); + $tokenUnicodeString = new \RectorPrefix20220520\Symfony\Component\String\UnicodeString($token); return \ucfirst($tokenUnicodeString->camel()->toString()); }, $tableParts); $table = \implode('/', $pascalCaseTableParts); diff --git a/vendor/rector/rector-doctrine/config/config.php b/vendor/rector/rector-doctrine/config/config.php index 68bca4e0edc..51cca3263bd 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(\RectorPrefix20220519\Symplify\MonorepoBuilder\Release\ReleaseWorker\TagVersionReleaseWorker::class); - $services->set(\RectorPrefix20220519\Symplify\MonorepoBuilder\Release\ReleaseWorker\PushTagReleaseWorker::class); + $services->set(\RectorPrefix20220520\Symplify\MonorepoBuilder\Release\ReleaseWorker\TagVersionReleaseWorker::class); + $services->set(\RectorPrefix20220520\Symplify\MonorepoBuilder\Release\ReleaseWorker\PushTagReleaseWorker::class); }; diff --git a/vendor/rector/rector-doctrine/rector.php b/vendor/rector/rector-doctrine/rector.php index d7a24b4075a..b2d89334098 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 90e3ebfb536..1c4fa4582a4 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 RectorPrefix20220519\Symplify\Astral\ValueObject\NodeBuilder\MethodBuilder; +use RectorPrefix20220520\Symplify\Astral\ValueObject\NodeBuilder\MethodBuilder; final class ConstructClassMethodFactory { /** @@ -54,7 +54,7 @@ final class ConstructClassMethodFactory $params[] = $this->createParam($publicProperty, $propertyName); $assigns[] = $this->createAssign($propertyName); } - $methodBuilder = new \RectorPrefix20220519\Symplify\Astral\ValueObject\NodeBuilder\MethodBuilder(\Rector\Core\ValueObject\MethodName::CONSTRUCT); + $methodBuilder = new \RectorPrefix20220520\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 0ecc198fac8..a6100debe6a 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 RectorPrefix20220519\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser; +use RectorPrefix20220520\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser; final class DependencyRemover { /** @@ -31,7 +31,7 @@ final class DependencyRemover * @var \Rector\NodeRemoval\NodeRemover */ private $nodeRemover; - public function __construct(\Rector\NodeNameResolver\NodeNameResolver $nodeNameResolver, \RectorPrefix20220519\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser $simpleCallableNodeTraverser, \Rector\NodeRemoval\NodeRemover $nodeRemover) + public function __construct(\Rector\NodeNameResolver\NodeNameResolver $nodeNameResolver, \RectorPrefix20220520\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser $simpleCallableNodeTraverser, \Rector\NodeRemoval\NodeRemover $nodeRemover) { $this->nodeNameResolver = $nodeNameResolver; $this->simpleCallableNodeTraverser = $simpleCallableNodeTraverser; diff --git a/vendor/rector/rector-doctrine/src/NodeManipulator/ToOneRelationPropertyTypeResolver.php b/vendor/rector/rector-doctrine/src/NodeManipulator/ToOneRelationPropertyTypeResolver.php index 085e87a1402..77c32c04cef 100644 --- a/vendor/rector/rector-doctrine/src/NodeManipulator/ToOneRelationPropertyTypeResolver.php +++ b/vendor/rector/rector-doctrine/src/NodeManipulator/ToOneRelationPropertyTypeResolver.php @@ -3,7 +3,7 @@ declare (strict_types=1); namespace Rector\Doctrine\NodeManipulator; -use RectorPrefix20220519\Nette\Utils\Strings; +use RectorPrefix20220520\Nette\Utils\Strings; use PhpParser\Node\Expr; use PhpParser\Node\Stmt\Property; use PHPStan\PhpDocParser\Ast\ConstExpr\ConstExprTrueNode; @@ -84,7 +84,7 @@ final class ToOneRelationPropertyTypeResolver return new \PHPStan\Type\MixedType(); } if (\substr_compare($targetEntity, '::class', -\strlen('::class')) === 0) { - $targetEntity = \RectorPrefix20220519\Nette\Utils\Strings::before($targetEntity, '::class'); + $targetEntity = \RectorPrefix20220520\Nette\Utils\Strings::before($targetEntity, '::class'); } // resolve to FQN $tagFullyQualifiedName = $this->classAnnotationMatcher->resolveTagFullyQualifiedName($targetEntity, $property); diff --git a/vendor/rector/rector-doctrine/src/PhpDoc/ShortClassExpander.php b/vendor/rector/rector-doctrine/src/PhpDoc/ShortClassExpander.php index 0658d1c666e..7bba4283f03 100644 --- a/vendor/rector/rector-doctrine/src/PhpDoc/ShortClassExpander.php +++ b/vendor/rector/rector-doctrine/src/PhpDoc/ShortClassExpander.php @@ -3,7 +3,7 @@ declare (strict_types=1); namespace Rector\Doctrine\PhpDoc; -use RectorPrefix20220519\Nette\Utils\Strings; +use RectorPrefix20220520\Nette\Utils\Strings; use PhpParser\Node; use PHPStan\Analyser\Scope; use PHPStan\Reflection\ReflectionProvider; @@ -59,6 +59,6 @@ final class ShortClassExpander } private function getCleanedUpTargetEntity(string $targetEntity) : string { - return \RectorPrefix20220519\Nette\Utils\Strings::replace($targetEntity, self::CLASS_CONST_REGEX, ''); + return \RectorPrefix20220520\Nette\Utils\Strings::replace($targetEntity, self::CLASS_CONST_REGEX, ''); } } diff --git a/vendor/rector/rector-doctrine/src/Rector/Class_/AddEntityIdByConditionRector.php b/vendor/rector/rector-doctrine/src/Rector/Class_/AddEntityIdByConditionRector.php index d01ac89d325..a100479c58f 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 RectorPrefix20220519\Webmozart\Assert\Assert; +use RectorPrefix20220520\Webmozart\Assert\Assert; /** * @see \Rector\Doctrine\Tests\Rector\Class_\AddEntityIdByConditionRector\AddEntityIdByConditionRectorTest */ @@ -109,8 +109,8 @@ CODE_SAMPLE public function configure(array $configuration) : void { $detectTraits = $configuration[self::DETECTED_TRAITS] ?? $configuration; - \RectorPrefix20220519\Webmozart\Assert\Assert::isArray($detectTraits); - \RectorPrefix20220519\Webmozart\Assert\Assert::allString($detectTraits); + \RectorPrefix20220520\Webmozart\Assert\Assert::isArray($detectTraits); + \RectorPrefix20220520\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 09100c499e0..4bdc6bd0e6f 100644 --- a/vendor/rector/rector-doctrine/src/Rector/Class_/LoggableBehaviorRector.php +++ b/vendor/rector/rector-doctrine/src/Rector/Class_/LoggableBehaviorRector.php @@ -11,7 +11,7 @@ use Rector\BetterPhpDocParser\PhpDoc\DoctrineAnnotationTagValueNode; use Rector\BetterPhpDocParser\PhpDoc\SpacelessPhpDocTagNode; use Rector\Core\NodeManipulator\ClassInsertManipulator; use Rector\Core\Rector\AbstractRector; -use RectorPrefix20220519\Symplify\Astral\PhpDocParser\PhpDocNodeTraverser; +use RectorPrefix20220520\Symplify\Astral\PhpDocParser\PhpDocNodeTraverser; use Symplify\RuleDocGenerator\ValueObject\CodeSample\CodeSample; use Symplify\RuleDocGenerator\ValueObject\RuleDefinition; /** @@ -95,7 +95,7 @@ CODE_SAMPLE // change the node $classPhpDocInfo = $this->phpDocInfoFactory->createFromNodeOrEmpty($class); $hasLoggableAnnotation = \false; - $phpDocNodeTraverser = new \RectorPrefix20220519\Symplify\Astral\PhpDocParser\PhpDocNodeTraverser(); + $phpDocNodeTraverser = new \RectorPrefix20220520\Symplify\Astral\PhpDocParser\PhpDocNodeTraverser(); $phpDocNodeTraverser->traverseWithCallable($classPhpDocInfo->getPhpDocNode(), '', function ($node) use(&$hasLoggableAnnotation) { if (!$node instanceof \Rector\BetterPhpDocParser\PhpDoc\SpacelessPhpDocTagNode) { return null; @@ -108,7 +108,7 @@ CODE_SAMPLE return null; } $hasLoggableAnnotation = \true; - return \RectorPrefix20220519\Symplify\Astral\PhpDocParser\PhpDocNodeTraverser::NODE_REMOVE; + return \RectorPrefix20220520\Symplify\Astral\PhpDocParser\PhpDocNodeTraverser::NODE_REMOVE; }); if (!$hasLoggableAnnotation) { return null; @@ -124,7 +124,7 @@ CODE_SAMPLE // remove tag from properties $phpDocInfo = $this->phpDocInfoFactory->createFromNodeOrEmpty($property); $hasChanged = \false; - $phpDocNodeTraverser = new \RectorPrefix20220519\Symplify\Astral\PhpDocParser\PhpDocNodeTraverser(); + $phpDocNodeTraverser = new \RectorPrefix20220520\Symplify\Astral\PhpDocParser\PhpDocNodeTraverser(); $phpDocNodeTraverser->traverseWithCallable($phpDocInfo->getPhpDocNode(), '', function ($node) use($phpDocInfo, &$hasChanged) { if (!$node instanceof \Rector\BetterPhpDocParser\PhpDoc\SpacelessPhpDocTagNode) { return null; @@ -137,7 +137,7 @@ CODE_SAMPLE } $phpDocInfo->markAsChanged(); $hasChanged = \true; - return \RectorPrefix20220519\Symplify\Astral\PhpDocParser\PhpDocNodeTraverser::NODE_REMOVE; + return \RectorPrefix20220520\Symplify\Astral\PhpDocParser\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 3113a38d56b..7e9b3592095 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 RectorPrefix20220519\Webmozart\Assert\Assert; +use RectorPrefix20220520\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; - \RectorPrefix20220519\Webmozart\Assert\Assert::isArray($aliasesToNamespaces); - \RectorPrefix20220519\Webmozart\Assert\Assert::allString(\array_keys($aliasesToNamespaces)); - \RectorPrefix20220519\Webmozart\Assert\Assert::allString($aliasesToNamespaces); + \RectorPrefix20220520\Webmozart\Assert\Assert::isArray($aliasesToNamespaces); + \RectorPrefix20220520\Webmozart\Assert\Assert::allString(\array_keys($aliasesToNamespaces)); + \RectorPrefix20220520\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 17cd91269b1..3d144b614ce 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 RectorPrefix20220519\Nette\Utils\Strings; +use RectorPrefix20220520\Nette\Utils\Strings; use PhpParser\Node; use PhpParser\Node\Expr; use PhpParser\Node\Expr\ClassConstFetch; @@ -91,7 +91,7 @@ CODE_SAMPLE if (!\is_string($entityReferenceName)) { throw new \Rector\Core\Exception\ShouldNotHappenException(); } - $lastNamePart = (string) \RectorPrefix20220519\Nette\Utils\Strings::after($entityReferenceName, '\\', -1); + $lastNamePart = (string) \RectorPrefix20220520\Nette\Utils\Strings::after($entityReferenceName, '\\', -1); return \lcfirst($lastNamePart) . 'Repository'; } private function guessRepositoryType(\PhpParser\Node\Expr $expr) : string @@ -101,8 +101,8 @@ CODE_SAMPLE if ($entityClass === null) { return 'Unknown_Repository_Class'; } - $entityClassNamespace = (string) \RectorPrefix20220519\Nette\Utils\Strings::before($entityClass, '\\', -2); - $lastNamePart = (string) \RectorPrefix20220519\Nette\Utils\Strings::after($entityClass, '\\', -1); + $entityClassNamespace = (string) \RectorPrefix20220520\Nette\Utils\Strings::before($entityClass, '\\', -2); + $lastNamePart = (string) \RectorPrefix20220520\Nette\Utils\Strings::after($entityClass, '\\', -1); return $entityClassNamespace . '\\Repository\\' . $lastNamePart . 'Repository'; } return 'Unknown_Repository_Class'; diff --git a/vendor/rector/rector-doctrine/src/Rector/Property/DoctrineTargetEntityStringToClassConstantRector.php b/vendor/rector/rector-doctrine/src/Rector/Property/DoctrineTargetEntityStringToClassConstantRector.php index 8528a9fb829..94c7d4225c1 100644 --- a/vendor/rector/rector-doctrine/src/Rector/Property/DoctrineTargetEntityStringToClassConstantRector.php +++ b/vendor/rector/rector-doctrine/src/Rector/Property/DoctrineTargetEntityStringToClassConstantRector.php @@ -3,11 +3,11 @@ declare (strict_types=1); namespace Rector\Doctrine\Rector\Property; -use RectorPrefix20220519\Doctrine\ORM\Mapping\Embedded; -use RectorPrefix20220519\Doctrine\ORM\Mapping\ManyToMany; -use RectorPrefix20220519\Doctrine\ORM\Mapping\ManyToOne; -use RectorPrefix20220519\Doctrine\ORM\Mapping\OneToMany; -use RectorPrefix20220519\Doctrine\ORM\Mapping\OneToOne; +use RectorPrefix20220520\Doctrine\ORM\Mapping\Embedded; +use RectorPrefix20220520\Doctrine\ORM\Mapping\ManyToMany; +use RectorPrefix20220520\Doctrine\ORM\Mapping\ManyToOne; +use RectorPrefix20220520\Doctrine\ORM\Mapping\OneToMany; +use RectorPrefix20220520\Doctrine\ORM\Mapping\OneToOne; use PhpParser\Node; use PhpParser\Node\Attribute; use PhpParser\Node\Identifier; diff --git a/vendor/rector/rector-generator/config/config.php b/vendor/rector/rector-generator/config/config.php index 56ee27124a3..65b02a76991 100644 --- a/vendor/rector/rector-generator/config/config.php +++ b/vendor/rector/rector-generator/config/config.php @@ -1,38 +1,38 @@ services(); $services->defaults()->public()->autowire()->autoconfigure(); $services->load('Rector\\RectorGenerator\\', __DIR__ . '/../src')->exclude([__DIR__ . '/../src/ValueObject', __DIR__ . '/../src/Enum']); // console - $services->set(\RectorPrefix20220519\Symplify\PackageBuilder\Console\Style\SymfonyStyleFactory::class); - $services->set(\RectorPrefix20220519\Symfony\Component\Console\Style\SymfonyStyle::class)->factory([\RectorPrefix20220519\Symfony\Component\DependencyInjection\Loader\Configurator\service(\RectorPrefix20220519\Symplify\PackageBuilder\Console\Style\SymfonyStyleFactory::class), 'create']); + $services->set(\RectorPrefix20220520\Symplify\PackageBuilder\Console\Style\SymfonyStyleFactory::class); + $services->set(\RectorPrefix20220520\Symfony\Component\Console\Style\SymfonyStyle::class)->factory([\RectorPrefix20220520\Symfony\Component\DependencyInjection\Loader\Configurator\service(\RectorPrefix20220520\Symplify\PackageBuilder\Console\Style\SymfonyStyleFactory::class), 'create']); // filesystem - $services->set(\RectorPrefix20220519\Symplify\SmartFileSystem\Json\JsonFileSystem::class); - $services->set(\RectorPrefix20220519\Symplify\SmartFileSystem\SmartFileSystem::class); - $services->set(\RectorPrefix20220519\Symplify\SmartFileSystem\Finder\FinderSanitizer::class); - $services->set(\RectorPrefix20220519\Symplify\SmartFileSystem\FileSystemGuard::class); + $services->set(\RectorPrefix20220520\Symplify\SmartFileSystem\Json\JsonFileSystem::class); + $services->set(\RectorPrefix20220520\Symplify\SmartFileSystem\SmartFileSystem::class); + $services->set(\RectorPrefix20220520\Symplify\SmartFileSystem\Finder\FinderSanitizer::class); + $services->set(\RectorPrefix20220520\Symplify\SmartFileSystem\FileSystemGuard::class); // privates - $services->set(\RectorPrefix20220519\Symplify\PackageBuilder\Reflection\PrivatesCaller::class); - $services->set(\RectorPrefix20220519\Symplify\PackageBuilder\Reflection\PrivatesAccessor::class); + $services->set(\RectorPrefix20220520\Symplify\PackageBuilder\Reflection\PrivatesCaller::class); + $services->set(\RectorPrefix20220520\Symplify\PackageBuilder\Reflection\PrivatesAccessor::class); // php-parser $services->set(\PhpParser\PrettyPrinter\Standard::class)->arg('$options', ['shortArraySyntax' => \true]); $services->set(\PhpParser\ParserFactory::class); - $services->set(\PhpParser\Parser::class)->factory([\RectorPrefix20220519\Symfony\Component\DependencyInjection\Loader\Configurator\service(\PhpParser\ParserFactory::class), 'create'])->arg('$kind', \PhpParser\ParserFactory::PREFER_PHP7); + $services->set(\PhpParser\Parser::class)->factory([\RectorPrefix20220520\Symfony\Component\DependencyInjection\Loader\Configurator\service(\PhpParser\ParserFactory::class), 'create'])->arg('$kind', \PhpParser\ParserFactory::PREFER_PHP7); }; diff --git a/vendor/rector/rector-generator/monorepo-builder.php b/vendor/rector/rector-generator/monorepo-builder.php index 98dbec79c84..dc683c1aa86 100644 --- a/vendor/rector/rector-generator/monorepo-builder.php +++ b/vendor/rector/rector-generator/monorepo-builder.php @@ -1,15 +1,15 @@ services(); $services->defaults()->autowire(); // @see https://github.com/symplify/monorepo-builder#6-release-flow - $services->set(\RectorPrefix20220519\Symplify\MonorepoBuilder\Release\ReleaseWorker\TagVersionReleaseWorker::class); - $services->set(\RectorPrefix20220519\Symplify\MonorepoBuilder\Release\ReleaseWorker\PushTagReleaseWorker::class); + $services->set(\RectorPrefix20220520\Symplify\MonorepoBuilder\Release\ReleaseWorker\TagVersionReleaseWorker::class); + $services->set(\RectorPrefix20220520\Symplify\MonorepoBuilder\Release\ReleaseWorker\PushTagReleaseWorker::class); }; diff --git a/vendor/rector/rector-generator/src/Command/GenerateCommand.php b/vendor/rector/rector-generator/src/Command/GenerateCommand.php index c1e3c727f6c..b4cfa92b3c3 100644 --- a/vendor/rector/rector-generator/src/Command/GenerateCommand.php +++ b/vendor/rector/rector-generator/src/Command/GenerateCommand.php @@ -9,15 +9,15 @@ use Rector\RectorGenerator\Generator\RectorGenerator; use Rector\RectorGenerator\Provider\RectorRecipeProvider; use Rector\RectorGenerator\TemplateVariablesFactory; use Rector\RectorGenerator\ValueObject\NamePattern; -use RectorPrefix20220519\Symfony\Component\Console\Command\Command; -use RectorPrefix20220519\Symfony\Component\Console\Input\InputInterface; -use RectorPrefix20220519\Symfony\Component\Console\Output\OutputInterface; -use RectorPrefix20220519\Symfony\Component\Console\Style\SymfonyStyle; +use RectorPrefix20220520\Symfony\Component\Console\Command\Command; +use RectorPrefix20220520\Symfony\Component\Console\Input\InputInterface; +use RectorPrefix20220520\Symfony\Component\Console\Output\OutputInterface; +use RectorPrefix20220520\Symfony\Component\Console\Style\SymfonyStyle; use Symplify\SmartFileSystem\SmartFileInfo; /** * @see \Rector\RectorGenerator\Tests\RectorGenerator\GenerateCommandInteractiveModeTest */ -final class GenerateCommand extends \RectorPrefix20220519\Symfony\Component\Console\Command\Command +final class GenerateCommand extends \RectorPrefix20220520\Symfony\Component\Console\Command\Command { /** * @readonly @@ -44,7 +44,7 @@ final class GenerateCommand extends \RectorPrefix20220519\Symfony\Component\Cons * @var \Rector\RectorGenerator\Generator\RectorGenerator */ private $rectorGenerator; - public function __construct(\Rector\RectorGenerator\FileSystem\ConfigFilesystem $configFilesystem, \RectorPrefix20220519\Symfony\Component\Console\Style\SymfonyStyle $symfonyStyle, \Rector\RectorGenerator\TemplateVariablesFactory $templateVariablesFactory, \Rector\RectorGenerator\Provider\RectorRecipeProvider $rectorRecipeProvider, \Rector\RectorGenerator\Generator\RectorGenerator $rectorGenerator) + public function __construct(\Rector\RectorGenerator\FileSystem\ConfigFilesystem $configFilesystem, \RectorPrefix20220520\Symfony\Component\Console\Style\SymfonyStyle $symfonyStyle, \Rector\RectorGenerator\TemplateVariablesFactory $templateVariablesFactory, \Rector\RectorGenerator\Provider\RectorRecipeProvider $rectorRecipeProvider, \Rector\RectorGenerator\Generator\RectorGenerator $rectorGenerator) { $this->configFilesystem = $configFilesystem; $this->symfonyStyle = $symfonyStyle; @@ -58,7 +58,7 @@ final class GenerateCommand extends \RectorPrefix20220519\Symfony\Component\Cons $this->setName('generate'); $this->setDescription('[DEV] Create a new Rector, in a proper location, with new tests'); } - protected function execute(\RectorPrefix20220519\Symfony\Component\Console\Input\InputInterface $input, \RectorPrefix20220519\Symfony\Component\Console\Output\OutputInterface $output) : int + protected function execute(\RectorPrefix20220520\Symfony\Component\Console\Input\InputInterface $input, \RectorPrefix20220520\Symfony\Component\Console\Output\OutputInterface $output) : int { $rectorRecipe = $this->rectorRecipeProvider->provide(); $targetDirectory = \getcwd(); diff --git a/vendor/rector/rector-generator/src/Command/InitRecipeCommand.php b/vendor/rector/rector-generator/src/Command/InitRecipeCommand.php index 24dedc3b0b2..951d2527d4f 100644 --- a/vendor/rector/rector-generator/src/Command/InitRecipeCommand.php +++ b/vendor/rector/rector-generator/src/Command/InitRecipeCommand.php @@ -4,10 +4,10 @@ declare (strict_types=1); namespace Rector\RectorGenerator\Command; use Rector\RectorGenerator\TemplateInitializer; -use RectorPrefix20220519\Symfony\Component\Console\Command\Command; -use RectorPrefix20220519\Symfony\Component\Console\Input\InputInterface; -use RectorPrefix20220519\Symfony\Component\Console\Output\OutputInterface; -final class InitRecipeCommand extends \RectorPrefix20220519\Symfony\Component\Console\Command\Command +use RectorPrefix20220520\Symfony\Component\Console\Command\Command; +use RectorPrefix20220520\Symfony\Component\Console\Input\InputInterface; +use RectorPrefix20220520\Symfony\Component\Console\Output\OutputInterface; +final class InitRecipeCommand extends \RectorPrefix20220520\Symfony\Component\Console\Command\Command { /** * @readonly @@ -24,7 +24,7 @@ final class InitRecipeCommand extends \RectorPrefix20220519\Symfony\Component\Co $this->setName('init-recipe'); $this->setDescription('[DEV] Initialize "rector-recipe.php" config'); } - protected function execute(\RectorPrefix20220519\Symfony\Component\Console\Input\InputInterface $input, \RectorPrefix20220519\Symfony\Component\Console\Output\OutputInterface $output) : int + protected function execute(\RectorPrefix20220520\Symfony\Component\Console\Input\InputInterface $input, \RectorPrefix20220520\Symfony\Component\Console\Output\OutputInterface $output) : int { $this->templateInitializer->initialize(__DIR__ . '/../../templates/rector-recipe.php', 'rector-recipe.php'); return self::SUCCESS; diff --git a/vendor/rector/rector-generator/src/FileSystem/ConfigFilesystem.php b/vendor/rector/rector-generator/src/FileSystem/ConfigFilesystem.php index 5a368df4cd0..e8b72e32512 100644 --- a/vendor/rector/rector-generator/src/FileSystem/ConfigFilesystem.php +++ b/vendor/rector/rector-generator/src/FileSystem/ConfigFilesystem.php @@ -3,10 +3,10 @@ declare (strict_types=1); namespace Rector\RectorGenerator\FileSystem; -use RectorPrefix20220519\Nette\Utils\Strings; +use RectorPrefix20220520\Nette\Utils\Strings; use Rector\RectorGenerator\Exception\ShouldNotHappenException; use Rector\RectorGenerator\TemplateFactory; -use RectorPrefix20220519\Symplify\SmartFileSystem\SmartFileSystem; +use RectorPrefix20220520\Symplify\SmartFileSystem\SmartFileSystem; final class ConfigFilesystem { /** @@ -27,7 +27,7 @@ final class ConfigFilesystem * @var \Rector\RectorGenerator\TemplateFactory */ private $templateFactory; - public function __construct(\RectorPrefix20220519\Symplify\SmartFileSystem\SmartFileSystem $smartFileSystem, \Rector\RectorGenerator\TemplateFactory $templateFactory) + public function __construct(\RectorPrefix20220520\Symplify\SmartFileSystem\SmartFileSystem $smartFileSystem, \Rector\RectorGenerator\TemplateFactory $templateFactory) { $this->smartFileSystem = $smartFileSystem; $this->templateFactory = $templateFactory; @@ -45,7 +45,7 @@ final class ConfigFilesystem return; } $registerServiceLine = \sprintf(';' . \PHP_EOL . ' $rectorConfig->rule(\\%s::class);' . \PHP_EOL . '};', $servicesFullyQualifiedName); - $setFileContents = \RectorPrefix20220519\Nette\Utils\Strings::replace($setFileContents, self::LAST_ITEM_REGEX, $registerServiceLine); + $setFileContents = \RectorPrefix20220520\Nette\Utils\Strings::replace($setFileContents, self::LAST_ITEM_REGEX, $registerServiceLine); // 3. print the content back to file $this->smartFileSystem->dumpFile($setFilePath, $setFileContents); } diff --git a/vendor/rector/rector-generator/src/FileSystem/TemplateFileSystem.php b/vendor/rector/rector-generator/src/FileSystem/TemplateFileSystem.php index 21d0ee512c1..e99e61b8f78 100644 --- a/vendor/rector/rector-generator/src/FileSystem/TemplateFileSystem.php +++ b/vendor/rector/rector-generator/src/FileSystem/TemplateFileSystem.php @@ -3,7 +3,7 @@ declare (strict_types=1); namespace Rector\RectorGenerator\FileSystem; -use RectorPrefix20220519\Nette\Utils\Strings; +use RectorPrefix20220520\Nette\Utils\Strings; use Rector\RectorGenerator\Enum\Packages; use Rector\RectorGenerator\Finder\TemplateFinder; use Rector\RectorGenerator\TemplateFactory; @@ -50,15 +50,15 @@ final class TemplateFileSystem // normalize core package if (!$rectorRecipe->isRectorRepository()) { // special keyword for 3rd party Rectors, not for core Github contribution - $destination = \RectorPrefix20220519\Nette\Utils\Strings::replace($destination, self::PACKAGE_RULES_PATH_REGEX, 'utils/rector/src'); - $destination = \RectorPrefix20220519\Nette\Utils\Strings::replace($destination, self::PACKAGE_RULES_TESTS_PATH_REGEX, 'utils/rector/tests'); + $destination = \RectorPrefix20220520\Nette\Utils\Strings::replace($destination, self::PACKAGE_RULES_PATH_REGEX, 'utils/rector/src'); + $destination = \RectorPrefix20220520\Nette\Utils\Strings::replace($destination, self::PACKAGE_RULES_TESTS_PATH_REGEX, 'utils/rector/tests'); } // remove _Configured|_Extra prefix $destination = $this->templateFactory->create($destination, $templateVariables); - $destination = \RectorPrefix20220519\Nette\Utils\Strings::replace($destination, self::CONFIGURED_OR_EXTRA_REGEX, ''); + $destination = \RectorPrefix20220520\Nette\Utils\Strings::replace($destination, self::CONFIGURED_OR_EXTRA_REGEX, ''); // remove ".inc" protection from PHPUnit if not a test case if ($this->isNonFixtureFileWithIncSuffix($destination)) { - $destination = \RectorPrefix20220519\Nette\Utils\Strings::before($destination, '.inc'); + $destination = \RectorPrefix20220520\Nette\Utils\Strings::before($destination, '.inc'); } // special hack for tests, so PHPUnit doesn't load the generated file as a test case /** @var string $destination */ @@ -69,7 +69,7 @@ final class TemplateFileSystem } private function isNonFixtureFileWithIncSuffix(string $filePath) : bool { - if (\RectorPrefix20220519\Nette\Utils\Strings::match($filePath, self::FIXTURE_SHORT_REGEX) !== null) { + if (\RectorPrefix20220520\Nette\Utils\Strings::match($filePath, self::FIXTURE_SHORT_REGEX) !== null) { return \false; } return \substr_compare($filePath, '.inc', -\strlen('.inc')) === 0; diff --git a/vendor/rector/rector-generator/src/Finder/TemplateFinder.php b/vendor/rector/rector-generator/src/Finder/TemplateFinder.php index 2f404391409..7146ed3dd34 100644 --- a/vendor/rector/rector-generator/src/Finder/TemplateFinder.php +++ b/vendor/rector/rector-generator/src/Finder/TemplateFinder.php @@ -4,8 +4,8 @@ declare (strict_types=1); namespace Rector\RectorGenerator\Finder; use Rector\RectorGenerator\ValueObject\RectorRecipe; -use RectorPrefix20220519\Symplify\SmartFileSystem\FileSystemGuard; -use RectorPrefix20220519\Symplify\SmartFileSystem\Finder\FinderSanitizer; +use RectorPrefix20220520\Symplify\SmartFileSystem\FileSystemGuard; +use RectorPrefix20220520\Symplify\SmartFileSystem\Finder\FinderSanitizer; use Symplify\SmartFileSystem\SmartFileInfo; final class TemplateFinder { @@ -23,7 +23,7 @@ final class TemplateFinder * @var \Symplify\SmartFileSystem\FileSystemGuard */ private $fileSystemGuard; - public function __construct(\RectorPrefix20220519\Symplify\SmartFileSystem\Finder\FinderSanitizer $finderSanitizer, \RectorPrefix20220519\Symplify\SmartFileSystem\FileSystemGuard $fileSystemGuard) + public function __construct(\RectorPrefix20220520\Symplify\SmartFileSystem\Finder\FinderSanitizer $finderSanitizer, \RectorPrefix20220520\Symplify\SmartFileSystem\FileSystemGuard $fileSystemGuard) { $this->finderSanitizer = $finderSanitizer; $this->fileSystemGuard = $fileSystemGuard; diff --git a/vendor/rector/rector-generator/src/Generator/FileGenerator.php b/vendor/rector/rector-generator/src/Generator/FileGenerator.php index 5ee6c8e3666..616d8eca8d2 100644 --- a/vendor/rector/rector-generator/src/Generator/FileGenerator.php +++ b/vendor/rector/rector-generator/src/Generator/FileGenerator.php @@ -3,13 +3,13 @@ declare (strict_types=1); namespace Rector\RectorGenerator\Generator; -use RectorPrefix20220519\Nette\Utils\Strings; +use RectorPrefix20220520\Nette\Utils\Strings; use Rector\RectorGenerator\Enum\Packages; use Rector\RectorGenerator\FileSystem\TemplateFileSystem; use Rector\RectorGenerator\TemplateFactory; use Rector\RectorGenerator\ValueObject\RectorRecipe; use Symplify\SmartFileSystem\SmartFileInfo; -use RectorPrefix20220519\Symplify\SmartFileSystem\SmartFileSystem; +use RectorPrefix20220520\Symplify\SmartFileSystem\SmartFileSystem; final class FileGenerator { /** @@ -37,7 +37,7 @@ final class FileGenerator * @var \Rector\RectorGenerator\FileSystem\TemplateFileSystem */ private $templateFileSystem; - public function __construct(\RectorPrefix20220519\Symplify\SmartFileSystem\SmartFileSystem $smartFileSystem, \Rector\RectorGenerator\TemplateFactory $templateFactory, \Rector\RectorGenerator\FileSystem\TemplateFileSystem $templateFileSystem) + public function __construct(\RectorPrefix20220520\Symplify\SmartFileSystem\SmartFileSystem $smartFileSystem, \Rector\RectorGenerator\TemplateFactory $templateFactory, \Rector\RectorGenerator\FileSystem\TemplateFileSystem $templateFileSystem) { $this->smartFileSystem = $smartFileSystem; $this->templateFactory = $templateFactory; @@ -65,12 +65,12 @@ final class FileGenerator $content = $this->templateFactory->create($smartFileInfo->getContents(), $templateVariables); // replace "Rector\Utils\" with "Utils\Rector\" for 3rd party packages if (!$rectorRecipe->isRectorRepository()) { - $content = \RectorPrefix20220519\Nette\Utils\Strings::replace($content, self::RECTOR_UTILS_REGEX, 'Utils\\Rector'); - $content = \RectorPrefix20220519\Nette\Utils\Strings::replace($content, self::RECTOR_UTILS_TESTS_REGEX, 'Utils\\Rector\\Tests'); + $content = \RectorPrefix20220520\Nette\Utils\Strings::replace($content, self::RECTOR_UTILS_REGEX, 'Utils\\Rector'); + $content = \RectorPrefix20220520\Nette\Utils\Strings::replace($content, self::RECTOR_UTILS_TESTS_REGEX, 'Utils\\Rector\\Tests'); } // correct tests PSR-4 namespace for core rector packages if (\in_array($rectorRecipe->getPackage(), \Rector\RectorGenerator\Enum\Packages::RECTOR_CORE, \true)) { - $content = \RectorPrefix20220519\Nette\Utils\Strings::replace($content, '#namespace Rector\\\\Tests\\\\' . $rectorRecipe->getPackage() . '#', 'namespace Rector\\' . $rectorRecipe->getPackage() . '\\Tests'); + $content = \RectorPrefix20220520\Nette\Utils\Strings::replace($content, '#namespace Rector\\\\Tests\\\\' . $rectorRecipe->getPackage() . '#', 'namespace Rector\\' . $rectorRecipe->getPackage() . '\\Tests'); // add core package main config if (\substr_compare($targetFilePath, 'configured_rule.php', -\strlen('configured_rule.php')) === 0) { $rectorConfigLine = 'return static function (RectorConfig $rectorConfig): void {'; diff --git a/vendor/rector/rector-generator/src/Generator/RectorGenerator.php b/vendor/rector/rector-generator/src/Generator/RectorGenerator.php index 03826d58b3e..2c261618baf 100644 --- a/vendor/rector/rector-generator/src/Generator/RectorGenerator.php +++ b/vendor/rector/rector-generator/src/Generator/RectorGenerator.php @@ -7,7 +7,7 @@ use Rector\RectorGenerator\Finder\TemplateFinder; use Rector\RectorGenerator\Guard\OverrideGuard; use Rector\RectorGenerator\TemplateVariablesFactory; use Rector\RectorGenerator\ValueObject\RectorRecipe; -use RectorPrefix20220519\Symfony\Component\Console\Style\SymfonyStyle; +use RectorPrefix20220520\Symfony\Component\Console\Style\SymfonyStyle; /** * @see \Rector\RectorGenerator\Tests\RectorGenerator\RectorGeneratorTest */ @@ -38,7 +38,7 @@ final class RectorGenerator * @var \Symfony\Component\Console\Style\SymfonyStyle */ private $symfonyStyle; - public function __construct(\Rector\RectorGenerator\Finder\TemplateFinder $templateFinder, \Rector\RectorGenerator\TemplateVariablesFactory $templateVariablesFactory, \Rector\RectorGenerator\Generator\FileGenerator $fileGenerator, \Rector\RectorGenerator\Guard\OverrideGuard $overrideGuard, \RectorPrefix20220519\Symfony\Component\Console\Style\SymfonyStyle $symfonyStyle) + public function __construct(\Rector\RectorGenerator\Finder\TemplateFinder $templateFinder, \Rector\RectorGenerator\TemplateVariablesFactory $templateVariablesFactory, \Rector\RectorGenerator\Generator\FileGenerator $fileGenerator, \Rector\RectorGenerator\Guard\OverrideGuard $overrideGuard, \RectorPrefix20220520\Symfony\Component\Console\Style\SymfonyStyle $symfonyStyle) { $this->templateFinder = $templateFinder; $this->templateVariablesFactory = $templateVariablesFactory; diff --git a/vendor/rector/rector-generator/src/Guard/OverrideGuard.php b/vendor/rector/rector-generator/src/Guard/OverrideGuard.php index ff3cad6bed8..f1d7619d4a7 100644 --- a/vendor/rector/rector-generator/src/Guard/OverrideGuard.php +++ b/vendor/rector/rector-generator/src/Guard/OverrideGuard.php @@ -5,7 +5,7 @@ namespace Rector\RectorGenerator\Guard; use Rector\RectorGenerator\FileSystem\TemplateFileSystem; use Rector\RectorGenerator\ValueObject\RectorRecipe; -use RectorPrefix20220519\Symfony\Component\Console\Style\SymfonyStyle; +use RectorPrefix20220520\Symfony\Component\Console\Style\SymfonyStyle; use Symplify\SmartFileSystem\SmartFileInfo; final class OverrideGuard { @@ -19,7 +19,7 @@ final class OverrideGuard * @var \Rector\RectorGenerator\FileSystem\TemplateFileSystem */ private $templateFileSystem; - public function __construct(\RectorPrefix20220519\Symfony\Component\Console\Style\SymfonyStyle $symfonyStyle, \Rector\RectorGenerator\FileSystem\TemplateFileSystem $templateFileSystem) + public function __construct(\RectorPrefix20220520\Symfony\Component\Console\Style\SymfonyStyle $symfonyStyle, \Rector\RectorGenerator\FileSystem\TemplateFileSystem $templateFileSystem) { $this->symfonyStyle = $symfonyStyle; $this->templateFileSystem = $templateFileSystem; diff --git a/vendor/rector/rector-generator/src/NodeFactory/NodeFactory.php b/vendor/rector/rector-generator/src/NodeFactory/NodeFactory.php index 5b14d994e2f..a34c1bbfbd3 100644 --- a/vendor/rector/rector-generator/src/NodeFactory/NodeFactory.php +++ b/vendor/rector/rector-generator/src/NodeFactory/NodeFactory.php @@ -14,8 +14,8 @@ use PhpParser\Node\Expr\Variable; use PhpParser\Node\Name\FullyQualified; use PhpParser\Node\Stmt\ClassMethod; use PhpParser\Node\Stmt\Property; -use RectorPrefix20220519\Symplify\Astral\ValueObject\NodeBuilder\MethodBuilder; -use RectorPrefix20220519\Symplify\Astral\ValueObject\NodeBuilder\PropertyBuilder; +use RectorPrefix20220520\Symplify\Astral\ValueObject\NodeBuilder\MethodBuilder; +use RectorPrefix20220520\Symplify\Astral\ValueObject\NodeBuilder\PropertyBuilder; final class NodeFactory { /** @@ -46,13 +46,13 @@ final class NodeFactory } public function createPublicMethod(string $methodName) : \PhpParser\Node\Stmt\ClassMethod { - $methodBuilder = new \RectorPrefix20220519\Symplify\Astral\ValueObject\NodeBuilder\MethodBuilder($methodName); + $methodBuilder = new \RectorPrefix20220520\Symplify\Astral\ValueObject\NodeBuilder\MethodBuilder($methodName); $methodBuilder->makePublic(); return $methodBuilder->getNode(); } public function createPrivateArrayProperty(string $propertyName) : \PhpParser\Node\Stmt\Property { - $propertyBuilder = new \RectorPrefix20220519\Symplify\Astral\ValueObject\NodeBuilder\PropertyBuilder($propertyName); + $propertyBuilder = new \RectorPrefix20220520\Symplify\Astral\ValueObject\NodeBuilder\PropertyBuilder($propertyName); $propertyBuilder->makePrivate(); $docContent = <<<'CODE_SAMPLE' /** diff --git a/vendor/rector/rector-generator/src/TemplateInitializer.php b/vendor/rector/rector-generator/src/TemplateInitializer.php index c35852cb021..ec7188be679 100644 --- a/vendor/rector/rector-generator/src/TemplateInitializer.php +++ b/vendor/rector/rector-generator/src/TemplateInitializer.php @@ -3,9 +3,9 @@ declare (strict_types=1); namespace Rector\RectorGenerator; -use RectorPrefix20220519\Symfony\Component\Console\Style\SymfonyStyle; -use RectorPrefix20220519\Symplify\SmartFileSystem\FileSystemGuard; -use RectorPrefix20220519\Symplify\SmartFileSystem\SmartFileSystem; +use RectorPrefix20220520\Symfony\Component\Console\Style\SymfonyStyle; +use RectorPrefix20220520\Symplify\SmartFileSystem\FileSystemGuard; +use RectorPrefix20220520\Symplify\SmartFileSystem\SmartFileSystem; final class TemplateInitializer { /** @@ -23,7 +23,7 @@ final class TemplateInitializer * @var \Symplify\SmartFileSystem\FileSystemGuard */ private $fileSystemGuard; - public function __construct(\RectorPrefix20220519\Symfony\Component\Console\Style\SymfonyStyle $symfonyStyle, \RectorPrefix20220519\Symplify\SmartFileSystem\SmartFileSystem $smartFileSystem, \RectorPrefix20220519\Symplify\SmartFileSystem\FileSystemGuard $fileSystemGuard) + public function __construct(\RectorPrefix20220520\Symfony\Component\Console\Style\SymfonyStyle $symfonyStyle, \RectorPrefix20220520\Symplify\SmartFileSystem\SmartFileSystem $smartFileSystem, \RectorPrefix20220520\Symplify\SmartFileSystem\FileSystemGuard $fileSystemGuard) { $this->symfonyStyle = $symfonyStyle; $this->smartFileSystem = $smartFileSystem; diff --git a/vendor/rector/rector-generator/src/ValueObject/RectorRecipe.php b/vendor/rector/rector-generator/src/ValueObject/RectorRecipe.php index 557a00dce9e..b85f98b9fb6 100644 --- a/vendor/rector/rector-generator/src/ValueObject/RectorRecipe.php +++ b/vendor/rector/rector-generator/src/ValueObject/RectorRecipe.php @@ -3,8 +3,8 @@ declare (strict_types=1); namespace Rector\RectorGenerator\ValueObject; -use RectorPrefix20220519\Nette\Utils\Json; -use RectorPrefix20220519\Nette\Utils\Strings; +use RectorPrefix20220520\Nette\Utils\Json; +use RectorPrefix20220520\Nette\Utils\Strings; use PhpParser\Node; use PhpParser\Node\Expr\FuncCall; use Rector\RectorGenerator\Exception\ConfigurationException; @@ -213,7 +213,7 @@ final class RectorRecipe */ private function resolveCategory(array $nodeTypes) : void { - $this->category = (string) \RectorPrefix20220519\Nette\Utils\Strings::after($nodeTypes[0], '\\', -1); + $this->category = (string) \RectorPrefix20220520\Nette\Utils\Strings::after($nodeTypes[0], '\\', -1); } private function normalizeCode(string $code) : string { @@ -233,7 +233,7 @@ final class RectorRecipe if ($composerJsonContent === \false) { continue; } - $composerJson = \RectorPrefix20220519\Nette\Utils\Json::decode($composerJsonContent, \RectorPrefix20220519\Nette\Utils\Json::FORCE_ARRAY); + $composerJson = \RectorPrefix20220520\Nette\Utils\Json::decode($composerJsonContent, \RectorPrefix20220520\Nette\Utils\Json::FORCE_ARRAY); if (!isset($composerJson['name'])) { continue; } diff --git a/vendor/rector/rector-generator/templates/rector-recipe.php b/vendor/rector/rector-generator/templates/rector-recipe.php index 17699f985ed..db43cb84c93 100644 --- a/vendor/rector/rector-generator/templates/rector-recipe.php +++ b/vendor/rector/rector-generator/templates/rector-recipe.php @@ -1,7 +1,7 @@ services(); $services->defaults()->autowire(); // @see https://github.com/symplify/monorepo-builder#6-release-flow - $services->set(\RectorPrefix20220519\Symplify\MonorepoBuilder\Release\ReleaseWorker\TagVersionReleaseWorker::class); - $services->set(\RectorPrefix20220519\Symplify\MonorepoBuilder\Release\ReleaseWorker\PushTagReleaseWorker::class); + $services->set(\RectorPrefix20220520\Symplify\MonorepoBuilder\Release\ReleaseWorker\TagVersionReleaseWorker::class); + $services->set(\RectorPrefix20220520\Symplify\MonorepoBuilder\Release\ReleaseWorker\PushTagReleaseWorker::class); }; diff --git a/vendor/rector/rector-laravel/rector.php b/vendor/rector/rector-laravel/rector.php index 4cafb513bd9..8cf4100f095 100644 --- a/vendor/rector/rector-laravel/rector.php +++ b/vendor/rector/rector-laravel/rector.php @@ -1,7 +1,7 @@ nodeNameResolver = $nodeNameResolver; $this->nodeFactory = $nodeFactory; @@ -60,7 +60,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 \RectorPrefix20220519\Symplify\Astral\ValueObject\NodeBuilder\PropertyBuilder('model'); + $propertyBuilder = new \RectorPrefix20220520\Symplify\Astral\ValueObject\NodeBuilder\PropertyBuilder('model'); $propertyBuilder->makeProtected(); $propertyBuilder->setDefault($expr); $property = $propertyBuilder->getNode(); @@ -155,7 +155,7 @@ final class ModelFactoryNodeFactory */ private function createPublicMethod(string $name, array $stmts) : \PhpParser\Node\Stmt\ClassMethod { - $methodBuilder = new \RectorPrefix20220519\Symplify\Astral\ValueObject\NodeBuilder\MethodBuilder($name); + $methodBuilder = new \RectorPrefix20220520\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 055b5e1cd0b..22687974722 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 RectorPrefix20220519\Webmozart\Assert\Assert; +use RectorPrefix20220520\Webmozart\Assert\Assert; /** * @see \Rector\Laravel\Tests\Rector\ClassMethod\AddArgumentDefaultValueRector\AddArgumentDefaultValueRectorTest */ @@ -83,8 +83,8 @@ CODE_SAMPLE public function configure(array $configuration) : void { $addedArguments = $configuration[self::ADDED_ARGUMENTS] ?? $configuration; - \RectorPrefix20220519\Webmozart\Assert\Assert::isArray($addedArguments); - \RectorPrefix20220519\Webmozart\Assert\Assert::allIsInstanceOf($addedArguments, \Rector\Laravel\ValueObject\AddArgumentDefaultValue::class); + \RectorPrefix20220520\Webmozart\Assert\Assert::isArray($addedArguments); + \RectorPrefix20220520\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 33eb4fbc6fa..cfe56856fcc 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 RectorPrefix20220519\Symplify\Astral\ValueObject\NodeBuilder\PropertyBuilder; +use RectorPrefix20220520\Symplify\Astral\ValueObject\NodeBuilder\PropertyBuilder; use Symplify\RuleDocGenerator\ValueObject\CodeSample\CodeSample; use Symplify\RuleDocGenerator\ValueObject\RuleDefinition; -use RectorPrefix20220519\Webmozart\Assert\Assert; +use RectorPrefix20220520\Webmozart\Assert\Assert; /** * @see https://github.com/laravel/framework/pull/32856 * @@ -101,7 +101,7 @@ CODE_SAMPLE $casts = $this->valueResolver->getValue($castsPropertyProperty->default); // exclude attributes added in $casts $missingDates = \array_diff($dates, \array_keys($casts)); - \RectorPrefix20220519\Webmozart\Assert\Assert::allString($missingDates); + \RectorPrefix20220520\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)); } @@ -110,7 +110,7 @@ CODE_SAMPLE } private function createCastsProperty() : \PhpParser\Node\Stmt\Property { - $propertyBuilder = new \RectorPrefix20220519\Symplify\Astral\ValueObject\NodeBuilder\PropertyBuilder('casts'); + $propertyBuilder = new \RectorPrefix20220520\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 1224803f975..4c44bd6f94b 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 RectorPrefix20220519\Webmozart\Assert\Assert; +use RectorPrefix20220520\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); - \RectorPrefix20220519\Webmozart\Assert\Assert::allString($states); + \RectorPrefix20220520\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 fd44490d566..47ae9a1f16c 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 RectorPrefix20220519\Symplify\PackageBuilder\Php\TypeChecker; +use RectorPrefix20220520\Symplify\PackageBuilder\Php\TypeChecker; use Symplify\RuleDocGenerator\ValueObject\CodeSample\ConfiguredCodeSample; use Symplify\RuleDocGenerator\ValueObject\RuleDefinition; -use RectorPrefix20220519\Webmozart\Assert\Assert; +use RectorPrefix20220520\Webmozart\Assert\Assert; /** * @see https://github.com/laravel/laravel/pull/5670 * @see https://github.com/laravel/framework/pull/38868 @@ -55,7 +55,7 @@ final class OptionalToNullsafeOperatorRector extends \Rector\Core\Rector\Abstrac * @var \Rector\Core\NodeAnalyzer\ArgsAnalyzer */ private $argsAnalyzer; - public function __construct(\RectorPrefix20220519\Symplify\PackageBuilder\Php\TypeChecker $typeChecker, \Rector\Core\NodeAnalyzer\ArgsAnalyzer $argsAnalyzer) + public function __construct(\RectorPrefix20220520\Symplify\PackageBuilder\Php\TypeChecker $typeChecker, \Rector\Core\NodeAnalyzer\ArgsAnalyzer $argsAnalyzer) { $this->typeChecker = $typeChecker; $this->argsAnalyzer = $argsAnalyzer; @@ -126,8 +126,8 @@ CODE_SAMPLE public function configure(array $configuration) : void { $excludeMethods = $configuration[self::EXCLUDE_METHODS] ?? $configuration; - \RectorPrefix20220519\Webmozart\Assert\Assert::isArray($excludeMethods); - \RectorPrefix20220519\Webmozart\Assert\Assert::allString($excludeMethods); + \RectorPrefix20220520\Webmozart\Assert\Assert::isArray($excludeMethods); + \RectorPrefix20220520\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 70a7a937a49..0c3ad938706 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 RectorPrefix20220519\Webmozart\Assert\Assert; +use RectorPrefix20220520\Webmozart\Assert\Assert; /** * @see https://laravel.com/docs/8.x/upgrade#automatic-controller-namespace-prefixing * @@ -117,12 +117,12 @@ CODE_SAMPLE public function configure(array $configuration) : void { $routes = $configuration[self::ROUTES] ?? []; - \RectorPrefix20220519\Webmozart\Assert\Assert::isArray($routes); - \RectorPrefix20220519\Webmozart\Assert\Assert::allString(\array_keys($routes)); - \RectorPrefix20220519\Webmozart\Assert\Assert::allString($routes); + \RectorPrefix20220520\Webmozart\Assert\Assert::isArray($routes); + \RectorPrefix20220520\Webmozart\Assert\Assert::allString(\array_keys($routes)); + \RectorPrefix20220520\Webmozart\Assert\Assert::allString($routes); $this->routes = $routes; $namespace = $configuration[self::NAMESPACE] ?? self::DEFAULT_NAMESPACE; - \RectorPrefix20220519\Webmozart\Assert\Assert::string($namespace); + \RectorPrefix20220520\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 044fa252470..ad32a753b0d 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(\RectorPrefix20220519\Nette\Neon\Decoder::class); + $services->set(\RectorPrefix20220520\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 974c8044aa2..7e5016207fc 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(\RectorPrefix20220519\Symplify\MonorepoBuilder\Release\ReleaseWorker\TagVersionReleaseWorker::class); - $services->set(\RectorPrefix20220519\Symplify\MonorepoBuilder\Release\ReleaseWorker\PushTagReleaseWorker::class); + $services->set(\RectorPrefix20220520\Symplify\MonorepoBuilder\Release\ReleaseWorker\TagVersionReleaseWorker::class); + $services->set(\RectorPrefix20220520\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 4515af24581..6635620f8f7 100644 --- a/vendor/rector/rector-nette/packages/NeonParser/Contract/NeonNodeVisitorInterface.php +++ b/vendor/rector/rector-nette/packages/NeonParser/Contract/NeonNodeVisitorInterface.php @@ -2,12 +2,12 @@ namespace Rector\Nette\NeonParser\Contract; -use RectorPrefix20220519\Nette\Neon\Node; +use RectorPrefix20220520\Nette\Neon\Node; interface NeonNodeVisitorInterface { /** * @return class-string<\PhpParser\Node> */ public function getNodeType() : string; - public function enterNode(\RectorPrefix20220519\Nette\Neon\Node $node) : \RectorPrefix20220519\Nette\Neon\Node; + public function enterNode(\RectorPrefix20220520\Nette\Neon\Node $node) : \RectorPrefix20220520\Nette\Neon\Node; } diff --git a/vendor/rector/rector-nette/packages/NeonParser/NeonNodeTraverser.php b/vendor/rector/rector-nette/packages/NeonParser/NeonNodeTraverser.php index 69876a52caf..71b1acd5369 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 RectorPrefix20220519\Nette\Neon\Node; +use RectorPrefix20220520\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(\RectorPrefix20220519\Nette\Neon\Node $node) : \RectorPrefix20220519\Nette\Neon\Node + public function traverse(\RectorPrefix20220520\Nette\Neon\Node $node) : \RectorPrefix20220520\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 b9672c5cb05..faae015c8de 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 RectorPrefix20220519\Nette\Neon\Decoder; -use RectorPrefix20220519\Nette\Neon\Node; +use RectorPrefix20220520\Nette\Neon\Decoder; +use RectorPrefix20220520\Nette\Neon\Node; final class NeonParser { /** * @var \Nette\Neon\Decoder */ private $decoder; - public function __construct(\RectorPrefix20220519\Nette\Neon\Decoder $decoder) + public function __construct(\RectorPrefix20220520\Nette\Neon\Decoder $decoder) { $this->decoder = $decoder; } - public function parseString(string $neonContent) : \RectorPrefix20220519\Nette\Neon\Node + public function parseString(string $neonContent) : \RectorPrefix20220520\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 20a7d5f9ed8..cb9f1c606da 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 RectorPrefix20220519\Nette\Neon\Node; +use RectorPrefix20220520\Nette\Neon\Node; use Rector\Nette\NeonParser\Exception\UnusedVirtualMethodException; -abstract class AbstractVirtualNode extends \RectorPrefix20220519\Nette\Neon\Node +abstract class AbstractVirtualNode extends \RectorPrefix20220520\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 73c92c88983..5f63cf983c2 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 RectorPrefix20220519\Nette\Neon\Node; -use RectorPrefix20220519\Nette\Neon\Node\LiteralNode; +use RectorPrefix20220520\Nette\Neon\Node; +use RectorPrefix20220520\Nette\Neon\Node\LiteralNode; use Rector\Nette\NeonParser\Node\Service_\SetupMethodCall; /** * Metanode for easier subscribing @@ -62,10 +62,10 @@ final class Service_ extends \Rector\Nette\NeonParser\Node\AbstractVirtualNode */ public function &getIterator() : \Generator { - if ($this->classLiteralNode instanceof \RectorPrefix20220519\Nette\Neon\Node\LiteralNode) { + if ($this->classLiteralNode instanceof \RectorPrefix20220520\Nette\Neon\Node\LiteralNode) { (yield $this->classLiteralNode); } - if ($this->factoryLiteralNode instanceof \RectorPrefix20220519\Nette\Neon\Node\LiteralNode) { + if ($this->factoryLiteralNode instanceof \RectorPrefix20220520\Nette\Neon\Node\LiteralNode) { (yield $this->factoryLiteralNode); } foreach ($this->setupMethodCalls as $setupMethodCall) { 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 22b38fb7051..33759e50711 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 RectorPrefix20220519\Nette\Neon\Node\EntityNode; -use RectorPrefix20220519\Nette\Neon\Node\LiteralNode; +use RectorPrefix20220520\Nette\Neon\Node\EntityNode; +use RectorPrefix20220520\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, \RectorPrefix20220519\Nette\Neon\Node\LiteralNode $methodNameLiteralNode, \RectorPrefix20220519\Nette\Neon\Node\EntityNode $entityNode) + public function __construct(string $className, \RectorPrefix20220520\Nette\Neon\Node\LiteralNode $methodNameLiteralNode, \RectorPrefix20220520\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 fb15365be61..00f1fa8c14c 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 RectorPrefix20220519\Nette\Neon\Node\ArrayItemNode; -use RectorPrefix20220519\Nette\Neon\Node\ArrayNode; -use RectorPrefix20220519\Nette\Neon\Node\EntityNode; -use RectorPrefix20220519\Nette\Neon\Node\LiteralNode; +use RectorPrefix20220520\Nette\Neon\Node\ArrayItemNode; +use RectorPrefix20220520\Nette\Neon\Node\ArrayNode; +use RectorPrefix20220520\Nette\Neon\Node\EntityNode; +use RectorPrefix20220520\Nette\Neon\Node\LiteralNode; use Rector\Nette\NeonParser\Node\Service_; -use RectorPrefix20220519\Nette\Neon\Node; +use RectorPrefix20220520\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(\RectorPrefix20220519\Nette\Neon\Node $node) + public function create(\RectorPrefix20220520\Nette\Neon\Node $node) { - if (!$node instanceof \RectorPrefix20220519\Nette\Neon\Node\ArrayItemNode) { + if (!$node instanceof \RectorPrefix20220520\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(\RectorPrefix20220519\Nette\Neon\Node\ArrayItemNode $arrayItemNode, string $keyword) + private function resolveArrayItemByKeyword(\RectorPrefix20220520\Nette\Neon\Node\ArrayItemNode $arrayItemNode, string $keyword) { - if (!$arrayItemNode->value instanceof \RectorPrefix20220519\Nette\Neon\Node\ArrayNode) { + if (!$arrayItemNode->value instanceof \RectorPrefix20220520\Nette\Neon\Node\ArrayNode) { return null; } $arrayNode = $arrayItemNode->value; foreach ($arrayNode->items as $arrayItemNode) { - if (!$arrayItemNode->key instanceof \RectorPrefix20220519\Nette\Neon\Node\LiteralNode) { + if (!$arrayItemNode->key instanceof \RectorPrefix20220520\Nette\Neon\Node\LiteralNode) { continue; } if ($arrayItemNode->key->toString() !== $keyword) { continue; } - if ($arrayItemNode->value instanceof \RectorPrefix20220519\Nette\Neon\Node\EntityNode) { + if ($arrayItemNode->value instanceof \RectorPrefix20220520\Nette\Neon\Node\EntityNode) { return $arrayItemNode->value->value; } - if ($arrayItemNode->value instanceof \RectorPrefix20220519\Nette\Neon\Node\LiteralNode) { + if ($arrayItemNode->value instanceof \RectorPrefix20220520\Nette\Neon\Node\LiteralNode) { return $arrayItemNode->value; } } @@ -70,26 +70,26 @@ final class ServiceFactory /** * @return SetupMethodCall[] */ - private function resolveSetupMethodCalls(string $className, \RectorPrefix20220519\Nette\Neon\Node\ArrayItemNode $arrayItemNode) : array + private function resolveSetupMethodCalls(string $className, \RectorPrefix20220520\Nette\Neon\Node\ArrayItemNode $arrayItemNode) : array { - if (!$arrayItemNode->value instanceof \RectorPrefix20220519\Nette\Neon\Node\ArrayNode) { + if (!$arrayItemNode->value instanceof \RectorPrefix20220520\Nette\Neon\Node\ArrayNode) { return []; } $setupMethodCalls = []; $arrayNode = $arrayItemNode->value; foreach ($arrayNode->items as $arrayItemNode) { - if ($arrayItemNode->key instanceof \RectorPrefix20220519\Nette\Neon\Node\LiteralNode) { + if ($arrayItemNode->key instanceof \RectorPrefix20220520\Nette\Neon\Node\LiteralNode) { if ($arrayItemNode->key->toString() !== self::SETUP_KEYWORD) { continue; } - if (!$arrayItemNode->value instanceof \RectorPrefix20220519\Nette\Neon\Node\ArrayNode) { + if (!$arrayItemNode->value instanceof \RectorPrefix20220520\Nette\Neon\Node\ArrayNode) { continue; } foreach ($arrayItemNode->value->items as $setupArrayItemNode) { - if ($setupArrayItemNode->value instanceof \RectorPrefix20220519\Nette\Neon\Node\EntityNode) { + if ($setupArrayItemNode->value instanceof \RectorPrefix20220520\Nette\Neon\Node\EntityNode) { // probably method call $entityNode = $setupArrayItemNode->value; - if ($entityNode->value instanceof \RectorPrefix20220519\Nette\Neon\Node\LiteralNode) { + if ($entityNode->value instanceof \RectorPrefix20220520\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 c5b2dbf6582..86cc11f665e 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 RectorPrefix20220519\Nette\Neon\Node; -use RectorPrefix20220519\Nette\Utils\Strings; +use RectorPrefix20220520\Nette\Neon\Node; +use RectorPrefix20220520\Nette\Utils\Strings; final class FormatPreservingNeonPrinter { /** @@ -15,20 +15,20 @@ final class FormatPreservingNeonPrinter * @var string */ private const INDENT_SPACES = 'spaces'; - public function printNode(\RectorPrefix20220519\Nette\Neon\Node $node, string $originalContenet) : string + public function printNode(\RectorPrefix20220520\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 \RectorPrefix20220519\Nette\Utils\Strings::replace($neonContent, '#\\"#', '\''); + return \RectorPrefix20220520\Nette\Utils\Strings::replace($neonContent, '#\\"#', '\''); } /** * Some files prefer tabs, some spaces. This will resolve first found space. */ private function resolveIndentType(string $neonContent) : string { - $indentMatch = \RectorPrefix20220519\Nette\Utils\Strings::match($neonContent, '#(\\t| )#ms'); + $indentMatch = \RectorPrefix20220520\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 \RectorPrefix20220519\Nette\Utils\Strings::replace($neonContent, '#\\t#', ' '); + return \RectorPrefix20220520\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 4cf7c8bd359..12473e77762 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 RectorPrefix20220519\Nette\Neon\Node; -use RectorPrefix20220519\Nette\Neon\Node\ArrayItemNode; -use RectorPrefix20220519\Nette\Neon\Node\ArrayNode; -use RectorPrefix20220519\Nette\Neon\Node\EntityNode; +use RectorPrefix20220520\Nette\Neon\Node; +use RectorPrefix20220520\Nette\Neon\Node\ArrayItemNode; +use RectorPrefix20220520\Nette\Neon\Node\ArrayNode; +use RectorPrefix20220520\Nette\Neon\Node\EntityNode; final class ServiceTypeResolver { /** @@ -20,12 +20,12 @@ final class ServiceTypeResolver /** * @return string|null */ - public function resolve(\RectorPrefix20220519\Nette\Neon\Node $serviceNode) + public function resolve(\RectorPrefix20220520\Nette\Neon\Node $serviceNode) { - if (!$serviceNode instanceof \RectorPrefix20220519\Nette\Neon\Node\ArrayItemNode) { + if (!$serviceNode instanceof \RectorPrefix20220520\Nette\Neon\Node\ArrayItemNode) { return null; } - if (!$serviceNode->value instanceof \RectorPrefix20220519\Nette\Neon\Node\ArrayNode) { + if (!$serviceNode->value instanceof \RectorPrefix20220520\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 \RectorPrefix20220519\Nette\Neon\Node\EntityNode) { + if ($serviceConfigurationItem->value instanceof \RectorPrefix20220520\Nette\Neon\Node\EntityNode) { return $serviceConfigurationItem->value->value->toString(); } return $serviceConfigurationItem->value->toString(); } if ($serviceConfigurationItem->key->toString() === self::CLASS_KEYWORD) { - if ($serviceConfigurationItem->value instanceof \RectorPrefix20220519\Nette\Neon\Node\EntityNode) { + if ($serviceConfigurationItem->value instanceof \RectorPrefix20220520\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 70928baebee..bcc575851ec 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 = \RectorPrefix20220519\Nette\Utils\Strings::substring($property, \strlen('on')); + $shortPropertyName = \RectorPrefix20220520\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 0419011ee46..bdc7072998a 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 RectorPrefix20220519\Nette\Utils\Strings; +use RectorPrefix20220520\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 RectorPrefix20220519\Symplify\Astral\ValueObject\NodeBuilder\ClassBuilder; -use RectorPrefix20220519\Symplify\Astral\ValueObject\NodeBuilder\MethodBuilder; -use RectorPrefix20220519\Symplify\Astral\ValueObject\NodeBuilder\NamespaceBuilder; +use RectorPrefix20220520\Symplify\Astral\ValueObject\NodeBuilder\ClassBuilder; +use RectorPrefix20220520\Symplify\Astral\ValueObject\NodeBuilder\MethodBuilder; +use RectorPrefix20220520\Symplify\Astral\ValueObject\NodeBuilder\NamespaceBuilder; /** * @todo decouple to generic object factory for better re-use, e.g. this is just value object pattern */ @@ -70,10 +70,10 @@ final class EventValueObjectClassFactory $nodeTraverser->traverse([$class]); return $this->wrapClassToNamespace($className, $class); } - private function createEventClassBuilder(string $className) : \RectorPrefix20220519\Symplify\Astral\ValueObject\NodeBuilder\ClassBuilder + private function createEventClassBuilder(string $className) : \RectorPrefix20220520\Symplify\Astral\ValueObject\NodeBuilder\ClassBuilder { $shortClassName = $this->classNaming->getShortName($className); - $classBuilder = new \RectorPrefix20220519\Symplify\Astral\ValueObject\NodeBuilder\ClassBuilder($shortClassName); + $classBuilder = new \RectorPrefix20220520\Symplify\Astral\ValueObject\NodeBuilder\ClassBuilder($shortClassName); $classBuilder->makeFinal(); $classBuilder->extend(new \PhpParser\Node\Name\FullyQualified('Symfony\\Contracts\\EventDispatcher\\Event')); return $classBuilder; @@ -81,7 +81,7 @@ final class EventValueObjectClassFactory /** * @param Arg[] $args */ - private function decorateWithConstructorIfHasArgs(\RectorPrefix20220519\Symplify\Astral\ValueObject\NodeBuilder\ClassBuilder $classBuilder, array $args) : void + private function decorateWithConstructorIfHasArgs(\RectorPrefix20220520\Symplify\Astral\ValueObject\NodeBuilder\ClassBuilder $classBuilder, array $args) : void { if ($args === []) { return; @@ -103,15 +103,15 @@ final class EventValueObjectClassFactory } private function wrapClassToNamespace(string $className, \PhpParser\Node\Stmt\Class_ $class) : \PhpParser\Node\Stmt\Namespace_ { - $namespace = \RectorPrefix20220519\Nette\Utils\Strings::before($className, '\\', -1); - $namespaceBuilder = new \RectorPrefix20220519\Symplify\Astral\ValueObject\NodeBuilder\NamespaceBuilder($namespace); + $namespace = \RectorPrefix20220520\Nette\Utils\Strings::before($className, '\\', -1); + $namespaceBuilder = new \RectorPrefix20220520\Symplify\Astral\ValueObject\NodeBuilder\NamespaceBuilder($namespace); $namespaceBuilder->addStmt($class); return $namespaceBuilder->getNode(); } /** * @param VariableWithType[] $variablesWithTypes */ - private function ensureVariablesAreUnique(array $variablesWithTypes, \RectorPrefix20220519\Symplify\Astral\ValueObject\NodeBuilder\ClassBuilder $classBuilder) : void + private function ensureVariablesAreUnique(array $variablesWithTypes, \RectorPrefix20220520\Symplify\Astral\ValueObject\NodeBuilder\ClassBuilder $classBuilder) : void { $usedVariableNames = []; foreach ($variablesWithTypes as $variablesWithType) { @@ -128,7 +128,7 @@ final class EventValueObjectClassFactory */ private function createConstructClassMethod(array $variableWithTypes) : \PhpParser\Node\Stmt\ClassMethod { - $methodBuilder = new \RectorPrefix20220519\Symplify\Astral\ValueObject\NodeBuilder\MethodBuilder(\Rector\Core\ValueObject\MethodName::CONSTRUCT); + $methodBuilder = new \RectorPrefix20220520\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 5e57bed7226..e7c0c1a4faf 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 RectorPrefix20220519\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser; +use RectorPrefix20220520\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser; final class GetSubscribedEventsArrayManipulator { /** @@ -23,7 +23,7 @@ final class GetSubscribedEventsArrayManipulator * @var \Rector\Core\PhpParser\Node\Value\ValueResolver */ private $valueResolver; - public function __construct(\RectorPrefix20220519\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser $simpleCallableNodeTraverser, \Rector\Core\PhpParser\Node\Value\ValueResolver $valueResolver) + public function __construct(\RectorPrefix20220520\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 4737feac246..3073a0a2066 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 RectorPrefix20220519\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser; +use RectorPrefix20220520\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser; final class ListeningMethodsCollector { /** @@ -49,7 +49,7 @@ final class ListeningMethodsCollector * @var \Rector\Core\PhpParser\Node\BetterNodeFinder */ private $betterNodeFinder; - public function __construct(\RectorPrefix20220519\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(\RectorPrefix20220520\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 d5c81a70062..84ac6bb2174 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 RectorPrefix20220519\Nette\Utils\Strings; +use RectorPrefix20220520\Nette\Utils\Strings; use PhpParser\Node; use PhpParser\Node\Expr; use PhpParser\Node\Expr\Array_; @@ -164,7 +164,7 @@ CODE_SAMPLE throw new \Rector\Core\Exception\ShouldNotHappenException(); } if (\strpos($kdybyEventName, '::') !== \false) { - return (string) \RectorPrefix20220519\Nette\Utils\Strings::after($kdybyEventName, '::', -1); + return (string) \RectorPrefix20220520\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 7e6dcd45c12..dd523a2c203 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 RectorPrefix20220519\Nette\Utils\Strings; +use RectorPrefix20220520\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 = \RectorPrefix20220519\Nette\Utils\Strings::match($content, self::TEMPLATE_TYPE_REGEX); + $templateTypeMatch = \RectorPrefix20220520\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 e5b861e4db4..b8f71f6ab37 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 RectorPrefix20220519\Nette\Utils\Strings; +use RectorPrefix20220520\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 = \RectorPrefix20220519\Nette\Utils\Strings::matchAll($content, self::VAR_TYPE_REGEX); + $matches = \RectorPrefix20220520\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 297db888f77..e25bfd22758 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 RectorPrefix20220519\Symfony\Component\String\UnicodeString; +use RectorPrefix20220520\Symfony\Component\String\UnicodeString; final class NetteControlNaming { public function createVariableName(string $shortName) : string { - $variableNameUnicodeString = new \RectorPrefix20220519\Symfony\Component\String\UnicodeString($shortName); + $variableNameUnicodeString = new \RectorPrefix20220520\Symfony\Component\String\UnicodeString($shortName); $variableName = $variableNameUnicodeString->camel()->toString(); if (\substr_compare($variableName, 'Form', -\strlen('Form')) === 0) { return $variableName; @@ -17,7 +17,7 @@ final class NetteControlNaming } public function createCreateComponentClassMethodName(string $shortName) : string { - $shortNameUnicodeString = new \RectorPrefix20220519\Symfony\Component\String\UnicodeString($shortName); + $shortNameUnicodeString = new \RectorPrefix20220520\Symfony\Component\String\UnicodeString($shortName); $componentName = $shortNameUnicodeString->upper()->camel()->toString(); return 'createComponent' . $componentName; } diff --git a/vendor/rector/rector-nette/src/NodeAnalyzer/ArrayDimFetchRenamer.php b/vendor/rector/rector-nette/src/NodeAnalyzer/ArrayDimFetchRenamer.php index 0e9b7045126..cac80abf6fd 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 RectorPrefix20220519\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser; +use RectorPrefix20220520\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser; final class ArrayDimFetchRenamer { /** @@ -26,7 +26,7 @@ final class ArrayDimFetchRenamer * @var \Rector\Core\PhpParser\Comparing\NodeComparator */ private $nodeComparator; - public function __construct(\RectorPrefix20220519\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser $simpleCallableNodeTraverser, \Rector\Core\PhpParser\Comparing\NodeComparator $nodeComparator) + public function __construct(\RectorPrefix20220520\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 89d34c1fa54..0215267fd52 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 RectorPrefix20220519\Symplify\Astral\ValueObject\NodeBuilder\MethodBuilder; -use RectorPrefix20220519\Symplify\Astral\ValueObject\NodeBuilder\ParamBuilder; +use RectorPrefix20220520\Symplify\Astral\ValueObject\NodeBuilder\MethodBuilder; +use RectorPrefix20220520\Symplify\Astral\ValueObject\NodeBuilder\ParamBuilder; final class CheckRequirementsClassMethodFactory { /** @@ -32,9 +32,9 @@ final class CheckRequirementsClassMethodFactory */ public function create(array $getUserStmts) : \PhpParser\Node\Stmt\ClassMethod { - $methodBuilder = new \RectorPrefix20220519\Symplify\Astral\ValueObject\NodeBuilder\MethodBuilder(self::CHECK_REQUIREMENTS_METHOD_NAME); + $methodBuilder = new \RectorPrefix20220520\Symplify\Astral\ValueObject\NodeBuilder\MethodBuilder(self::CHECK_REQUIREMENTS_METHOD_NAME); $methodBuilder->makePublic(); - $paramBuilder = new \RectorPrefix20220519\Symplify\Astral\ValueObject\NodeBuilder\ParamBuilder('element'); + $paramBuilder = new \RectorPrefix20220520\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 00f3a80399a..913d20e5642 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 RectorPrefix20220519\Symplify\Astral\ValueObject\NodeBuilder\ClassBuilder; -use RectorPrefix20220519\Symplify\Astral\ValueObject\NodeBuilder\NamespaceBuilder; -use RectorPrefix20220519\Symplify\Astral\ValueObject\NodeBuilder\PropertyBuilder; -use RectorPrefix20220519\Symplify\Astral\ValueObject\NodeBuilder\TraitUseBuilder; +use RectorPrefix20220520\Symplify\Astral\ValueObject\NodeBuilder\ClassBuilder; +use RectorPrefix20220520\Symplify\Astral\ValueObject\NodeBuilder\NamespaceBuilder; +use RectorPrefix20220520\Symplify\Astral\ValueObject\NodeBuilder\PropertyBuilder; +use RectorPrefix20220520\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 \RectorPrefix20220519\Symplify\Astral\ValueObject\NodeBuilder\NamespaceBuilder($namespace); + $namespaceBuilder = new \RectorPrefix20220520\Symplify\Astral\ValueObject\NodeBuilder\NamespaceBuilder($namespace); } - $classBuilder = new \RectorPrefix20220519\Symplify\Astral\ValueObject\NodeBuilder\ClassBuilder($className); + $classBuilder = new \RectorPrefix20220520\Symplify\Astral\ValueObject\NodeBuilder\ClassBuilder($className); if ($parent !== null && $parent !== '') { $classBuilder->extend($this->fixFullyQualifiedName($parent)); } foreach ($traits as $trait) { - $classBuilder->addStmt(new \RectorPrefix20220519\Symplify\Astral\ValueObject\NodeBuilder\TraitUseBuilder($this->fixFullyQualifiedName($trait))); + $classBuilder->addStmt(new \RectorPrefix20220520\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 \RectorPrefix20220519\Symplify\Astral\ValueObject\NodeBuilder\PropertyBuilder($propertyName); + $propertyBuilder = new \RectorPrefix20220520\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 0929694168e..8d8d27ea1a9 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 RectorPrefix20220519\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser; +use RectorPrefix20220520\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser; final class ParentGetterStmtsToExternalStmtsFactory { /** @@ -31,7 +31,7 @@ final class ParentGetterStmtsToExternalStmtsFactory * @var \Rector\Core\PhpParser\Comparing\NodeComparator */ private $nodeComparator; - public function __construct(\Rector\NodeTypeResolver\NodeTypeResolver $nodeTypeResolver, \RectorPrefix20220519\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser $simpleCallableNodeTraverser, \Rector\Core\PhpParser\Comparing\NodeComparator $nodeComparator) + public function __construct(\Rector\NodeTypeResolver\NodeTypeResolver $nodeTypeResolver, \RectorPrefix20220520\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 5632f4f3cac..b6501e12264 100644 --- a/vendor/rector/rector-nette/src/Rector/Class_/FormDataRector.php +++ b/vendor/rector/rector-nette/src/Rector/Class_/FormDataRector.php @@ -21,7 +21,7 @@ use Rector\Nette\NodeFinder\FormOnSuccessCallbackValuesParamFinder; use Rector\Nette\NodeFinder\FormVariableFinder; use Symplify\RuleDocGenerator\ValueObject\CodeSample\ConfiguredCodeSample; use Symplify\RuleDocGenerator\ValueObject\RuleDefinition; -use RectorPrefix20220519\Webmozart\Assert\Assert; +use RectorPrefix20220520\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 @@ -134,13 +134,13 @@ CODE_SAMPLE { if (isset($configuration[self::FORM_DATA_CLASS_PARENT])) { $formDataClassParent = $configuration[self::FORM_DATA_CLASS_PARENT]; - \RectorPrefix20220519\Webmozart\Assert\Assert::string($formDataClassParent); + \RectorPrefix20220520\Webmozart\Assert\Assert::string($formDataClassParent); $this->formDataClassParent = $formDataClassParent; } if (isset($configuration[self::FORM_DATA_CLASS_TRAITS])) { $formDataClassTraits = $configuration[self::FORM_DATA_CLASS_TRAITS]; - \RectorPrefix20220519\Webmozart\Assert\Assert::isArray($formDataClassTraits); - \RectorPrefix20220519\Webmozart\Assert\Assert::allString($formDataClassTraits); + \RectorPrefix20220520\Webmozart\Assert\Assert::isArray($formDataClassTraits); + \RectorPrefix20220520\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 5e6783778fe..c5f95c6d607 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 RectorPrefix20220519\Nette\Utils\Strings; +use RectorPrefix20220520\Nette\Utils\Strings; use PhpParser\Node; use PhpParser\Node\Expr\Assign; use PhpParser\Node\Expr\PropertyFetch; @@ -21,7 +21,7 @@ use Rector\Nette\NodeFactory\ClassWithPublicPropertiesFactory; use Rector\Nette\ValueObject\LatteVariableType; use Symplify\RuleDocGenerator\ValueObject\CodeSample\ConfiguredCodeSample; use Symplify\RuleDocGenerator\ValueObject\RuleDefinition; -use RectorPrefix20220519\Webmozart\Assert\Assert; +use RectorPrefix20220520\Webmozart\Assert\Assert; /** * @see \Rector\Nette\Tests\Rector\Class_\TemplateTypeBasedOnPresenterTemplateParametersRector\TemplateTypeBasedOnPresenterTemplateParametersRectorTest */ @@ -124,12 +124,12 @@ CODE_SAMPLE { if (isset($configuration[self::TEMPLATE_CLASS_PARENT])) { $templateClassParent = $configuration[self::TEMPLATE_CLASS_PARENT]; - \RectorPrefix20220519\Webmozart\Assert\Assert::string($templateClassParent); + \RectorPrefix20220520\Webmozart\Assert\Assert::string($templateClassParent); $this->templateClassParent = $templateClassParent; } if (isset($configuration[self::TEMPLATE_CLASS_TRAITS])) { $templateClassTraits = $configuration[self::TEMPLATE_CLASS_TRAITS]; - \RectorPrefix20220519\Webmozart\Assert\Assert::isArray($templateClassTraits); + \RectorPrefix20220520\Webmozart\Assert\Assert::isArray($templateClassTraits); $this->templateClassTraits = $templateClassTraits; } } @@ -228,7 +228,7 @@ CODE_SAMPLE $upperCasedActionName = \ucfirst($actionName); $templateClassName = $presenterName . $upperCasedActionName . 'Template'; $presenterPattern = '#Presenter$#'; - $fullTemplateClassName = '\\' . \RectorPrefix20220519\Nette\Utils\Strings::replace($fullPresenterName, $presenterPattern, $upperCasedActionName . 'Template'); + $fullTemplateClassName = '\\' . \RectorPrefix20220520\Nette\Utils\Strings::replace($fullPresenterName, $presenterPattern, $upperCasedActionName . 'Template'); $templateClass = $this->classWithPublicPropertiesFactory->createNode($fullTemplateClassName, $properties, $this->templateClassParent, $this->templateClassTraits); $printedClassContent = "nodePrinter->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 1e1144f5fb7..7f35ab9e972 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 RectorPrefix20220519\Nette\Utils\Strings; +use RectorPrefix20220520\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 = \RectorPrefix20220519\Nette\Utils\Strings::match($patternValue, self::SLASH_REGEX); + $match = \RectorPrefix20220520\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 ec550bc22eb..74c14fc6377 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 RectorPrefix20220519\Nette\Utils\DateTime; +use RectorPrefix20220520\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 = [\RectorPrefix20220519\Nette\Utils\DateTime::HOUR => 'HOUR', \RectorPrefix20220519\Nette\Utils\DateTime::DAY => 'DAY', \RectorPrefix20220519\Nette\Utils\DateTime::WEEK => 'WEEK', \RectorPrefix20220519\Nette\Utils\DateTime::MONTH => 'MONTH', \RectorPrefix20220519\Nette\Utils\DateTime::YEAR => 'YEAR']; + private const NUMBER_TO_CONSTANT_NAME = [\RectorPrefix20220520\Nette\Utils\DateTime::HOUR => 'HOUR', \RectorPrefix20220520\Nette\Utils\DateTime::DAY => 'DAY', \RectorPrefix20220520\Nette\Utils\DateTime::WEEK => 'WEEK', \RectorPrefix20220520\Nette\Utils\DateTime::MONTH => 'MONTH', \RectorPrefix20220520\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 b64408d653a..559d9e23a3a 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 RectorPrefix20220519\Nette\Neon\Node; +use RectorPrefix20220520\Nette\Neon\Node; use Rector\Nette\Contract\Rector\NeonRectorInterface; use Rector\Nette\NeonParser\Node\Service_\SetupMethodCall; use Rector\Renaming\Collector\MethodCallRenameCollector; @@ -51,7 +51,7 @@ CODE_SAMPLE * @param SetupMethodCall $node * @return \Nette\Neon\Node|null */ - public function enterNode(\RectorPrefix20220519\Nette\Neon\Node $node) + public function enterNode(\RectorPrefix20220520\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 9367436cee0..77dbe306aad 100644 --- a/vendor/rector/rector-phpoffice/config/config.php +++ b/vendor/rector/rector-phpoffice/config/config.php @@ -1,7 +1,7 @@ services(); // @see https://github.com/symplify/monorepo-builder#6-release-flow - $services->set(\RectorPrefix20220519\Symplify\MonorepoBuilder\Release\ReleaseWorker\TagVersionReleaseWorker::class); - $services->set(\RectorPrefix20220519\Symplify\MonorepoBuilder\Release\ReleaseWorker\PushTagReleaseWorker::class); + $services->set(\RectorPrefix20220520\Symplify\MonorepoBuilder\Release\ReleaseWorker\TagVersionReleaseWorker::class); + $services->set(\RectorPrefix20220520\Symplify\MonorepoBuilder\Release\ReleaseWorker\PushTagReleaseWorker::class); }; diff --git a/vendor/rector/rector-phpoffice/rector.php b/vendor/rector/rector-phpoffice/rector.php index 1127e474073..11cda642a78 100644 --- a/vendor/rector/rector-phpoffice/rector.php +++ b/vendor/rector/rector-phpoffice/rector.php @@ -1,7 +1,7 @@ parameters(); - $parameters->set(\RectorPrefix20220519\Symplify\EasyCI\ValueObject\Option::TYPES_TO_SKIP, [\Rector\PHPUnit\Naming\TestClassNameResolverInterface::class, \Rector\Core\Contract\Rector\RectorInterface::class, \Rector\Set\Contract\SetListInterface::class]); + $parameters->set(\RectorPrefix20220520\Symplify\EasyCI\ValueObject\Option::TYPES_TO_SKIP, [\Rector\PHPUnit\Naming\TestClassNameResolverInterface::class, \Rector\Core\Contract\Rector\RectorInterface::class, \Rector\Set\Contract\SetListInterface::class]); }; diff --git a/vendor/rector/rector-phpunit/monorepo-builder.php b/vendor/rector/rector-phpunit/monorepo-builder.php index 11195e39ed5..795f5e41ec0 100644 --- a/vendor/rector/rector-phpunit/monorepo-builder.php +++ b/vendor/rector/rector-phpunit/monorepo-builder.php @@ -1,14 +1,14 @@ services(); // @see https://github.com/symplify/monorepo-builder#6-release-flow - $services->set(\RectorPrefix20220519\Symplify\MonorepoBuilder\Release\ReleaseWorker\TagVersionReleaseWorker::class); - $services->set(\RectorPrefix20220519\Symplify\MonorepoBuilder\Release\ReleaseWorker\PushTagReleaseWorker::class); + $services->set(\RectorPrefix20220520\Symplify\MonorepoBuilder\Release\ReleaseWorker\TagVersionReleaseWorker::class); + $services->set(\RectorPrefix20220520\Symplify\MonorepoBuilder\Release\ReleaseWorker\PushTagReleaseWorker::class); }; diff --git a/vendor/rector/rector-phpunit/rector.php b/vendor/rector/rector-phpunit/rector.php index 16c2c047d58..39ebc97ed9e 100644 --- a/vendor/rector/rector-phpunit/rector.php +++ b/vendor/rector/rector-phpunit/rector.php @@ -1,7 +1,7 @@ simpleCallableNodeTraverser = $simpleCallableNodeTraverser; $this->nodeTypeResolver = $nodeTypeResolver; diff --git a/vendor/rector/rector-phpunit/src/NodeFactory/DataProviderClassMethodFactory.php b/vendor/rector/rector-phpunit/src/NodeFactory/DataProviderClassMethodFactory.php index 782eea8d3a1..f80257c0b6c 100644 --- a/vendor/rector/rector-phpunit/src/NodeFactory/DataProviderClassMethodFactory.php +++ b/vendor/rector/rector-phpunit/src/NodeFactory/DataProviderClassMethodFactory.php @@ -10,12 +10,12 @@ use PhpParser\Node\Name\FullyQualified; use PhpParser\Node\Stmt\ClassMethod; use PhpParser\Node\Stmt\Expression; use Rector\PHPUnit\ValueObject\DataProviderClassMethodRecipe; -use RectorPrefix20220519\Symplify\Astral\ValueObject\NodeBuilder\MethodBuilder; +use RectorPrefix20220520\Symplify\Astral\ValueObject\NodeBuilder\MethodBuilder; final class DataProviderClassMethodFactory { public function createFromRecipe(\Rector\PHPUnit\ValueObject\DataProviderClassMethodRecipe $dataProviderClassMethodRecipe) : \PhpParser\Node\Stmt\ClassMethod { - $methodBuilder = new \RectorPrefix20220519\Symplify\Astral\ValueObject\NodeBuilder\MethodBuilder($dataProviderClassMethodRecipe->getMethodName()); + $methodBuilder = new \RectorPrefix20220520\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 226a59bb183..28f1857b198 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\PHPUnit\NodeAnalyzer\SetUpMethodDecorator; use Rector\PHPUnit\NodeManipulator\StmtManipulator; -use RectorPrefix20220519\Symplify\Astral\ValueObject\NodeBuilder\MethodBuilder; +use RectorPrefix20220520\Symplify\Astral\ValueObject\NodeBuilder\MethodBuilder; final class SetUpClassMethodFactory { /** @@ -42,7 +42,7 @@ final class SetUpClassMethodFactory public function createSetUpMethod(array $stmts) : \PhpParser\Node\Stmt\ClassMethod { $stmts = $this->stmtManipulator->normalizeStmts($stmts); - $classMethodBuilder = new \RectorPrefix20220519\Symplify\Astral\ValueObject\NodeBuilder\MethodBuilder(\Rector\Core\ValueObject\MethodName::SET_UP); + $classMethodBuilder = new \RectorPrefix20220520\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/Class_/ArrayArgumentToDataProviderRector.php b/vendor/rector/rector-phpunit/src/Rector/Class_/ArrayArgumentToDataProviderRector.php index f529403096e..5e4b5b4410f 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 RectorPrefix20220519\PHPUnit\Framework\TestCase; +use RectorPrefix20220520\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 RectorPrefix20220519\Webmozart\Assert\Assert; +use RectorPrefix20220520\Webmozart\Assert\Assert; /** * @see \Rector\PHPUnit\Tests\Rector\Class_\ArrayArgumentToDataProviderRector\ArrayArgumentToDataProviderRectorTest * @@ -106,7 +106,7 @@ class SomeServiceTest extends TestCase } } CODE_SAMPLE -, [self::ARRAY_ARGUMENTS_TO_DATA_PROVIDERS => [new \Rector\PHPUnit\ValueObject\ArrayArgumentToDataProvider(\RectorPrefix20220519\PHPUnit\Framework\TestCase::class, 'doTestMultiple', 'doTestSingle', 'number')]])]); +, [self::ARRAY_ARGUMENTS_TO_DATA_PROVIDERS => [new \Rector\PHPUnit\ValueObject\ArrayArgumentToDataProvider(\RectorPrefix20220520\PHPUnit\Framework\TestCase::class, 'doTestMultiple', 'doTestSingle', 'number')]])]); } /** * @return array> @@ -146,8 +146,8 @@ CODE_SAMPLE public function configure(array $configuration) : void { $arrayArgumentsToDataProviders = $configuration[self::ARRAY_ARGUMENTS_TO_DATA_PROVIDERS] ?? $configuration; - \RectorPrefix20220519\Webmozart\Assert\Assert::isArray($arrayArgumentsToDataProviders); - \RectorPrefix20220519\Webmozart\Assert\Assert::allIsAOf($arrayArgumentsToDataProviders, \Rector\PHPUnit\ValueObject\ArrayArgumentToDataProvider::class); + \RectorPrefix20220520\Webmozart\Assert\Assert::isArray($arrayArgumentsToDataProviders); + \RectorPrefix20220520\Webmozart\Assert\Assert::allIsAOf($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 b88727963a5..8b69cc10dbe 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 RectorPrefix20220519\Nette\Utils\Strings; +use RectorPrefix20220520\Nette\Utils\Strings; use PhpParser\Node; use PhpParser\Node\Identifier; use PhpParser\Node\Stmt\Class_; @@ -108,7 +108,7 @@ CODE_SAMPLE continue; } $newMethodName = $this->createNewMethodName($oldMethodName); - $dataProviderTagValueNode->value->value = \RectorPrefix20220519\Nette\Utils\Strings::replace($oldMethodName, '#' . \preg_quote($oldMethodName, '#') . '#', $newMethodName); + $dataProviderTagValueNode->value->value = \RectorPrefix20220520\Nette\Utils\Strings::replace($oldMethodName, '#' . \preg_quote($oldMethodName, '#') . '#', $newMethodName); // invoke reprint $dataProviderTagValueNode->setAttribute(\Rector\BetterPhpDocParser\ValueObject\PhpDocAttributeKey::START_AND_END, null); $phpDocInfo->markAsChanged(); @@ -131,7 +131,7 @@ CODE_SAMPLE } private function createNewMethodName(string $oldMethodName) : string { - $newMethodName = \RectorPrefix20220519\Nette\Utils\Strings::substring($oldMethodName, \strlen('test')); + $newMethodName = \RectorPrefix20220520\Nette\Utils\Strings::substring($oldMethodName, \strlen('test')); return \lcfirst($newMethodName); } } diff --git a/vendor/rector/rector-symfony/bin/parse-missing-return-types-to-rules.php b/vendor/rector/rector-symfony/bin/parse-missing-return-types-to-rules.php index abd328caaaa..234b624957a 100644 --- a/vendor/rector/rector-symfony/bin/parse-missing-return-types-to-rules.php +++ b/vendor/rector/rector-symfony/bin/parse-missing-return-types-to-rules.php @@ -1,14 +1,14 @@ symfonyStyle = $symfonyStyleFactory->create(); } public function run() : void @@ -46,16 +46,16 @@ final class MissingReturnTypeParser */ private function resolveDiffFileToReturnTypeChanges(string $fileDiffPath) : array { - $diffFileContent = \RectorPrefix20220519\Nette\Utils\FileSystem::read($fileDiffPath); + $diffFileContent = \RectorPrefix20220520\Nette\Utils\FileSystem::read($fileDiffPath); $fileDiffs = \explode('diff --git', $diffFileContent); $returnTypeChanges = []; foreach ($fileDiffs as $fileDiff) { - $matches = \RectorPrefix20220519\Nette\Utils\Strings::matchAll($fileDiff, self::DIFF_LINES_REGEX); + $matches = \RectorPrefix20220520\Nette\Utils\Strings::matchAll($fileDiff, self::DIFF_LINES_REGEX); if ($matches === []) { continue; } // match file name - $filenameMatch = \RectorPrefix20220519\Nette\Utils\Strings::match($matches[0]['before'], '# a/src/(?.*?).php$#'); + $filenameMatch = \RectorPrefix20220520\Nette\Utils\Strings::match($matches[0]['before'], '# a/src/(?.*?).php$#'); if ($filenameMatch === null) { continue; } @@ -63,8 +63,8 @@ final class MissingReturnTypeParser unset($matches[0]); foreach ($matches as $match) { // match method name - $methodNameMatch = \RectorPrefix20220519\Nette\Utils\Strings::match($match['before'], '#(?\\w+)\\(#'); - $newTypeMatch = \RectorPrefix20220519\Nette\Utils\Strings::match($match['after'], '#\\): (?.*?);?$#'); + $methodNameMatch = \RectorPrefix20220520\Nette\Utils\Strings::match($match['before'], '#(?\\w+)\\(#'); + $newTypeMatch = \RectorPrefix20220520\Nette\Utils\Strings::match($match['after'], '#\\): (?.*?);?$#'); $returnTypeChanges[] = new \Rector\Symfony\Utils\ValueObject\ReturnTypeChange($className, $methodNameMatch['method_name'], $newTypeMatch['return_type']); } } @@ -72,5 +72,5 @@ final class MissingReturnTypeParser } } \class_alias('MissingReturnTypeParser', 'MissingReturnTypeParser', \false); -$missingReturnTypeParser = new \RectorPrefix20220519\MissingReturnTypeParser(); +$missingReturnTypeParser = new \RectorPrefix20220520\MissingReturnTypeParser(); $missingReturnTypeParser->run(); diff --git a/vendor/rector/rector-symfony/config/config.php b/vendor/rector/rector-symfony/config/config.php index 5563213ca70..6f7cd67eb74 100644 --- a/vendor/rector/rector-symfony/config/config.php +++ b/vendor/rector/rector-symfony/config/config.php @@ -1,15 +1,15 @@ services(); $services->defaults()->public()->autowire()->autoconfigure(); $services->load('Rector\\Symfony\\', __DIR__ . '/../src')->exclude([__DIR__ . '/../src/{Command,Rector,ValueObject}']); $rectorConfig->rule(\Rector\Core\NonPhpFile\Rector\RenameClassNonPhpRector::class); - $services->set(\RectorPrefix20220519\Symplify\SmartFileSystem\SmartFileSystem::class); + $services->set(\RectorPrefix20220520\Symplify\SmartFileSystem\SmartFileSystem::class); }; diff --git a/vendor/rector/rector-symfony/config/sets/jms/annotations-to-attributes.php b/vendor/rector/rector-symfony/config/sets/jms/annotations-to-attributes.php index ac4f4b6a834..7d854038b38 100644 --- a/vendor/rector/rector-symfony/config/sets/jms/annotations-to-attributes.php +++ b/vendor/rector/rector-symfony/config/sets/jms/annotations-to-attributes.php @@ -1,7 +1,7 @@ newInstanceWithoutConstructor(); - $privatesAccessor = new \RectorPrefix20220519\Symplify\PackageBuilder\Reflection\PrivatesAccessor(); + $privatesAccessor = new \RectorPrefix20220520\Symplify\PackageBuilder\Reflection\PrivatesAccessor(); $privatesAccessor->setPrivateProperty($scalarArrayObjectUnionType, 'types', $scalarArrayObjectUnionedTypes); $rectorConfig->ruleWithConfiguration(\Rector\TypeDeclaration\Rector\ClassMethod\AddReturnTypeDeclarationRector::class, [ new \Rector\TypeDeclaration\ValueObject\AddReturnTypeDeclaration('Symfony\\Component\\Config\\Loader\\LoaderInterface', 'load', new \PHPStan\Type\MixedType()), diff --git a/vendor/rector/rector-symfony/config/sets/symfony/symfony60.php b/vendor/rector/rector-symfony/config/sets/symfony/symfony60.php index 8a3506f7dea..0c1df957207 100644 --- a/vendor/rector/rector-symfony/config/sets/symfony/symfony60.php +++ b/vendor/rector/rector-symfony/config/sets/symfony/symfony60.php @@ -1,7 +1,7 @@ services(); // @see https://github.com/symplify/monorepo-builder#6-release-flow - $services->set(\RectorPrefix20220519\Symplify\MonorepoBuilder\Release\ReleaseWorker\TagVersionReleaseWorker::class); - $services->set(\RectorPrefix20220519\Symplify\MonorepoBuilder\Release\ReleaseWorker\PushTagReleaseWorker::class); + $services->set(\RectorPrefix20220520\Symplify\MonorepoBuilder\Release\ReleaseWorker\TagVersionReleaseWorker::class); + $services->set(\RectorPrefix20220520\Symplify\MonorepoBuilder\Release\ReleaseWorker\PushTagReleaseWorker::class); }; diff --git a/vendor/rector/rector-symfony/rector.php b/vendor/rector/rector-symfony/rector.php index a058c368efc..6687c06a560 100644 --- a/vendor/rector/rector-symfony/rector.php +++ b/vendor/rector/rector-symfony/rector.php @@ -1,7 +1,7 @@ router = $router; parent::__construct(); @@ -28,14 +28,14 @@ final class RectorRoutesExportCommand extends \RectorPrefix20220519\Symfony\Comp { $this->setDescription('Displays current routes for an application with resolved controller'); } - protected function execute(\RectorPrefix20220519\Symfony\Component\Console\Input\InputInterface $input, \RectorPrefix20220519\Symfony\Component\Console\Output\OutputInterface $output) : int + protected function execute(\RectorPrefix20220520\Symfony\Component\Console\Input\InputInterface $input, \RectorPrefix20220520\Symfony\Component\Console\Output\OutputInterface $output) : int { $routeCollection = $this->router->getRouteCollection(); - $routes = \array_map(static function (\RectorPrefix20220519\Symfony\Component\Routing\Route $route) : array { + $routes = \array_map(static function (\RectorPrefix20220520\Symfony\Component\Routing\Route $route) : array { return ['path' => $route->getPath(), 'host' => $route->getHost(), 'schemes' => $route->getSchemes(), 'methods' => $route->getMethods(), 'defaults' => $route->getDefaults(), 'requirements' => $route->getRequirements(), 'condition' => $route->getCondition()]; }, $routeCollection->all()); $content = \json_encode($routes, \JSON_PRETTY_PRINT) . "\n"; - $output->write($content, \false, \RectorPrefix20220519\Symfony\Component\Console\Output\OutputInterface::OUTPUT_RAW); - return \RectorPrefix20220519\Symfony\Component\Console\Command\Command::SUCCESS; + $output->write($content, \false, \RectorPrefix20220520\Symfony\Component\Console\Output\OutputInterface::OUTPUT_RAW); + return \RectorPrefix20220520\Symfony\Component\Console\Command\Command::SUCCESS; } } diff --git a/vendor/rector/rector-symfony/src/DataProvider/RouteMapProvider.php b/vendor/rector/rector-symfony/src/DataProvider/RouteMapProvider.php index a4a42df77a0..ca9ebbf1909 100644 --- a/vendor/rector/rector-symfony/src/DataProvider/RouteMapProvider.php +++ b/vendor/rector/rector-symfony/src/DataProvider/RouteMapProvider.php @@ -6,7 +6,7 @@ namespace Rector\Symfony\DataProvider; use Rector\Core\Configuration\Option; use Rector\Symfony\ValueObject\RouteMap\RouteMap; use Rector\Symfony\ValueObjectFactory\RouteMapFactory; -use RectorPrefix20220519\Symplify\PackageBuilder\Parameter\ParameterProvider; +use RectorPrefix20220520\Symplify\PackageBuilder\Parameter\ParameterProvider; final class RouteMapProvider { /** @@ -19,7 +19,7 @@ final class RouteMapProvider * @var \Rector\Symfony\ValueObjectFactory\RouteMapFactory */ private $routeMapFactory; - public function __construct(\RectorPrefix20220519\Symplify\PackageBuilder\Parameter\ParameterProvider $parameterProvider, \Rector\Symfony\ValueObjectFactory\RouteMapFactory $routeMapFactory) + public function __construct(\RectorPrefix20220520\Symplify\PackageBuilder\Parameter\ParameterProvider $parameterProvider, \Rector\Symfony\ValueObjectFactory\RouteMapFactory $routeMapFactory) { $this->parameterProvider = $parameterProvider; $this->routeMapFactory = $routeMapFactory; diff --git a/vendor/rector/rector-symfony/src/DataProvider/ServiceMapProvider.php b/vendor/rector/rector-symfony/src/DataProvider/ServiceMapProvider.php index 040872d6de8..5f2f42932d5 100644 --- a/vendor/rector/rector-symfony/src/DataProvider/ServiceMapProvider.php +++ b/vendor/rector/rector-symfony/src/DataProvider/ServiceMapProvider.php @@ -6,7 +6,7 @@ namespace Rector\Symfony\DataProvider; use Rector\Core\Configuration\Option; use Rector\Symfony\ValueObject\ServiceMap\ServiceMap; use Rector\Symfony\ValueObjectFactory\ServiceMapFactory; -use RectorPrefix20220519\Symplify\PackageBuilder\Parameter\ParameterProvider; +use RectorPrefix20220520\Symplify\PackageBuilder\Parameter\ParameterProvider; /** * Inspired by https://github.com/phpstan/phpstan-symfony/tree/master/src/Symfony */ @@ -22,7 +22,7 @@ final class ServiceMapProvider * @var \Rector\Symfony\ValueObjectFactory\ServiceMapFactory */ private $serviceMapFactory; - public function __construct(\RectorPrefix20220519\Symplify\PackageBuilder\Parameter\ParameterProvider $parameterProvider, \Rector\Symfony\ValueObjectFactory\ServiceMapFactory $serviceMapFactory) + public function __construct(\RectorPrefix20220520\Symplify\PackageBuilder\Parameter\ParameterProvider $parameterProvider, \Rector\Symfony\ValueObjectFactory\ServiceMapFactory $serviceMapFactory) { $this->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 f8379834bef..066cffec015 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 RectorPrefix20220519\Nette\Utils\Strings; +use RectorPrefix20220520\Nette\Utils\Strings; use Rector\Symfony\Contract\Tag\TagInterface; use Rector\Symfony\DataProvider\ServiceMapProvider; final class FormTypeStringToTypeProvider @@ -29,7 +29,7 @@ final class FormTypeStringToTypeProvider { $nameToTypeMap = $this->getNameToTypeMap(); if (\strncmp($name, 'form.type.', \strlen('form.type.')) === 0) { - $name = \RectorPrefix20220519\Nette\Utils\Strings::substring($name, \strlen('form.type.')); + $name = \RectorPrefix20220520\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 7a29ecaf075..45d3ed77764 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 RectorPrefix20220519\Nette\Utils\Strings; +use RectorPrefix20220520\Nette\Utils\Strings; use PhpParser\Node\Stmt\ClassMethod; use PHPStan\Analyser\Scope; use Rector\Core\Exception\ShouldNotHappenException; @@ -80,7 +80,7 @@ final class TemplateGuesser { $bundle = $this->resolveBundle($class, $namespace); $controller = $this->resolveController($class); - $action = \RectorPrefix20220519\Nette\Utils\Strings::replace($method, self::ACTION_MATCH_REGEX, ''); + $action = \RectorPrefix20220520\Nette\Utils\Strings::replace($method, self::ACTION_MATCH_REGEX, ''); $fullPath = ''; if ($bundle !== '') { $fullPath .= $bundle . '/'; @@ -96,17 +96,17 @@ final class TemplateGuesser if ($shortBundleClass !== null) { return '@' . $shortBundleClass; } - $bundle = \RectorPrefix20220519\Nette\Utils\Strings::match($namespace, self::BUNDLE_NAME_MATCHING_REGEX)['bundle'] ?? ''; - $bundle = \RectorPrefix20220519\Nette\Utils\Strings::replace($bundle, self::BUNDLE_SUFFIX_REGEX, ''); + $bundle = \RectorPrefix20220520\Nette\Utils\Strings::match($namespace, self::BUNDLE_NAME_MATCHING_REGEX)['bundle'] ?? ''; + $bundle = \RectorPrefix20220520\Nette\Utils\Strings::replace($bundle, self::BUNDLE_SUFFIX_REGEX, ''); return $bundle !== '' ? '@' . $bundle : ''; } private function resolveController(string $class) : string { - $match = \RectorPrefix20220519\Nette\Utils\Strings::match($class, self::CONTROLLER_NAME_MATCH_REGEX); + $match = \RectorPrefix20220520\Nette\Utils\Strings::match($class, self::CONTROLLER_NAME_MATCH_REGEX); if ($match === null) { return ''; } - $controller = \RectorPrefix20220519\Nette\Utils\Strings::replace($match['class_name_without_suffix'], self::SMALL_LETTER_BIG_LETTER_REGEX, '1_\\2'); + $controller = \RectorPrefix20220520\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/NodeAnalyzer/InvokableAnalyzer/ActiveClassElementsClassMethodResolver.php b/vendor/rector/rector-symfony/src/NodeAnalyzer/InvokableAnalyzer/ActiveClassElementsClassMethodResolver.php index 737979eef02..059814dc5aa 100644 --- a/vendor/rector/rector-symfony/src/NodeAnalyzer/InvokableAnalyzer/ActiveClassElementsClassMethodResolver.php +++ b/vendor/rector/rector-symfony/src/NodeAnalyzer/InvokableAnalyzer/ActiveClassElementsClassMethodResolver.php @@ -10,7 +10,7 @@ use PhpParser\Node\Expr\PropertyFetch; use PhpParser\Node\Stmt\ClassMethod; use Rector\NodeNameResolver\NodeNameResolver; use Rector\Symfony\ValueObject\InvokableController\ActiveClassElements; -use RectorPrefix20220519\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser; +use RectorPrefix20220520\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser; final class ActiveClassElementsClassMethodResolver { /** @@ -23,7 +23,7 @@ final class ActiveClassElementsClassMethodResolver * @var \Rector\NodeNameResolver\NodeNameResolver */ private $nodeNameResolver; - public function __construct(\RectorPrefix20220519\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser $simpleCallableNodeTraverser, \Rector\NodeNameResolver\NodeNameResolver $nodeNameResolver) + public function __construct(\RectorPrefix20220520\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser $simpleCallableNodeTraverser, \Rector\NodeNameResolver\NodeNameResolver $nodeNameResolver) { $this->simpleCallableNodeTraverser = $simpleCallableNodeTraverser; $this->nodeNameResolver = $nodeNameResolver; diff --git a/vendor/rector/rector-symfony/src/NodeFactory/InvokableControllerNameFactory.php b/vendor/rector/rector-symfony/src/NodeFactory/InvokableControllerNameFactory.php index 1eb01e4a26d..bf32fe34e3e 100644 --- a/vendor/rector/rector-symfony/src/NodeFactory/InvokableControllerNameFactory.php +++ b/vendor/rector/rector-symfony/src/NodeFactory/InvokableControllerNameFactory.php @@ -3,7 +3,7 @@ declare (strict_types=1); namespace Rector\Symfony\NodeFactory; -use RectorPrefix20220519\Nette\Utils\Strings; +use RectorPrefix20220520\Nette\Utils\Strings; use PhpParser\Node\Identifier; final class InvokableControllerNameFactory { @@ -11,12 +11,12 @@ final class InvokableControllerNameFactory { $oldClassName = $controllerIdentifier->toString(); if (\strncmp($actionMethodName, 'action', \strlen('action')) === 0) { - $actionMethodName = \RectorPrefix20220519\Nette\Utils\Strings::substring($actionMethodName, \strlen('Action')); + $actionMethodName = \RectorPrefix20220520\Nette\Utils\Strings::substring($actionMethodName, \strlen('Action')); } if (\substr_compare($actionMethodName, 'Action', -\strlen('Action')) === 0) { - $actionMethodName = \RectorPrefix20220519\Nette\Utils\Strings::substring($actionMethodName, 0, -\strlen('Action')); + $actionMethodName = \RectorPrefix20220520\Nette\Utils\Strings::substring($actionMethodName, 0, -\strlen('Action')); } $actionMethodName = \ucfirst($actionMethodName); - return \RectorPrefix20220519\Nette\Utils\Strings::replace($oldClassName, '#(.*?)Controller#', '$1' . $actionMethodName . 'Controller'); + return \RectorPrefix20220520\Nette\Utils\Strings::replace($oldClassName, '#(.*?)Controller#', '$1' . $actionMethodName . 'Controller'); } } diff --git a/vendor/rector/rector-symfony/src/NodeFactory/OnSuccessLogoutClassMethodFactory.php b/vendor/rector/rector-symfony/src/NodeFactory/OnSuccessLogoutClassMethodFactory.php index 884e6edd311..ad3f1e57e92 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 RectorPrefix20220519\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser; +use RectorPrefix20220520\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser; final class OnSuccessLogoutClassMethodFactory { /** @@ -42,7 +42,7 @@ final class OnSuccessLogoutClassMethodFactory * @var \Rector\Symfony\NodeFactory\BareLogoutClassMethodFactory */ private $bareLogoutClassMethodFactory; - public function __construct(\Rector\Core\PhpParser\Node\NodeFactory $nodeFactory, \Rector\NodeNameResolver\NodeNameResolver $nodeNameResolver, \RectorPrefix20220519\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser $simpleCallableNodeTraverser, \Rector\Symfony\NodeFactory\BareLogoutClassMethodFactory $bareLogoutClassMethodFactory) + public function __construct(\Rector\Core\PhpParser\Node\NodeFactory $nodeFactory, \Rector\NodeNameResolver\NodeNameResolver $nodeNameResolver, \RectorPrefix20220520\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 5f29fe15958..55fc6c23d5d 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 RectorPrefix20220519\Nette\Utils\Strings; +use RectorPrefix20220520\Nette\Utils\Strings; use PhpParser\Node; use PhpParser\Node\Identifier; use PhpParser\Node\Stmt\ClassMethod; @@ -66,7 +66,7 @@ CODE_SAMPLE private function removeSuffix(\PhpParser\Node\Stmt\ClassMethod $classMethod, string $suffixToRemove) : void { $name = $this->nodeNameResolver->getName($classMethod); - $newName = \RectorPrefix20220519\Nette\Utils\Strings::replace($name, \sprintf('#%s$#', $suffixToRemove), ''); + $newName = \RectorPrefix20220520\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 aa072814d0d..14a79b48f19 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 RectorPrefix20220519\Nette\Utils\Strings; +use RectorPrefix20220520\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 RectorPrefix20220519\Symfony\Component\String\UnicodeString; +use RectorPrefix20220520\Symfony\Component\String\UnicodeString; 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) \RectorPrefix20220519\Nette\Utils\Strings::before($shortClassName, 'Type'); + $shortClassName = (string) \RectorPrefix20220520\Nette\Utils\Strings::before($shortClassName, 'Type'); } - $shortClassNameUnicodeString = new \RectorPrefix20220519\Symfony\Component\String\UnicodeString($shortClassName); + $shortClassNameUnicodeString = new \RectorPrefix20220520\Symfony\Component\String\UnicodeString($shortClassName); $underscoredClassShortName = $shortClassNameUnicodeString->snake()->toString(); if ($underscoredClassShortName !== $returnedValue) { return null; diff --git a/vendor/rector/rector-symfony/src/Rector/ClassMethod/TemplateAnnotationToThisRenderRector.php b/vendor/rector/rector-symfony/src/Rector/ClassMethod/TemplateAnnotationToThisRenderRector.php index 22fa441d02c..812af8f63dd 100644 --- a/vendor/rector/rector-symfony/src/Rector/ClassMethod/TemplateAnnotationToThisRenderRector.php +++ b/vendor/rector/rector-symfony/src/Rector/ClassMethod/TemplateAnnotationToThisRenderRector.php @@ -35,7 +35,7 @@ use Rector\Symfony\TypeAnalyzer\ArrayUnionResponseTypeAnalyzer; use Rector\Symfony\TypeDeclaration\ReturnTypeDeclarationUpdater; use Symplify\RuleDocGenerator\ValueObject\CodeSample\CodeSample; use Symplify\RuleDocGenerator\ValueObject\RuleDefinition; -use RectorPrefix20220519\Webmozart\Assert\Assert; +use RectorPrefix20220520\Webmozart\Assert\Assert; /** * @see https://github.com/symfony/symfony-docs/pull/12387#discussion_r329551967 * @see https://symfony.com/doc/current/bundles/SensioFrameworkExtraBundle/annotations/view.html @@ -261,7 +261,7 @@ CODE_SAMPLE } private function refactorStmtsAwareNode(\PhpParser\Node\Stmt $stmtsAwareStmt, \Rector\BetterPhpDocParser\PhpDoc\DoctrineAnnotationTagValueNode $templateDoctrineAnnotationTagValueNode, bool $hasThisRenderOrReturnsResponse, \PhpParser\Node\Stmt\ClassMethod $classMethod) : void { - \RectorPrefix20220519\Webmozart\Assert\Assert::propertyExists($stmtsAwareStmt, 'stmts'); + \RectorPrefix20220520\Webmozart\Assert\Assert::propertyExists($stmtsAwareStmt, 'stmts'); foreach ((array) $stmtsAwareStmt->stmts as $stmt) { if (!$stmt instanceof \PhpParser\Node\Stmt\Return_) { continue; diff --git a/vendor/rector/rector-symfony/src/Rector/Class_/ChangeFileLoaderInExtensionAndKernelRector.php b/vendor/rector/rector-symfony/src/Rector/Class_/ChangeFileLoaderInExtensionAndKernelRector.php index eba77d7f896..2dd42628044 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 RectorPrefix20220519\Nette\Utils\Strings; +use RectorPrefix20220520\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 RectorPrefix20220519\Symfony\Component\DependencyInjection\Loader\PhpFileLoader; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Loader\XmlFileLoader; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Loader\YamlFileLoader; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Loader\PhpFileLoader; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Loader\XmlFileLoader; +use RectorPrefix20220520\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 = \RectorPrefix20220519\Nette\Utils\Strings::replace($node->value, '#\\.' . $from . '$#', '.' . $to); + $node->value = \RectorPrefix20220520\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 ae7e53e57ff..d617dbaa641 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 RectorPrefix20220519\Nette\Utils\Strings; +use RectorPrefix20220520\Nette\Utils\Strings; use PhpParser\Node; use PhpParser\Node\Identifier; use PhpParser\Node\Name\FullyQualified; @@ -156,7 +156,7 @@ CODE_SAMPLE $class->implements[] = new \PhpParser\Node\Name\FullyQualified(self::EVENT_SUBSCRIBER_INTERFACE); $classShortName = $this->nodeNameResolver->getShortName($class); // remove suffix - $classShortName = \RectorPrefix20220519\Nette\Utils\Strings::replace($classShortName, self::LISTENER_MATCH_REGEX, '$1'); + $classShortName = \RectorPrefix20220520\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 2ba57051a56..b1546f82bdb 100644 --- a/vendor/rector/rector-symfony/src/Rector/Class_/MakeCommandLazyRector.php +++ b/vendor/rector/rector-symfony/src/Rector/Class_/MakeCommandLazyRector.php @@ -20,7 +20,7 @@ use PHPStan\Type\StringType; use Rector\Core\NodeAnalyzer\ParamAnalyzer; use Rector\Core\Rector\AbstractRector; use Rector\Core\ValueObject\MethodName; -use RectorPrefix20220519\Symplify\Astral\ValueObject\NodeBuilder\PropertyBuilder; +use RectorPrefix20220520\Symplify\Astral\ValueObject\NodeBuilder\PropertyBuilder; use Symplify\RuleDocGenerator\ValueObject\CodeSample\CodeSample; use Symplify\RuleDocGenerator\ValueObject\RuleDefinition; /** @@ -203,7 +203,7 @@ CODE_SAMPLE } private function createStaticProtectedPropertyWithDefault(string $name, \PhpParser\Node $node) : \PhpParser\Node\Stmt\Property { - $propertyBuilder = new \RectorPrefix20220519\Symplify\Astral\ValueObject\NodeBuilder\PropertyBuilder($name); + $propertyBuilder = new \RectorPrefix20220520\Symplify\Astral\ValueObject\NodeBuilder\PropertyBuilder($name); $propertyBuilder->makeProtected(); $propertyBuilder->makeStatic(); $propertyBuilder->setDefault($node); diff --git a/vendor/rector/rector-symfony/src/Rector/FuncCall/ReplaceServiceArgumentRector.php b/vendor/rector/rector-symfony/src/Rector/FuncCall/ReplaceServiceArgumentRector.php index a3ab4a81fc0..7eab3f24588 100644 --- a/vendor/rector/rector-symfony/src/Rector/FuncCall/ReplaceServiceArgumentRector.php +++ b/vendor/rector/rector-symfony/src/Rector/FuncCall/ReplaceServiceArgumentRector.php @@ -12,7 +12,7 @@ use Rector\Core\Rector\AbstractRector; use Rector\Symfony\ValueObject\ReplaceServiceArgument; use Symplify\RuleDocGenerator\ValueObject\CodeSample\ConfiguredCodeSample; use Symplify\RuleDocGenerator\ValueObject\RuleDefinition; -use RectorPrefix20220519\Webmozart\Assert\Assert; +use RectorPrefix20220520\Webmozart\Assert\Assert; /** * @see \Rector\Symfony\Tests\Rector\FuncCall\ReplaceServiceArgumentRector\ReplaceServiceArgumentRectorTest */ @@ -69,7 +69,7 @@ CODE_SAMPLE */ public function configure(array $configuration) : void { - \RectorPrefix20220519\Webmozart\Assert\Assert::allIsAOf($configuration, \Rector\Symfony\ValueObject\ReplaceServiceArgument::class); + \RectorPrefix20220520\Webmozart\Assert\Assert::allIsAOf($configuration, \Rector\Symfony\ValueObject\ReplaceServiceArgument::class); $this->replaceServiceArguments = $configuration; } } diff --git a/vendor/rector/rector-symfony/src/Rector/MethodCall/GetParameterToConstructorInjectionRector.php b/vendor/rector/rector-symfony/src/Rector/MethodCall/GetParameterToConstructorInjectionRector.php index df890214b1e..ae81b42f253 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 RectorPrefix20220519\Nette\Utils\Strings; +use RectorPrefix20220520\Nette\Utils\Strings; use PhpParser\Node; use PhpParser\Node\Arg; use PhpParser\Node\Expr\MethodCall; @@ -99,7 +99,7 @@ CODE_SAMPLE return null; } $parameterName = $stringArgument->value; - $parameterName = \RectorPrefix20220519\Nette\Utils\Strings::replace($parameterName, '#\\.#', '_'); + $parameterName = \RectorPrefix20220520\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 e47c491b9ca..32ffdea5d9b 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 RectorPrefix20220519\Symfony\Component\Console\Input\StringInput; -use RectorPrefix20220519\Symplify\PackageBuilder\Reflection\PrivatesCaller; +use RectorPrefix20220520\Symfony\Component\Console\Input\StringInput; +use RectorPrefix20220520\Symplify\PackageBuilder\Reflection\PrivatesCaller; use Symplify\RuleDocGenerator\ValueObject\CodeSample\CodeSample; use Symplify\RuleDocGenerator\ValueObject\RuleDefinition; /** @@ -132,8 +132,8 @@ CODE_SAMPLE */ private function splitProcessCommandToItems(string $process) : array { - $privatesCaller = new \RectorPrefix20220519\Symplify\PackageBuilder\Reflection\PrivatesCaller(); - return $privatesCaller->callPrivateMethod(new \RectorPrefix20220519\Symfony\Component\Console\Input\StringInput(''), 'tokenize', [$process]); + $privatesCaller = new \RectorPrefix20220520\Symplify\PackageBuilder\Reflection\PrivatesCaller(); + return $privatesCaller->callPrivateMethod(new \RectorPrefix20220520\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 10c2ffc8659..9a42f7c22cb 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 RectorPrefix20220519\Nette\Utils\Strings; +use RectorPrefix20220520\Nette\Utils\Strings; use PhpParser\Node; use PhpParser\Node\Arg; use PhpParser\Node\Expr\StaticCall; @@ -111,6 +111,6 @@ CODE_SAMPLE if (!$nodeType instanceof \PHPStan\Type\Constant\ConstantStringType) { return \false; } - return (bool) \RectorPrefix20220519\Nette\Utils\Strings::match($nodeType->getValue(), self::YAML_SUFFIX_REGEX); + return (bool) \RectorPrefix20220520\Nette\Utils\Strings::match($nodeType->getValue(), self::YAML_SUFFIX_REGEX); } } diff --git a/vendor/rector/rector-symfony/src/ValueObjectFactory/RouteMapFactory.php b/vendor/rector/rector-symfony/src/ValueObjectFactory/RouteMapFactory.php index 01c8d8aa49b..be21267d7bc 100644 --- a/vendor/rector/rector-symfony/src/ValueObjectFactory/RouteMapFactory.php +++ b/vendor/rector/rector-symfony/src/ValueObjectFactory/RouteMapFactory.php @@ -6,7 +6,7 @@ namespace Rector\Symfony\ValueObjectFactory; use Rector\Symfony\Exception\JsonRoutesNotExistsException; use Rector\Symfony\ValueObject\RouteMap\RouteMap; use Rector\Symfony\ValueObject\SymfonyRouteMetadata; -use RectorPrefix20220519\Symplify\SmartFileSystem\SmartFileSystem; +use RectorPrefix20220520\Symplify\SmartFileSystem\SmartFileSystem; final class RouteMapFactory { /** @@ -14,7 +14,7 @@ final class RouteMapFactory * @var \Symplify\SmartFileSystem\SmartFileSystem */ private $smartFileSystem; - public function __construct(\RectorPrefix20220519\Symplify\SmartFileSystem\SmartFileSystem $smartFileSystem) + public function __construct(\RectorPrefix20220520\Symplify\SmartFileSystem\SmartFileSystem $smartFileSystem) { $this->smartFileSystem = $smartFileSystem; } diff --git a/vendor/rector/rector-symfony/src/ValueObjectFactory/ServiceMapFactory.php b/vendor/rector/rector-symfony/src/ValueObjectFactory/ServiceMapFactory.php index 5888104ab5c..90d1a0c5421 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 RectorPrefix20220519\Nette\Utils\Json; -use RectorPrefix20220519\Nette\Utils\Strings; +use RectorPrefix20220520\Nette\Utils\Json; +use RectorPrefix20220520\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 RectorPrefix20220519\Symplify\SmartFileSystem\SmartFileSystem; +use RectorPrefix20220520\Symplify\SmartFileSystem\SmartFileSystem; final class ServiceMapFactory { /** @@ -23,7 +23,7 @@ final class ServiceMapFactory * @var \Symplify\SmartFileSystem\SmartFileSystem */ private $smartFileSystem; - public function __construct(\RectorPrefix20220519\Symplify\SmartFileSystem\SmartFileSystem $smartFileSystem) + public function __construct(\RectorPrefix20220520\Symplify\SmartFileSystem\SmartFileSystem $smartFileSystem) { $this->smartFileSystem = $smartFileSystem; } @@ -84,7 +84,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 ? \RectorPrefix20220519\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 ? \RectorPrefix20220520\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 @@ -134,7 +134,7 @@ final class ServiceMapFactory */ private function convertXmlToArray(\SimpleXMLElement $simpleXMLElement) : array { - $data = \RectorPrefix20220519\Nette\Utils\Json::decode(\RectorPrefix20220519\Nette\Utils\Json::encode((array) $simpleXMLElement), \RectorPrefix20220519\Nette\Utils\Json::FORCE_ARRAY); + $data = \RectorPrefix20220520\Nette\Utils\Json::decode(\RectorPrefix20220520\Nette\Utils\Json::encode((array) $simpleXMLElement), \RectorPrefix20220520\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 74bd0efce5e..a314ec7e4c4 100644 --- a/vendor/scoper-autoload.php +++ b/vendor/scoper-autoload.php @@ -7,201 +7,201 @@ $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('AutoloadIncluder', false) && !interface_exists('AutoloadIncluder', false) && !trait_exists('AutoloadIncluder', false)) { - spl_autoload_call('RectorPrefix20220519\AutoloadIncluder'); + spl_autoload_call('RectorPrefix20220520\AutoloadIncluder'); } -if (!class_exists('ComposerAutoloaderInit70a93d7538b708eba9d9e519bd6c9ee7', false) && !interface_exists('ComposerAutoloaderInit70a93d7538b708eba9d9e519bd6c9ee7', false) && !trait_exists('ComposerAutoloaderInit70a93d7538b708eba9d9e519bd6c9ee7', false)) { - spl_autoload_call('RectorPrefix20220519\ComposerAutoloaderInit70a93d7538b708eba9d9e519bd6c9ee7'); +if (!class_exists('ComposerAutoloaderInit8e223b4397b3ebd238db2279dc1627ef', false) && !interface_exists('ComposerAutoloaderInit8e223b4397b3ebd238db2279dc1627ef', false) && !trait_exists('ComposerAutoloaderInit8e223b4397b3ebd238db2279dc1627ef', false)) { + spl_autoload_call('RectorPrefix20220520\ComposerAutoloaderInit8e223b4397b3ebd238db2279dc1627ef'); } 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('RectorPrefix20220519\Helmich\TypoScriptParser\Parser\AST\Statement'); + spl_autoload_call('RectorPrefix20220520\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('RectorPrefix20220519\Helmich\TypoScriptParser\Parser\Traverser\Traverser'); + spl_autoload_call('RectorPrefix20220520\Helmich\TypoScriptParser\Parser\Traverser\Traverser'); } if (!class_exists('MissingReturnTypeParser', false) && !interface_exists('MissingReturnTypeParser', false) && !trait_exists('MissingReturnTypeParser', false)) { - spl_autoload_call('RectorPrefix20220519\MissingReturnTypeParser'); + spl_autoload_call('RectorPrefix20220520\MissingReturnTypeParser'); } 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('RectorPrefix20220519\Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator'); + spl_autoload_call('RectorPrefix20220520\Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator'); } if (!class_exists('Normalizer', false) && !interface_exists('Normalizer', false) && !trait_exists('Normalizer', false)) { - spl_autoload_call('RectorPrefix20220519\Normalizer'); + spl_autoload_call('RectorPrefix20220520\Normalizer'); } if (!class_exists('ReturnTypeWillChange', false) && !interface_exists('ReturnTypeWillChange', false) && !trait_exists('ReturnTypeWillChange', false)) { - spl_autoload_call('RectorPrefix20220519\ReturnTypeWillChange'); + spl_autoload_call('RectorPrefix20220520\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('RectorPrefix20220519\Symplify\ComposerJsonManipulator\ValueObject\ComposerJson'); + spl_autoload_call('RectorPrefix20220520\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('RectorPrefix20220519\Symplify\SmartFileSystem\SmartFileInfo'); + spl_autoload_call('RectorPrefix20220520\Symplify\SmartFileSystem\SmartFileInfo'); } // Functions whitelisting. For more information see: // https://github.com/humbug/php-scoper/blob/master/README.md#functions-whitelisting if (!function_exists('dump_with_depth')) { function dump_with_depth() { - return \RectorPrefix20220519\dump_with_depth(...func_get_args()); + return \RectorPrefix20220520\dump_with_depth(...func_get_args()); } } if (!function_exists('dn')) { function dn() { - return \RectorPrefix20220519\dn(...func_get_args()); + return \RectorPrefix20220520\dn(...func_get_args()); } } if (!function_exists('dump_node')) { function dump_node() { - return \RectorPrefix20220519\dump_node(...func_get_args()); + return \RectorPrefix20220520\dump_node(...func_get_args()); } } if (!function_exists('print_node')) { function print_node() { - return \RectorPrefix20220519\print_node(...func_get_args()); + return \RectorPrefix20220520\print_node(...func_get_args()); } } -if (!function_exists('composerRequire70a93d7538b708eba9d9e519bd6c9ee7')) { - function composerRequire70a93d7538b708eba9d9e519bd6c9ee7() { - return \RectorPrefix20220519\composerRequire70a93d7538b708eba9d9e519bd6c9ee7(...func_get_args()); +if (!function_exists('composerRequire8e223b4397b3ebd238db2279dc1627ef')) { + function composerRequire8e223b4397b3ebd238db2279dc1627ef() { + return \RectorPrefix20220520\composerRequire8e223b4397b3ebd238db2279dc1627ef(...func_get_args()); } } if (!function_exists('scanPath')) { function scanPath() { - return \RectorPrefix20220519\scanPath(...func_get_args()); + return \RectorPrefix20220520\scanPath(...func_get_args()); } } if (!function_exists('lintFile')) { function lintFile() { - return \RectorPrefix20220519\lintFile(...func_get_args()); + return \RectorPrefix20220520\lintFile(...func_get_args()); } } if (!function_exists('array_is_list')) { function array_is_list() { - return \RectorPrefix20220519\array_is_list(...func_get_args()); + return \RectorPrefix20220520\array_is_list(...func_get_args()); } } if (!function_exists('parseArgs')) { function parseArgs() { - return \RectorPrefix20220519\parseArgs(...func_get_args()); + return \RectorPrefix20220520\parseArgs(...func_get_args()); } } if (!function_exists('showHelp')) { function showHelp() { - return \RectorPrefix20220519\showHelp(...func_get_args()); + return \RectorPrefix20220520\showHelp(...func_get_args()); } } if (!function_exists('formatErrorMessage')) { function formatErrorMessage() { - return \RectorPrefix20220519\formatErrorMessage(...func_get_args()); + return \RectorPrefix20220520\formatErrorMessage(...func_get_args()); } } if (!function_exists('preprocessGrammar')) { function preprocessGrammar() { - return \RectorPrefix20220519\preprocessGrammar(...func_get_args()); + return \RectorPrefix20220520\preprocessGrammar(...func_get_args()); } } if (!function_exists('resolveNodes')) { function resolveNodes() { - return \RectorPrefix20220519\resolveNodes(...func_get_args()); + return \RectorPrefix20220520\resolveNodes(...func_get_args()); } } if (!function_exists('resolveMacros')) { function resolveMacros() { - return \RectorPrefix20220519\resolveMacros(...func_get_args()); + return \RectorPrefix20220520\resolveMacros(...func_get_args()); } } if (!function_exists('resolveStackAccess')) { function resolveStackAccess() { - return \RectorPrefix20220519\resolveStackAccess(...func_get_args()); + return \RectorPrefix20220520\resolveStackAccess(...func_get_args()); } } if (!function_exists('magicSplit')) { function magicSplit() { - return \RectorPrefix20220519\magicSplit(...func_get_args()); + return \RectorPrefix20220520\magicSplit(...func_get_args()); } } if (!function_exists('assertArgs')) { function assertArgs() { - return \RectorPrefix20220519\assertArgs(...func_get_args()); + return \RectorPrefix20220520\assertArgs(...func_get_args()); } } if (!function_exists('removeTrailingWhitespace')) { function removeTrailingWhitespace() { - return \RectorPrefix20220519\removeTrailingWhitespace(...func_get_args()); + return \RectorPrefix20220520\removeTrailingWhitespace(...func_get_args()); } } if (!function_exists('regex')) { function regex() { - return \RectorPrefix20220519\regex(...func_get_args()); + return \RectorPrefix20220520\regex(...func_get_args()); } } if (!function_exists('execCmd')) { function execCmd() { - return \RectorPrefix20220519\execCmd(...func_get_args()); + return \RectorPrefix20220520\execCmd(...func_get_args()); } } if (!function_exists('ensureDirExists')) { function ensureDirExists() { - return \RectorPrefix20220519\ensureDirExists(...func_get_args()); + return \RectorPrefix20220520\ensureDirExists(...func_get_args()); } } if (!function_exists('uv_signal_init')) { function uv_signal_init() { - return \RectorPrefix20220519\uv_signal_init(...func_get_args()); + return \RectorPrefix20220520\uv_signal_init(...func_get_args()); } } if (!function_exists('uv_signal_start')) { function uv_signal_start() { - return \RectorPrefix20220519\uv_signal_start(...func_get_args()); + return \RectorPrefix20220520\uv_signal_start(...func_get_args()); } } if (!function_exists('uv_poll_init_socket')) { function uv_poll_init_socket() { - return \RectorPrefix20220519\uv_poll_init_socket(...func_get_args()); + return \RectorPrefix20220520\uv_poll_init_socket(...func_get_args()); } } if (!function_exists('setproctitle')) { function setproctitle() { - return \RectorPrefix20220519\setproctitle(...func_get_args()); + return \RectorPrefix20220520\setproctitle(...func_get_args()); } } if (!function_exists('trigger_deprecation')) { function trigger_deprecation() { - return \RectorPrefix20220519\trigger_deprecation(...func_get_args()); + return \RectorPrefix20220520\trigger_deprecation(...func_get_args()); } } if (!function_exists('enum_exists')) { function enum_exists() { - return \RectorPrefix20220519\enum_exists(...func_get_args()); + return \RectorPrefix20220520\enum_exists(...func_get_args()); } } if (!function_exists('includeIfExists')) { function includeIfExists() { - return \RectorPrefix20220519\includeIfExists(...func_get_args()); + return \RectorPrefix20220520\includeIfExists(...func_get_args()); } } if (!function_exists('dump')) { function dump() { - return \RectorPrefix20220519\dump(...func_get_args()); + return \RectorPrefix20220520\dump(...func_get_args()); } } if (!function_exists('dumpe')) { function dumpe() { - return \RectorPrefix20220519\dumpe(...func_get_args()); + return \RectorPrefix20220520\dumpe(...func_get_args()); } } if (!function_exists('bdump')) { function bdump() { - return \RectorPrefix20220519\bdump(...func_get_args()); + return \RectorPrefix20220520\bdump(...func_get_args()); } } if (!function_exists('compressJs')) { function compressJs() { - return \RectorPrefix20220519\compressJs(...func_get_args()); + return \RectorPrefix20220520\compressJs(...func_get_args()); } } if (!function_exists('compressCss')) { function compressCss() { - return \RectorPrefix20220519\compressCss(...func_get_args()); + return \RectorPrefix20220520\compressCss(...func_get_args()); } } diff --git a/vendor/sebastian/diff/src/Chunk.php b/vendor/sebastian/diff/src/Chunk.php index 3b69b27a24c..3d8460df95c 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 RectorPrefix20220519\SebastianBergmann\Diff; +namespace RectorPrefix20220520\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 \RectorPrefix20220519\SebastianBergmann\Diff\Line) { - throw new \RectorPrefix20220519\SebastianBergmann\Diff\InvalidArgumentException(); + if (!$line instanceof \RectorPrefix20220520\SebastianBergmann\Diff\Line) { + throw new \RectorPrefix20220520\SebastianBergmann\Diff\InvalidArgumentException(); } } $this->lines = $lines; diff --git a/vendor/sebastian/diff/src/Diff.php b/vendor/sebastian/diff/src/Diff.php index 9963b67549b..e186deeae2b 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 RectorPrefix20220519\SebastianBergmann\Diff; +namespace RectorPrefix20220520\SebastianBergmann\Diff; final class Diff { diff --git a/vendor/sebastian/diff/src/Differ.php b/vendor/sebastian/diff/src/Differ.php index 6ca6ebae1e5..4ddd9b6b3a4 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 RectorPrefix20220519\SebastianBergmann\Diff; +namespace RectorPrefix20220520\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 RectorPrefix20220519\SebastianBergmann\Diff\Output\DiffOutputBuilderInterface; -use RectorPrefix20220519\SebastianBergmann\Diff\Output\UnifiedDiffOutputBuilder; +use RectorPrefix20220520\SebastianBergmann\Diff\Output\DiffOutputBuilderInterface; +use RectorPrefix20220520\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 \RectorPrefix20220519\SebastianBergmann\Diff\Output\DiffOutputBuilderInterface) { + if ($outputBuilder instanceof \RectorPrefix20220520\SebastianBergmann\Diff\Output\DiffOutputBuilderInterface) { $this->outputBuilder = $outputBuilder; } elseif (null === $outputBuilder) { - $this->outputBuilder = new \RectorPrefix20220519\SebastianBergmann\Diff\Output\UnifiedDiffOutputBuilder(); + $this->outputBuilder = new \RectorPrefix20220520\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 \RectorPrefix20220519\SebastianBergmann\Diff\Output\UnifiedDiffOutputBuilder($outputBuilder); + $this->outputBuilder = new \RectorPrefix20220520\SebastianBergmann\Diff\Output\UnifiedDiffOutputBuilder($outputBuilder); } else { - throw new \RectorPrefix20220519\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 \RectorPrefix20220520\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, \RectorPrefix20220519\SebastianBergmann\Diff\LongestCommonSubsequenceCalculator $lcs = null) : string + public function diff($from, $to, \RectorPrefix20220520\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, \RectorPrefix20220519\SebastianBergmann\Diff\LongestCommonSubsequenceCalculator $lcs = null) : array + public function diffToArray($from, $to, \RectorPrefix20220520\SebastianBergmann\Diff\LongestCommonSubsequenceCalculator $lcs = null) : array { if (\is_string($from)) { $from = $this->splitStringByLines($from); } elseif (!\is_array($from)) { - throw new \RectorPrefix20220519\SebastianBergmann\Diff\InvalidArgumentException('"from" must be an array or string.'); + throw new \RectorPrefix20220520\SebastianBergmann\Diff\InvalidArgumentException('"from" must be an array or string.'); } if (\is_string($to)) { $to = $this->splitStringByLines($to); } elseif (!\is_array($to)) { - throw new \RectorPrefix20220519\SebastianBergmann\Diff\InvalidArgumentException('"to" must be an array or string.'); + throw new \RectorPrefix20220520\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) : \RectorPrefix20220519\SebastianBergmann\Diff\LongestCommonSubsequenceCalculator + private function selectLcsImplementation(array $from, array $to) : \RectorPrefix20220520\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 \RectorPrefix20220519\SebastianBergmann\Diff\MemoryEfficientLongestCommonSubsequenceCalculator(); + return new \RectorPrefix20220520\SebastianBergmann\Diff\MemoryEfficientLongestCommonSubsequenceCalculator(); } - return new \RectorPrefix20220519\SebastianBergmann\Diff\TimeEfficientLongestCommonSubsequenceCalculator(); + return new \RectorPrefix20220520\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 ac81df25428..9491783e98d 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 RectorPrefix20220519\SebastianBergmann\Diff; +namespace RectorPrefix20220520\SebastianBergmann\Diff; use function get_class; use function gettype; use function is_object; use function sprintf; use Exception; -final class ConfigurationException extends \RectorPrefix20220519\SebastianBergmann\Diff\InvalidArgumentException +final class ConfigurationException extends \RectorPrefix20220520\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 20b06d0c90e..6335ba99074 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 RectorPrefix20220519\SebastianBergmann\Diff; +namespace RectorPrefix20220520\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 684a83f865b..f93786a143b 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 RectorPrefix20220519\SebastianBergmann\Diff; +namespace RectorPrefix20220520\SebastianBergmann\Diff; -class InvalidArgumentException extends \InvalidArgumentException implements \RectorPrefix20220519\SebastianBergmann\Diff\Exception +class InvalidArgumentException extends \InvalidArgumentException implements \RectorPrefix20220520\SebastianBergmann\Diff\Exception { } diff --git a/vendor/sebastian/diff/src/Line.php b/vendor/sebastian/diff/src/Line.php index 0820e1e6ab7..b96f32be670 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 RectorPrefix20220519\SebastianBergmann\Diff; +namespace RectorPrefix20220520\SebastianBergmann\Diff; final class Line { diff --git a/vendor/sebastian/diff/src/LongestCommonSubsequenceCalculator.php b/vendor/sebastian/diff/src/LongestCommonSubsequenceCalculator.php index b083d2cabb3..b9b5e6a5b60 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 RectorPrefix20220519\SebastianBergmann\Diff; +namespace RectorPrefix20220520\SebastianBergmann\Diff; interface LongestCommonSubsequenceCalculator { diff --git a/vendor/sebastian/diff/src/MemoryEfficientLongestCommonSubsequenceCalculator.php b/vendor/sebastian/diff/src/MemoryEfficientLongestCommonSubsequenceCalculator.php index 01757347168..eddb3449db7 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 RectorPrefix20220519\SebastianBergmann\Diff; +namespace RectorPrefix20220520\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 \RectorPrefix20220519\SebastianBergmann\Diff\LongestCommonSubsequenceCalculator +final class MemoryEfficientLongestCommonSubsequenceCalculator implements \RectorPrefix20220520\SebastianBergmann\Diff\LongestCommonSubsequenceCalculator { /** * {@inheritdoc} diff --git a/vendor/sebastian/diff/src/Output/AbstractChunkOutputBuilder.php b/vendor/sebastian/diff/src/Output/AbstractChunkOutputBuilder.php index c6167213e67..fd73470014e 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 RectorPrefix20220519\SebastianBergmann\Diff\Output; +namespace RectorPrefix20220520\SebastianBergmann\Diff\Output; use function count; -abstract class AbstractChunkOutputBuilder implements \RectorPrefix20220519\SebastianBergmann\Diff\Output\DiffOutputBuilderInterface +abstract class AbstractChunkOutputBuilder implements \RectorPrefix20220520\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 7327e6f5522..c9c16c2419b 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 RectorPrefix20220519\SebastianBergmann\Diff\Output; +namespace RectorPrefix20220520\SebastianBergmann\Diff\Output; use function fclose; use function fopen; use function fwrite; use function stream_get_contents; use function substr; -use RectorPrefix20220519\SebastianBergmann\Diff\Differ; +use RectorPrefix20220520\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 \RectorPrefix20220519\SebastianBergmann\Diff\Output\DiffOutputBuilderInterface +final class DiffOnlyOutputBuilder implements \RectorPrefix20220520\SebastianBergmann\Diff\Output\DiffOutputBuilderInterface { /** * @var string @@ -41,11 +41,11 @@ final class DiffOnlyOutputBuilder implements \RectorPrefix20220519\SebastianBerg } } foreach ($diff as $diffEntry) { - if ($diffEntry[1] === \RectorPrefix20220519\SebastianBergmann\Diff\Differ::ADDED) { + if ($diffEntry[1] === \RectorPrefix20220520\SebastianBergmann\Diff\Differ::ADDED) { \fwrite($buffer, '+' . $diffEntry[0]); - } elseif ($diffEntry[1] === \RectorPrefix20220519\SebastianBergmann\Diff\Differ::REMOVED) { + } elseif ($diffEntry[1] === \RectorPrefix20220520\SebastianBergmann\Diff\Differ::REMOVED) { \fwrite($buffer, '-' . $diffEntry[0]); - } elseif ($diffEntry[1] === \RectorPrefix20220519\SebastianBergmann\Diff\Differ::DIFF_LINE_END_WARNING) { + } elseif ($diffEntry[1] === \RectorPrefix20220520\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 17689557010..15d2df6d2cd 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 RectorPrefix20220519\SebastianBergmann\Diff\Output; +namespace RectorPrefix20220520\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 ba594313c76..acf87a9a38d 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 RectorPrefix20220519\SebastianBergmann\Diff\Output; +namespace RectorPrefix20220520\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 RectorPrefix20220519\SebastianBergmann\Diff\ConfigurationException; -use RectorPrefix20220519\SebastianBergmann\Diff\Differ; +use RectorPrefix20220520\SebastianBergmann\Diff\ConfigurationException; +use RectorPrefix20220520\SebastianBergmann\Diff\Differ; /** * Strict Unified diff output builder. * * Generates (strict) Unified diff's (unidiffs) with hunks. */ -final class StrictUnifiedDiffOutputBuilder implements \RectorPrefix20220519\SebastianBergmann\Diff\Output\DiffOutputBuilderInterface +final class StrictUnifiedDiffOutputBuilder implements \RectorPrefix20220520\SebastianBergmann\Diff\Output\DiffOutputBuilderInterface { private static $default = [ 'collapseRanges' => \true, @@ -70,13 +70,13 @@ final class StrictUnifiedDiffOutputBuilder implements \RectorPrefix20220519\Seba { $options = \array_merge(self::$default, $options); if (!\is_bool($options['collapseRanges'])) { - throw new \RectorPrefix20220519\SebastianBergmann\Diff\ConfigurationException('collapseRanges', 'a bool', $options['collapseRanges']); + throw new \RectorPrefix20220520\SebastianBergmann\Diff\ConfigurationException('collapseRanges', 'a bool', $options['collapseRanges']); } if (!\is_int($options['contextLines']) || $options['contextLines'] < 0) { - throw new \RectorPrefix20220519\SebastianBergmann\Diff\ConfigurationException('contextLines', 'an int >= 0', $options['contextLines']); + throw new \RectorPrefix20220520\SebastianBergmann\Diff\ConfigurationException('contextLines', 'an int >= 0', $options['contextLines']); } if (!\is_int($options['commonLineThreshold']) || $options['commonLineThreshold'] <= 0) { - throw new \RectorPrefix20220519\SebastianBergmann\Diff\ConfigurationException('commonLineThreshold', 'an int > 0', $options['commonLineThreshold']); + throw new \RectorPrefix20220520\SebastianBergmann\Diff\ConfigurationException('commonLineThreshold', 'an int > 0', $options['commonLineThreshold']); } $this->assertString($options, 'fromFile'); $this->assertString($options, 'toFile'); @@ -114,7 +114,7 @@ final class StrictUnifiedDiffOutputBuilder implements \RectorPrefix20220519\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", \RectorPrefix20220519\SebastianBergmann\Diff\Differ::NO_LINE_END_EOF_WARNING]]); + \array_splice($diff, $upperLimit, 0, [["\n\\ No newline at end of file\n", \RectorPrefix20220520\SebastianBergmann\Diff\Differ::NO_LINE_END_EOF_WARNING]]); } } else { // search back for the last `+` and `-` line, @@ -125,7 +125,7 @@ final class StrictUnifiedDiffOutputBuilder implements \RectorPrefix20220519\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", \RectorPrefix20220519\SebastianBergmann\Diff\Differ::NO_LINE_END_EOF_WARNING]]); + \array_splice($diff, $i + 1, 0, [["\n\\ No newline at end of file\n", \RectorPrefix20220520\SebastianBergmann\Diff\Differ::NO_LINE_END_EOF_WARNING]]); } if (!\count($toFind)) { break; @@ -172,18 +172,18 @@ final class StrictUnifiedDiffOutputBuilder implements \RectorPrefix20220519\Seba continue; } $sameCount = 0; - if ($entry[1] === \RectorPrefix20220519\SebastianBergmann\Diff\Differ::NO_LINE_END_EOF_WARNING) { + if ($entry[1] === \RectorPrefix20220520\SebastianBergmann\Diff\Differ::NO_LINE_END_EOF_WARNING) { continue; } $this->changed = \true; if (\false === $hunkCapture) { $hunkCapture = $i; } - if (\RectorPrefix20220519\SebastianBergmann\Diff\Differ::ADDED === $entry[1]) { + if (\RectorPrefix20220520\SebastianBergmann\Diff\Differ::ADDED === $entry[1]) { // added ++$toRange; } - if (\RectorPrefix20220519\SebastianBergmann\Diff\Differ::REMOVED === $entry[1]) { + if (\RectorPrefix20220520\SebastianBergmann\Diff\Differ::REMOVED === $entry[1]) { // removed ++$fromRange; } @@ -213,15 +213,15 @@ final class StrictUnifiedDiffOutputBuilder implements \RectorPrefix20220519\Seba } \fwrite($output, " @@\n"); for ($i = $diffStartIndex; $i < $diffEndIndex; ++$i) { - if ($diff[$i][1] === \RectorPrefix20220519\SebastianBergmann\Diff\Differ::ADDED) { + if ($diff[$i][1] === \RectorPrefix20220520\SebastianBergmann\Diff\Differ::ADDED) { $this->changed = \true; \fwrite($output, '+' . $diff[$i][0]); - } elseif ($diff[$i][1] === \RectorPrefix20220519\SebastianBergmann\Diff\Differ::REMOVED) { + } elseif ($diff[$i][1] === \RectorPrefix20220520\SebastianBergmann\Diff\Differ::REMOVED) { $this->changed = \true; \fwrite($output, '-' . $diff[$i][0]); - } elseif ($diff[$i][1] === \RectorPrefix20220519\SebastianBergmann\Diff\Differ::OLD) { + } elseif ($diff[$i][1] === \RectorPrefix20220520\SebastianBergmann\Diff\Differ::OLD) { \fwrite($output, ' ' . $diff[$i][0]); - } elseif ($diff[$i][1] === \RectorPrefix20220519\SebastianBergmann\Diff\Differ::NO_LINE_END_EOF_WARNING) { + } elseif ($diff[$i][1] === \RectorPrefix20220520\SebastianBergmann\Diff\Differ::NO_LINE_END_EOF_WARNING) { $this->changed = \true; \fwrite($output, $diff[$i][0]); } @@ -235,13 +235,13 @@ final class StrictUnifiedDiffOutputBuilder implements \RectorPrefix20220519\Seba private function assertString(array $options, string $option) : void { if (!\is_string($options[$option])) { - throw new \RectorPrefix20220519\SebastianBergmann\Diff\ConfigurationException($option, 'a string', $options[$option]); + throw new \RectorPrefix20220520\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 \RectorPrefix20220519\SebastianBergmann\Diff\ConfigurationException($option, 'a string or ', $options[$option]); + throw new \RectorPrefix20220520\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 c545995c4b8..fd09d75a4c6 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 RectorPrefix20220519\SebastianBergmann\Diff\Output; +namespace RectorPrefix20220520\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 RectorPrefix20220519\SebastianBergmann\Diff\Differ; +use RectorPrefix20220520\SebastianBergmann\Diff\Differ; /** * Builds a diff string representation in unified diff format in chunks. */ -final class UnifiedDiffOutputBuilder extends \RectorPrefix20220519\SebastianBergmann\Diff\Output\AbstractChunkOutputBuilder +final class UnifiedDiffOutputBuilder extends \RectorPrefix20220520\SebastianBergmann\Diff\Output\AbstractChunkOutputBuilder { /** * @var bool @@ -78,7 +78,7 @@ final class UnifiedDiffOutputBuilder extends \RectorPrefix20220519\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", \RectorPrefix20220519\SebastianBergmann\Diff\Differ::NO_LINE_END_EOF_WARNING]]); + \array_splice($diff, $upperLimit, 0, [["\n\\ No newline at end of file\n", \RectorPrefix20220520\SebastianBergmann\Diff\Differ::NO_LINE_END_EOF_WARNING]]); } } else { // search back for the last `+` and `-` line, @@ -89,7 +89,7 @@ final class UnifiedDiffOutputBuilder extends \RectorPrefix20220519\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", \RectorPrefix20220519\SebastianBergmann\Diff\Differ::NO_LINE_END_EOF_WARNING]]); + \array_splice($diff, $i + 1, 0, [["\n\\ No newline at end of file\n", \RectorPrefix20220520\SebastianBergmann\Diff\Differ::NO_LINE_END_EOF_WARNING]]); } if (!\count($toFind)) { break; @@ -136,16 +136,16 @@ final class UnifiedDiffOutputBuilder extends \RectorPrefix20220519\SebastianBerg continue; } $sameCount = 0; - if ($entry[1] === \RectorPrefix20220519\SebastianBergmann\Diff\Differ::NO_LINE_END_EOF_WARNING) { + if ($entry[1] === \RectorPrefix20220520\SebastianBergmann\Diff\Differ::NO_LINE_END_EOF_WARNING) { continue; } if (\false === $hunkCapture) { $hunkCapture = $i; } - if (\RectorPrefix20220519\SebastianBergmann\Diff\Differ::ADDED === $entry[1]) { + if (\RectorPrefix20220520\SebastianBergmann\Diff\Differ::ADDED === $entry[1]) { ++$toRange; } - if (\RectorPrefix20220519\SebastianBergmann\Diff\Differ::REMOVED === $entry[1]) { + if (\RectorPrefix20220520\SebastianBergmann\Diff\Differ::REMOVED === $entry[1]) { ++$fromRange; } } @@ -178,13 +178,13 @@ final class UnifiedDiffOutputBuilder extends \RectorPrefix20220519\SebastianBerg \fwrite($output, "@@ @@\n"); } for ($i = $diffStartIndex; $i < $diffEndIndex; ++$i) { - if ($diff[$i][1] === \RectorPrefix20220519\SebastianBergmann\Diff\Differ::ADDED) { + if ($diff[$i][1] === \RectorPrefix20220520\SebastianBergmann\Diff\Differ::ADDED) { \fwrite($output, '+' . $diff[$i][0]); - } elseif ($diff[$i][1] === \RectorPrefix20220519\SebastianBergmann\Diff\Differ::REMOVED) { + } elseif ($diff[$i][1] === \RectorPrefix20220520\SebastianBergmann\Diff\Differ::REMOVED) { \fwrite($output, '-' . $diff[$i][0]); - } elseif ($diff[$i][1] === \RectorPrefix20220519\SebastianBergmann\Diff\Differ::OLD) { + } elseif ($diff[$i][1] === \RectorPrefix20220520\SebastianBergmann\Diff\Differ::OLD) { \fwrite($output, ' ' . $diff[$i][0]); - } elseif ($diff[$i][1] === \RectorPrefix20220519\SebastianBergmann\Diff\Differ::NO_LINE_END_EOF_WARNING) { + } elseif ($diff[$i][1] === \RectorPrefix20220520\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 fbf66919b3e..f467528552c 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 RectorPrefix20220519\SebastianBergmann\Diff; +namespace RectorPrefix20220520\SebastianBergmann\Diff; use function array_pop; use function count; @@ -41,7 +41,7 @@ final class Parser $diffs[] = $diff; $collected = []; } - $diff = new \RectorPrefix20220519\SebastianBergmann\Diff\Diff($fromMatch['file'], $toMatch['file']); + $diff = new \RectorPrefix20220520\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(\RectorPrefix20220519\SebastianBergmann\Diff\Diff $diff, array $lines) : void + private function parseFileDiff(\RectorPrefix20220520\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 \RectorPrefix20220519\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 \RectorPrefix20220520\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 = \RectorPrefix20220519\SebastianBergmann\Diff\Line::UNCHANGED; + $type = \RectorPrefix20220520\SebastianBergmann\Diff\Line::UNCHANGED; if ($match['type'] === '+') { - $type = \RectorPrefix20220519\SebastianBergmann\Diff\Line::ADDED; + $type = \RectorPrefix20220520\SebastianBergmann\Diff\Line::ADDED; } elseif ($match['type'] === '-') { - $type = \RectorPrefix20220519\SebastianBergmann\Diff\Line::REMOVED; + $type = \RectorPrefix20220520\SebastianBergmann\Diff\Line::REMOVED; } - $diffLines[] = new \RectorPrefix20220519\SebastianBergmann\Diff\Line($type, $match['line']); + $diffLines[] = new \RectorPrefix20220520\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 4f917651413..2051a4aed7f 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 RectorPrefix20220519\SebastianBergmann\Diff; +namespace RectorPrefix20220520\SebastianBergmann\Diff; use function array_reverse; use function count; use function max; use SplFixedArray; -final class TimeEfficientLongestCommonSubsequenceCalculator implements \RectorPrefix20220519\SebastianBergmann\Diff\LongestCommonSubsequenceCalculator +final class TimeEfficientLongestCommonSubsequenceCalculator implements \RectorPrefix20220520\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 a2b891c4337..9aff00f47f0 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 4efa60bbaac..adcece06cf4 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 @@ \RectorPrefix20220519\TYPO3\CMS\Backend\Form\Element\LinkElement::class, 'TYPO3\\CMS\\Backend\\Form\\Element\\InputDateTimeElement' => \RectorPrefix20220519\TYPO3\CMS\Backend\Form\Element\DatetimeElement::class, 'TYPO3\\CMS\\Backend\\Form\\Element\\InputColorPickerElement' => \RectorPrefix20220519\TYPO3\CMS\Backend\Form\Element\ColorElement::class]; +return ['TYPO3\\CMS\\Backend\\Form\\Element\\InputLinkElement' => \RectorPrefix20220520\TYPO3\CMS\Backend\Form\Element\LinkElement::class, 'TYPO3\\CMS\\Backend\\Form\\Element\\InputDateTimeElement' => \RectorPrefix20220520\TYPO3\CMS\Backend\Form\Element\DatetimeElement::class, 'TYPO3\\CMS\\Backend\\Form\\Element\\InputColorPickerElement' => \RectorPrefix20220520\TYPO3\CMS\Backend\Form\Element\ColorElement::class]; diff --git a/vendor/ssch/typo3-rector/Migrations/TYPO3/12.0/typo3/sysext/frontend/Migrations/Code/ClassAliasMap.php b/vendor/ssch/typo3-rector/Migrations/TYPO3/12.0/typo3/sysext/frontend/Migrations/Code/ClassAliasMap.php index 02a4eed4e7d..03948a6d300 100644 --- a/vendor/ssch/typo3-rector/Migrations/TYPO3/12.0/typo3/sysext/frontend/Migrations/Code/ClassAliasMap.php +++ b/vendor/ssch/typo3-rector/Migrations/TYPO3/12.0/typo3/sysext/frontend/Migrations/Code/ClassAliasMap.php @@ -1,7 +1,7 @@ \RectorPrefix20220519\TYPO3\CMS\Core\LinkHandling\TypoLinkCodecService::class]; +return ['TYPO3\\CMS\\Frontend\\Service\\TypoLinkCodecService' => \RectorPrefix20220520\TYPO3\CMS\Core\LinkHandling\TypoLinkCodecService::class]; diff --git a/vendor/ssch/typo3-rector/Migrations/TYPO3/8.7/typo3/sysext/extbase/Migrations/Code/ClassAliasMap.php b/vendor/ssch/typo3-rector/Migrations/TYPO3/8.7/typo3/sysext/extbase/Migrations/Code/ClassAliasMap.php index 66d1afa2faf..71d7973189f 100644 --- a/vendor/ssch/typo3-rector/Migrations/TYPO3/8.7/typo3/sysext/extbase/Migrations/Code/ClassAliasMap.php +++ b/vendor/ssch/typo3-rector/Migrations/TYPO3/8.7/typo3/sysext/extbase/Migrations/Code/ClassAliasMap.php @@ -1,5 +1,5 @@ '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 820ab32ad74..5265f0962ed 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 4f8ebc31c8d..4944afcc0bc 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 33c124256e4..c32ef4368b1 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 e17552f654e..51d157163c8 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 4f7b0a649a4..1cf0788102a 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 79c38269607..91fcb12c518 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 49a64ead1ed..136cd99f237 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 f392b084415..b34019eea58 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 403838dbd76..a9337034441 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 1981b83bbe3..f54bf4493e1 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 96483f205fc..de4fa1a9814 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 0c79d738a7b..b0d33f21db4 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-104-composer-packages-core.php b/vendor/ssch/typo3-rector/config/composer/typo3-104-composer-packages-core.php index 419d21c6bdf..2c17c6d35a2 100644 --- a/vendor/ssch/typo3-rector/config/composer/typo3-104-composer-packages-core.php +++ b/vendor/ssch/typo3-rector/config/composer/typo3-104-composer-packages-core.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 b550bff8d78..57b06e56ec3 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-95-composer-packages-core.php b/vendor/ssch/typo3-rector/config/composer/typo3-95-composer-packages-core.php index c8be40e0e31..3089b28cec8 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 d9f41551719..d82b1ad22bb 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/TypoScript/PostRector', __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(\RectorPrefix20220519\Helmich\TypoScriptParser\Tokenizer\Tokenizer::class); - $services->alias(\RectorPrefix20220519\Helmich\TypoScriptParser\Tokenizer\TokenizerInterface::class, \RectorPrefix20220519\Helmich\TypoScriptParser\Tokenizer\Tokenizer::class); - $services->set(\RectorPrefix20220519\Helmich\TypoScriptParser\Parser\Printer\PrettyPrinter::class); - $services->alias(\RectorPrefix20220519\Helmich\TypoScriptParser\Parser\Printer\ASTPrinterInterface::class, \RectorPrefix20220519\Helmich\TypoScriptParser\Parser\Printer\PrettyPrinter::class); - $services->set(\RectorPrefix20220519\Helmich\TypoScriptParser\Parser\Parser::class); - $services->alias(\RectorPrefix20220519\Helmich\TypoScriptParser\Parser\ParserInterface::class, \RectorPrefix20220519\Helmich\TypoScriptParser\Parser\Parser::class); - $services->set(\RectorPrefix20220519\Symfony\Component\Console\Output\BufferedOutput::class); - $services->alias(\RectorPrefix20220519\Symfony\Component\Console\Output\OutputInterface::class, \RectorPrefix20220519\Symfony\Component\Console\Output\BufferedOutput::class); - $services->set(\RectorPrefix20220519\Helmich\TypoScriptParser\Parser\AST\Builder::class); + $services->set(\RectorPrefix20220520\Helmich\TypoScriptParser\Tokenizer\Tokenizer::class); + $services->alias(\RectorPrefix20220520\Helmich\TypoScriptParser\Tokenizer\TokenizerInterface::class, \RectorPrefix20220520\Helmich\TypoScriptParser\Tokenizer\Tokenizer::class); + $services->set(\RectorPrefix20220520\Helmich\TypoScriptParser\Parser\Printer\PrettyPrinter::class); + $services->alias(\RectorPrefix20220520\Helmich\TypoScriptParser\Parser\Printer\ASTPrinterInterface::class, \RectorPrefix20220520\Helmich\TypoScriptParser\Parser\Printer\PrettyPrinter::class); + $services->set(\RectorPrefix20220520\Helmich\TypoScriptParser\Parser\Parser::class); + $services->alias(\RectorPrefix20220520\Helmich\TypoScriptParser\Parser\ParserInterface::class, \RectorPrefix20220520\Helmich\TypoScriptParser\Parser\Parser::class); + $services->set(\RectorPrefix20220520\Symfony\Component\Console\Output\BufferedOutput::class); + $services->alias(\RectorPrefix20220520\Symfony\Component\Console\Output\OutputInterface::class, \RectorPrefix20220520\Symfony\Component\Console\Output\BufferedOutput::class); + $services->set(\RectorPrefix20220520\Helmich\TypoScriptParser\Parser\AST\Builder::class); $services->set(\Ssch\TYPO3Rector\FileProcessor\TypoScript\TypoScriptFileProcessor::class)->call('configure', [['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 fe3b0845910..a313f379366 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'); $rectorConfig->rule(\Ssch\TYPO3Rector\Rector\v7\v6\RenamePiListBrowserResultsRector::class); $rectorConfig->ruleWithConfiguration(\Rector\Transform\Rector\MethodCall\MethodCallToStaticCallRector::class, [new \Rector\Transform\ValueObject\MethodCallToStaticCall('TYPO3\\CMS\\Backend\\Template\\DocumentTemplate', 'issueCommand', 'TYPO3\\CMS\\Backend\\Utility\\BackendUtility', 'getLinkToDataHandlerAction')]); - $rectorConfig->ruleWithConfiguration(\Rector\Renaming\Rector\ClassConstFetch\RenameClassConstFetchRector::class, [new \Rector\Renaming\ValueObject\RenameClassConstFetch('TYPO3\\CMS\\IndexedSearch\\Controller\\SearchFormController', 'WILDCARD_LEFT', \RectorPrefix20220519\TYPO3\CMS\IndexedSearch\Utility\LikeWildcard::class . '::WILDCARD_LEFT'), new \Rector\Renaming\ValueObject\RenameClassConstFetch('TYPO3\\CMS\\IndexedSearch\\Controller\\SearchFormController', 'WILDCARD_RIGHT', \RectorPrefix20220519\TYPO3\CMS\IndexedSearch\Utility\LikeWildcard::class . '::WILDCARD_RIGHT'), new \Rector\Renaming\ValueObject\RenameClassConstFetch('TYPO3\\CMS\\IndexedSearch\\Domain\\Repository\\IndexSearchRepository', 'WILDCARD_LEFT', \RectorPrefix20220519\TYPO3\CMS\IndexedSearch\Utility\LikeWildcard::class . '::WILDCARD_LEFT'), new \Rector\Renaming\ValueObject\RenameClassConstFetch('TYPO3\\CMS\\IndexedSearch\\Domain\\Repository\\IndexSearchRepository', 'WILDCARD_RIGHT', \RectorPrefix20220519\TYPO3\CMS\IndexedSearch\Utility\LikeWildcard::class . '::WILDCARD_RIGHT')]); + $rectorConfig->ruleWithConfiguration(\Rector\Renaming\Rector\ClassConstFetch\RenameClassConstFetchRector::class, [new \Rector\Renaming\ValueObject\RenameClassConstFetch('TYPO3\\CMS\\IndexedSearch\\Controller\\SearchFormController', 'WILDCARD_LEFT', \RectorPrefix20220520\TYPO3\CMS\IndexedSearch\Utility\LikeWildcard::class . '::WILDCARD_LEFT'), new \Rector\Renaming\ValueObject\RenameClassConstFetch('TYPO3\\CMS\\IndexedSearch\\Controller\\SearchFormController', 'WILDCARD_RIGHT', \RectorPrefix20220520\TYPO3\CMS\IndexedSearch\Utility\LikeWildcard::class . '::WILDCARD_RIGHT'), new \Rector\Renaming\ValueObject\RenameClassConstFetch('TYPO3\\CMS\\IndexedSearch\\Domain\\Repository\\IndexSearchRepository', 'WILDCARD_LEFT', \RectorPrefix20220520\TYPO3\CMS\IndexedSearch\Utility\LikeWildcard::class . '::WILDCARD_LEFT'), new \Rector\Renaming\ValueObject\RenameClassConstFetch('TYPO3\\CMS\\IndexedSearch\\Domain\\Repository\\IndexSearchRepository', 'WILDCARD_RIGHT', \RectorPrefix20220520\TYPO3\CMS\IndexedSearch\Utility\LikeWildcard::class . '::WILDCARD_RIGHT')]); $rectorConfig->rule(\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 31cdcea3172..238cc9ebcb8 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(\RectorPrefix20220519\Symplify\ComposerJsonManipulator\ValueObject\ComposerJson $composerJson) : void + public function refactor(\RectorPrefix20220520\Symplify\ComposerJsonManipulator\ValueObject\ComposerJson $composerJson) : void { if ('typo3-cms-extension' !== $composerJson->getType()) { return; @@ -84,7 +84,7 @@ CODE_SAMPLE CODE_SAMPLE , [self::TYPO3_VERSION_CONSTRAINT => '^10.4'])]); } - private function addExtensionKey(\RectorPrefix20220519\Symplify\ComposerJsonManipulator\ValueObject\ComposerJson $composerJson) : void + private function addExtensionKey(\RectorPrefix20220520\Symplify\ComposerJsonManipulator\ValueObject\ComposerJson $composerJson) : void { $extra = $composerJson->getExtra(); if (isset($extra['typo3/cms']['extension-key'])) { @@ -97,7 +97,7 @@ CODE_SAMPLE $extra['typo3/cms']['extension-key'] = \basename(\dirname($fileInfo->getRealPath())); $composerJson->setExtra($extra); } - private function addDescription(\RectorPrefix20220519\Symplify\ComposerJsonManipulator\ValueObject\ComposerJson $composerJson) : void + private function addDescription(\RectorPrefix20220520\Symplify\ComposerJsonManipulator\ValueObject\ComposerJson $composerJson) : void { $description = $composerJson->getDescription(); if ('' !== $description && null !== $description) { @@ -105,7 +105,7 @@ CODE_SAMPLE } $composerJson->setDescription('Add description...'); } - private function addLicense(\RectorPrefix20220519\Symplify\ComposerJsonManipulator\ValueObject\ComposerJson $composerJson) : void + private function addLicense(\RectorPrefix20220520\Symplify\ComposerJsonManipulator\ValueObject\ComposerJson $composerJson) : void { $license = $composerJson->getLicense(); if ('' !== $license && null !== $license && [] !== $license) { @@ -113,7 +113,7 @@ CODE_SAMPLE } $composerJson->setLicense('GPL-2.0-or-later'); } - private function fixPackageName(\RectorPrefix20220519\Symplify\ComposerJsonManipulator\ValueObject\ComposerJson $composerJson) : void + private function fixPackageName(\RectorPrefix20220520\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 2c047657991..e98aa78287d 100644 --- a/vendor/ssch/typo3-rector/src/FileProcessor/Composer/Rector/RemoveCmsPackageDirFromExtraComposerRector.php +++ b/vendor/ssch/typo3-rector/src/FileProcessor/Composer/Rector/RemoveCmsPackageDirFromExtraComposerRector.php @@ -4,7 +4,7 @@ declare (strict_types=1); namespace Ssch\TYPO3Rector\FileProcessor\Composer\Rector; use Rector\Composer\Contract\Rector\ComposerRectorInterface; -use RectorPrefix20220519\Symplify\ComposerJsonManipulator\ValueObject\ComposerJson; +use RectorPrefix20220520\Symplify\ComposerJsonManipulator\ValueObject\ComposerJson; use Symplify\RuleDocGenerator\ValueObject\CodeSample\ConfiguredCodeSample; use Symplify\RuleDocGenerator\ValueObject\RuleDefinition; /** @@ -17,7 +17,7 @@ final class RemoveCmsPackageDirFromExtraComposerRector implements \Rector\Compos * @var string */ private const TYPO3_CMS = 'typo3/cms'; - public function refactor(\RectorPrefix20220519\Symplify\ComposerJsonManipulator\ValueObject\ComposerJson $composerJson) : void + public function refactor(\RectorPrefix20220520\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 b9a69813be9..e5729e17468 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 RectorPrefix20220519\Nette\Utils\Strings; +use RectorPrefix20220520\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 = \RectorPrefix20220519\Nette\Utils\Strings::replace($content, self::PATTERN, self::REPLACEMENT); + $content = \RectorPrefix20220520\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 373b3fc2596..644076ad65b 100644 --- a/vendor/ssch/typo3-rector/src/FileProcessor/Resources/Icons/IconsFileProcessor.php +++ b/vendor/ssch/typo3-rector/src/FileProcessor/Resources/Icons/IconsFileProcessor.php @@ -13,7 +13,6 @@ use Rector\Testing\PHPUnit\StaticPHPUnitEnvironment; use Ssch\TYPO3Rector\Contract\FileProcessor\Resources\IconRectorInterface; use Ssch\TYPO3Rector\Helper\FilesFinder; use Symplify\SmartFileSystem\SmartFileInfo; -use RectorPrefix20220519\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 @@ -29,11 +28,6 @@ final class IconsFileProcessor implements \Rector\Core\Contract\Processor\FilePr * @var \Ssch\TYPO3Rector\Helper\FilesFinder */ private $filesFinder; - /** - * @readonly - * @var \Symplify\SmartFileSystem\SmartFileSystem - */ - private $smartFileSystem; /** * @var IconRectorInterface[] * @readonly @@ -42,10 +36,9 @@ final class IconsFileProcessor implements \Rector\Core\Contract\Processor\FilePr /** * @param IconRectorInterface[] $iconsRector */ - public function __construct(\Ssch\TYPO3Rector\Helper\FilesFinder $filesFinder, \RectorPrefix20220519\Symplify\SmartFileSystem\SmartFileSystem $smartFileSystem, array $iconsRector) + public function __construct(\Ssch\TYPO3Rector\Helper\FilesFinder $filesFinder, array $iconsRector) { $this->filesFinder = $filesFinder; - $this->smartFileSystem = $smartFileSystem; $this->iconsRector = $iconsRector; } /** @@ -69,7 +62,7 @@ final class IconsFileProcessor implements \Rector\Core\Contract\Processor\FilePr if (!$extEmConfSmartFileInfo instanceof \Symplify\SmartFileSystem\SmartFileInfo) { return \false; } - return !$this->smartFileSystem->exists($this->createIconPath($file)); + return !\file_exists($this->createIconPath($file)); } public function getSupportedFileExtensions() : array { 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 bb5212a5f22..11a4a5d163f 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,9 @@ use Rector\Core\ValueObject\Application\File; use Rector\FileSystemRector\ValueObject\AddedFileWithContent; use Rector\Testing\PHPUnit\StaticPHPUnitEnvironment; use Ssch\TYPO3Rector\Contract\FileProcessor\Resources\IconRectorInterface; -use RectorPrefix20220519\Symplify\PackageBuilder\Parameter\ParameterProvider; +use RectorPrefix20220520\Symplify\PackageBuilder\Parameter\ParameterProvider; use Symplify\RuleDocGenerator\ValueObject\CodeSample\CodeSample; use Symplify\RuleDocGenerator\ValueObject\RuleDefinition; -use RectorPrefix20220519\Symplify\SmartFileSystem\SmartFileSystem; final class IconsRector implements \Ssch\TYPO3Rector\Contract\FileProcessor\Resources\IconRectorInterface { /** @@ -25,16 +24,10 @@ final class IconsRector implements \Ssch\TYPO3Rector\Contract\FileProcessor\Reso * @var \Rector\Core\Application\FileSystem\RemovedAndAddedFilesCollector */ private $removedAndAddedFilesCollector; - /** - * @readonly - * @var \Symplify\SmartFileSystem\SmartFileSystem - */ - private $smartFileSystem; - public function __construct(\RectorPrefix20220519\Symplify\PackageBuilder\Parameter\ParameterProvider $parameterProvider, \Rector\Core\Application\FileSystem\RemovedAndAddedFilesCollector $removedAndAddedFilesCollector, \RectorPrefix20220519\Symplify\SmartFileSystem\SmartFileSystem $smartFileSystem) + public function __construct(\RectorPrefix20220520\Symplify\PackageBuilder\Parameter\ParameterProvider $parameterProvider, \Rector\Core\Application\FileSystem\RemovedAndAddedFilesCollector $removedAndAddedFilesCollector) { $this->parameterProvider = $parameterProvider; $this->removedAndAddedFilesCollector = $removedAndAddedFilesCollector; - $this->smartFileSystem = $smartFileSystem; } public function refactorFile(\Rector\Core\ValueObject\Application\File $file) : void { @@ -58,7 +51,7 @@ CODE_SAMPLE if ($this->shouldSkip()) { return; } - $this->smartFileSystem->mkdir(\dirname($newFullPath)); + \mkdir(\dirname($newFullPath), 0777, \true); } private function createIconPath(\Rector\Core\ValueObject\Application\File $file) : string { 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 109f7968ad2..3f6fe6ece13 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 RectorPrefix20220519\Nette\Utils\Strings; +use RectorPrefix20220520\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 @@ -42,6 +42,6 @@ final class TimeConditionMatcher implements \Ssch\TYPO3Rector\Contract\FileProce } public function shouldApply(string $condition) : bool { - return null !== \RectorPrefix20220519\Nette\Utils\Strings::match($condition, '#' . self::ALLOWED_TIME_CONSTANTS . '#Ui'); + return null !== \RectorPrefix20220520\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 1477974bd9f..85a3d4c9f83 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 RectorPrefix20220519\Helmich\TypoScriptParser\Parser\Traverser\Visitor; +use RectorPrefix20220520\Helmich\TypoScriptParser\Parser\Traverser\Visitor; use Ssch\TYPO3Rector\Contract\FileProcessor\TypoScript\TypoScriptRectorInterface; -abstract class AbstractTypoScriptRector implements \RectorPrefix20220519\Helmich\TypoScriptParser\Parser\Traverser\Visitor, \Ssch\TYPO3Rector\Contract\FileProcessor\TypoScript\TypoScriptRectorInterface +abstract class AbstractTypoScriptRector implements \RectorPrefix20220520\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 6ebae9daa8c..bdcd03e7e62 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 RectorPrefix20220519\Helmich\TypoScriptParser\Parser\AST\Operator\Assignment; +use RectorPrefix20220520\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 \RectorPrefix20220519\Helmich\TypoScriptParser\Parser\AST\Operator\Assignment) { + if (!$statement instanceof \RectorPrefix20220520\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 8ed8d50931f..b81315a7d3b 100644 --- a/vendor/ssch/typo3-rector/src/FileProcessor/TypoScript/Rector/ExtbasePersistenceTypoScriptRector.php +++ b/vendor/ssch/typo3-rector/src/FileProcessor/TypoScript/Rector/ExtbasePersistenceTypoScriptRector.php @@ -3,10 +3,10 @@ declare (strict_types=1); namespace Ssch\TYPO3Rector\FileProcessor\TypoScript\Rector; -use RectorPrefix20220519\Helmich\TypoScriptParser\Parser\AST\Operator\Assignment; -use RectorPrefix20220519\Helmich\TypoScriptParser\Parser\AST\Scalar as ScalarValue; +use RectorPrefix20220520\Helmich\TypoScriptParser\Parser\AST\Operator\Assignment; +use RectorPrefix20220520\Helmich\TypoScriptParser\Parser\AST\Scalar as ScalarValue; use Helmich\TypoScriptParser\Parser\AST\Statement; -use RectorPrefix20220519\Nette\Utils\Strings; +use RectorPrefix20220520\Nette\Utils\Strings; use PhpParser\Comment; use PhpParser\Node\Expr\ArrayItem; use PhpParser\Node\Scalar\String_; @@ -74,7 +74,7 @@ final class ExtbasePersistenceTypoScriptRector extends \Ssch\TYPO3Rector\FilePro } public function enterNode(\Helmich\TypoScriptParser\Parser\AST\Statement $statement) : void { - if (!$statement instanceof \RectorPrefix20220519\Helmich\TypoScriptParser\Parser\AST\Operator\Assignment) { + if (!$statement instanceof \RectorPrefix20220520\Helmich\TypoScriptParser\Parser\AST\Operator\Assignment) { return; } if (\strpos($statement->object->absoluteName, 'persistence.classes') === \false) { @@ -134,7 +134,7 @@ CODE_SAMPLE } $return = new \PhpParser\Node\Stmt\Return_($persistenceArray); $content = $this->betterStandardPrinter->prettyPrintFile([$return]); - $content = \RectorPrefix20220519\Nette\Utils\Strings::replace($content, self::REMOVE_EMPTY_LINES, ''); + $content = \RectorPrefix20220520\Nette\Utils\Strings::replace($content, self::REMOVE_EMPTY_LINES, ''); return new \Rector\FileSystemRector\ValueObject\AddedFileWithContent($this->filename, $content); } public function getMessage() : string @@ -151,7 +151,7 @@ CODE_SAMPLE /** * @param string[] $paths */ - private function extractSubClasses(array $paths, \RectorPrefix20220519\Helmich\TypoScriptParser\Parser\AST\Operator\Assignment $statement) : void + private function extractSubClasses(array $paths, \RectorPrefix20220520\Helmich\TypoScriptParser\Parser\AST\Operator\Assignment $statement) : void { if (!\in_array(self::SUBCLASSES, $paths, \true)) { return; @@ -167,7 +167,7 @@ CODE_SAMPLE /** * @param string[] $paths */ - private function extractMapping(string $name, array $paths, \RectorPrefix20220519\Helmich\TypoScriptParser\Parser\AST\Operator\Assignment $statement) : void + private function extractMapping(string $name, array $paths, \RectorPrefix20220520\Helmich\TypoScriptParser\Parser\AST\Operator\Assignment $statement) : void { if (!\in_array($name, $paths, \true)) { return; @@ -183,7 +183,7 @@ CODE_SAMPLE /** * @param string[] $paths */ - private function extractColumns(array $paths, \RectorPrefix20220519\Helmich\TypoScriptParser\Parser\AST\Operator\Assignment $statement) : void + private function extractColumns(array $paths, \RectorPrefix20220520\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 66d8eaaf0c9..9beccbe4429 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 RectorPrefix20220519\Helmich\TypoScriptParser\Parser\AST\FileIncludeStatement; +use RectorPrefix20220520\Helmich\TypoScriptParser\Parser\AST\FileIncludeStatement; use Helmich\TypoScriptParser\Parser\AST\Statement; use Rector\ChangesReporting\ValueObject\RectorWithLineChange; use Rector\Core\Provider\CurrentFileProvider; @@ -27,7 +27,7 @@ final class FileIncludeToImportStatementTypoScriptRector extends \Ssch\TYPO3Rect } public function enterNode(\Helmich\TypoScriptParser\Parser\AST\Statement $statement) : void { - if (!$statement instanceof \RectorPrefix20220519\Helmich\TypoScriptParser\Parser\AST\FileIncludeStatement) { + if (!$statement instanceof \RectorPrefix20220520\Helmich\TypoScriptParser\Parser\AST\FileIncludeStatement) { return; } if (null !== $statement->condition) { diff --git a/vendor/ssch/typo3-rector/src/FileProcessor/TypoScript/Rector/LibFluidContentToLibContentElementRector.php b/vendor/ssch/typo3-rector/src/FileProcessor/TypoScript/Rector/LibFluidContentToLibContentElementRector.php index 85e87254457..24577a2bab3 100644 --- a/vendor/ssch/typo3-rector/src/FileProcessor/TypoScript/Rector/LibFluidContentToLibContentElementRector.php +++ b/vendor/ssch/typo3-rector/src/FileProcessor/TypoScript/Rector/LibFluidContentToLibContentElementRector.php @@ -3,8 +3,8 @@ declare (strict_types=1); namespace Ssch\TYPO3Rector\FileProcessor\TypoScript\Rector; -use RectorPrefix20220519\Helmich\TypoScriptParser\Parser\AST\NestedAssignment; -use RectorPrefix20220519\Helmich\TypoScriptParser\Parser\AST\Operator\Assignment; +use RectorPrefix20220520\Helmich\TypoScriptParser\Parser\AST\NestedAssignment; +use RectorPrefix20220520\Helmich\TypoScriptParser\Parser\AST\Operator\Assignment; use Helmich\TypoScriptParser\Parser\AST\Statement; use Symplify\RuleDocGenerator\ValueObject\CodeSample\CodeSample; use Symplify\RuleDocGenerator\ValueObject\RuleDefinition; @@ -16,7 +16,7 @@ final class LibFluidContentToLibContentElementRector extends \Ssch\TYPO3Rector\F { public function enterNode(\Helmich\TypoScriptParser\Parser\AST\Statement $statement) : void { - if (!\is_a($statement, \RectorPrefix20220519\Helmich\TypoScriptParser\Parser\AST\NestedAssignment::class) && !\is_a($statement, \RectorPrefix20220519\Helmich\TypoScriptParser\Parser\AST\Operator\Assignment::class)) { + if (!\is_a($statement, \RectorPrefix20220520\Helmich\TypoScriptParser\Parser\AST\NestedAssignment::class) && !\is_a($statement, \RectorPrefix20220520\Helmich\TypoScriptParser\Parser\AST\Operator\Assignment::class)) { return; } if ('lib.fluidContent' === $statement->object->relativeName) { 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 fae496594a4..4cc10f822f2 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 RectorPrefix20220519\Helmich\TypoScriptParser\Parser\AST\ConditionalStatement; +use RectorPrefix20220520\Helmich\TypoScriptParser\Parser\AST\ConditionalStatement; use Helmich\TypoScriptParser\Parser\AST\Statement; use LogicException; use Rector\ChangesReporting\ValueObject\RectorWithLineChange; @@ -38,7 +38,7 @@ final class OldConditionToExpressionLanguageTypoScriptRector extends \Ssch\TYPO3 } public function enterNode(\Helmich\TypoScriptParser\Parser\AST\Statement $statement) : void { - if (!$statement instanceof \RectorPrefix20220519\Helmich\TypoScriptParser\Parser\AST\ConditionalStatement) { + if (!$statement instanceof \RectorPrefix20220520\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/Rector/TemplateToFluidTemplateTypoScriptRector.php b/vendor/ssch/typo3-rector/src/FileProcessor/TypoScript/Rector/TemplateToFluidTemplateTypoScriptRector.php index 27762d90906..26e17b27c5f 100644 --- a/vendor/ssch/typo3-rector/src/FileProcessor/TypoScript/Rector/TemplateToFluidTemplateTypoScriptRector.php +++ b/vendor/ssch/typo3-rector/src/FileProcessor/TypoScript/Rector/TemplateToFluidTemplateTypoScriptRector.php @@ -3,8 +3,8 @@ declare (strict_types=1); namespace Ssch\TYPO3Rector\FileProcessor\TypoScript\Rector; -use RectorPrefix20220519\Helmich\TypoScriptParser\Parser\AST\Operator\ObjectCreation; -use RectorPrefix20220519\Helmich\TypoScriptParser\Parser\AST\Scalar; +use RectorPrefix20220520\Helmich\TypoScriptParser\Parser\AST\Operator\ObjectCreation; +use RectorPrefix20220520\Helmich\TypoScriptParser\Parser\AST\Scalar; use Helmich\TypoScriptParser\Parser\AST\Statement; use Symplify\RuleDocGenerator\ValueObject\CodeSample\CodeSample; use Symplify\RuleDocGenerator\ValueObject\RuleDefinition; @@ -16,10 +16,10 @@ final class TemplateToFluidTemplateTypoScriptRector extends \Ssch\TYPO3Rector\Fi { public function enterNode(\Helmich\TypoScriptParser\Parser\AST\Statement $statement) : void { - if (!$statement instanceof \RectorPrefix20220519\Helmich\TypoScriptParser\Parser\AST\Operator\ObjectCreation) { + if (!$statement instanceof \RectorPrefix20220520\Helmich\TypoScriptParser\Parser\AST\Operator\ObjectCreation) { return; } - if (!$statement->value instanceof \RectorPrefix20220519\Helmich\TypoScriptParser\Parser\AST\Scalar) { + if (!$statement->value instanceof \RectorPrefix20220520\Helmich\TypoScriptParser\Parser\AST\Scalar) { return; } if ('TEMPLATE' !== $statement->value->value) { diff --git a/vendor/ssch/typo3-rector/src/FileProcessor/TypoScript/TypoScriptFileProcessor.php b/vendor/ssch/typo3-rector/src/FileProcessor/TypoScript/TypoScriptFileProcessor.php index 94711729089..908f726a78c 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 RectorPrefix20220519\Helmich\TypoScriptParser\Parser\ParseError; -use RectorPrefix20220519\Helmich\TypoScriptParser\Parser\ParserInterface; -use RectorPrefix20220519\Helmich\TypoScriptParser\Parser\Printer\ASTPrinterInterface; -use RectorPrefix20220519\Helmich\TypoScriptParser\Parser\Printer\PrettyPrinterConfiguration; +use RectorPrefix20220520\Helmich\TypoScriptParser\Parser\ParseError; +use RectorPrefix20220520\Helmich\TypoScriptParser\Parser\ParserInterface; +use RectorPrefix20220520\Helmich\TypoScriptParser\Parser\Printer\ASTPrinterInterface; +use RectorPrefix20220520\Helmich\TypoScriptParser\Parser\Printer\PrettyPrinterConfiguration; use Helmich\TypoScriptParser\Parser\Traverser\Traverser; -use RectorPrefix20220519\Helmich\TypoScriptParser\Parser\Traverser\Visitor; -use RectorPrefix20220519\Helmich\TypoScriptParser\Tokenizer\TokenizerException; +use RectorPrefix20220520\Helmich\TypoScriptParser\Parser\Traverser\Visitor; +use RectorPrefix20220520\Helmich\TypoScriptParser\Tokenizer\TokenizerException; use Rector\ChangesReporting\ValueObjectFactory\FileDiffFactory; use Rector\Core\Application\FileSystem\RemovedAndAddedFilesCollector; use Rector\Core\Console\Output\RectorOutputStyle; @@ -28,8 +28,8 @@ use Ssch\TYPO3Rector\Contract\FileProcessor\TypoScript\TypoScriptPostRectorInter use Ssch\TYPO3Rector\Contract\FileProcessor\TypoScript\TypoScriptRectorInterface; use Ssch\TYPO3Rector\Contract\Processor\ConfigurableProcessorInterface; use Ssch\TYPO3Rector\FileProcessor\TypoScript\Rector\AbstractTypoScriptRector; -use RectorPrefix20220519\Symfony\Component\Console\Output\BufferedOutput; -use RectorPrefix20220519\Webmozart\Assert\Assert; +use RectorPrefix20220520\Symfony\Component\Console\Output\BufferedOutput; +use RectorPrefix20220520\Webmozart\Assert\Assert; /** * @see \Ssch\TYPO3Rector\Tests\FileProcessor\TypoScript\TypoScriptProcessorTest */ @@ -101,7 +101,7 @@ final class TypoScriptFileProcessor implements \Ssch\TYPO3Rector\Contract\Proces * @param TypoScriptRectorInterface[] $typoScriptRectors * @param TypoScriptPostRectorInterface[] $typoScriptPostRectors */ - public function __construct(\RectorPrefix20220519\Helmich\TypoScriptParser\Parser\ParserInterface $typoscriptParser, \RectorPrefix20220519\Symfony\Component\Console\Output\BufferedOutput $output, \RectorPrefix20220519\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, \Rector\ChangesReporting\ValueObjectFactory\FileDiffFactory $fileDiffFactory, array $typoScriptRectors = [], array $typoScriptPostRectors = []) + public function __construct(\RectorPrefix20220520\Helmich\TypoScriptParser\Parser\ParserInterface $typoscriptParser, \RectorPrefix20220520\Symfony\Component\Console\Output\BufferedOutput $output, \RectorPrefix20220520\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, \Rector\ChangesReporting\ValueObjectFactory\FileDiffFactory $fileDiffFactory, array $typoScriptRectors = [], array $typoScriptPostRectors = []) { $this->typoscriptParser = $typoscriptParser; $this->output = $output; @@ -144,8 +144,8 @@ final class TypoScriptFileProcessor implements \Ssch\TYPO3Rector\Contract\Proces public function configure(array $configuration) : void { $allowedFileExtensions = $configuration[self::ALLOWED_FILE_EXTENSIONS] ?? $configuration; - \RectorPrefix20220519\Webmozart\Assert\Assert::isArray($allowedFileExtensions); - \RectorPrefix20220519\Webmozart\Assert\Assert::allString($allowedFileExtensions); + \RectorPrefix20220520\Webmozart\Assert\Assert::isArray($allowedFileExtensions); + \RectorPrefix20220520\Webmozart\Assert\Assert::allString($allowedFileExtensions); $this->allowedFileExtensions = $allowedFileExtensions; } private function processFile(\Rector\Core\ValueObject\Application\File $file) : void @@ -168,7 +168,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 = \RectorPrefix20220519\Helmich\TypoScriptParser\Parser\Printer\PrettyPrinterConfiguration::create(); + $prettyPrinterConfiguration = \RectorPrefix20220520\Helmich\TypoScriptParser\Parser\Printer\PrettyPrinterConfiguration::create(); $prettyPrinterConfiguration = $prettyPrinterConfiguration->withEmptyLineBreaks(); if ('tab' === $editorConfiguration->getIndentStyle()) { $prettyPrinterConfiguration = $prettyPrinterConfiguration->withTabs(); @@ -183,9 +183,9 @@ final class TypoScriptFileProcessor implements \Ssch\TYPO3Rector\Contract\Proces $oldFileContents = $file->getFileContent(); $file->changeFileContent($typoScriptContent); $this->fileDiffs[] = $this->fileDiffFactory->createFileDiff($file, $oldFileContents, $file->getFileContent()); - } catch (\RectorPrefix20220519\Helmich\TypoScriptParser\Tokenizer\TokenizerException $exception) { + } catch (\RectorPrefix20220520\Helmich\TypoScriptParser\Tokenizer\TokenizerException $exception) { return; - } catch (\RectorPrefix20220519\Helmich\TypoScriptParser\Parser\ParseError $exception) { + } catch (\RectorPrefix20220520\Helmich\TypoScriptParser\Parser\ParseError $exception) { $smartFileInfo = $file->getSmartFileInfo(); $errorFile = $smartFileInfo->getRelativeFilePath(); $this->rectorOutputStyle->warning(\sprintf('TypoScriptParser Error in: %s. File skipped.', $errorFile)); @@ -197,7 +197,7 @@ final class TypoScriptFileProcessor implements \Ssch\TYPO3Rector\Contract\Proces */ private function convertToPhpFileRectors() : array { - return \array_filter($this->typoScriptRectors, function (\RectorPrefix20220519\Helmich\TypoScriptParser\Parser\Traverser\Visitor $visitor) : bool { + return \array_filter($this->typoScriptRectors, function (\RectorPrefix20220520\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 c89a8d4a819..40cff23f524 100644 --- a/vendor/ssch/typo3-rector/src/FileProcessor/Yaml/Form/FormYamlFileProcessor.php +++ b/vendor/ssch/typo3-rector/src/FileProcessor/Yaml/Form/FormYamlFileProcessor.php @@ -13,7 +13,7 @@ use Rector\Core\ValueObject\Reporting\FileDiff; use Rector\Parallel\ValueObject\Bridge; use Ssch\TYPO3Rector\Contract\FileProcessor\Yaml\Form\FormYamlRectorInterface; use Ssch\TYPO3Rector\FileProcessor\Yaml\YamlIndentResolver; -use RectorPrefix20220519\Symfony\Component\Yaml\Yaml; +use RectorPrefix20220520\Symfony\Component\Yaml\Yaml; /** * @see \Ssch\TYPO3Rector\Tests\FileProcessor\Yaml\Form\FormYamlProcessorTest */ @@ -62,7 +62,7 @@ final class FormYamlFileProcessor implements \Rector\Core\Contract\Processor\Fil $this->currentFileProvider->setFile($file); $smartFileInfo = $file->getSmartFileInfo(); $oldYamlContent = $smartFileInfo->getContents(); - $yaml = \RectorPrefix20220519\Symfony\Component\Yaml\Yaml::parse($oldYamlContent); + $yaml = \RectorPrefix20220520\Symfony\Component\Yaml\Yaml::parse($oldYamlContent); if (!\is_array($yaml)) { return $systemErrorsAndFileDiffs; } @@ -75,7 +75,7 @@ final class FormYamlFileProcessor implements \Rector\Core\Contract\Processor\Fil return $systemErrorsAndFileDiffs; } $spaceCount = $this->yamlIndentResolver->resolveIndentSpaceCount($oldYamlContent); - $newFileContent = \RectorPrefix20220519\Symfony\Component\Yaml\Yaml::dump($newYaml, 99, $spaceCount); + $newFileContent = \RectorPrefix20220520\Symfony\Component\Yaml\Yaml::dump($newYaml, 99, $spaceCount); $file->changeFileContent($newFileContent); $fileDiff = $this->fileDiffFactory->createFileDiff($file, $oldYamlContent, $newFileContent); $systemErrorsAndFileDiffs[\Rector\Parallel\ValueObject\Bridge::FILE_DIFFS][] = $fileDiff; diff --git a/vendor/ssch/typo3-rector/src/FileProcessor/Yaml/YamlIndentResolver.php b/vendor/ssch/typo3-rector/src/FileProcessor/Yaml/YamlIndentResolver.php index 29eb6fb69aa..71d1126624c 100644 --- a/vendor/ssch/typo3-rector/src/FileProcessor/Yaml/YamlIndentResolver.php +++ b/vendor/ssch/typo3-rector/src/FileProcessor/Yaml/YamlIndentResolver.php @@ -3,7 +3,7 @@ declare (strict_types=1); namespace Ssch\TYPO3Rector\FileProcessor\Yaml; -use RectorPrefix20220519\Nette\Utils\Strings; +use RectorPrefix20220520\Nette\Utils\Strings; final class YamlIndentResolver { /** @@ -21,7 +21,7 @@ final class YamlIndentResolver private const DEFAULT_INDENT_SPACE_COUNT = 4; public function resolveIndentSpaceCount(string $yamlFileContent) : int { - $firstSpaceMatch = \RectorPrefix20220519\Nette\Utils\Strings::match($yamlFileContent, self::FIRST_INDENT_REGEX); + $firstSpaceMatch = \RectorPrefix20220520\Nette\Utils\Strings::match($yamlFileContent, self::FIRST_INDENT_REGEX); if (!isset($firstSpaceMatch[self::FIRST_INDENT_KEY])) { return self::DEFAULT_INDENT_SPACE_COUNT; } diff --git a/vendor/ssch/typo3-rector/src/Helper/FilesFinder.php b/vendor/ssch/typo3-rector/src/Helper/FilesFinder.php index 503500f726e..b888fff7ad5 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 RectorPrefix20220519\Symplify\EasyTesting\PHPUnit\StaticPHPUnitEnvironment; +use RectorPrefix20220520\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 (\RectorPrefix20220519\Symplify\EasyTesting\PHPUnit\StaticPHPUnitEnvironment::isPHPUnitRun()) { + if (\RectorPrefix20220520\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 95c9a299bc3..f5a3950fcad 100644 --- a/vendor/ssch/typo3-rector/src/Helper/StringUtility.php +++ b/vendor/ssch/typo3-rector/src/Helper/StringUtility.php @@ -3,17 +3,17 @@ declare (strict_types=1); namespace Ssch\TYPO3Rector\Helper; -use function RectorPrefix20220519\Symfony\Component\String\u; +use function RectorPrefix20220520\Symfony\Component\String\u; final class StringUtility { public static function prepareExtensionName(string $extensionName, int $delimiterPosition) : string { $extensionName = \substr($extensionName, $delimiterPosition + 1); - $stringy = \RectorPrefix20220519\Symfony\Component\String\u($extensionName); + $stringy = \RectorPrefix20220520\Symfony\Component\String\u($extensionName); $underscores = $stringy->snake(); $lower = $underscores->lower(); $underScoredExtensionName = \str_replace('_', ' ', $lower->toString()); - $stringy = \RectorPrefix20220519\Symfony\Component\String\u($underScoredExtensionName); + $stringy = \RectorPrefix20220520\Symfony\Component\String\u($underScoredExtensionName); $trimmed = $stringy->trim(); $uppercase = $trimmed->title(); $underScoredExtensionName = \ucwords($uppercase->toString()); diff --git a/vendor/ssch/typo3-rector/src/NodeAnalyzer/CommandMethodDecorator.php b/vendor/ssch/typo3-rector/src/NodeAnalyzer/CommandMethodDecorator.php index 9c13ee1e5df..eb6066c4f17 100644 --- a/vendor/ssch/typo3-rector/src/NodeAnalyzer/CommandMethodDecorator.php +++ b/vendor/ssch/typo3-rector/src/NodeAnalyzer/CommandMethodDecorator.php @@ -11,13 +11,13 @@ use PhpParser\Node\Stmt\ClassMethod; use PhpParser\Node\Stmt\Expression; use Rector\Core\PhpParser\Node\NodeFactory; use Rector\NodeNameResolver\NodeNameResolver; -use RectorPrefix20220519\Symfony\Component\Console\Input\InputArgument; +use RectorPrefix20220520\Symfony\Component\Console\Input\InputArgument; final class CommandMethodDecorator { /** * @var array */ - private const MODE_MAPPING = [\RectorPrefix20220519\Symfony\Component\Console\Input\InputArgument::OPTIONAL => 'OPTIONAL', \RectorPrefix20220519\Symfony\Component\Console\Input\InputArgument::REQUIRED => 'REQUIRED']; + private const MODE_MAPPING = [\RectorPrefix20220520\Symfony\Component\Console\Input\InputArgument::OPTIONAL => 'OPTIONAL', \RectorPrefix20220520\Symfony\Component\Console\Input\InputArgument::REQUIRED => 'REQUIRED']; /** * @readonly * @var \Rector\Core\PhpParser\Node\NodeFactory diff --git a/vendor/ssch/typo3-rector/src/NodeFactory/InitializeArgumentsClassMethodFactory.php b/vendor/ssch/typo3-rector/src/NodeFactory/InitializeArgumentsClassMethodFactory.php index d7eadb24823..08f2efce792 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 RectorPrefix20220519\Symplify\Astral\ValueObject\NodeBuilder\MethodBuilder; -use RectorPrefix20220519\Symplify\PackageBuilder\Reflection\ClassLikeExistenceChecker; +use RectorPrefix20220520\Symplify\Astral\ValueObject\NodeBuilder\MethodBuilder; +use RectorPrefix20220520\Symplify\PackageBuilder\Reflection\ClassLikeExistenceChecker; final class InitializeArgumentsClassMethodFactory { /** @@ -97,7 +97,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, \RectorPrefix20220519\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, \RectorPrefix20220520\Symplify\PackageBuilder\Reflection\ClassLikeExistenceChecker $classLikeExistenceChecker) { $this->nodeFactory = $nodeFactory; $this->nodeNameResolver = $nodeNameResolver; @@ -138,7 +138,7 @@ final class InitializeArgumentsClassMethodFactory } private function createNewClassMethod() : \PhpParser\Node\Stmt\ClassMethod { - $methodBuilder = new \RectorPrefix20220519\Symplify\Astral\ValueObject\NodeBuilder\MethodBuilder(self::METHOD_NAME); + $methodBuilder = new \RectorPrefix20220520\Symplify\Astral\ValueObject\NodeBuilder\MethodBuilder(self::METHOD_NAME); $methodBuilder->makePublic(); $methodBuilder->setReturnType('void'); return $methodBuilder->getNode(); diff --git a/vendor/ssch/typo3-rector/src/NodeFactory/InjectMethodFactory.php b/vendor/ssch/typo3-rector/src/NodeFactory/InjectMethodFactory.php index 66cd7c882c0..e7e8cc2e262 100644 --- a/vendor/ssch/typo3-rector/src/NodeFactory/InjectMethodFactory.php +++ b/vendor/ssch/typo3-rector/src/NodeFactory/InjectMethodFactory.php @@ -19,8 +19,8 @@ use Rector\BetterPhpDocParser\PhpDocManipulator\PhpDocTagRemover; use Rector\NodeNameResolver\NodeNameResolver; use Rector\StaticTypeMapper\ValueObject\Type\FullyQualifiedObjectType; use Rector\StaticTypeMapper\ValueObject\Type\ShortenedObjectType; -use RectorPrefix20220519\Symplify\Astral\ValueObject\NodeBuilder\MethodBuilder; -use RectorPrefix20220519\Symplify\Astral\ValueObject\NodeBuilder\ParamBuilder; +use RectorPrefix20220520\Symplify\Astral\ValueObject\NodeBuilder\MethodBuilder; +use RectorPrefix20220520\Symplify\Astral\ValueObject\NodeBuilder\ParamBuilder; final class InjectMethodFactory { /** @@ -53,7 +53,7 @@ final class InjectMethodFactory $statements = []; /** @var string $variableName */ $variableName = $this->nodeNameResolver->getName($property); - $paramBuilder = new \RectorPrefix20220519\Symplify\Astral\ValueObject\NodeBuilder\ParamBuilder($variableName); + $paramBuilder = new \RectorPrefix20220520\Symplify\Astral\ValueObject\NodeBuilder\ParamBuilder($variableName); $varType = $propertyPhpDocInfo->getVarType(); if (!$varType instanceof \PHPStan\Type\ObjectType) { return $statements; @@ -79,7 +79,7 @@ final class InjectMethodFactory private function createInjectClassMethod(string $variableName, \PhpParser\Node\Param $param, \PhpParser\Node\Expr\Assign $assign) : \PhpParser\Node\Stmt\ClassMethod { $injectMethodName = $this->createInjectMethodName($variableName); - $injectMethodBuilder = new \RectorPrefix20220519\Symplify\Astral\ValueObject\NodeBuilder\MethodBuilder($injectMethodName); + $injectMethodBuilder = new \RectorPrefix20220520\Symplify\Astral\ValueObject\NodeBuilder\MethodBuilder($injectMethodName); $injectMethodBuilder->makePublic(); $injectMethodBuilder->addParam($param); $injectMethodBuilder->setReturnType('void'); diff --git a/vendor/ssch/typo3-rector/src/Rector/General/MethodGetInstanceToMakeInstanceCallRector.php b/vendor/ssch/typo3-rector/src/Rector/General/MethodGetInstanceToMakeInstanceCallRector.php index 86fae41d6f3..53713b2462b 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 RectorPrefix20220519\TYPO3\CMS\Core\Utility\GeneralUtility; -use RectorPrefix20220519\Webmozart\Assert\Assert; +use RectorPrefix20220520\TYPO3\CMS\Core\Utility\GeneralUtility; +use RectorPrefix20220520\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(\RectorPrefix20220519\TYPO3\CMS\Core\Utility\GeneralUtility::class, 'makeInstance', [$class]); + return $this->nodeFactory->createStaticCall(\RectorPrefix20220520\TYPO3\CMS\Core\Utility\GeneralUtility::class, 'makeInstance', [$class]); } /** * @codeCoverageIgnore @@ -72,8 +72,8 @@ CODE_SAMPLE public function configure(array $configuration) : void { $classes = $configuration[self::CLASSES_GET_INSTANCE_TO_MAKE_INSTANCE] ?? $configuration; - \RectorPrefix20220519\Webmozart\Assert\Assert::isArray($classes); - \RectorPrefix20220519\Webmozart\Assert\Assert::allString($classes); + \RectorPrefix20220520\Webmozart\Assert\Assert::isArray($classes); + \RectorPrefix20220520\Webmozart\Assert\Assert::allString($classes); $this->classes = $classes; } private function shouldSkip(\PhpParser\Node\Expr\StaticCall $staticCall) : bool diff --git a/vendor/ssch/typo3-rector/src/Rector/PostRector/FullQualifiedNamePostRector.php b/vendor/ssch/typo3-rector/src/Rector/PostRector/FullQualifiedNamePostRector.php index 4d180a1392b..6efac3b8c2b 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 RectorPrefix20220519\Symplify\PackageBuilder\Parameter\ParameterProvider; +use RectorPrefix20220520\Symplify\PackageBuilder\Parameter\ParameterProvider; use Symplify\RuleDocGenerator\ValueObject\CodeSample\CodeSample; use Symplify\RuleDocGenerator\ValueObject\RuleDefinition; -use RectorPrefix20220519\Symplify\Skipper\Matcher\FileInfoMatcher; +use RectorPrefix20220520\Symplify\Skipper\Matcher\FileInfoMatcher; /** * @see \Ssch\TYPO3Rector\Tests\Rector\PostRector\FullQualifiedNamePostRector\FullQualifiedNamePostRectorTest */ @@ -55,7 +55,7 @@ final class FullQualifiedNamePostRector extends \Rector\PostRector\Rector\Abstra * @var \Symplify\Skipper\Matcher\FileInfoMatcher */ private $fileInfoMatcher; - public function __construct(\RectorPrefix20220519\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, \RectorPrefix20220519\Symplify\Skipper\Matcher\FileInfoMatcher $fileInfoMatcher) + public function __construct(\RectorPrefix20220520\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, \RectorPrefix20220520\Symplify\Skipper\Matcher\FileInfoMatcher $fileInfoMatcher) { $this->parameterProvider = $parameterProvider; $this->currentFileProvider = $currentFileProvider; @@ -150,7 +150,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(\RectorPrefix20220519\Symplify\PackageBuilder\Parameter\ParameterProvider $parameterProvider) : void + private function changeNameImportingPostRectorSkipConfiguration(\RectorPrefix20220520\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 935ff26cd93..0abbf91922d 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 RectorPrefix20220519\Symplify\Astral\ValueObject\NodeBuilder\MethodBuilder; -use RectorPrefix20220519\Symplify\Astral\ValueObject\NodeBuilder\ParamBuilder; +use RectorPrefix20220520\Symplify\Astral\ValueObject\NodeBuilder\MethodBuilder; +use RectorPrefix20220520\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_ $class) : void { - $methodBuilder = new \RectorPrefix20220519\Symplify\Astral\ValueObject\NodeBuilder\MethodBuilder('getControllerConfiguration'); + $methodBuilder = new \RectorPrefix20220520\Symplify\Astral\ValueObject\NodeBuilder\MethodBuilder('getControllerConfiguration'); $methodBuilder->makeProtected(); - $methodBuilder->addParams([(new \RectorPrefix20220519\Symplify\Astral\ValueObject\NodeBuilder\ParamBuilder('extensionName'))->getNode(), (new \RectorPrefix20220519\Symplify\Astral\ValueObject\NodeBuilder\ParamBuilder('pluginName'))->getNode()]); + $methodBuilder->addParams([(new \RectorPrefix20220520\Symplify\Astral\ValueObject\NodeBuilder\ParamBuilder('extensionName'))->getNode(), (new \RectorPrefix20220520\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 31a37f38413..cb18c9e5f0a 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 RectorPrefix20220519\TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController; +use RectorPrefix20220520\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 c0b223cf683..131fa15b304 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 RectorPrefix20220519\TYPO3\CMS\Extbase\Utility\TypeHandlingUtility; +use RectorPrefix20220520\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(\RectorPrefix20220519\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(\RectorPrefix20220520\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 43689fc790f..a15421fddda 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 RectorPrefix20220519\Symplify\Astral\ValueObject\NodeBuilder\MethodBuilder; -use RectorPrefix20220519\Symplify\Astral\ValueObject\NodeBuilder\ParamBuilder; -use RectorPrefix20220519\Symplify\Astral\ValueObject\NodeBuilder\PropertyBuilder; +use RectorPrefix20220520\Symplify\Astral\ValueObject\NodeBuilder\MethodBuilder; +use RectorPrefix20220520\Symplify\Astral\ValueObject\NodeBuilder\ParamBuilder; +use RectorPrefix20220520\Symplify\Astral\ValueObject\NodeBuilder\PropertyBuilder; use Symplify\RuleDocGenerator\ValueObject\CodeSample\CodeSample; use Symplify\RuleDocGenerator\ValueObject\RuleDefinition; /** @@ -128,7 +128,7 @@ CODE_SAMPLE } private function createEnvironmentServiceProperty() : \PhpParser\Node\Stmt\Property { - $propertyBuilder = new \RectorPrefix20220519\Symplify\Astral\ValueObject\NodeBuilder\PropertyBuilder(self::ENVIRONMENT_SERVICE); + $propertyBuilder = new \RectorPrefix20220520\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))); @@ -150,11 +150,11 @@ CODE_SAMPLE } private function addInjectEnvironmentServiceMethod(\PhpParser\Node\Stmt\Class_ $class) : void { - $paramBuilder = new \RectorPrefix20220519\Symplify\Astral\ValueObject\NodeBuilder\ParamBuilder(self::ENVIRONMENT_SERVICE); + $paramBuilder = new \RectorPrefix20220520\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 \RectorPrefix20220519\Symplify\Astral\ValueObject\NodeBuilder\MethodBuilder('injectEnvironmentService'); + $classMethodBuilder = new \RectorPrefix20220520\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 e2245a7534b..2e687b8ecdd 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 RectorPrefix20220519\Nette\Utils\Strings; +use RectorPrefix20220520\Nette\Utils\Strings; use PhpParser\Node; use PhpParser\Node\Expr\MethodCall; use PHPStan\Type\ObjectType; @@ -52,7 +52,7 @@ final class UseIconsFromSubFolderInIconRegistryRector extends \Rector\Core\Recto if (\strncmp($source, 'typo3/sysext/core/Resources/Public/Icons/T3Icons/content/', \strlen('typo3/sysext/core/Resources/Public/Icons/T3Icons/content/')) !== 0) { return null; } - $options[self::SOURCE] = \RectorPrefix20220519\Nette\Utils\Strings::replace($source, '#typo3/sysext/core/Resources/Public/Icons/T3Icons/content/#i', 'typo3/sysext/core/Resources/Public/Icons/T3Icons/svgs/content/'); + $options[self::SOURCE] = \RectorPrefix20220520\Nette\Utils\Strings::replace($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 c180b7f4ec5..6dc7ff07ff7 100644 --- a/vendor/ssch/typo3-rector/src/Rector/v11/v4/ProvideCObjViaMethodRector.php +++ b/vendor/ssch/typo3-rector/src/Rector/v11/v4/ProvideCObjViaMethodRector.php @@ -13,8 +13,8 @@ use PhpParser\Node\Stmt\Property; use PHPStan\Type\ObjectType; use Rector\Core\Rector\AbstractRector; use Rector\Privatization\NodeManipulator\VisibilityManipulator; -use RectorPrefix20220519\Symplify\Astral\ValueObject\NodeBuilder\MethodBuilder; -use RectorPrefix20220519\Symplify\Astral\ValueObject\NodeBuilder\ParamBuilder; +use RectorPrefix20220520\Symplify\Astral\ValueObject\NodeBuilder\MethodBuilder; +use RectorPrefix20220520\Symplify\Astral\ValueObject\NodeBuilder\ParamBuilder; use Symplify\RuleDocGenerator\ValueObject\CodeSample\CodeSample; use Symplify\RuleDocGenerator\ValueObject\RuleDefinition; /** @@ -88,11 +88,11 @@ CODE_SAMPLE } private function addSetContentObjectRendererMethod(\PhpParser\Node\Stmt\Class_ $class) : void { - $paramBuilder = new \RectorPrefix20220519\Symplify\Astral\ValueObject\NodeBuilder\ParamBuilder(self::COBJ); + $paramBuilder = new \RectorPrefix20220520\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 \RectorPrefix20220519\Symplify\Astral\ValueObject\NodeBuilder\MethodBuilder('setContentObjectRenderer'); + $classMethodBuilder = new \RectorPrefix20220520\Symplify\Astral\ValueObject\NodeBuilder\MethodBuilder('setContentObjectRenderer'); $classMethodBuilder->addParam($param); $classMethodBuilder->addStmt($propertyAssignNode); $classMethodBuilder->makePublic(); diff --git a/vendor/ssch/typo3-rector/src/Rector/v11/v5/RegisterIconToIconFileRector.php b/vendor/ssch/typo3-rector/src/Rector/v11/v5/RegisterIconToIconFileRector.php index 79b7d50b457..3c57cc876d3 100644 --- a/vendor/ssch/typo3-rector/src/Rector/v11/v5/RegisterIconToIconFileRector.php +++ b/vendor/ssch/typo3-rector/src/Rector/v11/v5/RegisterIconToIconFileRector.php @@ -3,7 +3,7 @@ declare (strict_types=1); namespace Ssch\TYPO3Rector\Rector\v11\v5; -use RectorPrefix20220519\Nette\Utils\Strings; +use RectorPrefix20220520\Nette\Utils\Strings; use PhpParser\Node; use PhpParser\Node\Expr\Array_; use PhpParser\Node\Expr\MethodCall; @@ -158,7 +158,7 @@ CODE_SAMPLE $stmts = [new \PhpParser\Node\Stmt\Return_($array)]; } $changedIconsContent = $this->nodePrinter->prettyPrintFile($stmts); - $changedIconsContent = \RectorPrefix20220519\Nette\Utils\Strings::replace($changedIconsContent, self::REMOVE_EMPTY_LINES); + $changedIconsContent = \RectorPrefix20220520\Nette\Utils\Strings::replace($changedIconsContent, self::REMOVE_EMPTY_LINES); $this->removedAndAddedFilesCollector->addAddedFile(new \Rector\FileSystemRector\ValueObject\AddedFileWithContent($iconsFilePath, $changedIconsContent)); } } 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 50528d467ed..bd0627feed2 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 RectorPrefix20220519\TYPO3\CMS\Core\Imaging\GraphicalFunctions; +use RectorPrefix20220520\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 7ae7ee113fb..421f86d88db 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 RectorPrefix20220519\TYPO3\CMS\Core\Imaging\GraphicalFunctions; +use RectorPrefix20220520\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();', \RectorPrefix20220519\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();', \RectorPrefix20220520\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 f2e64dfcc12..df031a8aaeb 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 RectorPrefix20220519\TYPO3\CMS\Core\TypoScript\TemplateService; +use RectorPrefix20220520\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/v4/SubstituteOldWizardIconsRector.php b/vendor/ssch/typo3-rector/src/Rector/v8/v4/SubstituteOldWizardIconsRector.php index f0d2c9036fb..94c3c5f5889 100644 --- a/vendor/ssch/typo3-rector/src/Rector/v8/v4/SubstituteOldWizardIconsRector.php +++ b/vendor/ssch/typo3-rector/src/Rector/v8/v4/SubstituteOldWizardIconsRector.php @@ -13,7 +13,7 @@ use Rector\Core\Rector\AbstractRector; use Ssch\TYPO3Rector\Helper\TcaHelperTrait; use Symplify\RuleDocGenerator\ValueObject\CodeSample\ConfiguredCodeSample; use Symplify\RuleDocGenerator\ValueObject\RuleDefinition; -use RectorPrefix20220519\Webmozart\Assert\Assert; +use RectorPrefix20220520\Webmozart\Assert\Assert; /** * @changelog https://docs.typo3.org/c/typo3/cms-core/master/en-us/Changelog/8.4/Breaking-77630-RemoveWizardIcons.html * @see \Ssch\TYPO3Rector\Tests\Rector\v8\v4\SubstituteOldWizardIconsRector\SubstituteOldWizardIconsRectorTest @@ -165,9 +165,9 @@ CODE_SAMPLE public function configure(array $configuration) : void { $oldToNewFileLocations = $configuration[self::OLD_TO_NEW_FILE_LOCATIONS] ?? $configuration; - \RectorPrefix20220519\Webmozart\Assert\Assert::isArray($oldToNewFileLocations); - \RectorPrefix20220519\Webmozart\Assert\Assert::allString(\array_keys($oldToNewFileLocations)); - \RectorPrefix20220519\Webmozart\Assert\Assert::allString($oldToNewFileLocations); + \RectorPrefix20220520\Webmozart\Assert\Assert::isArray($oldToNewFileLocations); + \RectorPrefix20220520\Webmozart\Assert\Assert::allString(\array_keys($oldToNewFileLocations)); + \RectorPrefix20220520\Webmozart\Assert\Assert::allString($oldToNewFileLocations); $this->oldToNewFileLocations = $oldToNewFileLocations; } } 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 91ea1d20d00..e8b168a949c 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 RectorPrefix20220519\Nette\Utils\Strings; +use RectorPrefix20220520\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 || \RectorPrefix20220519\Nette\Utils\Strings::startsWith($this->valueResolver->getValue($wizardItemValueKey), '_')) { + if ($validWizard || \RectorPrefix20220520\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 86a4b2ab59a..40aa9e5eca8 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 RectorPrefix20220519\TYPO3\CMS\Core\Utility\ExtensionManagementUtility; +use RectorPrefix20220520\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 ead3fa150b1..135cb2afcbb 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 RectorPrefix20220519\TYPO3\CMS\Core\Imaging\GraphicalFunctions; +use RectorPrefix20220520\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 75b809fa0d0..1f7883fbfdf 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 RectorPrefix20220519\TYPO3\CMS\Core\TypoScript\TemplateService; +use RectorPrefix20220520\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/ReplaceExtKeyWithExtensionKeyRector.php b/vendor/ssch/typo3-rector/src/Rector/v9/v0/ReplaceExtKeyWithExtensionKeyRector.php index 8d9fbec21f8..4d8d5e427c2 100644 --- a/vendor/ssch/typo3-rector/src/Rector/v9/v0/ReplaceExtKeyWithExtensionKeyRector.php +++ b/vendor/ssch/typo3-rector/src/Rector/v9/v0/ReplaceExtKeyWithExtensionKeyRector.php @@ -3,7 +3,7 @@ declare (strict_types=1); namespace Ssch\TYPO3Rector\Rector\v9\v0; -use RectorPrefix20220519\Nette\Utils\Json; +use RectorPrefix20220520\Nette\Utils\Json; use PhpParser\Node; use PhpParser\Node\Expr\Assign; use PhpParser\Node\Expr\Variable; @@ -13,7 +13,7 @@ use Rector\NodeTypeResolver\Node\AttributeKey; use Ssch\TYPO3Rector\Helper\FilesFinder; use Symplify\RuleDocGenerator\ValueObject\CodeSample\CodeSample; use Symplify\RuleDocGenerator\ValueObject\RuleDefinition; -use RectorPrefix20220519\Symplify\SmartFileSystem\Exception\FileNotFoundException; +use RectorPrefix20220520\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 @@ -107,7 +107,7 @@ CODE_SAMPLE { try { $composerJson = new \Symplify\SmartFileSystem\SmartFileInfo($extEmConf->getRealPathDirectory() . '/composer.json'); - $json = \RectorPrefix20220519\Nette\Utils\Json::decode($composerJson->getContents(), \RectorPrefix20220519\Nette\Utils\Json::FORCE_ARRAY); + $json = \RectorPrefix20220520\Nette\Utils\Json::decode($composerJson->getContents(), \RectorPrefix20220520\Nette\Utils\Json::FORCE_ARRAY); if (isset($json['extra']['typo3/cms']['extension-key'])) { return $json['extra']['typo3/cms']['extension-key']; } @@ -115,7 +115,7 @@ CODE_SAMPLE [, $extensionKey] = \explode('/', (string) $json['name'], 2); return \str_replace('-', '_', $extensionKey); } - } catch (\RectorPrefix20220519\Symplify\SmartFileSystem\Exception\FileNotFoundException $exception) { + } catch (\RectorPrefix20220520\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 74fe0996b31..92373ed8cad 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 RectorPrefix20220519\TYPO3\CMS\Core\Authentication\BackendUserAuthentication; +use RectorPrefix20220520\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 832050ee643..d9e2458ba55 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 RectorPrefix20220519\TYPO3\CMS\Core\Utility\PhpOptionsUtility; +use RectorPrefix20220520\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 a48595869d8..2121b63e73e 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 RectorPrefix20220519\TYPO3\CMS\Backend\Utility\BackendUtility; +use RectorPrefix20220520\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(\RectorPrefix20220519\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(\RectorPrefix20220520\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 613d9d54eb9..21e2b74a389 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 RectorPrefix20220519\TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer; +use RectorPrefix20220520\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 d7dacc3d403..960e9b8595f 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 RectorPrefix20220519\TYPO3\CMS\Core\Imaging\GraphicalFunctions; +use RectorPrefix20220520\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 0f3fa914ef6..0224584831a 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 RectorPrefix20220519\TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController; +use RectorPrefix20220520\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 b4111f4be2f..358d3dbba30 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 RectorPrefix20220519\TYPO3\CMS\Frontend\Page\PageRepository; +use RectorPrefix20220520\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 f5d41144042..1ac37c10419 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 RectorPrefix20220519\TYPO3\CMS\Frontend\Page\PageRepository; +use RectorPrefix20220520\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 22b138b2008..bd970a2e5eb 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 RectorPrefix20220519\Nette\Utils\Strings; +use RectorPrefix20220520\Nette\Utils\Strings; use PhpParser\Node; use PhpParser\Node\Expr\Array_; use PhpParser\Node\Stmt\Class_; @@ -24,11 +24,10 @@ use Ssch\TYPO3Rector\Helper\FilesFinder; use Ssch\TYPO3Rector\NodeAnalyzer\CommandArrayDecorator; use Ssch\TYPO3Rector\NodeAnalyzer\CommandMethodDecorator; use Ssch\TYPO3Rector\Template\TemplateFinder; -use RectorPrefix20220519\Symfony\Component\Console\Input\InputArgument; +use RectorPrefix20220520\Symfony\Component\Console\Input\InputArgument; use Symplify\RuleDocGenerator\ValueObject\CodeSample\CodeSample; use Symplify\RuleDocGenerator\ValueObject\RuleDefinition; use Symplify\SmartFileSystem\SmartFileInfo; -use RectorPrefix20220519\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 @@ -39,11 +38,6 @@ final class ExtbaseCommandControllerToSymfonyCommandRector extends \Rector\Core\ * @var string */ private const REMOVE_EMPTY_LINES = '/^[ \\t]*[\\r\\n]+/m'; - /** - * @readonly - * @var \Symplify\SmartFileSystem\SmartFileSystem - */ - private $smartFileSystem; /** * @readonly * @var \Rector\Core\PhpParser\Parser\RectorParser @@ -84,9 +78,8 @@ final class ExtbaseCommandControllerToSymfonyCommandRector extends \Rector\Core\ * @var \Ssch\TYPO3Rector\NodeAnalyzer\CommandMethodDecorator */ private $commandMethodDecorator; - public function __construct(\RectorPrefix20220519\Symplify\SmartFileSystem\SmartFileSystem $smartFileSystem, \Rector\Core\PhpParser\Parser\RectorParser $rectorParser, \Ssch\TYPO3Rector\Helper\FilesFinder $filesFinder, \Rector\Core\PhpParser\Parser\SimplePhpParser $simplePhpParser, \Ssch\TYPO3Rector\Template\TemplateFinder $templateFinder, \Rector\Core\Contract\PhpParser\NodePrinterInterface $nodePrinter, \Rector\Core\Application\FileSystem\RemovedAndAddedFilesCollector $removedAndAddedFilesCollector, \Ssch\TYPO3Rector\NodeAnalyzer\CommandArrayDecorator $commandArrayDecorator, \Ssch\TYPO3Rector\NodeAnalyzer\CommandMethodDecorator $commandMethodDecorator) + public function __construct(\Rector\Core\PhpParser\Parser\RectorParser $rectorParser, \Ssch\TYPO3Rector\Helper\FilesFinder $filesFinder, \Rector\Core\PhpParser\Parser\SimplePhpParser $simplePhpParser, \Ssch\TYPO3Rector\Template\TemplateFinder $templateFinder, \Rector\Core\Contract\PhpParser\NodePrinterInterface $nodePrinter, \Rector\Core\Application\FileSystem\RemovedAndAddedFilesCollector $removedAndAddedFilesCollector, \Ssch\TYPO3Rector\NodeAnalyzer\CommandArrayDecorator $commandArrayDecorator, \Ssch\TYPO3Rector\NodeAnalyzer\CommandMethodDecorator $commandMethodDecorator) { - $this->smartFileSystem = $smartFileSystem; $this->rectorParser = $rectorParser; $this->filesFinder = $filesFinder; $this->simplePhpParser = $simplePhpParser; @@ -153,11 +146,11 @@ final class ExtbaseCommandControllerToSymfonyCommandRector extends \Rector\Core\ } $commandDescription = $descriptionPhpDocNodes[0]->text; $commandTemplate = $this->templateFinder->getCommand(); - $commandName = \RectorPrefix20220519\Nette\Utils\Strings::firstUpper($commandMethodName); + $commandName = \RectorPrefix20220520\Nette\Utils\Strings::firstUpper($commandMethodName); $commandContent = $commandTemplate->getContents(); $filePath = \sprintf('%s/Classes/Command/%s.php', $extensionDirectory, $commandName); // Do not overwrite existing file - if ($this->smartFileSystem->exists($filePath) && !\Rector\Testing\PHPUnit\StaticPHPUnitEnvironment::isPHPUnitRun()) { + if (\file_exists($filePath) && !\Rector\Testing\PHPUnit\StaticPHPUnitEnvironment::isPHPUnitRun()) { continue; } $commandVariables = $this->createCommandVariables($commandNamespace, $commandName, $commandDescription, $commandMethod); @@ -174,7 +167,7 @@ final class ExtbaseCommandControllerToSymfonyCommandRector extends \Rector\Core\ }); $changedSetConfigContent = $this->nodePrinter->prettyPrintFile($stmts); $this->removedAndAddedFilesCollector->addAddedFile(new \Rector\FileSystemRector\ValueObject\AddedFileWithContent($filePath, $changedSetConfigContent)); - $newCommandName = \sprintf('%s:%s', \RectorPrefix20220519\Nette\Utils\Strings::lower($vendorName), \RectorPrefix20220519\Nette\Utils\Strings::lower($commandName)); + $newCommandName = \sprintf('%s:%s', \RectorPrefix20220520\Nette\Utils\Strings::lower($vendorName), \RectorPrefix20220520\Nette\Utils\Strings::lower($commandName)); $newCommandsWithFullQualifiedNamespace[$newCommandName] = \sprintf('%s\\%s', $commandNamespace, $commandName); } $this->addNewCommandsToCommandsFile($commandsFilePath, $newCommandsWithFullQualifiedNamespace); @@ -239,7 +232,7 @@ CODE_SAMPLE */ private function addNewCommandsToCommandsFile(string $commandsFilePath, array $newCommandsWithFullQualifiedNamespace) : void { - if ($this->smartFileSystem->exists($commandsFilePath)) { + if (\file_exists($commandsFilePath)) { $commandsSmartFileInfo = new \Symplify\SmartFileSystem\SmartFileInfo($commandsFilePath); $stmts = $this->rectorParser->parseFile($commandsSmartFileInfo); $this->traverseNodesWithCallable($stmts, function (\PhpParser\Node $node) use($newCommandsWithFullQualifiedNamespace) { @@ -255,7 +248,7 @@ CODE_SAMPLE $stmts = [new \PhpParser\Node\Stmt\Return_($array)]; } $changedCommandsContent = $this->nodePrinter->prettyPrintFile($stmts); - $changedCommandsContent = \RectorPrefix20220519\Nette\Utils\Strings::replace($changedCommandsContent, self::REMOVE_EMPTY_LINES, ''); + $changedCommandsContent = \RectorPrefix20220520\Nette\Utils\Strings::replace($changedCommandsContent, self::REMOVE_EMPTY_LINES, ''); $this->removedAndAddedFilesCollector->addAddedFile(new \Rector\FileSystemRector\ValueObject\AddedFileWithContent($commandsFilePath, $changedCommandsContent)); } /** @@ -272,7 +265,7 @@ CODE_SAMPLE if (null === $methodParamName) { continue; } - $inputArguments[$methodParamName] = ['name' => $methodParamName, 'description' => null !== $paramTag ? $paramTag->description : '', 'mode' => null !== $methodParameter->default ? \RectorPrefix20220519\Symfony\Component\Console\Input\InputArgument::OPTIONAL : \RectorPrefix20220519\Symfony\Component\Console\Input\InputArgument::REQUIRED, 'default' => $methodParameter->default]; + $inputArguments[$methodParamName] = ['name' => $methodParamName, 'description' => null !== $paramTag ? $paramTag->description : '', 'mode' => null !== $methodParameter->default ? \RectorPrefix20220520\Symfony\Component\Console\Input\InputArgument::OPTIONAL : \RectorPrefix20220520\Symfony\Component\Console\Input\InputArgument::REQUIRED, 'default' => $methodParameter->default]; } return $inputArguments; } 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 a1356c05a11..20ddf721ce9 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 RectorPrefix20220519\TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController; +use RectorPrefix20220520\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 987a41d6033..73cc711d5ab 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 RectorPrefix20220519\Symfony\Component\Config\Builder; +namespace RectorPrefix20220520\Symfony\Component\Config\Builder; /** * Build PHP classes to generate config. @@ -122,11 +122,11 @@ BODY } public function addMethod(string $name, string $body, array $params = []) : void { - $this->methods[] = new \RectorPrefix20220519\Symfony\Component\Config\Builder\Method(\strtr($body, ['NAME' => $this->camelCase($name)] + $params)); + $this->methods[] = new \RectorPrefix20220520\Symfony\Component\Config\Builder\Method(\strtr($body, ['NAME' => $this->camelCase($name)] + $params)); } - public function addProperty(string $name, string $classType = null, string $defaultValue = null) : \RectorPrefix20220519\Symfony\Component\Config\Builder\Property + public function addProperty(string $name, string $classType = null, string $defaultValue = null) : \RectorPrefix20220520\Symfony\Component\Config\Builder\Property { - $property = new \RectorPrefix20220519\Symfony\Component\Config\Builder\Property($name, '_' !== $name[0] ? $this->camelCase($name) : $name); + $property = new \RectorPrefix20220520\Symfony\Component\Config\Builder\Property($name, '_' !== $name[0] ? $this->camelCase($name) : $name); if (null !== $classType) { $property->setType($classType); } diff --git a/vendor/symfony/config/Builder/ConfigBuilderGenerator.php b/vendor/symfony/config/Builder/ConfigBuilderGenerator.php index 5e0342f1a6a..d842e1e4356 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 RectorPrefix20220519\Symfony\Component\Config\Builder; +namespace RectorPrefix20220520\Symfony\Component\Config\Builder; -use RectorPrefix20220519\Symfony\Component\Config\Definition\ArrayNode; -use RectorPrefix20220519\Symfony\Component\Config\Definition\BooleanNode; -use RectorPrefix20220519\Symfony\Component\Config\Definition\ConfigurationInterface; -use RectorPrefix20220519\Symfony\Component\Config\Definition\EnumNode; -use RectorPrefix20220519\Symfony\Component\Config\Definition\Exception\InvalidConfigurationException; -use RectorPrefix20220519\Symfony\Component\Config\Definition\FloatNode; -use RectorPrefix20220519\Symfony\Component\Config\Definition\IntegerNode; -use RectorPrefix20220519\Symfony\Component\Config\Definition\NodeInterface; -use RectorPrefix20220519\Symfony\Component\Config\Definition\PrototypedArrayNode; -use RectorPrefix20220519\Symfony\Component\Config\Definition\ScalarNode; -use RectorPrefix20220519\Symfony\Component\Config\Definition\VariableNode; -use RectorPrefix20220519\Symfony\Component\Config\Loader\ParamConfigurator; +use RectorPrefix20220520\Symfony\Component\Config\Definition\ArrayNode; +use RectorPrefix20220520\Symfony\Component\Config\Definition\BooleanNode; +use RectorPrefix20220520\Symfony\Component\Config\Definition\ConfigurationInterface; +use RectorPrefix20220520\Symfony\Component\Config\Definition\EnumNode; +use RectorPrefix20220520\Symfony\Component\Config\Definition\Exception\InvalidConfigurationException; +use RectorPrefix20220520\Symfony\Component\Config\Definition\FloatNode; +use RectorPrefix20220520\Symfony\Component\Config\Definition\IntegerNode; +use RectorPrefix20220520\Symfony\Component\Config\Definition\NodeInterface; +use RectorPrefix20220520\Symfony\Component\Config\Definition\PrototypedArrayNode; +use RectorPrefix20220520\Symfony\Component\Config\Definition\ScalarNode; +use RectorPrefix20220520\Symfony\Component\Config\Definition\VariableNode; +use RectorPrefix20220520\Symfony\Component\Config\Loader\ParamConfigurator; /** * Generate ConfigBuilders to help create valid config. * * @author Tobias Nyholm */ -class ConfigBuilderGenerator implements \RectorPrefix20220519\Symfony\Component\Config\Builder\ConfigBuilderGeneratorInterface +class ConfigBuilderGenerator implements \RectorPrefix20220520\Symfony\Component\Config\Builder\ConfigBuilderGeneratorInterface { /** * @var ClassBuilder[] @@ -44,17 +44,17 @@ class ConfigBuilderGenerator implements \RectorPrefix20220519\Symfony\Component\ /** * @return \Closure that will return the root config class */ - public function build(\RectorPrefix20220519\Symfony\Component\Config\Definition\ConfigurationInterface $configuration) : \Closure + public function build(\RectorPrefix20220520\Symfony\Component\Config\Definition\ConfigurationInterface $configuration) : \Closure { $this->classes = []; $rootNode = $configuration->getConfigTreeBuilder()->buildTree(); - $rootClass = new \RectorPrefix20220519\Symfony\Component\Config\Builder\ClassBuilder('RectorPrefix20220519\\Symfony\\Config', $rootNode->getName()); + $rootClass = new \RectorPrefix20220520\Symfony\Component\Config\Builder\ClassBuilder('RectorPrefix20220520\\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(\RectorPrefix20220519\Symfony\Component\Config\Builder\ConfigBuilderInterface::class); + $rootClass->addImplements(\RectorPrefix20220520\Symfony\Component\Config\Builder\ConfigBuilderInterface::class); $rootClass->addMethod('getExtensionAlias', ' public function NAME(): string { @@ -69,7 +69,7 @@ public function NAME(): string }); return $loader; } - private function getFullPath(\RectorPrefix20220519\Symfony\Component\Config\Builder\ClassBuilder $class) : string + private function getFullPath(\RectorPrefix20220520\Symfony\Component\Config\Builder\ClassBuilder $class) : string { $directory = $this->outputDir . \DIRECTORY_SEPARATOR . $class->getDirectory(); if (!\is_dir($directory)) { @@ -90,23 +90,23 @@ public function NAME(): string } $this->classes = []; } - private function buildNode(\RectorPrefix20220519\Symfony\Component\Config\Definition\NodeInterface $node, \RectorPrefix20220519\Symfony\Component\Config\Builder\ClassBuilder $class, string $namespace) : void + private function buildNode(\RectorPrefix20220520\Symfony\Component\Config\Definition\NodeInterface $node, \RectorPrefix20220520\Symfony\Component\Config\Builder\ClassBuilder $class, string $namespace) : void { - if (!$node instanceof \RectorPrefix20220519\Symfony\Component\Config\Definition\ArrayNode) { + if (!$node instanceof \RectorPrefix20220520\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 \RectorPrefix20220519\Symfony\Component\Config\Definition\ScalarNode: + case $child instanceof \RectorPrefix20220520\Symfony\Component\Config\Definition\ScalarNode: $this->handleScalarNode($child, $class); break; - case $child instanceof \RectorPrefix20220519\Symfony\Component\Config\Definition\PrototypedArrayNode: + case $child instanceof \RectorPrefix20220520\Symfony\Component\Config\Definition\PrototypedArrayNode: $this->handlePrototypedArrayNode($child, $class, $namespace); break; - case $child instanceof \RectorPrefix20220519\Symfony\Component\Config\Definition\VariableNode: + case $child instanceof \RectorPrefix20220520\Symfony\Component\Config\Definition\VariableNode: $this->handleVariableNode($child, $class); break; - case $child instanceof \RectorPrefix20220519\Symfony\Component\Config\Definition\ArrayNode: + case $child instanceof \RectorPrefix20220520\Symfony\Component\Config\Definition\ArrayNode: $this->handleArrayNode($child, $class, $namespace); break; default: @@ -114,9 +114,9 @@ public function NAME(): string } } } - private function handleArrayNode(\RectorPrefix20220519\Symfony\Component\Config\Definition\ArrayNode $node, \RectorPrefix20220519\Symfony\Component\Config\Builder\ClassBuilder $class, string $namespace) : void + private function handleArrayNode(\RectorPrefix20220520\Symfony\Component\Config\Definition\ArrayNode $node, \RectorPrefix20220520\Symfony\Component\Config\Builder\ClassBuilder $class, string $namespace) : void { - $childClass = new \RectorPrefix20220519\Symfony\Component\Config\Builder\ClassBuilder($namespace, $node->getName()); + $childClass = new \RectorPrefix20220520\Symfony\Component\Config\Builder\ClassBuilder($namespace, $node->getName()); $childClass->setAllowExtraKeys($node->shouldIgnoreExtraKeys()); $class->addRequire($childClass); $this->classes[] = $childClass; @@ -133,15 +133,15 @@ public function NAME(array $value = []): CLASS return $this->PROPERTY; }'; - $class->addUse(\RectorPrefix20220519\Symfony\Component\Config\Definition\Exception\InvalidConfigurationException::class); + $class->addUse(\RectorPrefix20220520\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(\RectorPrefix20220519\Symfony\Component\Config\Definition\VariableNode $node, \RectorPrefix20220519\Symfony\Component\Config\Builder\ClassBuilder $class) : void + private function handleVariableNode(\RectorPrefix20220520\Symfony\Component\Config\Definition\VariableNode $node, \RectorPrefix20220520\Symfony\Component\Config\Builder\ClassBuilder $class) : void { $comment = $this->getComment($node); $property = $class->addProperty($node->getName()); - $class->addUse(\RectorPrefix20220519\Symfony\Component\Config\Loader\ParamConfigurator::class); + $class->addUse(\RectorPrefix20220520\Symfony\Component\Config\Loader\ParamConfigurator::class); $body = ' /** COMMENT * @@ -156,14 +156,14 @@ public function NAME(mixed $valueDEFAULT): static }'; $class->addMethod($node->getName(), $body, ['PROPERTY' => $property->getName(), 'COMMENT' => $comment, 'DEFAULT' => $node->hasDefaultValue() ? ' = ' . \var_export($node->getDefaultValue(), \true) : '']); } - private function handlePrototypedArrayNode(\RectorPrefix20220519\Symfony\Component\Config\Definition\PrototypedArrayNode $node, \RectorPrefix20220519\Symfony\Component\Config\Builder\ClassBuilder $class, string $namespace) : void + private function handlePrototypedArrayNode(\RectorPrefix20220520\Symfony\Component\Config\Definition\PrototypedArrayNode $node, \RectorPrefix20220520\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 \RectorPrefix20220519\Symfony\Component\Config\Definition\ScalarNode) { - $class->addUse(\RectorPrefix20220519\Symfony\Component\Config\Loader\ParamConfigurator::class); + if (null !== $parameterType || $prototype instanceof \RectorPrefix20220520\Symfony\Component\Config\Definition\ScalarNode) { + $class->addUse(\RectorPrefix20220520\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 @@ -197,8 +197,8 @@ public function NAME(string $VAR, TYPE $VALUE): static } return; } - $childClass = new \RectorPrefix20220519\Symfony\Component\Config\Builder\ClassBuilder($namespace, $name); - if ($prototype instanceof \RectorPrefix20220519\Symfony\Component\Config\Definition\ArrayNode) { + $childClass = new \RectorPrefix20220520\Symfony\Component\Config\Builder\ClassBuilder($namespace, $name); + if ($prototype instanceof \RectorPrefix20220520\Symfony\Component\Config\Definition\ArrayNode) { $childClass->setAllowExtraKeys($prototype->shouldIgnoreExtraKeys()); } $class->addRequire($childClass); @@ -228,16 +228,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(\RectorPrefix20220519\Symfony\Component\Config\Definition\Exception\InvalidConfigurationException::class); + $class->addUse(\RectorPrefix20220520\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(\RectorPrefix20220519\Symfony\Component\Config\Definition\ScalarNode $node, \RectorPrefix20220519\Symfony\Component\Config\Builder\ClassBuilder $class) : void + private function handleScalarNode(\RectorPrefix20220520\Symfony\Component\Config\Definition\ScalarNode $node, \RectorPrefix20220520\Symfony\Component\Config\Builder\ClassBuilder $class) : void { $comment = $this->getComment($node); $property = $class->addProperty($node->getName()); - $class->addUse(\RectorPrefix20220519\Symfony\Component\Config\Loader\ParamConfigurator::class); + $class->addUse(\RectorPrefix20220520\Symfony\Component\Config\Loader\ParamConfigurator::class); $body = ' /** COMMENT * @return $this @@ -251,31 +251,31 @@ public function NAME($value): static }'; $class->addMethod($node->getName(), $body, ['PROPERTY' => $property->getName(), 'COMMENT' => $comment]); } - private function getParameterType(\RectorPrefix20220519\Symfony\Component\Config\Definition\NodeInterface $node) : ?string + private function getParameterType(\RectorPrefix20220520\Symfony\Component\Config\Definition\NodeInterface $node) : ?string { - if ($node instanceof \RectorPrefix20220519\Symfony\Component\Config\Definition\BooleanNode) { + if ($node instanceof \RectorPrefix20220520\Symfony\Component\Config\Definition\BooleanNode) { return 'bool'; } - if ($node instanceof \RectorPrefix20220519\Symfony\Component\Config\Definition\IntegerNode) { + if ($node instanceof \RectorPrefix20220520\Symfony\Component\Config\Definition\IntegerNode) { return 'int'; } - if ($node instanceof \RectorPrefix20220519\Symfony\Component\Config\Definition\FloatNode) { + if ($node instanceof \RectorPrefix20220520\Symfony\Component\Config\Definition\FloatNode) { return 'float'; } - if ($node instanceof \RectorPrefix20220519\Symfony\Component\Config\Definition\EnumNode) { + if ($node instanceof \RectorPrefix20220520\Symfony\Component\Config\Definition\EnumNode) { return ''; } - if ($node instanceof \RectorPrefix20220519\Symfony\Component\Config\Definition\PrototypedArrayNode && $node->getPrototype() instanceof \RectorPrefix20220519\Symfony\Component\Config\Definition\ScalarNode) { + if ($node instanceof \RectorPrefix20220520\Symfony\Component\Config\Definition\PrototypedArrayNode && $node->getPrototype() instanceof \RectorPrefix20220520\Symfony\Component\Config\Definition\ScalarNode) { // This is just an array of variables return 'array'; } - if ($node instanceof \RectorPrefix20220519\Symfony\Component\Config\Definition\VariableNode) { + if ($node instanceof \RectorPrefix20220520\Symfony\Component\Config\Definition\VariableNode) { // mixed return ''; } return null; } - private function getComment(\RectorPrefix20220519\Symfony\Component\Config\Definition\VariableNode $node) : string + private function getComment(\RectorPrefix20220520\Symfony\Component\Config\Definition\VariableNode $node) : string { $comment = ''; if ('' !== ($info = (string) $node->getInfo())) { @@ -287,7 +287,7 @@ public function NAME($value): static if ('' !== ($default = $node->getDefaultValue())) { $comment .= ' * @default ' . (null === $default ? 'null' : \var_export($default, \true)) . "\n"; } - if ($node instanceof \RectorPrefix20220519\Symfony\Component\Config\Definition\EnumNode) { + if ($node instanceof \RectorPrefix20220520\Symfony\Component\Config\Definition\EnumNode) { $comment .= \sprintf(' * @param ParamConfigurator|%s $value', \implode('|', \array_map(function ($a) { return \var_export($a, \true); }, $node->getValues()))) . "\n"; @@ -306,14 +306,14 @@ public function NAME($value): static /** * Pick a good singular name. */ - private function getSingularName(\RectorPrefix20220519\Symfony\Component\Config\Definition\PrototypedArrayNode $node) : string + private function getSingularName(\RectorPrefix20220520\Symfony\Component\Config\Definition\PrototypedArrayNode $node) : string { $name = $node->getName(); if ('s' !== \substr($name, -1)) { return $name; } $parent = $node->getParent(); - $mappings = $parent instanceof \RectorPrefix20220519\Symfony\Component\Config\Definition\ArrayNode ? $parent->getXmlRemappings() : []; + $mappings = $parent instanceof \RectorPrefix20220520\Symfony\Component\Config\Definition\ArrayNode ? $parent->getXmlRemappings() : []; foreach ($mappings as $map) { if ($map[1] === $name) { $name = $map[0]; @@ -322,7 +322,7 @@ public function NAME($value): static } return $name; } - private function buildToArray(\RectorPrefix20220519\Symfony\Component\Config\Builder\ClassBuilder $class) : void + private function buildToArray(\RectorPrefix20220520\Symfony\Component\Config\Builder\ClassBuilder $class) : void { $body = '$output = [];'; foreach ($class->getProperties() as $p) { @@ -348,7 +348,7 @@ public function NAME(): array return $output' . $extraKeys . '; }'); } - private function buildConstructor(\RectorPrefix20220519\Symfony\Component\Config\Builder\ClassBuilder $class) : void + private function buildConstructor(\RectorPrefix20220520\Symfony\Component\Config\Builder\ClassBuilder $class) : void { $body = ''; foreach ($class->getProperties() as $p) { @@ -377,7 +377,7 @@ public function NAME(): array if ([] !== $value) { throw new InvalidConfigurationException(sprintf(\'The following keys are not supported by "%s": \', __CLASS__).implode(\', \', array_keys($value))); }'; - $class->addUse(\RectorPrefix20220519\Symfony\Component\Config\Definition\Exception\InvalidConfigurationException::class); + $class->addUse(\RectorPrefix20220520\Symfony\Component\Config\Definition\Exception\InvalidConfigurationException::class); } $class->addMethod('__construct', ' public function __construct(array $value = []) @@ -385,12 +385,12 @@ public function __construct(array $value = []) ' . $body . ' }'); } - private function buildSetExtraKey(\RectorPrefix20220519\Symfony\Component\Config\Builder\ClassBuilder $class) : void + private function buildSetExtraKey(\RectorPrefix20220520\Symfony\Component\Config\Builder\ClassBuilder $class) : void { if (!$class->shouldAllowExtraKeys()) { return; } - $class->addUse(\RectorPrefix20220519\Symfony\Component\Config\Loader\ParamConfigurator::class); + $class->addUse(\RectorPrefix20220520\Symfony\Component\Config\Loader\ParamConfigurator::class); $class->addProperty('_extraKeys'); $class->addMethod('set', ' /** @@ -405,7 +405,7 @@ public function NAME(string $key, mixed $value): static return $this; }'); } - private function getSubNamespace(\RectorPrefix20220519\Symfony\Component\Config\Builder\ClassBuilder $rootClass) : string + private function getSubNamespace(\RectorPrefix20220520\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 72b4f6a3531..27f167807fc 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 RectorPrefix20220519\Symfony\Component\Config\Builder; +namespace RectorPrefix20220520\Symfony\Component\Config\Builder; -use RectorPrefix20220519\Symfony\Component\Config\Definition\ConfigurationInterface; +use RectorPrefix20220520\Symfony\Component\Config\Definition\ConfigurationInterface; /** * Generates ConfigBuilders to help create valid config. * @@ -21,5 +21,5 @@ interface ConfigBuilderGeneratorInterface /** * @return \Closure that will return the root config class */ - public function build(\RectorPrefix20220519\Symfony\Component\Config\Definition\ConfigurationInterface $configuration) : \Closure; + public function build(\RectorPrefix20220520\Symfony\Component\Config\Definition\ConfigurationInterface $configuration) : \Closure; } diff --git a/vendor/symfony/config/Builder/ConfigBuilderInterface.php b/vendor/symfony/config/Builder/ConfigBuilderInterface.php index 5ac975bc363..9831b0b6146 100644 --- a/vendor/symfony/config/Builder/ConfigBuilderInterface.php +++ b/vendor/symfony/config/Builder/ConfigBuilderInterface.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 RectorPrefix20220519\Symfony\Component\Config\Builder; +namespace RectorPrefix20220520\Symfony\Component\Config\Builder; /** * A ConfigBuilder provides helper methods to build a large complex array. diff --git a/vendor/symfony/config/Builder/Method.php b/vendor/symfony/config/Builder/Method.php index 2ca101578eb..ab87a607a0b 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 RectorPrefix20220519\Symfony\Component\Config\Builder; +namespace RectorPrefix20220520\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 0f0cd93c811..eccbc85745f 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 RectorPrefix20220519\Symfony\Component\Config\Builder; +namespace RectorPrefix20220520\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 663fa2785cc..a43d2fe6586 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 RectorPrefix20220519\Symfony\Component\Config; +namespace RectorPrefix20220520\Symfony\Component\Config; -use RectorPrefix20220519\Symfony\Component\Config\Resource\SelfCheckingResourceChecker; +use RectorPrefix20220520\Symfony\Component\Config\Resource\SelfCheckingResourceChecker; /** * ConfigCache caches arbitrary content in files on disk. * @@ -21,7 +21,7 @@ use RectorPrefix20220519\Symfony\Component\Config\Resource\SelfCheckingResourceC * @author Fabien Potencier * @author Matthias Pigulla */ -class ConfigCache extends \RectorPrefix20220519\Symfony\Component\Config\ResourceCheckerConfigCache +class ConfigCache extends \RectorPrefix20220520\Symfony\Component\Config\ResourceCheckerConfigCache { /** * @var bool @@ -36,7 +36,7 @@ class ConfigCache extends \RectorPrefix20220519\Symfony\Component\Config\Resourc $this->debug = $debug; $checkers = []; if (\true === $this->debug) { - $checkers = [new \RectorPrefix20220519\Symfony\Component\Config\Resource\SelfCheckingResourceChecker()]; + $checkers = [new \RectorPrefix20220520\Symfony\Component\Config\Resource\SelfCheckingResourceChecker()]; } parent::__construct($file, $checkers); } diff --git a/vendor/symfony/config/ConfigCacheFactory.php b/vendor/symfony/config/ConfigCacheFactory.php index edbe59e4526..9abf1b2afa4 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 RectorPrefix20220519\Symfony\Component\Config; +namespace RectorPrefix20220520\Symfony\Component\Config; /** * Basic implementation of ConfigCacheFactoryInterface that @@ -19,7 +19,7 @@ namespace RectorPrefix20220519\Symfony\Component\Config; * * @author Matthias Pigulla */ -class ConfigCacheFactory implements \RectorPrefix20220519\Symfony\Component\Config\ConfigCacheFactoryInterface +class ConfigCacheFactory implements \RectorPrefix20220520\Symfony\Component\Config\ConfigCacheFactoryInterface { /** * @var bool @@ -35,9 +35,9 @@ class ConfigCacheFactory implements \RectorPrefix20220519\Symfony\Component\Conf /** * {@inheritdoc} */ - public function cache(string $file, callable $callback) : \RectorPrefix20220519\Symfony\Component\Config\ConfigCacheInterface + public function cache(string $file, callable $callback) : \RectorPrefix20220520\Symfony\Component\Config\ConfigCacheInterface { - $cache = new \RectorPrefix20220519\Symfony\Component\Config\ConfigCache($file, $this->debug); + $cache = new \RectorPrefix20220520\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 4379f69321b..dcb4b665356 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 RectorPrefix20220519\Symfony\Component\Config; +namespace RectorPrefix20220520\Symfony\Component\Config; /** * Interface for a ConfigCache factory. This factory creates @@ -25,5 +25,5 @@ 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 */ - public function cache(string $file, callable $callable) : \RectorPrefix20220519\Symfony\Component\Config\ConfigCacheInterface; + public function cache(string $file, callable $callable) : \RectorPrefix20220520\Symfony\Component\Config\ConfigCacheInterface; } diff --git a/vendor/symfony/config/ConfigCacheInterface.php b/vendor/symfony/config/ConfigCacheInterface.php index f2c4ffe993e..fda1c32a79d 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 RectorPrefix20220519\Symfony\Component\Config; +namespace RectorPrefix20220520\Symfony\Component\Config; -use RectorPrefix20220519\Symfony\Component\Config\Resource\ResourceInterface; +use RectorPrefix20220520\Symfony\Component\Config\Resource\ResourceInterface; /** * Interface for ConfigCache. * diff --git a/vendor/symfony/config/Definition/ArrayNode.php b/vendor/symfony/config/Definition/ArrayNode.php index f823f5ca63a..051c35e2fc2 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 RectorPrefix20220519\Symfony\Component\Config\Definition; +namespace RectorPrefix20220520\Symfony\Component\Config\Definition; -use RectorPrefix20220519\Symfony\Component\Config\Definition\Exception\InvalidConfigurationException; -use RectorPrefix20220519\Symfony\Component\Config\Definition\Exception\InvalidTypeException; -use RectorPrefix20220519\Symfony\Component\Config\Definition\Exception\UnsetKeyException; +use RectorPrefix20220520\Symfony\Component\Config\Definition\Exception\InvalidConfigurationException; +use RectorPrefix20220520\Symfony\Component\Config\Definition\Exception\InvalidTypeException; +use RectorPrefix20220520\Symfony\Component\Config\Definition\Exception\UnsetKeyException; /** * Represents an Array node in the config tree. * * @author Johannes M. Schmitt */ -class ArrayNode extends \RectorPrefix20220519\Symfony\Component\Config\Definition\BaseNode implements \RectorPrefix20220519\Symfony\Component\Config\Definition\PrototypeNodeInterface +class ArrayNode extends \RectorPrefix20220520\Symfony\Component\Config\Definition\BaseNode implements \RectorPrefix20220520\Symfony\Component\Config\Definition\PrototypeNodeInterface { protected $xmlRemappings = []; protected $children = []; @@ -170,7 +170,7 @@ class ArrayNode extends \RectorPrefix20220519\Symfony\Component\Config\Definitio * @throws \InvalidArgumentException when the child node has no name * @throws \InvalidArgumentException when the child node's name is not unique */ - public function addChild(\RectorPrefix20220519\Symfony\Component\Config\Definition\NodeInterface $node) + public function addChild(\RectorPrefix20220520\Symfony\Component\Config\Definition\NodeInterface $node) { $name = $node->getName(); if ('' === $name) { @@ -192,7 +192,7 @@ class ArrayNode extends \RectorPrefix20220519\Symfony\Component\Config\Definitio protected function finalizeValue($value) { if (\false === $value) { - throw new \RectorPrefix20220519\Symfony\Component\Config\Definition\Exception\UnsetKeyException(\sprintf('Unsetting key for path "%s", value: %s.', $this->getPath(), \json_encode($value))); + throw new \RectorPrefix20220520\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)) { @@ -203,7 +203,7 @@ class ArrayNode extends \RectorPrefix20220519\Symfony\Component\Config\Definitio } else { $message .= '.'; } - $ex = new \RectorPrefix20220519\Symfony\Component\Config\Definition\Exception\InvalidConfigurationException($message); + $ex = new \RectorPrefix20220520\Symfony\Component\Config\Definition\Exception\InvalidConfigurationException($message); $ex->setPath($this->getPath()); throw $ex; } @@ -218,7 +218,7 @@ class ArrayNode extends \RectorPrefix20220519\Symfony\Component\Config\Definitio } try { $value[$name] = $child->finalize($value[$name]); - } catch (\RectorPrefix20220519\Symfony\Component\Config\Definition\Exception\UnsetKeyException $e) { + } catch (\RectorPrefix20220520\Symfony\Component\Config\Definition\Exception\UnsetKeyException $e) { unset($value[$name]); } } @@ -231,7 +231,7 @@ class ArrayNode extends \RectorPrefix20220519\Symfony\Component\Config\Definitio protected function validateType($value) { if (!\is_array($value) && (!$this->allowFalse || \false !== $value)) { - $ex = new \RectorPrefix20220519\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 \RectorPrefix20220520\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); } @@ -257,7 +257,7 @@ class ArrayNode extends \RectorPrefix20220519\Symfony\Component\Config\Definitio if (isset($this->children[$name])) { try { $normalized[$name] = $this->children[$name]->normalize($val); - } catch (\RectorPrefix20220519\Symfony\Component\Config\Definition\Exception\UnsetKeyException $e) { + } catch (\RectorPrefix20220520\Symfony\Component\Config\Definition\Exception\UnsetKeyException $e) { } unset($value[$name]); } elseif (!$this->removeExtraKeys) { @@ -286,7 +286,7 @@ class ArrayNode extends \RectorPrefix20220519\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 \RectorPrefix20220519\Symfony\Component\Config\Definition\Exception\InvalidConfigurationException($msg); + $ex = new \RectorPrefix20220520\Symfony\Component\Config\Definition\Exception\InvalidConfigurationException($msg); $ex->setPath($this->getPath()); throw $ex; } @@ -301,7 +301,7 @@ class ArrayNode extends \RectorPrefix20220519\Symfony\Component\Config\Definitio if (!isset($value[$singular])) { continue; } - $value[$plural] = \RectorPrefix20220519\Symfony\Component\Config\Definition\Processor::normalizeConfig($value, $singular, $plural); + $value[$plural] = \RectorPrefix20220520\Symfony\Component\Config\Definition\Processor::normalizeConfig($value, $singular, $plural); unset($value[$singular]); } return $value; @@ -329,7 +329,7 @@ class ArrayNode extends \RectorPrefix20220519\Symfony\Component\Config\Definitio // no conflict if (!\array_key_exists($k, $leftSide)) { if (!$this->allowNewKeys) { - $ex = new \RectorPrefix20220519\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 \RectorPrefix20220520\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 0b1a98bd11b..720c2af7966 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 RectorPrefix20220519\Symfony\Component\Config\Definition; +namespace RectorPrefix20220520\Symfony\Component\Config\Definition; -use RectorPrefix20220519\Symfony\Component\Config\Definition\Exception\Exception; -use RectorPrefix20220519\Symfony\Component\Config\Definition\Exception\ForbiddenOverwriteException; -use RectorPrefix20220519\Symfony\Component\Config\Definition\Exception\InvalidConfigurationException; -use RectorPrefix20220519\Symfony\Component\Config\Definition\Exception\InvalidTypeException; -use RectorPrefix20220519\Symfony\Component\Config\Definition\Exception\UnsetKeyException; +use RectorPrefix20220520\Symfony\Component\Config\Definition\Exception\Exception; +use RectorPrefix20220520\Symfony\Component\Config\Definition\Exception\ForbiddenOverwriteException; +use RectorPrefix20220520\Symfony\Component\Config\Definition\Exception\InvalidConfigurationException; +use RectorPrefix20220520\Symfony\Component\Config\Definition\Exception\InvalidTypeException; +use RectorPrefix20220520\Symfony\Component\Config\Definition\Exception\UnsetKeyException; /** * The base node class. * * @author Johannes M. Schmitt */ -abstract class BaseNode implements \RectorPrefix20220519\Symfony\Component\Config\Definition\NodeInterface +abstract class BaseNode implements \RectorPrefix20220520\Symfony\Component\Config\Definition\NodeInterface { public const DEFAULT_PATH_SEPARATOR = '.'; /** @@ -48,7 +48,7 @@ abstract class BaseNode implements \RectorPrefix20220519\Symfony\Component\Confi /** * @throws \InvalidArgumentException if the name contains a period */ - public function __construct(?string $name, \RectorPrefix20220519\Symfony\Component\Config\Definition\NodeInterface $parent = null, string $pathSeparator = self::DEFAULT_PATH_SEPARATOR) + public function __construct(?string $name, \RectorPrefix20220520\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 . '".'); @@ -258,7 +258,7 @@ abstract class BaseNode implements \RectorPrefix20220519\Symfony\Component\Confi public final function merge($leftSide, $rightSide) { if (!$this->allowOverwrite) { - throw new \RectorPrefix20220519\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 \RectorPrefix20220520\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) { @@ -333,7 +333,7 @@ abstract class BaseNode implements \RectorPrefix20220519\Symfony\Component\Confi /** * Returns parent node for this node. */ - public function getParent() : ?\RectorPrefix20220519\Symfony\Component\Config\Definition\NodeInterface + public function getParent() : ?\RectorPrefix20220520\Symfony\Component\Config\Definition\NodeInterface { return $this->parent; } @@ -362,13 +362,13 @@ abstract class BaseNode implements \RectorPrefix20220519\Symfony\Component\Confi foreach ($this->finalValidationClosures as $closure) { try { $value = $closure($value); - } catch (\RectorPrefix20220519\Symfony\Component\Config\Definition\Exception\Exception $e) { - if ($e instanceof \RectorPrefix20220519\Symfony\Component\Config\Definition\Exception\UnsetKeyException && null !== $this->handlingPlaceholder) { + } catch (\RectorPrefix20220520\Symfony\Component\Config\Definition\Exception\Exception $e) { + if ($e instanceof \RectorPrefix20220520\Symfony\Component\Config\Definition\Exception\UnsetKeyException && null !== $this->handlingPlaceholder) { continue; } throw $e; } catch (\Exception $e) { - throw new \RectorPrefix20220519\Symfony\Component\Config\Definition\Exception\InvalidConfigurationException(\sprintf('Invalid configuration for path "%s": ', $this->getPath()) . $e->getMessage(), $e->getCode(), $e); + throw new \RectorPrefix20220520\Symfony\Component\Config\Definition\Exception\InvalidConfigurationException(\sprintf('Invalid configuration for path "%s": ', $this->getPath()) . $e->getMessage(), $e->getCode(), $e); } } return $value; @@ -444,7 +444,7 @@ abstract class BaseNode implements \RectorPrefix20220519\Symfony\Component\Confi private function doValidateType($value) : void { if (null !== $this->handlingPlaceholder && !$this->allowPlaceholders()) { - $e = new \RectorPrefix20220519\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 \RectorPrefix20220520\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; } @@ -455,7 +455,7 @@ abstract class BaseNode implements \RectorPrefix20220519\Symfony\Component\Confi $knownTypes = \array_keys(self::$placeholders[$this->handlingPlaceholder]); $validTypes = $this->getValidPlaceholderTypes(); if ($validTypes && \array_diff($knownTypes, $validTypes)) { - $e = new \RectorPrefix20220519\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 \RectorPrefix20220520\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 fba31d1a76e..198be355e5a 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 RectorPrefix20220519\Symfony\Component\Config\Definition; +namespace RectorPrefix20220520\Symfony\Component\Config\Definition; -use RectorPrefix20220519\Symfony\Component\Config\Definition\Exception\InvalidTypeException; +use RectorPrefix20220520\Symfony\Component\Config\Definition\Exception\InvalidTypeException; /** * This node represents a Boolean value in the config tree. * * @author Johannes M. Schmitt */ -class BooleanNode extends \RectorPrefix20220519\Symfony\Component\Config\Definition\ScalarNode +class BooleanNode extends \RectorPrefix20220520\Symfony\Component\Config\Definition\ScalarNode { /** * {@inheritdoc} @@ -25,7 +25,7 @@ class BooleanNode extends \RectorPrefix20220519\Symfony\Component\Config\Definit protected function validateType($value) { if (!\is_bool($value)) { - $ex = new \RectorPrefix20220519\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 \RectorPrefix20220520\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 e7e0d2c3ed3..f5f9feb42b3 100644 --- a/vendor/symfony/config/Definition/Builder/ArrayNodeDefinition.php +++ b/vendor/symfony/config/Definition/Builder/ArrayNodeDefinition.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 RectorPrefix20220519\Symfony\Component\Config\Definition\Builder; +namespace RectorPrefix20220520\Symfony\Component\Config\Definition\Builder; -use RectorPrefix20220519\Symfony\Component\Config\Definition\ArrayNode; -use RectorPrefix20220519\Symfony\Component\Config\Definition\Exception\InvalidDefinitionException; -use RectorPrefix20220519\Symfony\Component\Config\Definition\NodeInterface; -use RectorPrefix20220519\Symfony\Component\Config\Definition\PrototypedArrayNode; +use RectorPrefix20220520\Symfony\Component\Config\Definition\ArrayNode; +use RectorPrefix20220520\Symfony\Component\Config\Definition\Exception\InvalidDefinitionException; +use RectorPrefix20220520\Symfony\Component\Config\Definition\NodeInterface; +use RectorPrefix20220520\Symfony\Component\Config\Definition\PrototypedArrayNode; /** * This class provides a fluent interface for defining an array node. * * @author Johannes M. Schmitt */ -class ArrayNodeDefinition extends \RectorPrefix20220519\Symfony\Component\Config\Definition\Builder\NodeDefinition implements \RectorPrefix20220519\Symfony\Component\Config\Definition\Builder\ParentNodeDefinitionInterface +class ArrayNodeDefinition extends \RectorPrefix20220520\Symfony\Component\Config\Definition\Builder\NodeDefinition implements \RectorPrefix20220520\Symfony\Component\Config\Definition\Builder\ParentNodeDefinitionInterface { protected $performDeepMerging = \true; protected $ignoreExtraKeys = \false; @@ -37,7 +37,7 @@ class ArrayNodeDefinition extends \RectorPrefix20220519\Symfony\Component\Config /** * {@inheritdoc} */ - public function __construct(?string $name, \RectorPrefix20220519\Symfony\Component\Config\Definition\Builder\NodeParentInterface $parent = null) + public function __construct(?string $name, \RectorPrefix20220520\Symfony\Component\Config\Definition\Builder\NodeParentInterface $parent = null) { parent::__construct($name, $parent); $this->nullEquivalent = []; @@ -46,41 +46,41 @@ class ArrayNodeDefinition extends \RectorPrefix20220519\Symfony\Component\Config /** * {@inheritdoc} */ - public function setBuilder(\RectorPrefix20220519\Symfony\Component\Config\Definition\Builder\NodeBuilder $builder) + public function setBuilder(\RectorPrefix20220520\Symfony\Component\Config\Definition\Builder\NodeBuilder $builder) { $this->nodeBuilder = $builder; } /** * {@inheritdoc} */ - public function children() : \RectorPrefix20220519\Symfony\Component\Config\Definition\Builder\NodeBuilder + public function children() : \RectorPrefix20220520\Symfony\Component\Config\Definition\Builder\NodeBuilder { return $this->getNodeBuilder(); } /** * Sets a prototype for child nodes. */ - public function prototype(string $type) : \RectorPrefix20220519\Symfony\Component\Config\Definition\Builder\NodeDefinition + public function prototype(string $type) : \RectorPrefix20220520\Symfony\Component\Config\Definition\Builder\NodeDefinition { return $this->prototype = $this->getNodeBuilder()->node(null, $type)->setParent($this); } - public function variablePrototype() : \RectorPrefix20220519\Symfony\Component\Config\Definition\Builder\VariableNodeDefinition + public function variablePrototype() : \RectorPrefix20220520\Symfony\Component\Config\Definition\Builder\VariableNodeDefinition { return $this->prototype('variable'); } - public function scalarPrototype() : \RectorPrefix20220519\Symfony\Component\Config\Definition\Builder\ScalarNodeDefinition + public function scalarPrototype() : \RectorPrefix20220520\Symfony\Component\Config\Definition\Builder\ScalarNodeDefinition { return $this->prototype('scalar'); } - public function booleanPrototype() : \RectorPrefix20220519\Symfony\Component\Config\Definition\Builder\BooleanNodeDefinition + public function booleanPrototype() : \RectorPrefix20220520\Symfony\Component\Config\Definition\Builder\BooleanNodeDefinition { return $this->prototype('boolean'); } - public function integerPrototype() : \RectorPrefix20220519\Symfony\Component\Config\Definition\Builder\IntegerNodeDefinition + public function integerPrototype() : \RectorPrefix20220520\Symfony\Component\Config\Definition\Builder\IntegerNodeDefinition { return $this->prototype('integer'); } - public function floatPrototype() : \RectorPrefix20220519\Symfony\Component\Config\Definition\Builder\FloatNodeDefinition + public function floatPrototype() : \RectorPrefix20220520\Symfony\Component\Config\Definition\Builder\FloatNodeDefinition { return $this->prototype('float'); } @@ -88,7 +88,7 @@ class ArrayNodeDefinition extends \RectorPrefix20220519\Symfony\Component\Config { return $this->prototype('array'); } - public function enumPrototype() : \RectorPrefix20220519\Symfony\Component\Config\Definition\Builder\EnumNodeDefinition + public function enumPrototype() : \RectorPrefix20220520\Symfony\Component\Config\Definition\Builder\EnumNodeDefinition { return $this->prototype('enum'); } @@ -279,7 +279,7 @@ class ArrayNodeDefinition extends \RectorPrefix20220519\Symfony\Component\Config * {@inheritdoc} * @return $this */ - public function append(\RectorPrefix20220519\Symfony\Component\Config\Definition\Builder\NodeDefinition $node) + public function append(\RectorPrefix20220520\Symfony\Component\Config\Definition\Builder\NodeDefinition $node) { $this->children[$node->name] = $node->setParent($this); return $this; @@ -287,20 +287,20 @@ class ArrayNodeDefinition extends \RectorPrefix20220519\Symfony\Component\Config /** * Returns a node builder to be used to add children and prototype. */ - protected function getNodeBuilder() : \RectorPrefix20220519\Symfony\Component\Config\Definition\Builder\NodeBuilder + protected function getNodeBuilder() : \RectorPrefix20220520\Symfony\Component\Config\Definition\Builder\NodeBuilder { if (null === $this->nodeBuilder) { - $this->nodeBuilder = new \RectorPrefix20220519\Symfony\Component\Config\Definition\Builder\NodeBuilder(); + $this->nodeBuilder = new \RectorPrefix20220520\Symfony\Component\Config\Definition\Builder\NodeBuilder(); } return $this->nodeBuilder->setParent($this); } /** * {@inheritdoc} */ - protected function createNode() : \RectorPrefix20220519\Symfony\Component\Config\Definition\NodeInterface + protected function createNode() : \RectorPrefix20220520\Symfony\Component\Config\Definition\NodeInterface { if (null === $this->prototype) { - $node = new \RectorPrefix20220519\Symfony\Component\Config\Definition\ArrayNode($this->name, $this->parent, $this->pathSeparator); + $node = new \RectorPrefix20220520\Symfony\Component\Config\Definition\ArrayNode($this->name, $this->parent, $this->pathSeparator); $this->validateConcreteNode($node); $node->setAddIfNotSet($this->addDefaults); foreach ($this->children as $child) { @@ -308,7 +308,7 @@ class ArrayNodeDefinition extends \RectorPrefix20220519\Symfony\Component\Config $node->addChild($child->getNode()); } } else { - $node = new \RectorPrefix20220519\Symfony\Component\Config\Definition\PrototypedArrayNode($this->name, $this->parent, $this->pathSeparator); + $node = new \RectorPrefix20220520\Symfony\Component\Config\Definition\PrototypedArrayNode($this->name, $this->parent, $this->pathSeparator); $this->validatePrototypeNode($node); if (null !== $this->key) { $node->setKeyAttribute($this->key, $this->removeKeyItem); @@ -360,23 +360,23 @@ class ArrayNodeDefinition extends \RectorPrefix20220519\Symfony\Component\Config * * @throws InvalidDefinitionException */ - protected function validateConcreteNode(\RectorPrefix20220519\Symfony\Component\Config\Definition\ArrayNode $node) + protected function validateConcreteNode(\RectorPrefix20220520\Symfony\Component\Config\Definition\ArrayNode $node) { $path = $node->getPath(); if (null !== $this->key) { - throw new \RectorPrefix20220519\Symfony\Component\Config\Definition\Exception\InvalidDefinitionException(\sprintf('->useAttributeAsKey() is not applicable to concrete nodes at path "%s".', $path)); + throw new \RectorPrefix20220520\Symfony\Component\Config\Definition\Exception\InvalidDefinitionException(\sprintf('->useAttributeAsKey() is not applicable to concrete nodes at path "%s".', $path)); } if (\false === $this->allowEmptyValue) { - throw new \RectorPrefix20220519\Symfony\Component\Config\Definition\Exception\InvalidDefinitionException(\sprintf('->cannotBeEmpty() is not applicable to concrete nodes at path "%s".', $path)); + throw new \RectorPrefix20220520\Symfony\Component\Config\Definition\Exception\InvalidDefinitionException(\sprintf('->cannotBeEmpty() is not applicable to concrete nodes at path "%s".', $path)); } if (\true === $this->atLeastOne) { - throw new \RectorPrefix20220519\Symfony\Component\Config\Definition\Exception\InvalidDefinitionException(\sprintf('->requiresAtLeastOneElement() is not applicable to concrete nodes at path "%s".', $path)); + throw new \RectorPrefix20220520\Symfony\Component\Config\Definition\Exception\InvalidDefinitionException(\sprintf('->requiresAtLeastOneElement() is not applicable to concrete nodes at path "%s".', $path)); } if ($this->default) { - throw new \RectorPrefix20220519\Symfony\Component\Config\Definition\Exception\InvalidDefinitionException(\sprintf('->defaultValue() is not applicable to concrete nodes at path "%s".', $path)); + throw new \RectorPrefix20220520\Symfony\Component\Config\Definition\Exception\InvalidDefinitionException(\sprintf('->defaultValue() is not applicable to concrete nodes at path "%s".', $path)); } if (\false !== $this->addDefaultChildren) { - throw new \RectorPrefix20220519\Symfony\Component\Config\Definition\Exception\InvalidDefinitionException(\sprintf('->addDefaultChildrenIfNoneSet() is not applicable to concrete nodes at path "%s".', $path)); + throw new \RectorPrefix20220520\Symfony\Component\Config\Definition\Exception\InvalidDefinitionException(\sprintf('->addDefaultChildrenIfNoneSet() is not applicable to concrete nodes at path "%s".', $path)); } } /** @@ -384,21 +384,21 @@ class ArrayNodeDefinition extends \RectorPrefix20220519\Symfony\Component\Config * * @throws InvalidDefinitionException */ - protected function validatePrototypeNode(\RectorPrefix20220519\Symfony\Component\Config\Definition\PrototypedArrayNode $node) + protected function validatePrototypeNode(\RectorPrefix20220520\Symfony\Component\Config\Definition\PrototypedArrayNode $node) { $path = $node->getPath(); if ($this->addDefaults) { - throw new \RectorPrefix20220519\Symfony\Component\Config\Definition\Exception\InvalidDefinitionException(\sprintf('->addDefaultsIfNotSet() is not applicable to prototype nodes at path "%s".', $path)); + throw new \RectorPrefix20220520\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 \RectorPrefix20220519\Symfony\Component\Config\Definition\Exception\InvalidDefinitionException(\sprintf('A default value and default children might not be used together at path "%s".', $path)); + throw new \RectorPrefix20220520\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 \RectorPrefix20220519\Symfony\Component\Config\Definition\Exception\InvalidDefinitionException(\sprintf('->addDefaultChildrenIfNoneSet() should set default children names as ->useAttributeAsKey() is used at path "%s".', $path)); + throw new \RectorPrefix20220520\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 \RectorPrefix20220519\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 \RectorPrefix20220520\Symfony\Component\Config\Definition\Exception\InvalidDefinitionException(\sprintf('->addDefaultChildrenIfNoneSet() might not set default children names as ->useAttributeAsKey() is not used at path "%s".', $path)); } } } @@ -414,7 +414,7 @@ class ArrayNodeDefinition extends \RectorPrefix20220519\Symfony\Component\Config * * @param string $nodePath The path of the node to find. e.g "doctrine.orm.mappings" */ - public function find(string $nodePath) : \RectorPrefix20220519\Symfony\Component\Config\Definition\Builder\NodeDefinition + public function find(string $nodePath) : \RectorPrefix20220520\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 236f71a3e11..fd9fb72ef1c 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 RectorPrefix20220519\Symfony\Component\Config\Definition\Builder; +namespace RectorPrefix20220520\Symfony\Component\Config\Definition\Builder; -use RectorPrefix20220519\Symfony\Component\Config\Definition\BooleanNode; -use RectorPrefix20220519\Symfony\Component\Config\Definition\Exception\InvalidDefinitionException; +use RectorPrefix20220520\Symfony\Component\Config\Definition\BooleanNode; +use RectorPrefix20220520\Symfony\Component\Config\Definition\Exception\InvalidDefinitionException; /** * This class provides a fluent interface for defining a node. * * @author Johannes M. Schmitt */ -class BooleanNodeDefinition extends \RectorPrefix20220519\Symfony\Component\Config\Definition\Builder\ScalarNodeDefinition +class BooleanNodeDefinition extends \RectorPrefix20220520\Symfony\Component\Config\Definition\Builder\ScalarNodeDefinition { /** * {@inheritdoc} */ - public function __construct(?string $name, \RectorPrefix20220519\Symfony\Component\Config\Definition\Builder\NodeParentInterface $parent = null) + public function __construct(?string $name, \RectorPrefix20220520\Symfony\Component\Config\Definition\Builder\NodeParentInterface $parent = null) { parent::__construct($name, $parent); $this->nullEquivalent = \true; @@ -30,9 +30,9 @@ class BooleanNodeDefinition extends \RectorPrefix20220519\Symfony\Component\Conf /** * Instantiate a Node. */ - protected function instantiateNode() : \RectorPrefix20220519\Symfony\Component\Config\Definition\ScalarNode + protected function instantiateNode() : \RectorPrefix20220520\Symfony\Component\Config\Definition\ScalarNode { - return new \RectorPrefix20220519\Symfony\Component\Config\Definition\BooleanNode($this->name, $this->parent, $this->pathSeparator); + return new \RectorPrefix20220520\Symfony\Component\Config\Definition\BooleanNode($this->name, $this->parent, $this->pathSeparator); } /** * {@inheritdoc} @@ -42,6 +42,6 @@ class BooleanNodeDefinition extends \RectorPrefix20220519\Symfony\Component\Conf */ public function cannotBeEmpty() { - throw new \RectorPrefix20220519\Symfony\Component\Config\Definition\Exception\InvalidDefinitionException('->cannotBeEmpty() is not applicable to BooleanNodeDefinition.'); + throw new \RectorPrefix20220520\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 debfeed4b1c..e82c39f092b 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 RectorPrefix20220519\Symfony\Component\Config\Definition\Builder; +namespace RectorPrefix20220520\Symfony\Component\Config\Definition\Builder; /** * An interface that can be implemented by nodes which build other nodes. @@ -20,5 +20,5 @@ interface BuilderAwareInterface /** * Sets a custom children builder. */ - public function setBuilder(\RectorPrefix20220519\Symfony\Component\Config\Definition\Builder\NodeBuilder $builder); + public function setBuilder(\RectorPrefix20220520\Symfony\Component\Config\Definition\Builder\NodeBuilder $builder); } diff --git a/vendor/symfony/config/Definition/Builder/EnumNodeDefinition.php b/vendor/symfony/config/Definition/Builder/EnumNodeDefinition.php index d47947d472e..e46d4f7b734 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 RectorPrefix20220519\Symfony\Component\Config\Definition\Builder; +namespace RectorPrefix20220520\Symfony\Component\Config\Definition\Builder; -use RectorPrefix20220519\Symfony\Component\Config\Definition\EnumNode; +use RectorPrefix20220520\Symfony\Component\Config\Definition\EnumNode; /** * Enum Node Definition. * * @author Johannes M. Schmitt */ -class EnumNodeDefinition extends \RectorPrefix20220519\Symfony\Component\Config\Definition\Builder\ScalarNodeDefinition +class EnumNodeDefinition extends \RectorPrefix20220520\Symfony\Component\Config\Definition\Builder\ScalarNodeDefinition { /** * @var mixed[] @@ -39,11 +39,11 @@ class EnumNodeDefinition extends \RectorPrefix20220519\Symfony\Component\Config\ * * @throws \RuntimeException */ - protected function instantiateNode() : \RectorPrefix20220519\Symfony\Component\Config\Definition\ScalarNode + protected function instantiateNode() : \RectorPrefix20220520\Symfony\Component\Config\Definition\ScalarNode { if (!isset($this->values)) { throw new \RuntimeException('You must call ->values() on enum nodes.'); } - return new \RectorPrefix20220519\Symfony\Component\Config\Definition\EnumNode($this->name, $this->parent, $this->values, $this->pathSeparator); + return new \RectorPrefix20220520\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 26d5c704d67..5cedce4dc66 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 RectorPrefix20220519\Symfony\Component\Config\Definition\Builder; +namespace RectorPrefix20220520\Symfony\Component\Config\Definition\Builder; -use RectorPrefix20220519\Symfony\Component\Config\Definition\Exception\UnsetKeyException; +use RectorPrefix20220520\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(\RectorPrefix20220519\Symfony\Component\Config\Definition\Builder\NodeDefinition $node) + public function __construct(\RectorPrefix20220520\Symfony\Component\Config\Definition\Builder\NodeDefinition $node) { $this->node = $node; } @@ -193,7 +193,7 @@ class ExprBuilder public function thenUnset() { $this->thenPart = function () { - throw new \RectorPrefix20220519\Symfony\Component\Config\Definition\Exception\UnsetKeyException('Unsetting key.'); + throw new \RectorPrefix20220520\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 c85b7905409..37a765ea2a5 100644 --- a/vendor/symfony/config/Definition/Builder/FloatNodeDefinition.php +++ b/vendor/symfony/config/Definition/Builder/FloatNodeDefinition.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 RectorPrefix20220519\Symfony\Component\Config\Definition\Builder; +namespace RectorPrefix20220520\Symfony\Component\Config\Definition\Builder; -use RectorPrefix20220519\Symfony\Component\Config\Definition\FloatNode; +use RectorPrefix20220520\Symfony\Component\Config\Definition\FloatNode; /** * This class provides a fluent interface for defining a float node. * * @author Jeanmonod David */ -class FloatNodeDefinition extends \RectorPrefix20220519\Symfony\Component\Config\Definition\Builder\NumericNodeDefinition +class FloatNodeDefinition extends \RectorPrefix20220520\Symfony\Component\Config\Definition\Builder\NumericNodeDefinition { /** * Instantiates a Node. */ - protected function instantiateNode() : \RectorPrefix20220519\Symfony\Component\Config\Definition\ScalarNode + protected function instantiateNode() : \RectorPrefix20220520\Symfony\Component\Config\Definition\ScalarNode { - return new \RectorPrefix20220519\Symfony\Component\Config\Definition\FloatNode($this->name, $this->parent, $this->min, $this->max, $this->pathSeparator); + return new \RectorPrefix20220520\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 68feecbc1a2..1980ebd0663 100644 --- a/vendor/symfony/config/Definition/Builder/IntegerNodeDefinition.php +++ b/vendor/symfony/config/Definition/Builder/IntegerNodeDefinition.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 RectorPrefix20220519\Symfony\Component\Config\Definition\Builder; +namespace RectorPrefix20220520\Symfony\Component\Config\Definition\Builder; -use RectorPrefix20220519\Symfony\Component\Config\Definition\IntegerNode; +use RectorPrefix20220520\Symfony\Component\Config\Definition\IntegerNode; /** * This class provides a fluent interface for defining an integer node. * * @author Jeanmonod David */ -class IntegerNodeDefinition extends \RectorPrefix20220519\Symfony\Component\Config\Definition\Builder\NumericNodeDefinition +class IntegerNodeDefinition extends \RectorPrefix20220520\Symfony\Component\Config\Definition\Builder\NumericNodeDefinition { /** * Instantiates a Node. */ - protected function instantiateNode() : \RectorPrefix20220519\Symfony\Component\Config\Definition\ScalarNode + protected function instantiateNode() : \RectorPrefix20220520\Symfony\Component\Config\Definition\ScalarNode { - return new \RectorPrefix20220519\Symfony\Component\Config\Definition\IntegerNode($this->name, $this->parent, $this->min, $this->max, $this->pathSeparator); + return new \RectorPrefix20220520\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 dfc04b2067a..8dfe9f42520 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 RectorPrefix20220519\Symfony\Component\Config\Definition\Builder; +namespace RectorPrefix20220520\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(\RectorPrefix20220519\Symfony\Component\Config\Definition\Builder\NodeDefinition $node) + public function __construct(\RectorPrefix20220520\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 5f5cfaaadb0..d84a2aafdbe 100644 --- a/vendor/symfony/config/Definition/Builder/NodeBuilder.php +++ b/vendor/symfony/config/Definition/Builder/NodeBuilder.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 RectorPrefix20220519\Symfony\Component\Config\Definition\Builder; +namespace RectorPrefix20220520\Symfony\Component\Config\Definition\Builder; /** * This class provides a fluent interface for building a node. * * @author Johannes M. Schmitt */ -class NodeBuilder implements \RectorPrefix20220519\Symfony\Component\Config\Definition\Builder\NodeParentInterface +class NodeBuilder implements \RectorPrefix20220520\Symfony\Component\Config\Definition\Builder\NodeParentInterface { protected $parent; protected $nodeMapping; public function __construct() { - $this->nodeMapping = ['variable' => \RectorPrefix20220519\Symfony\Component\Config\Definition\Builder\VariableNodeDefinition::class, 'scalar' => \RectorPrefix20220519\Symfony\Component\Config\Definition\Builder\ScalarNodeDefinition::class, 'boolean' => \RectorPrefix20220519\Symfony\Component\Config\Definition\Builder\BooleanNodeDefinition::class, 'integer' => \RectorPrefix20220519\Symfony\Component\Config\Definition\Builder\IntegerNodeDefinition::class, 'float' => \RectorPrefix20220519\Symfony\Component\Config\Definition\Builder\FloatNodeDefinition::class, 'array' => \RectorPrefix20220519\Symfony\Component\Config\Definition\Builder\ArrayNodeDefinition::class, 'enum' => \RectorPrefix20220519\Symfony\Component\Config\Definition\Builder\EnumNodeDefinition::class]; + $this->nodeMapping = ['variable' => \RectorPrefix20220520\Symfony\Component\Config\Definition\Builder\VariableNodeDefinition::class, 'scalar' => \RectorPrefix20220520\Symfony\Component\Config\Definition\Builder\ScalarNodeDefinition::class, 'boolean' => \RectorPrefix20220520\Symfony\Component\Config\Definition\Builder\BooleanNodeDefinition::class, 'integer' => \RectorPrefix20220520\Symfony\Component\Config\Definition\Builder\IntegerNodeDefinition::class, 'float' => \RectorPrefix20220520\Symfony\Component\Config\Definition\Builder\FloatNodeDefinition::class, 'array' => \RectorPrefix20220520\Symfony\Component\Config\Definition\Builder\ArrayNodeDefinition::class, 'enum' => \RectorPrefix20220520\Symfony\Component\Config\Definition\Builder\EnumNodeDefinition::class]; } /** * Set the parent node. * * @return $this */ - public function setParent(\RectorPrefix20220519\Symfony\Component\Config\Definition\Builder\ParentNodeDefinitionInterface $parent = null) + public function setParent(\RectorPrefix20220520\Symfony\Component\Config\Definition\Builder\ParentNodeDefinitionInterface $parent = null) { $this->parent = $parent; return $this; @@ -36,49 +36,49 @@ class NodeBuilder implements \RectorPrefix20220519\Symfony\Component\Config\Defi /** * Creates a child array node. */ - public function arrayNode(string $name) : \RectorPrefix20220519\Symfony\Component\Config\Definition\Builder\ArrayNodeDefinition + public function arrayNode(string $name) : \RectorPrefix20220520\Symfony\Component\Config\Definition\Builder\ArrayNodeDefinition { return $this->node($name, 'array'); } /** * Creates a child scalar node. */ - public function scalarNode(string $name) : \RectorPrefix20220519\Symfony\Component\Config\Definition\Builder\ScalarNodeDefinition + public function scalarNode(string $name) : \RectorPrefix20220520\Symfony\Component\Config\Definition\Builder\ScalarNodeDefinition { return $this->node($name, 'scalar'); } /** * Creates a child Boolean node. */ - public function booleanNode(string $name) : \RectorPrefix20220519\Symfony\Component\Config\Definition\Builder\BooleanNodeDefinition + public function booleanNode(string $name) : \RectorPrefix20220520\Symfony\Component\Config\Definition\Builder\BooleanNodeDefinition { return $this->node($name, 'boolean'); } /** * Creates a child integer node. */ - public function integerNode(string $name) : \RectorPrefix20220519\Symfony\Component\Config\Definition\Builder\IntegerNodeDefinition + public function integerNode(string $name) : \RectorPrefix20220520\Symfony\Component\Config\Definition\Builder\IntegerNodeDefinition { return $this->node($name, 'integer'); } /** * Creates a child float node. */ - public function floatNode(string $name) : \RectorPrefix20220519\Symfony\Component\Config\Definition\Builder\FloatNodeDefinition + public function floatNode(string $name) : \RectorPrefix20220520\Symfony\Component\Config\Definition\Builder\FloatNodeDefinition { return $this->node($name, 'float'); } /** * Creates a child EnumNode. */ - public function enumNode(string $name) : \RectorPrefix20220519\Symfony\Component\Config\Definition\Builder\EnumNodeDefinition + public function enumNode(string $name) : \RectorPrefix20220520\Symfony\Component\Config\Definition\Builder\EnumNodeDefinition { return $this->node($name, 'enum'); } /** * Creates a child variable node. */ - public function variableNode(string $name) : \RectorPrefix20220519\Symfony\Component\Config\Definition\Builder\VariableNodeDefinition + public function variableNode(string $name) : \RectorPrefix20220520\Symfony\Component\Config\Definition\Builder\VariableNodeDefinition { return $this->node($name, 'variable'); } @@ -97,7 +97,7 @@ class NodeBuilder implements \RectorPrefix20220519\Symfony\Component\Config\Defi * @throws \RuntimeException When the node type is not registered * @throws \RuntimeException When the node class is not found */ - public function node(?string $name, string $type) : \RectorPrefix20220519\Symfony\Component\Config\Definition\Builder\NodeDefinition + public function node(?string $name, string $type) : \RectorPrefix20220520\Symfony\Component\Config\Definition\Builder\NodeDefinition { $class = $this->getNodeClass($type); $node = new $class($name); @@ -119,9 +119,9 @@ class NodeBuilder implements \RectorPrefix20220519\Symfony\Component\Config\Defi * * @return $this */ - public function append(\RectorPrefix20220519\Symfony\Component\Config\Definition\Builder\NodeDefinition $node) + public function append(\RectorPrefix20220520\Symfony\Component\Config\Definition\Builder\NodeDefinition $node) { - if ($node instanceof \RectorPrefix20220519\Symfony\Component\Config\Definition\Builder\BuilderAwareInterface) { + if ($node instanceof \RectorPrefix20220520\Symfony\Component\Config\Definition\Builder\BuilderAwareInterface) { $builder = clone $this; $builder->setParent(null); $node->setBuilder($builder); diff --git a/vendor/symfony/config/Definition/Builder/NodeDefinition.php b/vendor/symfony/config/Definition/Builder/NodeDefinition.php index 3cea32e0892..babded93762 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 RectorPrefix20220519\Symfony\Component\Config\Definition\Builder; +namespace RectorPrefix20220520\Symfony\Component\Config\Definition\Builder; -use RectorPrefix20220519\Symfony\Component\Config\Definition\BaseNode; -use RectorPrefix20220519\Symfony\Component\Config\Definition\Exception\InvalidDefinitionException; -use RectorPrefix20220519\Symfony\Component\Config\Definition\NodeInterface; +use RectorPrefix20220520\Symfony\Component\Config\Definition\BaseNode; +use RectorPrefix20220520\Symfony\Component\Config\Definition\Exception\InvalidDefinitionException; +use RectorPrefix20220520\Symfony\Component\Config\Definition\NodeInterface; /** * This class provides a fluent interface for defining a node. * * @author Johannes M. Schmitt */ -abstract class NodeDefinition implements \RectorPrefix20220519\Symfony\Component\Config\Definition\Builder\NodeParentInterface +abstract class NodeDefinition implements \RectorPrefix20220520\Symfony\Component\Config\Definition\Builder\NodeParentInterface { protected $name; protected $normalization; @@ -32,10 +32,10 @@ abstract class NodeDefinition implements \RectorPrefix20220519\Symfony\Component protected $nullEquivalent; protected $trueEquivalent = \true; protected $falseEquivalent = \false; - protected $pathSeparator = \RectorPrefix20220519\Symfony\Component\Config\Definition\BaseNode::DEFAULT_PATH_SEPARATOR; + protected $pathSeparator = \RectorPrefix20220520\Symfony\Component\Config\Definition\BaseNode::DEFAULT_PATH_SEPARATOR; protected $parent; protected $attributes = []; - public function __construct(?string $name, \RectorPrefix20220519\Symfony\Component\Config\Definition\Builder\NodeParentInterface $parent = null) + public function __construct(?string $name, \RectorPrefix20220520\Symfony\Component\Config\Definition\Builder\NodeParentInterface $parent = null) { $this->parent = $parent; $this->name = $name; @@ -45,7 +45,7 @@ abstract class NodeDefinition implements \RectorPrefix20220519\Symfony\Component * * @return $this */ - public function setParent(\RectorPrefix20220519\Symfony\Component\Config\Definition\Builder\NodeParentInterface $parent) + public function setParent(\RectorPrefix20220520\Symfony\Component\Config\Definition\Builder\NodeParentInterface $parent) { $this->parent = $parent; return $this; @@ -91,19 +91,19 @@ abstract class NodeDefinition implements \RectorPrefix20220519\Symfony\Component /** * Creates the node. */ - public function getNode(bool $forceRootNode = \false) : \RectorPrefix20220519\Symfony\Component\Config\Definition\NodeInterface + public function getNode(bool $forceRootNode = \false) : \RectorPrefix20220520\Symfony\Component\Config\Definition\NodeInterface { if ($forceRootNode) { $this->parent = null; } if (null !== $this->normalization) { - $this->normalization->before = \RectorPrefix20220519\Symfony\Component\Config\Definition\Builder\ExprBuilder::buildExpressions($this->normalization->before); + $this->normalization->before = \RectorPrefix20220520\Symfony\Component\Config\Definition\Builder\ExprBuilder::buildExpressions($this->normalization->before); } if (null !== $this->validation) { - $this->validation->rules = \RectorPrefix20220519\Symfony\Component\Config\Definition\Builder\ExprBuilder::buildExpressions($this->validation->rules); + $this->validation->rules = \RectorPrefix20220520\Symfony\Component\Config\Definition\Builder\ExprBuilder::buildExpressions($this->validation->rules); } $node = $this->createNode(); - if ($node instanceof \RectorPrefix20220519\Symfony\Component\Config\Definition\BaseNode) { + if ($node instanceof \RectorPrefix20220520\Symfony\Component\Config\Definition\BaseNode) { $node->setAttributes($this->attributes); } return $node; @@ -210,7 +210,7 @@ abstract class NodeDefinition implements \RectorPrefix20220519\Symfony\Component /** * Sets an expression to run before the normalization. */ - public function beforeNormalization() : \RectorPrefix20220519\Symfony\Component\Config\Definition\Builder\ExprBuilder + public function beforeNormalization() : \RectorPrefix20220520\Symfony\Component\Config\Definition\Builder\ExprBuilder { return $this->normalization()->before(); } @@ -231,7 +231,7 @@ abstract class NodeDefinition implements \RectorPrefix20220519\Symfony\Component * modify it. * An exception should be thrown when the node is not valid. */ - public function validate() : \RectorPrefix20220519\Symfony\Component\Config\Definition\Builder\ExprBuilder + public function validate() : \RectorPrefix20220520\Symfony\Component\Config\Definition\Builder\ExprBuilder { return $this->validation()->rule(); } @@ -248,30 +248,30 @@ abstract class NodeDefinition implements \RectorPrefix20220519\Symfony\Component /** * Gets the builder for validation rules. */ - protected function validation() : \RectorPrefix20220519\Symfony\Component\Config\Definition\Builder\ValidationBuilder + protected function validation() : \RectorPrefix20220520\Symfony\Component\Config\Definition\Builder\ValidationBuilder { if (null === $this->validation) { - $this->validation = new \RectorPrefix20220519\Symfony\Component\Config\Definition\Builder\ValidationBuilder($this); + $this->validation = new \RectorPrefix20220520\Symfony\Component\Config\Definition\Builder\ValidationBuilder($this); } return $this->validation; } /** * Gets the builder for merging rules. */ - protected function merge() : \RectorPrefix20220519\Symfony\Component\Config\Definition\Builder\MergeBuilder + protected function merge() : \RectorPrefix20220520\Symfony\Component\Config\Definition\Builder\MergeBuilder { if (null === $this->merge) { - $this->merge = new \RectorPrefix20220519\Symfony\Component\Config\Definition\Builder\MergeBuilder($this); + $this->merge = new \RectorPrefix20220520\Symfony\Component\Config\Definition\Builder\MergeBuilder($this); } return $this->merge; } /** * Gets the builder for normalization rules. */ - protected function normalization() : \RectorPrefix20220519\Symfony\Component\Config\Definition\Builder\NormalizationBuilder + protected function normalization() : \RectorPrefix20220520\Symfony\Component\Config\Definition\Builder\NormalizationBuilder { if (null === $this->normalization) { - $this->normalization = new \RectorPrefix20220519\Symfony\Component\Config\Definition\Builder\NormalizationBuilder($this); + $this->normalization = new \RectorPrefix20220520\Symfony\Component\Config\Definition\Builder\NormalizationBuilder($this); } return $this->normalization; } @@ -280,7 +280,7 @@ abstract class NodeDefinition implements \RectorPrefix20220519\Symfony\Component * * @throws InvalidDefinitionException When the definition is invalid */ - protected abstract function createNode() : \RectorPrefix20220519\Symfony\Component\Config\Definition\NodeInterface; + protected abstract function createNode() : \RectorPrefix20220520\Symfony\Component\Config\Definition\NodeInterface; /** * Set PathSeparator to use. * @@ -288,7 +288,7 @@ abstract class NodeDefinition implements \RectorPrefix20220519\Symfony\Component */ public function setPathSeparator(string $separator) { - if ($this instanceof \RectorPrefix20220519\Symfony\Component\Config\Definition\Builder\ParentNodeDefinitionInterface) { + if ($this instanceof \RectorPrefix20220520\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 3bad704800d..a6a9fa3077b 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 RectorPrefix20220519\Symfony\Component\Config\Definition\Builder; +namespace RectorPrefix20220520\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 18bf32e71c0..a433f5423b0 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 RectorPrefix20220519\Symfony\Component\Config\Definition\Builder; +namespace RectorPrefix20220520\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(\RectorPrefix20220519\Symfony\Component\Config\Definition\Builder\NodeDefinition $node) + public function __construct(\RectorPrefix20220520\Symfony\Component\Config\Definition\Builder\NodeDefinition $node) { $this->node = $node; } @@ -48,6 +48,6 @@ class NormalizationBuilder $this->before[] = $closure; return $this; } - return $this->before[] = new \RectorPrefix20220519\Symfony\Component\Config\Definition\Builder\ExprBuilder($this->node); + return $this->before[] = new \RectorPrefix20220520\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 b2bf450d4bf..f92ae212298 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 RectorPrefix20220519\Symfony\Component\Config\Definition\Builder; +namespace RectorPrefix20220520\Symfony\Component\Config\Definition\Builder; -use RectorPrefix20220519\Symfony\Component\Config\Definition\Exception\InvalidDefinitionException; +use RectorPrefix20220520\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 \RectorPrefix20220519\Symfony\Component\Config\Definition\Builder\ScalarNodeDefinition +abstract class NumericNodeDefinition extends \RectorPrefix20220520\Symfony\Component\Config\Definition\Builder\ScalarNodeDefinition { protected $min; protected $max; @@ -60,6 +60,6 @@ abstract class NumericNodeDefinition extends \RectorPrefix20220519\Symfony\Compo */ public function cannotBeEmpty() { - throw new \RectorPrefix20220519\Symfony\Component\Config\Definition\Exception\InvalidDefinitionException('->cannotBeEmpty() is not applicable to NumericNodeDefinition.'); + throw new \RectorPrefix20220520\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 d8ea05b2ed6..aa726432850 100644 --- a/vendor/symfony/config/Definition/Builder/ParentNodeDefinitionInterface.php +++ b/vendor/symfony/config/Definition/Builder/ParentNodeDefinitionInterface.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 RectorPrefix20220519\Symfony\Component\Config\Definition\Builder; +namespace RectorPrefix20220520\Symfony\Component\Config\Definition\Builder; /** * An interface that must be implemented by nodes which can have children. * * @author Victor Berchet */ -interface ParentNodeDefinitionInterface extends \RectorPrefix20220519\Symfony\Component\Config\Definition\Builder\BuilderAwareInterface +interface ParentNodeDefinitionInterface extends \RectorPrefix20220520\Symfony\Component\Config\Definition\Builder\BuilderAwareInterface { /** * Returns a builder to add children nodes. */ - public function children() : \RectorPrefix20220519\Symfony\Component\Config\Definition\Builder\NodeBuilder; + public function children() : \RectorPrefix20220520\Symfony\Component\Config\Definition\Builder\NodeBuilder; /** * Appends a node definition. * @@ -36,7 +36,7 @@ interface ParentNodeDefinitionInterface extends \RectorPrefix20220519\Symfony\Co * * @return $this */ - public function append(\RectorPrefix20220519\Symfony\Component\Config\Definition\Builder\NodeDefinition $node); + public function append(\RectorPrefix20220520\Symfony\Component\Config\Definition\Builder\NodeDefinition $node); /** * Gets the child node definitions. * diff --git a/vendor/symfony/config/Definition/Builder/ScalarNodeDefinition.php b/vendor/symfony/config/Definition/Builder/ScalarNodeDefinition.php index c6f4b98948a..b6d5f32e077 100644 --- a/vendor/symfony/config/Definition/Builder/ScalarNodeDefinition.php +++ b/vendor/symfony/config/Definition/Builder/ScalarNodeDefinition.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 RectorPrefix20220519\Symfony\Component\Config\Definition\Builder; +namespace RectorPrefix20220520\Symfony\Component\Config\Definition\Builder; -use RectorPrefix20220519\Symfony\Component\Config\Definition\ScalarNode; +use RectorPrefix20220520\Symfony\Component\Config\Definition\ScalarNode; /** * This class provides a fluent interface for defining a node. * * @author Johannes M. Schmitt */ -class ScalarNodeDefinition extends \RectorPrefix20220519\Symfony\Component\Config\Definition\Builder\VariableNodeDefinition +class ScalarNodeDefinition extends \RectorPrefix20220520\Symfony\Component\Config\Definition\Builder\VariableNodeDefinition { /** * Instantiate a Node. */ - protected function instantiateNode() : \RectorPrefix20220519\Symfony\Component\Config\Definition\VariableNode + protected function instantiateNode() : \RectorPrefix20220520\Symfony\Component\Config\Definition\VariableNode { - return new \RectorPrefix20220519\Symfony\Component\Config\Definition\ScalarNode($this->name, $this->parent, $this->pathSeparator); + return new \RectorPrefix20220520\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 4d7c22a7861..fe8b22f3d1a 100644 --- a/vendor/symfony/config/Definition/Builder/TreeBuilder.php +++ b/vendor/symfony/config/Definition/Builder/TreeBuilder.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 RectorPrefix20220519\Symfony\Component\Config\Definition\Builder; +namespace RectorPrefix20220520\Symfony\Component\Config\Definition\Builder; -use RectorPrefix20220519\Symfony\Component\Config\Definition\NodeInterface; +use RectorPrefix20220520\Symfony\Component\Config\Definition\NodeInterface; /** * This is the entry class for building a config tree. * * @author Johannes M. Schmitt */ -class TreeBuilder implements \RectorPrefix20220519\Symfony\Component\Config\Definition\Builder\NodeParentInterface +class TreeBuilder implements \RectorPrefix20220520\Symfony\Component\Config\Definition\Builder\NodeParentInterface { protected $tree; protected $root; - public function __construct(string $name, string $type = 'array', \RectorPrefix20220519\Symfony\Component\Config\Definition\Builder\NodeBuilder $builder = null) + public function __construct(string $name, string $type = 'array', \RectorPrefix20220520\Symfony\Component\Config\Definition\Builder\NodeBuilder $builder = null) { - $builder = $builder ?? new \RectorPrefix20220519\Symfony\Component\Config\Definition\Builder\NodeBuilder(); + $builder = $builder ?? new \RectorPrefix20220520\Symfony\Component\Config\Definition\Builder\NodeBuilder(); $this->root = $builder->node($name, $type)->setParent($this); } /** @@ -37,7 +37,7 @@ class TreeBuilder implements \RectorPrefix20220519\Symfony\Component\Config\Defi * * @throws \RuntimeException */ - public function buildTree() : \RectorPrefix20220519\Symfony\Component\Config\Definition\NodeInterface + public function buildTree() : \RectorPrefix20220520\Symfony\Component\Config\Definition\NodeInterface { if (null !== $this->tree) { return $this->tree; diff --git a/vendor/symfony/config/Definition/Builder/ValidationBuilder.php b/vendor/symfony/config/Definition/Builder/ValidationBuilder.php index 8c85b3c7d0a..0b183f36427 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 RectorPrefix20220519\Symfony\Component\Config\Definition\Builder; +namespace RectorPrefix20220520\Symfony\Component\Config\Definition\Builder; /** * This class builds validation conditions. @@ -19,7 +19,7 @@ class ValidationBuilder { protected $node; public $rules = []; - public function __construct(\RectorPrefix20220519\Symfony\Component\Config\Definition\Builder\NodeDefinition $node) + public function __construct(\RectorPrefix20220520\Symfony\Component\Config\Definition\Builder\NodeDefinition $node) { $this->node = $node; } @@ -34,6 +34,6 @@ class ValidationBuilder $this->rules[] = $closure; return $this; } - return $this->rules[] = new \RectorPrefix20220519\Symfony\Component\Config\Definition\Builder\ExprBuilder($this->node); + return $this->rules[] = new \RectorPrefix20220520\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 a9010f38769..38a18dae0b5 100644 --- a/vendor/symfony/config/Definition/Builder/VariableNodeDefinition.php +++ b/vendor/symfony/config/Definition/Builder/VariableNodeDefinition.php @@ -8,28 +8,28 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20220519\Symfony\Component\Config\Definition\Builder; +namespace RectorPrefix20220520\Symfony\Component\Config\Definition\Builder; -use RectorPrefix20220519\Symfony\Component\Config\Definition\NodeInterface; -use RectorPrefix20220519\Symfony\Component\Config\Definition\VariableNode; +use RectorPrefix20220520\Symfony\Component\Config\Definition\NodeInterface; +use RectorPrefix20220520\Symfony\Component\Config\Definition\VariableNode; /** * This class provides a fluent interface for defining a node. * * @author Johannes M. Schmitt */ -class VariableNodeDefinition extends \RectorPrefix20220519\Symfony\Component\Config\Definition\Builder\NodeDefinition +class VariableNodeDefinition extends \RectorPrefix20220520\Symfony\Component\Config\Definition\Builder\NodeDefinition { /** * Instantiate a Node. */ - protected function instantiateNode() : \RectorPrefix20220519\Symfony\Component\Config\Definition\VariableNode + protected function instantiateNode() : \RectorPrefix20220520\Symfony\Component\Config\Definition\VariableNode { - return new \RectorPrefix20220519\Symfony\Component\Config\Definition\VariableNode($this->name, $this->parent, $this->pathSeparator); + return new \RectorPrefix20220520\Symfony\Component\Config\Definition\VariableNode($this->name, $this->parent, $this->pathSeparator); } /** * {@inheritdoc} */ - protected function createNode() : \RectorPrefix20220519\Symfony\Component\Config\Definition\NodeInterface + protected function createNode() : \RectorPrefix20220520\Symfony\Component\Config\Definition\NodeInterface { $node = $this->instantiateNode(); if (null !== $this->normalization) { diff --git a/vendor/symfony/config/Definition/ConfigurationInterface.php b/vendor/symfony/config/Definition/ConfigurationInterface.php index a7add3402b7..96be59ad031 100644 --- a/vendor/symfony/config/Definition/ConfigurationInterface.php +++ b/vendor/symfony/config/Definition/ConfigurationInterface.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 RectorPrefix20220519\Symfony\Component\Config\Definition; +namespace RectorPrefix20220520\Symfony\Component\Config\Definition; -use RectorPrefix20220519\Symfony\Component\Config\Definition\Builder\TreeBuilder; +use RectorPrefix20220520\Symfony\Component\Config\Definition\Builder\TreeBuilder; /** * Configuration interface. * diff --git a/vendor/symfony/config/Definition/Dumper/XmlReferenceDumper.php b/vendor/symfony/config/Definition/Dumper/XmlReferenceDumper.php index 64cd04d6331..e41d3819656 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 RectorPrefix20220519\Symfony\Component\Config\Definition\Dumper; +namespace RectorPrefix20220520\Symfony\Component\Config\Definition\Dumper; -use RectorPrefix20220519\Symfony\Component\Config\Definition\ArrayNode; -use RectorPrefix20220519\Symfony\Component\Config\Definition\BaseNode; -use RectorPrefix20220519\Symfony\Component\Config\Definition\ConfigurationInterface; -use RectorPrefix20220519\Symfony\Component\Config\Definition\EnumNode; -use RectorPrefix20220519\Symfony\Component\Config\Definition\NodeInterface; -use RectorPrefix20220519\Symfony\Component\Config\Definition\PrototypedArrayNode; +use RectorPrefix20220520\Symfony\Component\Config\Definition\ArrayNode; +use RectorPrefix20220520\Symfony\Component\Config\Definition\BaseNode; +use RectorPrefix20220520\Symfony\Component\Config\Definition\ConfigurationInterface; +use RectorPrefix20220520\Symfony\Component\Config\Definition\EnumNode; +use RectorPrefix20220520\Symfony\Component\Config\Definition\NodeInterface; +use RectorPrefix20220520\Symfony\Component\Config\Definition\PrototypedArrayNode; /** * Dumps an XML reference configuration for the given configuration/node instance. * @@ -27,11 +27,11 @@ class XmlReferenceDumper * @var string|null */ private $reference; - public function dump(\RectorPrefix20220519\Symfony\Component\Config\Definition\ConfigurationInterface $configuration, string $namespace = null) + public function dump(\RectorPrefix20220520\Symfony\Component\Config\Definition\ConfigurationInterface $configuration, string $namespace = null) { return $this->dumpNode($configuration->getConfigTreeBuilder()->buildTree(), $namespace); } - public function dumpNode(\RectorPrefix20220519\Symfony\Component\Config\Definition\NodeInterface $node, string $namespace = null) + public function dumpNode(\RectorPrefix20220520\Symfony\Component\Config\Definition\NodeInterface $node, string $namespace = null) { $this->reference = ''; $this->writeNode($node, 0, \true, $namespace); @@ -39,7 +39,7 @@ class XmlReferenceDumper $this->reference = null; return $ref; } - private function writeNode(\RectorPrefix20220519\Symfony\Component\Config\Definition\NodeInterface $node, int $depth = 0, bool $root = \false, string $namespace = null) + private function writeNode(\RectorPrefix20220520\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); @@ -58,7 +58,7 @@ class XmlReferenceDumper $rootAttributeComments = []; $rootChildren = []; $rootComments = []; - if ($node instanceof \RectorPrefix20220519\Symfony\Component\Config\Definition\ArrayNode) { + if ($node instanceof \RectorPrefix20220520\Symfony\Component\Config\Definition\ArrayNode) { $children = $node->getChildren(); // comments about the root node if ($rootInfo = $node->getInfo()) { @@ -68,7 +68,7 @@ class XmlReferenceDumper $rootComments[] = 'Namespace: ' . $rootNamespace; } // render prototyped nodes - if ($node instanceof \RectorPrefix20220519\Symfony\Component\Config\Definition\PrototypedArrayNode) { + if ($node instanceof \RectorPrefix20220520\Symfony\Component\Config\Definition\PrototypedArrayNode) { $prototype = $node->getPrototype(); $info = 'prototype'; if (null !== $prototype->getInfo()) { @@ -78,10 +78,10 @@ class XmlReferenceDumper if ($key = $node->getKeyAttribute()) { $rootAttributes[$key] = \str_replace('-', ' ', $rootName) . ' ' . $key; } - if ($prototype instanceof \RectorPrefix20220519\Symfony\Component\Config\Definition\PrototypedArrayNode) { + if ($prototype instanceof \RectorPrefix20220520\Symfony\Component\Config\Definition\PrototypedArrayNode) { $prototype->setName($key ?? ''); $children = [$key => $prototype]; - } elseif ($prototype instanceof \RectorPrefix20220519\Symfony\Component\Config\Definition\ArrayNode) { + } elseif ($prototype instanceof \RectorPrefix20220520\Symfony\Component\Config\Definition\ArrayNode) { $children = $prototype->getChildren(); } else { if ($prototype->hasDefaultValue()) { @@ -109,7 +109,7 @@ class XmlReferenceDumper } // get attributes and elements foreach ($children as $child) { - if ($child instanceof \RectorPrefix20220519\Symfony\Component\Config\Definition\ArrayNode) { + if ($child instanceof \RectorPrefix20220520\Symfony\Component\Config\Definition\ArrayNode) { // get elements $rootChildren[] = $child; continue; @@ -121,20 +121,20 @@ class XmlReferenceDumper // use a string which isn't used in the normal world // comments $comments = []; - if ($child instanceof \RectorPrefix20220519\Symfony\Component\Config\Definition\BaseNode && ($info = $child->getInfo())) { + if ($child instanceof \RectorPrefix20220520\Symfony\Component\Config\Definition\BaseNode && ($info = $child->getInfo())) { $comments[] = $info; } - if ($child instanceof \RectorPrefix20220519\Symfony\Component\Config\Definition\BaseNode && ($example = $child->getExample())) { + if ($child instanceof \RectorPrefix20220520\Symfony\Component\Config\Definition\BaseNode && ($example = $child->getExample())) { $comments[] = 'Example: ' . $example; } if ($child->isRequired()) { $comments[] = 'Required'; } - if ($child instanceof \RectorPrefix20220519\Symfony\Component\Config\Definition\BaseNode && $child->isDeprecated()) { + if ($child instanceof \RectorPrefix20220520\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 \RectorPrefix20220519\Symfony\Component\Config\Definition\EnumNode) { + if ($child instanceof \RectorPrefix20220520\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 395b94d8384..221dce0ed69 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 RectorPrefix20220519\Symfony\Component\Config\Definition\Dumper; +namespace RectorPrefix20220520\Symfony\Component\Config\Definition\Dumper; -use RectorPrefix20220519\Symfony\Component\Config\Definition\ArrayNode; -use RectorPrefix20220519\Symfony\Component\Config\Definition\BaseNode; -use RectorPrefix20220519\Symfony\Component\Config\Definition\ConfigurationInterface; -use RectorPrefix20220519\Symfony\Component\Config\Definition\EnumNode; -use RectorPrefix20220519\Symfony\Component\Config\Definition\NodeInterface; -use RectorPrefix20220519\Symfony\Component\Config\Definition\PrototypedArrayNode; -use RectorPrefix20220519\Symfony\Component\Config\Definition\ScalarNode; -use RectorPrefix20220519\Symfony\Component\Config\Definition\VariableNode; -use RectorPrefix20220519\Symfony\Component\Yaml\Inline; +use RectorPrefix20220520\Symfony\Component\Config\Definition\ArrayNode; +use RectorPrefix20220520\Symfony\Component\Config\Definition\BaseNode; +use RectorPrefix20220520\Symfony\Component\Config\Definition\ConfigurationInterface; +use RectorPrefix20220520\Symfony\Component\Config\Definition\EnumNode; +use RectorPrefix20220520\Symfony\Component\Config\Definition\NodeInterface; +use RectorPrefix20220520\Symfony\Component\Config\Definition\PrototypedArrayNode; +use RectorPrefix20220520\Symfony\Component\Config\Definition\ScalarNode; +use RectorPrefix20220520\Symfony\Component\Config\Definition\VariableNode; +use RectorPrefix20220520\Symfony\Component\Yaml\Inline; /** * Dumps a Yaml reference configuration for the given configuration/node instance. * @@ -30,19 +30,19 @@ class YamlReferenceDumper * @var string|null */ private $reference; - public function dump(\RectorPrefix20220519\Symfony\Component\Config\Definition\ConfigurationInterface $configuration) + public function dump(\RectorPrefix20220520\Symfony\Component\Config\Definition\ConfigurationInterface $configuration) { return $this->dumpNode($configuration->getConfigTreeBuilder()->buildTree()); } - public function dumpAtPath(\RectorPrefix20220519\Symfony\Component\Config\Definition\ConfigurationInterface $configuration, string $path) + public function dumpAtPath(\RectorPrefix20220520\Symfony\Component\Config\Definition\ConfigurationInterface $configuration, string $path) { $rootNode = $node = $configuration->getConfigTreeBuilder()->buildTree(); foreach (\explode('.', $path) as $step) { - if (!$node instanceof \RectorPrefix20220519\Symfony\Component\Config\Definition\ArrayNode) { + if (!$node instanceof \RectorPrefix20220520\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 \RectorPrefix20220519\Symfony\Component\Config\Definition\PrototypedArrayNode ? $this->getPrototypeChildren($node) : $node->getChildren(); + $children = $node instanceof \RectorPrefix20220520\Symfony\Component\Config\Definition\PrototypedArrayNode ? $this->getPrototypeChildren($node) : $node->getChildren(); foreach ($children as $child) { if ($child->getName() === $step) { $node = $child; @@ -53,7 +53,7 @@ class YamlReferenceDumper } return $this->dumpNode($node); } - public function dumpNode(\RectorPrefix20220519\Symfony\Component\Config\Definition\NodeInterface $node) + public function dumpNode(\RectorPrefix20220520\Symfony\Component\Config\Definition\NodeInterface $node) { $this->reference = ''; $this->writeNode($node); @@ -61,20 +61,20 @@ class YamlReferenceDumper $this->reference = null; return $ref; } - private function writeNode(\RectorPrefix20220519\Symfony\Component\Config\Definition\NodeInterface $node, \RectorPrefix20220519\Symfony\Component\Config\Definition\NodeInterface $parentNode = null, int $depth = 0, bool $prototypedArray = \false) + private function writeNode(\RectorPrefix20220520\Symfony\Component\Config\Definition\NodeInterface $node, \RectorPrefix20220520\Symfony\Component\Config\Definition\NodeInterface $parentNode = null, int $depth = 0, bool $prototypedArray = \false) { $comments = []; $default = ''; $defaultArray = null; $children = null; $example = null; - if ($node instanceof \RectorPrefix20220519\Symfony\Component\Config\Definition\BaseNode) { + if ($node instanceof \RectorPrefix20220520\Symfony\Component\Config\Definition\BaseNode) { $example = $node->getExample(); } // defaults - if ($node instanceof \RectorPrefix20220519\Symfony\Component\Config\Definition\ArrayNode) { + if ($node instanceof \RectorPrefix20220520\Symfony\Component\Config\Definition\ArrayNode) { $children = $node->getChildren(); - if ($node instanceof \RectorPrefix20220519\Symfony\Component\Config\Definition\PrototypedArrayNode) { + if ($node instanceof \RectorPrefix20220520\Symfony\Component\Config\Definition\PrototypedArrayNode) { $children = $this->getPrototypeChildren($node); } if (!$children) { @@ -84,10 +84,10 @@ class YamlReferenceDumper $default = '[]'; } } - } elseif ($node instanceof \RectorPrefix20220519\Symfony\Component\Config\Definition\EnumNode) { + } elseif ($node instanceof \RectorPrefix20220520\Symfony\Component\Config\Definition\EnumNode) { $comments[] = 'One of ' . \implode('; ', \array_map('json_encode', $node->getValues())); - $default = $node->hasDefaultValue() ? \RectorPrefix20220519\Symfony\Component\Yaml\Inline::dump($node->getDefaultValue()) : '~'; - } elseif (\RectorPrefix20220519\Symfony\Component\Config\Definition\VariableNode::class === \get_class($node) && \is_array($example)) { + $default = $node->hasDefaultValue() ? \RectorPrefix20220520\Symfony\Component\Yaml\Inline::dump($node->getDefaultValue()) : '~'; + } elseif (\RectorPrefix20220520\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 { @@ -101,7 +101,7 @@ class YamlReferenceDumper $default = '[]'; } } else { - $default = \RectorPrefix20220519\Symfony\Component\Yaml\Inline::dump($default); + $default = \RectorPrefix20220520\Symfony\Component\Yaml\Inline::dump($default); } } } @@ -110,19 +110,19 @@ class YamlReferenceDumper $comments[] = 'Required'; } // deprecated? - if ($node instanceof \RectorPrefix20220519\Symfony\Component\Config\Definition\BaseNode && $node->isDeprecated()) { + if ($node instanceof \RectorPrefix20220520\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: ' . \RectorPrefix20220519\Symfony\Component\Yaml\Inline::dump($example); + $comments[] = 'Example: ' . \RectorPrefix20220520\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 \RectorPrefix20220519\Symfony\Component\Config\Definition\BaseNode && ($info = $node->getInfo())) { + if ($node instanceof \RectorPrefix20220520\Symfony\Component\Config\Definition\BaseNode && ($info = $node->getInfo())) { $this->writeLine(''); // indenting multi-line info $info = \str_replace("\n", \sprintf("\n%" . $depth * 4 . 's# ', ' '), $info); @@ -140,11 +140,11 @@ class YamlReferenceDumper $this->writeLine(''); $message = \count($example) > 1 ? 'Examples' : 'Example'; $this->writeLine('# ' . $message . ':', $depth * 4 + 4); - $this->writeArray(\array_map([\RectorPrefix20220519\Symfony\Component\Yaml\Inline::class, 'dump'], $example), $depth + 1); + $this->writeArray(\array_map([\RectorPrefix20220520\Symfony\Component\Yaml\Inline::class, 'dump'], $example), $depth + 1); } if ($children) { foreach ($children as $childNode) { - $this->writeNode($childNode, $node, $depth + 1, $node instanceof \RectorPrefix20220519\Symfony\Component\Config\Definition\PrototypedArrayNode && !$node->getKeyAttribute()); + $this->writeNode($childNode, $node, $depth + 1, $node instanceof \RectorPrefix20220520\Symfony\Component\Config\Definition\PrototypedArrayNode && !$node->getKeyAttribute()); } } } @@ -176,18 +176,18 @@ class YamlReferenceDumper } } } - private function getPrototypeChildren(\RectorPrefix20220519\Symfony\Component\Config\Definition\PrototypedArrayNode $node) : array + private function getPrototypeChildren(\RectorPrefix20220520\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 \RectorPrefix20220519\Symfony\Component\Config\Definition\ArrayNode) { + if (!$key && !$prototype instanceof \RectorPrefix20220520\Symfony\Component\Config\Definition\ArrayNode) { return $node->getChildren(); } - if ($prototype instanceof \RectorPrefix20220519\Symfony\Component\Config\Definition\ArrayNode) { - $keyNode = new \RectorPrefix20220519\Symfony\Component\Config\Definition\ArrayNode($key, $node); + if ($prototype instanceof \RectorPrefix20220520\Symfony\Component\Config\Definition\ArrayNode) { + $keyNode = new \RectorPrefix20220520\Symfony\Component\Config\Definition\ArrayNode($key, $node); $children = $prototype->getChildren(); - if ($prototype instanceof \RectorPrefix20220519\Symfony\Component\Config\Definition\PrototypedArrayNode && $prototype->getKeyAttribute()) { + if ($prototype instanceof \RectorPrefix20220520\Symfony\Component\Config\Definition\PrototypedArrayNode && $prototype->getKeyAttribute()) { $children = $this->getPrototypeChildren($prototype); } // add children @@ -195,7 +195,7 @@ class YamlReferenceDumper $keyNode->addChild($childNode); } } else { - $keyNode = new \RectorPrefix20220519\Symfony\Component\Config\Definition\ScalarNode($key, $node); + $keyNode = new \RectorPrefix20220520\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 50e79b5a7bb..cc23346e73a 100644 --- a/vendor/symfony/config/Definition/EnumNode.php +++ b/vendor/symfony/config/Definition/EnumNode.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 RectorPrefix20220519\Symfony\Component\Config\Definition; +namespace RectorPrefix20220520\Symfony\Component\Config\Definition; -use RectorPrefix20220519\Symfony\Component\Config\Definition\Exception\InvalidConfigurationException; +use RectorPrefix20220520\Symfony\Component\Config\Definition\Exception\InvalidConfigurationException; /** * Node which only allows a finite set of values. * * @author Johannes M. Schmitt */ -class EnumNode extends \RectorPrefix20220519\Symfony\Component\Config\Definition\ScalarNode +class EnumNode extends \RectorPrefix20220520\Symfony\Component\Config\Definition\ScalarNode { /** * @var mixed[] */ private $values; - public function __construct(?string $name, \RectorPrefix20220519\Symfony\Component\Config\Definition\NodeInterface $parent = null, array $values = [], string $pathSeparator = \RectorPrefix20220519\Symfony\Component\Config\Definition\BaseNode::DEFAULT_PATH_SEPARATOR) + public function __construct(?string $name, \RectorPrefix20220520\Symfony\Component\Config\Definition\NodeInterface $parent = null, array $values = [], string $pathSeparator = \RectorPrefix20220520\Symfony\Component\Config\Definition\BaseNode::DEFAULT_PATH_SEPARATOR) { $values = \array_unique($values); if (empty($values)) { @@ -44,7 +44,7 @@ class EnumNode extends \RectorPrefix20220519\Symfony\Component\Config\Definition { $value = parent::finalizeValue($value); if (!\in_array($value, $this->values, \true)) { - $ex = new \RectorPrefix20220519\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 \RectorPrefix20220520\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 708b8c42b9c..257c92174eb 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 RectorPrefix20220519\Symfony\Component\Config\Definition\Exception; +namespace RectorPrefix20220520\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 RectorPrefix20220519\Symfony\Component\Config\Definition\Exception; * * @author Johannes M. Schmitt */ -class DuplicateKeyException extends \RectorPrefix20220519\Symfony\Component\Config\Definition\Exception\InvalidConfigurationException +class DuplicateKeyException extends \RectorPrefix20220520\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 0c3806c4810..8303df0f15c 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 RectorPrefix20220519\Symfony\Component\Config\Definition\Exception; +namespace RectorPrefix20220520\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 daab1c0b21b..b909b33a2f5 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 RectorPrefix20220519\Symfony\Component\Config\Definition\Exception; +namespace RectorPrefix20220520\Symfony\Component\Config\Definition\Exception; /** * This exception is thrown when a configuration path is overwritten from a @@ -16,6 +16,6 @@ namespace RectorPrefix20220519\Symfony\Component\Config\Definition\Exception; * * @author Johannes M. Schmitt */ -class ForbiddenOverwriteException extends \RectorPrefix20220519\Symfony\Component\Config\Definition\Exception\InvalidConfigurationException +class ForbiddenOverwriteException extends \RectorPrefix20220520\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 ec35f3d9cbf..47c1d788d36 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 RectorPrefix20220519\Symfony\Component\Config\Definition\Exception; +namespace RectorPrefix20220520\Symfony\Component\Config\Definition\Exception; /** * A very general exception which can be thrown whenever non of the more specific @@ -16,7 +16,7 @@ namespace RectorPrefix20220519\Symfony\Component\Config\Definition\Exception; * * @author Johannes M. Schmitt */ -class InvalidConfigurationException extends \RectorPrefix20220519\Symfony\Component\Config\Definition\Exception\Exception +class InvalidConfigurationException extends \RectorPrefix20220520\Symfony\Component\Config\Definition\Exception\Exception { /** * @var string|null diff --git a/vendor/symfony/config/Definition/Exception/InvalidDefinitionException.php b/vendor/symfony/config/Definition/Exception/InvalidDefinitionException.php index 8c1b3b60266..63a71b9610d 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 RectorPrefix20220519\Symfony\Component\Config\Definition\Exception; +namespace RectorPrefix20220520\Symfony\Component\Config\Definition\Exception; /** * Thrown when an error is detected in a node Definition. * * @author Victor Berchet */ -class InvalidDefinitionException extends \RectorPrefix20220519\Symfony\Component\Config\Definition\Exception\Exception +class InvalidDefinitionException extends \RectorPrefix20220520\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 d3844ca31e0..d13eb81c335 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 RectorPrefix20220519\Symfony\Component\Config\Definition\Exception; +namespace RectorPrefix20220520\Symfony\Component\Config\Definition\Exception; /** * This exception is thrown if an invalid type is encountered. * * @author Johannes M. Schmitt */ -class InvalidTypeException extends \RectorPrefix20220519\Symfony\Component\Config\Definition\Exception\InvalidConfigurationException +class InvalidTypeException extends \RectorPrefix20220520\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 dae5f27b20d..8f8c234dacd 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 RectorPrefix20220519\Symfony\Component\Config\Definition\Exception; +namespace RectorPrefix20220520\Symfony\Component\Config\Definition\Exception; /** * This exception is usually not encountered by the end-user, but only used @@ -16,6 +16,6 @@ namespace RectorPrefix20220519\Symfony\Component\Config\Definition\Exception; * * @author Johannes M. Schmitt */ -class UnsetKeyException extends \RectorPrefix20220519\Symfony\Component\Config\Definition\Exception\Exception +class UnsetKeyException extends \RectorPrefix20220520\Symfony\Component\Config\Definition\Exception\Exception { } diff --git a/vendor/symfony/config/Definition/FloatNode.php b/vendor/symfony/config/Definition/FloatNode.php index 4dcbedd90fb..8b79a0ee136 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 RectorPrefix20220519\Symfony\Component\Config\Definition; +namespace RectorPrefix20220520\Symfony\Component\Config\Definition; -use RectorPrefix20220519\Symfony\Component\Config\Definition\Exception\InvalidTypeException; +use RectorPrefix20220520\Symfony\Component\Config\Definition\Exception\InvalidTypeException; /** * This node represents a float value in the config tree. * * @author Jeanmonod David */ -class FloatNode extends \RectorPrefix20220519\Symfony\Component\Config\Definition\NumericNode +class FloatNode extends \RectorPrefix20220520\Symfony\Component\Config\Definition\NumericNode { /** * {@inheritdoc} @@ -29,7 +29,7 @@ class FloatNode extends \RectorPrefix20220519\Symfony\Component\Config\Definitio $value = (float) $value; } if (!\is_float($value)) { - $ex = new \RectorPrefix20220519\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 \RectorPrefix20220520\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 f5e687e64ab..581e4416805 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 RectorPrefix20220519\Symfony\Component\Config\Definition; +namespace RectorPrefix20220520\Symfony\Component\Config\Definition; -use RectorPrefix20220519\Symfony\Component\Config\Definition\Exception\InvalidTypeException; +use RectorPrefix20220520\Symfony\Component\Config\Definition\Exception\InvalidTypeException; /** * This node represents an integer value in the config tree. * * @author Jeanmonod David */ -class IntegerNode extends \RectorPrefix20220519\Symfony\Component\Config\Definition\NumericNode +class IntegerNode extends \RectorPrefix20220520\Symfony\Component\Config\Definition\NumericNode { /** * {@inheritdoc} @@ -25,7 +25,7 @@ class IntegerNode extends \RectorPrefix20220519\Symfony\Component\Config\Definit protected function validateType($value) { if (!\is_int($value)) { - $ex = new \RectorPrefix20220519\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 \RectorPrefix20220520\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 5a135d2e2c1..2721244a980 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 RectorPrefix20220519\Symfony\Component\Config\Definition; +namespace RectorPrefix20220520\Symfony\Component\Config\Definition; -use RectorPrefix20220519\Symfony\Component\Config\Definition\Exception\ForbiddenOverwriteException; -use RectorPrefix20220519\Symfony\Component\Config\Definition\Exception\InvalidConfigurationException; -use RectorPrefix20220519\Symfony\Component\Config\Definition\Exception\InvalidTypeException; +use RectorPrefix20220520\Symfony\Component\Config\Definition\Exception\ForbiddenOverwriteException; +use RectorPrefix20220520\Symfony\Component\Config\Definition\Exception\InvalidConfigurationException; +use RectorPrefix20220520\Symfony\Component\Config\Definition\Exception\InvalidTypeException; /** * Common Interface among all nodes. * diff --git a/vendor/symfony/config/Definition/NumericNode.php b/vendor/symfony/config/Definition/NumericNode.php index 0ec19b8e006..419f1d1bfdc 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 RectorPrefix20220519\Symfony\Component\Config\Definition; +namespace RectorPrefix20220520\Symfony\Component\Config\Definition; -use RectorPrefix20220519\Symfony\Component\Config\Definition\Exception\InvalidConfigurationException; +use RectorPrefix20220520\Symfony\Component\Config\Definition\Exception\InvalidConfigurationException; /** * This node represents a numeric value in the config tree. * * @author David Jeanmonod */ -class NumericNode extends \RectorPrefix20220519\Symfony\Component\Config\Definition\ScalarNode +class NumericNode extends \RectorPrefix20220520\Symfony\Component\Config\Definition\ScalarNode { protected $min; protected $max; @@ -24,7 +24,7 @@ class NumericNode extends \RectorPrefix20220519\Symfony\Component\Config\Definit * @param int|float $min * @param int|float $max */ - public function __construct(?string $name, \RectorPrefix20220519\Symfony\Component\Config\Definition\NodeInterface $parent = null, $min = null, $max = null, string $pathSeparator = \RectorPrefix20220519\Symfony\Component\Config\Definition\BaseNode::DEFAULT_PATH_SEPARATOR) + public function __construct(?string $name, \RectorPrefix20220520\Symfony\Component\Config\Definition\NodeInterface $parent = null, $min = null, $max = null, string $pathSeparator = \RectorPrefix20220520\Symfony\Component\Config\Definition\BaseNode::DEFAULT_PATH_SEPARATOR) { parent::__construct($name, $parent, $pathSeparator); $this->min = $min; @@ -46,7 +46,7 @@ class NumericNode extends \RectorPrefix20220519\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 \RectorPrefix20220519\Symfony\Component\Config\Definition\Exception\InvalidConfigurationException($errorMsg); + $ex = new \RectorPrefix20220520\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 9ac1de60be6..41c9090dc15 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 RectorPrefix20220519\Symfony\Component\Config\Definition; +namespace RectorPrefix20220520\Symfony\Component\Config\Definition; /** * This class is the entry point for config normalization/merging/finalization. @@ -24,7 +24,7 @@ class Processor * * @param array $configs An array of configuration items to process */ - public function process(\RectorPrefix20220519\Symfony\Component\Config\Definition\NodeInterface $configTree, array $configs) : array + public function process(\RectorPrefix20220520\Symfony\Component\Config\Definition\NodeInterface $configTree, array $configs) : array { $currentConfig = []; foreach ($configs as $config) { @@ -38,7 +38,7 @@ class Processor * * @param array $configs An array of configuration items to process */ - public function processConfiguration(\RectorPrefix20220519\Symfony\Component\Config\Definition\ConfigurationInterface $configuration, array $configs) : array + public function processConfiguration(\RectorPrefix20220520\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 476d6d38b2a..bd0b8de8971 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 RectorPrefix20220519\Symfony\Component\Config\Definition; +namespace RectorPrefix20220520\Symfony\Component\Config\Definition; /** * This interface must be implemented by nodes which can be used as prototypes. * * @author Johannes M. Schmitt */ -interface PrototypeNodeInterface extends \RectorPrefix20220519\Symfony\Component\Config\Definition\NodeInterface +interface PrototypeNodeInterface extends \RectorPrefix20220520\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 26b21767084..4605f9fbd7d 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 RectorPrefix20220519\Symfony\Component\Config\Definition; +namespace RectorPrefix20220520\Symfony\Component\Config\Definition; -use RectorPrefix20220519\Symfony\Component\Config\Definition\Exception\DuplicateKeyException; -use RectorPrefix20220519\Symfony\Component\Config\Definition\Exception\Exception; -use RectorPrefix20220519\Symfony\Component\Config\Definition\Exception\InvalidConfigurationException; -use RectorPrefix20220519\Symfony\Component\Config\Definition\Exception\UnsetKeyException; +use RectorPrefix20220520\Symfony\Component\Config\Definition\Exception\DuplicateKeyException; +use RectorPrefix20220520\Symfony\Component\Config\Definition\Exception\Exception; +use RectorPrefix20220520\Symfony\Component\Config\Definition\Exception\InvalidConfigurationException; +use RectorPrefix20220520\Symfony\Component\Config\Definition\Exception\UnsetKeyException; /** * Represents a prototyped Array node in the config tree. * * @author Johannes M. Schmitt */ -class PrototypedArrayNode extends \RectorPrefix20220519\Symfony\Component\Config\Definition\ArrayNode +class PrototypedArrayNode extends \RectorPrefix20220520\Symfony\Component\Config\Definition\ArrayNode { protected $prototype; protected $keyAttribute; @@ -124,14 +124,14 @@ class PrototypedArrayNode extends \RectorPrefix20220519\Symfony\Component\Config /** * Sets the node prototype. */ - public function setPrototype(\RectorPrefix20220519\Symfony\Component\Config\Definition\PrototypeNodeInterface $node) + public function setPrototype(\RectorPrefix20220520\Symfony\Component\Config\Definition\PrototypeNodeInterface $node) { $this->prototype = $node; } /** * Retrieves the prototype. */ - public function getPrototype() : \RectorPrefix20220519\Symfony\Component\Config\Definition\PrototypeNodeInterface + public function getPrototype() : \RectorPrefix20220520\Symfony\Component\Config\Definition\PrototypeNodeInterface { return $this->prototype; } @@ -140,9 +140,9 @@ class PrototypedArrayNode extends \RectorPrefix20220519\Symfony\Component\Config * * @throws Exception */ - public function addChild(\RectorPrefix20220519\Symfony\Component\Config\Definition\NodeInterface $node) + public function addChild(\RectorPrefix20220520\Symfony\Component\Config\Definition\NodeInterface $node) { - throw new \RectorPrefix20220519\Symfony\Component\Config\Definition\Exception\Exception('A prototyped array node cannot have concrete children.'); + throw new \RectorPrefix20220520\Symfony\Component\Config\Definition\Exception\Exception('A prototyped array node cannot have concrete children.'); } /** * {@inheritdoc} @@ -152,18 +152,18 @@ class PrototypedArrayNode extends \RectorPrefix20220519\Symfony\Component\Config protected function finalizeValue($value) { if (\false === $value) { - throw new \RectorPrefix20220519\Symfony\Component\Config\Definition\Exception\UnsetKeyException(\sprintf('Unsetting key for path "%s", value: %s.', $this->getPath(), \json_encode($value))); + throw new \RectorPrefix20220520\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 (\RectorPrefix20220519\Symfony\Component\Config\Definition\Exception\UnsetKeyException $e) { + } catch (\RectorPrefix20220520\Symfony\Component\Config\Definition\Exception\UnsetKeyException $e) { unset($value[$k]); } } if (\count($value) < $this->minNumberOfElements) { - $ex = new \RectorPrefix20220519\Symfony\Component\Config\Definition\Exception\InvalidConfigurationException(\sprintf('The path "%s" should have at least %d element(s) defined.', $this->getPath(), $this->minNumberOfElements)); + $ex = new \RectorPrefix20220520\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; } @@ -183,7 +183,7 @@ class PrototypedArrayNode extends \RectorPrefix20220519\Symfony\Component\Config } $value = $this->remapXml($value); $arrayIsList = function (array $array) : bool { - if (\function_exists('RectorPrefix20220519\\array_is_list')) { + if (\function_exists('RectorPrefix20220520\\array_is_list')) { return array_is_list($array); } if ($array === []) { @@ -203,7 +203,7 @@ class PrototypedArrayNode extends \RectorPrefix20220519\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 \RectorPrefix20220519\Symfony\Component\Config\Definition\Exception\InvalidConfigurationException(\sprintf('The attribute "%s" must be set for path "%s".', $this->keyAttribute, $this->getPath())); + $ex = new \RectorPrefix20220520\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])) { @@ -218,7 +218,7 @@ class PrototypedArrayNode extends \RectorPrefix20220519\Symfony\Component\Config // if only "value" is left if (\array_keys($v) === ['value']) { $v = $v['value']; - if ($this->prototype instanceof \RectorPrefix20220519\Symfony\Component\Config\Definition\ArrayNode && ($children = $this->prototype->getChildren()) && \array_key_exists('value', $children)) { + if ($this->prototype instanceof \RectorPrefix20220520\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; @@ -231,7 +231,7 @@ class PrototypedArrayNode extends \RectorPrefix20220519\Symfony\Component\Config } } if (\array_key_exists($k, $normalized)) { - $ex = new \RectorPrefix20220519\Symfony\Component\Config\Definition\Exception\DuplicateKeyException(\sprintf('Duplicate key "%s" for path "%s".', $k, $this->getPath())); + $ex = new \RectorPrefix20220520\Symfony\Component\Config\Definition\Exception\DuplicateKeyException(\sprintf('Duplicate key "%s" for path "%s".', $k, $this->getPath())); $ex->setPath($this->getPath()); throw $ex; } @@ -262,7 +262,7 @@ class PrototypedArrayNode extends \RectorPrefix20220519\Symfony\Component\Config return $rightSide; } $arrayIsList = function (array $array) : bool { - if (\function_exists('RectorPrefix20220519\\array_is_list')) { + if (\function_exists('RectorPrefix20220520\\array_is_list')) { return array_is_list($array); } if ($array === []) { @@ -287,7 +287,7 @@ class PrototypedArrayNode extends \RectorPrefix20220519\Symfony\Component\Config // no conflict if (!\array_key_exists($k, $leftSide)) { if (!$this->allowNewKeys) { - $ex = new \RectorPrefix20220519\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 \RectorPrefix20220520\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; } diff --git a/vendor/symfony/config/Definition/ScalarNode.php b/vendor/symfony/config/Definition/ScalarNode.php index 154cb642a95..e6e8c2642b1 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 RectorPrefix20220519\Symfony\Component\Config\Definition; +namespace RectorPrefix20220520\Symfony\Component\Config\Definition; -use RectorPrefix20220519\Symfony\Component\Config\Definition\Exception\InvalidTypeException; +use RectorPrefix20220520\Symfony\Component\Config\Definition\Exception\InvalidTypeException; /** * This node represents a scalar value in the config tree. * @@ -23,7 +23,7 @@ use RectorPrefix20220519\Symfony\Component\Config\Definition\Exception\InvalidTy * * @author Johannes M. Schmitt */ -class ScalarNode extends \RectorPrefix20220519\Symfony\Component\Config\Definition\VariableNode +class ScalarNode extends \RectorPrefix20220520\Symfony\Component\Config\Definition\VariableNode { /** * {@inheritdoc} @@ -32,7 +32,7 @@ class ScalarNode extends \RectorPrefix20220519\Symfony\Component\Config\Definiti protected function validateType($value) { if (!\is_scalar($value) && null !== $value) { - $ex = new \RectorPrefix20220519\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 \RectorPrefix20220520\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 1126b14f5f7..d4620117cdc 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 RectorPrefix20220519\Symfony\Component\Config\Definition; +namespace RectorPrefix20220520\Symfony\Component\Config\Definition; -use RectorPrefix20220519\Symfony\Component\Config\Definition\Exception\InvalidConfigurationException; +use RectorPrefix20220520\Symfony\Component\Config\Definition\Exception\InvalidConfigurationException; /** * This node represents a value of variable type in the config tree. * @@ -19,7 +19,7 @@ use RectorPrefix20220519\Symfony\Component\Config\Definition\Exception\InvalidCo * * @author Jeremy Mikola */ -class VariableNode extends \RectorPrefix20220519\Symfony\Component\Config\Definition\BaseNode implements \RectorPrefix20220519\Symfony\Component\Config\Definition\PrototypeNodeInterface +class VariableNode extends \RectorPrefix20220520\Symfony\Component\Config\Definition\BaseNode implements \RectorPrefix20220520\Symfony\Component\Config\Definition\PrototypeNodeInterface { protected $defaultValueSet = \false; protected $defaultValue; @@ -81,7 +81,7 @@ class VariableNode extends \RectorPrefix20220519\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 \RectorPrefix20220519\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 \RectorPrefix20220520\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); } @@ -89,7 +89,7 @@ class VariableNode extends \RectorPrefix20220519\Symfony\Component\Config\Defini throw $e; } if (!$this->allowEmptyValue && $this->isValueEmpty($value)) { - $ex = new \RectorPrefix20220519\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 \RectorPrefix20220520\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 f99c3901fa6..999e25b252e 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 RectorPrefix20220519\Symfony\Component\Config\Exception; +namespace RectorPrefix20220520\Symfony\Component\Config\Exception; /** * Exception class for when a circular reference is detected when importing resources. * * @author Fabien Potencier */ -class FileLoaderImportCircularReferenceException extends \RectorPrefix20220519\Symfony\Component\Config\Exception\LoaderLoadException +class FileLoaderImportCircularReferenceException extends \RectorPrefix20220520\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 7519bf1f2a3..1388d8ad536 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 RectorPrefix20220519\Symfony\Component\Config\Exception; +namespace RectorPrefix20220520\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 5bff03cf8b3..8a68476bb83 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 RectorPrefix20220519\Symfony\Component\Config\Exception; +namespace RectorPrefix20220520\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 98e17b682da..21059e8beb5 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 RectorPrefix20220519\Symfony\Component\Config; +namespace RectorPrefix20220520\Symfony\Component\Config; -use RectorPrefix20220519\Symfony\Component\Config\Exception\FileLocatorFileNotFoundException; +use RectorPrefix20220520\Symfony\Component\Config\Exception\FileLocatorFileNotFoundException; /** * FileLocator uses an array of pre-defined paths to find files. * * @author Fabien Potencier */ -class FileLocator implements \RectorPrefix20220519\Symfony\Component\Config\FileLocatorInterface +class FileLocator implements \RectorPrefix20220520\Symfony\Component\Config\FileLocatorInterface { protected $paths; /** @@ -36,7 +36,7 @@ class FileLocator implements \RectorPrefix20220519\Symfony\Component\Config\File } if ($this->isAbsolutePath($name)) { if (!\file_exists($name)) { - throw new \RectorPrefix20220519\Symfony\Component\Config\Exception\FileLocatorFileNotFoundException(\sprintf('The file "%s" does not exist.', $name), 0, null, [$name]); + throw new \RectorPrefix20220520\Symfony\Component\Config\Exception\FileLocatorFileNotFoundException(\sprintf('The file "%s" does not exist.', $name), 0, null, [$name]); } return $name; } @@ -57,7 +57,7 @@ class FileLocator implements \RectorPrefix20220519\Symfony\Component\Config\File } } if (!$filepaths) { - throw new \RectorPrefix20220519\Symfony\Component\Config\Exception\FileLocatorFileNotFoundException(\sprintf('The file "%s" does not exist (in: "%s").', $name, \implode('", "', $paths)), 0, null, $notfound); + throw new \RectorPrefix20220520\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 deafdd046d4..cb549007d8e 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 RectorPrefix20220519\Symfony\Component\Config; +namespace RectorPrefix20220520\Symfony\Component\Config; -use RectorPrefix20220519\Symfony\Component\Config\Exception\FileLocatorFileNotFoundException; +use RectorPrefix20220520\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 c5d7c5e881b..5babbc1e7ed 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 RectorPrefix20220519\Symfony\Component\Config\Loader; +namespace RectorPrefix20220520\Symfony\Component\Config\Loader; -use RectorPrefix20220519\Symfony\Component\Config\Exception\LoaderLoadException; +use RectorPrefix20220520\Symfony\Component\Config\Exception\LoaderLoadException; /** * DelegatingLoader delegates loading to other loaders using a loader resolver. * @@ -19,9 +19,9 @@ use RectorPrefix20220519\Symfony\Component\Config\Exception\LoaderLoadException; * * @author Fabien Potencier */ -class DelegatingLoader extends \RectorPrefix20220519\Symfony\Component\Config\Loader\Loader +class DelegatingLoader extends \RectorPrefix20220520\Symfony\Component\Config\Loader\Loader { - public function __construct(\RectorPrefix20220519\Symfony\Component\Config\Loader\LoaderResolverInterface $resolver) + public function __construct(\RectorPrefix20220520\Symfony\Component\Config\Loader\LoaderResolverInterface $resolver) { $this->resolver = $resolver; } @@ -33,7 +33,7 @@ class DelegatingLoader extends \RectorPrefix20220519\Symfony\Component\Config\Lo public function load($resource, string $type = null) { if (\false === ($loader = $this->resolver->resolve($resource, $type))) { - throw new \RectorPrefix20220519\Symfony\Component\Config\Exception\LoaderLoadException($resource, null, 0, null, $type); + throw new \RectorPrefix20220520\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 32dbda6dde0..baa0c59474e 100644 --- a/vendor/symfony/config/Loader/FileLoader.php +++ b/vendor/symfony/config/Loader/FileLoader.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 RectorPrefix20220519\Symfony\Component\Config\Loader; +namespace RectorPrefix20220520\Symfony\Component\Config\Loader; -use RectorPrefix20220519\Symfony\Component\Config\Exception\FileLoaderImportCircularReferenceException; -use RectorPrefix20220519\Symfony\Component\Config\Exception\FileLocatorFileNotFoundException; -use RectorPrefix20220519\Symfony\Component\Config\Exception\LoaderLoadException; -use RectorPrefix20220519\Symfony\Component\Config\FileLocatorInterface; -use RectorPrefix20220519\Symfony\Component\Config\Resource\FileExistenceResource; -use RectorPrefix20220519\Symfony\Component\Config\Resource\GlobResource; +use RectorPrefix20220520\Symfony\Component\Config\Exception\FileLoaderImportCircularReferenceException; +use RectorPrefix20220520\Symfony\Component\Config\Exception\FileLocatorFileNotFoundException; +use RectorPrefix20220520\Symfony\Component\Config\Exception\LoaderLoadException; +use RectorPrefix20220520\Symfony\Component\Config\FileLocatorInterface; +use RectorPrefix20220520\Symfony\Component\Config\Resource\FileExistenceResource; +use RectorPrefix20220520\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 \RectorPrefix20220519\Symfony\Component\Config\Loader\Loader +abstract class FileLoader extends \RectorPrefix20220520\Symfony\Component\Config\Loader\Loader { protected static $loading = []; protected $locator; @@ -29,7 +29,7 @@ abstract class FileLoader extends \RectorPrefix20220519\Symfony\Component\Config * @var string|null */ private $currentDir; - public function __construct(\RectorPrefix20220519\Symfony\Component\Config\FileLocatorInterface $locator, string $env = null) + public function __construct(\RectorPrefix20220520\Symfony\Component\Config\FileLocatorInterface $locator, string $env = null) { $this->locator = $locator; parent::__construct($env); @@ -44,7 +44,7 @@ abstract class FileLoader extends \RectorPrefix20220519\Symfony\Component\Config /** * Returns the file locator used by this loader. */ - public function getLocator() : \RectorPrefix20220519\Symfony\Component\Config\FileLocatorInterface + public function getLocator() : \RectorPrefix20220520\Symfony\Component\Config\FileLocatorInterface { return $this->locator; } @@ -105,17 +105,17 @@ abstract class FileLoader extends \RectorPrefix20220519\Symfony\Component\Config } try { $prefix = $this->locator->locate($prefix, $this->currentDir, \true); - } catch (\RectorPrefix20220519\Symfony\Component\Config\Exception\FileLocatorFileNotFoundException $e) { + } catch (\RectorPrefix20220520\Symfony\Component\Config\Exception\FileLocatorFileNotFoundException $e) { if (!$ignoreErrors) { throw $e; } $resource = []; foreach ($e->getPaths() as $path) { - $resource[] = new \RectorPrefix20220519\Symfony\Component\Config\Resource\FileExistenceResource($path); + $resource[] = new \RectorPrefix20220520\Symfony\Component\Config\Resource\FileExistenceResource($path); } return; } - $resource = new \RectorPrefix20220519\Symfony\Component\Config\Resource\GlobResource($prefix, $pattern, $recursive, $forExclusion, $excluded); + $resource = new \RectorPrefix20220520\Symfony\Component\Config\Resource\GlobResource($prefix, $pattern, $recursive, $forExclusion, $excluded); yield from $resource; } /** @@ -132,7 +132,7 @@ abstract class FileLoader extends \RectorPrefix20220519\Symfony\Component\Config for ($i = 0; $i < ($resourcesCount = \count($resources)); ++$i) { if (isset(self::$loading[$resources[$i]])) { if ($i == $resourcesCount - 1) { - throw new \RectorPrefix20220519\Symfony\Component\Config\Exception\FileLoaderImportCircularReferenceException(\array_keys(self::$loading)); + throw new \RectorPrefix20220520\Symfony\Component\Config\Exception\FileLoaderImportCircularReferenceException(\array_keys(self::$loading)); } } else { $resource = $resources[$i]; @@ -146,15 +146,15 @@ abstract class FileLoader extends \RectorPrefix20220519\Symfony\Component\Config unset(self::$loading[$resource]); } return $ret; - } catch (\RectorPrefix20220519\Symfony\Component\Config\Exception\FileLoaderImportCircularReferenceException $e) { + } catch (\RectorPrefix20220520\Symfony\Component\Config\Exception\FileLoaderImportCircularReferenceException $e) { throw $e; } catch (\Exception $e) { if (!$ignoreErrors) { // prevent embedded imports from nesting multiple exceptions - if ($e instanceof \RectorPrefix20220519\Symfony\Component\Config\Exception\LoaderLoadException) { + if ($e instanceof \RectorPrefix20220520\Symfony\Component\Config\Exception\LoaderLoadException) { throw $e; } - throw new \RectorPrefix20220519\Symfony\Component\Config\Exception\LoaderLoadException($resource, $sourceResource, 0, $e, $type); + throw new \RectorPrefix20220520\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 f498b2f6082..20d31da6e77 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 RectorPrefix20220519\Symfony\Component\Config\Loader; +namespace RectorPrefix20220520\Symfony\Component\Config\Loader; /** * GlobFileLoader loads files from a glob pattern. * * @author Fabien Potencier */ -class GlobFileLoader extends \RectorPrefix20220519\Symfony\Component\Config\Loader\FileLoader +class GlobFileLoader extends \RectorPrefix20220520\Symfony\Component\Config\Loader\FileLoader { /** * {@inheritdoc} diff --git a/vendor/symfony/config/Loader/Loader.php b/vendor/symfony/config/Loader/Loader.php index 7268581c409..0d19bc90ffb 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 RectorPrefix20220519\Symfony\Component\Config\Loader; +namespace RectorPrefix20220520\Symfony\Component\Config\Loader; -use RectorPrefix20220519\Symfony\Component\Config\Exception\LoaderLoadException; +use RectorPrefix20220520\Symfony\Component\Config\Exception\LoaderLoadException; /** * Loader is the abstract class used by all built-in loaders. * * @author Fabien Potencier */ -abstract class Loader implements \RectorPrefix20220519\Symfony\Component\Config\Loader\LoaderInterface +abstract class Loader implements \RectorPrefix20220520\Symfony\Component\Config\Loader\LoaderInterface { protected $resolver; protected $env; @@ -27,14 +27,14 @@ abstract class Loader implements \RectorPrefix20220519\Symfony\Component\Config\ /** * {@inheritdoc} */ - public function getResolver() : \RectorPrefix20220519\Symfony\Component\Config\Loader\LoaderResolverInterface + public function getResolver() : \RectorPrefix20220520\Symfony\Component\Config\Loader\LoaderResolverInterface { return $this->resolver; } /** * {@inheritdoc} */ - public function setResolver(\RectorPrefix20220519\Symfony\Component\Config\Loader\LoaderResolverInterface $resolver) + public function setResolver(\RectorPrefix20220520\Symfony\Component\Config\Loader\LoaderResolverInterface $resolver) { $this->resolver = $resolver; } @@ -54,14 +54,14 @@ abstract class Loader implements \RectorPrefix20220519\Symfony\Component\Config\ * @throws LoaderLoadException If no loader is found * @param mixed $resource */ - public function resolve($resource, string $type = null) : \RectorPrefix20220519\Symfony\Component\Config\Loader\LoaderInterface + public function resolve($resource, string $type = null) : \RectorPrefix20220520\Symfony\Component\Config\Loader\LoaderInterface { if ($this->supports($resource, $type)) { return $this; } $loader = null === $this->resolver ? \false : $this->resolver->resolve($resource, $type); if (\false === $loader) { - throw new \RectorPrefix20220519\Symfony\Component\Config\Exception\LoaderLoadException($resource, null, 0, null, $type); + throw new \RectorPrefix20220520\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 e925fda5c3a..738c03386ee 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 RectorPrefix20220519\Symfony\Component\Config\Loader; +namespace RectorPrefix20220520\Symfony\Component\Config\Loader; /** * LoaderInterface is the interface implemented by all loader classes. @@ -43,5 +43,5 @@ interface LoaderInterface /** * Sets the loader resolver. */ - public function setResolver(\RectorPrefix20220519\Symfony\Component\Config\Loader\LoaderResolverInterface $resolver); + public function setResolver(\RectorPrefix20220520\Symfony\Component\Config\Loader\LoaderResolverInterface $resolver); } diff --git a/vendor/symfony/config/Loader/LoaderResolver.php b/vendor/symfony/config/Loader/LoaderResolver.php index 5901e817c01..be9d873b835 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 RectorPrefix20220519\Symfony\Component\Config\Loader; +namespace RectorPrefix20220520\Symfony\Component\Config\Loader; /** * LoaderResolver selects a loader for a given resource. @@ -18,7 +18,7 @@ namespace RectorPrefix20220519\Symfony\Component\Config\Loader; * * @author Fabien Potencier */ -class LoaderResolver implements \RectorPrefix20220519\Symfony\Component\Config\Loader\LoaderResolverInterface +class LoaderResolver implements \RectorPrefix20220520\Symfony\Component\Config\Loader\LoaderResolverInterface { /** * @var LoaderInterface[] An array of LoaderInterface objects @@ -47,7 +47,7 @@ class LoaderResolver implements \RectorPrefix20220519\Symfony\Component\Config\L } return \false; } - public function addLoader(\RectorPrefix20220519\Symfony\Component\Config\Loader\LoaderInterface $loader) + public function addLoader(\RectorPrefix20220520\Symfony\Component\Config\Loader\LoaderInterface $loader) { $this->loaders[] = $loader; $loader->setResolver($this); diff --git a/vendor/symfony/config/Loader/LoaderResolverInterface.php b/vendor/symfony/config/Loader/LoaderResolverInterface.php index 7d2469e5d7b..f445c532b4d 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 RectorPrefix20220519\Symfony\Component\Config\Loader; +namespace RectorPrefix20220520\Symfony\Component\Config\Loader; /** * LoaderResolverInterface selects a loader for a given resource. diff --git a/vendor/symfony/config/Loader/ParamConfigurator.php b/vendor/symfony/config/Loader/ParamConfigurator.php index a6bc313cbf6..f0f6f27c4bd 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 RectorPrefix20220519\Symfony\Component\Config\Loader; +namespace RectorPrefix20220520\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 fec9d9999f2..8b56647eca9 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 RectorPrefix20220519\Symfony\Component\Config\Resource; +namespace RectorPrefix20220520\Symfony\Component\Config\Resource; /** * ClassExistenceResource represents a class existence. @@ -20,7 +20,7 @@ namespace RectorPrefix20220519\Symfony\Component\Config\Resource; * * @final */ -class ClassExistenceResource implements \RectorPrefix20220519\Symfony\Component\Config\Resource\SelfCheckingResourceInterface +class ClassExistenceResource implements \RectorPrefix20220520\Symfony\Component\Config\Resource\SelfCheckingResourceInterface { /** * @var string diff --git a/vendor/symfony/config/Resource/ComposerResource.php b/vendor/symfony/config/Resource/ComposerResource.php index b3d078d93f4..9e06f87cdb0 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 RectorPrefix20220519\Symfony\Component\Config\Resource; +namespace RectorPrefix20220520\Symfony\Component\Config\Resource; /** * ComposerResource tracks the PHP version and Composer dependencies. @@ -17,7 +17,7 @@ namespace RectorPrefix20220519\Symfony\Component\Config\Resource; * * @final */ -class ComposerResource implements \RectorPrefix20220519\Symfony\Component\Config\Resource\SelfCheckingResourceInterface +class ComposerResource implements \RectorPrefix20220520\Symfony\Component\Config\Resource\SelfCheckingResourceInterface { /** * @var mixed[] diff --git a/vendor/symfony/config/Resource/DirectoryResource.php b/vendor/symfony/config/Resource/DirectoryResource.php index 2197ff5bc3e..41a9362bdb9 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 RectorPrefix20220519\Symfony\Component\Config\Resource; +namespace RectorPrefix20220520\Symfony\Component\Config\Resource; /** * DirectoryResource represents a resources stored in a subdirectory tree. @@ -17,7 +17,7 @@ namespace RectorPrefix20220519\Symfony\Component\Config\Resource; * * @final */ -class DirectoryResource implements \RectorPrefix20220519\Symfony\Component\Config\Resource\SelfCheckingResourceInterface +class DirectoryResource implements \RectorPrefix20220520\Symfony\Component\Config\Resource\SelfCheckingResourceInterface { /** * @var string diff --git a/vendor/symfony/config/Resource/FileExistenceResource.php b/vendor/symfony/config/Resource/FileExistenceResource.php index 00bc928b677..caedf68f079 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 RectorPrefix20220519\Symfony\Component\Config\Resource; +namespace RectorPrefix20220520\Symfony\Component\Config\Resource; /** * FileExistenceResource represents a resource stored on the filesystem. @@ -20,7 +20,7 @@ namespace RectorPrefix20220519\Symfony\Component\Config\Resource; * * @final */ -class FileExistenceResource implements \RectorPrefix20220519\Symfony\Component\Config\Resource\SelfCheckingResourceInterface +class FileExistenceResource implements \RectorPrefix20220520\Symfony\Component\Config\Resource\SelfCheckingResourceInterface { /** * @var string diff --git a/vendor/symfony/config/Resource/FileResource.php b/vendor/symfony/config/Resource/FileResource.php index a7f121cc880..5cb1199c99d 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 RectorPrefix20220519\Symfony\Component\Config\Resource; +namespace RectorPrefix20220520\Symfony\Component\Config\Resource; /** * FileResource represents a resource stored on the filesystem. @@ -19,7 +19,7 @@ namespace RectorPrefix20220519\Symfony\Component\Config\Resource; * * @final */ -class FileResource implements \RectorPrefix20220519\Symfony\Component\Config\Resource\SelfCheckingResourceInterface +class FileResource implements \RectorPrefix20220520\Symfony\Component\Config\Resource\SelfCheckingResourceInterface { /** * @var string diff --git a/vendor/symfony/config/Resource/GlobResource.php b/vendor/symfony/config/Resource/GlobResource.php index 6c604270ff0..a62c4781df6 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 RectorPrefix20220519\Symfony\Component\Config\Resource; +namespace RectorPrefix20220520\Symfony\Component\Config\Resource; -use RectorPrefix20220519\Symfony\Component\Finder\Finder; -use RectorPrefix20220519\Symfony\Component\Finder\Glob; +use RectorPrefix20220520\Symfony\Component\Finder\Finder; +use RectorPrefix20220520\Symfony\Component\Finder\Glob; /** * GlobResource represents a set of resources stored on the filesystem. * @@ -23,7 +23,7 @@ use RectorPrefix20220519\Symfony\Component\Finder\Glob; * * @implements \IteratorAggregate */ -class GlobResource implements \IteratorAggregate, \RectorPrefix20220519\Symfony\Component\Config\Resource\SelfCheckingResourceInterface +class GlobResource implements \IteratorAggregate, \RectorPrefix20220520\Symfony\Component\Config\Resource\SelfCheckingResourceInterface { /** * @var string @@ -159,11 +159,11 @@ class GlobResource implements \IteratorAggregate, \RectorPrefix20220519\Symfony\ } return; } - if (!\class_exists(\RectorPrefix20220519\Symfony\Component\Finder\Finder::class)) { + if (!\class_exists(\RectorPrefix20220520\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 \RectorPrefix20220519\Symfony\Component\Finder\Finder(); - $regex = \RectorPrefix20220519\Symfony\Component\Finder\Glob::toRegex($this->pattern); + $finder = new \RectorPrefix20220520\Symfony\Component\Finder\Finder(); + $regex = \RectorPrefix20220520\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 dc69694d649..2dc83d72a3a 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 RectorPrefix20220519\Symfony\Component\Config\Resource; +namespace RectorPrefix20220520\Symfony\Component\Config\Resource; -use RectorPrefix20220519\Symfony\Component\EventDispatcher\EventSubscriberInterface; -use RectorPrefix20220519\Symfony\Component\Messenger\Handler\MessageSubscriberInterface; -use RectorPrefix20220519\Symfony\Contracts\Service\ServiceSubscriberInterface; +use RectorPrefix20220520\Symfony\Component\EventDispatcher\EventSubscriberInterface; +use RectorPrefix20220520\Symfony\Component\Messenger\Handler\MessageSubscriberInterface; +use RectorPrefix20220520\Symfony\Contracts\Service\ServiceSubscriberInterface; /** * @author Nicolas Grekas * * @final */ -class ReflectionClassResource implements \RectorPrefix20220519\Symfony\Component\Config\Resource\SelfCheckingResourceInterface +class ReflectionClassResource implements \RectorPrefix20220520\Symfony\Component\Config\Resource\SelfCheckingResourceInterface { /** * @var mixed[] @@ -207,18 +207,18 @@ class ReflectionClassResource implements \RectorPrefix20220519\Symfony\Component if ($class->isAbstract() || $class->isInterface() || $class->isTrait()) { return; } - if (\interface_exists(\RectorPrefix20220519\Symfony\Component\EventDispatcher\EventSubscriberInterface::class, \false) && $class->isSubclassOf(\RectorPrefix20220519\Symfony\Component\EventDispatcher\EventSubscriberInterface::class)) { - (yield \RectorPrefix20220519\Symfony\Component\EventDispatcher\EventSubscriberInterface::class); + if (\interface_exists(\RectorPrefix20220520\Symfony\Component\EventDispatcher\EventSubscriberInterface::class, \false) && $class->isSubclassOf(\RectorPrefix20220520\Symfony\Component\EventDispatcher\EventSubscriberInterface::class)) { + (yield \RectorPrefix20220520\Symfony\Component\EventDispatcher\EventSubscriberInterface::class); (yield \print_r($class->name::getSubscribedEvents(), \true)); } - if (\interface_exists(\RectorPrefix20220519\Symfony\Component\Messenger\Handler\MessageSubscriberInterface::class, \false) && $class->isSubclassOf(\RectorPrefix20220519\Symfony\Component\Messenger\Handler\MessageSubscriberInterface::class)) { - (yield \RectorPrefix20220519\Symfony\Component\Messenger\Handler\MessageSubscriberInterface::class); + if (\interface_exists(\RectorPrefix20220520\Symfony\Component\Messenger\Handler\MessageSubscriberInterface::class, \false) && $class->isSubclassOf(\RectorPrefix20220520\Symfony\Component\Messenger\Handler\MessageSubscriberInterface::class)) { + (yield \RectorPrefix20220520\Symfony\Component\Messenger\Handler\MessageSubscriberInterface::class); foreach ($class->name::getHandledMessages() as $key => $value) { (yield $key . \print_r($value, \true)); } } - if (\interface_exists(\RectorPrefix20220519\Symfony\Contracts\Service\ServiceSubscriberInterface::class, \false) && $class->isSubclassOf(\RectorPrefix20220519\Symfony\Contracts\Service\ServiceSubscriberInterface::class)) { - (yield \RectorPrefix20220519\Symfony\Contracts\Service\ServiceSubscriberInterface::class); + if (\interface_exists(\RectorPrefix20220520\Symfony\Contracts\Service\ServiceSubscriberInterface::class, \false) && $class->isSubclassOf(\RectorPrefix20220520\Symfony\Contracts\Service\ServiceSubscriberInterface::class)) { + (yield \RectorPrefix20220520\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 831e7d6014c..5c8239fcf69 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 RectorPrefix20220519\Symfony\Component\Config\Resource; +namespace RectorPrefix20220520\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 85ec373d231..544adb7419b 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 RectorPrefix20220519\Symfony\Component\Config\Resource; +namespace RectorPrefix20220520\Symfony\Component\Config\Resource; -use RectorPrefix20220519\Symfony\Component\Config\ResourceCheckerInterface; +use RectorPrefix20220520\Symfony\Component\Config\ResourceCheckerInterface; /** * Resource checker for instances of SelfCheckingResourceInterface. * @@ -19,7 +19,7 @@ use RectorPrefix20220519\Symfony\Component\Config\ResourceCheckerInterface; * * @author Matthias Pigulla */ -class SelfCheckingResourceChecker implements \RectorPrefix20220519\Symfony\Component\Config\ResourceCheckerInterface +class SelfCheckingResourceChecker implements \RectorPrefix20220520\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 @@ -29,14 +29,14 @@ class SelfCheckingResourceChecker implements \RectorPrefix20220519\Symfony\Compo * @var mixed[] */ private static $cache = []; - public function supports(\RectorPrefix20220519\Symfony\Component\Config\Resource\ResourceInterface $metadata) : bool + public function supports(\RectorPrefix20220520\Symfony\Component\Config\Resource\ResourceInterface $metadata) : bool { - return $metadata instanceof \RectorPrefix20220519\Symfony\Component\Config\Resource\SelfCheckingResourceInterface; + return $metadata instanceof \RectorPrefix20220520\Symfony\Component\Config\Resource\SelfCheckingResourceInterface; } /** * @param SelfCheckingResourceInterface $resource */ - public function isFresh(\RectorPrefix20220519\Symfony\Component\Config\Resource\ResourceInterface $resource, int $timestamp) : bool + public function isFresh(\RectorPrefix20220520\Symfony\Component\Config\Resource\ResourceInterface $resource, int $timestamp) : bool { $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 9c88cb97098..3d27518f132 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 RectorPrefix20220519\Symfony\Component\Config\Resource; +namespace RectorPrefix20220520\Symfony\Component\Config\Resource; /** * Interface for Resources that can check for freshness autonomously, @@ -16,7 +16,7 @@ namespace RectorPrefix20220519\Symfony\Component\Config\Resource; * * @author Matthias Pigulla */ -interface SelfCheckingResourceInterface extends \RectorPrefix20220519\Symfony\Component\Config\Resource\ResourceInterface +interface SelfCheckingResourceInterface extends \RectorPrefix20220520\Symfony\Component\Config\Resource\ResourceInterface { /** * Returns true if the resource has not been updated since the given timestamp. diff --git a/vendor/symfony/config/ResourceCheckerConfigCache.php b/vendor/symfony/config/ResourceCheckerConfigCache.php index e88264b3747..36969bb1d84 100644 --- a/vendor/symfony/config/ResourceCheckerConfigCache.php +++ b/vendor/symfony/config/ResourceCheckerConfigCache.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 RectorPrefix20220519\Symfony\Component\Config; +namespace RectorPrefix20220520\Symfony\Component\Config; -use RectorPrefix20220519\Symfony\Component\Config\Resource\ResourceInterface; -use RectorPrefix20220519\Symfony\Component\Filesystem\Exception\IOException; -use RectorPrefix20220519\Symfony\Component\Filesystem\Filesystem; +use RectorPrefix20220520\Symfony\Component\Config\Resource\ResourceInterface; +use RectorPrefix20220520\Symfony\Component\Filesystem\Exception\IOException; +use RectorPrefix20220520\Symfony\Component\Filesystem\Filesystem; /** * ResourceCheckerConfigCache uses instances of ResourceCheckerInterface * to check whether cached data is still fresh. * * @author Matthias Pigulla */ -class ResourceCheckerConfigCache implements \RectorPrefix20220519\Symfony\Component\Config\ConfigCacheInterface +class ResourceCheckerConfigCache implements \RectorPrefix20220520\Symfony\Component\Config\ConfigCacheInterface { /** * @var string @@ -104,18 +104,18 @@ class ResourceCheckerConfigCache implements \RectorPrefix20220519\Symfony\Compon { $mode = 0666; $umask = \umask(); - $filesystem = new \RectorPrefix20220519\Symfony\Component\Filesystem\Filesystem(); + $filesystem = new \RectorPrefix20220520\Symfony\Component\Filesystem\Filesystem(); $filesystem->dumpFile($this->file, $content); try { $filesystem->chmod($this->file, $mode, $umask); - } catch (\RectorPrefix20220519\Symfony\Component\Filesystem\Exception\IOException $e) { + } catch (\RectorPrefix20220520\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 (\RectorPrefix20220519\Symfony\Component\Filesystem\Exception\IOException $e) { + } catch (\RectorPrefix20220520\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 f4d08cf4876..d19581b41fa 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 RectorPrefix20220519\Symfony\Component\Config; +namespace RectorPrefix20220520\Symfony\Component\Config; /** * A ConfigCacheFactory implementation that validates the @@ -16,7 +16,7 @@ namespace RectorPrefix20220519\Symfony\Component\Config; * * @author Matthias Pigulla */ -class ResourceCheckerConfigCacheFactory implements \RectorPrefix20220519\Symfony\Component\Config\ConfigCacheFactoryInterface +class ResourceCheckerConfigCacheFactory implements \RectorPrefix20220520\Symfony\Component\Config\ConfigCacheFactoryInterface { /** * @var mixed[] @@ -32,9 +32,9 @@ class ResourceCheckerConfigCacheFactory implements \RectorPrefix20220519\Symfony /** * {@inheritdoc} */ - public function cache(string $file, callable $callable) : \RectorPrefix20220519\Symfony\Component\Config\ConfigCacheInterface + public function cache(string $file, callable $callable) : \RectorPrefix20220520\Symfony\Component\Config\ConfigCacheInterface { - $cache = new \RectorPrefix20220519\Symfony\Component\Config\ResourceCheckerConfigCache($file, $this->resourceCheckers); + $cache = new \RectorPrefix20220520\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 aff0c858794..f34ad4a463b 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 RectorPrefix20220519\Symfony\Component\Config; +namespace RectorPrefix20220520\Symfony\Component\Config; -use RectorPrefix20220519\Symfony\Component\Config\Resource\ResourceInterface; +use RectorPrefix20220520\Symfony\Component\Config\Resource\ResourceInterface; /** * Interface for ResourceCheckers. * @@ -30,7 +30,7 @@ interface ResourceCheckerInterface * * @return bool */ - public function supports(\RectorPrefix20220519\Symfony\Component\Config\Resource\ResourceInterface $metadata); + public function supports(\RectorPrefix20220520\Symfony\Component\Config\Resource\ResourceInterface $metadata); /** * Validates the resource. * @@ -38,5 +38,5 @@ interface ResourceCheckerInterface * * @return bool */ - public function isFresh(\RectorPrefix20220519\Symfony\Component\Config\Resource\ResourceInterface $resource, int $timestamp); + public function isFresh(\RectorPrefix20220520\Symfony\Component\Config\Resource\ResourceInterface $resource, int $timestamp); } diff --git a/vendor/symfony/config/Util/Exception/InvalidXmlException.php b/vendor/symfony/config/Util/Exception/InvalidXmlException.php index 992d4036815..a5b49fbb1cf 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 RectorPrefix20220519\Symfony\Component\Config\Util\Exception; +namespace RectorPrefix20220520\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 RectorPrefix20220519\Symfony\Component\Config\Util\Exception; * * @author Ole Rößner */ -class InvalidXmlException extends \RectorPrefix20220519\Symfony\Component\Config\Util\Exception\XmlParsingException +class InvalidXmlException extends \RectorPrefix20220520\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 95c43aee1cf..ec5f2c9d2e0 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 RectorPrefix20220519\Symfony\Component\Config\Util\Exception; +namespace RectorPrefix20220520\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 8e377b114dd..00f47f93999 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 RectorPrefix20220519\Symfony\Component\Config\Util; +namespace RectorPrefix20220520\Symfony\Component\Config\Util; -use RectorPrefix20220519\Symfony\Component\Config\Util\Exception\InvalidXmlException; -use RectorPrefix20220519\Symfony\Component\Config\Util\Exception\XmlParsingException; +use RectorPrefix20220520\Symfony\Component\Config\Util\Exception\InvalidXmlException; +use RectorPrefix20220520\Symfony\Component\Config\Util\Exception\XmlParsingException; /** * XMLUtils is a bunch of utility methods to XML operations. * @@ -49,13 +49,13 @@ class XmlUtils $dom = new \DOMDocument(); $dom->validateOnParse = \true; if (!$dom->loadXML($content, \LIBXML_NONET | \LIBXML_COMPACT)) { - throw new \RectorPrefix20220519\Symfony\Component\Config\Util\Exception\XmlParsingException(\implode("\n", static::getXmlErrors($internalErrors))); + throw new \RectorPrefix20220520\Symfony\Component\Config\Util\Exception\XmlParsingException(\implode("\n", static::getXmlErrors($internalErrors))); } $dom->normalizeDocument(); \libxml_use_internal_errors($internalErrors); foreach ($dom->childNodes as $child) { if (\XML_DOCUMENT_TYPE_NODE === $child->nodeType) { - throw new \RectorPrefix20220519\Symfony\Component\Config\Util\Exception\XmlParsingException('Document types are not allowed.'); + throw new \RectorPrefix20220520\Symfony\Component\Config\Util\Exception\XmlParsingException('Document types are not allowed.'); } } if (null !== $schemaOrCallable) { @@ -73,14 +73,14 @@ class XmlUtils $valid = @$dom->schemaValidateSource($schemaSource); } else { \libxml_use_internal_errors($internalErrors); - throw new \RectorPrefix20220519\Symfony\Component\Config\Util\Exception\XmlParsingException(\sprintf('Invalid XSD file: "%s".', $schemaOrCallable)); + throw new \RectorPrefix20220520\Symfony\Component\Config\Util\Exception\XmlParsingException(\sprintf('Invalid XSD file: "%s".', $schemaOrCallable)); } if (!$valid) { $messages = static::getXmlErrors($internalErrors); if (empty($messages)) { - throw new \RectorPrefix20220519\Symfony\Component\Config\Util\Exception\InvalidXmlException('The XML is not valid.', 0, $e); + throw new \RectorPrefix20220520\Symfony\Component\Config\Util\Exception\InvalidXmlException('The XML is not valid.', 0, $e); } - throw new \RectorPrefix20220519\Symfony\Component\Config\Util\Exception\XmlParsingException(\implode("\n", $messages), 0, $e); + throw new \RectorPrefix20220520\Symfony\Component\Config\Util\Exception\XmlParsingException(\implode("\n", $messages), 0, $e); } } \libxml_clear_errors(); @@ -111,8 +111,8 @@ class XmlUtils } try { return static::parse($content, $schemaOrCallable); - } catch (\RectorPrefix20220519\Symfony\Component\Config\Util\Exception\InvalidXmlException $e) { - throw new \RectorPrefix20220519\Symfony\Component\Config\Util\Exception\XmlParsingException(\sprintf('The XML file "%s" is not valid.', $file), 0, $e->getPrevious()); + } catch (\RectorPrefix20220520\Symfony\Component\Config\Util\Exception\InvalidXmlException $e) { + throw new \RectorPrefix20220520\Symfony\Component\Config\Util\Exception\XmlParsingException(\sprintf('The XML file "%s" is not valid.', $file), 0, $e->getPrevious()); } } /** diff --git a/vendor/symfony/config/composer.json b/vendor/symfony/config/composer.json index 654a53f45e9..694b37ecbc2 100644 --- a/vendor/symfony/config/composer.json +++ b/vendor/symfony/config/composer.json @@ -37,7 +37,7 @@ }, "autoload": { "psr-4": { - "RectorPrefix20220519\\Symfony\\Component\\Config\\": "" + "RectorPrefix20220520\\Symfony\\Component\\Config\\": "" }, "exclude-from-classmap": [ "\/Tests\/" diff --git a/vendor/symfony/console/Application.php b/vendor/symfony/console/Application.php index f3e39d3e857..dfcb0218327 100644 --- a/vendor/symfony/console/Application.php +++ b/vendor/symfony/console/Application.php @@ -8,49 +8,49 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20220519\Symfony\Component\Console; +namespace RectorPrefix20220520\Symfony\Component\Console; -use RectorPrefix20220519\Symfony\Component\Console\Command\Command; -use RectorPrefix20220519\Symfony\Component\Console\Command\CompleteCommand; -use RectorPrefix20220519\Symfony\Component\Console\Command\DumpCompletionCommand; -use RectorPrefix20220519\Symfony\Component\Console\Command\HelpCommand; -use RectorPrefix20220519\Symfony\Component\Console\Command\LazyCommand; -use RectorPrefix20220519\Symfony\Component\Console\Command\ListCommand; -use RectorPrefix20220519\Symfony\Component\Console\Command\SignalableCommandInterface; -use RectorPrefix20220519\Symfony\Component\Console\CommandLoader\CommandLoaderInterface; -use RectorPrefix20220519\Symfony\Component\Console\Completion\CompletionInput; -use RectorPrefix20220519\Symfony\Component\Console\Completion\CompletionSuggestions; -use RectorPrefix20220519\Symfony\Component\Console\Event\ConsoleCommandEvent; -use RectorPrefix20220519\Symfony\Component\Console\Event\ConsoleErrorEvent; -use RectorPrefix20220519\Symfony\Component\Console\Event\ConsoleSignalEvent; -use RectorPrefix20220519\Symfony\Component\Console\Event\ConsoleTerminateEvent; -use RectorPrefix20220519\Symfony\Component\Console\Exception\CommandNotFoundException; -use RectorPrefix20220519\Symfony\Component\Console\Exception\ExceptionInterface; -use RectorPrefix20220519\Symfony\Component\Console\Exception\LogicException; -use RectorPrefix20220519\Symfony\Component\Console\Exception\NamespaceNotFoundException; -use RectorPrefix20220519\Symfony\Component\Console\Exception\RuntimeException; -use RectorPrefix20220519\Symfony\Component\Console\Formatter\OutputFormatter; -use RectorPrefix20220519\Symfony\Component\Console\Helper\DebugFormatterHelper; -use RectorPrefix20220519\Symfony\Component\Console\Helper\FormatterHelper; -use RectorPrefix20220519\Symfony\Component\Console\Helper\Helper; -use RectorPrefix20220519\Symfony\Component\Console\Helper\HelperSet; -use RectorPrefix20220519\Symfony\Component\Console\Helper\ProcessHelper; -use RectorPrefix20220519\Symfony\Component\Console\Helper\QuestionHelper; -use RectorPrefix20220519\Symfony\Component\Console\Input\ArgvInput; -use RectorPrefix20220519\Symfony\Component\Console\Input\ArrayInput; -use RectorPrefix20220519\Symfony\Component\Console\Input\InputArgument; -use RectorPrefix20220519\Symfony\Component\Console\Input\InputAwareInterface; -use RectorPrefix20220519\Symfony\Component\Console\Input\InputDefinition; -use RectorPrefix20220519\Symfony\Component\Console\Input\InputInterface; -use RectorPrefix20220519\Symfony\Component\Console\Input\InputOption; -use RectorPrefix20220519\Symfony\Component\Console\Output\ConsoleOutput; -use RectorPrefix20220519\Symfony\Component\Console\Output\ConsoleOutputInterface; -use RectorPrefix20220519\Symfony\Component\Console\Output\OutputInterface; -use RectorPrefix20220519\Symfony\Component\Console\SignalRegistry\SignalRegistry; -use RectorPrefix20220519\Symfony\Component\Console\Style\SymfonyStyle; -use RectorPrefix20220519\Symfony\Component\ErrorHandler\ErrorHandler; -use RectorPrefix20220519\Symfony\Contracts\EventDispatcher\EventDispatcherInterface; -use RectorPrefix20220519\Symfony\Contracts\Service\ResetInterface; +use RectorPrefix20220520\Symfony\Component\Console\Command\Command; +use RectorPrefix20220520\Symfony\Component\Console\Command\CompleteCommand; +use RectorPrefix20220520\Symfony\Component\Console\Command\DumpCompletionCommand; +use RectorPrefix20220520\Symfony\Component\Console\Command\HelpCommand; +use RectorPrefix20220520\Symfony\Component\Console\Command\LazyCommand; +use RectorPrefix20220520\Symfony\Component\Console\Command\ListCommand; +use RectorPrefix20220520\Symfony\Component\Console\Command\SignalableCommandInterface; +use RectorPrefix20220520\Symfony\Component\Console\CommandLoader\CommandLoaderInterface; +use RectorPrefix20220520\Symfony\Component\Console\Completion\CompletionInput; +use RectorPrefix20220520\Symfony\Component\Console\Completion\CompletionSuggestions; +use RectorPrefix20220520\Symfony\Component\Console\Event\ConsoleCommandEvent; +use RectorPrefix20220520\Symfony\Component\Console\Event\ConsoleErrorEvent; +use RectorPrefix20220520\Symfony\Component\Console\Event\ConsoleSignalEvent; +use RectorPrefix20220520\Symfony\Component\Console\Event\ConsoleTerminateEvent; +use RectorPrefix20220520\Symfony\Component\Console\Exception\CommandNotFoundException; +use RectorPrefix20220520\Symfony\Component\Console\Exception\ExceptionInterface; +use RectorPrefix20220520\Symfony\Component\Console\Exception\LogicException; +use RectorPrefix20220520\Symfony\Component\Console\Exception\NamespaceNotFoundException; +use RectorPrefix20220520\Symfony\Component\Console\Exception\RuntimeException; +use RectorPrefix20220520\Symfony\Component\Console\Formatter\OutputFormatter; +use RectorPrefix20220520\Symfony\Component\Console\Helper\DebugFormatterHelper; +use RectorPrefix20220520\Symfony\Component\Console\Helper\FormatterHelper; +use RectorPrefix20220520\Symfony\Component\Console\Helper\Helper; +use RectorPrefix20220520\Symfony\Component\Console\Helper\HelperSet; +use RectorPrefix20220520\Symfony\Component\Console\Helper\ProcessHelper; +use RectorPrefix20220520\Symfony\Component\Console\Helper\QuestionHelper; +use RectorPrefix20220520\Symfony\Component\Console\Input\ArgvInput; +use RectorPrefix20220520\Symfony\Component\Console\Input\ArrayInput; +use RectorPrefix20220520\Symfony\Component\Console\Input\InputArgument; +use RectorPrefix20220520\Symfony\Component\Console\Input\InputAwareInterface; +use RectorPrefix20220520\Symfony\Component\Console\Input\InputDefinition; +use RectorPrefix20220520\Symfony\Component\Console\Input\InputInterface; +use RectorPrefix20220520\Symfony\Component\Console\Input\InputOption; +use RectorPrefix20220520\Symfony\Component\Console\Output\ConsoleOutput; +use RectorPrefix20220520\Symfony\Component\Console\Output\ConsoleOutputInterface; +use RectorPrefix20220520\Symfony\Component\Console\Output\OutputInterface; +use RectorPrefix20220520\Symfony\Component\Console\SignalRegistry\SignalRegistry; +use RectorPrefix20220520\Symfony\Component\Console\Style\SymfonyStyle; +use RectorPrefix20220520\Symfony\Component\ErrorHandler\ErrorHandler; +use RectorPrefix20220520\Symfony\Contracts\EventDispatcher\EventDispatcherInterface; +use RectorPrefix20220520\Symfony\Contracts\Service\ResetInterface; /** * An Application is the container for a collection of commands. * @@ -66,7 +66,7 @@ use RectorPrefix20220519\Symfony\Contracts\Service\ResetInterface; * * @author Fabien Potencier */ -class Application implements \RectorPrefix20220519\Symfony\Contracts\Service\ResetInterface +class Application implements \RectorPrefix20220520\Symfony\Contracts\Service\ResetInterface { /** * @var mixed[] @@ -119,28 +119,28 @@ class Application implements \RectorPrefix20220519\Symfony\Contracts\Service\Res { $this->name = $name; $this->version = $version; - $this->terminal = new \RectorPrefix20220519\Symfony\Component\Console\Terminal(); + $this->terminal = new \RectorPrefix20220520\Symfony\Component\Console\Terminal(); $this->defaultCommand = 'list'; - if (\defined('SIGINT') && \RectorPrefix20220519\Symfony\Component\Console\SignalRegistry\SignalRegistry::isSupported()) { - $this->signalRegistry = new \RectorPrefix20220519\Symfony\Component\Console\SignalRegistry\SignalRegistry(); + if (\defined('SIGINT') && \RectorPrefix20220520\Symfony\Component\Console\SignalRegistry\SignalRegistry::isSupported()) { + $this->signalRegistry = new \RectorPrefix20220520\Symfony\Component\Console\SignalRegistry\SignalRegistry(); $this->signalsToDispatchEvent = [\SIGINT, \SIGTERM, \SIGUSR1, \SIGUSR2]; } } /** * @final */ - public function setDispatcher(\RectorPrefix20220519\Symfony\Contracts\EventDispatcher\EventDispatcherInterface $dispatcher) + public function setDispatcher(\RectorPrefix20220520\Symfony\Contracts\EventDispatcher\EventDispatcherInterface $dispatcher) { $this->dispatcher = $dispatcher; } - public function setCommandLoader(\RectorPrefix20220519\Symfony\Component\Console\CommandLoader\CommandLoaderInterface $commandLoader) + public function setCommandLoader(\RectorPrefix20220520\Symfony\Component\Console\CommandLoader\CommandLoaderInterface $commandLoader) { $this->commandLoader = $commandLoader; } - public function getSignalRegistry() : \RectorPrefix20220519\Symfony\Component\Console\SignalRegistry\SignalRegistry + public function getSignalRegistry() : \RectorPrefix20220520\Symfony\Component\Console\SignalRegistry\SignalRegistry { if (!$this->signalRegistry) { - throw new \RectorPrefix20220519\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 \RectorPrefix20220520\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; } @@ -155,20 +155,20 @@ class Application implements \RectorPrefix20220519\Symfony\Contracts\Service\Res * * @throws \Exception When running fails. Bypass this when {@link setCatchExceptions()}. */ - public function run(\RectorPrefix20220519\Symfony\Component\Console\Input\InputInterface $input = null, \RectorPrefix20220519\Symfony\Component\Console\Output\OutputInterface $output = null) : int + public function run(\RectorPrefix20220520\Symfony\Component\Console\Input\InputInterface $input = null, \RectorPrefix20220520\Symfony\Component\Console\Output\OutputInterface $output = null) : int { if (\function_exists('putenv')) { @\putenv('LINES=' . $this->terminal->getHeight()); @\putenv('COLUMNS=' . $this->terminal->getWidth()); } if (null === $input) { - $input = new \RectorPrefix20220519\Symfony\Component\Console\Input\ArgvInput(); + $input = new \RectorPrefix20220520\Symfony\Component\Console\Input\ArgvInput(); } if (null === $output) { - $output = new \RectorPrefix20220519\Symfony\Component\Console\Output\ConsoleOutput(); + $output = new \RectorPrefix20220520\Symfony\Component\Console\Output\ConsoleOutput(); } $renderException = function (\Throwable $e) use($output) { - if ($output instanceof \RectorPrefix20220519\Symfony\Component\Console\Output\ConsoleOutputInterface) { + if ($output instanceof \RectorPrefix20220520\Symfony\Component\Console\Output\ConsoleOutputInterface) { $this->renderThrowable($e, $output->getErrorOutput()); } else { $this->renderThrowable($e, $output); @@ -176,7 +176,7 @@ class Application implements \RectorPrefix20220519\Symfony\Contracts\Service\Res }; if ($phpHandler = \set_exception_handler($renderException)) { \restore_exception_handler(); - if (!\is_array($phpHandler) || !$phpHandler[0] instanceof \RectorPrefix20220519\Symfony\Component\ErrorHandler\ErrorHandler) { + if (!\is_array($phpHandler) || !$phpHandler[0] instanceof \RectorPrefix20220520\Symfony\Component\ErrorHandler\ErrorHandler) { $errorHandler = \true; } elseif ($errorHandler = $phpHandler[0]->setExceptionHandler($renderException)) { $phpHandler[0]->setExceptionHandler($errorHandler); @@ -227,7 +227,7 @@ class Application implements \RectorPrefix20220519\Symfony\Contracts\Service\Res * * @return int 0 if everything went fine, or an error code */ - public function doRun(\RectorPrefix20220519\Symfony\Component\Console\Input\InputInterface $input, \RectorPrefix20220519\Symfony\Component\Console\Output\OutputInterface $output) + public function doRun(\RectorPrefix20220520\Symfony\Component\Console\Input\InputInterface $input, \RectorPrefix20220520\Symfony\Component\Console\Output\OutputInterface $output) { if (\true === $input->hasParameterOption(['--version', '-V'], \true)) { $output->writeln($this->getLongVersion()); @@ -236,14 +236,14 @@ class Application implements \RectorPrefix20220519\Symfony\Contracts\Service\Res try { // Makes ArgvInput::getFirstArgument() able to distinguish an option from an argument. $input->bind($this->getDefinition()); - } catch (\RectorPrefix20220519\Symfony\Component\Console\Exception\ExceptionInterface $e) { + } catch (\RectorPrefix20220520\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 \RectorPrefix20220519\Symfony\Component\Console\Input\ArrayInput(['command_name' => $this->defaultCommand]); + $input = new \RectorPrefix20220520\Symfony\Component\Console\Input\ArrayInput(['command_name' => $this->defaultCommand]); } else { $this->wantHelps = \true; } @@ -251,17 +251,17 @@ class Application implements \RectorPrefix20220519\Symfony\Contracts\Service\Res if (!$name) { $name = $this->defaultCommand; $definition = $this->getDefinition(); - $definition->setArguments(\array_merge($definition->getArguments(), ['command' => new \RectorPrefix20220519\Symfony\Component\Console\Input\InputArgument('command', \RectorPrefix20220519\Symfony\Component\Console\Input\InputArgument::OPTIONAL, $definition->getArgument('command')->getDescription(), $name)])); + $definition->setArguments(\array_merge($definition->getArguments(), ['command' => new \RectorPrefix20220520\Symfony\Component\Console\Input\InputArgument('command', \RectorPrefix20220520\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 \RectorPrefix20220519\Symfony\Component\Console\Exception\CommandNotFoundException && !$e instanceof \RectorPrefix20220519\Symfony\Component\Console\Exception\NamespaceNotFoundException) || 1 !== \count($alternatives = $e->getAlternatives()) || !$input->isInteractive()) { + if (!($e instanceof \RectorPrefix20220520\Symfony\Component\Console\Exception\CommandNotFoundException && !$e instanceof \RectorPrefix20220520\Symfony\Component\Console\Exception\NamespaceNotFoundException) || 1 !== \count($alternatives = $e->getAlternatives()) || !$input->isInteractive()) { if (null !== $this->dispatcher) { - $event = new \RectorPrefix20220519\Symfony\Component\Console\Event\ConsoleErrorEvent($input, $output, $e); - $this->dispatcher->dispatch($event, \RectorPrefix20220519\Symfony\Component\Console\ConsoleEvents::ERROR); + $event = new \RectorPrefix20220520\Symfony\Component\Console\Event\ConsoleErrorEvent($input, $output, $e); + $this->dispatcher->dispatch($event, \RectorPrefix20220520\Symfony\Component\Console\ConsoleEvents::ERROR); if (0 === $event->getExitCode()) { return 0; } @@ -270,19 +270,19 @@ class Application implements \RectorPrefix20220519\Symfony\Contracts\Service\Res throw $e; } $alternative = $alternatives[0]; - $style = new \RectorPrefix20220519\Symfony\Component\Console\Style\SymfonyStyle($input, $output); + $style = new \RectorPrefix20220520\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 \RectorPrefix20220519\Symfony\Component\Console\Event\ConsoleErrorEvent($input, $output, $e); - $this->dispatcher->dispatch($event, \RectorPrefix20220519\Symfony\Component\Console\ConsoleEvents::ERROR); + $event = new \RectorPrefix20220520\Symfony\Component\Console\Event\ConsoleErrorEvent($input, $output, $e); + $this->dispatcher->dispatch($event, \RectorPrefix20220520\Symfony\Component\Console\ConsoleEvents::ERROR); return $event->getExitCode(); } return 1; } $command = $this->find($alternative); } - if ($command instanceof \RectorPrefix20220519\Symfony\Component\Console\Command\LazyCommand) { + if ($command instanceof \RectorPrefix20220520\Symfony\Component\Console\Command\LazyCommand) { $command = $command->getCommand(); } $this->runningCommand = $command; @@ -296,25 +296,25 @@ class Application implements \RectorPrefix20220519\Symfony\Contracts\Service\Res public function reset() { } - public function setHelperSet(\RectorPrefix20220519\Symfony\Component\Console\Helper\HelperSet $helperSet) + public function setHelperSet(\RectorPrefix20220520\Symfony\Component\Console\Helper\HelperSet $helperSet) { $this->helperSet = $helperSet; } /** * Get the helper set associated with the command. */ - public function getHelperSet() : \RectorPrefix20220519\Symfony\Component\Console\Helper\HelperSet + public function getHelperSet() : \RectorPrefix20220520\Symfony\Component\Console\Helper\HelperSet { return $this->helperSet = $this->helperSet ?? $this->getDefaultHelperSet(); } - public function setDefinition(\RectorPrefix20220519\Symfony\Component\Console\Input\InputDefinition $definition) + public function setDefinition(\RectorPrefix20220520\Symfony\Component\Console\Input\InputDefinition $definition) { $this->definition = $definition; } /** * Gets the InputDefinition related to this Application. */ - public function getDefinition() : \RectorPrefix20220519\Symfony\Component\Console\Input\InputDefinition + public function getDefinition() : \RectorPrefix20220520\Symfony\Component\Console\Input\InputDefinition { $this->definition = $this->definition ?? $this->getDefaultInputDefinition(); if ($this->singleCommand) { @@ -327,15 +327,15 @@ class Application implements \RectorPrefix20220519\Symfony\Contracts\Service\Res /** * Adds suggestions to $suggestions for the current completion input (e.g. option or argument). */ - public function complete(\RectorPrefix20220519\Symfony\Component\Console\Completion\CompletionInput $input, \RectorPrefix20220519\Symfony\Component\Console\Completion\CompletionSuggestions $suggestions) : void + public function complete(\RectorPrefix20220520\Symfony\Component\Console\Completion\CompletionInput $input, \RectorPrefix20220520\Symfony\Component\Console\Completion\CompletionSuggestions $suggestions) : void { - if (\RectorPrefix20220519\Symfony\Component\Console\Completion\CompletionInput::TYPE_ARGUMENT_VALUE === $input->getCompletionType() && 'command' === $input->getCompletionName()) { - $suggestions->suggestValues(\array_filter(\array_map(function (\RectorPrefix20220519\Symfony\Component\Console\Command\Command $command) { + if (\RectorPrefix20220520\Symfony\Component\Console\Completion\CompletionInput::TYPE_ARGUMENT_VALUE === $input->getCompletionType() && 'command' === $input->getCompletionName()) { + $suggestions->suggestValues(\array_filter(\array_map(function (\RectorPrefix20220520\Symfony\Component\Console\Command\Command $command) { return $command->isHidden() ? null : $command->getName(); }, $this->all()))); return; } - if (\RectorPrefix20220519\Symfony\Component\Console\Completion\CompletionInput::TYPE_OPTION_NAME === $input->getCompletionType()) { + if (\RectorPrefix20220520\Symfony\Component\Console\Completion\CompletionInput::TYPE_OPTION_NAME === $input->getCompletionType()) { $suggestions->suggestOptions($this->getDefinition()->getOptions()); return; } @@ -421,9 +421,9 @@ class Application implements \RectorPrefix20220519\Symfony\Contracts\Service\Res /** * Registers a new command. */ - public function register(string $name) : \RectorPrefix20220519\Symfony\Component\Console\Command\Command + public function register(string $name) : \RectorPrefix20220520\Symfony\Component\Console\Command\Command { - return $this->add(new \RectorPrefix20220519\Symfony\Component\Console\Command\Command($name)); + return $this->add(new \RectorPrefix20220520\Symfony\Component\Console\Command\Command($name)); } /** * Adds an array of command objects. @@ -446,7 +446,7 @@ class Application implements \RectorPrefix20220519\Symfony\Contracts\Service\Res * * @return Command|null */ - public function add(\RectorPrefix20220519\Symfony\Component\Console\Command\Command $command) + public function add(\RectorPrefix20220520\Symfony\Component\Console\Command\Command $command) { $this->init(); $command->setApplication($this); @@ -454,12 +454,12 @@ class Application implements \RectorPrefix20220519\Symfony\Contracts\Service\Res $command->setApplication(null); return null; } - if (!$command instanceof \RectorPrefix20220519\Symfony\Component\Console\Command\LazyCommand) { + if (!$command instanceof \RectorPrefix20220520\Symfony\Component\Console\Command\LazyCommand) { // Will throw if the command is not correctly initialized. $command->getDefinition(); } if (!$command->getName()) { - throw new \RectorPrefix20220519\Symfony\Component\Console\Exception\LogicException(\sprintf('The command defined in "%s" cannot have an empty name.', \get_debug_type($command))); + throw new \RectorPrefix20220520\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) { @@ -478,11 +478,11 @@ class Application implements \RectorPrefix20220519\Symfony\Contracts\Service\Res { $this->init(); if (!$this->has($name)) { - throw new \RectorPrefix20220519\Symfony\Component\Console\Exception\CommandNotFoundException(\sprintf('The command "%s" does not exist.', $name)); + throw new \RectorPrefix20220520\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 \RectorPrefix20220519\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 \RectorPrefix20220520\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) { @@ -542,11 +542,11 @@ class Application implements \RectorPrefix20220519\Symfony\Contracts\Service\Res } $message .= \implode("\n ", $alternatives); } - throw new \RectorPrefix20220519\Symfony\Component\Console\Exception\NamespaceNotFoundException($message, $alternatives); + throw new \RectorPrefix20220520\Symfony\Component\Console\Exception\NamespaceNotFoundException($message, $alternatives); } $exact = \in_array($namespace, $namespaces, \true); if (\count($namespaces) > 1 && !$exact) { - throw new \RectorPrefix20220519\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 \RectorPrefix20220520\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); } @@ -599,13 +599,13 @@ class Application implements \RectorPrefix20220519\Symfony\Contracts\Service\Res } $message .= \implode("\n ", $alternatives); } - throw new \RectorPrefix20220519\Symfony\Component\Console\Exception\CommandNotFoundException($message, \array_values($alternatives)); + throw new \RectorPrefix20220520\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 \RectorPrefix20220519\Symfony\Component\Console\Command\Command) { + if (!$commandList[$nameOrAlias] instanceof \RectorPrefix20220520\Symfony\Component\Console\Command\Command) { $commandList[$nameOrAlias] = $this->commandLoader->get($nameOrAlias); } $commandName = $commandList[$nameOrAlias]->getName(); @@ -618,7 +618,7 @@ class Application implements \RectorPrefix20220519\Symfony\Contracts\Service\Res $abbrevs = \array_values($commands); $maxLen = 0; foreach ($abbrevs as $abbrev) { - $maxLen = \max(\RectorPrefix20220519\Symfony\Component\Console\Helper\Helper::width($abbrev), $maxLen); + $maxLen = \max(\RectorPrefix20220520\Symfony\Component\Console\Helper\Helper::width($abbrev), $maxLen); } $abbrevs = \array_map(function ($cmd) use($commandList, $usableWidth, $maxLen, &$commands) { if ($commandList[$cmd]->isHidden()) { @@ -626,16 +626,16 @@ class Application implements \RectorPrefix20220519\Symfony\Contracts\Service\Res return \false; } $abbrev = \str_pad($cmd, $maxLen, ' ') . ' ' . $commandList[$cmd]->getDescription(); - return \RectorPrefix20220519\Symfony\Component\Console\Helper\Helper::width($abbrev) > $usableWidth ? \RectorPrefix20220519\Symfony\Component\Console\Helper\Helper::substr($abbrev, 0, $usableWidth - 3) . '...' : $abbrev; + return \RectorPrefix20220520\Symfony\Component\Console\Helper\Helper::width($abbrev) > $usableWidth ? \RectorPrefix20220520\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 \RectorPrefix20220519\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 \RectorPrefix20220520\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 \RectorPrefix20220519\Symfony\Component\Console\Exception\CommandNotFoundException(\sprintf('The command "%s" does not exist.', $name)); + throw new \RectorPrefix20220520\Symfony\Component\Console\Exception\CommandNotFoundException(\sprintf('The command "%s" does not exist.', $name)); } return $command; } @@ -692,23 +692,23 @@ class Application implements \RectorPrefix20220519\Symfony\Contracts\Service\Res } return $abbrevs; } - public function renderThrowable(\Throwable $e, \RectorPrefix20220519\Symfony\Component\Console\Output\OutputInterface $output) : void + public function renderThrowable(\Throwable $e, \RectorPrefix20220520\Symfony\Component\Console\Output\OutputInterface $output) : void { - $output->writeln('', \RectorPrefix20220519\Symfony\Component\Console\Output\OutputInterface::VERBOSITY_QUIET); + $output->writeln('', \RectorPrefix20220520\Symfony\Component\Console\Output\OutputInterface::VERBOSITY_QUIET); $this->doRenderThrowable($e, $output); if (null !== $this->runningCommand) { - $output->writeln(\sprintf('%s', \RectorPrefix20220519\Symfony\Component\Console\Formatter\OutputFormatter::escape(\sprintf($this->runningCommand->getSynopsis(), $this->getName()))), \RectorPrefix20220519\Symfony\Component\Console\Output\OutputInterface::VERBOSITY_QUIET); - $output->writeln('', \RectorPrefix20220519\Symfony\Component\Console\Output\OutputInterface::VERBOSITY_QUIET); + $output->writeln(\sprintf('%s', \RectorPrefix20220520\Symfony\Component\Console\Formatter\OutputFormatter::escape(\sprintf($this->runningCommand->getSynopsis(), $this->getName()))), \RectorPrefix20220520\Symfony\Component\Console\Output\OutputInterface::VERBOSITY_QUIET); + $output->writeln('', \RectorPrefix20220520\Symfony\Component\Console\Output\OutputInterface::VERBOSITY_QUIET); } } - protected function doRenderThrowable(\Throwable $e, \RectorPrefix20220519\Symfony\Component\Console\Output\OutputInterface $output) : void + protected function doRenderThrowable(\Throwable $e, \RectorPrefix20220520\Symfony\Component\Console\Output\OutputInterface $output) : void { do { $message = \trim($e->getMessage()); - if ('' === $message || \RectorPrefix20220519\Symfony\Component\Console\Output\OutputInterface::VERBOSITY_VERBOSE <= $output->getVerbosity()) { + if ('' === $message || \RectorPrefix20220520\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 = \RectorPrefix20220519\Symfony\Component\Console\Helper\Helper::width($title); + $len = \RectorPrefix20220520\Symfony\Component\Console\Helper\Helper::width($title); } else { $len = 0; } @@ -722,27 +722,27 @@ class Application implements \RectorPrefix20220519\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 = \RectorPrefix20220519\Symfony\Component\Console\Helper\Helper::width($line) + 4; + $lineLength = \RectorPrefix20220520\Symfony\Component\Console\Helper\Helper::width($line) + 4; $lines[] = [$line, $lineLength]; $len = \max($lineLength, $len); } } $messages = []; - if (!$e instanceof \RectorPrefix20220519\Symfony\Component\Console\Exception\ExceptionInterface || \RectorPrefix20220519\Symfony\Component\Console\Output\OutputInterface::VERBOSITY_VERBOSE <= $output->getVerbosity()) { - $messages[] = \sprintf('%s', \RectorPrefix20220519\Symfony\Component\Console\Formatter\OutputFormatter::escape(\sprintf('In %s line %s:', \basename($e->getFile()) ?: 'n/a', $e->getLine() ?: 'n/a'))); + if (!$e instanceof \RectorPrefix20220520\Symfony\Component\Console\Exception\ExceptionInterface || \RectorPrefix20220520\Symfony\Component\Console\Output\OutputInterface::VERBOSITY_VERBOSE <= $output->getVerbosity()) { + $messages[] = \sprintf('%s', \RectorPrefix20220520\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 || \RectorPrefix20220519\Symfony\Component\Console\Output\OutputInterface::VERBOSITY_VERBOSE <= $output->getVerbosity()) { - $messages[] = \sprintf('%s%s', $title, \str_repeat(' ', \max(0, $len - \RectorPrefix20220519\Symfony\Component\Console\Helper\Helper::width($title)))); + if ('' === $message || \RectorPrefix20220520\Symfony\Component\Console\Output\OutputInterface::VERBOSITY_VERBOSE <= $output->getVerbosity()) { + $messages[] = \sprintf('%s%s', $title, \str_repeat(' ', \max(0, $len - \RectorPrefix20220520\Symfony\Component\Console\Helper\Helper::width($title)))); } foreach ($lines as $line) { - $messages[] = \sprintf(' %s %s', \RectorPrefix20220519\Symfony\Component\Console\Formatter\OutputFormatter::escape($line[0]), \str_repeat(' ', $len - $line[1])); + $messages[] = \sprintf(' %s %s', \RectorPrefix20220520\Symfony\Component\Console\Formatter\OutputFormatter::escape($line[0]), \str_repeat(' ', $len - $line[1])); } $messages[] = $emptyLine; $messages[] = ''; - $output->writeln($messages, \RectorPrefix20220519\Symfony\Component\Console\Output\OutputInterface::VERBOSITY_QUIET); - if (\RectorPrefix20220519\Symfony\Component\Console\Output\OutputInterface::VERBOSITY_VERBOSE <= $output->getVerbosity()) { - $output->writeln('Exception trace:', \RectorPrefix20220519\Symfony\Component\Console\Output\OutputInterface::VERBOSITY_QUIET); + $output->writeln($messages, \RectorPrefix20220520\Symfony\Component\Console\Output\OutputInterface::VERBOSITY_QUIET); + if (\RectorPrefix20220520\Symfony\Component\Console\Output\OutputInterface::VERBOSITY_VERBOSE <= $output->getVerbosity()) { + $output->writeln('Exception trace:', \RectorPrefix20220520\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' => []]); @@ -752,16 +752,16 @@ class Application implements \RectorPrefix20220519\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), \RectorPrefix20220519\Symfony\Component\Console\Output\OutputInterface::VERBOSITY_QUIET); + $output->writeln(\sprintf(' %s%s at %s:%s', $class, $function ? $type . $function . '()' : '', $file, $line), \RectorPrefix20220520\Symfony\Component\Console\Output\OutputInterface::VERBOSITY_QUIET); } - $output->writeln('', \RectorPrefix20220519\Symfony\Component\Console\Output\OutputInterface::VERBOSITY_QUIET); + $output->writeln('', \RectorPrefix20220520\Symfony\Component\Console\Output\OutputInterface::VERBOSITY_QUIET); } } while ($e = $e->getPrevious()); } /** * Configures the input and output instances based on the user arguments and options. */ - protected function configureIO(\RectorPrefix20220519\Symfony\Component\Console\Input\InputInterface $input, \RectorPrefix20220519\Symfony\Component\Console\Output\OutputInterface $output) + protected function configureIO(\RectorPrefix20220520\Symfony\Component\Console\Input\InputInterface $input, \RectorPrefix20220520\Symfony\Component\Console\Output\OutputInterface $output) { if (\true === $input->hasParameterOption(['--ansi'], \true)) { $output->setDecorated(\true); @@ -773,33 +773,33 @@ class Application implements \RectorPrefix20220519\Symfony\Contracts\Service\Res } switch ($shellVerbosity = (int) \getenv('SHELL_VERBOSITY')) { case -1: - $output->setVerbosity(\RectorPrefix20220519\Symfony\Component\Console\Output\OutputInterface::VERBOSITY_QUIET); + $output->setVerbosity(\RectorPrefix20220520\Symfony\Component\Console\Output\OutputInterface::VERBOSITY_QUIET); break; case 1: - $output->setVerbosity(\RectorPrefix20220519\Symfony\Component\Console\Output\OutputInterface::VERBOSITY_VERBOSE); + $output->setVerbosity(\RectorPrefix20220520\Symfony\Component\Console\Output\OutputInterface::VERBOSITY_VERBOSE); break; case 2: - $output->setVerbosity(\RectorPrefix20220519\Symfony\Component\Console\Output\OutputInterface::VERBOSITY_VERY_VERBOSE); + $output->setVerbosity(\RectorPrefix20220520\Symfony\Component\Console\Output\OutputInterface::VERBOSITY_VERY_VERBOSE); break; case 3: - $output->setVerbosity(\RectorPrefix20220519\Symfony\Component\Console\Output\OutputInterface::VERBOSITY_DEBUG); + $output->setVerbosity(\RectorPrefix20220520\Symfony\Component\Console\Output\OutputInterface::VERBOSITY_DEBUG); break; default: $shellVerbosity = 0; break; } if (\true === $input->hasParameterOption(['--quiet', '-q'], \true)) { - $output->setVerbosity(\RectorPrefix20220519\Symfony\Component\Console\Output\OutputInterface::VERBOSITY_QUIET); + $output->setVerbosity(\RectorPrefix20220520\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(\RectorPrefix20220519\Symfony\Component\Console\Output\OutputInterface::VERBOSITY_DEBUG); + $output->setVerbosity(\RectorPrefix20220520\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(\RectorPrefix20220519\Symfony\Component\Console\Output\OutputInterface::VERBOSITY_VERY_VERBOSE); + $output->setVerbosity(\RectorPrefix20220520\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(\RectorPrefix20220519\Symfony\Component\Console\Output\OutputInterface::VERBOSITY_VERBOSE); + $output->setVerbosity(\RectorPrefix20220520\Symfony\Component\Console\Output\OutputInterface::VERBOSITY_VERBOSE); $shellVerbosity = 1; } } @@ -820,18 +820,18 @@ class Application implements \RectorPrefix20220519\Symfony\Contracts\Service\Res * * @return int 0 if everything went fine, or an error code */ - protected function doRunCommand(\RectorPrefix20220519\Symfony\Component\Console\Command\Command $command, \RectorPrefix20220519\Symfony\Component\Console\Input\InputInterface $input, \RectorPrefix20220519\Symfony\Component\Console\Output\OutputInterface $output) + protected function doRunCommand(\RectorPrefix20220520\Symfony\Component\Console\Command\Command $command, \RectorPrefix20220520\Symfony\Component\Console\Input\InputInterface $input, \RectorPrefix20220520\Symfony\Component\Console\Output\OutputInterface $output) { foreach ($command->getHelperSet() as $helper) { - if ($helper instanceof \RectorPrefix20220519\Symfony\Component\Console\Input\InputAwareInterface) { + if ($helper instanceof \RectorPrefix20220520\Symfony\Component\Console\Input\InputAwareInterface) { $helper->setInput($input); } } - if ($command instanceof \RectorPrefix20220519\Symfony\Component\Console\Command\SignalableCommandInterface && ($this->signalsToDispatchEvent || $command->getSubscribedSignals())) { + if ($command instanceof \RectorPrefix20220520\Symfony\Component\Console\Command\SignalableCommandInterface && ($this->signalsToDispatchEvent || $command->getSubscribedSignals())) { if (!$this->signalRegistry) { - throw new \RectorPrefix20220519\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 \RectorPrefix20220520\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 (\RectorPrefix20220519\Symfony\Component\Console\Terminal::hasSttyAvailable()) { + if (\RectorPrefix20220520\Symfony\Component\Console\Terminal::hasSttyAvailable()) { $sttyMode = \shell_exec('stty -g'); foreach ([\SIGINT, \SIGTERM] as $signal) { $this->signalRegistry->register($signal, static function () use($sttyMode) { @@ -841,9 +841,9 @@ class Application implements \RectorPrefix20220519\Symfony\Contracts\Service\Res } if ($this->dispatcher) { foreach ($this->signalsToDispatchEvent as $signal) { - $event = new \RectorPrefix20220519\Symfony\Component\Console\Event\ConsoleSignalEvent($command, $input, $output, $signal); + $event = new \RectorPrefix20220520\Symfony\Component\Console\Event\ConsoleSignalEvent($command, $input, $output, $signal); $this->signalRegistry->register($signal, function ($signal, $hasNext) use($event) { - $this->dispatcher->dispatch($event, \RectorPrefix20220519\Symfony\Component\Console\ConsoleEvents::SIGNAL); + $this->dispatcher->dispatch($event, \RectorPrefix20220520\Symfony\Component\Console\ConsoleEvents::SIGNAL); // No more handlers, we try to simulate PHP default behavior if (!$hasNext) { if (!\in_array($signal, [\SIGUSR1, \SIGUSR2], \true)) { @@ -864,28 +864,28 @@ class Application implements \RectorPrefix20220519\Symfony\Contracts\Service\Res try { $command->mergeApplicationDefinition(); $input->bind($command->getDefinition()); - } catch (\RectorPrefix20220519\Symfony\Component\Console\Exception\ExceptionInterface $e) { + } catch (\RectorPrefix20220520\Symfony\Component\Console\Exception\ExceptionInterface $e) { // ignore invalid options/arguments for now, to allow the event listeners to customize the InputDefinition } - $event = new \RectorPrefix20220519\Symfony\Component\Console\Event\ConsoleCommandEvent($command, $input, $output); + $event = new \RectorPrefix20220520\Symfony\Component\Console\Event\ConsoleCommandEvent($command, $input, $output); $e = null; try { - $this->dispatcher->dispatch($event, \RectorPrefix20220519\Symfony\Component\Console\ConsoleEvents::COMMAND); + $this->dispatcher->dispatch($event, \RectorPrefix20220520\Symfony\Component\Console\ConsoleEvents::COMMAND); if ($event->commandShouldRun()) { $exitCode = $command->run($input, $output); } else { - $exitCode = \RectorPrefix20220519\Symfony\Component\Console\Event\ConsoleCommandEvent::RETURN_CODE_DISABLED; + $exitCode = \RectorPrefix20220520\Symfony\Component\Console\Event\ConsoleCommandEvent::RETURN_CODE_DISABLED; } } catch (\Throwable $e) { - $event = new \RectorPrefix20220519\Symfony\Component\Console\Event\ConsoleErrorEvent($input, $output, $e, $command); - $this->dispatcher->dispatch($event, \RectorPrefix20220519\Symfony\Component\Console\ConsoleEvents::ERROR); + $event = new \RectorPrefix20220520\Symfony\Component\Console\Event\ConsoleErrorEvent($input, $output, $e, $command); + $this->dispatcher->dispatch($event, \RectorPrefix20220520\Symfony\Component\Console\ConsoleEvents::ERROR); $e = $event->getError(); if (0 === ($exitCode = $event->getExitCode())) { $e = null; } } - $event = new \RectorPrefix20220519\Symfony\Component\Console\Event\ConsoleTerminateEvent($command, $input, $output, $exitCode); - $this->dispatcher->dispatch($event, \RectorPrefix20220519\Symfony\Component\Console\ConsoleEvents::TERMINATE); + $event = new \RectorPrefix20220520\Symfony\Component\Console\Event\ConsoleTerminateEvent($command, $input, $output, $exitCode); + $this->dispatcher->dispatch($event, \RectorPrefix20220520\Symfony\Component\Console\ConsoleEvents::TERMINATE); if (null !== $e) { throw $e; } @@ -894,16 +894,16 @@ class Application implements \RectorPrefix20220519\Symfony\Contracts\Service\Res /** * Gets the name of the command based on input. */ - protected function getCommandName(\RectorPrefix20220519\Symfony\Component\Console\Input\InputInterface $input) : ?string + protected function getCommandName(\RectorPrefix20220520\Symfony\Component\Console\Input\InputInterface $input) : ?string { return $this->singleCommand ? $this->defaultCommand : $input->getFirstArgument(); } /** * Gets the default input definition. */ - protected function getDefaultInputDefinition() : \RectorPrefix20220519\Symfony\Component\Console\Input\InputDefinition + protected function getDefaultInputDefinition() : \RectorPrefix20220520\Symfony\Component\Console\Input\InputDefinition { - return new \RectorPrefix20220519\Symfony\Component\Console\Input\InputDefinition([new \RectorPrefix20220519\Symfony\Component\Console\Input\InputArgument('command', \RectorPrefix20220519\Symfony\Component\Console\Input\InputArgument::REQUIRED, 'The command to execute'), new \RectorPrefix20220519\Symfony\Component\Console\Input\InputOption('--help', '-h', \RectorPrefix20220519\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 \RectorPrefix20220519\Symfony\Component\Console\Input\InputOption('--quiet', '-q', \RectorPrefix20220519\Symfony\Component\Console\Input\InputOption::VALUE_NONE, 'Do not output any message'), new \RectorPrefix20220519\Symfony\Component\Console\Input\InputOption('--verbose', '-v|vv|vvv', \RectorPrefix20220519\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 \RectorPrefix20220519\Symfony\Component\Console\Input\InputOption('--version', '-V', \RectorPrefix20220519\Symfony\Component\Console\Input\InputOption::VALUE_NONE, 'Display this application version'), new \RectorPrefix20220519\Symfony\Component\Console\Input\InputOption('--ansi', '', \RectorPrefix20220519\Symfony\Component\Console\Input\InputOption::VALUE_NEGATABLE, 'Force (or disable --no-ansi) ANSI output', null), new \RectorPrefix20220519\Symfony\Component\Console\Input\InputOption('--no-interaction', '-n', \RectorPrefix20220519\Symfony\Component\Console\Input\InputOption::VALUE_NONE, 'Do not ask any interactive question')]); + return new \RectorPrefix20220520\Symfony\Component\Console\Input\InputDefinition([new \RectorPrefix20220520\Symfony\Component\Console\Input\InputArgument('command', \RectorPrefix20220520\Symfony\Component\Console\Input\InputArgument::REQUIRED, 'The command to execute'), new \RectorPrefix20220520\Symfony\Component\Console\Input\InputOption('--help', '-h', \RectorPrefix20220520\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 \RectorPrefix20220520\Symfony\Component\Console\Input\InputOption('--quiet', '-q', \RectorPrefix20220520\Symfony\Component\Console\Input\InputOption::VALUE_NONE, 'Do not output any message'), new \RectorPrefix20220520\Symfony\Component\Console\Input\InputOption('--verbose', '-v|vv|vvv', \RectorPrefix20220520\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 \RectorPrefix20220520\Symfony\Component\Console\Input\InputOption('--version', '-V', \RectorPrefix20220520\Symfony\Component\Console\Input\InputOption::VALUE_NONE, 'Display this application version'), new \RectorPrefix20220520\Symfony\Component\Console\Input\InputOption('--ansi', '', \RectorPrefix20220520\Symfony\Component\Console\Input\InputOption::VALUE_NEGATABLE, 'Force (or disable --no-ansi) ANSI output', null), new \RectorPrefix20220520\Symfony\Component\Console\Input\InputOption('--no-interaction', '-n', \RectorPrefix20220520\Symfony\Component\Console\Input\InputOption::VALUE_NONE, 'Do not ask any interactive question')]); } /** * Gets the default commands that should always be available. @@ -912,14 +912,14 @@ class Application implements \RectorPrefix20220519\Symfony\Contracts\Service\Res */ protected function getDefaultCommands() : array { - return [new \RectorPrefix20220519\Symfony\Component\Console\Command\HelpCommand(), new \RectorPrefix20220519\Symfony\Component\Console\Command\ListCommand(), new \RectorPrefix20220519\Symfony\Component\Console\Command\CompleteCommand(), new \RectorPrefix20220519\Symfony\Component\Console\Command\DumpCompletionCommand()]; + return [new \RectorPrefix20220520\Symfony\Component\Console\Command\HelpCommand(), new \RectorPrefix20220520\Symfony\Component\Console\Command\ListCommand(), new \RectorPrefix20220520\Symfony\Component\Console\Command\CompleteCommand(), new \RectorPrefix20220520\Symfony\Component\Console\Command\DumpCompletionCommand()]; } /** * Gets the default helper set with the helpers that should always be available. */ - protected function getDefaultHelperSet() : \RectorPrefix20220519\Symfony\Component\Console\Helper\HelperSet + protected function getDefaultHelperSet() : \RectorPrefix20220520\Symfony\Component\Console\Helper\HelperSet { - return new \RectorPrefix20220519\Symfony\Component\Console\Helper\HelperSet([new \RectorPrefix20220519\Symfony\Component\Console\Helper\FormatterHelper(), new \RectorPrefix20220519\Symfony\Component\Console\Helper\DebugFormatterHelper(), new \RectorPrefix20220519\Symfony\Component\Console\Helper\ProcessHelper(), new \RectorPrefix20220519\Symfony\Component\Console\Helper\QuestionHelper()]); + return new \RectorPrefix20220520\Symfony\Component\Console\Helper\HelperSet([new \RectorPrefix20220520\Symfony\Component\Console\Helper\FormatterHelper(), new \RectorPrefix20220520\Symfony\Component\Console\Helper\DebugFormatterHelper(), new \RectorPrefix20220520\Symfony\Component\Console\Helper\ProcessHelper(), new \RectorPrefix20220520\Symfony\Component\Console\Helper\QuestionHelper()]); } /** * Returns abbreviated suggestions in string format. diff --git a/vendor/symfony/console/Attribute/AsCommand.php b/vendor/symfony/console/Attribute/AsCommand.php index 88f7dd51a88..98cdfa8a164 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 RectorPrefix20220519\Symfony\Component\Console\Attribute; +namespace RectorPrefix20220520\Symfony\Component\Console\Attribute; /** * Service tag to autoconfigure commands. diff --git a/vendor/symfony/console/CI/GithubActionReporter.php b/vendor/symfony/console/CI/GithubActionReporter.php index 9680d344ebc..58109db41a6 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 RectorPrefix20220519\Symfony\Component\Console\CI; +namespace RectorPrefix20220520\Symfony\Component\Console\CI; -use RectorPrefix20220519\Symfony\Component\Console\Output\OutputInterface; +use RectorPrefix20220520\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(\RectorPrefix20220519\Symfony\Component\Console\Output\OutputInterface $output) + public function __construct(\RectorPrefix20220520\Symfony\Component\Console\Output\OutputInterface $output) { $this->output = $output; } diff --git a/vendor/symfony/console/Color.php b/vendor/symfony/console/Color.php index 6f854df6541..c7ed748af8e 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 RectorPrefix20220519\Symfony\Component\Console; +namespace RectorPrefix20220520\Symfony\Component\Console; -use RectorPrefix20220519\Symfony\Component\Console\Exception\InvalidArgumentException; +use RectorPrefix20220520\Symfony\Component\Console\Exception\InvalidArgumentException; /** * @author Fabien Potencier */ @@ -37,7 +37,7 @@ final class Color $this->background = $this->parseColor($background, \true); foreach ($options as $option) { if (!isset(self::AVAILABLE_OPTIONS[$option])) { - throw new \RectorPrefix20220519\Symfony\Component\Console\Exception\InvalidArgumentException(\sprintf('Invalid option specified: "%s". Expected one of (%s).', $option, \implode(', ', \array_keys(self::AVAILABLE_OPTIONS)))); + throw new \RectorPrefix20220520\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]; } @@ -91,7 +91,7 @@ final class Color $color = $color[0] . $color[0] . $color[1] . $color[1] . $color[2] . $color[2]; } if (6 !== \strlen($color)) { - throw new \RectorPrefix20220519\Symfony\Component\Console\Exception\InvalidArgumentException(\sprintf('Invalid "%s" color.', $color)); + throw new \RectorPrefix20220520\Symfony\Component\Console\Exception\InvalidArgumentException(\sprintf('Invalid "%s" color.', $color)); } return ($background ? '4' : '3') . $this->convertHexColorToAnsi(\hexdec($color)); } @@ -101,7 +101,7 @@ final class Color if (isset(self::BRIGHT_COLORS[$color])) { return ($background ? '10' : '9') . self::BRIGHT_COLORS[$color]; } - throw new \RectorPrefix20220519\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 \RectorPrefix20220520\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 c84a7b75ec0..07282e2d5dc 100644 --- a/vendor/symfony/console/Command/Command.php +++ b/vendor/symfony/console/Command/Command.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 RectorPrefix20220519\Symfony\Component\Console\Command; +namespace RectorPrefix20220520\Symfony\Component\Console\Command; -use RectorPrefix20220519\Symfony\Component\Console\Application; -use RectorPrefix20220519\Symfony\Component\Console\Attribute\AsCommand; -use RectorPrefix20220519\Symfony\Component\Console\Completion\CompletionInput; -use RectorPrefix20220519\Symfony\Component\Console\Completion\CompletionSuggestions; -use RectorPrefix20220519\Symfony\Component\Console\Exception\ExceptionInterface; -use RectorPrefix20220519\Symfony\Component\Console\Exception\InvalidArgumentException; -use RectorPrefix20220519\Symfony\Component\Console\Exception\LogicException; -use RectorPrefix20220519\Symfony\Component\Console\Helper\HelperSet; -use RectorPrefix20220519\Symfony\Component\Console\Input\InputArgument; -use RectorPrefix20220519\Symfony\Component\Console\Input\InputDefinition; -use RectorPrefix20220519\Symfony\Component\Console\Input\InputInterface; -use RectorPrefix20220519\Symfony\Component\Console\Input\InputOption; -use RectorPrefix20220519\Symfony\Component\Console\Output\OutputInterface; +use RectorPrefix20220520\Symfony\Component\Console\Application; +use RectorPrefix20220520\Symfony\Component\Console\Attribute\AsCommand; +use RectorPrefix20220520\Symfony\Component\Console\Completion\CompletionInput; +use RectorPrefix20220520\Symfony\Component\Console\Completion\CompletionSuggestions; +use RectorPrefix20220520\Symfony\Component\Console\Exception\ExceptionInterface; +use RectorPrefix20220520\Symfony\Component\Console\Exception\InvalidArgumentException; +use RectorPrefix20220520\Symfony\Component\Console\Exception\LogicException; +use RectorPrefix20220520\Symfony\Component\Console\Helper\HelperSet; +use RectorPrefix20220520\Symfony\Component\Console\Input\InputArgument; +use RectorPrefix20220520\Symfony\Component\Console\Input\InputDefinition; +use RectorPrefix20220520\Symfony\Component\Console\Input\InputInterface; +use RectorPrefix20220520\Symfony\Component\Console\Input\InputOption; +use RectorPrefix20220520\Symfony\Component\Console\Output\OutputInterface; /** * Base class for all commands. * @@ -89,7 +89,7 @@ class Command public static function getDefaultName() : ?string { $class = static::class; - if ($attribute = \method_exists(new \ReflectionClass($class), 'getAttributes') ? (new \ReflectionClass($class))->getAttributes(\RectorPrefix20220519\Symfony\Component\Console\Attribute\AsCommand::class) : []) { + if ($attribute = \method_exists(new \ReflectionClass($class), 'getAttributes') ? (new \ReflectionClass($class))->getAttributes(\RectorPrefix20220520\Symfony\Component\Console\Attribute\AsCommand::class) : []) { return $attribute[0]->newInstance()->name; } $r = new \ReflectionProperty($class, 'defaultName'); @@ -98,7 +98,7 @@ class Command public static function getDefaultDescription() : ?string { $class = static::class; - if ($attribute = \method_exists(new \ReflectionClass($class), 'getAttributes') ? (new \ReflectionClass($class))->getAttributes(\RectorPrefix20220519\Symfony\Component\Console\Attribute\AsCommand::class) : []) { + if ($attribute = \method_exists(new \ReflectionClass($class), 'getAttributes') ? (new \ReflectionClass($class))->getAttributes(\RectorPrefix20220520\Symfony\Component\Console\Attribute\AsCommand::class) : []) { return $attribute[0]->newInstance()->description; } $r = new \ReflectionProperty($class, 'defaultDescription'); @@ -111,7 +111,7 @@ class Command */ public function __construct(string $name = null) { - $this->definition = new \RectorPrefix20220519\Symfony\Component\Console\Input\InputDefinition(); + $this->definition = new \RectorPrefix20220520\Symfony\Component\Console\Input\InputDefinition(); if (null === $name && null !== ($name = static::getDefaultName())) { $aliases = \explode('|', $name); if ('' === ($name = \array_shift($aliases))) { @@ -137,7 +137,7 @@ class Command { $this->ignoreValidationErrors = \true; } - public function setApplication(\RectorPrefix20220519\Symfony\Component\Console\Application $application = null) + public function setApplication(\RectorPrefix20220520\Symfony\Component\Console\Application $application = null) { $this->application = $application; if ($application) { @@ -147,21 +147,21 @@ class Command } $this->fullDefinition = null; } - public function setHelperSet(\RectorPrefix20220519\Symfony\Component\Console\Helper\HelperSet $helperSet) + public function setHelperSet(\RectorPrefix20220520\Symfony\Component\Console\Helper\HelperSet $helperSet) { $this->helperSet = $helperSet; } /** * Gets the helper set. */ - public function getHelperSet() : ?\RectorPrefix20220519\Symfony\Component\Console\Helper\HelperSet + public function getHelperSet() : ?\RectorPrefix20220520\Symfony\Component\Console\Helper\HelperSet { return $this->helperSet; } /** * Gets the application instance for this command. */ - public function getApplication() : ?\RectorPrefix20220519\Symfony\Component\Console\Application + public function getApplication() : ?\RectorPrefix20220520\Symfony\Component\Console\Application { return $this->application; } @@ -197,9 +197,9 @@ class Command * * @see setCode() */ - protected function execute(\RectorPrefix20220519\Symfony\Component\Console\Input\InputInterface $input, \RectorPrefix20220519\Symfony\Component\Console\Output\OutputInterface $output) + protected function execute(\RectorPrefix20220520\Symfony\Component\Console\Input\InputInterface $input, \RectorPrefix20220520\Symfony\Component\Console\Output\OutputInterface $output) { - throw new \RectorPrefix20220519\Symfony\Component\Console\Exception\LogicException('You must override the execute() method in the concrete command class.'); + throw new \RectorPrefix20220520\Symfony\Component\Console\Exception\LogicException('You must override the execute() method in the concrete command class.'); } /** * Interacts with the user. @@ -208,7 +208,7 @@ class Command * This means that this is the only place where the command can * interactively ask for values of missing required arguments. */ - protected function interact(\RectorPrefix20220519\Symfony\Component\Console\Input\InputInterface $input, \RectorPrefix20220519\Symfony\Component\Console\Output\OutputInterface $output) + protected function interact(\RectorPrefix20220520\Symfony\Component\Console\Input\InputInterface $input, \RectorPrefix20220520\Symfony\Component\Console\Output\OutputInterface $output) { } /** @@ -221,7 +221,7 @@ class Command * @see InputInterface::bind() * @see InputInterface::validate() */ - protected function initialize(\RectorPrefix20220519\Symfony\Component\Console\Input\InputInterface $input, \RectorPrefix20220519\Symfony\Component\Console\Output\OutputInterface $output) + protected function initialize(\RectorPrefix20220520\Symfony\Component\Console\Input\InputInterface $input, \RectorPrefix20220520\Symfony\Component\Console\Output\OutputInterface $output) { } /** @@ -238,14 +238,14 @@ class Command * @see setCode() * @see execute() */ - public function run(\RectorPrefix20220519\Symfony\Component\Console\Input\InputInterface $input, \RectorPrefix20220519\Symfony\Component\Console\Output\OutputInterface $output) : int + public function run(\RectorPrefix20220520\Symfony\Component\Console\Input\InputInterface $input, \RectorPrefix20220520\Symfony\Component\Console\Output\OutputInterface $output) : int { // add the application arguments and options $this->mergeApplicationDefinition(); // bind the input against the command specific arguments/options try { $input->bind($this->getDefinition()); - } catch (\RectorPrefix20220519\Symfony\Component\Console\Exception\ExceptionInterface $e) { + } catch (\RectorPrefix20220520\Symfony\Component\Console\Exception\ExceptionInterface $e) { if (!$this->ignoreValidationErrors) { throw $e; } @@ -255,14 +255,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.', \RectorPrefix20220519\Symfony\Component\Console\Output\OutputInterface::VERBOSITY_VERY_VERBOSE); + $output->writeln('Running "cli_set_process_title" as an unprivileged user is not supported on MacOS.', \RectorPrefix20220520\Symfony\Component\Console\Output\OutputInterface::VERBOSITY_VERY_VERBOSE); } else { \cli_set_process_title($this->processTitle); } } - } elseif (\function_exists('RectorPrefix20220519\\setproctitle')) { + } elseif (\function_exists('RectorPrefix20220520\\setproctitle')) { setproctitle($this->processTitle); - } elseif (\RectorPrefix20220519\Symfony\Component\Console\Output\OutputInterface::VERBOSITY_VERY_VERBOSE === $output->getVerbosity()) { + } elseif (\RectorPrefix20220520\Symfony\Component\Console\Output\OutputInterface::VERBOSITY_VERY_VERBOSE === $output->getVerbosity()) { $output->writeln('Install the proctitle PECL to be able to change the process title.'); } } @@ -289,7 +289,7 @@ class Command /** * Adds suggestions to $suggestions for the current completion input (e.g. option or argument). */ - public function complete(\RectorPrefix20220519\Symfony\Component\Console\Completion\CompletionInput $input, \RectorPrefix20220519\Symfony\Component\Console\Completion\CompletionSuggestions $suggestions) : void + public function complete(\RectorPrefix20220520\Symfony\Component\Console\Completion\CompletionInput $input, \RectorPrefix20220520\Symfony\Component\Console\Completion\CompletionSuggestions $suggestions) : void { } /** @@ -341,7 +341,7 @@ class Command if (null === $this->application) { return; } - $this->fullDefinition = new \RectorPrefix20220519\Symfony\Component\Console\Input\InputDefinition(); + $this->fullDefinition = new \RectorPrefix20220520\Symfony\Component\Console\Input\InputDefinition(); $this->fullDefinition->setOptions($this->definition->getOptions()); $this->fullDefinition->addOptions($this->application->getDefinition()->getOptions()); if ($mergeArgs) { @@ -359,7 +359,7 @@ class Command */ public function setDefinition($definition) { - if ($definition instanceof \RectorPrefix20220519\Symfony\Component\Console\Input\InputDefinition) { + if ($definition instanceof \RectorPrefix20220520\Symfony\Component\Console\Input\InputDefinition) { $this->definition = $definition; } else { $this->definition->setDefinition($definition); @@ -370,7 +370,7 @@ class Command /** * Gets the InputDefinition attached to this Command. */ - public function getDefinition() : \RectorPrefix20220519\Symfony\Component\Console\Input\InputDefinition + public function getDefinition() : \RectorPrefix20220520\Symfony\Component\Console\Input\InputDefinition { return $this->fullDefinition ?? $this->getNativeDefinition(); } @@ -382,10 +382,10 @@ class Command * * This method is not part of public API and should not be used directly. */ - public function getNativeDefinition() : \RectorPrefix20220519\Symfony\Component\Console\Input\InputDefinition + public function getNativeDefinition() : \RectorPrefix20220520\Symfony\Component\Console\Input\InputDefinition { if (!isset($this->definition)) { - throw new \RectorPrefix20220519\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 \RectorPrefix20220520\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; } @@ -401,9 +401,9 @@ class Command */ public function addArgument(string $name, int $mode = null, string $description = '', $default = null) { - $this->definition->addArgument(new \RectorPrefix20220519\Symfony\Component\Console\Input\InputArgument($name, $mode, $description, $default)); + $this->definition->addArgument(new \RectorPrefix20220520\Symfony\Component\Console\Input\InputArgument($name, $mode, $description, $default)); if (null !== $this->fullDefinition) { - $this->fullDefinition->addArgument(new \RectorPrefix20220519\Symfony\Component\Console\Input\InputArgument($name, $mode, $description, $default)); + $this->fullDefinition->addArgument(new \RectorPrefix20220520\Symfony\Component\Console\Input\InputArgument($name, $mode, $description, $default)); } return $this; } @@ -420,9 +420,9 @@ class Command */ public function addOption(string $name, $shortcut = null, int $mode = null, string $description = '', $default = null) { - $this->definition->addOption(new \RectorPrefix20220519\Symfony\Component\Console\Input\InputOption($name, $shortcut, $mode, $description, $default)); + $this->definition->addOption(new \RectorPrefix20220520\Symfony\Component\Console\Input\InputOption($name, $shortcut, $mode, $description, $default)); if (null !== $this->fullDefinition) { - $this->fullDefinition->addOption(new \RectorPrefix20220519\Symfony\Component\Console\Input\InputOption($name, $shortcut, $mode, $description, $default)); + $this->fullDefinition->addOption(new \RectorPrefix20220520\Symfony\Component\Console\Input\InputOption($name, $shortcut, $mode, $description, $default)); } return $this; } @@ -596,7 +596,7 @@ class Command public function getHelper(string $name) { if (null === $this->helperSet) { - throw new \RectorPrefix20220519\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 \RectorPrefix20220520\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); } @@ -610,7 +610,7 @@ class Command private function validateName(string $name) { if (!\preg_match('/^[^\\:]++(\\:[^\\:]++)*$/', $name)) { - throw new \RectorPrefix20220519\Symfony\Component\Console\Exception\InvalidArgumentException(\sprintf('Command name "%s" is invalid.', $name)); + throw new \RectorPrefix20220520\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 index 72e30bb2aa5..bea3a4d8ad4 100644 --- a/vendor/symfony/console/Command/CompleteCommand.php +++ b/vendor/symfony/console/Command/CompleteCommand.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 RectorPrefix20220519\Symfony\Component\Console\Command; +namespace RectorPrefix20220520\Symfony\Component\Console\Command; -use RectorPrefix20220519\Symfony\Component\Console\Completion\CompletionInput; -use RectorPrefix20220519\Symfony\Component\Console\Completion\CompletionSuggestions; -use RectorPrefix20220519\Symfony\Component\Console\Completion\Output\BashCompletionOutput; -use RectorPrefix20220519\Symfony\Component\Console\Completion\Output\CompletionOutputInterface; -use RectorPrefix20220519\Symfony\Component\Console\Exception\CommandNotFoundException; -use RectorPrefix20220519\Symfony\Component\Console\Exception\ExceptionInterface; -use RectorPrefix20220519\Symfony\Component\Console\Input\InputInterface; -use RectorPrefix20220519\Symfony\Component\Console\Input\InputOption; -use RectorPrefix20220519\Symfony\Component\Console\Output\OutputInterface; +use RectorPrefix20220520\Symfony\Component\Console\Completion\CompletionInput; +use RectorPrefix20220520\Symfony\Component\Console\Completion\CompletionSuggestions; +use RectorPrefix20220520\Symfony\Component\Console\Completion\Output\BashCompletionOutput; +use RectorPrefix20220520\Symfony\Component\Console\Completion\Output\CompletionOutputInterface; +use RectorPrefix20220520\Symfony\Component\Console\Exception\CommandNotFoundException; +use RectorPrefix20220520\Symfony\Component\Console\Exception\ExceptionInterface; +use RectorPrefix20220520\Symfony\Component\Console\Input\InputInterface; +use RectorPrefix20220520\Symfony\Component\Console\Input\InputOption; +use RectorPrefix20220520\Symfony\Component\Console\Output\OutputInterface; /** * Responsible for providing the values to the shell completion. * * @author Wouter de Jong */ -final class CompleteCommand extends \RectorPrefix20220519\Symfony\Component\Console\Command\Command +final class CompleteCommand extends \RectorPrefix20220520\Symfony\Component\Console\Command\Command { protected static $defaultName = '|_complete'; protected static $defaultDescription = 'Internal command to provide shell completion suggestions'; @@ -36,18 +36,18 @@ final class CompleteCommand extends \RectorPrefix20220519\Symfony\Component\Cons public function __construct(array $completionOutputs = []) { // must be set before the parent constructor, as the property value is used in configure() - $this->completionOutputs = $completionOutputs + ['bash' => \RectorPrefix20220519\Symfony\Component\Console\Completion\Output\BashCompletionOutput::class]; + $this->completionOutputs = $completionOutputs + ['bash' => \RectorPrefix20220520\Symfony\Component\Console\Completion\Output\BashCompletionOutput::class]; parent::__construct(); } protected function configure() : void { - $this->addOption('shell', 's', \RectorPrefix20220519\Symfony\Component\Console\Input\InputOption::VALUE_REQUIRED, 'The shell type ("' . \implode('", "', \array_keys($this->completionOutputs)) . '")')->addOption('input', 'i', \RectorPrefix20220519\Symfony\Component\Console\Input\InputOption::VALUE_REQUIRED | \RectorPrefix20220519\Symfony\Component\Console\Input\InputOption::VALUE_IS_ARRAY, 'An array of input tokens (e.g. COMP_WORDS or argv)')->addOption('current', 'c', \RectorPrefix20220519\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', \RectorPrefix20220519\Symfony\Component\Console\Input\InputOption::VALUE_REQUIRED, 'The version of the completion script'); + $this->addOption('shell', 's', \RectorPrefix20220520\Symfony\Component\Console\Input\InputOption::VALUE_REQUIRED, 'The shell type ("' . \implode('", "', \array_keys($this->completionOutputs)) . '")')->addOption('input', 'i', \RectorPrefix20220520\Symfony\Component\Console\Input\InputOption::VALUE_REQUIRED | \RectorPrefix20220520\Symfony\Component\Console\Input\InputOption::VALUE_IS_ARRAY, 'An array of input tokens (e.g. COMP_WORDS or argv)')->addOption('current', 'c', \RectorPrefix20220520\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', \RectorPrefix20220520\Symfony\Component\Console\Input\InputOption::VALUE_REQUIRED, 'The version of the completion script'); } - protected function initialize(\RectorPrefix20220519\Symfony\Component\Console\Input\InputInterface $input, \RectorPrefix20220519\Symfony\Component\Console\Output\OutputInterface $output) + protected function initialize(\RectorPrefix20220520\Symfony\Component\Console\Input\InputInterface $input, \RectorPrefix20220520\Symfony\Component\Console\Output\OutputInterface $output) { $this->isDebug = \filter_var(\getenv('SYMFONY_COMPLETION_DEBUG'), \FILTER_VALIDATE_BOOLEAN); } - protected function execute(\RectorPrefix20220519\Symfony\Component\Console\Input\InputInterface $input, \RectorPrefix20220519\Symfony\Component\Console\Output\OutputInterface $output) : int + protected function execute(\RectorPrefix20220520\Symfony\Component\Console\Input\InputInterface $input, \RectorPrefix20220520\Symfony\Component\Console\Output\OutputInterface $output) : int { try { // uncomment when a bugfix or BC break has been introduced in the shell completion scripts @@ -66,7 +66,7 @@ final class CompleteCommand extends \RectorPrefix20220519\Symfony\Component\Cons 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 \RectorPrefix20220519\Symfony\Component\Console\Completion\CompletionSuggestions(); + $suggestions = new \RectorPrefix20220520\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) { @@ -79,11 +79,11 @@ final class CompleteCommand extends \RectorPrefix20220519\Symfony\Component\Cons } else { $command->mergeApplicationDefinition(); $completionInput->bind($command->getDefinition()); - if (\RectorPrefix20220519\Symfony\Component\Console\Completion\CompletionInput::TYPE_OPTION_NAME === $completionInput->getCompletionType()) { - $this->log(' Completing option names for the ' . \get_class($command instanceof \RectorPrefix20220519\Symfony\Component\Console\Command\LazyCommand ? $command->getCommand() : $command) . ' command.'); + if (\RectorPrefix20220520\Symfony\Component\Console\Completion\CompletionInput::TYPE_OPTION_NAME === $completionInput->getCompletionType()) { + $this->log(' Completing option names for the ' . \get_class($command instanceof \RectorPrefix20220520\Symfony\Component\Console\Command\LazyCommand ? $command->getCommand() : $command) . ' command.'); $suggestions->suggestOptions($command->getDefinition()->getOptions()); } else { - $this->log([' Completing using the ' . \get_class($command instanceof \RectorPrefix20220519\Symfony\Component\Console\Command\LazyCommand ? $command->getCommand() : $command) . ' class.', ' Completing ' . $completionInput->getCompletionType() . ' for ' . $completionInput->getCompletionName() . '']); + $this->log([' Completing using the ' . \get_class($command instanceof \RectorPrefix20220520\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 . ''); } @@ -112,20 +112,20 @@ final class CompleteCommand extends \RectorPrefix20220519\Symfony\Component\Cons } return self::SUCCESS; } - private function createCompletionInput(\RectorPrefix20220519\Symfony\Component\Console\Input\InputInterface $input) : \RectorPrefix20220519\Symfony\Component\Console\Completion\CompletionInput + private function createCompletionInput(\RectorPrefix20220520\Symfony\Component\Console\Input\InputInterface $input) : \RectorPrefix20220520\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 = \RectorPrefix20220519\Symfony\Component\Console\Completion\CompletionInput::fromTokens($input->getOption('input'), (int) $currentIndex); + $completionInput = \RectorPrefix20220520\Symfony\Component\Console\Completion\CompletionInput::fromTokens($input->getOption('input'), (int) $currentIndex); try { $completionInput->bind($this->getApplication()->getDefinition()); - } catch (\RectorPrefix20220519\Symfony\Component\Console\Exception\ExceptionInterface $e) { + } catch (\RectorPrefix20220520\Symfony\Component\Console\Exception\ExceptionInterface $e) { } return $completionInput; } - private function findCommand(\RectorPrefix20220519\Symfony\Component\Console\Completion\CompletionInput $completionInput, \RectorPrefix20220519\Symfony\Component\Console\Output\OutputInterface $output) : ?\RectorPrefix20220519\Symfony\Component\Console\Command\Command + private function findCommand(\RectorPrefix20220520\Symfony\Component\Console\Completion\CompletionInput $completionInput, \RectorPrefix20220520\Symfony\Component\Console\Output\OutputInterface $output) : ?\RectorPrefix20220520\Symfony\Component\Console\Command\Command { try { $inputName = $completionInput->getFirstArgument(); @@ -133,7 +133,7 @@ final class CompleteCommand extends \RectorPrefix20220519\Symfony\Component\Cons return null; } return $this->getApplication()->find($inputName); - } catch (\RectorPrefix20220519\Symfony\Component\Console\Exception\CommandNotFoundException $e) { + } catch (\RectorPrefix20220520\Symfony\Component\Console\Exception\CommandNotFoundException $e) { } return null; } diff --git a/vendor/symfony/console/Command/DumpCompletionCommand.php b/vendor/symfony/console/Command/DumpCompletionCommand.php index f188f3582ef..045434d7aea 100644 --- a/vendor/symfony/console/Command/DumpCompletionCommand.php +++ b/vendor/symfony/console/Command/DumpCompletionCommand.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 RectorPrefix20220519\Symfony\Component\Console\Command; +namespace RectorPrefix20220520\Symfony\Component\Console\Command; -use RectorPrefix20220519\Symfony\Component\Console\Completion\CompletionInput; -use RectorPrefix20220519\Symfony\Component\Console\Completion\CompletionSuggestions; -use RectorPrefix20220519\Symfony\Component\Console\Input\InputArgument; -use RectorPrefix20220519\Symfony\Component\Console\Input\InputInterface; -use RectorPrefix20220519\Symfony\Component\Console\Input\InputOption; -use RectorPrefix20220519\Symfony\Component\Console\Output\ConsoleOutputInterface; -use RectorPrefix20220519\Symfony\Component\Console\Output\OutputInterface; -use RectorPrefix20220519\Symfony\Component\Process\Process; +use RectorPrefix20220520\Symfony\Component\Console\Completion\CompletionInput; +use RectorPrefix20220520\Symfony\Component\Console\Completion\CompletionSuggestions; +use RectorPrefix20220520\Symfony\Component\Console\Input\InputArgument; +use RectorPrefix20220520\Symfony\Component\Console\Input\InputInterface; +use RectorPrefix20220520\Symfony\Component\Console\Input\InputOption; +use RectorPrefix20220520\Symfony\Component\Console\Output\ConsoleOutputInterface; +use RectorPrefix20220520\Symfony\Component\Console\Output\OutputInterface; +use RectorPrefix20220520\Symfony\Component\Process\Process; /** * Dumps the completion script for the current shell. * * @author Wouter de Jong */ -final class DumpCompletionCommand extends \RectorPrefix20220519\Symfony\Component\Console\Command\Command +final class DumpCompletionCommand extends \RectorPrefix20220520\Symfony\Component\Console\Command\Command { protected static $defaultName = 'completion'; protected static $defaultDescription = 'Dump the shell completion script'; - public function complete(\RectorPrefix20220519\Symfony\Component\Console\Completion\CompletionInput $input, \RectorPrefix20220519\Symfony\Component\Console\Completion\CompletionSuggestions $suggestions) : void + public function complete(\RectorPrefix20220520\Symfony\Component\Console\Completion\CompletionInput $input, \RectorPrefix20220520\Symfony\Component\Console\Completion\CompletionSuggestions $suggestions) : void { if ($input->mustSuggestArgumentValuesFor('shell')) { $suggestions->suggestValues($this->getSupportedShells()); @@ -66,9 +66,9 @@ Add this to the end of your shell configuration file (e.g. "~/.bashrc") eval "\$({$fullCommand} completion bash)" EOH -)->addArgument('shell', \RectorPrefix20220519\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, \RectorPrefix20220519\Symfony\Component\Console\Input\InputOption::VALUE_NONE, 'Tail the completion debug log'); +)->addArgument('shell', \RectorPrefix20220520\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, \RectorPrefix20220520\Symfony\Component\Console\Input\InputOption::VALUE_NONE, 'Tail the completion debug log'); } - protected function execute(\RectorPrefix20220519\Symfony\Component\Console\Input\InputInterface $input, \RectorPrefix20220519\Symfony\Component\Console\Output\OutputInterface $output) : int + protected function execute(\RectorPrefix20220520\Symfony\Component\Console\Input\InputInterface $input, \RectorPrefix20220520\Symfony\Component\Console\Output\OutputInterface $output) : int { $commandName = \basename($_SERVER['argv'][0]); if ($input->getOption('debug')) { @@ -79,7 +79,7 @@ EOH $completionFile = __DIR__ . '/../Resources/completion.' . $shell; if (!\file_exists($completionFile)) { $supportedShells = $this->getSupportedShells(); - ($output instanceof \RectorPrefix20220519\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))); + ($output instanceof \RectorPrefix20220520\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))); @@ -89,13 +89,13 @@ EOH { return \basename($_SERVER['SHELL'] ?? ''); } - private function tailDebugLog(string $commandName, \RectorPrefix20220519\Symfony\Component\Console\Output\OutputInterface $output) : void + private function tailDebugLog(string $commandName, \RectorPrefix20220520\Symfony\Component\Console\Output\OutputInterface $output) : void { $debugFile = \sys_get_temp_dir() . '/sf_' . $commandName . '.log'; if (!\file_exists($debugFile)) { \touch($debugFile); } - $process = new \RectorPrefix20220519\Symfony\Component\Process\Process(['tail', '-f', $debugFile], null, null, null, 0); + $process = new \RectorPrefix20220520\Symfony\Component\Process\Process(['tail', '-f', $debugFile], null, null, null, 0); $process->run(function (string $type, string $line) use($output) : void { $output->write($line); }); diff --git a/vendor/symfony/console/Command/HelpCommand.php b/vendor/symfony/console/Command/HelpCommand.php index b010976374e..a3d262745f8 100644 --- a/vendor/symfony/console/Command/HelpCommand.php +++ b/vendor/symfony/console/Command/HelpCommand.php @@ -8,22 +8,22 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20220519\Symfony\Component\Console\Command; +namespace RectorPrefix20220520\Symfony\Component\Console\Command; -use RectorPrefix20220519\Symfony\Component\Console\Completion\CompletionInput; -use RectorPrefix20220519\Symfony\Component\Console\Completion\CompletionSuggestions; -use RectorPrefix20220519\Symfony\Component\Console\Descriptor\ApplicationDescription; -use RectorPrefix20220519\Symfony\Component\Console\Helper\DescriptorHelper; -use RectorPrefix20220519\Symfony\Component\Console\Input\InputArgument; -use RectorPrefix20220519\Symfony\Component\Console\Input\InputInterface; -use RectorPrefix20220519\Symfony\Component\Console\Input\InputOption; -use RectorPrefix20220519\Symfony\Component\Console\Output\OutputInterface; +use RectorPrefix20220520\Symfony\Component\Console\Completion\CompletionInput; +use RectorPrefix20220520\Symfony\Component\Console\Completion\CompletionSuggestions; +use RectorPrefix20220520\Symfony\Component\Console\Descriptor\ApplicationDescription; +use RectorPrefix20220520\Symfony\Component\Console\Helper\DescriptorHelper; +use RectorPrefix20220520\Symfony\Component\Console\Input\InputArgument; +use RectorPrefix20220520\Symfony\Component\Console\Input\InputInterface; +use RectorPrefix20220520\Symfony\Component\Console\Input\InputOption; +use RectorPrefix20220520\Symfony\Component\Console\Output\OutputInterface; /** * HelpCommand displays the help for a given command. * * @author Fabien Potencier */ -class HelpCommand extends \RectorPrefix20220519\Symfony\Component\Console\Command\Command +class HelpCommand extends \RectorPrefix20220520\Symfony\Component\Console\Command\Command { private $command; /** @@ -32,7 +32,7 @@ class HelpCommand extends \RectorPrefix20220519\Symfony\Component\Console\Comman protected function configure() { $this->ignoreValidationErrors(); - $this->setName('help')->setDefinition([new \RectorPrefix20220519\Symfony\Component\Console\Input\InputArgument('command_name', \RectorPrefix20220519\Symfony\Component\Console\Input\InputArgument::OPTIONAL, 'The command name', 'help'), new \RectorPrefix20220519\Symfony\Component\Console\Input\InputOption('format', null, \RectorPrefix20220519\Symfony\Component\Console\Input\InputOption::VALUE_REQUIRED, 'The output format (txt, xml, json, or md)', 'txt'), new \RectorPrefix20220519\Symfony\Component\Console\Input\InputOption('raw', null, \RectorPrefix20220519\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 \RectorPrefix20220520\Symfony\Component\Console\Input\InputArgument('command_name', \RectorPrefix20220520\Symfony\Component\Console\Input\InputArgument::OPTIONAL, 'The command name', 'help'), new \RectorPrefix20220520\Symfony\Component\Console\Input\InputOption('format', null, \RectorPrefix20220520\Symfony\Component\Console\Input\InputOption::VALUE_REQUIRED, 'The output format (txt, xml, json, or md)', 'txt'), new \RectorPrefix20220520\Symfony\Component\Console\Input\InputOption('raw', null, \RectorPrefix20220520\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 @@ -45,30 +45,30 @@ To display the list of available commands, please use the list comm EOF ); } - public function setCommand(\RectorPrefix20220519\Symfony\Component\Console\Command\Command $command) + public function setCommand(\RectorPrefix20220520\Symfony\Component\Console\Command\Command $command) { $this->command = $command; } /** * {@inheritdoc} */ - protected function execute(\RectorPrefix20220519\Symfony\Component\Console\Input\InputInterface $input, \RectorPrefix20220519\Symfony\Component\Console\Output\OutputInterface $output) : int + protected function execute(\RectorPrefix20220520\Symfony\Component\Console\Input\InputInterface $input, \RectorPrefix20220520\Symfony\Component\Console\Output\OutputInterface $output) : int { $this->command = $this->command ?? $this->getApplication()->find($input->getArgument('command_name')); - $helper = new \RectorPrefix20220519\Symfony\Component\Console\Helper\DescriptorHelper(); + $helper = new \RectorPrefix20220520\Symfony\Component\Console\Helper\DescriptorHelper(); $helper->describe($output, $this->command, ['format' => $input->getOption('format'), 'raw_text' => $input->getOption('raw')]); unset($this->command); return 0; } - public function complete(\RectorPrefix20220519\Symfony\Component\Console\Completion\CompletionInput $input, \RectorPrefix20220519\Symfony\Component\Console\Completion\CompletionSuggestions $suggestions) : void + public function complete(\RectorPrefix20220520\Symfony\Component\Console\Completion\CompletionInput $input, \RectorPrefix20220520\Symfony\Component\Console\Completion\CompletionSuggestions $suggestions) : void { if ($input->mustSuggestArgumentValuesFor('command_name')) { - $descriptor = new \RectorPrefix20220519\Symfony\Component\Console\Descriptor\ApplicationDescription($this->getApplication()); + $descriptor = new \RectorPrefix20220520\Symfony\Component\Console\Descriptor\ApplicationDescription($this->getApplication()); $suggestions->suggestValues(\array_keys($descriptor->getCommands())); return; } if ($input->mustSuggestOptionValuesFor('format')) { - $helper = new \RectorPrefix20220519\Symfony\Component\Console\Helper\DescriptorHelper(); + $helper = new \RectorPrefix20220520\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 1f4c8638b61..cb9fa351670 100644 --- a/vendor/symfony/console/Command/LazyCommand.php +++ b/vendor/symfony/console/Command/LazyCommand.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 RectorPrefix20220519\Symfony\Component\Console\Command; +namespace RectorPrefix20220520\Symfony\Component\Console\Command; -use RectorPrefix20220519\Symfony\Component\Console\Application; -use RectorPrefix20220519\Symfony\Component\Console\Completion\CompletionInput; -use RectorPrefix20220519\Symfony\Component\Console\Completion\CompletionSuggestions; -use RectorPrefix20220519\Symfony\Component\Console\Helper\HelperSet; -use RectorPrefix20220519\Symfony\Component\Console\Input\InputDefinition; -use RectorPrefix20220519\Symfony\Component\Console\Input\InputInterface; -use RectorPrefix20220519\Symfony\Component\Console\Output\OutputInterface; +use RectorPrefix20220520\Symfony\Component\Console\Application; +use RectorPrefix20220520\Symfony\Component\Console\Completion\CompletionInput; +use RectorPrefix20220520\Symfony\Component\Console\Completion\CompletionSuggestions; +use RectorPrefix20220520\Symfony\Component\Console\Helper\HelperSet; +use RectorPrefix20220520\Symfony\Component\Console\Input\InputDefinition; +use RectorPrefix20220520\Symfony\Component\Console\Input\InputInterface; +use RectorPrefix20220520\Symfony\Component\Console\Output\OutputInterface; /** * @author Nicolas Grekas */ -final class LazyCommand extends \RectorPrefix20220519\Symfony\Component\Console\Command\Command +final class LazyCommand extends \RectorPrefix20220520\Symfony\Component\Console\Command\Command { private $command; /** @@ -37,14 +37,14 @@ final class LazyCommand extends \RectorPrefix20220519\Symfony\Component\Console\ { $this->getCommand()->ignoreValidationErrors(); } - public function setApplication(\RectorPrefix20220519\Symfony\Component\Console\Application $application = null) : void + public function setApplication(\RectorPrefix20220520\Symfony\Component\Console\Application $application = null) : void { if ($this->command instanceof parent) { $this->command->setApplication($application); } parent::setApplication($application); } - public function setHelperSet(\RectorPrefix20220519\Symfony\Component\Console\Helper\HelperSet $helperSet) : void + public function setHelperSet(\RectorPrefix20220520\Symfony\Component\Console\Helper\HelperSet $helperSet) : void { if ($this->command instanceof parent) { $this->command->setHelperSet($helperSet); @@ -55,11 +55,11 @@ final class LazyCommand extends \RectorPrefix20220519\Symfony\Component\Console\ { return $this->isEnabled ?? $this->getCommand()->isEnabled(); } - public function run(\RectorPrefix20220519\Symfony\Component\Console\Input\InputInterface $input, \RectorPrefix20220519\Symfony\Component\Console\Output\OutputInterface $output) : int + public function run(\RectorPrefix20220520\Symfony\Component\Console\Input\InputInterface $input, \RectorPrefix20220520\Symfony\Component\Console\Output\OutputInterface $output) : int { return $this->getCommand()->run($input, $output); } - public function complete(\RectorPrefix20220519\Symfony\Component\Console\Completion\CompletionInput $input, \RectorPrefix20220519\Symfony\Component\Console\Completion\CompletionSuggestions $suggestions) : void + public function complete(\RectorPrefix20220520\Symfony\Component\Console\Completion\CompletionInput $input, \RectorPrefix20220520\Symfony\Component\Console\Completion\CompletionSuggestions $suggestions) : void { $this->getCommand()->complete($input, $suggestions); } @@ -87,11 +87,11 @@ final class LazyCommand extends \RectorPrefix20220519\Symfony\Component\Console\ $this->getCommand()->setDefinition($definition); return $this; } - public function getDefinition() : \RectorPrefix20220519\Symfony\Component\Console\Input\InputDefinition + public function getDefinition() : \RectorPrefix20220520\Symfony\Component\Console\Input\InputDefinition { return $this->getCommand()->getDefinition(); } - public function getNativeDefinition() : \RectorPrefix20220519\Symfony\Component\Console\Input\InputDefinition + public function getNativeDefinition() : \RectorPrefix20220520\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 b509609638b..75b2529c3c3 100644 --- a/vendor/symfony/console/Command/ListCommand.php +++ b/vendor/symfony/console/Command/ListCommand.php @@ -8,29 +8,29 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20220519\Symfony\Component\Console\Command; +namespace RectorPrefix20220520\Symfony\Component\Console\Command; -use RectorPrefix20220519\Symfony\Component\Console\Completion\CompletionInput; -use RectorPrefix20220519\Symfony\Component\Console\Completion\CompletionSuggestions; -use RectorPrefix20220519\Symfony\Component\Console\Descriptor\ApplicationDescription; -use RectorPrefix20220519\Symfony\Component\Console\Helper\DescriptorHelper; -use RectorPrefix20220519\Symfony\Component\Console\Input\InputArgument; -use RectorPrefix20220519\Symfony\Component\Console\Input\InputInterface; -use RectorPrefix20220519\Symfony\Component\Console\Input\InputOption; -use RectorPrefix20220519\Symfony\Component\Console\Output\OutputInterface; +use RectorPrefix20220520\Symfony\Component\Console\Completion\CompletionInput; +use RectorPrefix20220520\Symfony\Component\Console\Completion\CompletionSuggestions; +use RectorPrefix20220520\Symfony\Component\Console\Descriptor\ApplicationDescription; +use RectorPrefix20220520\Symfony\Component\Console\Helper\DescriptorHelper; +use RectorPrefix20220520\Symfony\Component\Console\Input\InputArgument; +use RectorPrefix20220520\Symfony\Component\Console\Input\InputInterface; +use RectorPrefix20220520\Symfony\Component\Console\Input\InputOption; +use RectorPrefix20220520\Symfony\Component\Console\Output\OutputInterface; /** * ListCommand displays the list of all available commands for the application. * * @author Fabien Potencier */ -class ListCommand extends \RectorPrefix20220519\Symfony\Component\Console\Command\Command +class ListCommand extends \RectorPrefix20220520\Symfony\Component\Console\Command\Command { /** * {@inheritdoc} */ protected function configure() { - $this->setName('list')->setDefinition([new \RectorPrefix20220519\Symfony\Component\Console\Input\InputArgument('namespace', \RectorPrefix20220519\Symfony\Component\Console\Input\InputArgument::OPTIONAL, 'The namespace name'), new \RectorPrefix20220519\Symfony\Component\Console\Input\InputOption('raw', null, \RectorPrefix20220519\Symfony\Component\Console\Input\InputOption::VALUE_NONE, 'To output raw command list'), new \RectorPrefix20220519\Symfony\Component\Console\Input\InputOption('format', null, \RectorPrefix20220519\Symfony\Component\Console\Input\InputOption::VALUE_REQUIRED, 'The output format (txt, xml, json, or md)', 'txt'), new \RectorPrefix20220519\Symfony\Component\Console\Input\InputOption('short', null, \RectorPrefix20220519\Symfony\Component\Console\Input\InputOption::VALUE_NONE, 'To skip describing commands\' arguments')])->setDescription('List commands')->setHelp(<<<'EOF' + $this->setName('list')->setDefinition([new \RectorPrefix20220520\Symfony\Component\Console\Input\InputArgument('namespace', \RectorPrefix20220520\Symfony\Component\Console\Input\InputArgument::OPTIONAL, 'The namespace name'), new \RectorPrefix20220520\Symfony\Component\Console\Input\InputOption('raw', null, \RectorPrefix20220520\Symfony\Component\Console\Input\InputOption::VALUE_NONE, 'To output raw command list'), new \RectorPrefix20220520\Symfony\Component\Console\Input\InputOption('format', null, \RectorPrefix20220520\Symfony\Component\Console\Input\InputOption::VALUE_REQUIRED, 'The output format (txt, xml, json, or md)', 'txt'), new \RectorPrefix20220520\Symfony\Component\Console\Input\InputOption('short', null, \RectorPrefix20220520\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% @@ -52,21 +52,21 @@ EOF /** * {@inheritdoc} */ - protected function execute(\RectorPrefix20220519\Symfony\Component\Console\Input\InputInterface $input, \RectorPrefix20220519\Symfony\Component\Console\Output\OutputInterface $output) : int + protected function execute(\RectorPrefix20220520\Symfony\Component\Console\Input\InputInterface $input, \RectorPrefix20220520\Symfony\Component\Console\Output\OutputInterface $output) : int { - $helper = new \RectorPrefix20220519\Symfony\Component\Console\Helper\DescriptorHelper(); + $helper = new \RectorPrefix20220520\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; } - public function complete(\RectorPrefix20220519\Symfony\Component\Console\Completion\CompletionInput $input, \RectorPrefix20220519\Symfony\Component\Console\Completion\CompletionSuggestions $suggestions) : void + public function complete(\RectorPrefix20220520\Symfony\Component\Console\Completion\CompletionInput $input, \RectorPrefix20220520\Symfony\Component\Console\Completion\CompletionSuggestions $suggestions) : void { if ($input->mustSuggestArgumentValuesFor('namespace')) { - $descriptor = new \RectorPrefix20220519\Symfony\Component\Console\Descriptor\ApplicationDescription($this->getApplication()); + $descriptor = new \RectorPrefix20220520\Symfony\Component\Console\Descriptor\ApplicationDescription($this->getApplication()); $suggestions->suggestValues(\array_keys($descriptor->getNamespaces())); return; } if ($input->mustSuggestOptionValuesFor('format')) { - $helper = new \RectorPrefix20220519\Symfony\Component\Console\Helper\DescriptorHelper(); + $helper = new \RectorPrefix20220520\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 5c950df6d72..71c4a03399d 100644 --- a/vendor/symfony/console/Command/LockableTrait.php +++ b/vendor/symfony/console/Command/LockableTrait.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 RectorPrefix20220519\Symfony\Component\Console\Command; +namespace RectorPrefix20220520\Symfony\Component\Console\Command; -use RectorPrefix20220519\Symfony\Component\Console\Exception\LogicException; -use RectorPrefix20220519\Symfony\Component\Lock\LockFactory; -use RectorPrefix20220519\Symfony\Component\Lock\Store\FlockStore; -use RectorPrefix20220519\Symfony\Component\Lock\Store\SemaphoreStore; +use RectorPrefix20220520\Symfony\Component\Console\Exception\LogicException; +use RectorPrefix20220520\Symfony\Component\Lock\LockFactory; +use RectorPrefix20220520\Symfony\Component\Lock\Store\FlockStore; +use RectorPrefix20220520\Symfony\Component\Lock\Store\SemaphoreStore; /** * Basic lock feature for commands. * @@ -27,18 +27,18 @@ trait LockableTrait */ private function lock(string $name = null, bool $blocking = \false) : bool { - if (!\class_exists(\RectorPrefix20220519\Symfony\Component\Lock\Store\SemaphoreStore::class)) { - throw new \RectorPrefix20220519\Symfony\Component\Console\Exception\LogicException('To enable the locking feature you must install the symfony/lock component.'); + if (!\class_exists(\RectorPrefix20220520\Symfony\Component\Lock\Store\SemaphoreStore::class)) { + throw new \RectorPrefix20220520\Symfony\Component\Console\Exception\LogicException('To enable the locking feature you must install the symfony/lock component.'); } if (null !== $this->lock) { - throw new \RectorPrefix20220519\Symfony\Component\Console\Exception\LogicException('A lock is already in place.'); + throw new \RectorPrefix20220520\Symfony\Component\Console\Exception\LogicException('A lock is already in place.'); } - if (\RectorPrefix20220519\Symfony\Component\Lock\Store\SemaphoreStore::isSupported()) { - $store = new \RectorPrefix20220519\Symfony\Component\Lock\Store\SemaphoreStore(); + if (\RectorPrefix20220520\Symfony\Component\Lock\Store\SemaphoreStore::isSupported()) { + $store = new \RectorPrefix20220520\Symfony\Component\Lock\Store\SemaphoreStore(); } else { - $store = new \RectorPrefix20220519\Symfony\Component\Lock\Store\FlockStore(); + $store = new \RectorPrefix20220520\Symfony\Component\Lock\Store\FlockStore(); } - $this->lock = (new \RectorPrefix20220519\Symfony\Component\Lock\LockFactory($store))->createLock($name ?: $this->getName()); + $this->lock = (new \RectorPrefix20220520\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 a7dc0b90330..5b697044245 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 RectorPrefix20220519\Symfony\Component\Console\Command; +namespace RectorPrefix20220520\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 a6ee8c42ee6..8b7e01ae37c 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 RectorPrefix20220519\Symfony\Component\Console\CommandLoader; +namespace RectorPrefix20220520\Symfony\Component\Console\CommandLoader; -use RectorPrefix20220519\Symfony\Component\Console\Command\Command; -use RectorPrefix20220519\Symfony\Component\Console\Exception\CommandNotFoundException; +use RectorPrefix20220520\Symfony\Component\Console\Command\Command; +use RectorPrefix20220520\Symfony\Component\Console\Exception\CommandNotFoundException; /** * @author Robin Chalas */ @@ -22,7 +22,7 @@ interface CommandLoaderInterface * * @throws CommandNotFoundException */ - public function get(string $name) : \RectorPrefix20220519\Symfony\Component\Console\Command\Command; + public function get(string $name) : \RectorPrefix20220520\Symfony\Component\Console\Command\Command; /** * Checks if a command exists. */ diff --git a/vendor/symfony/console/CommandLoader/ContainerCommandLoader.php b/vendor/symfony/console/CommandLoader/ContainerCommandLoader.php index 83414dbad82..3973889103e 100644 --- a/vendor/symfony/console/CommandLoader/ContainerCommandLoader.php +++ b/vendor/symfony/console/CommandLoader/ContainerCommandLoader.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 RectorPrefix20220519\Symfony\Component\Console\CommandLoader; +namespace RectorPrefix20220520\Symfony\Component\Console\CommandLoader; -use RectorPrefix20220519\Psr\Container\ContainerInterface; -use RectorPrefix20220519\Symfony\Component\Console\Command\Command; -use RectorPrefix20220519\Symfony\Component\Console\Exception\CommandNotFoundException; +use RectorPrefix20220520\Psr\Container\ContainerInterface; +use RectorPrefix20220520\Symfony\Component\Console\Command\Command; +use RectorPrefix20220520\Symfony\Component\Console\Exception\CommandNotFoundException; /** * Loads commands from a PSR-11 container. * * @author Robin Chalas */ -class ContainerCommandLoader implements \RectorPrefix20220519\Symfony\Component\Console\CommandLoader\CommandLoaderInterface +class ContainerCommandLoader implements \RectorPrefix20220520\Symfony\Component\Console\CommandLoader\CommandLoaderInterface { private $container; /** @@ -28,7 +28,7 @@ class ContainerCommandLoader implements \RectorPrefix20220519\Symfony\Component\ /** * @param array $commandMap An array with command names as keys and service ids as values */ - public function __construct(\RectorPrefix20220519\Psr\Container\ContainerInterface $container, array $commandMap) + public function __construct(\RectorPrefix20220520\Psr\Container\ContainerInterface $container, array $commandMap) { $this->container = $container; $this->commandMap = $commandMap; @@ -36,10 +36,10 @@ class ContainerCommandLoader implements \RectorPrefix20220519\Symfony\Component\ /** * {@inheritdoc} */ - public function get(string $name) : \RectorPrefix20220519\Symfony\Component\Console\Command\Command + public function get(string $name) : \RectorPrefix20220520\Symfony\Component\Console\Command\Command { if (!$this->has($name)) { - throw new \RectorPrefix20220519\Symfony\Component\Console\Exception\CommandNotFoundException(\sprintf('Command "%s" does not exist.', $name)); + throw new \RectorPrefix20220520\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 7e0b49bfa1f..a89a73947bb 100644 --- a/vendor/symfony/console/CommandLoader/FactoryCommandLoader.php +++ b/vendor/symfony/console/CommandLoader/FactoryCommandLoader.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 RectorPrefix20220519\Symfony\Component\Console\CommandLoader; +namespace RectorPrefix20220520\Symfony\Component\Console\CommandLoader; -use RectorPrefix20220519\Symfony\Component\Console\Command\Command; -use RectorPrefix20220519\Symfony\Component\Console\Exception\CommandNotFoundException; +use RectorPrefix20220520\Symfony\Component\Console\Command\Command; +use RectorPrefix20220520\Symfony\Component\Console\Exception\CommandNotFoundException; /** * A simple command loader using factories to instantiate commands lazily. * * @author Maxime Steinhausser */ -class FactoryCommandLoader implements \RectorPrefix20220519\Symfony\Component\Console\CommandLoader\CommandLoaderInterface +class FactoryCommandLoader implements \RectorPrefix20220520\Symfony\Component\Console\CommandLoader\CommandLoaderInterface { /** * @var mixed[] @@ -40,10 +40,10 @@ class FactoryCommandLoader implements \RectorPrefix20220519\Symfony\Component\Co /** * {@inheritdoc} */ - public function get(string $name) : \RectorPrefix20220519\Symfony\Component\Console\Command\Command + public function get(string $name) : \RectorPrefix20220520\Symfony\Component\Console\Command\Command { if (!isset($this->factories[$name])) { - throw new \RectorPrefix20220519\Symfony\Component\Console\Exception\CommandNotFoundException(\sprintf('Command "%s" does not exist.', $name)); + throw new \RectorPrefix20220520\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 index 2b0b9b1fe1b..38fca0dfea6 100644 --- a/vendor/symfony/console/Completion/CompletionInput.php +++ b/vendor/symfony/console/Completion/CompletionInput.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 RectorPrefix20220519\Symfony\Component\Console\Completion; +namespace RectorPrefix20220520\Symfony\Component\Console\Completion; -use RectorPrefix20220519\Symfony\Component\Console\Exception\RuntimeException; -use RectorPrefix20220519\Symfony\Component\Console\Input\ArgvInput; -use RectorPrefix20220519\Symfony\Component\Console\Input\InputDefinition; -use RectorPrefix20220519\Symfony\Component\Console\Input\InputOption; +use RectorPrefix20220520\Symfony\Component\Console\Exception\RuntimeException; +use RectorPrefix20220520\Symfony\Component\Console\Input\ArgvInput; +use RectorPrefix20220520\Symfony\Component\Console\Input\InputDefinition; +use RectorPrefix20220520\Symfony\Component\Console\Input\InputOption; /** * An input specialized for shell completion. * @@ -22,7 +22,7 @@ use RectorPrefix20220519\Symfony\Component\Console\Input\InputOption; * * @author Wouter de Jong */ -final class CompletionInput extends \RectorPrefix20220519\Symfony\Component\Console\Input\ArgvInput +final class CompletionInput extends \RectorPrefix20220520\Symfony\Component\Console\Input\ArgvInput { public const TYPE_ARGUMENT_VALUE = 'argument_value'; public const TYPE_OPTION_VALUE = 'option_value'; @@ -59,7 +59,7 @@ final class CompletionInput extends \RectorPrefix20220519\Symfony\Component\Cons /** * {@inheritdoc} */ - public function bind(\RectorPrefix20220519\Symfony\Component\Console\Input\InputDefinition $definition) : void + public function bind(\RectorPrefix20220520\Symfony\Component\Console\Input\InputDefinition $definition) : void { parent::bind($definition); $relevantToken = $this->getRelevantToken(); @@ -159,12 +159,12 @@ final class CompletionInput extends \RectorPrefix20220519\Symfony\Component\Cons { try { return parent::parseToken($token, $parseOptions); - } catch (\RectorPrefix20220519\Symfony\Component\Console\Exception\RuntimeException $e) { + } catch (\RectorPrefix20220520\Symfony\Component\Console\Exception\RuntimeException $e) { // suppress errors, completed input is almost never valid } return $parseOptions; } - private function getOptionFromToken(string $optionToken) : ?\RectorPrefix20220519\Symfony\Component\Console\Input\InputOption + private function getOptionFromToken(string $optionToken) : ?\RectorPrefix20220520\Symfony\Component\Console\Input\InputOption { $optionName = \ltrim($optionToken, '-'); if (!$optionName) { diff --git a/vendor/symfony/console/Completion/CompletionSuggestions.php b/vendor/symfony/console/Completion/CompletionSuggestions.php index 3152e3de9ca..7643f5ac1be 100644 --- a/vendor/symfony/console/Completion/CompletionSuggestions.php +++ b/vendor/symfony/console/Completion/CompletionSuggestions.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 RectorPrefix20220519\Symfony\Component\Console\Completion; +namespace RectorPrefix20220520\Symfony\Component\Console\Completion; -use RectorPrefix20220519\Symfony\Component\Console\Input\InputOption; +use RectorPrefix20220520\Symfony\Component\Console\Input\InputOption; /** * Stores all completion suggestions for the current input. * @@ -28,7 +28,7 @@ final class CompletionSuggestions */ public function suggestValue($value) { - $this->valueSuggestions[] = !$value instanceof \RectorPrefix20220519\Symfony\Component\Console\Completion\Suggestion ? new \RectorPrefix20220519\Symfony\Component\Console\Completion\Suggestion($value) : $value; + $this->valueSuggestions[] = !$value instanceof \RectorPrefix20220520\Symfony\Component\Console\Completion\Suggestion ? new \RectorPrefix20220520\Symfony\Component\Console\Completion\Suggestion($value) : $value; return $this; } /** @@ -50,7 +50,7 @@ final class CompletionSuggestions * * @return $this */ - public function suggestOption(\RectorPrefix20220519\Symfony\Component\Console\Input\InputOption $option) + public function suggestOption(\RectorPrefix20220520\Symfony\Component\Console\Input\InputOption $option) { $this->optionSuggestions[] = $option; return $this; diff --git a/vendor/symfony/console/Completion/Output/BashCompletionOutput.php b/vendor/symfony/console/Completion/Output/BashCompletionOutput.php index c494c7e311e..2eed782fd8b 100644 --- a/vendor/symfony/console/Completion/Output/BashCompletionOutput.php +++ b/vendor/symfony/console/Completion/Output/BashCompletionOutput.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 RectorPrefix20220519\Symfony\Component\Console\Completion\Output; +namespace RectorPrefix20220520\Symfony\Component\Console\Completion\Output; -use RectorPrefix20220519\Symfony\Component\Console\Completion\CompletionSuggestions; -use RectorPrefix20220519\Symfony\Component\Console\Output\OutputInterface; +use RectorPrefix20220520\Symfony\Component\Console\Completion\CompletionSuggestions; +use RectorPrefix20220520\Symfony\Component\Console\Output\OutputInterface; /** * @author Wouter de Jong */ -class BashCompletionOutput implements \RectorPrefix20220519\Symfony\Component\Console\Completion\Output\CompletionOutputInterface +class BashCompletionOutput implements \RectorPrefix20220520\Symfony\Component\Console\Completion\Output\CompletionOutputInterface { - public function write(\RectorPrefix20220519\Symfony\Component\Console\Completion\CompletionSuggestions $suggestions, \RectorPrefix20220519\Symfony\Component\Console\Output\OutputInterface $output) : void + public function write(\RectorPrefix20220520\Symfony\Component\Console\Completion\CompletionSuggestions $suggestions, \RectorPrefix20220520\Symfony\Component\Console\Output\OutputInterface $output) : void { $values = $suggestions->getValueSuggestions(); foreach ($suggestions->getOptionSuggestions() as $option) { diff --git a/vendor/symfony/console/Completion/Output/CompletionOutputInterface.php b/vendor/symfony/console/Completion/Output/CompletionOutputInterface.php index 33dc3ed7e46..6c2a6719c90 100644 --- a/vendor/symfony/console/Completion/Output/CompletionOutputInterface.php +++ b/vendor/symfony/console/Completion/Output/CompletionOutputInterface.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 RectorPrefix20220519\Symfony\Component\Console\Completion\Output; +namespace RectorPrefix20220520\Symfony\Component\Console\Completion\Output; -use RectorPrefix20220519\Symfony\Component\Console\Completion\CompletionSuggestions; -use RectorPrefix20220519\Symfony\Component\Console\Output\OutputInterface; +use RectorPrefix20220520\Symfony\Component\Console\Completion\CompletionSuggestions; +use RectorPrefix20220520\Symfony\Component\Console\Output\OutputInterface; /** * Transforms the {@see CompletionSuggestions} object into output readable by the shell completion. * @@ -19,5 +19,5 @@ use RectorPrefix20220519\Symfony\Component\Console\Output\OutputInterface; */ interface CompletionOutputInterface { - public function write(\RectorPrefix20220519\Symfony\Component\Console\Completion\CompletionSuggestions $suggestions, \RectorPrefix20220519\Symfony\Component\Console\Output\OutputInterface $output) : void; + public function write(\RectorPrefix20220520\Symfony\Component\Console\Completion\CompletionSuggestions $suggestions, \RectorPrefix20220520\Symfony\Component\Console\Output\OutputInterface $output) : void; } diff --git a/vendor/symfony/console/Completion/Suggestion.php b/vendor/symfony/console/Completion/Suggestion.php index e8e564b5de5..376555f01a5 100644 --- a/vendor/symfony/console/Completion/Suggestion.php +++ b/vendor/symfony/console/Completion/Suggestion.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 RectorPrefix20220519\Symfony\Component\Console\Completion; +namespace RectorPrefix20220520\Symfony\Component\Console\Completion; /** * Represents a single suggested value. diff --git a/vendor/symfony/console/ConsoleEvents.php b/vendor/symfony/console/ConsoleEvents.php index a58d9709991..38e94e0d10d 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 RectorPrefix20220519\Symfony\Component\Console; +namespace RectorPrefix20220520\Symfony\Component\Console; -use RectorPrefix20220519\Symfony\Component\Console\Event\ConsoleCommandEvent; -use RectorPrefix20220519\Symfony\Component\Console\Event\ConsoleErrorEvent; -use RectorPrefix20220519\Symfony\Component\Console\Event\ConsoleSignalEvent; -use RectorPrefix20220519\Symfony\Component\Console\Event\ConsoleTerminateEvent; +use RectorPrefix20220520\Symfony\Component\Console\Event\ConsoleCommandEvent; +use RectorPrefix20220520\Symfony\Component\Console\Event\ConsoleErrorEvent; +use RectorPrefix20220520\Symfony\Component\Console\Event\ConsoleSignalEvent; +use RectorPrefix20220520\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 = [\RectorPrefix20220519\Symfony\Component\Console\Event\ConsoleCommandEvent::class => self::COMMAND, \RectorPrefix20220519\Symfony\Component\Console\Event\ConsoleErrorEvent::class => self::ERROR, \RectorPrefix20220519\Symfony\Component\Console\Event\ConsoleSignalEvent::class => self::SIGNAL, \RectorPrefix20220519\Symfony\Component\Console\Event\ConsoleTerminateEvent::class => self::TERMINATE]; + public const ALIASES = [\RectorPrefix20220520\Symfony\Component\Console\Event\ConsoleCommandEvent::class => self::COMMAND, \RectorPrefix20220520\Symfony\Component\Console\Event\ConsoleErrorEvent::class => self::ERROR, \RectorPrefix20220520\Symfony\Component\Console\Event\ConsoleSignalEvent::class => self::SIGNAL, \RectorPrefix20220520\Symfony\Component\Console\Event\ConsoleTerminateEvent::class => self::TERMINATE]; } diff --git a/vendor/symfony/console/Cursor.php b/vendor/symfony/console/Cursor.php index c830d660d0b..90137712a6f 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 RectorPrefix20220519\Symfony\Component\Console; +namespace RectorPrefix20220520\Symfony\Component\Console; -use RectorPrefix20220519\Symfony\Component\Console\Output\OutputInterface; +use RectorPrefix20220520\Symfony\Component\Console\Output\OutputInterface; /** * @author Pierre du Plessis */ @@ -21,7 +21,7 @@ final class Cursor /** * @param resource|null $input */ - public function __construct(\RectorPrefix20220519\Symfony\Component\Console\Output\OutputInterface $output, $input = null) + public function __construct(\RectorPrefix20220520\Symfony\Component\Console\Output\OutputInterface $output, $input = null) { $this->output = $output; $this->input = $input ?? (\defined('STDIN') ? \STDIN : \fopen('php://input', 'r+')); diff --git a/vendor/symfony/console/DependencyInjection/AddConsoleCommandPass.php b/vendor/symfony/console/DependencyInjection/AddConsoleCommandPass.php index 6946dcf1a65..8a2e23043e1 100644 --- a/vendor/symfony/console/DependencyInjection/AddConsoleCommandPass.php +++ b/vendor/symfony/console/DependencyInjection/AddConsoleCommandPass.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 RectorPrefix20220519\Symfony\Component\Console\DependencyInjection; +namespace RectorPrefix20220520\Symfony\Component\Console\DependencyInjection; -use RectorPrefix20220519\Symfony\Component\Console\Command\Command; -use RectorPrefix20220519\Symfony\Component\Console\Command\LazyCommand; -use RectorPrefix20220519\Symfony\Component\Console\CommandLoader\ContainerCommandLoader; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Argument\ServiceClosureArgument; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Compiler\ServiceLocatorTagPass; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerBuilder; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Reference; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\TypedReference; +use RectorPrefix20220520\Symfony\Component\Console\Command\Command; +use RectorPrefix20220520\Symfony\Component\Console\Command\LazyCommand; +use RectorPrefix20220520\Symfony\Component\Console\CommandLoader\ContainerCommandLoader; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Argument\ServiceClosureArgument; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Compiler\ServiceLocatorTagPass; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\ContainerBuilder; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Reference; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\TypedReference; /** * Registers console commands. * * @author Grégoire Pineau */ -class AddConsoleCommandPass implements \RectorPrefix20220519\Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface +class AddConsoleCommandPass implements \RectorPrefix20220520\Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface { - public function process(\RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerBuilder $container) + public function process(\RectorPrefix20220520\Symfony\Component\DependencyInjection\ContainerBuilder $container) { $commandServices = $container->findTaggedServiceIds('console.command', \true); $lazyCommandMap = []; @@ -41,10 +41,10 @@ class AddConsoleCommandPass implements \RectorPrefix20220519\Symfony\Component\D $aliases = $tags[0]['command']; } else { if (!($r = $container->getReflectionClass($class))) { - throw new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('Class "%s" used for service "%s" cannot be found.', $class, $id)); + throw new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('Class "%s" used for service "%s" cannot be found.', $class, $id)); } - if (!$r->isSubclassOf(\RectorPrefix20220519\Symfony\Component\Console\Command\Command::class)) { - throw new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('The service "%s" tagged "%s" must be a subclass of "%s".', $id, 'console.command', \RectorPrefix20220519\Symfony\Component\Console\Command\Command::class)); + if (!$r->isSubclassOf(\RectorPrefix20220520\Symfony\Component\Console\Command\Command::class)) { + throw new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('The service "%s" tagged "%s" must be a subclass of "%s".', $id, 'console.command', \RectorPrefix20220520\Symfony\Component\Console\Command\Command::class)); } $aliases = $class::getDefaultName(); } @@ -65,7 +65,7 @@ class AddConsoleCommandPass implements \RectorPrefix20220519\Symfony\Component\D $description = $tags[0]['description'] ?? null; unset($tags[0]); $lazyCommandMap[$commandName] = $id; - $lazyCommandRefs[$id] = new \RectorPrefix20220519\Symfony\Component\DependencyInjection\TypedReference($id, $class); + $lazyCommandRefs[$id] = new \RectorPrefix20220520\Symfony\Component\DependencyInjection\TypedReference($id, $class); foreach ($aliases as $alias) { $lazyCommandMap[$alias] = $id; } @@ -85,20 +85,20 @@ class AddConsoleCommandPass implements \RectorPrefix20220519\Symfony\Component\D } if (!$description) { if (!($r = $container->getReflectionClass($class))) { - throw new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('Class "%s" used for service "%s" cannot be found.', $class, $id)); + throw new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('Class "%s" used for service "%s" cannot be found.', $class, $id)); } - if (!$r->isSubclassOf(\RectorPrefix20220519\Symfony\Component\Console\Command\Command::class)) { - throw new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('The service "%s" tagged "%s" must be a subclass of "%s".', $id, 'console.command', \RectorPrefix20220519\Symfony\Component\Console\Command\Command::class)); + if (!$r->isSubclassOf(\RectorPrefix20220520\Symfony\Component\Console\Command\Command::class)) { + throw new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('The service "%s" tagged "%s" must be a subclass of "%s".', $id, 'console.command', \RectorPrefix20220520\Symfony\Component\Console\Command\Command::class)); } $description = $class::getDefaultDescription(); } if ($description) { $definition->addMethodCall('setDescription', [$description]); - $container->register('.' . $id . '.lazy', \RectorPrefix20220519\Symfony\Component\Console\Command\LazyCommand::class)->setArguments([$commandName, $aliases, $description, $isHidden, new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Argument\ServiceClosureArgument($lazyCommandRefs[$id])]); - $lazyCommandRefs[$id] = new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Reference('.' . $id . '.lazy'); + $container->register('.' . $id . '.lazy', \RectorPrefix20220520\Symfony\Component\Console\Command\LazyCommand::class)->setArguments([$commandName, $aliases, $description, $isHidden, new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Argument\ServiceClosureArgument($lazyCommandRefs[$id])]); + $lazyCommandRefs[$id] = new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Reference('.' . $id . '.lazy'); } } - $container->register('console.command_loader', \RectorPrefix20220519\Symfony\Component\Console\CommandLoader\ContainerCommandLoader::class)->setPublic(\true)->addTag('container.no_preload')->setArguments([\RectorPrefix20220519\Symfony\Component\DependencyInjection\Compiler\ServiceLocatorTagPass::register($container, $lazyCommandRefs), $lazyCommandMap]); + $container->register('console.command_loader', \RectorPrefix20220520\Symfony\Component\Console\CommandLoader\ContainerCommandLoader::class)->setPublic(\true)->addTag('container.no_preload')->setArguments([\RectorPrefix20220520\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 d5f0e8a15f8..1cb60dc9be0 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 RectorPrefix20220519\Symfony\Component\Console\Descriptor; +namespace RectorPrefix20220520\Symfony\Component\Console\Descriptor; -use RectorPrefix20220519\Symfony\Component\Console\Application; -use RectorPrefix20220519\Symfony\Component\Console\Command\Command; -use RectorPrefix20220519\Symfony\Component\Console\Exception\CommandNotFoundException; +use RectorPrefix20220520\Symfony\Component\Console\Application; +use RectorPrefix20220520\Symfony\Component\Console\Command\Command; +use RectorPrefix20220520\Symfony\Component\Console\Exception\CommandNotFoundException; /** * @author Jean-François Simon * @@ -42,7 +42,7 @@ class ApplicationDescription * @var array */ private $aliases = []; - public function __construct(\RectorPrefix20220519\Symfony\Component\Console\Application $application, string $namespace = null, bool $showHidden = \false) + public function __construct(\RectorPrefix20220520\Symfony\Component\Console\Application $application, string $namespace = null, bool $showHidden = \false) { $this->application = $application; $this->namespace = $namespace; @@ -68,10 +68,10 @@ class ApplicationDescription /** * @throws CommandNotFoundException */ - public function getCommand(string $name) : \RectorPrefix20220519\Symfony\Component\Console\Command\Command + public function getCommand(string $name) : \RectorPrefix20220520\Symfony\Component\Console\Command\Command { if (!isset($this->commands[$name]) && !isset($this->aliases[$name])) { - throw new \RectorPrefix20220519\Symfony\Component\Console\Exception\CommandNotFoundException(\sprintf('Command "%s" does not exist.', $name)); + throw new \RectorPrefix20220520\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 dbe6f07c40a..8a5a6acdc66 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 RectorPrefix20220519\Symfony\Component\Console\Descriptor; +namespace RectorPrefix20220520\Symfony\Component\Console\Descriptor; -use RectorPrefix20220519\Symfony\Component\Console\Application; -use RectorPrefix20220519\Symfony\Component\Console\Command\Command; -use RectorPrefix20220519\Symfony\Component\Console\Exception\InvalidArgumentException; -use RectorPrefix20220519\Symfony\Component\Console\Input\InputArgument; -use RectorPrefix20220519\Symfony\Component\Console\Input\InputDefinition; -use RectorPrefix20220519\Symfony\Component\Console\Input\InputOption; -use RectorPrefix20220519\Symfony\Component\Console\Output\OutputInterface; +use RectorPrefix20220520\Symfony\Component\Console\Application; +use RectorPrefix20220520\Symfony\Component\Console\Command\Command; +use RectorPrefix20220520\Symfony\Component\Console\Exception\InvalidArgumentException; +use RectorPrefix20220520\Symfony\Component\Console\Input\InputArgument; +use RectorPrefix20220520\Symfony\Component\Console\Input\InputDefinition; +use RectorPrefix20220520\Symfony\Component\Console\Input\InputOption; +use RectorPrefix20220520\Symfony\Component\Console\Output\OutputInterface; /** * @author Jean-François Simon * * @internal */ -abstract class Descriptor implements \RectorPrefix20220519\Symfony\Component\Console\Descriptor\DescriptorInterface +abstract class Descriptor implements \RectorPrefix20220520\Symfony\Component\Console\Descriptor\DescriptorInterface { /** * @var OutputInterface @@ -31,27 +31,27 @@ abstract class Descriptor implements \RectorPrefix20220519\Symfony\Component\Con /** * {@inheritdoc} */ - public function describe(\RectorPrefix20220519\Symfony\Component\Console\Output\OutputInterface $output, object $object, array $options = []) + public function describe(\RectorPrefix20220520\Symfony\Component\Console\Output\OutputInterface $output, object $object, array $options = []) { $this->output = $output; switch (\true) { - case $object instanceof \RectorPrefix20220519\Symfony\Component\Console\Input\InputArgument: + case $object instanceof \RectorPrefix20220520\Symfony\Component\Console\Input\InputArgument: $this->describeInputArgument($object, $options); break; - case $object instanceof \RectorPrefix20220519\Symfony\Component\Console\Input\InputOption: + case $object instanceof \RectorPrefix20220520\Symfony\Component\Console\Input\InputOption: $this->describeInputOption($object, $options); break; - case $object instanceof \RectorPrefix20220519\Symfony\Component\Console\Input\InputDefinition: + case $object instanceof \RectorPrefix20220520\Symfony\Component\Console\Input\InputDefinition: $this->describeInputDefinition($object, $options); break; - case $object instanceof \RectorPrefix20220519\Symfony\Component\Console\Command\Command: + case $object instanceof \RectorPrefix20220520\Symfony\Component\Console\Command\Command: $this->describeCommand($object, $options); break; - case $object instanceof \RectorPrefix20220519\Symfony\Component\Console\Application: + case $object instanceof \RectorPrefix20220520\Symfony\Component\Console\Application: $this->describeApplication($object, $options); break; default: - throw new \RectorPrefix20220519\Symfony\Component\Console\Exception\InvalidArgumentException(\sprintf('Object of type "%s" is not describable.', \get_debug_type($object))); + throw new \RectorPrefix20220520\Symfony\Component\Console\Exception\InvalidArgumentException(\sprintf('Object of type "%s" is not describable.', \get_debug_type($object))); } } /** @@ -59,26 +59,26 @@ abstract class Descriptor implements \RectorPrefix20220519\Symfony\Component\Con */ protected function write(string $content, bool $decorated = \false) { - $this->output->write($content, \false, $decorated ? \RectorPrefix20220519\Symfony\Component\Console\Output\OutputInterface::OUTPUT_NORMAL : \RectorPrefix20220519\Symfony\Component\Console\Output\OutputInterface::OUTPUT_RAW); + $this->output->write($content, \false, $decorated ? \RectorPrefix20220520\Symfony\Component\Console\Output\OutputInterface::OUTPUT_NORMAL : \RectorPrefix20220520\Symfony\Component\Console\Output\OutputInterface::OUTPUT_RAW); } /** * Describes an InputArgument instance. */ - protected abstract function describeInputArgument(\RectorPrefix20220519\Symfony\Component\Console\Input\InputArgument $argument, array $options = []); + protected abstract function describeInputArgument(\RectorPrefix20220520\Symfony\Component\Console\Input\InputArgument $argument, array $options = []); /** * Describes an InputOption instance. */ - protected abstract function describeInputOption(\RectorPrefix20220519\Symfony\Component\Console\Input\InputOption $option, array $options = []); + protected abstract function describeInputOption(\RectorPrefix20220520\Symfony\Component\Console\Input\InputOption $option, array $options = []); /** * Describes an InputDefinition instance. */ - protected abstract function describeInputDefinition(\RectorPrefix20220519\Symfony\Component\Console\Input\InputDefinition $definition, array $options = []); + protected abstract function describeInputDefinition(\RectorPrefix20220520\Symfony\Component\Console\Input\InputDefinition $definition, array $options = []); /** * Describes a Command instance. */ - protected abstract function describeCommand(\RectorPrefix20220519\Symfony\Component\Console\Command\Command $command, array $options = []); + protected abstract function describeCommand(\RectorPrefix20220520\Symfony\Component\Console\Command\Command $command, array $options = []); /** * Describes an Application instance. */ - protected abstract function describeApplication(\RectorPrefix20220519\Symfony\Component\Console\Application $application, array $options = []); + protected abstract function describeApplication(\RectorPrefix20220520\Symfony\Component\Console\Application $application, array $options = []); } diff --git a/vendor/symfony/console/Descriptor/DescriptorInterface.php b/vendor/symfony/console/Descriptor/DescriptorInterface.php index 66772f3f3ba..304a5bf11a9 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 RectorPrefix20220519\Symfony\Component\Console\Descriptor; +namespace RectorPrefix20220520\Symfony\Component\Console\Descriptor; -use RectorPrefix20220519\Symfony\Component\Console\Output\OutputInterface; +use RectorPrefix20220520\Symfony\Component\Console\Output\OutputInterface; /** * Descriptor interface. * @@ -18,5 +18,5 @@ use RectorPrefix20220519\Symfony\Component\Console\Output\OutputInterface; */ interface DescriptorInterface { - public function describe(\RectorPrefix20220519\Symfony\Component\Console\Output\OutputInterface $output, object $object, array $options = []); + public function describe(\RectorPrefix20220520\Symfony\Component\Console\Output\OutputInterface $output, object $object, array $options = []); } diff --git a/vendor/symfony/console/Descriptor/JsonDescriptor.php b/vendor/symfony/console/Descriptor/JsonDescriptor.php index cacf208ac53..a1f77e6ff69 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 RectorPrefix20220519\Symfony\Component\Console\Descriptor; +namespace RectorPrefix20220520\Symfony\Component\Console\Descriptor; -use RectorPrefix20220519\Symfony\Component\Console\Application; -use RectorPrefix20220519\Symfony\Component\Console\Command\Command; -use RectorPrefix20220519\Symfony\Component\Console\Input\InputArgument; -use RectorPrefix20220519\Symfony\Component\Console\Input\InputDefinition; -use RectorPrefix20220519\Symfony\Component\Console\Input\InputOption; +use RectorPrefix20220520\Symfony\Component\Console\Application; +use RectorPrefix20220520\Symfony\Component\Console\Command\Command; +use RectorPrefix20220520\Symfony\Component\Console\Input\InputArgument; +use RectorPrefix20220520\Symfony\Component\Console\Input\InputDefinition; +use RectorPrefix20220520\Symfony\Component\Console\Input\InputOption; /** * JSON descriptor. * @@ -22,19 +22,19 @@ use RectorPrefix20220519\Symfony\Component\Console\Input\InputOption; * * @internal */ -class JsonDescriptor extends \RectorPrefix20220519\Symfony\Component\Console\Descriptor\Descriptor +class JsonDescriptor extends \RectorPrefix20220520\Symfony\Component\Console\Descriptor\Descriptor { /** * {@inheritdoc} */ - protected function describeInputArgument(\RectorPrefix20220519\Symfony\Component\Console\Input\InputArgument $argument, array $options = []) + protected function describeInputArgument(\RectorPrefix20220520\Symfony\Component\Console\Input\InputArgument $argument, array $options = []) { $this->writeData($this->getInputArgumentData($argument), $options); } /** * {@inheritdoc} */ - protected function describeInputOption(\RectorPrefix20220519\Symfony\Component\Console\Input\InputOption $option, array $options = []) + protected function describeInputOption(\RectorPrefix20220520\Symfony\Component\Console\Input\InputOption $option, array $options = []) { $this->writeData($this->getInputOptionData($option), $options); if ($option->isNegatable()) { @@ -44,24 +44,24 @@ class JsonDescriptor extends \RectorPrefix20220519\Symfony\Component\Console\Des /** * {@inheritdoc} */ - protected function describeInputDefinition(\RectorPrefix20220519\Symfony\Component\Console\Input\InputDefinition $definition, array $options = []) + protected function describeInputDefinition(\RectorPrefix20220520\Symfony\Component\Console\Input\InputDefinition $definition, array $options = []) { $this->writeData($this->getInputDefinitionData($definition), $options); } /** * {@inheritdoc} */ - protected function describeCommand(\RectorPrefix20220519\Symfony\Component\Console\Command\Command $command, array $options = []) + protected function describeCommand(\RectorPrefix20220520\Symfony\Component\Console\Command\Command $command, array $options = []) { $this->writeData($this->getCommandData($command, $options['short'] ?? \false), $options); } /** * {@inheritdoc} */ - protected function describeApplication(\RectorPrefix20220519\Symfony\Component\Console\Application $application, array $options = []) + protected function describeApplication(\RectorPrefix20220520\Symfony\Component\Console\Application $application, array $options = []) { $describedNamespace = $options['namespace'] ?? null; - $description = new \RectorPrefix20220519\Symfony\Component\Console\Descriptor\ApplicationDescription($application, $describedNamespace, \true); + $description = new \RectorPrefix20220520\Symfony\Component\Console\Descriptor\ApplicationDescription($application, $describedNamespace, \true); $commands = []; foreach ($description->getCommands() as $command) { $commands[] = $this->getCommandData($command, $options['short'] ?? \false); @@ -89,15 +89,15 @@ class JsonDescriptor extends \RectorPrefix20220519\Symfony\Component\Console\Des $flags = $options['json_encoding'] ?? 0; $this->write(\json_encode($data, $flags)); } - private function getInputArgumentData(\RectorPrefix20220519\Symfony\Component\Console\Input\InputArgument $argument) : array + private function getInputArgumentData(\RectorPrefix20220520\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(\RectorPrefix20220519\Symfony\Component\Console\Input\InputOption $option, bool $negated = \false) : array + private function getInputOptionData(\RectorPrefix20220520\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(\RectorPrefix20220519\Symfony\Component\Console\Input\InputDefinition $definition) : array + private function getInputDefinitionData(\RectorPrefix20220520\Symfony\Component\Console\Input\InputDefinition $definition) : array { $inputArguments = []; foreach ($definition->getArguments() as $name => $argument) { @@ -112,7 +112,7 @@ class JsonDescriptor extends \RectorPrefix20220519\Symfony\Component\Console\Des } return ['arguments' => $inputArguments, 'options' => $inputOptions]; } - private function getCommandData(\RectorPrefix20220519\Symfony\Component\Console\Command\Command $command, bool $short = \false) : array + private function getCommandData(\RectorPrefix20220520\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 0d1726949a3..88960c16c6e 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 RectorPrefix20220519\Symfony\Component\Console\Descriptor; +namespace RectorPrefix20220520\Symfony\Component\Console\Descriptor; -use RectorPrefix20220519\Symfony\Component\Console\Application; -use RectorPrefix20220519\Symfony\Component\Console\Command\Command; -use RectorPrefix20220519\Symfony\Component\Console\Helper\Helper; -use RectorPrefix20220519\Symfony\Component\Console\Input\InputArgument; -use RectorPrefix20220519\Symfony\Component\Console\Input\InputDefinition; -use RectorPrefix20220519\Symfony\Component\Console\Input\InputOption; -use RectorPrefix20220519\Symfony\Component\Console\Output\OutputInterface; +use RectorPrefix20220520\Symfony\Component\Console\Application; +use RectorPrefix20220520\Symfony\Component\Console\Command\Command; +use RectorPrefix20220520\Symfony\Component\Console\Helper\Helper; +use RectorPrefix20220520\Symfony\Component\Console\Input\InputArgument; +use RectorPrefix20220520\Symfony\Component\Console\Input\InputDefinition; +use RectorPrefix20220520\Symfony\Component\Console\Input\InputOption; +use RectorPrefix20220520\Symfony\Component\Console\Output\OutputInterface; /** * Markdown descriptor. * @@ -24,12 +24,12 @@ use RectorPrefix20220519\Symfony\Component\Console\Output\OutputInterface; * * @internal */ -class MarkdownDescriptor extends \RectorPrefix20220519\Symfony\Component\Console\Descriptor\Descriptor +class MarkdownDescriptor extends \RectorPrefix20220520\Symfony\Component\Console\Descriptor\Descriptor { /** * {@inheritdoc} */ - public function describe(\RectorPrefix20220519\Symfony\Component\Console\Output\OutputInterface $output, object $object, array $options = []) + public function describe(\RectorPrefix20220520\Symfony\Component\Console\Output\OutputInterface $output, object $object, array $options = []) { $decorated = $output->isDecorated(); $output->setDecorated(\false); @@ -46,14 +46,14 @@ class MarkdownDescriptor extends \RectorPrefix20220519\Symfony\Component\Console /** * {@inheritdoc} */ - protected function describeInputArgument(\RectorPrefix20220519\Symfony\Component\Console\Input\InputArgument $argument, array $options = []) + protected function describeInputArgument(\RectorPrefix20220520\Symfony\Component\Console\Input\InputArgument $argument, array $options = []) { $this->write('#### `' . ($argument->getName() ?: '') . "`\n\n" . ($argument->getDescription() ? \preg_replace('/\\s*[\\r\\n]\\s*/', "\n", $argument->getDescription()) . "\n\n" : '') . '* Is required: ' . ($argument->isRequired() ? 'yes' : 'no') . "\n" . '* Is array: ' . ($argument->isArray() ? 'yes' : 'no') . "\n" . '* Default: `' . \str_replace("\n", '', \var_export($argument->getDefault(), \true)) . '`'); } /** * {@inheritdoc} */ - protected function describeInputOption(\RectorPrefix20220519\Symfony\Component\Console\Input\InputOption $option, array $options = []) + protected function describeInputOption(\RectorPrefix20220520\Symfony\Component\Console\Input\InputOption $option, array $options = []) { $name = '--' . $option->getName(); if ($option->isNegatable()) { @@ -67,7 +67,7 @@ class MarkdownDescriptor extends \RectorPrefix20220519\Symfony\Component\Console /** * {@inheritdoc} */ - protected function describeInputDefinition(\RectorPrefix20220519\Symfony\Component\Console\Input\InputDefinition $definition, array $options = []) + protected function describeInputDefinition(\RectorPrefix20220520\Symfony\Component\Console\Input\InputDefinition $definition, array $options = []) { if ($showArguments = \count($definition->getArguments()) > 0) { $this->write('### Arguments'); @@ -94,16 +94,16 @@ class MarkdownDescriptor extends \RectorPrefix20220519\Symfony\Component\Console /** * {@inheritdoc} */ - protected function describeCommand(\RectorPrefix20220519\Symfony\Component\Console\Command\Command $command, array $options = []) + protected function describeCommand(\RectorPrefix20220520\Symfony\Component\Console\Command\Command $command, array $options = []) { if ($options['short'] ?? \false) { - $this->write('`' . $command->getName() . "`\n" . \str_repeat('-', \RectorPrefix20220519\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('-', \RectorPrefix20220520\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('-', \RectorPrefix20220519\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('-', \RectorPrefix20220520\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()) { @@ -119,14 +119,14 @@ class MarkdownDescriptor extends \RectorPrefix20220519\Symfony\Component\Console /** * {@inheritdoc} */ - protected function describeApplication(\RectorPrefix20220519\Symfony\Component\Console\Application $application, array $options = []) + protected function describeApplication(\RectorPrefix20220520\Symfony\Component\Console\Application $application, array $options = []) { $describedNamespace = $options['namespace'] ?? null; - $description = new \RectorPrefix20220519\Symfony\Component\Console\Descriptor\ApplicationDescription($application, $describedNamespace); + $description = new \RectorPrefix20220520\Symfony\Component\Console\Descriptor\ApplicationDescription($application, $describedNamespace); $title = $this->getApplicationTitle($application); - $this->write($title . "\n" . \str_repeat('=', \RectorPrefix20220519\Symfony\Component\Console\Helper\Helper::width($title))); + $this->write($title . "\n" . \str_repeat('=', \RectorPrefix20220520\Symfony\Component\Console\Helper\Helper::width($title))); foreach ($description->getNamespaces() as $namespace) { - if (\RectorPrefix20220519\Symfony\Component\Console\Descriptor\ApplicationDescription::GLOBAL_NAMESPACE !== $namespace['id']) { + if (\RectorPrefix20220520\Symfony\Component\Console\Descriptor\ApplicationDescription::GLOBAL_NAMESPACE !== $namespace['id']) { $this->write("\n\n"); $this->write('**' . $namespace['id'] . ':**'); } @@ -142,7 +142,7 @@ class MarkdownDescriptor extends \RectorPrefix20220519\Symfony\Component\Console } } } - private function getApplicationTitle(\RectorPrefix20220519\Symfony\Component\Console\Application $application) : string + private function getApplicationTitle(\RectorPrefix20220520\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 66c6c236c3f..f9482d41dcd 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 RectorPrefix20220519\Symfony\Component\Console\Descriptor; +namespace RectorPrefix20220520\Symfony\Component\Console\Descriptor; -use RectorPrefix20220519\Symfony\Component\Console\Application; -use RectorPrefix20220519\Symfony\Component\Console\Command\Command; -use RectorPrefix20220519\Symfony\Component\Console\Formatter\OutputFormatter; -use RectorPrefix20220519\Symfony\Component\Console\Helper\Helper; -use RectorPrefix20220519\Symfony\Component\Console\Input\InputArgument; -use RectorPrefix20220519\Symfony\Component\Console\Input\InputDefinition; -use RectorPrefix20220519\Symfony\Component\Console\Input\InputOption; +use RectorPrefix20220520\Symfony\Component\Console\Application; +use RectorPrefix20220520\Symfony\Component\Console\Command\Command; +use RectorPrefix20220520\Symfony\Component\Console\Formatter\OutputFormatter; +use RectorPrefix20220520\Symfony\Component\Console\Helper\Helper; +use RectorPrefix20220520\Symfony\Component\Console\Input\InputArgument; +use RectorPrefix20220520\Symfony\Component\Console\Input\InputDefinition; +use RectorPrefix20220520\Symfony\Component\Console\Input\InputOption; /** * Text descriptor. * @@ -24,19 +24,19 @@ use RectorPrefix20220519\Symfony\Component\Console\Input\InputOption; * * @internal */ -class TextDescriptor extends \RectorPrefix20220519\Symfony\Component\Console\Descriptor\Descriptor +class TextDescriptor extends \RectorPrefix20220520\Symfony\Component\Console\Descriptor\Descriptor { /** * {@inheritdoc} */ - protected function describeInputArgument(\RectorPrefix20220519\Symfony\Component\Console\Input\InputArgument $argument, array $options = []) + protected function describeInputArgument(\RectorPrefix20220520\Symfony\Component\Console\Input\InputArgument $argument, array $options = []) { if (null !== $argument->getDefault() && (!\is_array($argument->getDefault()) || \count($argument->getDefault()))) { $default = \sprintf(' [default: %s]', $this->formatDefaultValue($argument->getDefault())); } else { $default = ''; } - $totalWidth = $options['total_width'] ?? \RectorPrefix20220519\Symfony\Component\Console\Helper\Helper::width($argument->getName()); + $totalWidth = $options['total_width'] ?? \RectorPrefix20220520\Symfony\Component\Console\Helper\Helper::width($argument->getName()); $spacingWidth = $totalWidth - \strlen($argument->getName()); $this->writeText(\sprintf( ' %s %s%s%s', @@ -50,7 +50,7 @@ class TextDescriptor extends \RectorPrefix20220519\Symfony\Component\Console\Des /** * {@inheritdoc} */ - protected function describeInputOption(\RectorPrefix20220519\Symfony\Component\Console\Input\InputOption $option, array $options = []) + protected function describeInputOption(\RectorPrefix20220520\Symfony\Component\Console\Input\InputOption $option, array $options = []) { if ($option->acceptValue() && null !== $option->getDefault() && (!\is_array($option->getDefault()) || \count($option->getDefault()))) { $default = \sprintf(' [default: %s]', $this->formatDefaultValue($option->getDefault())); @@ -66,7 +66,7 @@ class TextDescriptor extends \RectorPrefix20220519\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 - \RectorPrefix20220519\Symfony\Component\Console\Helper\Helper::width($synopsis); + $spacingWidth = $totalWidth - \RectorPrefix20220520\Symfony\Component\Console\Helper\Helper::width($synopsis); $this->writeText(\sprintf( ' %s %s%s%s%s', $synopsis, @@ -80,11 +80,11 @@ class TextDescriptor extends \RectorPrefix20220519\Symfony\Component\Console\Des /** * {@inheritdoc} */ - protected function describeInputDefinition(\RectorPrefix20220519\Symfony\Component\Console\Input\InputDefinition $definition, array $options = []) + protected function describeInputDefinition(\RectorPrefix20220520\Symfony\Component\Console\Input\InputDefinition $definition, array $options = []) { $totalWidth = $this->calculateTotalWidthForOptions($definition->getOptions()); foreach ($definition->getArguments() as $argument) { - $totalWidth = \max($totalWidth, \RectorPrefix20220519\Symfony\Component\Console\Helper\Helper::width($argument->getName())); + $totalWidth = \max($totalWidth, \RectorPrefix20220520\Symfony\Component\Console\Helper\Helper::width($argument->getName())); } if ($definition->getArguments()) { $this->writeText('Arguments:', $options); @@ -117,7 +117,7 @@ class TextDescriptor extends \RectorPrefix20220519\Symfony\Component\Console\Des /** * {@inheritdoc} */ - protected function describeCommand(\RectorPrefix20220519\Symfony\Component\Console\Command\Command $command, array $options = []) + protected function describeCommand(\RectorPrefix20220520\Symfony\Component\Console\Command\Command $command, array $options = []) { $command->mergeApplicationDefinition(\false); if ($description = $command->getDescription()) { @@ -129,7 +129,7 @@ class TextDescriptor extends \RectorPrefix20220519\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(' ' . \RectorPrefix20220519\Symfony\Component\Console\Formatter\OutputFormatter::escape($usage), $options); + $this->writeText(' ' . \RectorPrefix20220520\Symfony\Component\Console\Formatter\OutputFormatter::escape($usage), $options); } $this->writeText("\n"); $definition = $command->getDefinition(); @@ -150,10 +150,10 @@ class TextDescriptor extends \RectorPrefix20220519\Symfony\Component\Console\Des /** * {@inheritdoc} */ - protected function describeApplication(\RectorPrefix20220519\Symfony\Component\Console\Application $application, array $options = []) + protected function describeApplication(\RectorPrefix20220520\Symfony\Component\Console\Application $application, array $options = []) { $describedNamespace = $options['namespace'] ?? null; - $description = new \RectorPrefix20220519\Symfony\Component\Console\Descriptor\ApplicationDescription($application, $describedNamespace); + $description = new \RectorPrefix20220520\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) { @@ -166,7 +166,7 @@ class TextDescriptor extends \RectorPrefix20220519\Symfony\Component\Console\Des } $this->writeText("Usage:\n", $options); $this->writeText(" command [options] [arguments]\n\n", $options); - $this->describeInputDefinition(new \RectorPrefix20220519\Symfony\Component\Console\Input\InputDefinition($application->getDefinition()->getOptions()), $options); + $this->describeInputDefinition(new \RectorPrefix20220520\Symfony\Component\Console\Input\InputDefinition($application->getDefinition()->getOptions()), $options); $this->writeText("\n"); $this->writeText("\n"); $commands = $description->getCommands(); @@ -194,13 +194,13 @@ class TextDescriptor extends \RectorPrefix20220519\Symfony\Component\Console\Des if (!$namespace['commands']) { continue; } - if (!$describedNamespace && \RectorPrefix20220519\Symfony\Component\Console\Descriptor\ApplicationDescription::GLOBAL_NAMESPACE !== $namespace['id']) { + if (!$describedNamespace && \RectorPrefix20220520\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 - \RectorPrefix20220519\Symfony\Component\Console\Helper\Helper::width($name); + $spacingWidth = $width - \RectorPrefix20220520\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); @@ -219,7 +219,7 @@ class TextDescriptor extends \RectorPrefix20220519\Symfony\Component\Console\Des /** * Formats command aliases to show them in the command description. */ - private function getCommandAliasesText(\RectorPrefix20220519\Symfony\Component\Console\Command\Command $command) : string + private function getCommandAliasesText(\RectorPrefix20220520\Symfony\Component\Console\Command\Command $command) : string { $text = ''; $aliases = $command->getAliases(); @@ -238,11 +238,11 @@ class TextDescriptor extends \RectorPrefix20220519\Symfony\Component\Console\Des return 'INF'; } if (\is_string($default)) { - $default = \RectorPrefix20220519\Symfony\Component\Console\Formatter\OutputFormatter::escape($default); + $default = \RectorPrefix20220520\Symfony\Component\Console\Formatter\OutputFormatter::escape($default); } elseif (\is_array($default)) { foreach ($default as $key => $value) { if (\is_string($value)) { - $default[$key] = \RectorPrefix20220519\Symfony\Component\Console\Formatter\OutputFormatter::escape($value); + $default[$key] = \RectorPrefix20220520\Symfony\Component\Console\Formatter\OutputFormatter::escape($value); } } } @@ -255,13 +255,13 @@ class TextDescriptor extends \RectorPrefix20220519\Symfony\Component\Console\Des { $widths = []; foreach ($commands as $command) { - if ($command instanceof \RectorPrefix20220519\Symfony\Component\Console\Command\Command) { - $widths[] = \RectorPrefix20220519\Symfony\Component\Console\Helper\Helper::width($command->getName()); + if ($command instanceof \RectorPrefix20220520\Symfony\Component\Console\Command\Command) { + $widths[] = \RectorPrefix20220520\Symfony\Component\Console\Helper\Helper::width($command->getName()); foreach ($command->getAliases() as $alias) { - $widths[] = \RectorPrefix20220519\Symfony\Component\Console\Helper\Helper::width($alias); + $widths[] = \RectorPrefix20220520\Symfony\Component\Console\Helper\Helper::width($alias); } } else { - $widths[] = \RectorPrefix20220519\Symfony\Component\Console\Helper\Helper::width($command); + $widths[] = \RectorPrefix20220520\Symfony\Component\Console\Helper\Helper::width($command); } } return $widths ? \max($widths) + 2 : 0; @@ -274,12 +274,12 @@ class TextDescriptor extends \RectorPrefix20220519\Symfony\Component\Console\Des $totalWidth = 0; foreach ($options as $option) { // "-" + shortcut + ", --" + name - $nameLength = 1 + \max(\RectorPrefix20220519\Symfony\Component\Console\Helper\Helper::width($option->getShortcut()), 1) + 4 + \RectorPrefix20220519\Symfony\Component\Console\Helper\Helper::width($option->getName()); + $nameLength = 1 + \max(\RectorPrefix20220520\Symfony\Component\Console\Helper\Helper::width($option->getShortcut()), 1) + 4 + \RectorPrefix20220520\Symfony\Component\Console\Helper\Helper::width($option->getName()); if ($option->isNegatable()) { - $nameLength += 6 + \RectorPrefix20220519\Symfony\Component\Console\Helper\Helper::width($option->getName()); + $nameLength += 6 + \RectorPrefix20220520\Symfony\Component\Console\Helper\Helper::width($option->getName()); // |--no- + name } elseif ($option->acceptValue()) { - $valueLength = 1 + \RectorPrefix20220519\Symfony\Component\Console\Helper\Helper::width($option->getName()); + $valueLength = 1 + \RectorPrefix20220520\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 af9fad8f68e..b7baad99b97 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 RectorPrefix20220519\Symfony\Component\Console\Descriptor; +namespace RectorPrefix20220520\Symfony\Component\Console\Descriptor; -use RectorPrefix20220519\Symfony\Component\Console\Application; -use RectorPrefix20220519\Symfony\Component\Console\Command\Command; -use RectorPrefix20220519\Symfony\Component\Console\Input\InputArgument; -use RectorPrefix20220519\Symfony\Component\Console\Input\InputDefinition; -use RectorPrefix20220519\Symfony\Component\Console\Input\InputOption; +use RectorPrefix20220520\Symfony\Component\Console\Application; +use RectorPrefix20220520\Symfony\Component\Console\Command\Command; +use RectorPrefix20220520\Symfony\Component\Console\Input\InputArgument; +use RectorPrefix20220520\Symfony\Component\Console\Input\InputDefinition; +use RectorPrefix20220520\Symfony\Component\Console\Input\InputOption; /** * XML descriptor. * @@ -22,9 +22,9 @@ use RectorPrefix20220519\Symfony\Component\Console\Input\InputOption; * * @internal */ -class XmlDescriptor extends \RectorPrefix20220519\Symfony\Component\Console\Descriptor\Descriptor +class XmlDescriptor extends \RectorPrefix20220520\Symfony\Component\Console\Descriptor\Descriptor { - public function getInputDefinitionDocument(\RectorPrefix20220519\Symfony\Component\Console\Input\InputDefinition $definition) : \DOMDocument + public function getInputDefinitionDocument(\RectorPrefix20220520\Symfony\Component\Console\Input\InputDefinition $definition) : \DOMDocument { $dom = new \DOMDocument('1.0', 'UTF-8'); $dom->appendChild($definitionXML = $dom->createElement('definition')); @@ -38,7 +38,7 @@ class XmlDescriptor extends \RectorPrefix20220519\Symfony\Component\Console\Desc } return $dom; } - public function getCommandDocument(\RectorPrefix20220519\Symfony\Component\Console\Command\Command $command, bool $short = \false) : \DOMDocument + public function getCommandDocument(\RectorPrefix20220520\Symfony\Component\Console\Command\Command $command, bool $short = \false) : \DOMDocument { $dom = new \DOMDocument('1.0', 'UTF-8'); $dom->appendChild($commandXML = $dom->createElement('command')); @@ -64,7 +64,7 @@ class XmlDescriptor extends \RectorPrefix20220519\Symfony\Component\Console\Desc } return $dom; } - public function getApplicationDocument(\RectorPrefix20220519\Symfony\Component\Console\Application $application, string $namespace = null, bool $short = \false) : \DOMDocument + public function getApplicationDocument(\RectorPrefix20220520\Symfony\Component\Console\Application $application, string $namespace = null, bool $short = \false) : \DOMDocument { $dom = new \DOMDocument('1.0', 'UTF-8'); $dom->appendChild($rootXml = $dom->createElement('symfony')); @@ -75,7 +75,7 @@ class XmlDescriptor extends \RectorPrefix20220519\Symfony\Component\Console\Desc } } $rootXml->appendChild($commandsXML = $dom->createElement('commands')); - $description = new \RectorPrefix20220519\Symfony\Component\Console\Descriptor\ApplicationDescription($application, $namespace, \true); + $description = new \RectorPrefix20220520\Symfony\Component\Console\Descriptor\ApplicationDescription($application, $namespace, \true); if ($namespace) { $commandsXML->setAttribute('namespace', $namespace); } @@ -98,35 +98,35 @@ class XmlDescriptor extends \RectorPrefix20220519\Symfony\Component\Console\Desc /** * {@inheritdoc} */ - protected function describeInputArgument(\RectorPrefix20220519\Symfony\Component\Console\Input\InputArgument $argument, array $options = []) + protected function describeInputArgument(\RectorPrefix20220520\Symfony\Component\Console\Input\InputArgument $argument, array $options = []) { $this->writeDocument($this->getInputArgumentDocument($argument)); } /** * {@inheritdoc} */ - protected function describeInputOption(\RectorPrefix20220519\Symfony\Component\Console\Input\InputOption $option, array $options = []) + protected function describeInputOption(\RectorPrefix20220520\Symfony\Component\Console\Input\InputOption $option, array $options = []) { $this->writeDocument($this->getInputOptionDocument($option)); } /** * {@inheritdoc} */ - protected function describeInputDefinition(\RectorPrefix20220519\Symfony\Component\Console\Input\InputDefinition $definition, array $options = []) + protected function describeInputDefinition(\RectorPrefix20220520\Symfony\Component\Console\Input\InputDefinition $definition, array $options = []) { $this->writeDocument($this->getInputDefinitionDocument($definition)); } /** * {@inheritdoc} */ - protected function describeCommand(\RectorPrefix20220519\Symfony\Component\Console\Command\Command $command, array $options = []) + protected function describeCommand(\RectorPrefix20220520\Symfony\Component\Console\Command\Command $command, array $options = []) { $this->writeDocument($this->getCommandDocument($command, $options['short'] ?? \false)); } /** * {@inheritdoc} */ - protected function describeApplication(\RectorPrefix20220519\Symfony\Component\Console\Application $application, array $options = []) + protected function describeApplication(\RectorPrefix20220520\Symfony\Component\Console\Application $application, array $options = []) { $this->writeDocument($this->getApplicationDocument($application, $options['namespace'] ?? null, $options['short'] ?? \false)); } @@ -147,7 +147,7 @@ class XmlDescriptor extends \RectorPrefix20220519\Symfony\Component\Console\Desc $dom->formatOutput = \true; $this->write($dom->saveXML()); } - private function getInputArgumentDocument(\RectorPrefix20220519\Symfony\Component\Console\Input\InputArgument $argument) : \DOMDocument + private function getInputArgumentDocument(\RectorPrefix20220520\Symfony\Component\Console\Input\InputArgument $argument) : \DOMDocument { $dom = new \DOMDocument('1.0', 'UTF-8'); $dom->appendChild($objectXML = $dom->createElement('argument')); @@ -164,7 +164,7 @@ class XmlDescriptor extends \RectorPrefix20220519\Symfony\Component\Console\Desc } return $dom; } - private function getInputOptionDocument(\RectorPrefix20220519\Symfony\Component\Console\Input\InputOption $option) : \DOMDocument + private function getInputOptionDocument(\RectorPrefix20220520\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 f5ebb45753f..4357d7b7311 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 RectorPrefix20220519\Symfony\Component\Console\Event; +namespace RectorPrefix20220520\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 \RectorPrefix20220519\Symfony\Component\Console\Event\ConsoleEvent +final class ConsoleCommandEvent extends \RectorPrefix20220520\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 ddeffb62c74..82946138fa7 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 RectorPrefix20220519\Symfony\Component\Console\Event; +namespace RectorPrefix20220520\Symfony\Component\Console\Event; -use RectorPrefix20220519\Symfony\Component\Console\Command\Command; -use RectorPrefix20220519\Symfony\Component\Console\Input\InputInterface; -use RectorPrefix20220519\Symfony\Component\Console\Output\OutputInterface; +use RectorPrefix20220520\Symfony\Component\Console\Command\Command; +use RectorPrefix20220520\Symfony\Component\Console\Input\InputInterface; +use RectorPrefix20220520\Symfony\Component\Console\Output\OutputInterface; /** * Allows to handle throwables thrown while running a command. * * @author Wouter de Jong */ -final class ConsoleErrorEvent extends \RectorPrefix20220519\Symfony\Component\Console\Event\ConsoleEvent +final class ConsoleErrorEvent extends \RectorPrefix20220520\Symfony\Component\Console\Event\ConsoleEvent { private \Throwable $error; private int $exitCode; - public function __construct(\RectorPrefix20220519\Symfony\Component\Console\Input\InputInterface $input, \RectorPrefix20220519\Symfony\Component\Console\Output\OutputInterface $output, \Throwable $error, \RectorPrefix20220519\Symfony\Component\Console\Command\Command $command = null) + public function __construct(\RectorPrefix20220520\Symfony\Component\Console\Input\InputInterface $input, \RectorPrefix20220520\Symfony\Component\Console\Output\OutputInterface $output, \Throwable $error, \RectorPrefix20220520\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 2b099ee463f..c205a8f4417 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 RectorPrefix20220519\Symfony\Component\Console\Event; +namespace RectorPrefix20220520\Symfony\Component\Console\Event; -use RectorPrefix20220519\Symfony\Component\Console\Command\Command; -use RectorPrefix20220519\Symfony\Component\Console\Input\InputInterface; -use RectorPrefix20220519\Symfony\Component\Console\Output\OutputInterface; -use RectorPrefix20220519\Symfony\Contracts\EventDispatcher\Event; +use RectorPrefix20220520\Symfony\Component\Console\Command\Command; +use RectorPrefix20220520\Symfony\Component\Console\Input\InputInterface; +use RectorPrefix20220520\Symfony\Component\Console\Output\OutputInterface; +use RectorPrefix20220520\Symfony\Contracts\EventDispatcher\Event; /** * Allows to inspect input and output of a command. * * @author Francesco Levorato */ -class ConsoleEvent extends \RectorPrefix20220519\Symfony\Contracts\EventDispatcher\Event +class ConsoleEvent extends \RectorPrefix20220520\Symfony\Contracts\EventDispatcher\Event { protected $command; private $input; private $output; - public function __construct(?\RectorPrefix20220519\Symfony\Component\Console\Command\Command $command, \RectorPrefix20220519\Symfony\Component\Console\Input\InputInterface $input, \RectorPrefix20220519\Symfony\Component\Console\Output\OutputInterface $output) + public function __construct(?\RectorPrefix20220520\Symfony\Component\Console\Command\Command $command, \RectorPrefix20220520\Symfony\Component\Console\Input\InputInterface $input, \RectorPrefix20220520\Symfony\Component\Console\Output\OutputInterface $output) { $this->command = $command; $this->input = $input; @@ -33,21 +33,21 @@ class ConsoleEvent extends \RectorPrefix20220519\Symfony\Contracts\EventDispatch /** * Gets the command that is executed. */ - public function getCommand() : ?\RectorPrefix20220519\Symfony\Component\Console\Command\Command + public function getCommand() : ?\RectorPrefix20220520\Symfony\Component\Console\Command\Command { return $this->command; } /** * Gets the input instance. */ - public function getInput() : \RectorPrefix20220519\Symfony\Component\Console\Input\InputInterface + public function getInput() : \RectorPrefix20220520\Symfony\Component\Console\Input\InputInterface { return $this->input; } /** * Gets the output instance. */ - public function getOutput() : \RectorPrefix20220519\Symfony\Component\Console\Output\OutputInterface + public function getOutput() : \RectorPrefix20220520\Symfony\Component\Console\Output\OutputInterface { return $this->output; } diff --git a/vendor/symfony/console/Event/ConsoleSignalEvent.php b/vendor/symfony/console/Event/ConsoleSignalEvent.php index 45f59b55012..e9035b42028 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 RectorPrefix20220519\Symfony\Component\Console\Event; +namespace RectorPrefix20220520\Symfony\Component\Console\Event; -use RectorPrefix20220519\Symfony\Component\Console\Command\Command; -use RectorPrefix20220519\Symfony\Component\Console\Input\InputInterface; -use RectorPrefix20220519\Symfony\Component\Console\Output\OutputInterface; +use RectorPrefix20220520\Symfony\Component\Console\Command\Command; +use RectorPrefix20220520\Symfony\Component\Console\Input\InputInterface; +use RectorPrefix20220520\Symfony\Component\Console\Output\OutputInterface; /** * @author marie */ -final class ConsoleSignalEvent extends \RectorPrefix20220519\Symfony\Component\Console\Event\ConsoleEvent +final class ConsoleSignalEvent extends \RectorPrefix20220520\Symfony\Component\Console\Event\ConsoleEvent { private int $handlingSignal; - public function __construct(\RectorPrefix20220519\Symfony\Component\Console\Command\Command $command, \RectorPrefix20220519\Symfony\Component\Console\Input\InputInterface $input, \RectorPrefix20220519\Symfony\Component\Console\Output\OutputInterface $output, int $handlingSignal) + public function __construct(\RectorPrefix20220520\Symfony\Component\Console\Command\Command $command, \RectorPrefix20220520\Symfony\Component\Console\Input\InputInterface $input, \RectorPrefix20220520\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 de440eac198..b19f8a40948 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 RectorPrefix20220519\Symfony\Component\Console\Event; +namespace RectorPrefix20220520\Symfony\Component\Console\Event; -use RectorPrefix20220519\Symfony\Component\Console\Command\Command; -use RectorPrefix20220519\Symfony\Component\Console\Input\InputInterface; -use RectorPrefix20220519\Symfony\Component\Console\Output\OutputInterface; +use RectorPrefix20220520\Symfony\Component\Console\Command\Command; +use RectorPrefix20220520\Symfony\Component\Console\Input\InputInterface; +use RectorPrefix20220520\Symfony\Component\Console\Output\OutputInterface; /** * Allows to manipulate the exit code of a command after its execution. * * @author Francesco Levorato */ -final class ConsoleTerminateEvent extends \RectorPrefix20220519\Symfony\Component\Console\Event\ConsoleEvent +final class ConsoleTerminateEvent extends \RectorPrefix20220520\Symfony\Component\Console\Event\ConsoleEvent { private int $exitCode; - public function __construct(\RectorPrefix20220519\Symfony\Component\Console\Command\Command $command, \RectorPrefix20220519\Symfony\Component\Console\Input\InputInterface $input, \RectorPrefix20220519\Symfony\Component\Console\Output\OutputInterface $output, int $exitCode) + public function __construct(\RectorPrefix20220520\Symfony\Component\Console\Command\Command $command, \RectorPrefix20220520\Symfony\Component\Console\Input\InputInterface $input, \RectorPrefix20220520\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 e4a315f3843..3560573178f 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 RectorPrefix20220519\Symfony\Component\Console\EventListener; +namespace RectorPrefix20220520\Symfony\Component\Console\EventListener; -use RectorPrefix20220519\Psr\Log\LoggerInterface; -use RectorPrefix20220519\Symfony\Component\Console\ConsoleEvents; -use RectorPrefix20220519\Symfony\Component\Console\Event\ConsoleErrorEvent; -use RectorPrefix20220519\Symfony\Component\Console\Event\ConsoleEvent; -use RectorPrefix20220519\Symfony\Component\Console\Event\ConsoleTerminateEvent; -use RectorPrefix20220519\Symfony\Component\EventDispatcher\EventSubscriberInterface; +use RectorPrefix20220520\Psr\Log\LoggerInterface; +use RectorPrefix20220520\Symfony\Component\Console\ConsoleEvents; +use RectorPrefix20220520\Symfony\Component\Console\Event\ConsoleErrorEvent; +use RectorPrefix20220520\Symfony\Component\Console\Event\ConsoleEvent; +use RectorPrefix20220520\Symfony\Component\Console\Event\ConsoleTerminateEvent; +use RectorPrefix20220520\Symfony\Component\EventDispatcher\EventSubscriberInterface; /** * @author James Halsall * @author Robin Chalas */ -class ErrorListener implements \RectorPrefix20220519\Symfony\Component\EventDispatcher\EventSubscriberInterface +class ErrorListener implements \RectorPrefix20220520\Symfony\Component\EventDispatcher\EventSubscriberInterface { private $logger; - public function __construct(\RectorPrefix20220519\Psr\Log\LoggerInterface $logger = null) + public function __construct(\RectorPrefix20220520\Psr\Log\LoggerInterface $logger = null) { $this->logger = $logger; } - public function onConsoleError(\RectorPrefix20220519\Symfony\Component\Console\Event\ConsoleErrorEvent $event) + public function onConsoleError(\RectorPrefix20220520\Symfony\Component\Console\Event\ConsoleErrorEvent $event) { if (null === $this->logger) { return; @@ -39,7 +39,7 @@ class ErrorListener implements \RectorPrefix20220519\Symfony\Component\EventDisp } $this->logger->critical('Error thrown while running command "{command}". Message: "{message}"', ['exception' => $error, 'command' => $inputString, 'message' => $error->getMessage()]); } - public function onConsoleTerminate(\RectorPrefix20220519\Symfony\Component\Console\Event\ConsoleTerminateEvent $event) + public function onConsoleTerminate(\RectorPrefix20220520\Symfony\Component\Console\Event\ConsoleTerminateEvent $event) { if (null === $this->logger) { return; @@ -56,9 +56,9 @@ class ErrorListener implements \RectorPrefix20220519\Symfony\Component\EventDisp } public static function getSubscribedEvents() : array { - return [\RectorPrefix20220519\Symfony\Component\Console\ConsoleEvents::ERROR => ['onConsoleError', -128], \RectorPrefix20220519\Symfony\Component\Console\ConsoleEvents::TERMINATE => ['onConsoleTerminate', -128]]; + return [\RectorPrefix20220520\Symfony\Component\Console\ConsoleEvents::ERROR => ['onConsoleError', -128], \RectorPrefix20220520\Symfony\Component\Console\ConsoleEvents::TERMINATE => ['onConsoleTerminate', -128]]; } - private static function getInputString(\RectorPrefix20220519\Symfony\Component\Console\Event\ConsoleEvent $event) : ?string + private static function getInputString(\RectorPrefix20220520\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 13c277798e2..705d9c00856 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 RectorPrefix20220519\Symfony\Component\Console\Exception; +namespace RectorPrefix20220520\Symfony\Component\Console\Exception; /** * Represents an incorrect command name typed in the console. * * @author Jérôme Tamarelle */ -class CommandNotFoundException extends \InvalidArgumentException implements \RectorPrefix20220519\Symfony\Component\Console\Exception\ExceptionInterface +class CommandNotFoundException extends \InvalidArgumentException implements \RectorPrefix20220520\Symfony\Component\Console\Exception\ExceptionInterface { /** * @var mixed[] diff --git a/vendor/symfony/console/Exception/ExceptionInterface.php b/vendor/symfony/console/Exception/ExceptionInterface.php index 327b2addeb0..8549d8b9597 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 RectorPrefix20220519\Symfony\Component\Console\Exception; +namespace RectorPrefix20220520\Symfony\Component\Console\Exception; /** * ExceptionInterface. diff --git a/vendor/symfony/console/Exception/InvalidArgumentException.php b/vendor/symfony/console/Exception/InvalidArgumentException.php index f92f4bb2624..87a2057c986 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 RectorPrefix20220519\Symfony\Component\Console\Exception; +namespace RectorPrefix20220520\Symfony\Component\Console\Exception; /** * @author Jérôme Tamarelle */ -class InvalidArgumentException extends \InvalidArgumentException implements \RectorPrefix20220519\Symfony\Component\Console\Exception\ExceptionInterface +class InvalidArgumentException extends \InvalidArgumentException implements \RectorPrefix20220520\Symfony\Component\Console\Exception\ExceptionInterface { } diff --git a/vendor/symfony/console/Exception/InvalidOptionException.php b/vendor/symfony/console/Exception/InvalidOptionException.php index d7b36ffbee9..ea093ac0928 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 RectorPrefix20220519\Symfony\Component\Console\Exception; +namespace RectorPrefix20220520\Symfony\Component\Console\Exception; /** * Represents an incorrect option name typed in the console. * * @author Jérôme Tamarelle */ -class InvalidOptionException extends \InvalidArgumentException implements \RectorPrefix20220519\Symfony\Component\Console\Exception\ExceptionInterface +class InvalidOptionException extends \InvalidArgumentException implements \RectorPrefix20220520\Symfony\Component\Console\Exception\ExceptionInterface { } diff --git a/vendor/symfony/console/Exception/LogicException.php b/vendor/symfony/console/Exception/LogicException.php index 278d25d0a25..60f89592297 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 RectorPrefix20220519\Symfony\Component\Console\Exception; +namespace RectorPrefix20220520\Symfony\Component\Console\Exception; /** * @author Jérôme Tamarelle */ -class LogicException extends \LogicException implements \RectorPrefix20220519\Symfony\Component\Console\Exception\ExceptionInterface +class LogicException extends \LogicException implements \RectorPrefix20220520\Symfony\Component\Console\Exception\ExceptionInterface { } diff --git a/vendor/symfony/console/Exception/MissingInputException.php b/vendor/symfony/console/Exception/MissingInputException.php index 64ae4568c56..05ba473bb10 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 RectorPrefix20220519\Symfony\Component\Console\Exception; +namespace RectorPrefix20220520\Symfony\Component\Console\Exception; /** * Represents failure to read input from stdin. * * @author Gabriel Ostrolucký */ -class MissingInputException extends \RectorPrefix20220519\Symfony\Component\Console\Exception\RuntimeException implements \RectorPrefix20220519\Symfony\Component\Console\Exception\ExceptionInterface +class MissingInputException extends \RectorPrefix20220520\Symfony\Component\Console\Exception\RuntimeException implements \RectorPrefix20220520\Symfony\Component\Console\Exception\ExceptionInterface { } diff --git a/vendor/symfony/console/Exception/NamespaceNotFoundException.php b/vendor/symfony/console/Exception/NamespaceNotFoundException.php index a870e67fa66..e2afb9cda37 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 RectorPrefix20220519\Symfony\Component\Console\Exception; +namespace RectorPrefix20220520\Symfony\Component\Console\Exception; /** * Represents an incorrect namespace typed in the console. * * @author Pierre du Plessis */ -class NamespaceNotFoundException extends \RectorPrefix20220519\Symfony\Component\Console\Exception\CommandNotFoundException +class NamespaceNotFoundException extends \RectorPrefix20220520\Symfony\Component\Console\Exception\CommandNotFoundException { } diff --git a/vendor/symfony/console/Exception/RuntimeException.php b/vendor/symfony/console/Exception/RuntimeException.php index 40085c7c2cb..3f3bc0f2700 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 RectorPrefix20220519\Symfony\Component\Console\Exception; +namespace RectorPrefix20220520\Symfony\Component\Console\Exception; /** * @author Jérôme Tamarelle */ -class RuntimeException extends \RuntimeException implements \RectorPrefix20220519\Symfony\Component\Console\Exception\ExceptionInterface +class RuntimeException extends \RuntimeException implements \RectorPrefix20220520\Symfony\Component\Console\Exception\ExceptionInterface { } diff --git a/vendor/symfony/console/Formatter/NullOutputFormatter.php b/vendor/symfony/console/Formatter/NullOutputFormatter.php index 6b11491bca1..a643f0f514d 100644 --- a/vendor/symfony/console/Formatter/NullOutputFormatter.php +++ b/vendor/symfony/console/Formatter/NullOutputFormatter.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 RectorPrefix20220519\Symfony\Component\Console\Formatter; +namespace RectorPrefix20220520\Symfony\Component\Console\Formatter; /** * @author Tien Xuan Vo */ -final class NullOutputFormatter implements \RectorPrefix20220519\Symfony\Component\Console\Formatter\OutputFormatterInterface +final class NullOutputFormatter implements \RectorPrefix20220520\Symfony\Component\Console\Formatter\OutputFormatterInterface { private $style; /** @@ -26,10 +26,10 @@ final class NullOutputFormatter implements \RectorPrefix20220519\Symfony\Compone /** * {@inheritdoc} */ - public function getStyle(string $name) : \RectorPrefix20220519\Symfony\Component\Console\Formatter\OutputFormatterStyleInterface + public function getStyle(string $name) : \RectorPrefix20220520\Symfony\Component\Console\Formatter\OutputFormatterStyleInterface { // to comply with the interface we must return a OutputFormatterStyleInterface - return $this->style ?? ($this->style = new \RectorPrefix20220519\Symfony\Component\Console\Formatter\NullOutputFormatterStyle()); + return $this->style ?? ($this->style = new \RectorPrefix20220520\Symfony\Component\Console\Formatter\NullOutputFormatterStyle()); } /** * {@inheritdoc} @@ -55,7 +55,7 @@ final class NullOutputFormatter implements \RectorPrefix20220519\Symfony\Compone /** * {@inheritdoc} */ - public function setStyle(string $name, \RectorPrefix20220519\Symfony\Component\Console\Formatter\OutputFormatterStyleInterface $style) : void + public function setStyle(string $name, \RectorPrefix20220520\Symfony\Component\Console\Formatter\OutputFormatterStyleInterface $style) : void { // do nothing } diff --git a/vendor/symfony/console/Formatter/NullOutputFormatterStyle.php b/vendor/symfony/console/Formatter/NullOutputFormatterStyle.php index faf4cad1755..e23735ad7c3 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 RectorPrefix20220519\Symfony\Component\Console\Formatter; +namespace RectorPrefix20220520\Symfony\Component\Console\Formatter; /** * @author Tien Xuan Vo */ -final class NullOutputFormatterStyle implements \RectorPrefix20220519\Symfony\Component\Console\Formatter\OutputFormatterStyleInterface +final class NullOutputFormatterStyle implements \RectorPrefix20220520\Symfony\Component\Console\Formatter\OutputFormatterStyleInterface { /** * {@inheritdoc} diff --git a/vendor/symfony/console/Formatter/OutputFormatter.php b/vendor/symfony/console/Formatter/OutputFormatter.php index 15dc7468311..f6cfeb9842c 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 RectorPrefix20220519\Symfony\Component\Console\Formatter; +namespace RectorPrefix20220520\Symfony\Component\Console\Formatter; -use RectorPrefix20220519\Symfony\Component\Console\Exception\InvalidArgumentException; +use RectorPrefix20220520\Symfony\Component\Console\Exception\InvalidArgumentException; /** * Formatter class for console output. * * @author Konstantin Kudryashov * @author Roland Franssen */ -class OutputFormatter implements \RectorPrefix20220519\Symfony\Component\Console\Formatter\WrappableOutputFormatterInterface +class OutputFormatter implements \RectorPrefix20220520\Symfony\Component\Console\Formatter\WrappableOutputFormatterInterface { /** * @var bool @@ -66,14 +66,14 @@ class OutputFormatter implements \RectorPrefix20220519\Symfony\Component\Console public function __construct(bool $decorated = \false, array $styles = []) { $this->decorated = $decorated; - $this->setStyle('error', new \RectorPrefix20220519\Symfony\Component\Console\Formatter\OutputFormatterStyle('white', 'red')); - $this->setStyle('info', new \RectorPrefix20220519\Symfony\Component\Console\Formatter\OutputFormatterStyle('green')); - $this->setStyle('comment', new \RectorPrefix20220519\Symfony\Component\Console\Formatter\OutputFormatterStyle('yellow')); - $this->setStyle('question', new \RectorPrefix20220519\Symfony\Component\Console\Formatter\OutputFormatterStyle('black', 'cyan')); + $this->setStyle('error', new \RectorPrefix20220520\Symfony\Component\Console\Formatter\OutputFormatterStyle('white', 'red')); + $this->setStyle('info', new \RectorPrefix20220520\Symfony\Component\Console\Formatter\OutputFormatterStyle('green')); + $this->setStyle('comment', new \RectorPrefix20220520\Symfony\Component\Console\Formatter\OutputFormatterStyle('yellow')); + $this->setStyle('question', new \RectorPrefix20220520\Symfony\Component\Console\Formatter\OutputFormatterStyle('black', 'cyan')); foreach ($styles as $name => $style) { $this->setStyle($name, $style); } - $this->styleStack = new \RectorPrefix20220519\Symfony\Component\Console\Formatter\OutputFormatterStyleStack(); + $this->styleStack = new \RectorPrefix20220520\Symfony\Component\Console\Formatter\OutputFormatterStyleStack(); } /** * {@inheritdoc} @@ -92,7 +92,7 @@ class OutputFormatter implements \RectorPrefix20220519\Symfony\Component\Console /** * {@inheritdoc} */ - public function setStyle(string $name, \RectorPrefix20220519\Symfony\Component\Console\Formatter\OutputFormatterStyleInterface $style) + public function setStyle(string $name, \RectorPrefix20220520\Symfony\Component\Console\Formatter\OutputFormatterStyleInterface $style) { $this->styles[\strtolower($name)] = $style; } @@ -106,10 +106,10 @@ class OutputFormatter implements \RectorPrefix20220519\Symfony\Component\Console /** * {@inheritdoc} */ - public function getStyle(string $name) : \RectorPrefix20220519\Symfony\Component\Console\Formatter\OutputFormatterStyleInterface + public function getStyle(string $name) : \RectorPrefix20220520\Symfony\Component\Console\Formatter\OutputFormatterStyleInterface { if (!$this->hasStyle($name)) { - throw new \RectorPrefix20220519\Symfony\Component\Console\Exception\InvalidArgumentException(\sprintf('Undefined style: "%s".', $name)); + throw new \RectorPrefix20220520\Symfony\Component\Console\Exception\InvalidArgumentException(\sprintf('Undefined style: "%s".', $name)); } return $this->styles[\strtolower($name)]; } @@ -163,14 +163,14 @@ class OutputFormatter implements \RectorPrefix20220519\Symfony\Component\Console $output .= $this->applyCurrentStyle(\substr($message, $offset), $output, $width, $currentLineLength); return \strtr($output, ["\0" => '\\', '\\<' => '<', '\\>' => '>']); } - public function getStyleStack() : \RectorPrefix20220519\Symfony\Component\Console\Formatter\OutputFormatterStyleStack + public function getStyleStack() : \RectorPrefix20220520\Symfony\Component\Console\Formatter\OutputFormatterStyleStack { return $this->styleStack; } /** * Tries to create new style instance from string. */ - private function createStyleFromString(string $string) : ?\RectorPrefix20220519\Symfony\Component\Console\Formatter\OutputFormatterStyleInterface + private function createStyleFromString(string $string) : ?\RectorPrefix20220520\Symfony\Component\Console\Formatter\OutputFormatterStyleInterface { if (isset($this->styles[$string])) { return $this->styles[$string]; @@ -178,7 +178,7 @@ class OutputFormatter implements \RectorPrefix20220519\Symfony\Component\Console if (!\preg_match_all('/([^=]+)=([^;]+)(;|$)/', $string, $matches, \PREG_SET_ORDER)) { return null; } - $style = new \RectorPrefix20220519\Symfony\Component\Console\Formatter\OutputFormatterStyle(); + $style = new \RectorPrefix20220520\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 c9a4e9a341d..7fbbdf06304 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 RectorPrefix20220519\Symfony\Component\Console\Formatter; +namespace RectorPrefix20220520\Symfony\Component\Console\Formatter; /** * Formatter interface for console output. @@ -28,7 +28,7 @@ interface OutputFormatterInterface /** * Sets a new style. */ - public function setStyle(string $name, \RectorPrefix20220519\Symfony\Component\Console\Formatter\OutputFormatterStyleInterface $style); + public function setStyle(string $name, \RectorPrefix20220520\Symfony\Component\Console\Formatter\OutputFormatterStyleInterface $style); /** * Checks if output formatter has style with specified name. */ @@ -38,7 +38,7 @@ interface OutputFormatterInterface * * @throws \InvalidArgumentException When style isn't defined */ - public function getStyle(string $name) : \RectorPrefix20220519\Symfony\Component\Console\Formatter\OutputFormatterStyleInterface; + public function getStyle(string $name) : \RectorPrefix20220520\Symfony\Component\Console\Formatter\OutputFormatterStyleInterface; /** * Formats a message according to the given styles. */ diff --git a/vendor/symfony/console/Formatter/OutputFormatterStyle.php b/vendor/symfony/console/Formatter/OutputFormatterStyle.php index e09280139c8..3faee5862bf 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 RectorPrefix20220519\Symfony\Component\Console\Formatter; +namespace RectorPrefix20220520\Symfony\Component\Console\Formatter; -use RectorPrefix20220519\Symfony\Component\Console\Color; +use RectorPrefix20220520\Symfony\Component\Console\Color; /** * Formatter style class for defining styles. * * @author Konstantin Kudryashov */ -class OutputFormatterStyle implements \RectorPrefix20220519\Symfony\Component\Console\Formatter\OutputFormatterStyleInterface +class OutputFormatterStyle implements \RectorPrefix20220520\Symfony\Component\Console\Formatter\OutputFormatterStyleInterface { private $color; /** @@ -47,21 +47,21 @@ class OutputFormatterStyle implements \RectorPrefix20220519\Symfony\Component\Co */ public function __construct(string $foreground = null, string $background = null, array $options = []) { - $this->color = new \RectorPrefix20220519\Symfony\Component\Console\Color($this->foreground = $foreground ?: '', $this->background = $background ?: '', $this->options = $options); + $this->color = new \RectorPrefix20220520\Symfony\Component\Console\Color($this->foreground = $foreground ?: '', $this->background = $background ?: '', $this->options = $options); } /** * {@inheritdoc} */ public function setForeground(string $color = null) { - $this->color = new \RectorPrefix20220519\Symfony\Component\Console\Color($this->foreground = $color ?: '', $this->background, $this->options); + $this->color = new \RectorPrefix20220520\Symfony\Component\Console\Color($this->foreground = $color ?: '', $this->background, $this->options); } /** * {@inheritdoc} */ public function setBackground(string $color = null) { - $this->color = new \RectorPrefix20220519\Symfony\Component\Console\Color($this->foreground, $this->background = $color ?: '', $this->options); + $this->color = new \RectorPrefix20220520\Symfony\Component\Console\Color($this->foreground, $this->background = $color ?: '', $this->options); } public function setHref(string $url) : void { @@ -73,7 +73,7 @@ class OutputFormatterStyle implements \RectorPrefix20220519\Symfony\Component\Co public function setOption(string $option) { $this->options[] = $option; - $this->color = new \RectorPrefix20220519\Symfony\Component\Console\Color($this->foreground, $this->background, $this->options); + $this->color = new \RectorPrefix20220520\Symfony\Component\Console\Color($this->foreground, $this->background, $this->options); } /** * {@inheritdoc} @@ -84,14 +84,14 @@ class OutputFormatterStyle implements \RectorPrefix20220519\Symfony\Component\Co if (\false !== $pos) { unset($this->options[$pos]); } - $this->color = new \RectorPrefix20220519\Symfony\Component\Console\Color($this->foreground, $this->background, $this->options); + $this->color = new \RectorPrefix20220520\Symfony\Component\Console\Color($this->foreground, $this->background, $this->options); } /** * {@inheritdoc} */ public function setOptions(array $options) { - $this->color = new \RectorPrefix20220519\Symfony\Component\Console\Color($this->foreground, $this->background, $this->options = $options); + $this->color = new \RectorPrefix20220520\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 40f70b78ad6..f08eb3ced29 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 RectorPrefix20220519\Symfony\Component\Console\Formatter; +namespace RectorPrefix20220520\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 26afdd22ed6..36d2d35a977 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 RectorPrefix20220519\Symfony\Component\Console\Formatter; +namespace RectorPrefix20220520\Symfony\Component\Console\Formatter; -use RectorPrefix20220519\Symfony\Component\Console\Exception\InvalidArgumentException; -use RectorPrefix20220519\Symfony\Contracts\Service\ResetInterface; +use RectorPrefix20220520\Symfony\Component\Console\Exception\InvalidArgumentException; +use RectorPrefix20220520\Symfony\Contracts\Service\ResetInterface; /** * @author Jean-François Simon */ -class OutputFormatterStyleStack implements \RectorPrefix20220519\Symfony\Contracts\Service\ResetInterface +class OutputFormatterStyleStack implements \RectorPrefix20220520\Symfony\Contracts\Service\ResetInterface { /** * @var OutputFormatterStyleInterface[] */ private $styles = []; private $emptyStyle; - public function __construct(\RectorPrefix20220519\Symfony\Component\Console\Formatter\OutputFormatterStyleInterface $emptyStyle = null) + public function __construct(\RectorPrefix20220520\Symfony\Component\Console\Formatter\OutputFormatterStyleInterface $emptyStyle = null) { - $this->emptyStyle = $emptyStyle ?? new \RectorPrefix20220519\Symfony\Component\Console\Formatter\OutputFormatterStyle(); + $this->emptyStyle = $emptyStyle ?? new \RectorPrefix20220520\Symfony\Component\Console\Formatter\OutputFormatterStyle(); $this->reset(); } /** @@ -37,7 +37,7 @@ class OutputFormatterStyleStack implements \RectorPrefix20220519\Symfony\Contrac /** * Pushes a style in the stack. */ - public function push(\RectorPrefix20220519\Symfony\Component\Console\Formatter\OutputFormatterStyleInterface $style) + public function push(\RectorPrefix20220520\Symfony\Component\Console\Formatter\OutputFormatterStyleInterface $style) { $this->styles[] = $style; } @@ -46,7 +46,7 @@ class OutputFormatterStyleStack implements \RectorPrefix20220519\Symfony\Contrac * * @throws InvalidArgumentException When style tags incorrectly nested */ - public function pop(\RectorPrefix20220519\Symfony\Component\Console\Formatter\OutputFormatterStyleInterface $style = null) : \RectorPrefix20220519\Symfony\Component\Console\Formatter\OutputFormatterStyleInterface + public function pop(\RectorPrefix20220520\Symfony\Component\Console\Formatter\OutputFormatterStyleInterface $style = null) : \RectorPrefix20220520\Symfony\Component\Console\Formatter\OutputFormatterStyleInterface { if (empty($this->styles)) { return $this->emptyStyle; @@ -60,12 +60,12 @@ class OutputFormatterStyleStack implements \RectorPrefix20220519\Symfony\Contrac return $stackedStyle; } } - throw new \RectorPrefix20220519\Symfony\Component\Console\Exception\InvalidArgumentException('Incorrectly nested style tag found.'); + throw new \RectorPrefix20220520\Symfony\Component\Console\Exception\InvalidArgumentException('Incorrectly nested style tag found.'); } /** * Computes current style with stacks top codes. */ - public function getCurrent() : \RectorPrefix20220519\Symfony\Component\Console\Formatter\OutputFormatterStyle + public function getCurrent() : \RectorPrefix20220520\Symfony\Component\Console\Formatter\OutputFormatterStyle { if (empty($this->styles)) { return $this->emptyStyle; @@ -75,12 +75,12 @@ class OutputFormatterStyleStack implements \RectorPrefix20220519\Symfony\Contrac /** * @return $this */ - public function setEmptyStyle(\RectorPrefix20220519\Symfony\Component\Console\Formatter\OutputFormatterStyleInterface $emptyStyle) + public function setEmptyStyle(\RectorPrefix20220520\Symfony\Component\Console\Formatter\OutputFormatterStyleInterface $emptyStyle) { $this->emptyStyle = $emptyStyle; return $this; } - public function getEmptyStyle() : \RectorPrefix20220519\Symfony\Component\Console\Formatter\OutputFormatterStyleInterface + public function getEmptyStyle() : \RectorPrefix20220520\Symfony\Component\Console\Formatter\OutputFormatterStyleInterface { return $this->emptyStyle; } diff --git a/vendor/symfony/console/Formatter/WrappableOutputFormatterInterface.php b/vendor/symfony/console/Formatter/WrappableOutputFormatterInterface.php index 0962c9c198f..ee0ceebd500 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 RectorPrefix20220519\Symfony\Component\Console\Formatter; +namespace RectorPrefix20220520\Symfony\Component\Console\Formatter; /** * Formatter interface for console output that supports word wrapping. * * @author Roland Franssen */ -interface WrappableOutputFormatterInterface extends \RectorPrefix20220519\Symfony\Component\Console\Formatter\OutputFormatterInterface +interface WrappableOutputFormatterInterface extends \RectorPrefix20220520\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 0b23be7f15b..cfd44971019 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 RectorPrefix20220519\Symfony\Component\Console\Helper; +namespace RectorPrefix20220520\Symfony\Component\Console\Helper; /** * Helps outputting debug information when running an external program from a command. @@ -17,7 +17,7 @@ namespace RectorPrefix20220519\Symfony\Component\Console\Helper; * * @author Fabien Potencier */ -class DebugFormatterHelper extends \RectorPrefix20220519\Symfony\Component\Console\Helper\Helper +class DebugFormatterHelper extends \RectorPrefix20220520\Symfony\Component\Console\Helper\Helper { private const COLORS = ['black', 'red', 'green', 'yellow', 'blue', 'magenta', 'cyan', 'white', 'default']; /** diff --git a/vendor/symfony/console/Helper/DescriptorHelper.php b/vendor/symfony/console/Helper/DescriptorHelper.php index 139a7e9bffa..3e6792f05db 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 RectorPrefix20220519\Symfony\Component\Console\Helper; +namespace RectorPrefix20220520\Symfony\Component\Console\Helper; -use RectorPrefix20220519\Symfony\Component\Console\Descriptor\DescriptorInterface; -use RectorPrefix20220519\Symfony\Component\Console\Descriptor\JsonDescriptor; -use RectorPrefix20220519\Symfony\Component\Console\Descriptor\MarkdownDescriptor; -use RectorPrefix20220519\Symfony\Component\Console\Descriptor\TextDescriptor; -use RectorPrefix20220519\Symfony\Component\Console\Descriptor\XmlDescriptor; -use RectorPrefix20220519\Symfony\Component\Console\Exception\InvalidArgumentException; -use RectorPrefix20220519\Symfony\Component\Console\Output\OutputInterface; +use RectorPrefix20220520\Symfony\Component\Console\Descriptor\DescriptorInterface; +use RectorPrefix20220520\Symfony\Component\Console\Descriptor\JsonDescriptor; +use RectorPrefix20220520\Symfony\Component\Console\Descriptor\MarkdownDescriptor; +use RectorPrefix20220520\Symfony\Component\Console\Descriptor\TextDescriptor; +use RectorPrefix20220520\Symfony\Component\Console\Descriptor\XmlDescriptor; +use RectorPrefix20220520\Symfony\Component\Console\Exception\InvalidArgumentException; +use RectorPrefix20220520\Symfony\Component\Console\Output\OutputInterface; /** * This class adds helper method to describe objects in various formats. * * @author Jean-François Simon */ -class DescriptorHelper extends \RectorPrefix20220519\Symfony\Component\Console\Helper\Helper +class DescriptorHelper extends \RectorPrefix20220520\Symfony\Component\Console\Helper\Helper { /** * @var DescriptorInterface[] @@ -30,7 +30,7 @@ class DescriptorHelper extends \RectorPrefix20220519\Symfony\Component\Console\H private $descriptors = []; public function __construct() { - $this->register('txt', new \RectorPrefix20220519\Symfony\Component\Console\Descriptor\TextDescriptor())->register('xml', new \RectorPrefix20220519\Symfony\Component\Console\Descriptor\XmlDescriptor())->register('json', new \RectorPrefix20220519\Symfony\Component\Console\Descriptor\JsonDescriptor())->register('md', new \RectorPrefix20220519\Symfony\Component\Console\Descriptor\MarkdownDescriptor()); + $this->register('txt', new \RectorPrefix20220520\Symfony\Component\Console\Descriptor\TextDescriptor())->register('xml', new \RectorPrefix20220520\Symfony\Component\Console\Descriptor\XmlDescriptor())->register('json', new \RectorPrefix20220520\Symfony\Component\Console\Descriptor\JsonDescriptor())->register('md', new \RectorPrefix20220520\Symfony\Component\Console\Descriptor\MarkdownDescriptor()); } /** * Describes an object if supported. @@ -41,11 +41,11 @@ class DescriptorHelper extends \RectorPrefix20220519\Symfony\Component\Console\H * * @throws InvalidArgumentException when the given format is not supported */ - public function describe(\RectorPrefix20220519\Symfony\Component\Console\Output\OutputInterface $output, ?object $object, array $options = []) + public function describe(\RectorPrefix20220520\Symfony\Component\Console\Output\OutputInterface $output, ?object $object, array $options = []) { $options = \array_merge(['raw_text' => \false, 'format' => 'txt'], $options); if (!isset($this->descriptors[$options['format']])) { - throw new \RectorPrefix20220519\Symfony\Component\Console\Exception\InvalidArgumentException(\sprintf('Unsupported format "%s".', $options['format'])); + throw new \RectorPrefix20220520\Symfony\Component\Console\Exception\InvalidArgumentException(\sprintf('Unsupported format "%s".', $options['format'])); } $descriptor = $this->descriptors[$options['format']]; $descriptor->describe($output, $object, $options); @@ -55,7 +55,7 @@ class DescriptorHelper extends \RectorPrefix20220519\Symfony\Component\Console\H * * @return $this */ - public function register(string $format, \RectorPrefix20220519\Symfony\Component\Console\Descriptor\DescriptorInterface $descriptor) + public function register(string $format, \RectorPrefix20220520\Symfony\Component\Console\Descriptor\DescriptorInterface $descriptor) { $this->descriptors[$format] = $descriptor; return $this; diff --git a/vendor/symfony/console/Helper/Dumper.php b/vendor/symfony/console/Helper/Dumper.php index 1d0deef8bb9..a9d3018a6d8 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 RectorPrefix20220519\Symfony\Component\Console\Helper; +namespace RectorPrefix20220520\Symfony\Component\Console\Helper; -use RectorPrefix20220519\Symfony\Component\Console\Output\OutputInterface; -use RectorPrefix20220519\Symfony\Component\VarDumper\Cloner\ClonerInterface; -use RectorPrefix20220519\Symfony\Component\VarDumper\Cloner\VarCloner; -use RectorPrefix20220519\Symfony\Component\VarDumper\Dumper\CliDumper; +use RectorPrefix20220520\Symfony\Component\Console\Output\OutputInterface; +use RectorPrefix20220520\Symfony\Component\VarDumper\Cloner\ClonerInterface; +use RectorPrefix20220520\Symfony\Component\VarDumper\Cloner\VarCloner; +use RectorPrefix20220520\Symfony\Component\VarDumper\Dumper\CliDumper; /** * @author Roland Franssen */ @@ -26,16 +26,16 @@ final class Dumper * @var \Closure */ private $handler; - public function __construct(\RectorPrefix20220519\Symfony\Component\Console\Output\OutputInterface $output, \RectorPrefix20220519\Symfony\Component\VarDumper\Dumper\CliDumper $dumper = null, \RectorPrefix20220519\Symfony\Component\VarDumper\Cloner\ClonerInterface $cloner = null) + public function __construct(\RectorPrefix20220520\Symfony\Component\Console\Output\OutputInterface $output, \RectorPrefix20220520\Symfony\Component\VarDumper\Dumper\CliDumper $dumper = null, \RectorPrefix20220520\Symfony\Component\VarDumper\Cloner\ClonerInterface $cloner = null) { $this->output = $output; $this->dumper = $dumper; $this->cloner = $cloner; - if (\class_exists(\RectorPrefix20220519\Symfony\Component\VarDumper\Dumper\CliDumper::class)) { + if (\class_exists(\RectorPrefix20220520\Symfony\Component\VarDumper\Dumper\CliDumper::class)) { $this->handler = function ($var) : string { - $dumper = $this->dumper ?? ($this->dumper = new \RectorPrefix20220519\Symfony\Component\VarDumper\Dumper\CliDumper(null, null, \RectorPrefix20220519\Symfony\Component\VarDumper\Dumper\CliDumper::DUMP_LIGHT_ARRAY | \RectorPrefix20220519\Symfony\Component\VarDumper\Dumper\CliDumper::DUMP_COMMA_SEPARATOR)); + $dumper = $this->dumper ?? ($this->dumper = new \RectorPrefix20220520\Symfony\Component\VarDumper\Dumper\CliDumper(null, null, \RectorPrefix20220520\Symfony\Component\VarDumper\Dumper\CliDumper::DUMP_LIGHT_ARRAY | \RectorPrefix20220520\Symfony\Component\VarDumper\Dumper\CliDumper::DUMP_COMMA_SEPARATOR)); $dumper->setColors($this->output->isDecorated()); - return \rtrim($dumper->dump(($this->cloner ?? ($this->cloner = new \RectorPrefix20220519\Symfony\Component\VarDumper\Cloner\VarCloner()))->cloneVar($var)->withRefHandles(\false), \true)); + return \rtrim($dumper->dump(($this->cloner ?? ($this->cloner = new \RectorPrefix20220520\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 28c1b16a1e5..254a2c5046d 100644 --- a/vendor/symfony/console/Helper/FormatterHelper.php +++ b/vendor/symfony/console/Helper/FormatterHelper.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 RectorPrefix20220519\Symfony\Component\Console\Helper; +namespace RectorPrefix20220520\Symfony\Component\Console\Helper; -use RectorPrefix20220519\Symfony\Component\Console\Formatter\OutputFormatter; +use RectorPrefix20220520\Symfony\Component\Console\Formatter\OutputFormatter; /** * The Formatter class provides helpers to format messages. * * @author Fabien Potencier */ -class FormatterHelper extends \RectorPrefix20220519\Symfony\Component\Console\Helper\Helper +class FormatterHelper extends \RectorPrefix20220520\Symfony\Component\Console\Helper\Helper { /** * Formats a message within a section. @@ -37,7 +37,7 @@ class FormatterHelper extends \RectorPrefix20220519\Symfony\Component\Console\He $len = 0; $lines = []; foreach ($messages as $message) { - $message = \RectorPrefix20220519\Symfony\Component\Console\Formatter\OutputFormatter::escape($message); + $message = \RectorPrefix20220520\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 3239ecc0290..37d0e9cb8fd 100644 --- a/vendor/symfony/console/Helper/Helper.php +++ b/vendor/symfony/console/Helper/Helper.php @@ -8,29 +8,29 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20220519\Symfony\Component\Console\Helper; +namespace RectorPrefix20220520\Symfony\Component\Console\Helper; -use RectorPrefix20220519\Symfony\Component\Console\Formatter\OutputFormatterInterface; -use RectorPrefix20220519\Symfony\Component\String\UnicodeString; +use RectorPrefix20220520\Symfony\Component\Console\Formatter\OutputFormatterInterface; +use RectorPrefix20220520\Symfony\Component\String\UnicodeString; /** * Helper is the base class for all helper classes. * * @author Fabien Potencier */ -abstract class Helper implements \RectorPrefix20220519\Symfony\Component\Console\Helper\HelperInterface +abstract class Helper implements \RectorPrefix20220520\Symfony\Component\Console\Helper\HelperInterface { protected $helperSet = null; /** * {@inheritdoc} */ - public function setHelperSet(\RectorPrefix20220519\Symfony\Component\Console\Helper\HelperSet $helperSet = null) + public function setHelperSet(\RectorPrefix20220520\Symfony\Component\Console\Helper\HelperSet $helperSet = null) { $this->helperSet = $helperSet; } /** * {@inheritdoc} */ - public function getHelperSet() : ?\RectorPrefix20220519\Symfony\Component\Console\Helper\HelperSet + public function getHelperSet() : ?\RectorPrefix20220520\Symfony\Component\Console\Helper\HelperSet { return $this->helperSet; } @@ -42,7 +42,7 @@ abstract class Helper implements \RectorPrefix20220519\Symfony\Component\Console { $string ?? ($string = ''); if (\preg_match('//u', $string)) { - return (new \RectorPrefix20220519\Symfony\Component\String\UnicodeString($string))->width(\false); + return (new \RectorPrefix20220520\Symfony\Component\String\UnicodeString($string))->width(\false); } if (\false === ($encoding = \mb_detect_encoding($string, null, \true))) { return \strlen($string); @@ -57,7 +57,7 @@ abstract class Helper implements \RectorPrefix20220519\Symfony\Component\Console { $string ?? ($string = ''); if (\preg_match('//u', $string)) { - return (new \RectorPrefix20220519\Symfony\Component\String\UnicodeString($string))->length(); + return (new \RectorPrefix20220520\Symfony\Component\String\UnicodeString($string))->length(); } if (\false === ($encoding = \mb_detect_encoding($string, null, \true))) { return \strlen($string); @@ -105,7 +105,7 @@ abstract class Helper implements \RectorPrefix20220519\Symfony\Component\Console } return \sprintf('%d B', $memory); } - public static function removeDecoration(\RectorPrefix20220519\Symfony\Component\Console\Formatter\OutputFormatterInterface $formatter, ?string $string) + public static function removeDecoration(\RectorPrefix20220520\Symfony\Component\Console\Formatter\OutputFormatterInterface $formatter, ?string $string) { $isDecorated = $formatter->isDecorated(); $formatter->setDecorated(\false); diff --git a/vendor/symfony/console/Helper/HelperInterface.php b/vendor/symfony/console/Helper/HelperInterface.php index c4c04bbc3e9..1884f60ff6e 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 RectorPrefix20220519\Symfony\Component\Console\Helper; +namespace RectorPrefix20220520\Symfony\Component\Console\Helper; /** * HelperInterface is the interface all helpers must implement. @@ -20,11 +20,11 @@ interface HelperInterface /** * Sets the helper set associated with this helper. */ - public function setHelperSet(\RectorPrefix20220519\Symfony\Component\Console\Helper\HelperSet $helperSet = null); + public function setHelperSet(\RectorPrefix20220520\Symfony\Component\Console\Helper\HelperSet $helperSet = null); /** * Gets the helper set associated with this helper. */ - public function getHelperSet() : ?\RectorPrefix20220519\Symfony\Component\Console\Helper\HelperSet; + public function getHelperSet() : ?\RectorPrefix20220520\Symfony\Component\Console\Helper\HelperSet; /** * Returns the canonical name of this helper. * diff --git a/vendor/symfony/console/Helper/HelperSet.php b/vendor/symfony/console/Helper/HelperSet.php index 99cd451419d..4d12968ae16 100644 --- a/vendor/symfony/console/Helper/HelperSet.php +++ b/vendor/symfony/console/Helper/HelperSet.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 RectorPrefix20220519\Symfony\Component\Console\Helper; +namespace RectorPrefix20220520\Symfony\Component\Console\Helper; -use RectorPrefix20220519\Symfony\Component\Console\Exception\InvalidArgumentException; +use RectorPrefix20220520\Symfony\Component\Console\Exception\InvalidArgumentException; /** * HelperSet represents a set of helpers to be used with a command. * @@ -31,7 +31,7 @@ class HelperSet implements \IteratorAggregate $this->set($helper, \is_int($alias) ? null : $alias); } } - public function set(\RectorPrefix20220519\Symfony\Component\Console\Helper\HelperInterface $helper, string $alias = null) + public function set(\RectorPrefix20220520\Symfony\Component\Console\Helper\HelperInterface $helper, string $alias = null) { $this->helpers[$helper->getName()] = $helper; if (null !== $alias) { @@ -51,10 +51,10 @@ class HelperSet implements \IteratorAggregate * * @throws InvalidArgumentException if the helper is not defined */ - public function get(string $name) : \RectorPrefix20220519\Symfony\Component\Console\Helper\HelperInterface + public function get(string $name) : \RectorPrefix20220520\Symfony\Component\Console\Helper\HelperInterface { if (!$this->has($name)) { - throw new \RectorPrefix20220519\Symfony\Component\Console\Exception\InvalidArgumentException(\sprintf('The helper "%s" is not defined.', $name)); + throw new \RectorPrefix20220520\Symfony\Component\Console\Exception\InvalidArgumentException(\sprintf('The helper "%s" is not defined.', $name)); } return $this->helpers[$name]; } diff --git a/vendor/symfony/console/Helper/InputAwareHelper.php b/vendor/symfony/console/Helper/InputAwareHelper.php index b19229d7391..cb4bbc0dce6 100644 --- a/vendor/symfony/console/Helper/InputAwareHelper.php +++ b/vendor/symfony/console/Helper/InputAwareHelper.php @@ -8,22 +8,22 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20220519\Symfony\Component\Console\Helper; +namespace RectorPrefix20220520\Symfony\Component\Console\Helper; -use RectorPrefix20220519\Symfony\Component\Console\Input\InputAwareInterface; -use RectorPrefix20220519\Symfony\Component\Console\Input\InputInterface; +use RectorPrefix20220520\Symfony\Component\Console\Input\InputAwareInterface; +use RectorPrefix20220520\Symfony\Component\Console\Input\InputInterface; /** * An implementation of InputAwareInterface for Helpers. * * @author Wouter J */ -abstract class InputAwareHelper extends \RectorPrefix20220519\Symfony\Component\Console\Helper\Helper implements \RectorPrefix20220519\Symfony\Component\Console\Input\InputAwareInterface +abstract class InputAwareHelper extends \RectorPrefix20220520\Symfony\Component\Console\Helper\Helper implements \RectorPrefix20220520\Symfony\Component\Console\Input\InputAwareInterface { protected $input; /** * {@inheritdoc} */ - public function setInput(\RectorPrefix20220519\Symfony\Component\Console\Input\InputInterface $input) + public function setInput(\RectorPrefix20220520\Symfony\Component\Console\Input\InputInterface $input) { $this->input = $input; } diff --git a/vendor/symfony/console/Helper/ProcessHelper.php b/vendor/symfony/console/Helper/ProcessHelper.php index 8c1a44fccb1..a1e98b8e932 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 RectorPrefix20220519\Symfony\Component\Console\Helper; +namespace RectorPrefix20220520\Symfony\Component\Console\Helper; -use RectorPrefix20220519\Symfony\Component\Console\Output\ConsoleOutputInterface; -use RectorPrefix20220519\Symfony\Component\Console\Output\OutputInterface; -use RectorPrefix20220519\Symfony\Component\Process\Exception\ProcessFailedException; -use RectorPrefix20220519\Symfony\Component\Process\Process; +use RectorPrefix20220520\Symfony\Component\Console\Output\ConsoleOutputInterface; +use RectorPrefix20220520\Symfony\Component\Console\Output\OutputInterface; +use RectorPrefix20220520\Symfony\Component\Process\Exception\ProcessFailedException; +use RectorPrefix20220520\Symfony\Component\Process\Process; /** * The ProcessHelper class provides helpers to run external processes. * @@ -21,7 +21,7 @@ use RectorPrefix20220519\Symfony\Component\Process\Process; * * @final */ -class ProcessHelper extends \RectorPrefix20220519\Symfony\Component\Console\Helper\Helper +class ProcessHelper extends \RectorPrefix20220520\Symfony\Component\Console\Helper\Helper { /** * Runs an external process. @@ -30,22 +30,22 @@ class ProcessHelper extends \RectorPrefix20220519\Symfony\Component\Console\Help * @param callable|null $callback A PHP callback to run whenever there is some * output available on STDOUT or STDERR */ - public function run(\RectorPrefix20220519\Symfony\Component\Console\Output\OutputInterface $output, $cmd, string $error = null, callable $callback = null, int $verbosity = \RectorPrefix20220519\Symfony\Component\Console\Output\OutputInterface::VERBOSITY_VERY_VERBOSE) : \RectorPrefix20220519\Symfony\Component\Process\Process + public function run(\RectorPrefix20220520\Symfony\Component\Console\Output\OutputInterface $output, $cmd, string $error = null, callable $callback = null, int $verbosity = \RectorPrefix20220520\Symfony\Component\Console\Output\OutputInterface::VERBOSITY_VERY_VERBOSE) : \RectorPrefix20220520\Symfony\Component\Process\Process { - if (!\class_exists(\RectorPrefix20220519\Symfony\Component\Process\Process::class)) { + if (!\class_exists(\RectorPrefix20220520\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 \RectorPrefix20220519\Symfony\Component\Console\Output\ConsoleOutputInterface) { + if ($output instanceof \RectorPrefix20220520\Symfony\Component\Console\Output\ConsoleOutputInterface) { $output = $output->getErrorOutput(); } $formatter = $this->getHelperSet()->get('debug_formatter'); - if ($cmd instanceof \RectorPrefix20220519\Symfony\Component\Process\Process) { + if ($cmd instanceof \RectorPrefix20220520\Symfony\Component\Process\Process) { $cmd = [$cmd]; } if (\is_string($cmd[0] ?? null)) { - $process = new \RectorPrefix20220519\Symfony\Component\Process\Process($cmd); + $process = new \RectorPrefix20220520\Symfony\Component\Process\Process($cmd); $cmd = []; - } elseif (($cmd[0] ?? null) instanceof \RectorPrefix20220519\Symfony\Component\Process\Process) { + } elseif (($cmd[0] ?? null) instanceof \RectorPrefix20220520\Symfony\Component\Process\Process) { $process = $cmd[0]; unset($cmd[0]); } else { @@ -81,25 +81,25 @@ class ProcessHelper extends \RectorPrefix20220519\Symfony\Component\Console\Help * * @see run() */ - public function mustRun(\RectorPrefix20220519\Symfony\Component\Console\Output\OutputInterface $output, $cmd, string $error = null, callable $callback = null) : \RectorPrefix20220519\Symfony\Component\Process\Process + public function mustRun(\RectorPrefix20220520\Symfony\Component\Console\Output\OutputInterface $output, $cmd, string $error = null, callable $callback = null) : \RectorPrefix20220520\Symfony\Component\Process\Process { $process = $this->run($output, $cmd, $error, $callback); if (!$process->isSuccessful()) { - throw new \RectorPrefix20220519\Symfony\Component\Process\Exception\ProcessFailedException($process); + throw new \RectorPrefix20220520\Symfony\Component\Process\Exception\ProcessFailedException($process); } return $process; } /** * Wraps a Process callback to add debugging output. */ - public function wrapCallback(\RectorPrefix20220519\Symfony\Component\Console\Output\OutputInterface $output, \RectorPrefix20220519\Symfony\Component\Process\Process $process, callable $callback = null) : callable + public function wrapCallback(\RectorPrefix20220520\Symfony\Component\Console\Output\OutputInterface $output, \RectorPrefix20220520\Symfony\Component\Process\Process $process, callable $callback = null) : callable { - if ($output instanceof \RectorPrefix20220519\Symfony\Component\Console\Output\ConsoleOutputInterface) { + if ($output instanceof \RectorPrefix20220520\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), \RectorPrefix20220519\Symfony\Component\Process\Process::ERR === $type)); + $output->write($formatter->progress(\spl_object_hash($process), $this->escapeString($buffer), \RectorPrefix20220520\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 427d04d53a8..07da27d1baa 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 RectorPrefix20220519\Symfony\Component\Console\Helper; +namespace RectorPrefix20220520\Symfony\Component\Console\Helper; -use RectorPrefix20220519\Symfony\Component\Console\Cursor; -use RectorPrefix20220519\Symfony\Component\Console\Exception\LogicException; -use RectorPrefix20220519\Symfony\Component\Console\Output\ConsoleOutputInterface; -use RectorPrefix20220519\Symfony\Component\Console\Output\ConsoleSectionOutput; -use RectorPrefix20220519\Symfony\Component\Console\Output\OutputInterface; -use RectorPrefix20220519\Symfony\Component\Console\Terminal; +use RectorPrefix20220520\Symfony\Component\Console\Cursor; +use RectorPrefix20220520\Symfony\Component\Console\Exception\LogicException; +use RectorPrefix20220520\Symfony\Component\Console\Output\ConsoleOutputInterface; +use RectorPrefix20220520\Symfony\Component\Console\Output\ConsoleSectionOutput; +use RectorPrefix20220520\Symfony\Component\Console\Output\OutputInterface; +use RectorPrefix20220520\Symfony\Component\Console\Terminal; /** * The ProgressBar provides helpers to display progress output. * @@ -126,14 +126,14 @@ final class ProgressBar /** * @param int $max Maximum steps (0 if unknown) */ - public function __construct(\RectorPrefix20220519\Symfony\Component\Console\Output\OutputInterface $output, int $max = 0, float $minSecondsBetweenRedraws = 1 / 25) + public function __construct(\RectorPrefix20220520\Symfony\Component\Console\Output\OutputInterface $output, int $max = 0, float $minSecondsBetweenRedraws = 1 / 25) { - if ($output instanceof \RectorPrefix20220519\Symfony\Component\Console\Output\ConsoleOutputInterface) { + if ($output instanceof \RectorPrefix20220520\Symfony\Component\Console\Output\ConsoleOutputInterface) { $output = $output->getErrorOutput(); } $this->output = $output; $this->setMaxSteps($max); - $this->terminal = new \RectorPrefix20220519\Symfony\Component\Console\Terminal(); + $this->terminal = new \RectorPrefix20220520\Symfony\Component\Console\Terminal(); if (0 < $minSecondsBetweenRedraws) { $this->redrawFreq = null; $this->minSecondsBetweenRedraws = $minSecondsBetweenRedraws; @@ -145,7 +145,7 @@ final class ProgressBar $this->redrawFreq = null; } $this->startTime = \time(); - $this->cursor = new \RectorPrefix20220519\Symfony\Component\Console\Cursor($output); + $this->cursor = new \RectorPrefix20220520\Symfony\Component\Console\Cursor($output); } /** * Sets a placeholder formatter for a given name. @@ -379,7 +379,7 @@ final class ProgressBar { $this->format = null; $this->max = \max(0, $max); - $this->stepWidth = $this->max ? \RectorPrefix20220519\Symfony\Component\Console\Helper\Helper::width((string) $this->max) : 4; + $this->stepWidth = $this->max ? \RectorPrefix20220520\Symfony\Component\Console\Helper\Helper::width((string) $this->max) : 4; } /** * Finishes the progress output. @@ -400,7 +400,7 @@ final class ProgressBar */ public function display() : void { - if (\RectorPrefix20220519\Symfony\Component\Console\Output\OutputInterface::VERBOSITY_QUIET === $this->output->getVerbosity()) { + if (\RectorPrefix20220520\Symfony\Component\Console\Output\OutputInterface::VERBOSITY_QUIET === $this->output->getVerbosity()) { return; } if (null === $this->format) { @@ -448,11 +448,11 @@ final class ProgressBar $originalMessage = $message; if ($this->overwrite) { if (null !== $this->previousMessage) { - if ($this->output instanceof \RectorPrefix20220519\Symfony\Component\Console\Output\ConsoleSectionOutput) { + if ($this->output instanceof \RectorPrefix20220520\Symfony\Component\Console\Output\ConsoleSectionOutput) { $messageLines = \explode("\n", $message); $lineCount = \count($messageLines); foreach ($messageLines as $messageLine) { - $messageLineLength = \RectorPrefix20220519\Symfony\Component\Console\Helper\Helper::width(\RectorPrefix20220519\Symfony\Component\Console\Helper\Helper::removeDecoration($this->output->getFormatter(), $messageLine)); + $messageLineLength = \RectorPrefix20220520\Symfony\Component\Console\Helper\Helper::width(\RectorPrefix20220520\Symfony\Component\Console\Helper\Helper::removeDecoration($this->output->getFormatter(), $messageLine)); if ($messageLineLength > $this->terminal->getWidth()) { $lineCount += \floor($messageLineLength / $this->terminal->getWidth()); } @@ -480,11 +480,11 @@ final class ProgressBar { switch ($this->output->getVerbosity()) { // OutputInterface::VERBOSITY_QUIET: display is disabled anyway - case \RectorPrefix20220519\Symfony\Component\Console\Output\OutputInterface::VERBOSITY_VERBOSE: + case \RectorPrefix20220520\Symfony\Component\Console\Output\OutputInterface::VERBOSITY_VERBOSE: return $this->max ? self::FORMAT_VERBOSE : self::FORMAT_VERBOSE_NOMAX; - case \RectorPrefix20220519\Symfony\Component\Console\Output\OutputInterface::VERBOSITY_VERY_VERBOSE: + case \RectorPrefix20220520\Symfony\Component\Console\Output\OutputInterface::VERBOSITY_VERY_VERBOSE: return $this->max ? self::FORMAT_VERY_VERBOSE : self::FORMAT_VERY_VERBOSE_NOMAX; - case \RectorPrefix20220519\Symfony\Component\Console\Output\OutputInterface::VERBOSITY_DEBUG: + case \RectorPrefix20220520\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; @@ -492,28 +492,28 @@ final class ProgressBar } private static function initPlaceholderFormatters() : array { - return ['bar' => function (self $bar, \RectorPrefix20220519\Symfony\Component\Console\Output\OutputInterface $output) { + return ['bar' => function (self $bar, \RectorPrefix20220520\Symfony\Component\Console\Output\OutputInterface $output) { $completeBars = $bar->getBarOffset(); $display = \str_repeat($bar->getBarCharacter(), $completeBars); if ($completeBars < $bar->getBarWidth()) { - $emptyBars = $bar->getBarWidth() - $completeBars - \RectorPrefix20220519\Symfony\Component\Console\Helper\Helper::length(\RectorPrefix20220519\Symfony\Component\Console\Helper\Helper::removeDecoration($output->getFormatter(), $bar->getProgressCharacter())); + $emptyBars = $bar->getBarWidth() - $completeBars - \RectorPrefix20220520\Symfony\Component\Console\Helper\Helper::length(\RectorPrefix20220520\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 \RectorPrefix20220519\Symfony\Component\Console\Helper\Helper::formatTime(\time() - $bar->getStartTime()); + return \RectorPrefix20220520\Symfony\Component\Console\Helper\Helper::formatTime(\time() - $bar->getStartTime()); }, 'remaining' => function (self $bar) { if (!$bar->getMaxSteps()) { - throw new \RectorPrefix20220519\Symfony\Component\Console\Exception\LogicException('Unable to display the remaining time if the maximum number of steps is not set.'); + throw new \RectorPrefix20220520\Symfony\Component\Console\Exception\LogicException('Unable to display the remaining time if the maximum number of steps is not set.'); } - return \RectorPrefix20220519\Symfony\Component\Console\Helper\Helper::formatTime($bar->getRemaining()); + return \RectorPrefix20220520\Symfony\Component\Console\Helper\Helper::formatTime($bar->getRemaining()); }, 'estimated' => function (self $bar) { if (!$bar->getMaxSteps()) { - throw new \RectorPrefix20220519\Symfony\Component\Console\Exception\LogicException('Unable to display the estimated time if the maximum number of steps is not set.'); + throw new \RectorPrefix20220520\Symfony\Component\Console\Exception\LogicException('Unable to display the estimated time if the maximum number of steps is not set.'); } - return \RectorPrefix20220519\Symfony\Component\Console\Helper\Helper::formatTime($bar->getEstimated()); + return \RectorPrefix20220520\Symfony\Component\Console\Helper\Helper::formatTime($bar->getEstimated()); }, 'memory' => function (self $bar) { - return \RectorPrefix20220519\Symfony\Component\Console\Helper\Helper::formatMemory(\memory_get_usage(\true)); + return \RectorPrefix20220520\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) { @@ -546,7 +546,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 \RectorPrefix20220519\Symfony\Component\Console\Helper\Helper::width(\RectorPrefix20220519\Symfony\Component\Console\Helper\Helper::removeDecoration($this->output->getFormatter(), \rtrim($subLine, "\r"))); + return \RectorPrefix20220520\Symfony\Component\Console\Helper\Helper::width(\RectorPrefix20220520\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 5b158fadfb4..c1d5a789c2b 100644 --- a/vendor/symfony/console/Helper/ProgressIndicator.php +++ b/vendor/symfony/console/Helper/ProgressIndicator.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 RectorPrefix20220519\Symfony\Component\Console\Helper; +namespace RectorPrefix20220520\Symfony\Component\Console\Helper; -use RectorPrefix20220519\Symfony\Component\Console\Exception\InvalidArgumentException; -use RectorPrefix20220519\Symfony\Component\Console\Exception\LogicException; -use RectorPrefix20220519\Symfony\Component\Console\Output\OutputInterface; +use RectorPrefix20220520\Symfony\Component\Console\Exception\InvalidArgumentException; +use RectorPrefix20220520\Symfony\Component\Console\Exception\LogicException; +use RectorPrefix20220520\Symfony\Component\Console\Output\OutputInterface; /** * @author Kevin Bond */ @@ -60,7 +60,7 @@ class ProgressIndicator * @param int $indicatorChangeInterval Change interval in milliseconds * @param array|null $indicatorValues Animated indicator characters */ - public function __construct(\RectorPrefix20220519\Symfony\Component\Console\Output\OutputInterface $output, string $format = null, int $indicatorChangeInterval = 100, array $indicatorValues = null) + public function __construct(\RectorPrefix20220520\Symfony\Component\Console\Output\OutputInterface $output, string $format = null, int $indicatorChangeInterval = 100, array $indicatorValues = null) { $this->output = $output; if (null === $format) { @@ -71,7 +71,7 @@ class ProgressIndicator } $indicatorValues = \array_values($indicatorValues); if (2 > \count($indicatorValues)) { - throw new \RectorPrefix20220519\Symfony\Component\Console\Exception\InvalidArgumentException('Must have at least 2 indicator value characters.'); + throw new \RectorPrefix20220520\Symfony\Component\Console\Exception\InvalidArgumentException('Must have at least 2 indicator value characters.'); } $this->format = self::getFormatDefinition($format); $this->indicatorChangeInterval = $indicatorChangeInterval; @@ -92,7 +92,7 @@ class ProgressIndicator public function start(string $message) { if ($this->started) { - throw new \RectorPrefix20220519\Symfony\Component\Console\Exception\LogicException('Progress indicator already started.'); + throw new \RectorPrefix20220520\Symfony\Component\Console\Exception\LogicException('Progress indicator already started.'); } $this->message = $message; $this->started = \true; @@ -107,7 +107,7 @@ class ProgressIndicator public function advance() { if (!$this->started) { - throw new \RectorPrefix20220519\Symfony\Component\Console\Exception\LogicException('Progress indicator has not yet been started.'); + throw new \RectorPrefix20220520\Symfony\Component\Console\Exception\LogicException('Progress indicator has not yet been started.'); } if (!$this->output->isDecorated()) { return; @@ -128,7 +128,7 @@ class ProgressIndicator public function finish(string $message) { if (!$this->started) { - throw new \RectorPrefix20220519\Symfony\Component\Console\Exception\LogicException('Progress indicator has not yet been started.'); + throw new \RectorPrefix20220520\Symfony\Component\Console\Exception\LogicException('Progress indicator has not yet been started.'); } $this->message = $message; $this->display(); @@ -162,7 +162,7 @@ class ProgressIndicator } private function display() { - if (\RectorPrefix20220519\Symfony\Component\Console\Output\OutputInterface::VERBOSITY_QUIET === $this->output->getVerbosity()) { + if (\RectorPrefix20220520\Symfony\Component\Console\Output\OutputInterface::VERBOSITY_QUIET === $this->output->getVerbosity()) { return; } $this->overwrite(\preg_replace_callback("{%([a-z\\-_]+)(?:\\:([^%]+))?%}i", function ($matches) { @@ -176,10 +176,10 @@ class ProgressIndicator { switch ($this->output->getVerbosity()) { // OutputInterface::VERBOSITY_QUIET: display is disabled anyway - case \RectorPrefix20220519\Symfony\Component\Console\Output\OutputInterface::VERBOSITY_VERBOSE: + case \RectorPrefix20220520\Symfony\Component\Console\Output\OutputInterface::VERBOSITY_VERBOSE: return $this->output->isDecorated() ? 'verbose' : 'verbose_no_ansi'; - case \RectorPrefix20220519\Symfony\Component\Console\Output\OutputInterface::VERBOSITY_VERY_VERBOSE: - case \RectorPrefix20220519\Symfony\Component\Console\Output\OutputInterface::VERBOSITY_DEBUG: + case \RectorPrefix20220520\Symfony\Component\Console\Output\OutputInterface::VERBOSITY_VERY_VERBOSE: + case \RectorPrefix20220520\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'; @@ -211,9 +211,9 @@ class ProgressIndicator }, 'message' => function (self $indicator) { return $indicator->message; }, 'elapsed' => function (self $indicator) { - return \RectorPrefix20220519\Symfony\Component\Console\Helper\Helper::formatTime(\time() - $indicator->startTime); + return \RectorPrefix20220520\Symfony\Component\Console\Helper\Helper::formatTime(\time() - $indicator->startTime); }, 'memory' => function () { - return \RectorPrefix20220519\Symfony\Component\Console\Helper\Helper::formatMemory(\memory_get_usage(\true)); + return \RectorPrefix20220520\Symfony\Component\Console\Helper\Helper::formatMemory(\memory_get_usage(\true)); }]; } } diff --git a/vendor/symfony/console/Helper/QuestionHelper.php b/vendor/symfony/console/Helper/QuestionHelper.php index 864fa3daadf..a9b8d848f5b 100644 --- a/vendor/symfony/console/Helper/QuestionHelper.php +++ b/vendor/symfony/console/Helper/QuestionHelper.php @@ -8,28 +8,28 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20220519\Symfony\Component\Console\Helper; +namespace RectorPrefix20220520\Symfony\Component\Console\Helper; -use RectorPrefix20220519\Symfony\Component\Console\Cursor; -use RectorPrefix20220519\Symfony\Component\Console\Exception\MissingInputException; -use RectorPrefix20220519\Symfony\Component\Console\Exception\RuntimeException; -use RectorPrefix20220519\Symfony\Component\Console\Formatter\OutputFormatter; -use RectorPrefix20220519\Symfony\Component\Console\Formatter\OutputFormatterStyle; -use RectorPrefix20220519\Symfony\Component\Console\Input\InputInterface; -use RectorPrefix20220519\Symfony\Component\Console\Input\StreamableInputInterface; -use RectorPrefix20220519\Symfony\Component\Console\Output\ConsoleOutputInterface; -use RectorPrefix20220519\Symfony\Component\Console\Output\ConsoleSectionOutput; -use RectorPrefix20220519\Symfony\Component\Console\Output\OutputInterface; -use RectorPrefix20220519\Symfony\Component\Console\Question\ChoiceQuestion; -use RectorPrefix20220519\Symfony\Component\Console\Question\Question; -use RectorPrefix20220519\Symfony\Component\Console\Terminal; -use function RectorPrefix20220519\Symfony\Component\String\s; +use RectorPrefix20220520\Symfony\Component\Console\Cursor; +use RectorPrefix20220520\Symfony\Component\Console\Exception\MissingInputException; +use RectorPrefix20220520\Symfony\Component\Console\Exception\RuntimeException; +use RectorPrefix20220520\Symfony\Component\Console\Formatter\OutputFormatter; +use RectorPrefix20220520\Symfony\Component\Console\Formatter\OutputFormatterStyle; +use RectorPrefix20220520\Symfony\Component\Console\Input\InputInterface; +use RectorPrefix20220520\Symfony\Component\Console\Input\StreamableInputInterface; +use RectorPrefix20220520\Symfony\Component\Console\Output\ConsoleOutputInterface; +use RectorPrefix20220520\Symfony\Component\Console\Output\ConsoleSectionOutput; +use RectorPrefix20220520\Symfony\Component\Console\Output\OutputInterface; +use RectorPrefix20220520\Symfony\Component\Console\Question\ChoiceQuestion; +use RectorPrefix20220520\Symfony\Component\Console\Question\Question; +use RectorPrefix20220520\Symfony\Component\Console\Terminal; +use function RectorPrefix20220520\Symfony\Component\String\s; /** * The QuestionHelper class provides helpers to interact with the user. * * @author Fabien Potencier */ -class QuestionHelper extends \RectorPrefix20220519\Symfony\Component\Console\Helper\Helper +class QuestionHelper extends \RectorPrefix20220520\Symfony\Component\Console\Helper\Helper { /** * @var resource|null @@ -50,15 +50,15 @@ class QuestionHelper extends \RectorPrefix20220519\Symfony\Component\Console\Hel * * @throws RuntimeException If there is no data to read in the input stream */ - public function ask(\RectorPrefix20220519\Symfony\Component\Console\Input\InputInterface $input, \RectorPrefix20220519\Symfony\Component\Console\Output\OutputInterface $output, \RectorPrefix20220519\Symfony\Component\Console\Question\Question $question) + public function ask(\RectorPrefix20220520\Symfony\Component\Console\Input\InputInterface $input, \RectorPrefix20220520\Symfony\Component\Console\Output\OutputInterface $output, \RectorPrefix20220520\Symfony\Component\Console\Question\Question $question) { - if ($output instanceof \RectorPrefix20220519\Symfony\Component\Console\Output\ConsoleOutputInterface) { + if ($output instanceof \RectorPrefix20220520\Symfony\Component\Console\Output\ConsoleOutputInterface) { $output = $output->getErrorOutput(); } if (!$input->isInteractive()) { return $this->getDefaultAnswer($question); } - if ($input instanceof \RectorPrefix20220519\Symfony\Component\Console\Input\StreamableInputInterface && ($stream = $input->getStream())) { + if ($input instanceof \RectorPrefix20220520\Symfony\Component\Console\Input\StreamableInputInterface && ($stream = $input->getStream())) { $this->inputStream = $stream; } try { @@ -69,7 +69,7 @@ class QuestionHelper extends \RectorPrefix20220519\Symfony\Component\Console\Hel return $this->doAsk($output, $question); }; return $this->validateAttempts($interviewer, $output, $question); - } catch (\RectorPrefix20220519\Symfony\Component\Console\Exception\MissingInputException $exception) { + } catch (\RectorPrefix20220520\Symfony\Component\Console\Exception\MissingInputException $exception) { $input->setInteractive(\false); if (null === ($fallbackOutput = $this->getDefaultAnswer($question))) { throw $exception; @@ -97,18 +97,18 @@ class QuestionHelper extends \RectorPrefix20220519\Symfony\Component\Console\Hel * @throws RuntimeException In case the fallback is deactivated and the response cannot be hidden * @return mixed */ - private function doAsk(\RectorPrefix20220519\Symfony\Component\Console\Output\OutputInterface $output, \RectorPrefix20220519\Symfony\Component\Console\Question\Question $question) + private function doAsk(\RectorPrefix20220520\Symfony\Component\Console\Output\OutputInterface $output, \RectorPrefix20220520\Symfony\Component\Console\Question\Question $question) { $this->writePrompt($output, $question); $inputStream = $this->inputStream ?: \STDIN; $autocomplete = $question->getAutocompleterCallback(); - if (null === $autocomplete || !self::$stty || !\RectorPrefix20220519\Symfony\Component\Console\Terminal::hasSttyAvailable()) { + if (null === $autocomplete || !self::$stty || !\RectorPrefix20220520\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 (\RectorPrefix20220519\Symfony\Component\Console\Exception\RuntimeException $e) { + } catch (\RectorPrefix20220520\Symfony\Component\Console\Exception\RuntimeException $e) { if (!$question->isHiddenFallback()) { throw $e; } @@ -117,7 +117,7 @@ class QuestionHelper extends \RectorPrefix20220519\Symfony\Component\Console\Hel if (\false === $ret) { $ret = $this->readInput($inputStream, $question); if (\false === $ret) { - throw new \RectorPrefix20220519\Symfony\Component\Console\Exception\MissingInputException('Aborted.'); + throw new \RectorPrefix20220520\Symfony\Component\Console\Exception\MissingInputException('Aborted.'); } if ($question->isTrimmable()) { $ret = \trim($ret); @@ -127,7 +127,7 @@ class QuestionHelper extends \RectorPrefix20220519\Symfony\Component\Console\Hel $autocomplete = $this->autocomplete($output, $question, $inputStream, $autocomplete); $ret = $question->isTrimmable() ? \trim($autocomplete) : $autocomplete; } - if ($output instanceof \RectorPrefix20220519\Symfony\Component\Console\Output\ConsoleSectionOutput) { + if ($output instanceof \RectorPrefix20220520\Symfony\Component\Console\Output\ConsoleSectionOutput) { $output->addContent($ret); } $ret = \strlen($ret) > 0 ? $ret : $question->getDefault(); @@ -139,7 +139,7 @@ class QuestionHelper extends \RectorPrefix20220519\Symfony\Component\Console\Hel /** * @return mixed */ - private function getDefaultAnswer(\RectorPrefix20220519\Symfony\Component\Console\Question\Question $question) + private function getDefaultAnswer(\RectorPrefix20220520\Symfony\Component\Console\Question\Question $question) { $default = $question->getDefault(); if (null === $default) { @@ -147,7 +147,7 @@ class QuestionHelper extends \RectorPrefix20220519\Symfony\Component\Console\Hel } if ($validator = $question->getValidator()) { return \call_user_func($question->getValidator(), $default); - } elseif ($question instanceof \RectorPrefix20220519\Symfony\Component\Console\Question\ChoiceQuestion) { + } elseif ($question instanceof \RectorPrefix20220520\Symfony\Component\Console\Question\ChoiceQuestion) { $choices = $question->getChoices(); if (!$question->isMultiselect()) { return $choices[$default] ?? $default; @@ -163,10 +163,10 @@ class QuestionHelper extends \RectorPrefix20220519\Symfony\Component\Console\Hel /** * Outputs the question prompt. */ - protected function writePrompt(\RectorPrefix20220519\Symfony\Component\Console\Output\OutputInterface $output, \RectorPrefix20220519\Symfony\Component\Console\Question\Question $question) + protected function writePrompt(\RectorPrefix20220520\Symfony\Component\Console\Output\OutputInterface $output, \RectorPrefix20220520\Symfony\Component\Console\Question\Question $question) { $message = $question->getQuestion(); - if ($question instanceof \RectorPrefix20220519\Symfony\Component\Console\Question\ChoiceQuestion) { + if ($question instanceof \RectorPrefix20220520\Symfony\Component\Console\Question\ChoiceQuestion) { $output->writeln(\array_merge([$question->getQuestion()], $this->formatChoiceQuestionChoices($question, 'info'))); $message = $question->getPrompt(); } @@ -175,7 +175,7 @@ class QuestionHelper extends \RectorPrefix20220519\Symfony\Component\Console\Hel /** * @return string[] */ - protected function formatChoiceQuestionChoices(\RectorPrefix20220519\Symfony\Component\Console\Question\ChoiceQuestion $question, string $tag) : array + protected function formatChoiceQuestionChoices(\RectorPrefix20220520\Symfony\Component\Console\Question\ChoiceQuestion $question, string $tag) : array { $messages = []; $maxWidth = \max(\array_map([__CLASS__, 'width'], \array_keys($choices = $question->getChoices()))); @@ -188,7 +188,7 @@ class QuestionHelper extends \RectorPrefix20220519\Symfony\Component\Console\Hel /** * Outputs an error message. */ - protected function writeError(\RectorPrefix20220519\Symfony\Component\Console\Output\OutputInterface $output, \Exception $error) + protected function writeError(\RectorPrefix20220520\Symfony\Component\Console\Output\OutputInterface $output, \Exception $error) { if (null !== $this->getHelperSet() && $this->getHelperSet()->has('formatter')) { $message = $this->getHelperSet()->get('formatter')->formatBlock($error->getMessage(), 'error'); @@ -202,9 +202,9 @@ class QuestionHelper extends \RectorPrefix20220519\Symfony\Component\Console\Hel * * @param resource $inputStream */ - private function autocomplete(\RectorPrefix20220519\Symfony\Component\Console\Output\OutputInterface $output, \RectorPrefix20220519\Symfony\Component\Console\Question\Question $question, $inputStream, callable $autocomplete) : string + private function autocomplete(\RectorPrefix20220520\Symfony\Component\Console\Output\OutputInterface $output, \RectorPrefix20220520\Symfony\Component\Console\Question\Question $question, $inputStream, callable $autocomplete) : string { - $cursor = new \RectorPrefix20220519\Symfony\Component\Console\Cursor($output, $inputStream); + $cursor = new \RectorPrefix20220520\Symfony\Component\Console\Cursor($output, $inputStream); $fullChoice = ''; $ret = ''; $i = 0; @@ -218,7 +218,7 @@ class QuestionHelper extends \RectorPrefix20220519\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 \RectorPrefix20220519\Symfony\Component\Console\Formatter\OutputFormatterStyle('black', 'white')); + $output->getFormatter()->setStyle('hl', new \RectorPrefix20220520\Symfony\Component\Console\Formatter\OutputFormatterStyle('black', 'white')); // Read a keypress while (!\feof($inputStream)) { while ($isStdin && 0 === @\stream_select($r, $w, $w, 0, 100)) { @@ -229,12 +229,12 @@ class QuestionHelper extends \RectorPrefix20220519\Symfony\Component\Console\Hel // 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('stty ' . $sttyMode); - throw new \RectorPrefix20220519\Symfony\Component\Console\Exception\MissingInputException('Aborted.'); + throw new \RectorPrefix20220520\Symfony\Component\Console\Exception\MissingInputException('Aborted.'); } elseif ("" === $c) { // Backspace Character if (0 === $numMatches && 0 !== $i) { --$i; - $cursor->moveLeft(\RectorPrefix20220519\Symfony\Component\String\s($fullChoice)->slice(-1)->width(\false)); + $cursor->moveLeft(\RectorPrefix20220520\Symfony\Component\String\s($fullChoice)->slice(-1)->width(\false)); $fullChoice = self::substr($fullChoice, 0, $i); } if (0 === $i) { @@ -291,7 +291,7 @@ class QuestionHelper extends \RectorPrefix20220519\Symfony\Component\Console\Hel $fullChoice .= $c; ++$i; $tempRet = $ret; - if ($question instanceof \RectorPrefix20220519\Symfony\Component\Console\Question\ChoiceQuestion && $question->isMultiselect()) { + if ($question instanceof \RectorPrefix20220520\Symfony\Component\Console\Question\ChoiceQuestion && $question->isMultiselect()) { $tempRet = $this->mostRecentlyEnteredValue($fullChoice); } $numMatches = 0; @@ -308,7 +308,7 @@ class QuestionHelper extends \RectorPrefix20220519\Symfony\Component\Console\Hel $cursor->savePosition(); // Write highlighted text, complete the partially entered response $charactersEntered = \strlen(\trim($this->mostRecentlyEnteredValue($fullChoice))); - $output->write('' . \RectorPrefix20220519\Symfony\Component\Console\Formatter\OutputFormatter::escapeTrailingBackslash(\substr($matches[$ofs], $charactersEntered)) . ''); + $output->write('' . \RectorPrefix20220520\Symfony\Component\Console\Formatter\OutputFormatter::escapeTrailingBackslash(\substr($matches[$ofs], $charactersEntered)) . ''); $cursor->restorePosition(); } } @@ -336,7 +336,7 @@ class QuestionHelper extends \RectorPrefix20220519\Symfony\Component\Console\Hel * * @throws RuntimeException In case the fallback is deactivated and the response cannot be hidden */ - private function getHiddenResponse(\RectorPrefix20220519\Symfony\Component\Console\Output\OutputInterface $output, $inputStream, bool $trimmable = \true) : string + private function getHiddenResponse(\RectorPrefix20220520\Symfony\Component\Console\Output\OutputInterface $output, $inputStream, bool $trimmable = \true) : string { if ('\\' === \DIRECTORY_SEPARATOR) { $exe = __DIR__ . '/../Resources/bin/hiddeninput.exe'; @@ -354,18 +354,18 @@ class QuestionHelper extends \RectorPrefix20220519\Symfony\Component\Console\Hel } return $value; } - if (self::$stty && \RectorPrefix20220519\Symfony\Component\Console\Terminal::hasSttyAvailable()) { + if (self::$stty && \RectorPrefix20220520\Symfony\Component\Console\Terminal::hasSttyAvailable()) { $sttyMode = \shell_exec('stty -g'); \shell_exec('stty -echo'); } elseif ($this->isInteractiveInput($inputStream)) { - throw new \RectorPrefix20220519\Symfony\Component\Console\Exception\RuntimeException('Unable to hide the response.'); + throw new \RectorPrefix20220520\Symfony\Component\Console\Exception\RuntimeException('Unable to hide the response.'); } $value = \fgets($inputStream, 4096); - if (self::$stty && \RectorPrefix20220519\Symfony\Component\Console\Terminal::hasSttyAvailable()) { + if (self::$stty && \RectorPrefix20220520\Symfony\Component\Console\Terminal::hasSttyAvailable()) { \shell_exec('stty ' . $sttyMode); } if (\false === $value) { - throw new \RectorPrefix20220519\Symfony\Component\Console\Exception\MissingInputException('Aborted.'); + throw new \RectorPrefix20220520\Symfony\Component\Console\Exception\MissingInputException('Aborted.'); } if ($trimmable) { $value = \trim($value); @@ -381,7 +381,7 @@ class QuestionHelper extends \RectorPrefix20220519\Symfony\Component\Console\Hel * @throws \Exception In case the max number of attempts has been reached and no valid response has been given * @return mixed */ - private function validateAttempts(callable $interviewer, \RectorPrefix20220519\Symfony\Component\Console\Output\OutputInterface $output, \RectorPrefix20220519\Symfony\Component\Console\Question\Question $question) + private function validateAttempts(callable $interviewer, \RectorPrefix20220520\Symfony\Component\Console\Output\OutputInterface $output, \RectorPrefix20220520\Symfony\Component\Console\Question\Question $question) { $error = null; $attempts = $question->getMaxAttempts(); @@ -391,7 +391,7 @@ class QuestionHelper extends \RectorPrefix20220519\Symfony\Component\Console\Hel } try { return $question->getValidator()($interviewer()); - } catch (\RectorPrefix20220519\Symfony\Component\Console\Exception\RuntimeException $e) { + } catch (\RectorPrefix20220520\Symfony\Component\Console\Exception\RuntimeException $e) { throw $e; } catch (\Exception $error) { } @@ -425,7 +425,7 @@ class QuestionHelper extends \RectorPrefix20220519\Symfony\Component\Console\Hel * @param Question $question The question being asked * @return string|true */ - private function readInput($inputStream, \RectorPrefix20220519\Symfony\Component\Console\Question\Question $question) + private function readInput($inputStream, \RectorPrefix20220520\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 459f740b6d4..ab227175f36 100644 --- a/vendor/symfony/console/Helper/SymfonyQuestionHelper.php +++ b/vendor/symfony/console/Helper/SymfonyQuestionHelper.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 RectorPrefix20220519\Symfony\Component\Console\Helper; +namespace RectorPrefix20220520\Symfony\Component\Console\Helper; -use RectorPrefix20220519\Symfony\Component\Console\Formatter\OutputFormatter; -use RectorPrefix20220519\Symfony\Component\Console\Output\OutputInterface; -use RectorPrefix20220519\Symfony\Component\Console\Question\ChoiceQuestion; -use RectorPrefix20220519\Symfony\Component\Console\Question\ConfirmationQuestion; -use RectorPrefix20220519\Symfony\Component\Console\Question\Question; -use RectorPrefix20220519\Symfony\Component\Console\Style\SymfonyStyle; +use RectorPrefix20220520\Symfony\Component\Console\Formatter\OutputFormatter; +use RectorPrefix20220520\Symfony\Component\Console\Output\OutputInterface; +use RectorPrefix20220520\Symfony\Component\Console\Question\ChoiceQuestion; +use RectorPrefix20220520\Symfony\Component\Console\Question\ConfirmationQuestion; +use RectorPrefix20220520\Symfony\Component\Console\Question\Question; +use RectorPrefix20220520\Symfony\Component\Console\Style\SymfonyStyle; /** * Symfony Style Guide compliant question helper. * * @author Kevin Bond */ -class SymfonyQuestionHelper extends \RectorPrefix20220519\Symfony\Component\Console\Helper\QuestionHelper +class SymfonyQuestionHelper extends \RectorPrefix20220520\Symfony\Component\Console\Helper\QuestionHelper { /** * {@inheritdoc} */ - protected function writePrompt(\RectorPrefix20220519\Symfony\Component\Console\Output\OutputInterface $output, \RectorPrefix20220519\Symfony\Component\Console\Question\Question $question) + protected function writePrompt(\RectorPrefix20220520\Symfony\Component\Console\Output\OutputInterface $output, \RectorPrefix20220520\Symfony\Component\Console\Question\Question $question) { - $text = \RectorPrefix20220519\Symfony\Component\Console\Formatter\OutputFormatter::escapeTrailingBackslash($question->getQuestion()); + $text = \RectorPrefix20220520\Symfony\Component\Console\Formatter\OutputFormatter::escapeTrailingBackslash($question->getQuestion()); $default = $question->getDefault(); if ($question->isMultiline()) { $text .= \sprintf(' (press %s to continue)', $this->getEofShortcut()); @@ -37,27 +37,27 @@ class SymfonyQuestionHelper extends \RectorPrefix20220519\Symfony\Component\Cons case null === $default: $text = \sprintf(' %s:', $text); break; - case $question instanceof \RectorPrefix20220519\Symfony\Component\Console\Question\ConfirmationQuestion: + case $question instanceof \RectorPrefix20220520\Symfony\Component\Console\Question\ConfirmationQuestion: $text = \sprintf(' %s (yes/no) [%s]:', $text, $default ? 'yes' : 'no'); break; - case $question instanceof \RectorPrefix20220519\Symfony\Component\Console\Question\ChoiceQuestion && $question->isMultiselect(): + case $question instanceof \RectorPrefix20220520\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, \RectorPrefix20220519\Symfony\Component\Console\Formatter\OutputFormatter::escape(\implode(', ', $default))); + $text = \sprintf(' %s [%s]:', $text, \RectorPrefix20220520\Symfony\Component\Console\Formatter\OutputFormatter::escape(\implode(', ', $default))); break; - case $question instanceof \RectorPrefix20220519\Symfony\Component\Console\Question\ChoiceQuestion: + case $question instanceof \RectorPrefix20220520\Symfony\Component\Console\Question\ChoiceQuestion: $choices = $question->getChoices(); - $text = \sprintf(' %s [%s]:', $text, \RectorPrefix20220519\Symfony\Component\Console\Formatter\OutputFormatter::escape($choices[$default] ?? $default)); + $text = \sprintf(' %s [%s]:', $text, \RectorPrefix20220520\Symfony\Component\Console\Formatter\OutputFormatter::escape($choices[$default] ?? $default)); break; default: - $text = \sprintf(' %s [%s]:', $text, \RectorPrefix20220519\Symfony\Component\Console\Formatter\OutputFormatter::escape($default)); + $text = \sprintf(' %s [%s]:', $text, \RectorPrefix20220520\Symfony\Component\Console\Formatter\OutputFormatter::escape($default)); } $output->writeln($text); $prompt = ' > '; - if ($question instanceof \RectorPrefix20220519\Symfony\Component\Console\Question\ChoiceQuestion) { + if ($question instanceof \RectorPrefix20220520\Symfony\Component\Console\Question\ChoiceQuestion) { $output->writeln($this->formatChoiceQuestionChoices($question, 'comment')); $prompt = $question->getPrompt(); } @@ -66,9 +66,9 @@ class SymfonyQuestionHelper extends \RectorPrefix20220519\Symfony\Component\Cons /** * {@inheritdoc} */ - protected function writeError(\RectorPrefix20220519\Symfony\Component\Console\Output\OutputInterface $output, \Exception $error) + protected function writeError(\RectorPrefix20220520\Symfony\Component\Console\Output\OutputInterface $output, \Exception $error) { - if ($output instanceof \RectorPrefix20220519\Symfony\Component\Console\Style\SymfonyStyle) { + if ($output instanceof \RectorPrefix20220520\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 43f268368ef..f8777752601 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 RectorPrefix20220519\Symfony\Component\Console\Helper; +namespace RectorPrefix20220520\Symfony\Component\Console\Helper; -use RectorPrefix20220519\Symfony\Component\Console\Exception\InvalidArgumentException; -use RectorPrefix20220519\Symfony\Component\Console\Exception\RuntimeException; -use RectorPrefix20220519\Symfony\Component\Console\Formatter\OutputFormatter; -use RectorPrefix20220519\Symfony\Component\Console\Formatter\WrappableOutputFormatterInterface; -use RectorPrefix20220519\Symfony\Component\Console\Output\ConsoleSectionOutput; -use RectorPrefix20220519\Symfony\Component\Console\Output\OutputInterface; +use RectorPrefix20220520\Symfony\Component\Console\Exception\InvalidArgumentException; +use RectorPrefix20220520\Symfony\Component\Console\Exception\RuntimeException; +use RectorPrefix20220520\Symfony\Component\Console\Formatter\OutputFormatter; +use RectorPrefix20220520\Symfony\Component\Console\Formatter\WrappableOutputFormatterInterface; +use RectorPrefix20220520\Symfony\Component\Console\Output\ConsoleSectionOutput; +use RectorPrefix20220520\Symfony\Component\Console\Output\OutputInterface; /** * Provides helpers to display a table. * @@ -83,7 +83,7 @@ class Table * @var mixed[] */ private static $styles; - public function __construct(\RectorPrefix20220519\Symfony\Component\Console\Output\OutputInterface $output) + public function __construct(\RectorPrefix20220520\Symfony\Component\Console\Output\OutputInterface $output) { $this->output = $output; self::$styles = self::$styles ?? self::initStyles(); @@ -92,7 +92,7 @@ class Table /** * Sets a style definition. */ - public static function setStyleDefinition(string $name, \RectorPrefix20220519\Symfony\Component\Console\Helper\TableStyle $style) + public static function setStyleDefinition(string $name, \RectorPrefix20220520\Symfony\Component\Console\Helper\TableStyle $style) { self::$styles = self::$styles ?? self::initStyles(); self::$styles[$name] = $style; @@ -100,11 +100,11 @@ class Table /** * Gets a style definition by name. */ - public static function getStyleDefinition(string $name) : \RectorPrefix20220519\Symfony\Component\Console\Helper\TableStyle + public static function getStyleDefinition(string $name) : \RectorPrefix20220520\Symfony\Component\Console\Helper\TableStyle { self::$styles = self::$styles ?? self::initStyles(); if (!isset(self::$styles[$name])) { - throw new \RectorPrefix20220519\Symfony\Component\Console\Exception\InvalidArgumentException(\sprintf('Style "%s" is not defined.', $name)); + throw new \RectorPrefix20220520\Symfony\Component\Console\Exception\InvalidArgumentException(\sprintf('Style "%s" is not defined.', $name)); } return self::$styles[$name]; } @@ -122,7 +122,7 @@ class Table /** * Gets the current table style. */ - public function getStyle() : \RectorPrefix20220519\Symfony\Component\Console\Helper\TableStyle + public function getStyle() : \RectorPrefix20220520\Symfony\Component\Console\Helper\TableStyle { return $this->style; } @@ -143,7 +143,7 @@ class Table * * If style was not set, it returns the global table style. */ - public function getColumnStyle(int $columnIndex) : \RectorPrefix20220519\Symfony\Component\Console\Helper\TableStyle + public function getColumnStyle(int $columnIndex) : \RectorPrefix20220520\Symfony\Component\Console\Helper\TableStyle { return $this->columnStyles[$columnIndex] ?? $this->getStyle(); } @@ -180,8 +180,8 @@ class Table */ public function setColumnMaxWidth(int $columnIndex, int $width) { - if (!$this->output->getFormatter() instanceof \RectorPrefix20220519\Symfony\Component\Console\Formatter\WrappableOutputFormatterInterface) { - throw new \LogicException(\sprintf('Setting a maximum column width is only supported when using a "%s" formatter, got "%s".', \RectorPrefix20220519\Symfony\Component\Console\Formatter\WrappableOutputFormatterInterface::class, \get_debug_type($this->output->getFormatter()))); + if (!$this->output->getFormatter() instanceof \RectorPrefix20220520\Symfony\Component\Console\Formatter\WrappableOutputFormatterInterface) { + throw new \LogicException(\sprintf('Setting a maximum column width is only supported when using a "%s" formatter, got "%s".', \RectorPrefix20220520\Symfony\Component\Console\Formatter\WrappableOutputFormatterInterface::class, \get_debug_type($this->output->getFormatter()))); } $this->columnMaxWidths[$columnIndex] = $width; return $this; @@ -219,7 +219,7 @@ class Table */ public function addRow($row) { - if ($row instanceof \RectorPrefix20220519\Symfony\Component\Console\Helper\TableSeparator) { + if ($row instanceof \RectorPrefix20220520\Symfony\Component\Console\Helper\TableSeparator) { $this->rows[] = $row; return $this; } @@ -234,8 +234,8 @@ class Table */ public function appendRow($row) { - if (!$this->output instanceof \RectorPrefix20220519\Symfony\Component\Console\Output\ConsoleSectionOutput) { - throw new \RectorPrefix20220519\Symfony\Component\Console\Exception\RuntimeException(\sprintf('Output should be an instance of "%s" when calling "%s".', \RectorPrefix20220519\Symfony\Component\Console\Output\ConsoleSectionOutput::class, __METHOD__)); + if (!$this->output instanceof \RectorPrefix20220520\Symfony\Component\Console\Output\ConsoleSectionOutput) { + throw new \RectorPrefix20220520\Symfony\Component\Console\Exception\RuntimeException(\sprintf('Output should be an instance of "%s" when calling "%s".', \RectorPrefix20220520\Symfony\Component\Console\Output\ConsoleSectionOutput::class, __METHOD__)); } if ($this->rendered) { $this->output->clear($this->calculateRowCount()); @@ -292,18 +292,18 @@ class Table */ public function render() { - $divider = new \RectorPrefix20220519\Symfony\Component\Console\Helper\TableSeparator(); + $divider = new \RectorPrefix20220520\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 \RectorPrefix20220519\Symfony\Component\Console\Helper\TableSeparator) { + if ($row instanceof \RectorPrefix20220520\Symfony\Component\Console\Helper\TableSeparator) { continue; } if (isset($row[$i])) { $rows[$i][] = $row[$i]; - } elseif ($rows[$i][0] instanceof \RectorPrefix20220519\Symfony\Component\Console\Helper\TableCell && $rows[$i][0]->getColspan() >= 2) { + } elseif ($rows[$i][0] instanceof \RectorPrefix20220520\Symfony\Component\Console\Helper\TableCell && $rows[$i][0]->getColspan() >= 2) { // Noop, there is a "title" } else { $rows[$i][] = null; @@ -327,7 +327,7 @@ class Table $isFirstRow = \true; continue; } - if ($row instanceof \RectorPrefix20220519\Symfony\Component\Console\Helper\TableSeparator) { + if ($row instanceof \RectorPrefix20220520\Symfony\Component\Console\Helper\TableSeparator) { $this->renderRowSeparator(); continue; } @@ -387,12 +387,12 @@ class Table $markup .= $column === $count - 1 ? $rightChar : $midChar; } if (null !== $title) { - $titleLength = \RectorPrefix20220519\Symfony\Component\Console\Helper\Helper::width(\RectorPrefix20220519\Symfony\Component\Console\Helper\Helper::removeDecoration($formatter = $this->output->getFormatter(), $formattedTitle = \sprintf($titleFormat, $title))); - $markupLength = \RectorPrefix20220519\Symfony\Component\Console\Helper\Helper::width($markup); + $titleLength = \RectorPrefix20220520\Symfony\Component\Console\Helper\Helper::width(\RectorPrefix20220520\Symfony\Component\Console\Helper\Helper::removeDecoration($formatter = $this->output->getFormatter(), $formattedTitle = \sprintf($titleFormat, $title))); + $markupLength = \RectorPrefix20220520\Symfony\Component\Console\Helper\Helper::width($markup); if ($titleLength > ($limit = $markupLength - 4)) { $titleLength = $limit; - $formatLength = \RectorPrefix20220519\Symfony\Component\Console\Helper\Helper::width(\RectorPrefix20220519\Symfony\Component\Console\Helper\Helper::removeDecoration($formatter, \sprintf($titleFormat, ''))); - $formattedTitle = \sprintf($titleFormat, \RectorPrefix20220519\Symfony\Component\Console\Helper\Helper::substr($title, 0, $limit - $formatLength - 3) . '...'); + $formatLength = \RectorPrefix20220520\Symfony\Component\Console\Helper\Helper::width(\RectorPrefix20220520\Symfony\Component\Console\Helper\Helper::removeDecoration($formatter, \sprintf($titleFormat, ''))); + $formattedTitle = \sprintf($titleFormat, \RectorPrefix20220520\Symfony\Component\Console\Helper\Helper::substr($title, 0, $limit - $formatLength - 3) . '...'); } $titleStart = \intdiv($markupLength - $titleLength, 2); if (\false === \mb_detect_encoding($markup, null, \true)) { @@ -440,7 +440,7 @@ class Table { $cell = $row[$column] ?? ''; $width = $this->effectiveColumnWidths[$column]; - if ($cell instanceof \RectorPrefix20220519\Symfony\Component\Console\Helper\TableCell && $cell->getColspan() > 1) { + if ($cell instanceof \RectorPrefix20220520\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]; @@ -451,13 +451,13 @@ class Table $width += \strlen($cell) - \mb_strwidth($cell, $encoding); } $style = $this->getColumnStyle($column); - if ($cell instanceof \RectorPrefix20220519\Symfony\Component\Console\Helper\TableSeparator) { + if ($cell instanceof \RectorPrefix20220520\Symfony\Component\Console\Helper\TableSeparator) { return \sprintf($style->getBorderFormat(), \str_repeat($style->getBorderChars()[2], $width)); } - $width += \RectorPrefix20220519\Symfony\Component\Console\Helper\Helper::length($cell) - \RectorPrefix20220519\Symfony\Component\Console\Helper\Helper::length(\RectorPrefix20220519\Symfony\Component\Console\Helper\Helper::removeDecoration($this->output->getFormatter(), $cell)); + $width += \RectorPrefix20220520\Symfony\Component\Console\Helper\Helper::length($cell) - \RectorPrefix20220520\Symfony\Component\Console\Helper\Helper::length(\RectorPrefix20220520\Symfony\Component\Console\Helper\Helper::removeDecoration($this->output->getFormatter(), $cell)); $content = \sprintf($style->getCellRowContentFormat(), $cell); $padType = $style->getPadType(); - if ($cell instanceof \RectorPrefix20220519\Symfony\Component\Console\Helper\TableCell && $cell->getStyle() instanceof \RectorPrefix20220519\Symfony\Component\Console\Helper\TableCellStyle) { + if ($cell instanceof \RectorPrefix20220520\Symfony\Component\Console\Helper\TableCell && $cell->getStyle() instanceof \RectorPrefix20220520\Symfony\Component\Console\Helper\TableCellStyle) { $isNotStyledByTag = !\preg_match('/^<(\\w+|(\\w+=[\\w,]+;?)*)>.+<\\/(\\w+|(\\w+=\\w+;?)*)?>$/', $cell); if ($isNotStyledByTag) { $cellFormat = $cell->getStyle()->getCellFormat(); @@ -485,14 +485,14 @@ class Table { $columns = [0]; foreach ($rows as $row) { - if ($row instanceof \RectorPrefix20220519\Symfony\Component\Console\Helper\TableSeparator) { + if ($row instanceof \RectorPrefix20220520\Symfony\Component\Console\Helper\TableSeparator) { continue; } $columns[] = $this->getNumberOfColumns($row); } $this->numberOfColumns = \max($columns); } - private function buildTableRows(array $rows) : \RectorPrefix20220519\Symfony\Component\Console\Helper\TableRows + private function buildTableRows(array $rows) : \RectorPrefix20220520\Symfony\Component\Console\Helper\TableRows { /** @var WrappableOutputFormatterInterface $formatter */ $formatter = $this->output->getFormatter(); @@ -501,19 +501,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 \RectorPrefix20220519\Symfony\Component\Console\Helper\TableCell ? $cell->getColspan() : 1; - if (isset($this->columnMaxWidths[$column]) && \RectorPrefix20220519\Symfony\Component\Console\Helper\Helper::width(\RectorPrefix20220519\Symfony\Component\Console\Helper\Helper::removeDecoration($formatter, $cell)) > $this->columnMaxWidths[$column]) { + $colspan = $cell instanceof \RectorPrefix20220520\Symfony\Component\Console\Helper\TableCell ? $cell->getColspan() : 1; + if (isset($this->columnMaxWidths[$column]) && \RectorPrefix20220520\Symfony\Component\Console\Helper\Helper::width(\RectorPrefix20220520\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([\RectorPrefix20220519\Symfony\Component\Console\Formatter\OutputFormatter::class, 'escapeTrailingBackslash'], \explode("\n", $cell))); - $cell = $cell instanceof \RectorPrefix20220519\Symfony\Component\Console\Helper\TableCell ? new \RectorPrefix20220519\Symfony\Component\Console\Helper\TableCell($escaped, ['colspan' => $cell->getColspan()]) : $escaped; + $escaped = \implode("\n", \array_map([\RectorPrefix20220520\Symfony\Component\Console\Formatter\OutputFormatter::class, 'escapeTrailingBackslash'], \explode("\n", $cell))); + $cell = $cell instanceof \RectorPrefix20220520\Symfony\Component\Console\Helper\TableCell ? new \RectorPrefix20220520\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 \RectorPrefix20220519\Symfony\Component\Console\Helper\TableCell($line, ['colspan' => $colspan]); + $line = new \RectorPrefix20220520\Symfony\Component\Console\Helper\TableCell($line, ['colspan' => $colspan]); } if (0 === $lineKey) { $rows[$rowKey][$column] = $line; @@ -526,12 +526,12 @@ class Table } } } - return new \RectorPrefix20220519\Symfony\Component\Console\Helper\TableRows(function () use($rows, $unmergedRows) : \Traversable { + return new \RectorPrefix20220520\Symfony\Component\Console\Helper\TableRows(function () use($rows, $unmergedRows) : \Traversable { foreach ($rows as $rowKey => $row) { - $rowGroup = [$row instanceof \RectorPrefix20220519\Symfony\Component\Console\Helper\TableSeparator ? $row : $this->fillCells($row)]; + $rowGroup = [$row instanceof \RectorPrefix20220520\Symfony\Component\Console\Helper\TableSeparator ? $row : $this->fillCells($row)]; if (isset($unmergedRows[$rowKey])) { foreach ($unmergedRows[$rowKey] as $row) { - $rowGroup[] = $row instanceof \RectorPrefix20220519\Symfony\Component\Console\Helper\TableSeparator ? $row : $this->fillCells($row); + $rowGroup[] = $row instanceof \RectorPrefix20220520\Symfony\Component\Console\Helper\TableSeparator ? $row : $this->fillCells($row); } } (yield $rowGroup); @@ -540,7 +540,7 @@ class Table } private function calculateRowCount() : int { - $numberOfRows = \count(\iterator_to_array($this->buildTableRows(\array_merge($this->headers, [new \RectorPrefix20220519\Symfony\Component\Console\Helper\TableSeparator()], $this->rows)))); + $numberOfRows = \count(\iterator_to_array($this->buildTableRows(\array_merge($this->headers, [new \RectorPrefix20220520\Symfony\Component\Console\Helper\TableSeparator()], $this->rows)))); if ($this->headers) { ++$numberOfRows; // Add row for header separator @@ -560,23 +560,23 @@ class Table { $unmergedRows = []; foreach ($rows[$line] as $column => $cell) { - if (null !== $cell && !$cell instanceof \RectorPrefix20220519\Symfony\Component\Console\Helper\TableCell && !\is_scalar($cell) && !$cell instanceof \Stringable) { - throw new \RectorPrefix20220519\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 \RectorPrefix20220520\Symfony\Component\Console\Helper\TableCell && !\is_scalar($cell) && !$cell instanceof \Stringable) { + throw new \RectorPrefix20220520\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 \RectorPrefix20220519\Symfony\Component\Console\Helper\TableCell && $cell->getRowspan() > 1) { + if ($cell instanceof \RectorPrefix20220520\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 \RectorPrefix20220519\Symfony\Component\Console\Helper\TableCell($lines[0], ['colspan' => $cell->getColspan(), 'style' => $cell->getStyle()]); + $rows[$line][$column] = new \RectorPrefix20220520\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 \RectorPrefix20220519\Symfony\Component\Console\Helper\TableCell($value, ['colspan' => $cell->getColspan(), 'style' => $cell->getStyle()]); + $unmergedRows[$unmergedRowKey][$column] = new \RectorPrefix20220520\Symfony\Component\Console\Helper\TableCell($value, ['colspan' => $cell->getColspan(), 'style' => $cell->getStyle()]); if ($nbLines === $unmergedRowKey - $line) { break; } @@ -610,7 +610,7 @@ class Table $newRow = []; foreach ($row as $column => $cell) { $newRow[] = $cell; - if ($cell instanceof \RectorPrefix20220519\Symfony\Component\Console\Helper\TableCell && $cell->getColspan() > 1) { + if ($cell instanceof \RectorPrefix20220520\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[] = ''; @@ -624,8 +624,8 @@ class Table $row = $rows[$line]; foreach ($row as $cellKey => $cellValue) { $row[$cellKey] = ''; - if ($cellValue instanceof \RectorPrefix20220519\Symfony\Component\Console\Helper\TableCell) { - $row[$cellKey] = new \RectorPrefix20220519\Symfony\Component\Console\Helper\TableCell('', ['colspan' => $cellValue->getColspan()]); + if ($cellValue instanceof \RectorPrefix20220520\Symfony\Component\Console\Helper\TableCell) { + $row[$cellKey] = new \RectorPrefix20220520\Symfony\Component\Console\Helper\TableCell('', ['colspan' => $cellValue->getColspan()]); } } return $row; @@ -637,7 +637,7 @@ class Table { $columns = \count($row); foreach ($row as $column) { - $columns += $column instanceof \RectorPrefix20220519\Symfony\Component\Console\Helper\TableCell ? $column->getColspan() - 1 : 0; + $columns += $column instanceof \RectorPrefix20220520\Symfony\Component\Console\Helper\TableCell ? $column->getColspan() - 1 : 0; } return $columns; } @@ -648,7 +648,7 @@ class Table { $columns = \range(0, $this->numberOfColumns - 1); foreach ($row as $cellKey => $cell) { - if ($cell instanceof \RectorPrefix20220519\Symfony\Component\Console\Helper\TableCell && $cell->getColspan() > 1) { + if ($cell instanceof \RectorPrefix20220520\Symfony\Component\Console\Helper\TableCell && $cell->getColspan() > 1) { // exclude grouped columns. $columns = \array_diff($columns, \range($cellKey + 1, $cellKey + $cell->getColspan() - 1)); } @@ -664,13 +664,13 @@ class Table $lengths = []; foreach ($groups as $group) { foreach ($group as $row) { - if ($row instanceof \RectorPrefix20220519\Symfony\Component\Console\Helper\TableSeparator) { + if ($row instanceof \RectorPrefix20220520\Symfony\Component\Console\Helper\TableSeparator) { continue; } foreach ($row as $i => $cell) { - if ($cell instanceof \RectorPrefix20220519\Symfony\Component\Console\Helper\TableCell) { - $textContent = \RectorPrefix20220519\Symfony\Component\Console\Helper\Helper::removeDecoration($this->output->getFormatter(), $cell); - $textLength = \RectorPrefix20220519\Symfony\Component\Console\Helper\Helper::width($textContent); + if ($cell instanceof \RectorPrefix20220520\Symfony\Component\Console\Helper\TableCell) { + $textContent = \RectorPrefix20220520\Symfony\Component\Console\Helper\Helper::removeDecoration($this->output->getFormatter(), $cell); + $textLength = \RectorPrefix20220520\Symfony\Component\Console\Helper\Helper::width($textContent); if ($textLength > 0) { $contentColumns = \str_split($textContent, \ceil($textLength / $cell->getColspan())); foreach ($contentColumns as $position => $content) { @@ -682,19 +682,19 @@ class Table $lengths[] = $this->getCellWidth($row, $column); } } - $this->effectiveColumnWidths[$column] = \max($lengths) + \RectorPrefix20220519\Symfony\Component\Console\Helper\Helper::width($this->style->getCellRowContentFormat()) - 2; + $this->effectiveColumnWidths[$column] = \max($lengths) + \RectorPrefix20220520\Symfony\Component\Console\Helper\Helper::width($this->style->getCellRowContentFormat()) - 2; } } private function getColumnSeparatorWidth() : int { - return \RectorPrefix20220519\Symfony\Component\Console\Helper\Helper::width(\sprintf($this->style->getBorderFormat(), $this->style->getBorderChars()[3])); + return \RectorPrefix20220520\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 = \RectorPrefix20220519\Symfony\Component\Console\Helper\Helper::width(\RectorPrefix20220519\Symfony\Component\Console\Helper\Helper::removeDecoration($this->output->getFormatter(), $cell)); + $cellWidth = \RectorPrefix20220520\Symfony\Component\Console\Helper\Helper::width(\RectorPrefix20220520\Symfony\Component\Console\Helper\Helper::removeDecoration($this->output->getFormatter(), $cell)); } $columnWidth = $this->columnWidths[$column] ?? 0; $cellWidth = \max($cellWidth, $columnWidth); @@ -713,26 +713,26 @@ class Table */ private static function initStyles() : array { - $borderless = new \RectorPrefix20220519\Symfony\Component\Console\Helper\TableStyle(); + $borderless = new \RectorPrefix20220520\Symfony\Component\Console\Helper\TableStyle(); $borderless->setHorizontalBorderChars('=')->setVerticalBorderChars(' ')->setDefaultCrossingChar(' '); - $compact = new \RectorPrefix20220519\Symfony\Component\Console\Helper\TableStyle(); + $compact = new \RectorPrefix20220520\Symfony\Component\Console\Helper\TableStyle(); $compact->setHorizontalBorderChars('')->setVerticalBorderChars('')->setDefaultCrossingChar('')->setCellRowContentFormat('%s '); - $styleGuide = new \RectorPrefix20220519\Symfony\Component\Console\Helper\TableStyle(); + $styleGuide = new \RectorPrefix20220520\Symfony\Component\Console\Helper\TableStyle(); $styleGuide->setHorizontalBorderChars('-')->setVerticalBorderChars(' ')->setDefaultCrossingChar(' ')->setCellHeaderFormat('%s'); - $box = (new \RectorPrefix20220519\Symfony\Component\Console\Helper\TableStyle())->setHorizontalBorderChars('─')->setVerticalBorderChars('│')->setCrossingChars('┼', '┌', '┬', '┐', '┤', '┘', '┴', '└', '├'); - $boxDouble = (new \RectorPrefix20220519\Symfony\Component\Console\Helper\TableStyle())->setHorizontalBorderChars('═', '─')->setVerticalBorderChars('║', '│')->setCrossingChars('┼', '╔', '╤', '╗', '╢', '╝', '╧', '╚', '╟', '╠', '╪', '╣'); - return ['default' => new \RectorPrefix20220519\Symfony\Component\Console\Helper\TableStyle(), 'borderless' => $borderless, 'compact' => $compact, 'symfony-style-guide' => $styleGuide, 'box' => $box, 'box-double' => $boxDouble]; + $box = (new \RectorPrefix20220520\Symfony\Component\Console\Helper\TableStyle())->setHorizontalBorderChars('─')->setVerticalBorderChars('│')->setCrossingChars('┼', '┌', '┬', '┐', '┤', '┘', '┴', '└', '├'); + $boxDouble = (new \RectorPrefix20220520\Symfony\Component\Console\Helper\TableStyle())->setHorizontalBorderChars('═', '─')->setVerticalBorderChars('║', '│')->setCrossingChars('┼', '╔', '╤', '╗', '╢', '╝', '╧', '╚', '╟', '╠', '╪', '╣'); + return ['default' => new \RectorPrefix20220520\Symfony\Component\Console\Helper\TableStyle(), 'borderless' => $borderless, 'compact' => $compact, 'symfony-style-guide' => $styleGuide, 'box' => $box, 'box-double' => $boxDouble]; } /** * @param \Symfony\Component\Console\Helper\TableStyle|string $name */ - private function resolveStyle($name) : \RectorPrefix20220519\Symfony\Component\Console\Helper\TableStyle + private function resolveStyle($name) : \RectorPrefix20220520\Symfony\Component\Console\Helper\TableStyle { - if ($name instanceof \RectorPrefix20220519\Symfony\Component\Console\Helper\TableStyle) { + if ($name instanceof \RectorPrefix20220520\Symfony\Component\Console\Helper\TableStyle) { return $name; } if (!isset(self::$styles[$name])) { - throw new \RectorPrefix20220519\Symfony\Component\Console\Exception\InvalidArgumentException(\sprintf('Style "%s" is not defined.', $name)); + throw new \RectorPrefix20220520\Symfony\Component\Console\Exception\InvalidArgumentException(\sprintf('Style "%s" is not defined.', $name)); } return self::$styles[$name]; } diff --git a/vendor/symfony/console/Helper/TableCell.php b/vendor/symfony/console/Helper/TableCell.php index 5d10f1f6404..f41fe61fd6c 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 RectorPrefix20220519\Symfony\Component\Console\Helper; +namespace RectorPrefix20220520\Symfony\Component\Console\Helper; -use RectorPrefix20220519\Symfony\Component\Console\Exception\InvalidArgumentException; +use RectorPrefix20220520\Symfony\Component\Console\Exception\InvalidArgumentException; /** * @author Abdellatif Ait boudad */ @@ -29,10 +29,10 @@ class TableCell $this->value = $value; // check option names if ($diff = \array_diff(\array_keys($options), \array_keys($this->options))) { - throw new \RectorPrefix20220519\Symfony\Component\Console\Exception\InvalidArgumentException(\sprintf('The TableCell does not support the following options: \'%s\'.', \implode('\', \'', $diff))); + throw new \RectorPrefix20220520\Symfony\Component\Console\Exception\InvalidArgumentException(\sprintf('The TableCell does not support the following options: \'%s\'.', \implode('\', \'', $diff))); } - if (isset($options['style']) && !$options['style'] instanceof \RectorPrefix20220519\Symfony\Component\Console\Helper\TableCellStyle) { - throw new \RectorPrefix20220519\Symfony\Component\Console\Exception\InvalidArgumentException('The style option must be an instance of "TableCellStyle".'); + if (isset($options['style']) && !$options['style'] instanceof \RectorPrefix20220520\Symfony\Component\Console\Helper\TableCellStyle) { + throw new \RectorPrefix20220520\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() : ?\RectorPrefix20220519\Symfony\Component\Console\Helper\TableCellStyle + public function getStyle() : ?\RectorPrefix20220520\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 f829ab21ac6..ae65e0a4514 100644 --- a/vendor/symfony/console/Helper/TableCellStyle.php +++ b/vendor/symfony/console/Helper/TableCellStyle.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 RectorPrefix20220519\Symfony\Component\Console\Helper; +namespace RectorPrefix20220520\Symfony\Component\Console\Helper; -use RectorPrefix20220519\Symfony\Component\Console\Exception\InvalidArgumentException; +use RectorPrefix20220520\Symfony\Component\Console\Exception\InvalidArgumentException; /** * @author Yewhen Khoptynskyi */ @@ -26,10 +26,10 @@ class TableCellStyle public function __construct(array $options = []) { if ($diff = \array_diff(\array_keys($options), \array_keys($this->options))) { - throw new \RectorPrefix20220519\Symfony\Component\Console\Exception\InvalidArgumentException(\sprintf('The TableCellStyle does not support the following options: \'%s\'.', \implode('\', \'', $diff))); + throw new \RectorPrefix20220520\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'], self::ALIGN_MAP)) { - throw new \RectorPrefix20220519\Symfony\Component\Console\Exception\InvalidArgumentException(\sprintf('Wrong align value. Value must be following: \'%s\'.', \implode('\', \'', \array_keys(self::ALIGN_MAP)))); + throw new \RectorPrefix20220520\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); } diff --git a/vendor/symfony/console/Helper/TableRows.php b/vendor/symfony/console/Helper/TableRows.php index 43aa39a0c4f..34f3456fd81 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 RectorPrefix20220519\Symfony\Component\Console\Helper; +namespace RectorPrefix20220520\Symfony\Component\Console\Helper; /** * @internal diff --git a/vendor/symfony/console/Helper/TableSeparator.php b/vendor/symfony/console/Helper/TableSeparator.php index c8245886346..966ca2459b9 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 RectorPrefix20220519\Symfony\Component\Console\Helper; +namespace RectorPrefix20220520\Symfony\Component\Console\Helper; /** * Marks a row as being a separator. * * @author Fabien Potencier */ -class TableSeparator extends \RectorPrefix20220519\Symfony\Component\Console\Helper\TableCell +class TableSeparator extends \RectorPrefix20220520\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 0479c97f458..3d7dd3e6cbe 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 RectorPrefix20220519\Symfony\Component\Console\Helper; +namespace RectorPrefix20220520\Symfony\Component\Console\Helper; -use RectorPrefix20220519\Symfony\Component\Console\Exception\InvalidArgumentException; -use RectorPrefix20220519\Symfony\Component\Console\Exception\LogicException; +use RectorPrefix20220520\Symfony\Component\Console\Exception\InvalidArgumentException; +use RectorPrefix20220520\Symfony\Component\Console\Exception\LogicException; /** * Defines the styles for a Table. * @@ -125,7 +125,7 @@ class TableStyle public function setPaddingChar(string $paddingChar) { if (!$paddingChar) { - throw new \RectorPrefix20220519\Symfony\Component\Console\Exception\LogicException('The padding char must not be empty.'); + throw new \RectorPrefix20220520\Symfony\Component\Console\Exception\LogicException('The padding char must not be empty.'); } $this->paddingChar = $paddingChar; return $this; @@ -339,7 +339,7 @@ class TableStyle public function setPadType(int $padType) { if (!\in_array($padType, [\STR_PAD_LEFT, \STR_PAD_RIGHT, \STR_PAD_BOTH], \true)) { - throw new \RectorPrefix20220519\Symfony\Component\Console\Exception\InvalidArgumentException('Invalid padding type. Expected one of (STR_PAD_LEFT, STR_PAD_RIGHT, STR_PAD_BOTH).'); + throw new \RectorPrefix20220520\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; diff --git a/vendor/symfony/console/Input/ArgvInput.php b/vendor/symfony/console/Input/ArgvInput.php index 0c936011b5b..a65f50d29bd 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 RectorPrefix20220519\Symfony\Component\Console\Input; +namespace RectorPrefix20220520\Symfony\Component\Console\Input; -use RectorPrefix20220519\Symfony\Component\Console\Exception\RuntimeException; +use RectorPrefix20220520\Symfony\Component\Console\Exception\RuntimeException; /** * ArgvInput represents an input coming from the CLI arguments. * @@ -36,7 +36,7 @@ use RectorPrefix20220519\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 \RectorPrefix20220519\Symfony\Component\Console\Input\Input +class ArgvInput extends \RectorPrefix20220520\Symfony\Component\Console\Input\Input { /** * @var mixed[] @@ -46,7 +46,7 @@ class ArgvInput extends \RectorPrefix20220519\Symfony\Component\Console\Input\In * @var mixed[] */ private $parsed; - public function __construct(array $argv = null, \RectorPrefix20220519\Symfony\Component\Console\Input\InputDefinition $definition = null) + public function __construct(array $argv = null, \RectorPrefix20220520\Symfony\Component\Console\Input\InputDefinition $definition = null) { $argv = $argv ?? $_SERVER['argv'] ?? []; // strip the application name @@ -112,7 +112,7 @@ class ArgvInput extends \RectorPrefix20220519\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 \RectorPrefix20220519\Symfony\Component\Console\Exception\RuntimeException(\sprintf('The "-%s" option does not exist.', \false === $encoding ? $name[$i] : \mb_substr($name, $i, 1, $encoding))); + throw new \RectorPrefix20220520\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()) { @@ -174,7 +174,7 @@ class ArgvInput extends \RectorPrefix20220519\Symfony\Component\Console\Input\In } else { $message = \sprintf('No arguments expected, got "%s".', $token); } - throw new \RectorPrefix20220519\Symfony\Component\Console\Exception\RuntimeException($message); + throw new \RectorPrefix20220520\Symfony\Component\Console\Exception\RuntimeException($message); } } /** @@ -186,7 +186,7 @@ class ArgvInput extends \RectorPrefix20220519\Symfony\Component\Console\Input\In private function addShortOption(string $shortcut, $value) { if (!$this->definition->hasShortcut($shortcut)) { - throw new \RectorPrefix20220519\Symfony\Component\Console\Exception\RuntimeException(\sprintf('The "-%s" option does not exist.', $shortcut)); + throw new \RectorPrefix20220520\Symfony\Component\Console\Exception\RuntimeException(\sprintf('The "-%s" option does not exist.', $shortcut)); } $this->addLongOption($this->definition->getOptionForShortcut($shortcut)->getName(), $value); } @@ -200,18 +200,18 @@ class ArgvInput extends \RectorPrefix20220519\Symfony\Component\Console\Input\In { if (!$this->definition->hasOption($name)) { if (!$this->definition->hasNegation($name)) { - throw new \RectorPrefix20220519\Symfony\Component\Console\Exception\RuntimeException(\sprintf('The "--%s" option does not exist.', $name)); + throw new \RectorPrefix20220520\Symfony\Component\Console\Exception\RuntimeException(\sprintf('The "--%s" option does not exist.', $name)); } $optionName = $this->definition->negationToName($name); if (null !== $value) { - throw new \RectorPrefix20220519\Symfony\Component\Console\Exception\RuntimeException(\sprintf('The "--%s" option does not accept a value.', $name)); + throw new \RectorPrefix20220520\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 \RectorPrefix20220519\Symfony\Component\Console\Exception\RuntimeException(\sprintf('The "--%s" option does not accept a value.', $name)); + throw new \RectorPrefix20220520\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 @@ -225,7 +225,7 @@ class ArgvInput extends \RectorPrefix20220519\Symfony\Component\Console\Input\In } if (null === $value) { if ($option->isValueRequired()) { - throw new \RectorPrefix20220519\Symfony\Component\Console\Exception\RuntimeException(\sprintf('The "--%s" option requires a value.', $name)); + throw new \RectorPrefix20220520\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 2a43ad20f00..2eef4e7f836 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 RectorPrefix20220519\Symfony\Component\Console\Input; +namespace RectorPrefix20220520\Symfony\Component\Console\Input; -use RectorPrefix20220519\Symfony\Component\Console\Exception\InvalidArgumentException; -use RectorPrefix20220519\Symfony\Component\Console\Exception\InvalidOptionException; +use RectorPrefix20220520\Symfony\Component\Console\Exception\InvalidArgumentException; +use RectorPrefix20220520\Symfony\Component\Console\Exception\InvalidOptionException; /** * ArrayInput represents an input provided as an array. * @@ -21,13 +21,13 @@ use RectorPrefix20220519\Symfony\Component\Console\Exception\InvalidOptionExcept * * @author Fabien Potencier */ -class ArrayInput extends \RectorPrefix20220519\Symfony\Component\Console\Input\Input +class ArrayInput extends \RectorPrefix20220520\Symfony\Component\Console\Input\Input { /** * @var mixed[] */ private $parameters; - public function __construct(array $parameters, \RectorPrefix20220519\Symfony\Component\Console\Input\InputDefinition $definition = null) + public function __construct(array $parameters, \RectorPrefix20220520\Symfony\Component\Console\Input\InputDefinition $definition = null) { $this->parameters = $parameters; parent::__construct($definition); @@ -137,7 +137,7 @@ class ArrayInput extends \RectorPrefix20220519\Symfony\Component\Console\Input\I private function addShortOption(string $shortcut, $value) { if (!$this->definition->hasShortcut($shortcut)) { - throw new \RectorPrefix20220519\Symfony\Component\Console\Exception\InvalidOptionException(\sprintf('The "-%s" option does not exist.', $shortcut)); + throw new \RectorPrefix20220520\Symfony\Component\Console\Exception\InvalidOptionException(\sprintf('The "-%s" option does not exist.', $shortcut)); } $this->addLongOption($this->definition->getOptionForShortcut($shortcut)->getName(), $value); } @@ -152,7 +152,7 @@ class ArrayInput extends \RectorPrefix20220519\Symfony\Component\Console\Input\I { if (!$this->definition->hasOption($name)) { if (!$this->definition->hasNegation($name)) { - throw new \RectorPrefix20220519\Symfony\Component\Console\Exception\InvalidOptionException(\sprintf('The "--%s" option does not exist.', $name)); + throw new \RectorPrefix20220520\Symfony\Component\Console\Exception\InvalidOptionException(\sprintf('The "--%s" option does not exist.', $name)); } $optionName = $this->definition->negationToName($name); $this->options[$optionName] = \false; @@ -161,7 +161,7 @@ class ArrayInput extends \RectorPrefix20220519\Symfony\Component\Console\Input\I $option = $this->definition->getOption($name); if (null === $value) { if ($option->isValueRequired()) { - throw new \RectorPrefix20220519\Symfony\Component\Console\Exception\InvalidOptionException(\sprintf('The "--%s" option requires a value.', $name)); + throw new \RectorPrefix20220520\Symfony\Component\Console\Exception\InvalidOptionException(\sprintf('The "--%s" option requires a value.', $name)); } if (!$option->isValueOptional()) { $value = \true; @@ -179,7 +179,7 @@ class ArrayInput extends \RectorPrefix20220519\Symfony\Component\Console\Input\I private function addArgument($name, $value) { if (!$this->definition->hasArgument($name)) { - throw new \RectorPrefix20220519\Symfony\Component\Console\Exception\InvalidArgumentException(\sprintf('The "%s" argument does not exist.', $name)); + throw new \RectorPrefix20220520\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 44f88188db8..737b92b2548 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 RectorPrefix20220519\Symfony\Component\Console\Input; +namespace RectorPrefix20220520\Symfony\Component\Console\Input; -use RectorPrefix20220519\Symfony\Component\Console\Exception\InvalidArgumentException; -use RectorPrefix20220519\Symfony\Component\Console\Exception\RuntimeException; +use RectorPrefix20220520\Symfony\Component\Console\Exception\InvalidArgumentException; +use RectorPrefix20220520\Symfony\Component\Console\Exception\RuntimeException; /** * Input is the base class for all concrete Input classes. * @@ -23,17 +23,17 @@ use RectorPrefix20220519\Symfony\Component\Console\Exception\RuntimeException; * * @author Fabien Potencier */ -abstract class Input implements \RectorPrefix20220519\Symfony\Component\Console\Input\InputInterface, \RectorPrefix20220519\Symfony\Component\Console\Input\StreamableInputInterface +abstract class Input implements \RectorPrefix20220520\Symfony\Component\Console\Input\InputInterface, \RectorPrefix20220520\Symfony\Component\Console\Input\StreamableInputInterface { protected $definition; protected $stream; protected $options = []; protected $arguments = []; protected $interactive = \true; - public function __construct(\RectorPrefix20220519\Symfony\Component\Console\Input\InputDefinition $definition = null) + public function __construct(\RectorPrefix20220520\Symfony\Component\Console\Input\InputDefinition $definition = null) { if (null === $definition) { - $this->definition = new \RectorPrefix20220519\Symfony\Component\Console\Input\InputDefinition(); + $this->definition = new \RectorPrefix20220520\Symfony\Component\Console\Input\InputDefinition(); } else { $this->bind($definition); $this->validate(); @@ -42,7 +42,7 @@ abstract class Input implements \RectorPrefix20220519\Symfony\Component\Console\ /** * {@inheritdoc} */ - public function bind(\RectorPrefix20220519\Symfony\Component\Console\Input\InputDefinition $definition) + public function bind(\RectorPrefix20220520\Symfony\Component\Console\Input\InputDefinition $definition) { $this->arguments = []; $this->options = []; @@ -64,7 +64,7 @@ abstract class Input implements \RectorPrefix20220519\Symfony\Component\Console\ return !\array_key_exists($argument, $givenArguments) && $definition->getArgument($argument)->isRequired(); }); if (\count($missingArguments) > 0) { - throw new \RectorPrefix20220519\Symfony\Component\Console\Exception\RuntimeException(\sprintf('Not enough arguments (missing: "%s").', \implode(', ', $missingArguments))); + throw new \RectorPrefix20220520\Symfony\Component\Console\Exception\RuntimeException(\sprintf('Not enough arguments (missing: "%s").', \implode(', ', $missingArguments))); } } /** @@ -95,7 +95,7 @@ abstract class Input implements \RectorPrefix20220519\Symfony\Component\Console\ public function getArgument(string $name) { if (!$this->definition->hasArgument($name)) { - throw new \RectorPrefix20220519\Symfony\Component\Console\Exception\InvalidArgumentException(\sprintf('The "%s" argument does not exist.', $name)); + throw new \RectorPrefix20220520\Symfony\Component\Console\Exception\InvalidArgumentException(\sprintf('The "%s" argument does not exist.', $name)); } return $this->arguments[$name] ?? $this->definition->getArgument($name)->getDefault(); } @@ -106,7 +106,7 @@ abstract class Input implements \RectorPrefix20220519\Symfony\Component\Console\ public function setArgument(string $name, $value) { if (!$this->definition->hasArgument($name)) { - throw new \RectorPrefix20220519\Symfony\Component\Console\Exception\InvalidArgumentException(\sprintf('The "%s" argument does not exist.', $name)); + throw new \RectorPrefix20220520\Symfony\Component\Console\Exception\InvalidArgumentException(\sprintf('The "%s" argument does not exist.', $name)); } $this->arguments[$name] = $value; } @@ -137,7 +137,7 @@ abstract class Input implements \RectorPrefix20220519\Symfony\Component\Console\ return !$value; } if (!$this->definition->hasOption($name)) { - throw new \RectorPrefix20220519\Symfony\Component\Console\Exception\InvalidArgumentException(\sprintf('The "%s" option does not exist.', $name)); + throw new \RectorPrefix20220520\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(); } @@ -151,7 +151,7 @@ abstract class Input implements \RectorPrefix20220519\Symfony\Component\Console\ $this->options[$this->definition->negationToName($name)] = !$value; return; } elseif (!$this->definition->hasOption($name)) { - throw new \RectorPrefix20220519\Symfony\Component\Console\Exception\InvalidArgumentException(\sprintf('The "%s" option does not exist.', $name)); + throw new \RectorPrefix20220520\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 01574ed8b1d..55eaba7271c 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 RectorPrefix20220519\Symfony\Component\Console\Input; +namespace RectorPrefix20220520\Symfony\Component\Console\Input; -use RectorPrefix20220519\Symfony\Component\Console\Exception\InvalidArgumentException; -use RectorPrefix20220519\Symfony\Component\Console\Exception\LogicException; +use RectorPrefix20220520\Symfony\Component\Console\Exception\InvalidArgumentException; +use RectorPrefix20220520\Symfony\Component\Console\Exception\LogicException; /** * Represents a command line argument. * @@ -51,7 +51,7 @@ class InputArgument if (null === $mode) { $mode = self::OPTIONAL; } elseif ($mode > 7 || $mode < 1) { - throw new \RectorPrefix20220519\Symfony\Component\Console\Exception\InvalidArgumentException(\sprintf('Argument mode "%s" is not valid.', $mode)); + throw new \RectorPrefix20220520\Symfony\Component\Console\Exception\InvalidArgumentException(\sprintf('Argument mode "%s" is not valid.', $mode)); } $this->name = $name; $this->mode = $mode; @@ -92,13 +92,13 @@ class InputArgument public function setDefault($default = null) { if (self::REQUIRED === $this->mode && null !== $default) { - throw new \RectorPrefix20220519\Symfony\Component\Console\Exception\LogicException('Cannot set a default value except for InputArgument::OPTIONAL mode.'); + throw new \RectorPrefix20220520\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 \RectorPrefix20220519\Symfony\Component\Console\Exception\LogicException('A default value for an array argument must be an array.'); + throw new \RectorPrefix20220520\Symfony\Component\Console\Exception\LogicException('A default value for an array argument must be an array.'); } } $this->default = $default; diff --git a/vendor/symfony/console/Input/InputAwareInterface.php b/vendor/symfony/console/Input/InputAwareInterface.php index daa7f24f954..829fd317a93 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 RectorPrefix20220519\Symfony\Component\Console\Input; +namespace RectorPrefix20220520\Symfony\Component\Console\Input; /** * InputAwareInterface should be implemented by classes that depends on the @@ -21,5 +21,5 @@ interface InputAwareInterface /** * Sets the Console Input. */ - public function setInput(\RectorPrefix20220519\Symfony\Component\Console\Input\InputInterface $input); + public function setInput(\RectorPrefix20220520\Symfony\Component\Console\Input\InputInterface $input); } diff --git a/vendor/symfony/console/Input/InputDefinition.php b/vendor/symfony/console/Input/InputDefinition.php index 8ce18f688b2..ffd659cc41f 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 RectorPrefix20220519\Symfony\Component\Console\Input; +namespace RectorPrefix20220520\Symfony\Component\Console\Input; -use RectorPrefix20220519\Symfony\Component\Console\Exception\InvalidArgumentException; -use RectorPrefix20220519\Symfony\Component\Console\Exception\LogicException; +use RectorPrefix20220520\Symfony\Component\Console\Exception\InvalidArgumentException; +use RectorPrefix20220520\Symfony\Component\Console\Exception\LogicException; /** * A InputDefinition represents a set of valid command line arguments and options. * @@ -63,7 +63,7 @@ class InputDefinition $arguments = []; $options = []; foreach ($definition as $item) { - if ($item instanceof \RectorPrefix20220519\Symfony\Component\Console\Input\InputOption) { + if ($item instanceof \RectorPrefix20220520\Symfony\Component\Console\Input\InputOption) { $options[] = $item; } else { $arguments[] = $item; @@ -101,16 +101,16 @@ class InputDefinition /** * @throws LogicException When incorrect argument is given */ - public function addArgument(\RectorPrefix20220519\Symfony\Component\Console\Input\InputArgument $argument) + public function addArgument(\RectorPrefix20220520\Symfony\Component\Console\Input\InputArgument $argument) { if (isset($this->arguments[$argument->getName()])) { - throw new \RectorPrefix20220519\Symfony\Component\Console\Exception\LogicException(\sprintf('An argument with name "%s" already exists.', $argument->getName())); + throw new \RectorPrefix20220520\Symfony\Component\Console\Exception\LogicException(\sprintf('An argument with name "%s" already exists.', $argument->getName())); } if (null !== $this->lastArrayArgument) { - throw new \RectorPrefix20220519\Symfony\Component\Console\Exception\LogicException(\sprintf('Cannot add a required argument "%s" after an array argument "%s".', $argument->getName(), $this->lastArrayArgument->getName())); + throw new \RectorPrefix20220520\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 \RectorPrefix20220519\Symfony\Component\Console\Exception\LogicException(\sprintf('Cannot add a required argument "%s" after an optional one "%s".', $argument->getName(), $this->lastOptionalArgument->getName())); + throw new \RectorPrefix20220520\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; @@ -128,10 +128,10 @@ class InputDefinition * @throws InvalidArgumentException When argument given doesn't exist * @param string|int $name */ - public function getArgument($name) : \RectorPrefix20220519\Symfony\Component\Console\Input\InputArgument + public function getArgument($name) : \RectorPrefix20220520\Symfony\Component\Console\Input\InputArgument { if (!$this->hasArgument($name)) { - throw new \RectorPrefix20220519\Symfony\Component\Console\Exception\InvalidArgumentException(\sprintf('The "%s" argument does not exist.', $name)); + throw new \RectorPrefix20220520\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]; @@ -205,18 +205,18 @@ class InputDefinition /** * @throws LogicException When option given already exist */ - public function addOption(\RectorPrefix20220519\Symfony\Component\Console\Input\InputOption $option) + public function addOption(\RectorPrefix20220520\Symfony\Component\Console\Input\InputOption $option) { if (isset($this->options[$option->getName()]) && !$option->equals($this->options[$option->getName()])) { - throw new \RectorPrefix20220519\Symfony\Component\Console\Exception\LogicException(\sprintf('An option named "%s" already exists.', $option->getName())); + throw new \RectorPrefix20220520\Symfony\Component\Console\Exception\LogicException(\sprintf('An option named "%s" already exists.', $option->getName())); } if (isset($this->negations[$option->getName()])) { - throw new \RectorPrefix20220519\Symfony\Component\Console\Exception\LogicException(\sprintf('An option named "%s" already exists.', $option->getName())); + throw new \RectorPrefix20220520\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 \RectorPrefix20220519\Symfony\Component\Console\Exception\LogicException(\sprintf('An option with shortcut "%s" already exists.', $shortcut)); + throw new \RectorPrefix20220520\Symfony\Component\Console\Exception\LogicException(\sprintf('An option with shortcut "%s" already exists.', $shortcut)); } } } @@ -229,7 +229,7 @@ class InputDefinition if ($option->isNegatable()) { $negatedName = 'no-' . $option->getName(); if (isset($this->options[$negatedName])) { - throw new \RectorPrefix20220519\Symfony\Component\Console\Exception\LogicException(\sprintf('An option named "%s" already exists.', $negatedName)); + throw new \RectorPrefix20220520\Symfony\Component\Console\Exception\LogicException(\sprintf('An option named "%s" already exists.', $negatedName)); } $this->negations[$negatedName] = $option->getName(); } @@ -239,10 +239,10 @@ class InputDefinition * * @throws InvalidArgumentException When option given doesn't exist */ - public function getOption(string $name) : \RectorPrefix20220519\Symfony\Component\Console\Input\InputOption + public function getOption(string $name) : \RectorPrefix20220520\Symfony\Component\Console\Input\InputOption { if (!$this->hasOption($name)) { - throw new \RectorPrefix20220519\Symfony\Component\Console\Exception\InvalidArgumentException(\sprintf('The "--%s" option does not exist.', $name)); + throw new \RectorPrefix20220520\Symfony\Component\Console\Exception\InvalidArgumentException(\sprintf('The "--%s" option does not exist.', $name)); } return $this->options[$name]; } @@ -282,7 +282,7 @@ class InputDefinition /** * Gets an InputOption by shortcut. */ - public function getOptionForShortcut(string $shortcut) : \RectorPrefix20220519\Symfony\Component\Console\Input\InputOption + public function getOptionForShortcut(string $shortcut) : \RectorPrefix20220520\Symfony\Component\Console\Input\InputOption { return $this->getOption($this->shortcutToName($shortcut)); } @@ -307,7 +307,7 @@ class InputDefinition public function shortcutToName(string $shortcut) : string { if (!isset($this->shortcuts[$shortcut])) { - throw new \RectorPrefix20220519\Symfony\Component\Console\Exception\InvalidArgumentException(\sprintf('The "-%s" option does not exist.', $shortcut)); + throw new \RectorPrefix20220520\Symfony\Component\Console\Exception\InvalidArgumentException(\sprintf('The "-%s" option does not exist.', $shortcut)); } return $this->shortcuts[$shortcut]; } @@ -321,7 +321,7 @@ class InputDefinition public function negationToName(string $negation) : string { if (!isset($this->negations[$negation])) { - throw new \RectorPrefix20220519\Symfony\Component\Console\Exception\InvalidArgumentException(\sprintf('The "--%s" option does not exist.', $negation)); + throw new \RectorPrefix20220520\Symfony\Component\Console\Exception\InvalidArgumentException(\sprintf('The "--%s" option does not exist.', $negation)); } return $this->negations[$negation]; } diff --git a/vendor/symfony/console/Input/InputInterface.php b/vendor/symfony/console/Input/InputInterface.php index 9184fd0a863..70cd6a5879a 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 RectorPrefix20220519\Symfony\Component\Console\Input; +namespace RectorPrefix20220520\Symfony\Component\Console\Input; -use RectorPrefix20220519\Symfony\Component\Console\Exception\InvalidArgumentException; -use RectorPrefix20220519\Symfony\Component\Console\Exception\RuntimeException; +use RectorPrefix20220520\Symfony\Component\Console\Exception\InvalidArgumentException; +use RectorPrefix20220520\Symfony\Component\Console\Exception\RuntimeException; /** * InputInterface is the interface implemented by all input classes. * @@ -55,7 +55,7 @@ interface InputInterface * * @throws RuntimeException */ - public function bind(\RectorPrefix20220519\Symfony\Component\Console\Input\InputDefinition $definition); + public function bind(\RectorPrefix20220520\Symfony\Component\Console\Input\InputDefinition $definition); /** * Validates the input. * diff --git a/vendor/symfony/console/Input/InputOption.php b/vendor/symfony/console/Input/InputOption.php index dcf90e74624..aa40da86e9c 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 RectorPrefix20220519\Symfony\Component\Console\Input; +namespace RectorPrefix20220520\Symfony\Component\Console\Input; -use RectorPrefix20220519\Symfony\Component\Console\Exception\InvalidArgumentException; -use RectorPrefix20220519\Symfony\Component\Console\Exception\LogicException; +use RectorPrefix20220520\Symfony\Component\Console\Exception\InvalidArgumentException; +use RectorPrefix20220520\Symfony\Component\Console\Exception\LogicException; /** * Represents a command line option. * @@ -72,7 +72,7 @@ class InputOption $name = \substr($name, 2); } if (empty($name)) { - throw new \RectorPrefix20220519\Symfony\Component\Console\Exception\InvalidArgumentException('An option name cannot be empty.'); + throw new \RectorPrefix20220520\Symfony\Component\Console\Exception\InvalidArgumentException('An option name cannot be empty.'); } if (empty($shortcut)) { $shortcut = null; @@ -85,23 +85,23 @@ class InputOption $shortcuts = \array_filter($shortcuts); $shortcut = \implode('|', $shortcuts); if (empty($shortcut)) { - throw new \RectorPrefix20220519\Symfony\Component\Console\Exception\InvalidArgumentException('An option shortcut cannot be empty.'); + throw new \RectorPrefix20220520\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 \RectorPrefix20220519\Symfony\Component\Console\Exception\InvalidArgumentException(\sprintf('Option mode "%s" is not valid.', $mode)); + throw new \RectorPrefix20220520\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 \RectorPrefix20220519\Symfony\Component\Console\Exception\InvalidArgumentException('Impossible to have an option mode VALUE_IS_ARRAY if the option does not accept a value.'); + throw new \RectorPrefix20220520\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 \RectorPrefix20220519\Symfony\Component\Console\Exception\InvalidArgumentException('Impossible to have an option mode VALUE_NEGATABLE if the option also accepts a value.'); + throw new \RectorPrefix20220520\Symfony\Component\Console\Exception\InvalidArgumentException('Impossible to have an option mode VALUE_NEGATABLE if the option also accepts a value.'); } $this->setDefault($default); } @@ -165,13 +165,13 @@ class InputOption public function setDefault($default = null) { if (self::VALUE_NONE === (self::VALUE_NONE & $this->mode) && null !== $default) { - throw new \RectorPrefix20220519\Symfony\Component\Console\Exception\LogicException('Cannot set a default value when using InputOption::VALUE_NONE mode.'); + throw new \RectorPrefix20220520\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 \RectorPrefix20220519\Symfony\Component\Console\Exception\LogicException('A default value for an array option must be an array.'); + throw new \RectorPrefix20220520\Symfony\Component\Console\Exception\LogicException('A default value for an array option must be an array.'); } } $this->default = $this->acceptValue() || $this->isNegatable() ? $default : \false; diff --git a/vendor/symfony/console/Input/StreamableInputInterface.php b/vendor/symfony/console/Input/StreamableInputInterface.php index 39a28dfc260..4f4e6d35101 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 RectorPrefix20220519\Symfony\Component\Console\Input; +namespace RectorPrefix20220520\Symfony\Component\Console\Input; /** * StreamableInputInterface is the interface implemented by all input classes @@ -16,7 +16,7 @@ namespace RectorPrefix20220519\Symfony\Component\Console\Input; * * @author Robin Chalas */ -interface StreamableInputInterface extends \RectorPrefix20220519\Symfony\Component\Console\Input\InputInterface +interface StreamableInputInterface extends \RectorPrefix20220520\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 60009193803..c9272031b73 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 RectorPrefix20220519\Symfony\Component\Console\Input; +namespace RectorPrefix20220520\Symfony\Component\Console\Input; -use RectorPrefix20220519\Symfony\Component\Console\Exception\InvalidArgumentException; +use RectorPrefix20220520\Symfony\Component\Console\Exception\InvalidArgumentException; /** * StringInput represents an input provided as a string. * @@ -20,7 +20,7 @@ use RectorPrefix20220519\Symfony\Component\Console\Exception\InvalidArgumentExce * * @author Fabien Potencier */ -class StringInput extends \RectorPrefix20220519\Symfony\Component\Console\Input\ArgvInput +class StringInput extends \RectorPrefix20220520\Symfony\Component\Console\Input\ArgvInput { public const REGEX_STRING = '([^\\s]+?)(?:\\s|(? \RectorPrefix20220519\Symfony\Component\Console\Output\OutputInterface::VERBOSITY_NORMAL, \RectorPrefix20220519\Psr\Log\LogLevel::ALERT => \RectorPrefix20220519\Symfony\Component\Console\Output\OutputInterface::VERBOSITY_NORMAL, \RectorPrefix20220519\Psr\Log\LogLevel::CRITICAL => \RectorPrefix20220519\Symfony\Component\Console\Output\OutputInterface::VERBOSITY_NORMAL, \RectorPrefix20220519\Psr\Log\LogLevel::ERROR => \RectorPrefix20220519\Symfony\Component\Console\Output\OutputInterface::VERBOSITY_NORMAL, \RectorPrefix20220519\Psr\Log\LogLevel::WARNING => \RectorPrefix20220519\Symfony\Component\Console\Output\OutputInterface::VERBOSITY_NORMAL, \RectorPrefix20220519\Psr\Log\LogLevel::NOTICE => \RectorPrefix20220519\Symfony\Component\Console\Output\OutputInterface::VERBOSITY_VERBOSE, \RectorPrefix20220519\Psr\Log\LogLevel::INFO => \RectorPrefix20220519\Symfony\Component\Console\Output\OutputInterface::VERBOSITY_VERY_VERBOSE, \RectorPrefix20220519\Psr\Log\LogLevel::DEBUG => \RectorPrefix20220519\Symfony\Component\Console\Output\OutputInterface::VERBOSITY_DEBUG]; + private $verbosityLevelMap = [\RectorPrefix20220520\Psr\Log\LogLevel::EMERGENCY => \RectorPrefix20220520\Symfony\Component\Console\Output\OutputInterface::VERBOSITY_NORMAL, \RectorPrefix20220520\Psr\Log\LogLevel::ALERT => \RectorPrefix20220520\Symfony\Component\Console\Output\OutputInterface::VERBOSITY_NORMAL, \RectorPrefix20220520\Psr\Log\LogLevel::CRITICAL => \RectorPrefix20220520\Symfony\Component\Console\Output\OutputInterface::VERBOSITY_NORMAL, \RectorPrefix20220520\Psr\Log\LogLevel::ERROR => \RectorPrefix20220520\Symfony\Component\Console\Output\OutputInterface::VERBOSITY_NORMAL, \RectorPrefix20220520\Psr\Log\LogLevel::WARNING => \RectorPrefix20220520\Symfony\Component\Console\Output\OutputInterface::VERBOSITY_NORMAL, \RectorPrefix20220520\Psr\Log\LogLevel::NOTICE => \RectorPrefix20220520\Symfony\Component\Console\Output\OutputInterface::VERBOSITY_VERBOSE, \RectorPrefix20220520\Psr\Log\LogLevel::INFO => \RectorPrefix20220520\Symfony\Component\Console\Output\OutputInterface::VERBOSITY_VERY_VERBOSE, \RectorPrefix20220520\Psr\Log\LogLevel::DEBUG => \RectorPrefix20220520\Symfony\Component\Console\Output\OutputInterface::VERBOSITY_DEBUG]; /** * @var mixed[] */ - private $formatLevelMap = [\RectorPrefix20220519\Psr\Log\LogLevel::EMERGENCY => self::ERROR, \RectorPrefix20220519\Psr\Log\LogLevel::ALERT => self::ERROR, \RectorPrefix20220519\Psr\Log\LogLevel::CRITICAL => self::ERROR, \RectorPrefix20220519\Psr\Log\LogLevel::ERROR => self::ERROR, \RectorPrefix20220519\Psr\Log\LogLevel::WARNING => self::INFO, \RectorPrefix20220519\Psr\Log\LogLevel::NOTICE => self::INFO, \RectorPrefix20220519\Psr\Log\LogLevel::INFO => self::INFO, \RectorPrefix20220519\Psr\Log\LogLevel::DEBUG => self::INFO]; + private $formatLevelMap = [\RectorPrefix20220520\Psr\Log\LogLevel::EMERGENCY => self::ERROR, \RectorPrefix20220520\Psr\Log\LogLevel::ALERT => self::ERROR, \RectorPrefix20220520\Psr\Log\LogLevel::CRITICAL => self::ERROR, \RectorPrefix20220520\Psr\Log\LogLevel::ERROR => self::ERROR, \RectorPrefix20220520\Psr\Log\LogLevel::WARNING => self::INFO, \RectorPrefix20220520\Psr\Log\LogLevel::NOTICE => self::INFO, \RectorPrefix20220520\Psr\Log\LogLevel::INFO => self::INFO, \RectorPrefix20220520\Psr\Log\LogLevel::DEBUG => self::INFO]; /** * @var bool */ private $errored = \false; - public function __construct(\RectorPrefix20220519\Symfony\Component\Console\Output\OutputInterface $output, array $verbosityLevelMap = [], array $formatLevelMap = []) + public function __construct(\RectorPrefix20220520\Symfony\Component\Console\Output\OutputInterface $output, array $verbosityLevelMap = [], array $formatLevelMap = []) { $this->output = $output; $this->verbosityLevelMap = $verbosityLevelMap + $this->verbosityLevelMap; @@ -51,12 +51,12 @@ class ConsoleLogger extends \RectorPrefix20220519\Psr\Log\AbstractLogger public function log($level, $message, array $context = []) : void { if (!isset($this->verbosityLevelMap[$level])) { - throw new \RectorPrefix20220519\Psr\Log\InvalidArgumentException(\sprintf('The log level "%s" does not exist.', $level)); + throw new \RectorPrefix20220520\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 \RectorPrefix20220519\Symfony\Component\Console\Output\ConsoleOutputInterface) { + if ($this->output instanceof \RectorPrefix20220520\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 b795204bc92..2618a4de88f 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 RectorPrefix20220519\Symfony\Component\Console\Output; +namespace RectorPrefix20220520\Symfony\Component\Console\Output; /** * @author Jean-François Simon */ -class BufferedOutput extends \RectorPrefix20220519\Symfony\Component\Console\Output\Output +class BufferedOutput extends \RectorPrefix20220520\Symfony\Component\Console\Output\Output { /** * @var string diff --git a/vendor/symfony/console/Output/ConsoleOutput.php b/vendor/symfony/console/Output/ConsoleOutput.php index c6d6f41621a..ef8c49de35a 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 RectorPrefix20220519\Symfony\Component\Console\Output; +namespace RectorPrefix20220520\Symfony\Component\Console\Output; -use RectorPrefix20220519\Symfony\Component\Console\Formatter\OutputFormatterInterface; +use RectorPrefix20220520\Symfony\Component\Console\Formatter\OutputFormatterInterface; /** * ConsoleOutput is the default class for all CLI output. It uses STDOUT and STDERR. * @@ -25,7 +25,7 @@ use RectorPrefix20220519\Symfony\Component\Console\Formatter\OutputFormatterInte * * @author Fabien Potencier */ -class ConsoleOutput extends \RectorPrefix20220519\Symfony\Component\Console\Output\StreamOutput implements \RectorPrefix20220519\Symfony\Component\Console\Output\ConsoleOutputInterface +class ConsoleOutput extends \RectorPrefix20220520\Symfony\Component\Console\Output\StreamOutput implements \RectorPrefix20220520\Symfony\Component\Console\Output\ConsoleOutputInterface { private $stderr; /** @@ -37,16 +37,16 @@ class ConsoleOutput extends \RectorPrefix20220519\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, \RectorPrefix20220519\Symfony\Component\Console\Formatter\OutputFormatterInterface $formatter = null) + public function __construct(int $verbosity = self::VERBOSITY_NORMAL, bool $decorated = null, \RectorPrefix20220520\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 \RectorPrefix20220519\Symfony\Component\Console\Output\StreamOutput($this->openErrorStream(), $verbosity, $decorated); + $this->stderr = new \RectorPrefix20220520\Symfony\Component\Console\Output\StreamOutput($this->openErrorStream(), $verbosity, $decorated); return; } $actualDecorated = $this->isDecorated(); - $this->stderr = new \RectorPrefix20220519\Symfony\Component\Console\Output\StreamOutput($this->openErrorStream(), $verbosity, $decorated, $this->getFormatter()); + $this->stderr = new \RectorPrefix20220520\Symfony\Component\Console\Output\StreamOutput($this->openErrorStream(), $verbosity, $decorated, $this->getFormatter()); if (null === $decorated) { $this->setDecorated($actualDecorated && $this->stderr->isDecorated()); } @@ -54,9 +54,9 @@ class ConsoleOutput extends \RectorPrefix20220519\Symfony\Component\Console\Outp /** * Creates a new output section. */ - public function section() : \RectorPrefix20220519\Symfony\Component\Console\Output\ConsoleSectionOutput + public function section() : \RectorPrefix20220520\Symfony\Component\Console\Output\ConsoleSectionOutput { - return new \RectorPrefix20220519\Symfony\Component\Console\Output\ConsoleSectionOutput($this->getStream(), $this->consoleSectionOutputs, $this->getVerbosity(), $this->isDecorated(), $this->getFormatter()); + return new \RectorPrefix20220520\Symfony\Component\Console\Output\ConsoleSectionOutput($this->getStream(), $this->consoleSectionOutputs, $this->getVerbosity(), $this->isDecorated(), $this->getFormatter()); } /** * {@inheritdoc} @@ -69,7 +69,7 @@ class ConsoleOutput extends \RectorPrefix20220519\Symfony\Component\Console\Outp /** * {@inheritdoc} */ - public function setFormatter(\RectorPrefix20220519\Symfony\Component\Console\Formatter\OutputFormatterInterface $formatter) + public function setFormatter(\RectorPrefix20220520\Symfony\Component\Console\Formatter\OutputFormatterInterface $formatter) { parent::setFormatter($formatter); $this->stderr->setFormatter($formatter); @@ -85,14 +85,14 @@ class ConsoleOutput extends \RectorPrefix20220519\Symfony\Component\Console\Outp /** * {@inheritdoc} */ - public function getErrorOutput() : \RectorPrefix20220519\Symfony\Component\Console\Output\OutputInterface + public function getErrorOutput() : \RectorPrefix20220520\Symfony\Component\Console\Output\OutputInterface { return $this->stderr; } /** * {@inheritdoc} */ - public function setErrorOutput(\RectorPrefix20220519\Symfony\Component\Console\Output\OutputInterface $error) + public function setErrorOutput(\RectorPrefix20220520\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 fe2fdae325e..b3954552757 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 RectorPrefix20220519\Symfony\Component\Console\Output; +namespace RectorPrefix20220520\Symfony\Component\Console\Output; /** * ConsoleOutputInterface is the interface implemented by ConsoleOutput class. @@ -16,12 +16,12 @@ namespace RectorPrefix20220519\Symfony\Component\Console\Output; * * @author Dariusz Górecki */ -interface ConsoleOutputInterface extends \RectorPrefix20220519\Symfony\Component\Console\Output\OutputInterface +interface ConsoleOutputInterface extends \RectorPrefix20220520\Symfony\Component\Console\Output\OutputInterface { /** * Gets the OutputInterface for errors. */ - public function getErrorOutput() : \RectorPrefix20220519\Symfony\Component\Console\Output\OutputInterface; - public function setErrorOutput(\RectorPrefix20220519\Symfony\Component\Console\Output\OutputInterface $error); - public function section() : \RectorPrefix20220519\Symfony\Component\Console\Output\ConsoleSectionOutput; + public function getErrorOutput() : \RectorPrefix20220520\Symfony\Component\Console\Output\OutputInterface; + public function setErrorOutput(\RectorPrefix20220520\Symfony\Component\Console\Output\OutputInterface $error); + public function section() : \RectorPrefix20220520\Symfony\Component\Console\Output\ConsoleSectionOutput; } diff --git a/vendor/symfony/console/Output/ConsoleSectionOutput.php b/vendor/symfony/console/Output/ConsoleSectionOutput.php index 503e139b684..e5b92786845 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 RectorPrefix20220519\Symfony\Component\Console\Output; +namespace RectorPrefix20220520\Symfony\Component\Console\Output; -use RectorPrefix20220519\Symfony\Component\Console\Formatter\OutputFormatterInterface; -use RectorPrefix20220519\Symfony\Component\Console\Helper\Helper; -use RectorPrefix20220519\Symfony\Component\Console\Terminal; +use RectorPrefix20220520\Symfony\Component\Console\Formatter\OutputFormatterInterface; +use RectorPrefix20220520\Symfony\Component\Console\Helper\Helper; +use RectorPrefix20220520\Symfony\Component\Console\Terminal; /** * @author Pierre du Plessis * @author Gabriel Ostrolucký */ -class ConsoleSectionOutput extends \RectorPrefix20220519\Symfony\Component\Console\Output\StreamOutput +class ConsoleSectionOutput extends \RectorPrefix20220520\Symfony\Component\Console\Output\StreamOutput { /** * @var mixed[] @@ -36,12 +36,12 @@ class ConsoleSectionOutput extends \RectorPrefix20220519\Symfony\Component\Conso * @param resource $stream * @param ConsoleSectionOutput[] $sections */ - public function __construct($stream, array &$sections, int $verbosity, bool $decorated, \RectorPrefix20220519\Symfony\Component\Console\Formatter\OutputFormatterInterface $formatter) + public function __construct($stream, array &$sections, int $verbosity, bool $decorated, \RectorPrefix20220520\Symfony\Component\Console\Formatter\OutputFormatterInterface $formatter) { parent::__construct($stream, $verbosity, $decorated, $formatter); \array_unshift($sections, $this); $this->sections =& $sections; - $this->terminal = new \RectorPrefix20220519\Symfony\Component\Console\Terminal(); + $this->terminal = new \RectorPrefix20220520\Symfony\Component\Console\Terminal(); } /** * Clears previous output for this section. @@ -126,6 +126,6 @@ class ConsoleSectionOutput extends \RectorPrefix20220519\Symfony\Component\Conso } private function getDisplayLength(string $text) : int { - return \RectorPrefix20220519\Symfony\Component\Console\Helper\Helper::width(\RectorPrefix20220519\Symfony\Component\Console\Helper\Helper::removeDecoration($this->getFormatter(), \str_replace("\t", ' ', $text))); + return \RectorPrefix20220520\Symfony\Component\Console\Helper\Helper::width(\RectorPrefix20220520\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 43654be568d..acef9d898e7 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 RectorPrefix20220519\Symfony\Component\Console\Output; +namespace RectorPrefix20220520\Symfony\Component\Console\Output; -use RectorPrefix20220519\Symfony\Component\Console\Formatter\NullOutputFormatter; -use RectorPrefix20220519\Symfony\Component\Console\Formatter\OutputFormatterInterface; +use RectorPrefix20220520\Symfony\Component\Console\Formatter\NullOutputFormatter; +use RectorPrefix20220520\Symfony\Component\Console\Formatter\OutputFormatterInterface; /** * NullOutput suppresses all output. * @@ -20,23 +20,23 @@ use RectorPrefix20220519\Symfony\Component\Console\Formatter\OutputFormatterInte * @author Fabien Potencier * @author Tobias Schultze */ -class NullOutput implements \RectorPrefix20220519\Symfony\Component\Console\Output\OutputInterface +class NullOutput implements \RectorPrefix20220520\Symfony\Component\Console\Output\OutputInterface { private $formatter; /** * {@inheritdoc} */ - public function setFormatter(\RectorPrefix20220519\Symfony\Component\Console\Formatter\OutputFormatterInterface $formatter) + public function setFormatter(\RectorPrefix20220520\Symfony\Component\Console\Formatter\OutputFormatterInterface $formatter) { // do nothing } /** * {@inheritdoc} */ - public function getFormatter() : \RectorPrefix20220519\Symfony\Component\Console\Formatter\OutputFormatterInterface + public function getFormatter() : \RectorPrefix20220520\Symfony\Component\Console\Formatter\OutputFormatterInterface { // to comply with the interface we must return a OutputFormatterInterface - return $this->formatter = $this->formatter ?? new \RectorPrefix20220519\Symfony\Component\Console\Formatter\NullOutputFormatter(); + return $this->formatter = $this->formatter ?? new \RectorPrefix20220520\Symfony\Component\Console\Formatter\NullOutputFormatter(); } /** * {@inheritdoc} diff --git a/vendor/symfony/console/Output/Output.php b/vendor/symfony/console/Output/Output.php index ba0dbe2be81..b0a3da6ce2e 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 RectorPrefix20220519\Symfony\Component\Console\Output; +namespace RectorPrefix20220520\Symfony\Component\Console\Output; -use RectorPrefix20220519\Symfony\Component\Console\Formatter\OutputFormatter; -use RectorPrefix20220519\Symfony\Component\Console\Formatter\OutputFormatterInterface; +use RectorPrefix20220520\Symfony\Component\Console\Formatter\OutputFormatter; +use RectorPrefix20220520\Symfony\Component\Console\Formatter\OutputFormatterInterface; /** * Base class for output classes. * @@ -25,7 +25,7 @@ use RectorPrefix20220519\Symfony\Component\Console\Formatter\OutputFormatterInte * * @author Fabien Potencier */ -abstract class Output implements \RectorPrefix20220519\Symfony\Component\Console\Output\OutputInterface +abstract class Output implements \RectorPrefix20220520\Symfony\Component\Console\Output\OutputInterface { /** * @var int @@ -37,23 +37,23 @@ abstract class Output implements \RectorPrefix20220519\Symfony\Component\Console * @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, \RectorPrefix20220519\Symfony\Component\Console\Formatter\OutputFormatterInterface $formatter = null) + public function __construct(?int $verbosity = self::VERBOSITY_NORMAL, bool $decorated = \false, \RectorPrefix20220520\Symfony\Component\Console\Formatter\OutputFormatterInterface $formatter = null) { $this->verbosity = $verbosity ?? self::VERBOSITY_NORMAL; - $this->formatter = $formatter ?? new \RectorPrefix20220519\Symfony\Component\Console\Formatter\OutputFormatter(); + $this->formatter = $formatter ?? new \RectorPrefix20220520\Symfony\Component\Console\Formatter\OutputFormatter(); $this->formatter->setDecorated($decorated); } /** * {@inheritdoc} */ - public function setFormatter(\RectorPrefix20220519\Symfony\Component\Console\Formatter\OutputFormatterInterface $formatter) + public function setFormatter(\RectorPrefix20220520\Symfony\Component\Console\Formatter\OutputFormatterInterface $formatter) { $this->formatter = $formatter; } /** * {@inheritdoc} */ - public function getFormatter() : \RectorPrefix20220519\Symfony\Component\Console\Formatter\OutputFormatterInterface + public function getFormatter() : \RectorPrefix20220520\Symfony\Component\Console\Formatter\OutputFormatterInterface { return $this->formatter; } @@ -139,12 +139,12 @@ abstract class Output implements \RectorPrefix20220519\Symfony\Component\Console } foreach ($messages as $message) { switch ($type) { - case \RectorPrefix20220519\Symfony\Component\Console\Output\OutputInterface::OUTPUT_NORMAL: + case \RectorPrefix20220520\Symfony\Component\Console\Output\OutputInterface::OUTPUT_NORMAL: $message = $this->formatter->format($message); break; - case \RectorPrefix20220519\Symfony\Component\Console\Output\OutputInterface::OUTPUT_RAW: + case \RectorPrefix20220520\Symfony\Component\Console\Output\OutputInterface::OUTPUT_RAW: break; - case \RectorPrefix20220519\Symfony\Component\Console\Output\OutputInterface::OUTPUT_PLAIN: + case \RectorPrefix20220520\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 1a2c74f9f7a..aae96f4a0ed 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 RectorPrefix20220519\Symfony\Component\Console\Output; +namespace RectorPrefix20220520\Symfony\Component\Console\Output; -use RectorPrefix20220519\Symfony\Component\Console\Formatter\OutputFormatterInterface; +use RectorPrefix20220520\Symfony\Component\Console\Formatter\OutputFormatterInterface; /** * OutputInterface is the interface implemented by all Output classes. * @@ -71,9 +71,9 @@ interface OutputInterface * Gets the decorated flag. */ public function isDecorated() : bool; - public function setFormatter(\RectorPrefix20220519\Symfony\Component\Console\Formatter\OutputFormatterInterface $formatter); + public function setFormatter(\RectorPrefix20220520\Symfony\Component\Console\Formatter\OutputFormatterInterface $formatter); /** * Returns current output formatter instance. */ - public function getFormatter() : \RectorPrefix20220519\Symfony\Component\Console\Formatter\OutputFormatterInterface; + public function getFormatter() : \RectorPrefix20220520\Symfony\Component\Console\Formatter\OutputFormatterInterface; } diff --git a/vendor/symfony/console/Output/StreamOutput.php b/vendor/symfony/console/Output/StreamOutput.php index 7b79dd59193..e373566117f 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 RectorPrefix20220519\Symfony\Component\Console\Output; +namespace RectorPrefix20220520\Symfony\Component\Console\Output; -use RectorPrefix20220519\Symfony\Component\Console\Exception\InvalidArgumentException; -use RectorPrefix20220519\Symfony\Component\Console\Formatter\OutputFormatterInterface; +use RectorPrefix20220520\Symfony\Component\Console\Exception\InvalidArgumentException; +use RectorPrefix20220520\Symfony\Component\Console\Formatter\OutputFormatterInterface; /** * StreamOutput writes the output to a given stream. * @@ -25,7 +25,7 @@ use RectorPrefix20220519\Symfony\Component\Console\Formatter\OutputFormatterInte * * @author Fabien Potencier */ -class StreamOutput extends \RectorPrefix20220519\Symfony\Component\Console\Output\Output +class StreamOutput extends \RectorPrefix20220520\Symfony\Component\Console\Output\Output { private $stream; /** @@ -36,10 +36,10 @@ class StreamOutput extends \RectorPrefix20220519\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, \RectorPrefix20220519\Symfony\Component\Console\Formatter\OutputFormatterInterface $formatter = null) + public function __construct($stream, int $verbosity = self::VERBOSITY_NORMAL, bool $decorated = null, \RectorPrefix20220520\Symfony\Component\Console\Formatter\OutputFormatterInterface $formatter = null) { if (!\is_resource($stream) || 'stream' !== \get_resource_type($stream)) { - throw new \RectorPrefix20220519\Symfony\Component\Console\Exception\InvalidArgumentException('The StreamOutput class needs a stream as its first argument.'); + throw new \RectorPrefix20220520\Symfony\Component\Console\Exception\InvalidArgumentException('The StreamOutput class needs a stream as its first argument.'); } $this->stream = $stream; if (null === $decorated) { diff --git a/vendor/symfony/console/Output/TrimmedBufferOutput.php b/vendor/symfony/console/Output/TrimmedBufferOutput.php index d9b021fcf9c..8a2616566cd 100644 --- a/vendor/symfony/console/Output/TrimmedBufferOutput.php +++ b/vendor/symfony/console/Output/TrimmedBufferOutput.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 RectorPrefix20220519\Symfony\Component\Console\Output; +namespace RectorPrefix20220520\Symfony\Component\Console\Output; -use RectorPrefix20220519\Symfony\Component\Console\Exception\InvalidArgumentException; -use RectorPrefix20220519\Symfony\Component\Console\Formatter\OutputFormatterInterface; +use RectorPrefix20220520\Symfony\Component\Console\Exception\InvalidArgumentException; +use RectorPrefix20220520\Symfony\Component\Console\Formatter\OutputFormatterInterface; /** * A BufferedOutput that keeps only the last N chars. * * @author Jérémy Derussé */ -class TrimmedBufferOutput extends \RectorPrefix20220519\Symfony\Component\Console\Output\Output +class TrimmedBufferOutput extends \RectorPrefix20220520\Symfony\Component\Console\Output\Output { /** * @var int @@ -27,10 +27,10 @@ class TrimmedBufferOutput extends \RectorPrefix20220519\Symfony\Component\Consol * @var string */ private $buffer = ''; - public function __construct(int $maxLength, ?int $verbosity = self::VERBOSITY_NORMAL, bool $decorated = \false, \RectorPrefix20220519\Symfony\Component\Console\Formatter\OutputFormatterInterface $formatter = null) + public function __construct(int $maxLength, ?int $verbosity = self::VERBOSITY_NORMAL, bool $decorated = \false, \RectorPrefix20220520\Symfony\Component\Console\Formatter\OutputFormatterInterface $formatter = null) { if ($maxLength <= 0) { - throw new \RectorPrefix20220519\Symfony\Component\Console\Exception\InvalidArgumentException(\sprintf('"%s()" expects a strictly positive maxLength. Got %d.', __METHOD__, $maxLength)); + throw new \RectorPrefix20220520\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 c94a9fcad04..760c2034f06 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 RectorPrefix20220519\Symfony\Component\Console\Question; +namespace RectorPrefix20220520\Symfony\Component\Console\Question; -use RectorPrefix20220519\Symfony\Component\Console\Exception\InvalidArgumentException; +use RectorPrefix20220520\Symfony\Component\Console\Exception\InvalidArgumentException; /** * Represents a choice question. * * @author Fabien Potencier */ -class ChoiceQuestion extends \RectorPrefix20220519\Symfony\Component\Console\Question\Question +class ChoiceQuestion extends \RectorPrefix20220520\Symfony\Component\Console\Question\Question { /** * @var mixed[] @@ -116,7 +116,7 @@ class ChoiceQuestion extends \RectorPrefix20220519\Symfony\Component\Console\Que if ($multiselect) { // Check for a separated comma values if (!\preg_match('/^[^,]+(?:,[^,]+)*$/', (string) $selected, $matches)) { - throw new \RectorPrefix20220519\Symfony\Component\Console\Exception\InvalidArgumentException(\sprintf($errorMessage, $selected)); + throw new \RectorPrefix20220520\Symfony\Component\Console\Exception\InvalidArgumentException(\sprintf($errorMessage, $selected)); } $selectedChoices = \explode(',', (string) $selected); } else { @@ -136,7 +136,7 @@ class ChoiceQuestion extends \RectorPrefix20220519\Symfony\Component\Console\Que } } if (\count($results) > 1) { - throw new \RectorPrefix20220519\Symfony\Component\Console\Exception\InvalidArgumentException(\sprintf('The provided answer is ambiguous. Value should be one of "%s".', \implode('" or "', $results))); + throw new \RectorPrefix20220520\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) { @@ -149,7 +149,7 @@ class ChoiceQuestion extends \RectorPrefix20220519\Symfony\Component\Console\Que $result = $value; } if (\false === $result) { - throw new \RectorPrefix20220519\Symfony\Component\Console\Exception\InvalidArgumentException(\sprintf($errorMessage, $value)); + throw new \RectorPrefix20220520\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 1c40ecf31e7..a0fa85da62e 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 RectorPrefix20220519\Symfony\Component\Console\Question; +namespace RectorPrefix20220520\Symfony\Component\Console\Question; /** * Represents a yes/no question. * * @author Fabien Potencier */ -class ConfirmationQuestion extends \RectorPrefix20220519\Symfony\Component\Console\Question\Question +class ConfirmationQuestion extends \RectorPrefix20220520\Symfony\Component\Console\Question\Question { /** * @var string diff --git a/vendor/symfony/console/Question/Question.php b/vendor/symfony/console/Question/Question.php index e1aae7ec176..819619e94d5 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 RectorPrefix20220519\Symfony\Component\Console\Question; +namespace RectorPrefix20220520\Symfony\Component\Console\Question; -use RectorPrefix20220519\Symfony\Component\Console\Exception\InvalidArgumentException; -use RectorPrefix20220519\Symfony\Component\Console\Exception\LogicException; +use RectorPrefix20220520\Symfony\Component\Console\Exception\InvalidArgumentException; +use RectorPrefix20220520\Symfony\Component\Console\Exception\LogicException; /** * Represents a Question. * @@ -117,7 +117,7 @@ class Question public function setHidden(bool $hidden) { if ($this->autocompleterCallback) { - throw new \RectorPrefix20220519\Symfony\Component\Console\Exception\LogicException('A hidden question cannot use the autocompleter.'); + throw new \RectorPrefix20220520\Symfony\Component\Console\Exception\LogicException('A hidden question cannot use the autocompleter.'); } $this->hidden = $hidden; return $this; @@ -188,7 +188,7 @@ class Question public function setAutocompleterCallback(callable $callback = null) { if ($this->hidden && null !== $callback) { - throw new \RectorPrefix20220519\Symfony\Component\Console\Exception\LogicException('A hidden question cannot use the autocompleter.'); + throw new \RectorPrefix20220520\Symfony\Component\Console\Exception\LogicException('A hidden question cannot use the autocompleter.'); } $this->autocompleterCallback = null === $callback || $callback instanceof \Closure ? $callback : \Closure::fromCallable($callback); return $this; @@ -222,7 +222,7 @@ class Question public function setMaxAttempts(?int $attempts) { if (null !== $attempts && $attempts < 1) { - throw new \RectorPrefix20220519\Symfony\Component\Console\Exception\InvalidArgumentException('Maximum number of attempts must be a positive value.'); + throw new \RectorPrefix20220520\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/SignalRegistry/SignalRegistry.php b/vendor/symfony/console/SignalRegistry/SignalRegistry.php index ad510a9e37e..d1a6b64e054 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 RectorPrefix20220519\Symfony\Component\Console\SignalRegistry; +namespace RectorPrefix20220520\Symfony\Component\Console\SignalRegistry; final class SignalRegistry { diff --git a/vendor/symfony/console/SingleCommandApplication.php b/vendor/symfony/console/SingleCommandApplication.php index 7ca597b02ad..2889c86c772 100644 --- a/vendor/symfony/console/SingleCommandApplication.php +++ b/vendor/symfony/console/SingleCommandApplication.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 RectorPrefix20220519\Symfony\Component\Console; +namespace RectorPrefix20220520\Symfony\Component\Console; -use RectorPrefix20220519\Symfony\Component\Console\Command\Command; -use RectorPrefix20220519\Symfony\Component\Console\Input\InputInterface; -use RectorPrefix20220519\Symfony\Component\Console\Output\OutputInterface; +use RectorPrefix20220520\Symfony\Component\Console\Command\Command; +use RectorPrefix20220520\Symfony\Component\Console\Input\InputInterface; +use RectorPrefix20220520\Symfony\Component\Console\Output\OutputInterface; /** * @author Grégoire Pineau */ -class SingleCommandApplication extends \RectorPrefix20220519\Symfony\Component\Console\Command\Command +class SingleCommandApplication extends \RectorPrefix20220520\Symfony\Component\Console\Command\Command { /** * @var string @@ -48,13 +48,13 @@ class SingleCommandApplication extends \RectorPrefix20220519\Symfony\Component\C $this->autoExit = $autoExit; return $this; } - public function run(\RectorPrefix20220519\Symfony\Component\Console\Input\InputInterface $input = null, \RectorPrefix20220519\Symfony\Component\Console\Output\OutputInterface $output = null) : int + public function run(\RectorPrefix20220520\Symfony\Component\Console\Input\InputInterface $input = null, \RectorPrefix20220520\Symfony\Component\Console\Output\OutputInterface $output = null) : int { if ($this->running) { return parent::run($input, $output); } // We use the command name as the application name - $application = new \RectorPrefix20220519\Symfony\Component\Console\Application($this->getName() ?: 'UNKNOWN', $this->version); + $application = new \RectorPrefix20220520\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 918f9bef1c4..3642ebefb08 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 RectorPrefix20220519\Symfony\Component\Console\Style; +namespace RectorPrefix20220520\Symfony\Component\Console\Style; -use RectorPrefix20220519\Symfony\Component\Console\Formatter\OutputFormatterInterface; -use RectorPrefix20220519\Symfony\Component\Console\Helper\ProgressBar; -use RectorPrefix20220519\Symfony\Component\Console\Output\ConsoleOutputInterface; -use RectorPrefix20220519\Symfony\Component\Console\Output\OutputInterface; +use RectorPrefix20220520\Symfony\Component\Console\Formatter\OutputFormatterInterface; +use RectorPrefix20220520\Symfony\Component\Console\Helper\ProgressBar; +use RectorPrefix20220520\Symfony\Component\Console\Output\ConsoleOutputInterface; +use RectorPrefix20220520\Symfony\Component\Console\Output\OutputInterface; /** * Decorates output to add console style guide helpers. * * @author Kevin Bond */ -abstract class OutputStyle implements \RectorPrefix20220519\Symfony\Component\Console\Output\OutputInterface, \RectorPrefix20220519\Symfony\Component\Console\Style\StyleInterface +abstract class OutputStyle implements \RectorPrefix20220520\Symfony\Component\Console\Output\OutputInterface, \RectorPrefix20220520\Symfony\Component\Console\Style\StyleInterface { private $output; - public function __construct(\RectorPrefix20220519\Symfony\Component\Console\Output\OutputInterface $output) + public function __construct(\RectorPrefix20220520\Symfony\Component\Console\Output\OutputInterface $output) { $this->output = $output; } @@ -33,9 +33,9 @@ abstract class OutputStyle implements \RectorPrefix20220519\Symfony\Component\Co { $this->output->write(\str_repeat(\PHP_EOL, $count)); } - public function createProgressBar(int $max = 0) : \RectorPrefix20220519\Symfony\Component\Console\Helper\ProgressBar + public function createProgressBar(int $max = 0) : \RectorPrefix20220520\Symfony\Component\Console\Helper\ProgressBar { - return new \RectorPrefix20220519\Symfony\Component\Console\Helper\ProgressBar($this->output, $max); + return new \RectorPrefix20220520\Symfony\Component\Console\Helper\ProgressBar($this->output, $max); } /** * {@inheritdoc} @@ -84,14 +84,14 @@ abstract class OutputStyle implements \RectorPrefix20220519\Symfony\Component\Co /** * {@inheritdoc} */ - public function setFormatter(\RectorPrefix20220519\Symfony\Component\Console\Formatter\OutputFormatterInterface $formatter) + public function setFormatter(\RectorPrefix20220520\Symfony\Component\Console\Formatter\OutputFormatterInterface $formatter) { $this->output->setFormatter($formatter); } /** * {@inheritdoc} */ - public function getFormatter() : \RectorPrefix20220519\Symfony\Component\Console\Formatter\OutputFormatterInterface + public function getFormatter() : \RectorPrefix20220520\Symfony\Component\Console\Formatter\OutputFormatterInterface { return $this->output->getFormatter(); } @@ -125,7 +125,7 @@ abstract class OutputStyle implements \RectorPrefix20220519\Symfony\Component\Co } protected function getErrorOutput() { - if (!$this->output instanceof \RectorPrefix20220519\Symfony\Component\Console\Output\ConsoleOutputInterface) { + if (!$this->output instanceof \RectorPrefix20220520\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 c0cce436d88..48676908b50 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 RectorPrefix20220519\Symfony\Component\Console\Style; +namespace RectorPrefix20220520\Symfony\Component\Console\Style; /** * Output style helpers. diff --git a/vendor/symfony/console/Style/SymfonyStyle.php b/vendor/symfony/console/Style/SymfonyStyle.php index 8bc06f6226b..55397124edb 100644 --- a/vendor/symfony/console/Style/SymfonyStyle.php +++ b/vendor/symfony/console/Style/SymfonyStyle.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 RectorPrefix20220519\Symfony\Component\Console\Style; +namespace RectorPrefix20220520\Symfony\Component\Console\Style; -use RectorPrefix20220519\Symfony\Component\Console\Exception\InvalidArgumentException; -use RectorPrefix20220519\Symfony\Component\Console\Exception\RuntimeException; -use RectorPrefix20220519\Symfony\Component\Console\Formatter\OutputFormatter; -use RectorPrefix20220519\Symfony\Component\Console\Helper\Helper; -use RectorPrefix20220519\Symfony\Component\Console\Helper\ProgressBar; -use RectorPrefix20220519\Symfony\Component\Console\Helper\SymfonyQuestionHelper; -use RectorPrefix20220519\Symfony\Component\Console\Helper\Table; -use RectorPrefix20220519\Symfony\Component\Console\Helper\TableCell; -use RectorPrefix20220519\Symfony\Component\Console\Helper\TableSeparator; -use RectorPrefix20220519\Symfony\Component\Console\Input\InputInterface; -use RectorPrefix20220519\Symfony\Component\Console\Output\ConsoleOutputInterface; -use RectorPrefix20220519\Symfony\Component\Console\Output\OutputInterface; -use RectorPrefix20220519\Symfony\Component\Console\Output\TrimmedBufferOutput; -use RectorPrefix20220519\Symfony\Component\Console\Question\ChoiceQuestion; -use RectorPrefix20220519\Symfony\Component\Console\Question\ConfirmationQuestion; -use RectorPrefix20220519\Symfony\Component\Console\Question\Question; -use RectorPrefix20220519\Symfony\Component\Console\Terminal; +use RectorPrefix20220520\Symfony\Component\Console\Exception\InvalidArgumentException; +use RectorPrefix20220520\Symfony\Component\Console\Exception\RuntimeException; +use RectorPrefix20220520\Symfony\Component\Console\Formatter\OutputFormatter; +use RectorPrefix20220520\Symfony\Component\Console\Helper\Helper; +use RectorPrefix20220520\Symfony\Component\Console\Helper\ProgressBar; +use RectorPrefix20220520\Symfony\Component\Console\Helper\SymfonyQuestionHelper; +use RectorPrefix20220520\Symfony\Component\Console\Helper\Table; +use RectorPrefix20220520\Symfony\Component\Console\Helper\TableCell; +use RectorPrefix20220520\Symfony\Component\Console\Helper\TableSeparator; +use RectorPrefix20220520\Symfony\Component\Console\Input\InputInterface; +use RectorPrefix20220520\Symfony\Component\Console\Output\ConsoleOutputInterface; +use RectorPrefix20220520\Symfony\Component\Console\Output\OutputInterface; +use RectorPrefix20220520\Symfony\Component\Console\Output\TrimmedBufferOutput; +use RectorPrefix20220520\Symfony\Component\Console\Question\ChoiceQuestion; +use RectorPrefix20220520\Symfony\Component\Console\Question\ConfirmationQuestion; +use RectorPrefix20220520\Symfony\Component\Console\Question\Question; +use RectorPrefix20220520\Symfony\Component\Console\Terminal; /** * Output decorator helpers for the Symfony Style Guide. * * @author Kevin Bond */ -class SymfonyStyle extends \RectorPrefix20220519\Symfony\Component\Console\Style\OutputStyle +class SymfonyStyle extends \RectorPrefix20220520\Symfony\Component\Console\Style\OutputStyle { public const MAX_LINE_LENGTH = 120; private $input; @@ -44,12 +44,12 @@ class SymfonyStyle extends \RectorPrefix20220519\Symfony\Component\Console\Style */ private $lineLength; private $bufferedOutput; - public function __construct(\RectorPrefix20220519\Symfony\Component\Console\Input\InputInterface $input, \RectorPrefix20220519\Symfony\Component\Console\Output\OutputInterface $output) + public function __construct(\RectorPrefix20220520\Symfony\Component\Console\Input\InputInterface $input, \RectorPrefix20220520\Symfony\Component\Console\Output\OutputInterface $output) { $this->input = $input; - $this->bufferedOutput = new \RectorPrefix20220519\Symfony\Component\Console\Output\TrimmedBufferOutput(\DIRECTORY_SEPARATOR === '\\' ? 4 : 2, $output->getVerbosity(), \false, clone $output->getFormatter()); + $this->bufferedOutput = new \RectorPrefix20220520\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 \RectorPrefix20220519\Symfony\Component\Console\Terminal())->getWidth() ?: self::MAX_LINE_LENGTH; + $width = (new \RectorPrefix20220520\Symfony\Component\Console\Terminal())->getWidth() ?: self::MAX_LINE_LENGTH; $this->lineLength = \min($width - (int) (\DIRECTORY_SEPARATOR === '\\'), self::MAX_LINE_LENGTH); parent::__construct($this->output = $output); } @@ -70,7 +70,7 @@ class SymfonyStyle extends \RectorPrefix20220519\Symfony\Component\Console\Style public function title(string $message) { $this->autoPrependBlock(); - $this->writeln([\sprintf('%s', \RectorPrefix20220519\Symfony\Component\Console\Formatter\OutputFormatter::escapeTrailingBackslash($message)), \sprintf('%s', \str_repeat('=', \RectorPrefix20220519\Symfony\Component\Console\Helper\Helper::width(\RectorPrefix20220519\Symfony\Component\Console\Helper\Helper::removeDecoration($this->getFormatter(), $message))))]); + $this->writeln([\sprintf('%s', \RectorPrefix20220520\Symfony\Component\Console\Formatter\OutputFormatter::escapeTrailingBackslash($message)), \sprintf('%s', \str_repeat('=', \RectorPrefix20220520\Symfony\Component\Console\Helper\Helper::width(\RectorPrefix20220520\Symfony\Component\Console\Helper\Helper::removeDecoration($this->getFormatter(), $message))))]); $this->newLine(); } /** @@ -79,7 +79,7 @@ class SymfonyStyle extends \RectorPrefix20220519\Symfony\Component\Console\Style public function section(string $message) { $this->autoPrependBlock(); - $this->writeln([\sprintf('%s', \RectorPrefix20220519\Symfony\Component\Console\Formatter\OutputFormatter::escapeTrailingBackslash($message)), \sprintf('%s', \str_repeat('-', \RectorPrefix20220519\Symfony\Component\Console\Helper\Helper::width(\RectorPrefix20220519\Symfony\Component\Console\Helper\Helper::removeDecoration($this->getFormatter(), $message))))]); + $this->writeln([\sprintf('%s', \RectorPrefix20220520\Symfony\Component\Console\Formatter\OutputFormatter::escapeTrailingBackslash($message)), \sprintf('%s', \str_repeat('-', \RectorPrefix20220520\Symfony\Component\Console\Helper\Helper::width(\RectorPrefix20220520\Symfony\Component\Console\Helper\Helper::removeDecoration($this->getFormatter(), $message))))]); $this->newLine(); } /** @@ -192,18 +192,18 @@ class SymfonyStyle extends \RectorPrefix20220519\Symfony\Component\Console\Style $headers = []; $row = []; foreach ($list as $value) { - if ($value instanceof \RectorPrefix20220519\Symfony\Component\Console\Helper\TableSeparator) { + if ($value instanceof \RectorPrefix20220520\Symfony\Component\Console\Helper\TableSeparator) { $headers[] = $value; $row[] = $value; continue; } if (\is_string($value)) { - $headers[] = new \RectorPrefix20220519\Symfony\Component\Console\Helper\TableCell($value, ['colspan' => 2]); + $headers[] = new \RectorPrefix20220520\Symfony\Component\Console\Helper\TableCell($value, ['colspan' => 2]); $row[] = null; continue; } if (!\is_array($value)) { - throw new \RectorPrefix20220519\Symfony\Component\Console\Exception\InvalidArgumentException('Value should be an array, string, or an instance of TableSeparator.'); + throw new \RectorPrefix20220520\Symfony\Component\Console\Exception\InvalidArgumentException('Value should be an array, string, or an instance of TableSeparator.'); } $headers[] = \key($value); $row[] = \current($value); @@ -216,7 +216,7 @@ class SymfonyStyle extends \RectorPrefix20220519\Symfony\Component\Console\Style */ public function ask(string $question, string $default = null, callable $validator = null) { - $question = new \RectorPrefix20220519\Symfony\Component\Console\Question\Question($question, $default); + $question = new \RectorPrefix20220520\Symfony\Component\Console\Question\Question($question, $default); $question->setValidator($validator); return $this->askQuestion($question); } @@ -226,7 +226,7 @@ class SymfonyStyle extends \RectorPrefix20220519\Symfony\Component\Console\Style */ public function askHidden(string $question, callable $validator = null) { - $question = new \RectorPrefix20220519\Symfony\Component\Console\Question\Question($question); + $question = new \RectorPrefix20220520\Symfony\Component\Console\Question\Question($question); $question->setHidden(\true); $question->setValidator($validator); return $this->askQuestion($question); @@ -236,7 +236,7 @@ class SymfonyStyle extends \RectorPrefix20220519\Symfony\Component\Console\Style */ public function confirm(string $question, bool $default = \true) : bool { - return $this->askQuestion(new \RectorPrefix20220519\Symfony\Component\Console\Question\ConfirmationQuestion($question, $default)); + return $this->askQuestion(new \RectorPrefix20220520\Symfony\Component\Console\Question\ConfirmationQuestion($question, $default)); } /** * {@inheritdoc} @@ -249,7 +249,7 @@ class SymfonyStyle extends \RectorPrefix20220519\Symfony\Component\Console\Style $values = \array_flip($choices); $default = $values[$default] ?? $default; } - return $this->askQuestion(new \RectorPrefix20220519\Symfony\Component\Console\Question\ChoiceQuestion($question, $choices, $default)); + return $this->askQuestion(new \RectorPrefix20220520\Symfony\Component\Console\Question\ChoiceQuestion($question, $choices, $default)); } /** * {@inheritdoc} @@ -278,7 +278,7 @@ class SymfonyStyle extends \RectorPrefix20220519\Symfony\Component\Console\Style /** * {@inheritdoc} */ - public function createProgressBar(int $max = 0) : \RectorPrefix20220519\Symfony\Component\Console\Helper\ProgressBar + public function createProgressBar(int $max = 0) : \RectorPrefix20220520\Symfony\Component\Console\Helper\ProgressBar { $progressBar = parent::createProgressBar($max); if ('\\' !== \DIRECTORY_SEPARATOR || 'Hyper' === \getenv('TERM_PROGRAM')) { @@ -301,12 +301,12 @@ class SymfonyStyle extends \RectorPrefix20220519\Symfony\Component\Console\Style /** * @return mixed */ - public function askQuestion(\RectorPrefix20220519\Symfony\Component\Console\Question\Question $question) + public function askQuestion(\RectorPrefix20220520\Symfony\Component\Console\Question\Question $question) { if ($this->input->isInteractive()) { $this->autoPrependBlock(); } - $this->questionHelper = $this->questionHelper ?? new \RectorPrefix20220519\Symfony\Component\Console\Helper\SymfonyQuestionHelper(); + $this->questionHelper = $this->questionHelper ?? new \RectorPrefix20220520\Symfony\Component\Console\Helper\SymfonyQuestionHelper(); $answer = $this->questionHelper->ask($this->input, $this, $question); if ($this->input->isInteractive()) { $this->newLine(); @@ -357,17 +357,17 @@ class SymfonyStyle extends \RectorPrefix20220519\Symfony\Component\Console\Style { return new self($this->input, $this->getErrorOutput()); } - public function createTable() : \RectorPrefix20220519\Symfony\Component\Console\Helper\Table + public function createTable() : \RectorPrefix20220520\Symfony\Component\Console\Helper\Table { - $output = $this->output instanceof \RectorPrefix20220519\Symfony\Component\Console\Output\ConsoleOutputInterface ? $this->output->section() : $this->output; - $style = clone \RectorPrefix20220519\Symfony\Component\Console\Helper\Table::getStyleDefinition('symfony-style-guide'); + $output = $this->output instanceof \RectorPrefix20220520\Symfony\Component\Console\Output\ConsoleOutputInterface ? $this->output->section() : $this->output; + $style = clone \RectorPrefix20220520\Symfony\Component\Console\Helper\Table::getStyleDefinition('symfony-style-guide'); $style->setCellHeaderFormat('%s'); - return (new \RectorPrefix20220519\Symfony\Component\Console\Helper\Table($output))->setStyle($style); + return (new \RectorPrefix20220520\Symfony\Component\Console\Helper\Table($output))->setStyle($style); } - private function getProgressBar() : \RectorPrefix20220519\Symfony\Component\Console\Helper\ProgressBar + private function getProgressBar() : \RectorPrefix20220520\Symfony\Component\Console\Helper\ProgressBar { if (!isset($this->progressBar)) { - throw new \RectorPrefix20220519\Symfony\Component\Console\Exception\RuntimeException('The ProgressBar is not started.'); + throw new \RectorPrefix20220520\Symfony\Component\Console\Exception\RuntimeException('The ProgressBar is not started.'); } return $this->progressBar; } @@ -398,7 +398,7 @@ class SymfonyStyle extends \RectorPrefix20220519\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 = \RectorPrefix20220519\Symfony\Component\Console\Helper\Helper::width(\RectorPrefix20220519\Symfony\Component\Console\Helper\Helper::removeDecoration($this->getFormatter(), $prefix)); + $prefixLength = \RectorPrefix20220520\Symfony\Component\Console\Helper\Helper::width(\RectorPrefix20220520\Symfony\Component\Console\Helper\Helper::removeDecoration($this->getFormatter(), $prefix)); $lines = []; if (null !== $type) { $type = \sprintf('[%s] ', $type); @@ -408,9 +408,9 @@ class SymfonyStyle extends \RectorPrefix20220519\Symfony\Component\Console\Style // wrap and add newlines for each element foreach ($messages as $key => $message) { if ($escape) { - $message = \RectorPrefix20220519\Symfony\Component\Console\Formatter\OutputFormatter::escape($message); + $message = \RectorPrefix20220520\Symfony\Component\Console\Formatter\OutputFormatter::escape($message); } - $decorationLength = \RectorPrefix20220519\Symfony\Component\Console\Helper\Helper::width($message) - \RectorPrefix20220519\Symfony\Component\Console\Helper\Helper::width(\RectorPrefix20220519\Symfony\Component\Console\Helper\Helper::removeDecoration($this->getFormatter(), $message)); + $decorationLength = \RectorPrefix20220520\Symfony\Component\Console\Helper\Helper::width($message) - \RectorPrefix20220520\Symfony\Component\Console\Helper\Helper::width(\RectorPrefix20220520\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) { @@ -431,7 +431,7 @@ class SymfonyStyle extends \RectorPrefix20220519\Symfony\Component\Console\Style $line = $firstLineIndex === $i ? $type . $line : $lineIndentation . $line; } $line = $prefix . $line; - $line .= \str_repeat(' ', \max($this->lineLength - \RectorPrefix20220519\Symfony\Component\Console\Helper\Helper::width(\RectorPrefix20220519\Symfony\Component\Console\Helper\Helper::removeDecoration($this->getFormatter(), $line)), 0)); + $line .= \str_repeat(' ', \max($this->lineLength - \RectorPrefix20220520\Symfony\Component\Console\Helper\Helper::width(\RectorPrefix20220520\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 e4a72134f48..7320e0f85f0 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 RectorPrefix20220519\Symfony\Component\Console; +namespace RectorPrefix20220520\Symfony\Component\Console; class Terminal { diff --git a/vendor/symfony/console/Tester/ApplicationTester.php b/vendor/symfony/console/Tester/ApplicationTester.php index 4b82c1bb3ea..c2d36ee4665 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 RectorPrefix20220519\Symfony\Component\Console\Tester; +namespace RectorPrefix20220520\Symfony\Component\Console\Tester; -use RectorPrefix20220519\Symfony\Component\Console\Application; -use RectorPrefix20220519\Symfony\Component\Console\Input\ArrayInput; +use RectorPrefix20220520\Symfony\Component\Console\Application; +use RectorPrefix20220520\Symfony\Component\Console\Input\ArrayInput; /** * Eases the testing of console applications. * @@ -26,7 +26,7 @@ class ApplicationTester { use TesterTrait; private $application; - public function __construct(\RectorPrefix20220519\Symfony\Component\Console\Application $application) + public function __construct(\RectorPrefix20220520\Symfony\Component\Console\Application $application) { $this->application = $application; } @@ -44,7 +44,7 @@ class ApplicationTester */ public function run(array $input, array $options = []) : int { - $this->input = new \RectorPrefix20220519\Symfony\Component\Console\Input\ArrayInput($input); + $this->input = new \RectorPrefix20220520\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 index 39f4f280672..fd0ec04deeb 100644 --- a/vendor/symfony/console/Tester/CommandCompletionTester.php +++ b/vendor/symfony/console/Tester/CommandCompletionTester.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 RectorPrefix20220519\Symfony\Component\Console\Tester; +namespace RectorPrefix20220520\Symfony\Component\Console\Tester; -use RectorPrefix20220519\Symfony\Component\Console\Command\Command; -use RectorPrefix20220519\Symfony\Component\Console\Completion\CompletionInput; -use RectorPrefix20220519\Symfony\Component\Console\Completion\CompletionSuggestions; +use RectorPrefix20220520\Symfony\Component\Console\Command\Command; +use RectorPrefix20220520\Symfony\Component\Console\Completion\CompletionInput; +use RectorPrefix20220520\Symfony\Component\Console\Completion\CompletionSuggestions; /** * Eases the testing of command completion. * @@ -21,7 +21,7 @@ use RectorPrefix20220519\Symfony\Component\Console\Completion\CompletionSuggesti class CommandCompletionTester { private $command; - public function __construct(\RectorPrefix20220519\Symfony\Component\Console\Command\Command $command) + public function __construct(\RectorPrefix20220520\Symfony\Component\Console\Command\Command $command) { $this->command = $command; } @@ -35,9 +35,9 @@ class CommandCompletionTester \array_pop($input); } \array_unshift($input, $this->command->getName()); - $completionInput = \RectorPrefix20220519\Symfony\Component\Console\Completion\CompletionInput::fromTokens($input, $currentIndex); + $completionInput = \RectorPrefix20220520\Symfony\Component\Console\Completion\CompletionInput::fromTokens($input, $currentIndex); $completionInput->bind($this->command->getDefinition()); - $suggestions = new \RectorPrefix20220519\Symfony\Component\Console\Completion\CompletionSuggestions(); + $suggestions = new \RectorPrefix20220520\Symfony\Component\Console\Completion\CompletionSuggestions(); $this->command->complete($completionInput, $suggestions); $options = []; foreach ($suggestions->getOptionSuggestions() as $option) { diff --git a/vendor/symfony/console/Tester/CommandTester.php b/vendor/symfony/console/Tester/CommandTester.php index 77d62d6cde6..861bcac243d 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 RectorPrefix20220519\Symfony\Component\Console\Tester; +namespace RectorPrefix20220520\Symfony\Component\Console\Tester; -use RectorPrefix20220519\Symfony\Component\Console\Command\Command; -use RectorPrefix20220519\Symfony\Component\Console\Input\ArrayInput; +use RectorPrefix20220520\Symfony\Component\Console\Command\Command; +use RectorPrefix20220520\Symfony\Component\Console\Input\ArrayInput; /** * Eases the testing of console commands. * @@ -22,7 +22,7 @@ class CommandTester { use TesterTrait; private $command; - public function __construct(\RectorPrefix20220519\Symfony\Component\Console\Command\Command $command) + public function __construct(\RectorPrefix20220520\Symfony\Component\Console\Command\Command $command) { $this->command = $command; } @@ -48,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 \RectorPrefix20220519\Symfony\Component\Console\Input\ArrayInput($input); + $this->input = new \RectorPrefix20220520\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 index d8f363a73ec..bfc1bc9bed1 100644 --- a/vendor/symfony/console/Tester/Constraint/CommandIsSuccessful.php +++ b/vendor/symfony/console/Tester/Constraint/CommandIsSuccessful.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 RectorPrefix20220519\Symfony\Component\Console\Tester\Constraint; +namespace RectorPrefix20220520\Symfony\Component\Console\Tester\Constraint; -use RectorPrefix20220519\PHPUnit\Framework\Constraint\Constraint; -use RectorPrefix20220519\Symfony\Component\Console\Command\Command; -final class CommandIsSuccessful extends \RectorPrefix20220519\PHPUnit\Framework\Constraint\Constraint +use RectorPrefix20220520\PHPUnit\Framework\Constraint\Constraint; +use RectorPrefix20220520\Symfony\Component\Console\Command\Command; +final class CommandIsSuccessful extends \RectorPrefix20220520\PHPUnit\Framework\Constraint\Constraint { /** * {@inheritdoc} @@ -26,7 +26,7 @@ final class CommandIsSuccessful extends \RectorPrefix20220519\PHPUnit\Framework\ */ protected function matches($other) : bool { - return \RectorPrefix20220519\Symfony\Component\Console\Command\Command::SUCCESS === $other; + return \RectorPrefix20220520\Symfony\Component\Console\Command\Command::SUCCESS === $other; } /** * {@inheritdoc} @@ -40,7 +40,7 @@ final class CommandIsSuccessful extends \RectorPrefix20220519\PHPUnit\Framework\ */ protected function additionalFailureDescription($other) : string { - $mapping = [\RectorPrefix20220519\Symfony\Component\Console\Command\Command::FAILURE => 'Command failed.', \RectorPrefix20220519\Symfony\Component\Console\Command\Command::INVALID => 'Command was invalid.']; + $mapping = [\RectorPrefix20220520\Symfony\Component\Console\Command\Command::FAILURE => 'Command failed.', \RectorPrefix20220520\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 55ee9bda0b1..27127afcc04 100644 --- a/vendor/symfony/console/Tester/TesterTrait.php +++ b/vendor/symfony/console/Tester/TesterTrait.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 RectorPrefix20220519\Symfony\Component\Console\Tester; +namespace RectorPrefix20220520\Symfony\Component\Console\Tester; -use RectorPrefix20220519\PHPUnit\Framework\Assert; -use RectorPrefix20220519\Symfony\Component\Console\Input\InputInterface; -use RectorPrefix20220519\Symfony\Component\Console\Output\ConsoleOutput; -use RectorPrefix20220519\Symfony\Component\Console\Output\OutputInterface; -use RectorPrefix20220519\Symfony\Component\Console\Output\StreamOutput; -use RectorPrefix20220519\Symfony\Component\Console\Tester\Constraint\CommandIsSuccessful; +use RectorPrefix20220520\PHPUnit\Framework\Assert; +use RectorPrefix20220520\Symfony\Component\Console\Input\InputInterface; +use RectorPrefix20220520\Symfony\Component\Console\Output\ConsoleOutput; +use RectorPrefix20220520\Symfony\Component\Console\Output\OutputInterface; +use RectorPrefix20220520\Symfony\Component\Console\Output\StreamOutput; +use RectorPrefix20220520\Symfony\Component\Console\Tester\Constraint\CommandIsSuccessful; /** * @author Amrouche Hamza */ @@ -63,14 +63,14 @@ trait TesterTrait /** * Gets the input instance used by the last execution of the command or application. */ - public function getInput() : \RectorPrefix20220519\Symfony\Component\Console\Input\InputInterface + public function getInput() : \RectorPrefix20220520\Symfony\Component\Console\Input\InputInterface { return $this->input; } /** * Gets the output instance used by the last execution of the command or application. */ - public function getOutput() : \RectorPrefix20220519\Symfony\Component\Console\Output\OutputInterface + public function getOutput() : \RectorPrefix20220520\Symfony\Component\Console\Output\OutputInterface { return $this->output; } @@ -85,7 +85,7 @@ trait TesterTrait } public function assertCommandIsSuccessful(string $message = '') : void { - \RectorPrefix20220519\PHPUnit\Framework\Assert::assertThat($this->statusCode, new \RectorPrefix20220519\Symfony\Component\Console\Tester\Constraint\CommandIsSuccessful(), $message); + \RectorPrefix20220520\PHPUnit\Framework\Assert::assertThat($this->statusCode, new \RectorPrefix20220520\Symfony\Component\Console\Tester\Constraint\CommandIsSuccessful(), $message); } /** * Sets the user inputs. @@ -113,7 +113,7 @@ trait TesterTrait { $this->captureStreamsIndependently = \array_key_exists('capture_stderr_separately', $options) && $options['capture_stderr_separately']; if (!$this->captureStreamsIndependently) { - $this->output = new \RectorPrefix20220519\Symfony\Component\Console\Output\StreamOutput(\fopen('php://memory', 'w', \false)); + $this->output = new \RectorPrefix20220520\Symfony\Component\Console\Output\StreamOutput(\fopen('php://memory', 'w', \false)); if (isset($options['decorated'])) { $this->output->setDecorated($options['decorated']); } @@ -121,8 +121,8 @@ trait TesterTrait $this->output->setVerbosity($options['verbosity']); } } else { - $this->output = new \RectorPrefix20220519\Symfony\Component\Console\Output\ConsoleOutput($options['verbosity'] ?? \RectorPrefix20220519\Symfony\Component\Console\Output\ConsoleOutput::VERBOSITY_NORMAL, $options['decorated'] ?? null); - $errorOutput = new \RectorPrefix20220519\Symfony\Component\Console\Output\StreamOutput(\fopen('php://memory', 'w', \false)); + $this->output = new \RectorPrefix20220520\Symfony\Component\Console\Output\ConsoleOutput($options['verbosity'] ?? \RectorPrefix20220520\Symfony\Component\Console\Output\ConsoleOutput::VERBOSITY_NORMAL, $options['decorated'] ?? null); + $errorOutput = new \RectorPrefix20220520\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 618ca8475ba..46b8a63115f 100644 --- a/vendor/symfony/console/composer.json +++ b/vendor/symfony/console/composer.json @@ -53,7 +53,7 @@ }, "autoload": { "psr-4": { - "RectorPrefix20220519\\Symfony\\Component\\Console\\": "" + "RectorPrefix20220520\\Symfony\\Component\\Console\\": "" }, "exclude-from-classmap": [ "\/Tests\/" diff --git a/vendor/symfony/contracts/Cache/CacheInterface.php b/vendor/symfony/contracts/Cache/CacheInterface.php index edf4befbd48..da3c487f377 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 RectorPrefix20220519\Symfony\Contracts\Cache; +namespace RectorPrefix20220520\Symfony\Contracts\Cache; -use RectorPrefix20220519\Psr\Cache\CacheItemInterface; -use RectorPrefix20220519\Psr\Cache\InvalidArgumentException; +use RectorPrefix20220520\Psr\Cache\CacheItemInterface; +use RectorPrefix20220520\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 46e35e38ab0..f512e662ebe 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 RectorPrefix20220519\Symfony\Contracts\Cache; +namespace RectorPrefix20220520\Symfony\Contracts\Cache; -use RectorPrefix20220519\Psr\Cache\CacheItemPoolInterface; -use RectorPrefix20220519\Psr\Cache\InvalidArgumentException; -use RectorPrefix20220519\Psr\Log\LoggerInterface; +use RectorPrefix20220520\Psr\Cache\CacheItemPoolInterface; +use RectorPrefix20220520\Psr\Cache\InvalidArgumentException; +use RectorPrefix20220520\Psr\Log\LoggerInterface; // Help opcache.preload discover always-needed symbols -\class_exists(\RectorPrefix20220519\Psr\Cache\InvalidArgumentException::class); +\class_exists(\RectorPrefix20220520\Psr\Cache\InvalidArgumentException::class); /** * An implementation of CacheInterface for PSR-6 CacheItemPoolInterface classes. * @@ -36,19 +36,19 @@ trait CacheTrait { return $this->deleteItem($key); } - private function doGet(\RectorPrefix20220519\Psr\Cache\CacheItemPoolInterface $pool, string $key, callable $callback, ?float $beta, array &$metadata = null, \RectorPrefix20220519\Psr\Log\LoggerInterface $logger = null) : mixed + private function doGet(\RectorPrefix20220520\Psr\Cache\CacheItemPoolInterface $pool, string $key, callable $callback, ?float $beta, array &$metadata = null, \RectorPrefix20220520\Psr\Log\LoggerInterface $logger = null) : mixed { 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 \RectorPrefix20220519\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 \RectorPrefix20220520\Psr\Cache\InvalidArgumentException { }; } $item = $pool->getItem($key); $recompute = !$item->isHit() || \INF === $beta; - $metadata = $item instanceof \RectorPrefix20220519\Symfony\Contracts\Cache\ItemInterface ? $item->getMetadata() : []; + $metadata = $item instanceof \RectorPrefix20220520\Symfony\Contracts\Cache\ItemInterface ? $item->getMetadata() : []; if (!$recompute && $metadata) { - $expiry = $metadata[\RectorPrefix20220519\Symfony\Contracts\Cache\ItemInterface::METADATA_EXPIRY] ?? \false; - $ctime = $metadata[\RectorPrefix20220519\Symfony\Contracts\Cache\ItemInterface::METADATA_CTIME] ?? \false; + $expiry = $metadata[\RectorPrefix20220520\Symfony\Contracts\Cache\ItemInterface::METADATA_EXPIRY] ?? \false; + $ctime = $metadata[\RectorPrefix20220520\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 4ac9391a68e..c7e97a147e8 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 RectorPrefix20220519\Symfony\Contracts\Cache; +namespace RectorPrefix20220520\Symfony\Contracts\Cache; -use RectorPrefix20220519\Psr\Cache\CacheItemInterface; +use RectorPrefix20220520\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(\RectorPrefix20220519\Psr\Cache\CacheItemInterface $item, bool &$save) : mixed; + public function __invoke(\RectorPrefix20220520\Psr\Cache\CacheItemInterface $item, bool &$save) : mixed; } diff --git a/vendor/symfony/contracts/Cache/ItemInterface.php b/vendor/symfony/contracts/Cache/ItemInterface.php index 553fb647eff..e5a30c80272 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 RectorPrefix20220519\Symfony\Contracts\Cache; +namespace RectorPrefix20220520\Symfony\Contracts\Cache; -use RectorPrefix20220519\Psr\Cache\CacheException; -use RectorPrefix20220519\Psr\Cache\CacheItemInterface; -use RectorPrefix20220519\Psr\Cache\InvalidArgumentException; +use RectorPrefix20220520\Psr\Cache\CacheException; +use RectorPrefix20220520\Psr\Cache\CacheItemInterface; +use RectorPrefix20220520\Psr\Cache\InvalidArgumentException; /** * Augments PSR-6's CacheItemInterface with support for tags and metadata. * * @author Nicolas Grekas */ -interface ItemInterface extends \RectorPrefix20220519\Psr\Cache\CacheItemInterface +interface ItemInterface extends \RectorPrefix20220520\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 2d3ae8c94e6..fe5f5a58ebe 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 RectorPrefix20220519\Symfony\Contracts\Cache; +namespace RectorPrefix20220520\Symfony\Contracts\Cache; -use RectorPrefix20220519\Psr\Cache\InvalidArgumentException; +use RectorPrefix20220520\Psr\Cache\InvalidArgumentException; /** * Allows invalidating cached items using tags. * * @author Nicolas Grekas */ -interface TagAwareCacheInterface extends \RectorPrefix20220519\Symfony\Contracts\Cache\CacheInterface +interface TagAwareCacheInterface extends \RectorPrefix20220520\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 5b8e46b36a8..409a26d4c55 100644 --- a/vendor/symfony/contracts/Cache/composer.json +++ b/vendor/symfony/contracts/Cache/composer.json @@ -31,7 +31,7 @@ }, "autoload": { "psr-4": { - "RectorPrefix20220519\\Symfony\\Contracts\\Cache\\": "" + "RectorPrefix20220520\\Symfony\\Contracts\\Cache\\": "" } }, "minimum-stability": "dev", diff --git a/vendor/symfony/contracts/Deprecation/function.php b/vendor/symfony/contracts/Deprecation/function.php index f0119e2832f..b652f930e95 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 \RectorPrefix20220519\Psr\EventDispatcher\StoppableEventInterface +class Event implements \RectorPrefix20220520\Psr\EventDispatcher\StoppableEventInterface { /** * @var bool diff --git a/vendor/symfony/contracts/EventDispatcher/EventDispatcherInterface.php b/vendor/symfony/contracts/EventDispatcher/EventDispatcherInterface.php index 7b9c87190dd..4f133ec1a64 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 RectorPrefix20220519\Symfony\Contracts\EventDispatcher; +namespace RectorPrefix20220520\Symfony\Contracts\EventDispatcher; -use RectorPrefix20220519\Psr\EventDispatcher\EventDispatcherInterface as PsrEventDispatcherInterface; +use RectorPrefix20220520\Psr\EventDispatcher\EventDispatcherInterface as PsrEventDispatcherInterface; /** * Allows providing hooks on domain-specific lifecycles by dispatching events. */ -interface EventDispatcherInterface extends \RectorPrefix20220519\Psr\EventDispatcher\EventDispatcherInterface +interface EventDispatcherInterface extends \RectorPrefix20220520\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 efa7bfd9ec7..0a492b4b352 100644 --- a/vendor/symfony/contracts/EventDispatcher/composer.json +++ b/vendor/symfony/contracts/EventDispatcher/composer.json @@ -31,7 +31,7 @@ }, "autoload": { "psr-4": { - "RectorPrefix20220519\\Symfony\\Contracts\\EventDispatcher\\": "" + "RectorPrefix20220520\\Symfony\\Contracts\\EventDispatcher\\": "" } }, "minimum-stability": "dev", diff --git a/vendor/symfony/contracts/HttpClient/ChunkInterface.php b/vendor/symfony/contracts/HttpClient/ChunkInterface.php index 65cd263bbff..eb2627a4690 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 RectorPrefix20220519\Symfony\Contracts\HttpClient; +namespace RectorPrefix20220520\Symfony\Contracts\HttpClient; -use RectorPrefix20220519\Symfony\Contracts\HttpClient\Exception\TransportExceptionInterface; +use RectorPrefix20220520\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 c14d18e66b4..f13e54e3fa2 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 RectorPrefix20220519\Symfony\Contracts\HttpClient\Exception; +namespace RectorPrefix20220520\Symfony\Contracts\HttpClient\Exception; /** * When a 4xx response is returned. * * @author Nicolas Grekas */ -interface ClientExceptionInterface extends \RectorPrefix20220519\Symfony\Contracts\HttpClient\Exception\HttpExceptionInterface +interface ClientExceptionInterface extends \RectorPrefix20220520\Symfony\Contracts\HttpClient\Exception\HttpExceptionInterface { } diff --git a/vendor/symfony/contracts/HttpClient/Exception/DecodingExceptionInterface.php b/vendor/symfony/contracts/HttpClient/Exception/DecodingExceptionInterface.php index e972e4c4f15..0da52cc6a61 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 RectorPrefix20220519\Symfony\Contracts\HttpClient\Exception; +namespace RectorPrefix20220520\Symfony\Contracts\HttpClient\Exception; /** * When a content-type cannot be decoded to the expected representation. * * @author Nicolas Grekas */ -interface DecodingExceptionInterface extends \RectorPrefix20220519\Symfony\Contracts\HttpClient\Exception\ExceptionInterface +interface DecodingExceptionInterface extends \RectorPrefix20220520\Symfony\Contracts\HttpClient\Exception\ExceptionInterface { } diff --git a/vendor/symfony/contracts/HttpClient/Exception/ExceptionInterface.php b/vendor/symfony/contracts/HttpClient/Exception/ExceptionInterface.php index 0f10251e50a..c74f948dd9b 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 RectorPrefix20220519\Symfony\Contracts\HttpClient\Exception; +namespace RectorPrefix20220520\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 c8997aa8774..20a97c3e511 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 RectorPrefix20220519\Symfony\Contracts\HttpClient\Exception; +namespace RectorPrefix20220520\Symfony\Contracts\HttpClient\Exception; -use RectorPrefix20220519\Symfony\Contracts\HttpClient\ResponseInterface; +use RectorPrefix20220520\Symfony\Contracts\HttpClient\ResponseInterface; /** * Base interface for HTTP-related exceptions. * * @author Anton Chernikov */ -interface HttpExceptionInterface extends \RectorPrefix20220519\Symfony\Contracts\HttpClient\Exception\ExceptionInterface +interface HttpExceptionInterface extends \RectorPrefix20220520\Symfony\Contracts\HttpClient\Exception\ExceptionInterface { - public function getResponse() : \RectorPrefix20220519\Symfony\Contracts\HttpClient\ResponseInterface; + public function getResponse() : \RectorPrefix20220520\Symfony\Contracts\HttpClient\ResponseInterface; } diff --git a/vendor/symfony/contracts/HttpClient/Exception/RedirectionExceptionInterface.php b/vendor/symfony/contracts/HttpClient/Exception/RedirectionExceptionInterface.php index a75eb130ddf..051242a70e1 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 RectorPrefix20220519\Symfony\Contracts\HttpClient\Exception; +namespace RectorPrefix20220520\Symfony\Contracts\HttpClient\Exception; /** * When a 3xx response is returned and the "max_redirects" option has been reached. * * @author Nicolas Grekas */ -interface RedirectionExceptionInterface extends \RectorPrefix20220519\Symfony\Contracts\HttpClient\Exception\HttpExceptionInterface +interface RedirectionExceptionInterface extends \RectorPrefix20220520\Symfony\Contracts\HttpClient\Exception\HttpExceptionInterface { } diff --git a/vendor/symfony/contracts/HttpClient/Exception/ServerExceptionInterface.php b/vendor/symfony/contracts/HttpClient/Exception/ServerExceptionInterface.php index 9d205160168..31c78b0facc 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 RectorPrefix20220519\Symfony\Contracts\HttpClient\Exception; +namespace RectorPrefix20220520\Symfony\Contracts\HttpClient\Exception; /** * When a 5xx response is returned. * * @author Nicolas Grekas */ -interface ServerExceptionInterface extends \RectorPrefix20220519\Symfony\Contracts\HttpClient\Exception\HttpExceptionInterface +interface ServerExceptionInterface extends \RectorPrefix20220520\Symfony\Contracts\HttpClient\Exception\HttpExceptionInterface { } diff --git a/vendor/symfony/contracts/HttpClient/Exception/TimeoutExceptionInterface.php b/vendor/symfony/contracts/HttpClient/Exception/TimeoutExceptionInterface.php index 79da4e1d1e5..5706ba5a9bd 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 RectorPrefix20220519\Symfony\Contracts\HttpClient\Exception; +namespace RectorPrefix20220520\Symfony\Contracts\HttpClient\Exception; /** * When an idle timeout occurs. * * @author Nicolas Grekas */ -interface TimeoutExceptionInterface extends \RectorPrefix20220519\Symfony\Contracts\HttpClient\Exception\TransportExceptionInterface +interface TimeoutExceptionInterface extends \RectorPrefix20220520\Symfony\Contracts\HttpClient\Exception\TransportExceptionInterface { } diff --git a/vendor/symfony/contracts/HttpClient/Exception/TransportExceptionInterface.php b/vendor/symfony/contracts/HttpClient/Exception/TransportExceptionInterface.php index 2c9953c7edc..a64b25e1672 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 RectorPrefix20220519\Symfony\Contracts\HttpClient\Exception; +namespace RectorPrefix20220520\Symfony\Contracts\HttpClient\Exception; /** * When any error happens at the transport level. * * @author Nicolas Grekas */ -interface TransportExceptionInterface extends \RectorPrefix20220519\Symfony\Contracts\HttpClient\Exception\ExceptionInterface +interface TransportExceptionInterface extends \RectorPrefix20220520\Symfony\Contracts\HttpClient\Exception\ExceptionInterface { } diff --git a/vendor/symfony/contracts/HttpClient/HttpClientInterface.php b/vendor/symfony/contracts/HttpClient/HttpClientInterface.php index aed9e016d93..ec6566cf76e 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 RectorPrefix20220519\Symfony\Contracts\HttpClient; +namespace RectorPrefix20220520\Symfony\Contracts\HttpClient; -use RectorPrefix20220519\Symfony\Contracts\HttpClient\Exception\TransportExceptionInterface; -use RectorPrefix20220519\Symfony\Contracts\HttpClient\Test\HttpClientTestCase; +use RectorPrefix20220520\Symfony\Contracts\HttpClient\Exception\TransportExceptionInterface; +use RectorPrefix20220520\Symfony\Contracts\HttpClient\Test\HttpClientTestCase; /** * Provides flexible methods for requesting HTTP resources synchronously or asynchronously. * @@ -97,14 +97,14 @@ interface HttpClientInterface * * @throws TransportExceptionInterface When an unsupported option is passed */ - public function request(string $method, string $url, array $options = []) : \RectorPrefix20220519\Symfony\Contracts\HttpClient\ResponseInterface; + public function request(string $method, string $url, array $options = []) : \RectorPrefix20220520\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, float $timeout = null) : \RectorPrefix20220519\Symfony\Contracts\HttpClient\ResponseStreamInterface; + public function stream($responses, float $timeout = null) : \RectorPrefix20220520\Symfony\Contracts\HttpClient\ResponseStreamInterface; /** * Returns a new instance of the client with new default options. * @return $this diff --git a/vendor/symfony/contracts/HttpClient/ResponseInterface.php b/vendor/symfony/contracts/HttpClient/ResponseInterface.php index 1d5e2e7943e..ea81e7e069d 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 RectorPrefix20220519\Symfony\Contracts\HttpClient; +namespace RectorPrefix20220520\Symfony\Contracts\HttpClient; -use RectorPrefix20220519\Symfony\Contracts\HttpClient\Exception\ClientExceptionInterface; -use RectorPrefix20220519\Symfony\Contracts\HttpClient\Exception\DecodingExceptionInterface; -use RectorPrefix20220519\Symfony\Contracts\HttpClient\Exception\ExceptionInterface; -use RectorPrefix20220519\Symfony\Contracts\HttpClient\Exception\RedirectionExceptionInterface; -use RectorPrefix20220519\Symfony\Contracts\HttpClient\Exception\ServerExceptionInterface; -use RectorPrefix20220519\Symfony\Contracts\HttpClient\Exception\TransportExceptionInterface; +use RectorPrefix20220520\Symfony\Contracts\HttpClient\Exception\ClientExceptionInterface; +use RectorPrefix20220520\Symfony\Contracts\HttpClient\Exception\DecodingExceptionInterface; +use RectorPrefix20220520\Symfony\Contracts\HttpClient\Exception\ExceptionInterface; +use RectorPrefix20220520\Symfony\Contracts\HttpClient\Exception\RedirectionExceptionInterface; +use RectorPrefix20220520\Symfony\Contracts\HttpClient\Exception\ServerExceptionInterface; +use RectorPrefix20220520\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 2c42b815dfc..c8c3ef3d4a6 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 RectorPrefix20220519\Symfony\Contracts\HttpClient; +namespace RectorPrefix20220520\Symfony\Contracts\HttpClient; /** * Yields response chunks, returned by HttpClientInterface::stream(). @@ -19,6 +19,6 @@ namespace RectorPrefix20220519\Symfony\Contracts\HttpClient; */ interface ResponseStreamInterface extends \Iterator { - public function key() : \RectorPrefix20220519\Symfony\Contracts\HttpClient\ResponseInterface; - public function current() : \RectorPrefix20220519\Symfony\Contracts\HttpClient\ChunkInterface; + public function key() : \RectorPrefix20220520\Symfony\Contracts\HttpClient\ResponseInterface; + public function current() : \RectorPrefix20220520\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 6001484bc68..efc4704587c 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 \RectorPrefix20220519\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(\RectorPrefix20220519\Symfony\Contracts\HttpClient\Exception\TransportExceptionInterface::class); + $this->expectException(\RectorPrefix20220520\Symfony\Contracts\HttpClient\Exception\TransportExceptionInterface::class); $response->getContent(); } public function testHeadRequest() @@ -74,7 +74,7 @@ abstract class HttpClientTestCase extends \RectorPrefix20220519\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(\RectorPrefix20220519\Symfony\Contracts\HttpClient\Exception\TransportExceptionInterface::class); + $this->expectException(\RectorPrefix20220520\Symfony\Contracts\HttpClient\Exception\TransportExceptionInterface::class); $response->getContent(); } public function testBufferSink() @@ -99,7 +99,7 @@ abstract class HttpClientTestCase extends \RectorPrefix20220519\PHPUnit\Framewor return \false; }]); $response->getContent(); - $this->expectException(\RectorPrefix20220519\Symfony\Contracts\HttpClient\Exception\TransportExceptionInterface::class); + $this->expectException(\RectorPrefix20220520\Symfony\Contracts\HttpClient\Exception\TransportExceptionInterface::class); $response->getContent(); } public function testReentrantBufferCallback() @@ -110,7 +110,7 @@ abstract class HttpClientTestCase extends \RectorPrefix20220519\PHPUnit\Framewor return \true; }]); $this->assertSame(200, $response->getStatusCode()); - $this->expectException(\RectorPrefix20220519\Symfony\Contracts\HttpClient\Exception\TransportExceptionInterface::class); + $this->expectException(\RectorPrefix20220520\Symfony\Contracts\HttpClient\Exception\TransportExceptionInterface::class); $response->getContent(); } public function testThrowingBufferCallback() @@ -120,7 +120,7 @@ abstract class HttpClientTestCase extends \RectorPrefix20220519\PHPUnit\Framewor throw new \Exception('Boo.'); }]); $this->assertSame(200, $response->getStatusCode()); - $this->expectException(\RectorPrefix20220519\Symfony\Contracts\HttpClient\Exception\TransportExceptionInterface::class); + $this->expectException(\RectorPrefix20220520\Symfony\Contracts\HttpClient\Exception\TransportExceptionInterface::class); $this->expectExceptionMessage('Boo'); $response->getContent(); } @@ -148,7 +148,7 @@ abstract class HttpClientTestCase extends \RectorPrefix20220519\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(\RectorPrefix20220519\Symfony\Contracts\HttpClient\Exception\TransportExceptionInterface::class); + $this->expectException(\RectorPrefix20220520\Symfony\Contracts\HttpClient\Exception\TransportExceptionInterface::class); $response->getContent(); } public function testClientError() @@ -159,13 +159,13 @@ abstract class HttpClientTestCase extends \RectorPrefix20220519\PHPUnit\Framewor $this->assertSame(404, $response->getInfo('http_code')); try { $response->getHeaders(); - $this->fail(\RectorPrefix20220519\Symfony\Contracts\HttpClient\Exception\ClientExceptionInterface::class . ' expected'); - } catch (\RectorPrefix20220519\Symfony\Contracts\HttpClient\Exception\ClientExceptionInterface $e) { + $this->fail(\RectorPrefix20220520\Symfony\Contracts\HttpClient\Exception\ClientExceptionInterface::class . ' expected'); + } catch (\RectorPrefix20220520\Symfony\Contracts\HttpClient\Exception\ClientExceptionInterface $e) { } try { $response->getContent(); - $this->fail(\RectorPrefix20220519\Symfony\Contracts\HttpClient\Exception\ClientExceptionInterface::class . ' expected'); - } catch (\RectorPrefix20220519\Symfony\Contracts\HttpClient\Exception\ClientExceptionInterface $e) { + $this->fail(\RectorPrefix20220520\Symfony\Contracts\HttpClient\Exception\ClientExceptionInterface::class . ' expected'); + } catch (\RectorPrefix20220520\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 \RectorPrefix20220519\PHPUnit\Framewor foreach ($client->stream($response) as $chunk) { $this->assertTrue($chunk->isFirst()); } - $this->fail(\RectorPrefix20220519\Symfony\Contracts\HttpClient\Exception\ClientExceptionInterface::class . ' expected'); - } catch (\RectorPrefix20220519\Symfony\Contracts\HttpClient\Exception\ClientExceptionInterface $e) { + $this->fail(\RectorPrefix20220520\Symfony\Contracts\HttpClient\Exception\ClientExceptionInterface::class . ' expected'); + } catch (\RectorPrefix20220520\Symfony\Contracts\HttpClient\Exception\ClientExceptionInterface $e) { } } public function testIgnoreErrors() @@ -191,27 +191,27 @@ abstract class HttpClientTestCase extends \RectorPrefix20220519\PHPUnit\Framewor $response = $client->request('GET', 'http://localhost:8057/301/bad-tld'); try { $response->getStatusCode(); - $this->fail(\RectorPrefix20220519\Symfony\Contracts\HttpClient\Exception\TransportExceptionInterface::class . ' expected'); - } catch (\RectorPrefix20220519\Symfony\Contracts\HttpClient\Exception\TransportExceptionInterface $e) { + $this->fail(\RectorPrefix20220520\Symfony\Contracts\HttpClient\Exception\TransportExceptionInterface::class . ' expected'); + } catch (\RectorPrefix20220520\Symfony\Contracts\HttpClient\Exception\TransportExceptionInterface $e) { $this->addToAssertionCount(1); } try { $response->getStatusCode(); - $this->fail(\RectorPrefix20220519\Symfony\Contracts\HttpClient\Exception\TransportExceptionInterface::class . ' still expected'); - } catch (\RectorPrefix20220519\Symfony\Contracts\HttpClient\Exception\TransportExceptionInterface $e) { + $this->fail(\RectorPrefix20220520\Symfony\Contracts\HttpClient\Exception\TransportExceptionInterface::class . ' still expected'); + } catch (\RectorPrefix20220520\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(\RectorPrefix20220519\Symfony\Contracts\HttpClient\Exception\TransportExceptionInterface::class . ' expected'); - } catch (\RectorPrefix20220519\Symfony\Contracts\HttpClient\Exception\TransportExceptionInterface $e) { + $this->fail(\RectorPrefix20220520\Symfony\Contracts\HttpClient\Exception\TransportExceptionInterface::class . ' expected'); + } catch (\RectorPrefix20220520\Symfony\Contracts\HttpClient\Exception\TransportExceptionInterface $e) { $this->addToAssertionCount(1); } $this->assertSame($response, $r); $this->assertNotNull($chunk->getError()); - $this->expectException(\RectorPrefix20220519\Symfony\Contracts\HttpClient\Exception\TransportExceptionInterface::class); + $this->expectException(\RectorPrefix20220520\Symfony\Contracts\HttpClient\Exception\TransportExceptionInterface::class); foreach ($client->stream($response) as $chunk) { } } @@ -226,7 +226,7 @@ abstract class HttpClientTestCase extends \RectorPrefix20220519\PHPUnit\Framewor public function testBadRequestBody() { $client = $this->getHttpClient(__FUNCTION__); - $this->expectException(\RectorPrefix20220519\Symfony\Contracts\HttpClient\Exception\TransportExceptionInterface::class); + $this->expectException(\RectorPrefix20220520\Symfony\Contracts\HttpClient\Exception\TransportExceptionInterface::class); $response = $client->request('POST', 'http://localhost:8057/', ['body' => function () { (yield []); }]); @@ -265,7 +265,7 @@ abstract class HttpClientTestCase extends \RectorPrefix20220519\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(\RectorPrefix20220519\Symfony\Contracts\HttpClient\Exception\RedirectionExceptionInterface::class); + $this->expectException(\RectorPrefix20220520\Symfony\Contracts\HttpClient\Exception\RedirectionExceptionInterface::class); $response->getHeaders(); } public function testRelativeRedirects() @@ -296,8 +296,8 @@ abstract class HttpClientTestCase extends \RectorPrefix20220519\PHPUnit\Framewor $response = $client->request('GET', 'http://localhost:8057/301', ['max_redirects' => 1, 'auth_basic' => 'foo:bar']); try { $response->getHeaders(); - $this->fail(\RectorPrefix20220519\Symfony\Contracts\HttpClient\Exception\RedirectionExceptionInterface::class . ' expected'); - } catch (\RectorPrefix20220519\Symfony\Contracts\HttpClient\Exception\RedirectionExceptionInterface $e) { + $this->fail(\RectorPrefix20220520\Symfony\Contracts\HttpClient\Exception\RedirectionExceptionInterface::class . ' expected'); + } catch (\RectorPrefix20220520\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 \RectorPrefix20220519\PHPUnit\Framewor $client = $this->getHttpClient(__FUNCTION__); $response = $client->request('GET', 'http://localhost:8057/timeout-header'); $response->cancel(); - $this->expectException(\RectorPrefix20220519\Symfony\Contracts\HttpClient\Exception\TransportExceptionInterface::class); + $this->expectException(\RectorPrefix20220520\Symfony\Contracts\HttpClient\Exception\TransportExceptionInterface::class); $response->getHeaders(); } public function testInfoOnCanceledResponse() @@ -433,7 +433,7 @@ abstract class HttpClientTestCase extends \RectorPrefix20220519\PHPUnit\Framewor foreach ($client->stream($response) as $chunk) { $response->cancel(); } - $this->expectException(\RectorPrefix20220519\Symfony\Contracts\HttpClient\Exception\TransportExceptionInterface::class); + $this->expectException(\RectorPrefix20220520\Symfony\Contracts\HttpClient\Exception\TransportExceptionInterface::class); foreach ($client->stream($response) as $chunk) { } } @@ -448,12 +448,12 @@ abstract class HttpClientTestCase extends \RectorPrefix20220519\PHPUnit\Framewor try { foreach ($client->stream([$response]) as $chunk) { } - $this->fail(\RectorPrefix20220519\Symfony\Contracts\HttpClient\Exception\ClientExceptionInterface::class . ' expected'); - } catch (\RectorPrefix20220519\Symfony\Contracts\HttpClient\Exception\TransportExceptionInterface $e) { + $this->fail(\RectorPrefix20220520\Symfony\Contracts\HttpClient\Exception\ClientExceptionInterface::class . ' expected'); + } catch (\RectorPrefix20220520\Symfony\Contracts\HttpClient\Exception\TransportExceptionInterface $e) { $this->assertSame('Aborting the request.', $e->getPrevious()->getMessage()); } $this->assertNotNull($response->getInfo('error')); - $this->expectException(\RectorPrefix20220519\Symfony\Contracts\HttpClient\Exception\TransportExceptionInterface::class); + $this->expectException(\RectorPrefix20220520\Symfony\Contracts\HttpClient\Exception\TransportExceptionInterface::class); $response->getContent(); } public function testOnProgressError() @@ -472,7 +472,7 @@ abstract class HttpClientTestCase extends \RectorPrefix20220519\PHPUnit\Framewor $this->assertSame('BUG.', $e->getMessage()); } $this->assertNotNull($response->getInfo('error')); - $this->expectException(\RectorPrefix20220519\Symfony\Contracts\HttpClient\Exception\TransportExceptionInterface::class); + $this->expectException(\RectorPrefix20220520\Symfony\Contracts\HttpClient\Exception\TransportExceptionInterface::class); $response->getContent(); } public function testResolve() @@ -482,7 +482,7 @@ abstract class HttpClientTestCase extends \RectorPrefix20220519\PHPUnit\Framewor $this->assertSame(200, $response->getStatusCode()); $this->assertSame(200, $client->request('GET', 'http://symfony.com:8057/')->getStatusCode()); $response = null; - $this->expectException(\RectorPrefix20220519\Symfony\Contracts\HttpClient\Exception\TransportExceptionInterface::class); + $this->expectException(\RectorPrefix20220520\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 \RectorPrefix20220519\PHPUnit\Framewor { $client = $this->getHttpClient(__FUNCTION__); $response = $client->request('GET', 'http://localhost:8057/timeout-header', ['timeout' => 0.1]); - $this->expectException(\RectorPrefix20220519\Symfony\Contracts\HttpClient\Exception\TransportExceptionInterface::class); + $this->expectException(\RectorPrefix20220520\Symfony\Contracts\HttpClient\Exception\TransportExceptionInterface::class); $response->getHeaders(); } public function testTimeoutIsNotAFatalError() @@ -515,14 +515,14 @@ abstract class HttpClientTestCase extends \RectorPrefix20220519\PHPUnit\Framewor $response = $client->request('GET', 'http://localhost:8057/timeout-body', ['timeout' => 0.25]); try { $response->getContent(); - $this->fail(\RectorPrefix20220519\Symfony\Contracts\HttpClient\Exception\TimeoutExceptionInterface::class . ' expected'); - } catch (\RectorPrefix20220519\Symfony\Contracts\HttpClient\Exception\TimeoutExceptionInterface $e) { + $this->fail(\RectorPrefix20220520\Symfony\Contracts\HttpClient\Exception\TimeoutExceptionInterface::class . ' expected'); + } catch (\RectorPrefix20220520\Symfony\Contracts\HttpClient\Exception\TimeoutExceptionInterface $e) { } for ($i = 0; $i < 10; ++$i) { try { $this->assertSame('<1><2>', $response->getContent()); break; - } catch (\RectorPrefix20220519\Symfony\Contracts\HttpClient\Exception\TimeoutExceptionInterface $e) { + } catch (\RectorPrefix20220520\Symfony\Contracts\HttpClient\Exception\TimeoutExceptionInterface $e) { } } if (10 === $i) { @@ -557,20 +557,20 @@ abstract class HttpClientTestCase extends \RectorPrefix20220519\PHPUnit\Framewor $client = $this->getHttpClient(__FUNCTION__); $response = $client->request('GET', 'http://localhost:8057/timeout-body'); $chunks = $client->stream([$response], 0.1); - $this->expectException(\RectorPrefix20220519\Symfony\Contracts\HttpClient\Exception\TransportExceptionInterface::class); + $this->expectException(\RectorPrefix20220520\Symfony\Contracts\HttpClient\Exception\TransportExceptionInterface::class); foreach ($chunks as $r => $chunk) { } } public function testTimeoutWithActiveConcurrentStream() { - $p1 = \RectorPrefix20220519\Symfony\Contracts\HttpClient\Test\TestHttpServer::start(8067); - $p2 = \RectorPrefix20220519\Symfony\Contracts\HttpClient\Test\TestHttpServer::start(8077); + $p1 = \RectorPrefix20220520\Symfony\Contracts\HttpClient\Test\TestHttpServer::start(8067); + $p2 = \RectorPrefix20220520\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(\RectorPrefix20220519\Symfony\Contracts\HttpClient\Exception\TransportExceptionInterface::class); + $this->expectException(\RectorPrefix20220520\Symfony\Contracts\HttpClient\Exception\TransportExceptionInterface::class); try { $blockingResponse->getContent(); } finally { @@ -580,8 +580,8 @@ abstract class HttpClientTestCase extends \RectorPrefix20220519\PHPUnit\Framewor } public function testTimeoutOnInitialize() { - $p1 = \RectorPrefix20220519\Symfony\Contracts\HttpClient\Test\TestHttpServer::start(8067); - $p2 = \RectorPrefix20220519\Symfony\Contracts\HttpClient\Test\TestHttpServer::start(8077); + $p1 = \RectorPrefix20220520\Symfony\Contracts\HttpClient\Test\TestHttpServer::start(8067); + $p2 = \RectorPrefix20220520\Symfony\Contracts\HttpClient\Test\TestHttpServer::start(8077); $client = $this->getHttpClient(__FUNCTION__); $start = \microtime(\true); $responses = []; @@ -593,8 +593,8 @@ abstract class HttpClientTestCase extends \RectorPrefix20220519\PHPUnit\Framewor foreach ($responses as $response) { try { $response->getContent(); - $this->fail(\RectorPrefix20220519\Symfony\Contracts\HttpClient\Exception\TransportExceptionInterface::class . ' expected'); - } catch (\RectorPrefix20220519\Symfony\Contracts\HttpClient\Exception\TransportExceptionInterface $e) { + $this->fail(\RectorPrefix20220520\Symfony\Contracts\HttpClient\Exception\TransportExceptionInterface::class . ' expected'); + } catch (\RectorPrefix20220520\Symfony\Contracts\HttpClient\Exception\TransportExceptionInterface $e) { } } $responses = []; @@ -607,8 +607,8 @@ abstract class HttpClientTestCase extends \RectorPrefix20220519\PHPUnit\Framewor } public function testTimeoutOnDestruct() { - $p1 = \RectorPrefix20220519\Symfony\Contracts\HttpClient\Test\TestHttpServer::start(8067); - $p2 = \RectorPrefix20220519\Symfony\Contracts\HttpClient\Test\TestHttpServer::start(8077); + $p1 = \RectorPrefix20220520\Symfony\Contracts\HttpClient\Test\TestHttpServer::start(8067); + $p2 = \RectorPrefix20220520\Symfony\Contracts\HttpClient\Test\TestHttpServer::start(8077); $client = $this->getHttpClient(__FUNCTION__); $start = \microtime(\true); $responses = []; @@ -620,8 +620,8 @@ abstract class HttpClientTestCase extends \RectorPrefix20220519\PHPUnit\Framewor while ($response = \array_shift($responses)) { try { unset($response); - $this->fail(\RectorPrefix20220519\Symfony\Contracts\HttpClient\Exception\TransportExceptionInterface::class . ' expected'); - } catch (\RectorPrefix20220519\Symfony\Contracts\HttpClient\Exception\TransportExceptionInterface $e) { + $this->fail(\RectorPrefix20220520\Symfony\Contracts\HttpClient\Exception\TransportExceptionInterface::class . ' expected'); + } catch (\RectorPrefix20220520\Symfony\Contracts\HttpClient\Exception\TransportExceptionInterface $e) { } } $duration = \microtime(\true) - $start; @@ -646,8 +646,8 @@ abstract class HttpClientTestCase extends \RectorPrefix20220519\PHPUnit\Framewor $client = $this->getHttpClient(__FUNCTION__); try { $client->request('GET', 'http://localhost:8057/404'); - $this->fail(\RectorPrefix20220519\Symfony\Contracts\HttpClient\Exception\ClientExceptionInterface::class . ' expected'); - } catch (\RectorPrefix20220519\Symfony\Contracts\HttpClient\Exception\ClientExceptionInterface $e) { + $this->fail(\RectorPrefix20220520\Symfony\Contracts\HttpClient\Exception\ClientExceptionInterface::class . ' expected'); + } catch (\RectorPrefix20220520\Symfony\Contracts\HttpClient\Exception\ClientExceptionInterface $e) { $this->assertSame('GET', $e->getResponse()->toArray(\false)['REQUEST_METHOD']); } } @@ -656,8 +656,8 @@ abstract class HttpClientTestCase extends \RectorPrefix20220519\PHPUnit\Framewor $client = $this->getHttpClient(__FUNCTION__); try { $client->request('GET', 'http://localhost:8057/404-gzipped'); - $this->fail(\RectorPrefix20220519\Symfony\Contracts\HttpClient\Exception\ClientExceptionInterface::class . ' expected'); - } catch (\RectorPrefix20220519\Symfony\Contracts\HttpClient\Exception\ClientExceptionInterface $e) { + $this->fail(\RectorPrefix20220520\Symfony\Contracts\HttpClient\Exception\ClientExceptionInterface::class . ' expected'); + } catch (\RectorPrefix20220520\Symfony\Contracts\HttpClient\Exception\ClientExceptionInterface $e) { $this->assertSame('some text', $e->getResponse()->getContent(\false)); } } @@ -771,7 +771,7 @@ abstract class HttpClientTestCase extends \RectorPrefix20220519\PHPUnit\Framewor { $client = $this->getHttpClient(__FUNCTION__); $response = $client->request('GET', 'http://localhost:8057/gzip-broken'); - $this->expectException(\RectorPrefix20220519\Symfony\Contracts\HttpClient\Exception\TransportExceptionInterface::class); + $this->expectException(\RectorPrefix20220520\Symfony\Contracts\HttpClient\Exception\TransportExceptionInterface::class); $response->getContent(); } public function testMaxDuration() @@ -781,7 +781,7 @@ abstract class HttpClientTestCase extends \RectorPrefix20220519\PHPUnit\Framewor $start = \microtime(\true); try { $response->getContent(); - } catch (\RectorPrefix20220519\Symfony\Contracts\HttpClient\Exception\TransportExceptionInterface $e) { + } catch (\RectorPrefix20220520\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 6969d12bc0d..8f6bdc43091 100644 --- a/vendor/symfony/contracts/HttpClient/Test/TestHttpServer.php +++ b/vendor/symfony/contracts/HttpClient/Test/TestHttpServer.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 RectorPrefix20220519\Symfony\Contracts\HttpClient\Test; +namespace RectorPrefix20220520\Symfony\Contracts\HttpClient\Test; -use RectorPrefix20220519\Symfony\Component\Process\PhpExecutableFinder; -use RectorPrefix20220519\Symfony\Component\Process\Process; +use RectorPrefix20220520\Symfony\Component\Process\PhpExecutableFinder; +use RectorPrefix20220520\Symfony\Component\Process\Process; class TestHttpServer { private static $process = []; - public static function start(int $port = 8057) : \RectorPrefix20220519\Symfony\Component\Process\Process + public static function start(int $port = 8057) : \RectorPrefix20220520\Symfony\Component\Process\Process { if (isset(self::$process[$port])) { self::$process[$port]->stop(); @@ -24,8 +24,8 @@ class TestHttpServer self::$process[$port]->stop(); }); } - $finder = new \RectorPrefix20220519\Symfony\Component\Process\PhpExecutableFinder(); - $process = new \RectorPrefix20220519\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 \RectorPrefix20220520\Symfony\Component\Process\PhpExecutableFinder(); + $process = new \RectorPrefix20220520\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 6a5511219cd..f7754027ddc 100644 --- a/vendor/symfony/contracts/HttpClient/composer.json +++ b/vendor/symfony/contracts/HttpClient/composer.json @@ -30,7 +30,7 @@ }, "autoload": { "psr-4": { - "RectorPrefix20220519\\Symfony\\Contracts\\HttpClient\\": "" + "RectorPrefix20220520\\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 277b89bd854..4a6eb92a325 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 RectorPrefix20220519\Symfony\Contracts\Service\Attribute; +namespace RectorPrefix20220520\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 8b420eb3b25..db4ae775be4 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 RectorPrefix20220519\Symfony\Contracts\Service\Attribute; +namespace RectorPrefix20220520\Symfony\Contracts\Service\Attribute; -use RectorPrefix20220519\Symfony\Contracts\Service\ServiceSubscriberTrait; +use RectorPrefix20220520\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 4b8d60c9e5c..8d89841b737 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 RectorPrefix20220519\Symfony\Contracts\Service; +namespace RectorPrefix20220520\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 929a3e5013c..797e0b69b8d 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 RectorPrefix20220519\Symfony\Contracts\Service; +namespace RectorPrefix20220520\Symfony\Contracts\Service; -use RectorPrefix20220519\Psr\Container\ContainerExceptionInterface; -use RectorPrefix20220519\Psr\Container\NotFoundExceptionInterface; +use RectorPrefix20220520\Psr\Container\ContainerExceptionInterface; +use RectorPrefix20220520\Psr\Container\NotFoundExceptionInterface; // Help opcache.preload discover always-needed symbols -\class_exists(\RectorPrefix20220519\Psr\Container\ContainerExceptionInterface::class); -\class_exists(\RectorPrefix20220519\Psr\Container\NotFoundExceptionInterface::class); +\class_exists(\RectorPrefix20220520\Psr\Container\ContainerExceptionInterface::class); +\class_exists(\RectorPrefix20220520\Psr\Container\NotFoundExceptionInterface::class); /** * A trait to help implement ServiceProviderInterface. * @@ -89,7 +89,7 @@ trait ServiceLocatorTrait } return $this->providedTypes; } - private function createNotFoundException(string $id) : \RectorPrefix20220519\Psr\Container\NotFoundExceptionInterface + private function createNotFoundException(string $id) : \RectorPrefix20220520\Psr\Container\NotFoundExceptionInterface { if (!($alternatives = \array_keys($this->factories))) { $message = 'is empty...'; @@ -106,13 +106,13 @@ trait ServiceLocatorTrait } else { $message = \sprintf('Service "%s" not found: the current service locator %s', $id, $message); } - return new class($message) extends \InvalidArgumentException implements \RectorPrefix20220519\Psr\Container\NotFoundExceptionInterface + return new class($message) extends \InvalidArgumentException implements \RectorPrefix20220520\Psr\Container\NotFoundExceptionInterface { }; } - private function createCircularReferenceException(string $id, array $path) : \RectorPrefix20220519\Psr\Container\ContainerExceptionInterface + private function createCircularReferenceException(string $id, array $path) : \RectorPrefix20220520\Psr\Container\ContainerExceptionInterface { - return new class(\sprintf('Circular reference detected for service "%s", path: "%s".', $id, \implode(' -> ', $path))) extends \RuntimeException implements \RectorPrefix20220519\Psr\Container\ContainerExceptionInterface + return new class(\sprintf('Circular reference detected for service "%s", path: "%s".', $id, \implode(' -> ', $path))) extends \RuntimeException implements \RectorPrefix20220520\Psr\Container\ContainerExceptionInterface { }; } diff --git a/vendor/symfony/contracts/Service/ServiceProviderInterface.php b/vendor/symfony/contracts/Service/ServiceProviderInterface.php index 85a21b718ff..1d7c2b804ab 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 RectorPrefix20220519\Symfony\Contracts\Service; +namespace RectorPrefix20220520\Symfony\Contracts\Service; -use RectorPrefix20220519\Psr\Container\ContainerInterface; +use RectorPrefix20220520\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 \RectorPrefix20220519\Psr\Container\ContainerInterface +interface ServiceProviderInterface extends \RectorPrefix20220520\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 8a10dad8ee0..4564f26869f 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 RectorPrefix20220519\Symfony\Contracts\Service; +namespace RectorPrefix20220520\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 0618e20c279..382c8bd8849 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 RectorPrefix20220519\Symfony\Contracts\Service; +namespace RectorPrefix20220520\Symfony\Contracts\Service; -use RectorPrefix20220519\Psr\Container\ContainerInterface; -use RectorPrefix20220519\Symfony\Contracts\Service\Attribute\SubscribedService; +use RectorPrefix20220520\Psr\Container\ContainerInterface; +use RectorPrefix20220520\Symfony\Contracts\Service\Attribute\SubscribedService; /** * Implementation of ServiceSubscriberInterface that determines subscribed services from * method return types. Service ids are available as "ClassName::methodName". @@ -36,14 +36,14 @@ trait ServiceSubscriberTrait if (self::class !== $method->getDeclaringClass()->name) { continue; } - if (!($attribute = (\method_exists($method, 'getAttributes') ? $method->getAttributes(\RectorPrefix20220519\Symfony\Contracts\Service\Attribute\SubscribedService::class) : [])[0] ?? null)) { + if (!($attribute = (\method_exists($method, 'getAttributes') ? $method->getAttributes(\RectorPrefix20220520\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).', \RectorPrefix20220519\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).', \RectorPrefix20220520\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()".', \RectorPrefix20220519\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()".', \RectorPrefix20220520\Symfony\Contracts\Service\Attribute\SubscribedService::class, $method->name, self::class)); } $serviceId = $returnType instanceof \ReflectionNamedType ? $returnType->getName() : (string) $returnType; if ($returnType->allowsNull()) { @@ -56,7 +56,7 @@ trait ServiceSubscriberTrait /** * @required */ - public function setContainer(\RectorPrefix20220519\Psr\Container\ContainerInterface $container) : ?\RectorPrefix20220519\Psr\Container\ContainerInterface + public function setContainer(\RectorPrefix20220520\Psr\Container\ContainerInterface $container) : ?\RectorPrefix20220520\Psr\Container\ContainerInterface { $this->container = $container; if (\method_exists(\get_parent_class(self::class) ?: '', __FUNCTION__)) { diff --git a/vendor/symfony/contracts/Service/Test/ServiceLocatorTest.php b/vendor/symfony/contracts/Service/Test/ServiceLocatorTest.php index 6a6206f76f5..efa5d2ec14b 100644 --- a/vendor/symfony/contracts/Service/Test/ServiceLocatorTest.php +++ b/vendor/symfony/contracts/Service/Test/ServiceLocatorTest.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 RectorPrefix20220519\Symfony\Contracts\Service\Test; +namespace RectorPrefix20220520\Symfony\Contracts\Service\Test; -use RectorPrefix20220519\PHPUnit\Framework\TestCase; -use RectorPrefix20220519\Psr\Container\ContainerInterface; -use RectorPrefix20220519\Symfony\Contracts\Service\ServiceLocatorTrait; -abstract class ServiceLocatorTest extends \RectorPrefix20220519\PHPUnit\Framework\TestCase +use RectorPrefix20220520\PHPUnit\Framework\TestCase; +use RectorPrefix20220520\Psr\Container\ContainerInterface; +use RectorPrefix20220520\Symfony\Contracts\Service\ServiceLocatorTrait; +abstract class ServiceLocatorTest extends \RectorPrefix20220520\PHPUnit\Framework\TestCase { - protected function getServiceLocator(array $factories) : \RectorPrefix20220519\Psr\Container\ContainerInterface + protected function getServiceLocator(array $factories) : \RectorPrefix20220520\Psr\Container\ContainerInterface { - return new class($factories) implements \RectorPrefix20220519\Psr\Container\ContainerInterface + return new class($factories) implements \RectorPrefix20220520\Psr\Container\ContainerInterface { use ServiceLocatorTrait; }; @@ -59,7 +59,7 @@ abstract class ServiceLocatorTest extends \RectorPrefix20220519\PHPUnit\Framewor public function testThrowsOnUndefinedInternalService() { if (!$this->getExpectedException()) { - $this->expectException(\RectorPrefix20220519\Psr\Container\NotFoundExceptionInterface::class); + $this->expectException(\RectorPrefix20220520\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) { @@ -69,7 +69,7 @@ abstract class ServiceLocatorTest extends \RectorPrefix20220519\PHPUnit\Framewor } public function testThrowsOnCircularReference() { - $this->expectException(\RectorPrefix20220519\Psr\Container\ContainerExceptionInterface::class); + $this->expectException(\RectorPrefix20220520\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 6687a73c6ca..a263911f583 100644 --- a/vendor/symfony/contracts/Service/composer.json +++ b/vendor/symfony/contracts/Service/composer.json @@ -34,7 +34,7 @@ }, "autoload": { "psr-4": { - "RectorPrefix20220519\\Symfony\\Contracts\\Service\\": "" + "RectorPrefix20220520\\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 064cba88411..f0f57facdac 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 RectorPrefix20220519\Symfony\Contracts\Tests\Cache; +namespace RectorPrefix20220520\Symfony\Contracts\Tests\Cache; -use RectorPrefix20220519\PHPUnit\Framework\TestCase; -use RectorPrefix20220519\Psr\Cache\CacheItemInterface; -use RectorPrefix20220519\Psr\Cache\CacheItemPoolInterface; -use RectorPrefix20220519\Symfony\Contracts\Cache\CacheTrait; +use RectorPrefix20220520\PHPUnit\Framework\TestCase; +use RectorPrefix20220520\Psr\Cache\CacheItemInterface; +use RectorPrefix20220520\Psr\Cache\CacheItemPoolInterface; +use RectorPrefix20220520\Symfony\Contracts\Cache\CacheTrait; /** * @author Tobias Nyholm */ -class CacheTraitTest extends \RectorPrefix20220519\PHPUnit\Framework\TestCase +class CacheTraitTest extends \RectorPrefix20220520\PHPUnit\Framework\TestCase { public function testSave() { - $item = $this->createMock(\RectorPrefix20220519\Psr\Cache\CacheItemInterface::class); + $item = $this->createMock(\RectorPrefix20220520\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(\RectorPrefix20220519\Symfony\Contracts\Tests\Cache\TestPool::class)->setMethods(['getItem', 'save'])->getMock(); + $cache = $this->getMockBuilder(\RectorPrefix20220520\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 (\RectorPrefix20220519\Psr\Cache\CacheItemInterface $item) { + $callback = function (\RectorPrefix20220520\Psr\Cache\CacheItemInterface $item) { return 'computed data'; }; $cache->get('key', $callback); } public function testNoCallbackCallOnHit() { - $item = $this->createMock(\RectorPrefix20220519\Psr\Cache\CacheItemInterface::class); + $item = $this->createMock(\RectorPrefix20220520\Psr\Cache\CacheItemInterface::class); $item->method('isHit')->willReturn(\true); $item->expects($this->never())->method('set'); - $cache = $this->getMockBuilder(\RectorPrefix20220519\Symfony\Contracts\Tests\Cache\TestPool::class)->setMethods(['getItem', 'save'])->getMock(); + $cache = $this->getMockBuilder(\RectorPrefix20220520\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 (\RectorPrefix20220519\Psr\Cache\CacheItemInterface $item) { + $callback = function (\RectorPrefix20220520\Psr\Cache\CacheItemInterface $item) { $this->assertTrue(\false, 'This code should never be reached'); }; $cache->get('key', $callback); } public function testRecomputeOnBetaInf() { - $item = $this->createMock(\RectorPrefix20220519\Psr\Cache\CacheItemInterface::class); + $item = $this->createMock(\RectorPrefix20220520\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(\RectorPrefix20220519\Symfony\Contracts\Tests\Cache\TestPool::class)->setMethods(['getItem', 'save'])->getMock(); + $cache = $this->getMockBuilder(\RectorPrefix20220520\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 (\RectorPrefix20220519\Psr\Cache\CacheItemInterface $item) { + $callback = function (\RectorPrefix20220520\Psr\Cache\CacheItemInterface $item) { return 'computed data'; }; $cache->get('key', $callback, \INF); } public function testExceptionOnNegativeBeta() { - $cache = $this->getMockBuilder(\RectorPrefix20220519\Symfony\Contracts\Tests\Cache\TestPool::class)->setMethods(['getItem', 'save'])->getMock(); - $callback = function (\RectorPrefix20220519\Psr\Cache\CacheItemInterface $item) { + $cache = $this->getMockBuilder(\RectorPrefix20220520\Symfony\Contracts\Tests\Cache\TestPool::class)->setMethods(['getItem', 'save'])->getMock(); + $callback = function (\RectorPrefix20220520\Psr\Cache\CacheItemInterface $item) { return 'computed data'; }; $this->expectException(\InvalidArgumentException::class); $cache->get('key', $callback, -2); } } -class TestPool implements \RectorPrefix20220519\Psr\Cache\CacheItemPoolInterface +class TestPool implements \RectorPrefix20220520\Psr\Cache\CacheItemPoolInterface { use CacheTrait; public function hasItem($key) : bool @@ -82,16 +82,16 @@ class TestPool implements \RectorPrefix20220519\Psr\Cache\CacheItemPoolInterface public function deleteItems(array $keys = []) : bool { } - public function getItem($key) : \RectorPrefix20220519\Psr\Cache\CacheItemInterface + public function getItem($key) : \RectorPrefix20220520\Psr\Cache\CacheItemInterface { } public function getItems(array $key = []) : iterable { } - public function saveDeferred(\RectorPrefix20220519\Psr\Cache\CacheItemInterface $item) : bool + public function saveDeferred(\RectorPrefix20220520\Psr\Cache\CacheItemInterface $item) : bool { } - public function save(\RectorPrefix20220519\Psr\Cache\CacheItemInterface $item) : bool + public function save(\RectorPrefix20220520\Psr\Cache\CacheItemInterface $item) : bool { } public function commit() : bool diff --git a/vendor/symfony/contracts/Tests/Service/ServiceSubscriberTraitTest.php b/vendor/symfony/contracts/Tests/Service/ServiceSubscriberTraitTest.php index c9591070597..dde9ce6fae6 100644 --- a/vendor/symfony/contracts/Tests/Service/ServiceSubscriberTraitTest.php +++ b/vendor/symfony/contracts/Tests/Service/ServiceSubscriberTraitTest.php @@ -8,38 +8,38 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20220519\Symfony\Contracts\Tests\Service; +namespace RectorPrefix20220520\Symfony\Contracts\Tests\Service; -use RectorPrefix20220519\PHPUnit\Framework\TestCase; -use RectorPrefix20220519\Psr\Container\ContainerInterface; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Tests\Fixtures\Prototype\OtherDir\Component1\Dir1\Service1; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Tests\Fixtures\Prototype\OtherDir\Component1\Dir2\Service2; -use RectorPrefix20220519\Symfony\Contracts\Service\Attribute\SubscribedService; -use RectorPrefix20220519\Symfony\Contracts\Service\ServiceLocatorTrait; -use RectorPrefix20220519\Symfony\Contracts\Service\ServiceSubscriberInterface; -use RectorPrefix20220519\Symfony\Contracts\Service\ServiceSubscriberTrait; -class ServiceSubscriberTraitTest extends \RectorPrefix20220519\PHPUnit\Framework\TestCase +use RectorPrefix20220520\PHPUnit\Framework\TestCase; +use RectorPrefix20220520\Psr\Container\ContainerInterface; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Tests\Fixtures\Prototype\OtherDir\Component1\Dir1\Service1; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Tests\Fixtures\Prototype\OtherDir\Component1\Dir2\Service2; +use RectorPrefix20220520\Symfony\Contracts\Service\Attribute\SubscribedService; +use RectorPrefix20220520\Symfony\Contracts\Service\ServiceLocatorTrait; +use RectorPrefix20220520\Symfony\Contracts\Service\ServiceSubscriberInterface; +use RectorPrefix20220520\Symfony\Contracts\Service\ServiceSubscriberTrait; +class ServiceSubscriberTraitTest extends \RectorPrefix20220520\PHPUnit\Framework\TestCase { public function testMethodsOnParentsAndChildrenAreIgnoredInGetSubscribedServices() { - $expected = [\RectorPrefix20220519\Symfony\Contracts\Tests\Service\TestService::class . '::aService' => \RectorPrefix20220519\Symfony\Component\DependencyInjection\Tests\Fixtures\Prototype\OtherDir\Component1\Dir2\Service2::class, \RectorPrefix20220519\Symfony\Contracts\Tests\Service\TestService::class . '::nullableService' => '?' . \RectorPrefix20220519\Symfony\Component\DependencyInjection\Tests\Fixtures\Prototype\OtherDir\Component1\Dir2\Service2::class]; - $this->assertEquals($expected, \RectorPrefix20220519\Symfony\Contracts\Tests\Service\ChildTestService::getSubscribedServices()); + $expected = [\RectorPrefix20220520\Symfony\Contracts\Tests\Service\TestService::class . '::aService' => \RectorPrefix20220520\Symfony\Component\DependencyInjection\Tests\Fixtures\Prototype\OtherDir\Component1\Dir2\Service2::class, \RectorPrefix20220520\Symfony\Contracts\Tests\Service\TestService::class . '::nullableService' => '?' . \RectorPrefix20220520\Symfony\Component\DependencyInjection\Tests\Fixtures\Prototype\OtherDir\Component1\Dir2\Service2::class]; + $this->assertEquals($expected, \RectorPrefix20220520\Symfony\Contracts\Tests\Service\ChildTestService::getSubscribedServices()); } public function testSetContainerIsCalledOnParent() { - $container = new class([]) implements \RectorPrefix20220519\Psr\Container\ContainerInterface + $container = new class([]) implements \RectorPrefix20220520\Psr\Container\ContainerInterface { use ServiceLocatorTrait; }; - $this->assertSame($container, (new \RectorPrefix20220519\Symfony\Contracts\Tests\Service\TestService())->setContainer($container)); + $this->assertSame($container, (new \RectorPrefix20220520\Symfony\Contracts\Tests\Service\TestService())->setContainer($container)); } public function testParentNotCalledIfHasMagicCall() { - $container = new class([]) implements \RectorPrefix20220519\Psr\Container\ContainerInterface + $container = new class([]) implements \RectorPrefix20220520\Psr\Container\ContainerInterface { use ServiceLocatorTrait; }; - $service = new class extends \RectorPrefix20220519\Symfony\Contracts\Tests\Service\ParentWithMagicCall + $service = new class extends \RectorPrefix20220520\Symfony\Contracts\Tests\Service\ParentWithMagicCall { use ServiceSubscriberTrait; }; @@ -48,7 +48,7 @@ class ServiceSubscriberTraitTest extends \RectorPrefix20220519\PHPUnit\Framework } public function testParentNotCalledIfNoParent() { - $container = new class([]) implements \RectorPrefix20220519\Psr\Container\ContainerInterface + $container = new class([]) implements \RectorPrefix20220520\Psr\Container\ContainerInterface { use ServiceLocatorTrait; }; @@ -62,30 +62,30 @@ class ServiceSubscriberTraitTest extends \RectorPrefix20220519\PHPUnit\Framework } class ParentTestService { - public function aParentService() : \RectorPrefix20220519\Symfony\Component\DependencyInjection\Tests\Fixtures\Prototype\OtherDir\Component1\Dir1\Service1 + public function aParentService() : \RectorPrefix20220520\Symfony\Component\DependencyInjection\Tests\Fixtures\Prototype\OtherDir\Component1\Dir1\Service1 { } - public function setContainer(\RectorPrefix20220519\Psr\Container\ContainerInterface $container) + public function setContainer(\RectorPrefix20220520\Psr\Container\ContainerInterface $container) { return $container; } } -class TestService extends \RectorPrefix20220519\Symfony\Contracts\Tests\Service\ParentTestService implements \RectorPrefix20220519\Symfony\Contracts\Service\ServiceSubscriberInterface +class TestService extends \RectorPrefix20220520\Symfony\Contracts\Tests\Service\ParentTestService implements \RectorPrefix20220520\Symfony\Contracts\Service\ServiceSubscriberInterface { use ServiceSubscriberTrait; #[SubscribedService] - public function aService() : \RectorPrefix20220519\Symfony\Component\DependencyInjection\Tests\Fixtures\Prototype\OtherDir\Component1\Dir2\Service2 + public function aService() : \RectorPrefix20220520\Symfony\Component\DependencyInjection\Tests\Fixtures\Prototype\OtherDir\Component1\Dir2\Service2 { } #[SubscribedService] - public function nullableService() : ?\RectorPrefix20220519\Symfony\Component\DependencyInjection\Tests\Fixtures\Prototype\OtherDir\Component1\Dir2\Service2 + public function nullableService() : ?\RectorPrefix20220520\Symfony\Component\DependencyInjection\Tests\Fixtures\Prototype\OtherDir\Component1\Dir2\Service2 { } } -class ChildTestService extends \RectorPrefix20220519\Symfony\Contracts\Tests\Service\TestService +class ChildTestService extends \RectorPrefix20220520\Symfony\Contracts\Tests\Service\TestService { #[SubscribedService] - public function aChildService() : \RectorPrefix20220519\Symfony\Contracts\Tests\Service\Service3 + public function aChildService() : \RectorPrefix20220520\Symfony\Contracts\Tests\Service\Service3 { } } diff --git a/vendor/symfony/contracts/Translation/LocaleAwareInterface.php b/vendor/symfony/contracts/Translation/LocaleAwareInterface.php index 7dfc12a485e..c355d3f616d 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 RectorPrefix20220519\Symfony\Contracts\Translation; +namespace RectorPrefix20220520\Symfony\Contracts\Translation; interface LocaleAwareInterface { diff --git a/vendor/symfony/contracts/Translation/Test/TranslatorTest.php b/vendor/symfony/contracts/Translation/Test/TranslatorTest.php index eb52878dad2..efa2100a5a5 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 RectorPrefix20220519\Symfony\Contracts\Translation\Test; +namespace RectorPrefix20220520\Symfony\Contracts\Translation\Test; -use RectorPrefix20220519\PHPUnit\Framework\TestCase; -use RectorPrefix20220519\Symfony\Contracts\Translation\TranslatorInterface; -use RectorPrefix20220519\Symfony\Contracts\Translation\TranslatorTrait; +use RectorPrefix20220520\PHPUnit\Framework\TestCase; +use RectorPrefix20220520\Symfony\Contracts\Translation\TranslatorInterface; +use RectorPrefix20220520\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 RectorPrefix20220519\Symfony\Contracts\Translation\TranslatorTrait; * * @author Clemens Tolboom clemens@build2be.nl */ -class TranslatorTest extends \RectorPrefix20220519\PHPUnit\Framework\TestCase +class TranslatorTest extends \RectorPrefix20220520\PHPUnit\Framework\TestCase { private $defaultLocale; protected function setUp() : void @@ -38,9 +38,9 @@ class TranslatorTest extends \RectorPrefix20220519\PHPUnit\Framework\TestCase { \Locale::setDefault($this->defaultLocale); } - public function getTranslator() : \RectorPrefix20220519\Symfony\Contracts\Translation\TranslatorInterface + public function getTranslator() : \RectorPrefix20220520\Symfony\Contracts\Translation\TranslatorInterface { - return new class implements \RectorPrefix20220519\Symfony\Contracts\Translation\TranslatorInterface + return new class implements \RectorPrefix20220520\Symfony\Contracts\Translation\TranslatorInterface { use TranslatorTrait; }; diff --git a/vendor/symfony/contracts/Translation/TranslatableInterface.php b/vendor/symfony/contracts/Translation/TranslatableInterface.php index a66dd5bca5c..2db55e98e1c 100644 --- a/vendor/symfony/contracts/Translation/TranslatableInterface.php +++ b/vendor/symfony/contracts/Translation/TranslatableInterface.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 RectorPrefix20220519\Symfony\Contracts\Translation; +namespace RectorPrefix20220520\Symfony\Contracts\Translation; /** * @author Nicolas Grekas */ interface TranslatableInterface { - public function trans(\RectorPrefix20220519\Symfony\Contracts\Translation\TranslatorInterface $translator, string $locale = null) : string; + public function trans(\RectorPrefix20220520\Symfony\Contracts\Translation\TranslatorInterface $translator, string $locale = null) : string; } diff --git a/vendor/symfony/contracts/Translation/TranslatorInterface.php b/vendor/symfony/contracts/Translation/TranslatorInterface.php index 92b3a832001..2a3abf25f2d 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 RectorPrefix20220519\Symfony\Contracts\Translation; +namespace RectorPrefix20220520\Symfony\Contracts\Translation; /** * @author Fabien Potencier diff --git a/vendor/symfony/contracts/Translation/TranslatorTrait.php b/vendor/symfony/contracts/Translation/TranslatorTrait.php index e0a48005b49..3c633a1d3cd 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 RectorPrefix20220519\Symfony\Contracts\Translation; +namespace RectorPrefix20220520\Symfony\Contracts\Translation; -use RectorPrefix20220519\Symfony\Component\Translation\Exception\InvalidArgumentException; +use RectorPrefix20220520\Symfony\Component\Translation\Exception\InvalidArgumentException; /** * A trait to help implement TranslatorInterface and LocaleAwareInterface. * @@ -104,8 +104,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(\RectorPrefix20220519\Symfony\Component\Translation\Exception\InvalidArgumentException::class)) { - throw new \RectorPrefix20220519\Symfony\Component\Translation\Exception\InvalidArgumentException($message); + if (\class_exists(\RectorPrefix20220520\Symfony\Component\Translation\Exception\InvalidArgumentException::class)) { + throw new \RectorPrefix20220520\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 4fe8c6e6432..1cee6af5099 100644 --- a/vendor/symfony/contracts/Translation/composer.json +++ b/vendor/symfony/contracts/Translation/composer.json @@ -30,7 +30,7 @@ }, "autoload": { "psr-4": { - "RectorPrefix20220519\\Symfony\\Contracts\\Translation\\": "" + "RectorPrefix20220520\\Symfony\\Contracts\\Translation\\": "" } }, "minimum-stability": "dev", diff --git a/vendor/symfony/contracts/composer.json b/vendor/symfony/contracts/composer.json index b539157e9d8..3f708ce2fa4 100644 --- a/vendor/symfony/contracts/composer.json +++ b/vendor/symfony/contracts/composer.json @@ -51,7 +51,7 @@ }, "autoload": { "psr-4": { - "RectorPrefix20220519\\Symfony\\Contracts\\": "" + "RectorPrefix20220520\\Symfony\\Contracts\\": "" }, "files": [ "Deprecation\/function.php" diff --git a/vendor/symfony/dependency-injection/Alias.php b/vendor/symfony/dependency-injection/Alias.php index 822f7116022..b9b41a1475e 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 RectorPrefix20220519\Symfony\Component\DependencyInjection; +namespace RectorPrefix20220520\Symfony\Component\DependencyInjection; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException; +use RectorPrefix20220520\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.'; @@ -71,10 +71,10 @@ class Alias { if ('' !== $message) { if (\preg_match('#[\\r\\n]|\\*/#', $message)) { - throw new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException('Invalid characters found in deprecation template.'); + throw new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException('Invalid characters found in deprecation template.'); } if (\strpos($message, '%alias_id%') === \false) { - throw new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException('The deprecation template must contain the "%alias_id%" placeholder.'); + throw new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException('The deprecation template must contain the "%alias_id%" placeholder.'); } } $this->deprecation = ['package' => $package, 'version' => $version, 'message' => $message ?: self::DEFAULT_DEPRECATION_TEMPLATE]; diff --git a/vendor/symfony/dependency-injection/Argument/AbstractArgument.php b/vendor/symfony/dependency-injection/Argument/AbstractArgument.php index cc091ad72bb..030a53ea8c6 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 RectorPrefix20220519\Symfony\Component\DependencyInjection\Argument; +namespace RectorPrefix20220520\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 2997547f445..15f692fd1c1 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 RectorPrefix20220519\Symfony\Component\DependencyInjection\Argument; +namespace RectorPrefix20220520\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 4a3d48dcfba..dea59057036 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 RectorPrefix20220519\Symfony\Component\DependencyInjection\Argument; +namespace RectorPrefix20220520\Symfony\Component\DependencyInjection\Argument; /** * @author Guilhem Niot */ -final class BoundArgument implements \RectorPrefix20220519\Symfony\Component\DependencyInjection\Argument\ArgumentInterface +final class BoundArgument implements \RectorPrefix20220520\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 addda948860..24aa7bed2c0 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 RectorPrefix20220519\Symfony\Component\DependencyInjection\Argument; +namespace RectorPrefix20220520\Symfony\Component\DependencyInjection\Argument; /** * Represents a collection of values to lazily iterate over. * * @author Titouan Galopin */ -class IteratorArgument implements \RectorPrefix20220519\Symfony\Component\DependencyInjection\Argument\ArgumentInterface +class IteratorArgument implements \RectorPrefix20220520\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 e4394e49775..9dc8a89e72e 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 RectorPrefix20220519\Symfony\Component\DependencyInjection\Argument; +namespace RectorPrefix20220520\Symfony\Component\DependencyInjection\Argument; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Reference; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Reference; /** * @author Titouan Galopin * @author Nicolas Grekas @@ -42,8 +42,8 @@ trait ReferenceSetArgumentTrait public function setValues(array $values) { foreach ($values as $k => $v) { - if (null !== $v && !$v instanceof \RectorPrefix20220519\Symfony\Component\DependencyInjection\Reference) { - throw new \RectorPrefix20220519\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 \RectorPrefix20220520\Symfony\Component\DependencyInjection\Reference) { + throw new \RectorPrefix20220520\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 26c9d23067f..5e4ffd5cc84 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 RectorPrefix20220519\Symfony\Component\DependencyInjection\Argument; +namespace RectorPrefix20220520\Symfony\Component\DependencyInjection\Argument; /** * @internal diff --git a/vendor/symfony/dependency-injection/Argument/ServiceClosureArgument.php b/vendor/symfony/dependency-injection/Argument/ServiceClosureArgument.php index 3c2792be552..63105d494d5 100644 --- a/vendor/symfony/dependency-injection/Argument/ServiceClosureArgument.php +++ b/vendor/symfony/dependency-injection/Argument/ServiceClosureArgument.php @@ -8,22 +8,22 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20220519\Symfony\Component\DependencyInjection\Argument; +namespace RectorPrefix20220520\Symfony\Component\DependencyInjection\Argument; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Reference; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Reference; /** * Represents a service wrapped in a memoizing closure. * * @author Nicolas Grekas */ -class ServiceClosureArgument implements \RectorPrefix20220519\Symfony\Component\DependencyInjection\Argument\ArgumentInterface +class ServiceClosureArgument implements \RectorPrefix20220520\Symfony\Component\DependencyInjection\Argument\ArgumentInterface { /** * @var mixed[] */ private $values; - public function __construct(\RectorPrefix20220519\Symfony\Component\DependencyInjection\Reference $reference) + public function __construct(\RectorPrefix20220520\Symfony\Component\DependencyInjection\Reference $reference) { $this->values = [$reference]; } @@ -39,8 +39,8 @@ class ServiceClosureArgument implements \RectorPrefix20220519\Symfony\Component\ */ public function setValues(array $values) { - if ([0] !== \array_keys($values) || !($values[0] instanceof \RectorPrefix20220519\Symfony\Component\DependencyInjection\Reference || null === $values[0])) { - throw new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException('A ServiceClosureArgument must hold one and only one Reference.'); + if ([0] !== \array_keys($values) || !($values[0] instanceof \RectorPrefix20220520\Symfony\Component\DependencyInjection\Reference || null === $values[0])) { + throw new \RectorPrefix20220520\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 3f9693cb26a..fba2f9ce987 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 RectorPrefix20220519\Symfony\Component\DependencyInjection\Argument; +namespace RectorPrefix20220520\Symfony\Component\DependencyInjection\Argument; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\ServiceLocator as BaseServiceLocator; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\ServiceLocator as BaseServiceLocator; /** * @author Nicolas Grekas * * @internal */ -class ServiceLocator extends \RectorPrefix20220519\Symfony\Component\DependencyInjection\ServiceLocator +class ServiceLocator extends \RectorPrefix20220520\Symfony\Component\DependencyInjection\ServiceLocator { /** * @var \Closure diff --git a/vendor/symfony/dependency-injection/Argument/ServiceLocatorArgument.php b/vendor/symfony/dependency-injection/Argument/ServiceLocatorArgument.php index 119ca15f5b8..e1fde8b9cac 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 RectorPrefix20220519\Symfony\Component\DependencyInjection\Argument; +namespace RectorPrefix20220520\Symfony\Component\DependencyInjection\Argument; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Reference; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Reference; /** * Represents a closure acting as a service locator. * * @author Nicolas Grekas */ -class ServiceLocatorArgument implements \RectorPrefix20220519\Symfony\Component\DependencyInjection\Argument\ArgumentInterface +class ServiceLocatorArgument implements \RectorPrefix20220520\Symfony\Component\DependencyInjection\Argument\ArgumentInterface { use ReferenceSetArgumentTrait; private $taggedIteratorArgument = null; @@ -25,14 +25,14 @@ class ServiceLocatorArgument implements \RectorPrefix20220519\Symfony\Component\ */ public function __construct($values = []) { - if ($values instanceof \RectorPrefix20220519\Symfony\Component\DependencyInjection\Argument\TaggedIteratorArgument) { + if ($values instanceof \RectorPrefix20220520\Symfony\Component\DependencyInjection\Argument\TaggedIteratorArgument) { $this->taggedIteratorArgument = $values; $this->values = []; } else { $this->setValues($values); } } - public function getTaggedIteratorArgument() : ?\RectorPrefix20220519\Symfony\Component\DependencyInjection\Argument\TaggedIteratorArgument + public function getTaggedIteratorArgument() : ?\RectorPrefix20220520\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 6d6559dec1b..b2e33f145d4 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 RectorPrefix20220519\Symfony\Component\DependencyInjection\Argument; +namespace RectorPrefix20220520\Symfony\Component\DependencyInjection\Argument; /** * Represents a collection of services found by tag name to lazily iterate over. * * @author Roland Franssen */ -class TaggedIteratorArgument extends \RectorPrefix20220519\Symfony\Component\DependencyInjection\Argument\IteratorArgument +class TaggedIteratorArgument extends \RectorPrefix20220520\Symfony\Component\DependencyInjection\Argument\IteratorArgument { /** * @var string diff --git a/vendor/symfony/dependency-injection/Attribute/AsTaggedItem.php b/vendor/symfony/dependency-injection/Attribute/AsTaggedItem.php index ef6735a10ad..1b2babb1d3f 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 RectorPrefix20220519\Symfony\Component\DependencyInjection\Attribute; +namespace RectorPrefix20220520\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 25aa1535c1c..2323e34c45c 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 RectorPrefix20220519\Symfony\Component\DependencyInjection\Attribute; +namespace RectorPrefix20220520\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 9568f096a09..7ba7ef87290 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 RectorPrefix20220519\Symfony\Component\DependencyInjection\Attribute; +namespace RectorPrefix20220520\Symfony\Component\DependencyInjection\Attribute; /** * An attribute to tell how a base type should be tagged. @@ -16,7 +16,7 @@ namespace RectorPrefix20220519\Symfony\Component\DependencyInjection\Attribute; * @author Nicolas Grekas */ #[\Attribute(\Attribute::TARGET_CLASS | \Attribute::IS_REPEATABLE)] -class AutoconfigureTag extends \RectorPrefix20220519\Symfony\Component\DependencyInjection\Attribute\Autoconfigure +class AutoconfigureTag extends \RectorPrefix20220520\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 6059988754f..081b036b937 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 RectorPrefix20220519\Symfony\Component\DependencyInjection\Attribute; +namespace RectorPrefix20220520\Symfony\Component\DependencyInjection\Attribute; #[\Attribute(\Attribute::TARGET_PARAMETER)] class TaggedIterator diff --git a/vendor/symfony/dependency-injection/Attribute/TaggedLocator.php b/vendor/symfony/dependency-injection/Attribute/TaggedLocator.php index 41072b81fed..a46005adc6c 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 RectorPrefix20220519\Symfony\Component\DependencyInjection\Attribute; +namespace RectorPrefix20220520\Symfony\Component\DependencyInjection\Attribute; #[\Attribute(\Attribute::TARGET_PARAMETER)] class TaggedLocator diff --git a/vendor/symfony/dependency-injection/Attribute/Target.php b/vendor/symfony/dependency-injection/Attribute/Target.php index 7671e9fbd11..fec687ea689 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 RectorPrefix20220519\Symfony\Component\DependencyInjection\Attribute; +namespace RectorPrefix20220520\Symfony\Component\DependencyInjection\Attribute; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException; +use RectorPrefix20220520\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 \RectorPrefix20220519\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 \RectorPrefix20220520\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 72fb8e3ea04..ff39da4ead5 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 RectorPrefix20220519\Symfony\Component\DependencyInjection\Attribute; +namespace RectorPrefix20220520\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/ChildDefinition.php b/vendor/symfony/dependency-injection/ChildDefinition.php index 2f25664e9f6..4cea61b191e 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 RectorPrefix20220519\Symfony\Component\DependencyInjection; +namespace RectorPrefix20220520\Symfony\Component\DependencyInjection; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\OutOfBoundsException; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\OutOfBoundsException; /** * This definition extends another definition. * * @author Johannes M. Schmitt */ -class ChildDefinition extends \RectorPrefix20220519\Symfony\Component\DependencyInjection\Definition +class ChildDefinition extends \RectorPrefix20220520\Symfony\Component\DependencyInjection\Definition { /** * @var string @@ -85,7 +85,7 @@ class ChildDefinition extends \RectorPrefix20220519\Symfony\Component\Dependency } elseif (\strncmp($index, '$', \strlen('$')) === 0) { $this->arguments[$index] = $value; } else { - throw new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException('The argument must be an existing index or the name of a constructor\'s parameter.'); + throw new \RectorPrefix20220520\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 7a42fd988f6..34d62802ad1 100644 --- a/vendor/symfony/dependency-injection/Compiler/AbstractRecursivePass.php +++ b/vendor/symfony/dependency-injection/Compiler/AbstractRecursivePass.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 RectorPrefix20220519\Symfony\Component\DependencyInjection\Compiler; +namespace RectorPrefix20220520\Symfony\Component\DependencyInjection\Compiler; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Argument\ArgumentInterface; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\ChildDefinition; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerBuilder; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Definition; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\LogicException; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\RuntimeException; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\ExpressionLanguage; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Reference; -use RectorPrefix20220519\Symfony\Component\ExpressionLanguage\Expression; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Argument\ArgumentInterface; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\ChildDefinition; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\ContainerBuilder; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Definition; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\LogicException; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\RuntimeException; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\ExpressionLanguage; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Reference; +use RectorPrefix20220520\Symfony\Component\ExpressionLanguage\Expression; /** * @author Nicolas Grekas */ -abstract class AbstractRecursivePass implements \RectorPrefix20220519\Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface +abstract class AbstractRecursivePass implements \RectorPrefix20220520\Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface { /** * @var ContainerBuilder @@ -41,7 +41,7 @@ abstract class AbstractRecursivePass implements \RectorPrefix20220519\Symfony\Co /** * {@inheritdoc} */ - public function process(\RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerBuilder $container) + public function process(\RectorPrefix20220520\Symfony\Component\DependencyInjection\ContainerBuilder $container) { $this->container = $container; try { @@ -79,11 +79,11 @@ abstract class AbstractRecursivePass implements \RectorPrefix20220519\Symfony\Co $value[$k] = $processedValue; } } - } elseif ($value instanceof \RectorPrefix20220519\Symfony\Component\DependencyInjection\Argument\ArgumentInterface) { + } elseif ($value instanceof \RectorPrefix20220520\Symfony\Component\DependencyInjection\Argument\ArgumentInterface) { $value->setValues($this->processValue($value->getValues())); - } elseif ($value instanceof \RectorPrefix20220519\Symfony\Component\ExpressionLanguage\Expression && $this->processExpressions) { + } elseif ($value instanceof \RectorPrefix20220520\Symfony\Component\ExpressionLanguage\Expression && $this->processExpressions) { $this->getExpressionLanguage()->compile((string) $value, ['this' => 'container']); - } elseif ($value instanceof \RectorPrefix20220519\Symfony\Component\DependencyInjection\Definition) { + } elseif ($value instanceof \RectorPrefix20220520\Symfony\Component\DependencyInjection\Definition) { $value->setArguments($this->processValue($value->getArguments())); $value->setProperties($this->processValue($value->getProperties())); $value->setMethodCalls($this->processValue($value->getMethodCalls())); @@ -100,14 +100,14 @@ abstract class AbstractRecursivePass implements \RectorPrefix20220519\Symfony\Co /** * @throws RuntimeException */ - protected function getConstructor(\RectorPrefix20220519\Symfony\Component\DependencyInjection\Definition $definition, bool $required) : ?\ReflectionFunctionAbstract + protected function getConstructor(\RectorPrefix20220520\Symfony\Component\DependencyInjection\Definition $definition, bool $required) : ?\ReflectionFunctionAbstract { if ($definition->isSynthetic()) { return null; } if (\is_string($factory = $definition->getFactory())) { if (!\function_exists($factory)) { - throw new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\RuntimeException(\sprintf('Invalid service "%s": function "%s" does not exist.', $this->currentId, $factory)); + throw new \RectorPrefix20220520\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())) { @@ -118,87 +118,87 @@ abstract class AbstractRecursivePass implements \RectorPrefix20220519\Symfony\Co if ($factory) { [$class, $method] = $factory; if ('__construct' === $method) { - throw new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\RuntimeException(\sprintf('Invalid service "%s": "__construct()" cannot be used as a factory method.', $this->currentId)); + throw new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\RuntimeException(\sprintf('Invalid service "%s": "__construct()" cannot be used as a factory method.', $this->currentId)); } - if ($class instanceof \RectorPrefix20220519\Symfony\Component\DependencyInjection\Reference) { + if ($class instanceof \RectorPrefix20220520\Symfony\Component\DependencyInjection\Reference) { $factoryDefinition = $this->container->findDefinition((string) $class); - while (null === ($class = $factoryDefinition->getClass()) && $factoryDefinition instanceof \RectorPrefix20220519\Symfony\Component\DependencyInjection\ChildDefinition) { + while (null === ($class = $factoryDefinition->getClass()) && $factoryDefinition instanceof \RectorPrefix20220520\Symfony\Component\DependencyInjection\ChildDefinition) { $factoryDefinition = $this->container->findDefinition($factoryDefinition->getParent()); } - } elseif ($class instanceof \RectorPrefix20220519\Symfony\Component\DependencyInjection\Definition) { + } elseif ($class instanceof \RectorPrefix20220520\Symfony\Component\DependencyInjection\Definition) { $class = $class->getClass(); } elseif (null === $class) { $class = $definition->getClass(); } - return $this->getReflectionMethod(new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Definition($class), $method); + return $this->getReflectionMethod(new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Definition($class), $method); } - while (null === ($class = $definition->getClass()) && $definition instanceof \RectorPrefix20220519\Symfony\Component\DependencyInjection\ChildDefinition) { + while (null === ($class = $definition->getClass()) && $definition instanceof \RectorPrefix20220520\Symfony\Component\DependencyInjection\ChildDefinition) { $definition = $this->container->findDefinition($definition->getParent()); } try { if (!($r = $this->container->getReflectionClass($class))) { if (null === $class) { - throw new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\RuntimeException(\sprintf('Invalid service "%s": the class is not set.', $this->currentId)); + throw new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\RuntimeException(\sprintf('Invalid service "%s": the class is not set.', $this->currentId)); } - throw new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\RuntimeException(\sprintf('Invalid service "%s": class "%s" does not exist.', $this->currentId, $class)); + throw new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\RuntimeException(\sprintf('Invalid service "%s": class "%s" does not exist.', $this->currentId, $class)); } } catch (\ReflectionException $e) { - throw new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\RuntimeException(\sprintf('Invalid service "%s": ', $this->currentId) . \lcfirst($e->getMessage())); + throw new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\RuntimeException(\sprintf('Invalid service "%s": ', $this->currentId) . \lcfirst($e->getMessage())); } if (!($r = $r->getConstructor())) { if ($required) { - throw new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\RuntimeException(\sprintf('Invalid service "%s": class%s has no constructor.', $this->currentId, \sprintf($class !== $this->currentId ? ' "%s"' : '', $class))); + throw new \RectorPrefix20220520\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 \RectorPrefix20220519\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 \RectorPrefix20220520\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; } /** * @throws RuntimeException */ - protected function getReflectionMethod(\RectorPrefix20220519\Symfony\Component\DependencyInjection\Definition $definition, string $method) : \ReflectionFunctionAbstract + protected function getReflectionMethod(\RectorPrefix20220520\Symfony\Component\DependencyInjection\Definition $definition, string $method) : \ReflectionFunctionAbstract { if ('__construct' === $method) { return $this->getConstructor($definition, \true); } - while (null === ($class = $definition->getClass()) && $definition instanceof \RectorPrefix20220519\Symfony\Component\DependencyInjection\ChildDefinition) { + while (null === ($class = $definition->getClass()) && $definition instanceof \RectorPrefix20220520\Symfony\Component\DependencyInjection\ChildDefinition) { $definition = $this->container->findDefinition($definition->getParent()); } if (null === $class) { - throw new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\RuntimeException(\sprintf('Invalid service "%s": the class is not set.', $this->currentId)); + throw new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\RuntimeException(\sprintf('Invalid service "%s": the class is not set.', $this->currentId)); } if (!($r = $this->container->getReflectionClass($class))) { - throw new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\RuntimeException(\sprintf('Invalid service "%s": class "%s" does not exist.', $this->currentId, $class)); + throw new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\RuntimeException(\sprintf('Invalid service "%s": class "%s" does not exist.', $this->currentId, $class)); } if (!$r->hasMethod($method)) { if ($r->hasMethod('__call') && ($r = $r->getMethod('__call')) && $r->isPublic()) { return new \ReflectionMethod(static function (...$arguments) { }, '__invoke'); } - throw new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\RuntimeException(\sprintf('Invalid service "%s": method "%s()" does not exist.', $this->currentId, $class !== $this->currentId ? $class . '::' . $method : $method)); + throw new \RectorPrefix20220520\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 \RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\RuntimeException(\sprintf('Invalid service "%s": method "%s()" must be public.', $this->currentId, $class !== $this->currentId ? $class . '::' . $method : $method)); + throw new \RectorPrefix20220520\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() : \RectorPrefix20220519\Symfony\Component\DependencyInjection\ExpressionLanguage + private function getExpressionLanguage() : \RectorPrefix20220520\Symfony\Component\DependencyInjection\ExpressionLanguage { if (!isset($this->expressionLanguage)) { - if (!\class_exists(\RectorPrefix20220519\Symfony\Component\DependencyInjection\ExpressionLanguage::class)) { - throw new \RectorPrefix20220519\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(\RectorPrefix20220520\Symfony\Component\DependencyInjection\ExpressionLanguage::class)) { + throw new \RectorPrefix20220520\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 \RectorPrefix20220519\Symfony\Component\DependencyInjection\ExpressionLanguage(null, $providers, function (string $arg) : string { + $this->expressionLanguage = new \RectorPrefix20220520\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 \RectorPrefix20220519\Symfony\Component\DependencyInjection\Reference($id)); + $arg = $this->processValue(new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Reference($id)); $this->inExpression = \false; - if (!$arg instanceof \RectorPrefix20220519\Symfony\Component\DependencyInjection\Reference) { - throw new \RectorPrefix20220519\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 \RectorPrefix20220520\Symfony\Component\DependencyInjection\Reference) { + throw new \RectorPrefix20220520\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 b903e8dc4ae..8d918b297c8 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 RectorPrefix20220519\Symfony\Component\DependencyInjection\Compiler; +namespace RectorPrefix20220520\Symfony\Component\DependencyInjection\Compiler; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerBuilder; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Reference; -final class AliasDeprecatedPublicServicesPass extends \RectorPrefix20220519\Symfony\Component\DependencyInjection\Compiler\AbstractRecursivePass +use RectorPrefix20220520\Symfony\Component\DependencyInjection\ContainerBuilder; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Reference; +final class AliasDeprecatedPublicServicesPass extends \RectorPrefix20220520\Symfony\Component\DependencyInjection\Compiler\AbstractRecursivePass { /** * @var mixed[] @@ -26,22 +26,22 @@ final class AliasDeprecatedPublicServicesPass extends \RectorPrefix20220519\Symf */ protected function processValue($value, bool $isRoot = \false) { - if ($value instanceof \RectorPrefix20220519\Symfony\Component\DependencyInjection\Reference && isset($this->aliases[$id = (string) $value])) { - return new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Reference($this->aliases[$id], $value->getInvalidBehavior()); + if ($value instanceof \RectorPrefix20220520\Symfony\Component\DependencyInjection\Reference && isset($this->aliases[$id = (string) $value])) { + return new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Reference($this->aliases[$id], $value->getInvalidBehavior()); } return parent::processValue($value, $isRoot); } /** * {@inheritdoc} */ - public function process(\RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerBuilder $container) + public function process(\RectorPrefix20220520\Symfony\Component\DependencyInjection\ContainerBuilder $container) { foreach ($container->findTaggedServiceIds('container.private') as $id => $tags) { if (null === ($package = $tags[0]['package'] ?? null)) { - throw new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('The "package" attribute is mandatory for the "container.private" tag on the "%s" service.', $id)); + throw new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('The "package" attribute is mandatory for the "container.private" tag on the "%s" service.', $id)); } if (null === ($version = $tags[0]['version'] ?? null)) { - throw new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('The "version" attribute is mandatory for the "container.private" tag on the "%s" service.', $id)); + throw new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('The "version" attribute is mandatory for the "container.private" tag on the "%s" service.', $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 834f4245bc8..0e93d0a6b3b 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 RectorPrefix20220519\Symfony\Component\DependencyInjection\Compiler; +namespace RectorPrefix20220520\Symfony\Component\DependencyInjection\Compiler; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Argument\ArgumentInterface; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Argument\IteratorArgument; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerBuilder; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerInterface; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Definition; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Reference; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Argument\ArgumentInterface; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Argument\IteratorArgument; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\ContainerBuilder; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\ContainerInterface; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Definition; +use RectorPrefix20220520\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 RectorPrefix20220519\Symfony\Component\DependencyInjection\Reference; * @author Johannes M. Schmitt * @author Nicolas Grekas */ -class AnalyzeServiceReferencesPass extends \RectorPrefix20220519\Symfony\Component\DependencyInjection\Compiler\AbstractRecursivePass +class AnalyzeServiceReferencesPass extends \RectorPrefix20220520\Symfony\Component\DependencyInjection\Compiler\AbstractRecursivePass { private $graph; private $currentDefinition = null; @@ -70,7 +70,7 @@ class AnalyzeServiceReferencesPass extends \RectorPrefix20220519\Symfony\Compone /** * Processes a ContainerBuilder object to populate the service reference graph. */ - public function process(\RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerBuilder $container) + public function process(\RectorPrefix20220520\Symfony\Component\DependencyInjection\ContainerBuilder $container) { $this->container = $container; $this->graph = $container->getCompiler()->getServiceReferenceGraph(); @@ -98,22 +98,22 @@ class AnalyzeServiceReferencesPass extends \RectorPrefix20220519\Symfony\Compone { $lazy = $this->lazy; $inExpression = $this->inExpression(); - if ($value instanceof \RectorPrefix20220519\Symfony\Component\DependencyInjection\Argument\ArgumentInterface) { - $this->lazy = !$this->byFactory || !$value instanceof \RectorPrefix20220519\Symfony\Component\DependencyInjection\Argument\IteratorArgument; + if ($value instanceof \RectorPrefix20220520\Symfony\Component\DependencyInjection\Argument\ArgumentInterface) { + $this->lazy = !$this->byFactory || !$value instanceof \RectorPrefix20220520\Symfony\Component\DependencyInjection\Argument\IteratorArgument; parent::processValue($value->getValues()); $this->lazy = $lazy; return $value; } - if ($value instanceof \RectorPrefix20220519\Symfony\Component\DependencyInjection\Reference) { + if ($value instanceof \RectorPrefix20220520\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(), \RectorPrefix20220519\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(), \RectorPrefix20220520\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 \RectorPrefix20220519\Symfony\Component\DependencyInjection\Definition) { + if (!$value instanceof \RectorPrefix20220520\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 cf044d3dac0..7ee1e8eefe7 100644 --- a/vendor/symfony/dependency-injection/Compiler/AttributeAutoconfigurationPass.php +++ b/vendor/symfony/dependency-injection/Compiler/AttributeAutoconfigurationPass.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 RectorPrefix20220519\Symfony\Component\DependencyInjection\Compiler; +namespace RectorPrefix20220520\Symfony\Component\DependencyInjection\Compiler; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\ChildDefinition; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerBuilder; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Definition; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\LogicException; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\RuntimeException; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\ChildDefinition; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\ContainerBuilder; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Definition; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\LogicException; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\RuntimeException; /** * @author Alexander M. Turek */ -final class AttributeAutoconfigurationPass extends \RectorPrefix20220519\Symfony\Component\DependencyInjection\Compiler\AbstractRecursivePass +final class AttributeAutoconfigurationPass extends \RectorPrefix20220520\Symfony\Component\DependencyInjection\Compiler\AbstractRecursivePass { private $classAttributeConfigurators = []; private $methodAttributeConfigurators = []; private $propertyAttributeConfigurators = []; private $parameterAttributeConfigurators = []; - public function process(\RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerBuilder $container) : void + public function process(\RectorPrefix20220520\Symfony\Component\DependencyInjection\ContainerBuilder $container) : void { if (!$container->getAutoconfiguredAttributes()) { return; @@ -45,7 +45,7 @@ final class AttributeAutoconfigurationPass extends \RectorPrefix20220519\Symfony } elseif ($parameterType instanceof \ReflectionNamedType) { $types[] = $parameterType->getName(); } else { - throw new \RectorPrefix20220519\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())); + throw new \RectorPrefix20220520\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); @@ -60,7 +60,7 @@ final class AttributeAutoconfigurationPass extends \RectorPrefix20220519\Symfony continue; } if (!($targets & \constant('Attribute::TARGET_' . \strtoupper($symbol)))) { - throw new \RectorPrefix20220519\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())); + throw new \RectorPrefix20220520\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; @@ -74,11 +74,11 @@ final class AttributeAutoconfigurationPass extends \RectorPrefix20220519\Symfony */ protected function processValue($value, bool $isRoot = \false) { - if (!$value instanceof \RectorPrefix20220519\Symfony\Component\DependencyInjection\Definition || !$value->isAutoconfigured() || $value->isAbstract() || $value->hasTag('container.ignore_attributes') || !($classReflector = $this->container->getReflectionClass($value->getClass(), \false))) { + if (!$value instanceof \RectorPrefix20220520\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); } $instanceof = $value->getInstanceofConditionals(); - $conditionals = $instanceof[$classReflector->getName()] ?? new \RectorPrefix20220519\Symfony\Component\DependencyInjection\ChildDefinition(''); + $conditionals = $instanceof[$classReflector->getName()] ?? new \RectorPrefix20220520\Symfony\Component\DependencyInjection\ChildDefinition(''); if ($this->classAttributeConfigurators) { foreach (\method_exists($classReflector, 'getAttributes') ? $classReflector->getAttributes() : [] as $attribute) { if ($configurator = $this->classAttributeConfigurators[$attribute->getName()] ?? null) { @@ -89,7 +89,7 @@ final class AttributeAutoconfigurationPass extends \RectorPrefix20220519\Symfony if ($this->parameterAttributeConfigurators) { try { $constructorReflector = $this->getConstructor($value, \false); - } catch (\RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\RuntimeException $e) { + } catch (\RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\RuntimeException $e) { $constructorReflector = null; } if ($constructorReflector) { @@ -137,7 +137,7 @@ final class AttributeAutoconfigurationPass extends \RectorPrefix20220519\Symfony } } } - if (!isset($instanceof[$classReflector->getName()]) && new \RectorPrefix20220519\Symfony\Component\DependencyInjection\ChildDefinition('') != $conditionals) { + if (!isset($instanceof[$classReflector->getName()]) && new \RectorPrefix20220520\Symfony\Component\DependencyInjection\ChildDefinition('') != $conditionals) { $instanceof[$classReflector->getName()] = $conditionals; $value->setInstanceofConditionals($instanceof); } diff --git a/vendor/symfony/dependency-injection/Compiler/AutoAliasServicePass.php b/vendor/symfony/dependency-injection/Compiler/AutoAliasServicePass.php index 706974639ae..d5fd445459e 100644 --- a/vendor/symfony/dependency-injection/Compiler/AutoAliasServicePass.php +++ b/vendor/symfony/dependency-injection/Compiler/AutoAliasServicePass.php @@ -8,29 +8,29 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20220519\Symfony\Component\DependencyInjection\Compiler; +namespace RectorPrefix20220520\Symfony\Component\DependencyInjection\Compiler; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Alias; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerBuilder; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Alias; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\ContainerBuilder; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException; /** * Sets a service to be an alias of another one, given a format pattern. */ -class AutoAliasServicePass implements \RectorPrefix20220519\Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface +class AutoAliasServicePass implements \RectorPrefix20220520\Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface { /** * {@inheritdoc} */ - public function process(\RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerBuilder $container) + public function process(\RectorPrefix20220520\Symfony\Component\DependencyInjection\ContainerBuilder $container) { foreach ($container->findTaggedServiceIds('auto_alias') as $serviceId => $tags) { foreach ($tags as $tag) { if (!isset($tag['format'])) { - throw new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('Missing tag information "format" on auto_alias service "%s".', $serviceId)); + throw new \RectorPrefix20220520\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)) { - $alias = new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Alias($aliasId, $container->getDefinition($serviceId)->isPublic()); + $alias = new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Alias($aliasId, $container->getDefinition($serviceId)->isPublic()); $container->setAlias($serviceId, $alias); } } diff --git a/vendor/symfony/dependency-injection/Compiler/AutowirePass.php b/vendor/symfony/dependency-injection/Compiler/AutowirePass.php index 00d51ca22ab..e096524aee9 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 RectorPrefix20220519\Symfony\Component\DependencyInjection\Compiler; +namespace RectorPrefix20220520\Symfony\Component\DependencyInjection\Compiler; -use RectorPrefix20220519\Symfony\Component\Config\Resource\ClassExistenceResource; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Argument\ServiceLocatorArgument; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Argument\TaggedIteratorArgument; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Attribute\TaggedIterator; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Attribute\TaggedLocator; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Attribute\Target; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerBuilder; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Definition; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\AutowiringFailedException; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\RuntimeException; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\LazyProxy\ProxyHelper; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\TypedReference; +use RectorPrefix20220520\Symfony\Component\Config\Resource\ClassExistenceResource; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Argument\ServiceLocatorArgument; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Argument\TaggedIteratorArgument; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Attribute\TaggedIterator; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Attribute\TaggedLocator; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Attribute\Target; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\ContainerBuilder; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Definition; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\AutowiringFailedException; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\RuntimeException; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\LazyProxy\ProxyHelper; +use RectorPrefix20220520\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 \RectorPrefix20220519\Symfony\Component\DependencyInjection\Compiler\AbstractRecursivePass +class AutowirePass extends \RectorPrefix20220520\Symfony\Component\DependencyInjection\Compiler\AbstractRecursivePass { /** * @var mixed[] @@ -98,7 +98,7 @@ class AutowirePass extends \RectorPrefix20220519\Symfony\Component\DependencyInj /** * {@inheritdoc} */ - public function process(\RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerBuilder $container) + public function process(\RectorPrefix20220520\Symfony\Component\DependencyInjection\ContainerBuilder $container) { $this->populateCombinedAliases($container); try { @@ -125,7 +125,7 @@ class AutowirePass extends \RectorPrefix20220519\Symfony\Component\DependencyInj { try { return $this->doProcessValue($value, $isRoot); - } catch (\RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\AutowiringFailedException $e) { + } catch (\RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\AutowiringFailedException $e) { if ($this->throwOnAutowiringException) { throw $e; } @@ -139,19 +139,19 @@ class AutowirePass extends \RectorPrefix20220519\Symfony\Component\DependencyInj */ private function doProcessValue($value, bool $isRoot = \false) { - if ($value instanceof \RectorPrefix20220519\Symfony\Component\DependencyInjection\TypedReference) { + if ($value instanceof \RectorPrefix20220520\Symfony\Component\DependencyInjection\TypedReference) { if ($ref = $this->getAutowiredReference($value, \true)) { return $ref; } - if (\RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerBuilder::RUNTIME_EXCEPTION_ON_INVALID_REFERENCE === $value->getInvalidBehavior()) { + if (\RectorPrefix20220520\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 \RectorPrefix20220519\Symfony\Component\DependencyInjection\TypedReference($id, $value->getType(), $value->getInvalidBehavior(), $value->getName()); + return new \RectorPrefix20220520\Symfony\Component\DependencyInjection\TypedReference($id, $value->getType(), $value->getInvalidBehavior(), $value->getName()); } } $value = parent::processValue($value, $isRoot); - if (!$value instanceof \RectorPrefix20220519\Symfony\Component\DependencyInjection\Definition || !$value->isAutowired() || $value->isAbstract() || !$value->getClass()) { + if (!$value instanceof \RectorPrefix20220520\Symfony\Component\DependencyInjection\Definition || !$value->isAutowired() || $value->isAbstract() || !$value->getClass()) { return $value; } if (!($reflectionClass = $this->container->getReflectionClass($value->getClass(), \false))) { @@ -161,8 +161,8 @@ class AutowirePass extends \RectorPrefix20220519\Symfony\Component\DependencyInj $this->methodCalls = $value->getMethodCalls(); try { $constructor = $this->getConstructor($value, \false); - } catch (\RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\RuntimeException $e) { - throw new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\AutowiringFailedException($this->currentId, $e->getMessage(), 0, $e); + } catch (\RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\RuntimeException $e) { + throw new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\AutowiringFailedException($this->currentId, $e->getMessage(), 0, $e); } if ($constructor) { \array_unshift($this->methodCalls, [$constructor, $value->getArguments()]); @@ -194,10 +194,10 @@ class AutowirePass extends \RectorPrefix20220519\Symfony\Component\DependencyInj if ($method instanceof \ReflectionFunctionAbstract) { $reflectionMethod = $method; } else { - $definition = new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Definition($reflectionClass->name); + $definition = new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Definition($reflectionClass->name); try { $reflectionMethod = $this->getReflectionMethod($definition, $method); - } catch (\RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\RuntimeException $e) { + } catch (\RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\RuntimeException $e) { if ($definition->getFactory()) { continue; } @@ -252,17 +252,17 @@ class AutowirePass extends \RectorPrefix20220519\Symfony\Component\DependencyInj if (\array_key_exists($index, $arguments) && '' !== $arguments[$index]) { continue; } - $type = \RectorPrefix20220519\Symfony\Component\DependencyInjection\LazyProxy\ProxyHelper::getTypeHint($reflectionMethod, $parameter, \true); + $type = \RectorPrefix20220520\Symfony\Component\DependencyInjection\LazyProxy\ProxyHelper::getTypeHint($reflectionMethod, $parameter, \true); if ($checkAttributes) { foreach (\method_exists($parameter, 'getAttributes') ? $parameter->getAttributes() : [] as $attribute) { - if (\RectorPrefix20220519\Symfony\Component\DependencyInjection\Attribute\TaggedIterator::class === $attribute->getName()) { + if (\RectorPrefix20220520\Symfony\Component\DependencyInjection\Attribute\TaggedIterator::class === $attribute->getName()) { $attribute = $attribute->newInstance(); - $arguments[$index] = new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Argument\TaggedIteratorArgument($attribute->tag, $attribute->indexAttribute, $attribute->defaultIndexMethod, \false, $attribute->defaultPriorityMethod); + $arguments[$index] = new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Argument\TaggedIteratorArgument($attribute->tag, $attribute->indexAttribute, $attribute->defaultIndexMethod, \false, $attribute->defaultPriorityMethod); break; } - if (\RectorPrefix20220519\Symfony\Component\DependencyInjection\Attribute\TaggedLocator::class === $attribute->getName()) { + if (\RectorPrefix20220520\Symfony\Component\DependencyInjection\Attribute\TaggedLocator::class === $attribute->getName()) { $attribute = $attribute->newInstance(); - $arguments[$index] = new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Argument\ServiceLocatorArgument(new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Argument\TaggedIteratorArgument($attribute->tag, $attribute->indexAttribute, $attribute->defaultIndexMethod, \true, $attribute->defaultPriorityMethod)); + $arguments[$index] = new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Argument\ServiceLocatorArgument(new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Argument\TaggedIteratorArgument($attribute->tag, $attribute->indexAttribute, $attribute->defaultIndexMethod, \true, $attribute->defaultPriorityMethod)); break; } } @@ -283,9 +283,9 @@ class AutowirePass extends \RectorPrefix20220519\Symfony\Component\DependencyInj --$index; break; } - $type = \RectorPrefix20220519\Symfony\Component\DependencyInjection\LazyProxy\ProxyHelper::getTypeHint($reflectionMethod, $parameter, \false); + $type = \RectorPrefix20220520\Symfony\Component\DependencyInjection\LazyProxy\ProxyHelper::getTypeHint($reflectionMethod, $parameter, \false); $type = $type ? \sprintf('is type-hinted "%s"', \ltrim($type, '\\')) : 'has no type-hint'; - throw new \RectorPrefix20220519\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 \RectorPrefix20220520\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; @@ -293,13 +293,13 @@ class AutowirePass extends \RectorPrefix20220519\Symfony\Component\DependencyInj continue; } $getValue = function () use($type, $parameter, $class, $method) { - if (!($value = $this->getAutowiredReference($ref = new \RectorPrefix20220519\Symfony\Component\DependencyInjection\TypedReference($type, $type, \RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerBuilder::EXCEPTION_ON_INVALID_REFERENCE, \RectorPrefix20220519\Symfony\Component\DependencyInjection\Attribute\Target::parseName($parameter)), \true))) { + if (!($value = $this->getAutowiredReference($ref = new \RectorPrefix20220520\Symfony\Component\DependencyInjection\TypedReference($type, $type, \RectorPrefix20220520\Symfony\Component\DependencyInjection\ContainerBuilder::EXCEPTION_ON_INVALID_REFERENCE, \RectorPrefix20220520\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 \RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\AutowiringFailedException($this->currentId, $failureMessage); + throw new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\AutowiringFailedException($this->currentId, $failureMessage); } } return $value; @@ -314,7 +314,7 @@ class AutowirePass extends \RectorPrefix20220519\Symfony\Component\DependencyInj $this->decoratedClass = null; // Prevent further checks } else { - $arguments[$index] = new \RectorPrefix20220519\Symfony\Component\DependencyInjection\TypedReference($this->decoratedId, $this->decoratedClass); + $arguments[$index] = new \RectorPrefix20220520\Symfony\Component\DependencyInjection\TypedReference($this->decoratedId, $this->decoratedClass); $this->getPreviousValue = $getValue; $this->decoratedMethodIndex = $methodIndex; $this->decoratedMethodArgumentIndex = $index; @@ -339,7 +339,7 @@ class AutowirePass extends \RectorPrefix20220519\Symfony\Component\DependencyInj /** * Returns a reference to the service matching the given type, if any. */ - private function getAutowiredReference(\RectorPrefix20220519\Symfony\Component\DependencyInjection\TypedReference $reference, bool $filterType) : ?\RectorPrefix20220519\Symfony\Component\DependencyInjection\TypedReference + private function getAutowiredReference(\RectorPrefix20220520\Symfony\Component\DependencyInjection\TypedReference $reference, bool $filterType) : ?\RectorPrefix20220520\Symfony\Component\DependencyInjection\TypedReference { $this->lastFailure = null; $type = $reference->getType(); @@ -353,31 +353,31 @@ class AutowirePass extends \RectorPrefix20220519\Symfony\Component\DependencyInj } if (null !== ($name = $reference->getName())) { if ($this->container->has($alias = $type . ' $' . $name) && !$this->container->findDefinition($alias)->isAbstract()) { - return new \RectorPrefix20220519\Symfony\Component\DependencyInjection\TypedReference($alias, $type, $reference->getInvalidBehavior()); + return new \RectorPrefix20220520\Symfony\Component\DependencyInjection\TypedReference($alias, $type, $reference->getInvalidBehavior()); } if (null !== ($alias = $this->combinedAliases[$alias] ?? null) && !$this->container->findDefinition($alias)->isAbstract()) { - return new \RectorPrefix20220519\Symfony\Component\DependencyInjection\TypedReference($alias, $type, $reference->getInvalidBehavior()); + return new \RectorPrefix20220520\Symfony\Component\DependencyInjection\TypedReference($alias, $type, $reference->getInvalidBehavior()); } if ($this->container->has($name) && !$this->container->findDefinition($name)->isAbstract()) { foreach ($this->container->getAliases() + $this->combinedAliases as $id => $alias) { if ($name === (string) $alias && \strncmp($id, $type . ' $', \strlen($type . ' $')) === 0) { - return new \RectorPrefix20220519\Symfony\Component\DependencyInjection\TypedReference($name, $type, $reference->getInvalidBehavior()); + return new \RectorPrefix20220520\Symfony\Component\DependencyInjection\TypedReference($name, $type, $reference->getInvalidBehavior()); } } } } if ($this->container->has($type) && !$this->container->findDefinition($type)->isAbstract()) { - return new \RectorPrefix20220519\Symfony\Component\DependencyInjection\TypedReference($type, $type, $reference->getInvalidBehavior()); + return new \RectorPrefix20220520\Symfony\Component\DependencyInjection\TypedReference($type, $type, $reference->getInvalidBehavior()); } if (null !== ($alias = $this->combinedAliases[$type] ?? null) && !$this->container->findDefinition($alias)->isAbstract()) { - return new \RectorPrefix20220519\Symfony\Component\DependencyInjection\TypedReference($alias, $type, $reference->getInvalidBehavior()); + return new \RectorPrefix20220520\Symfony\Component\DependencyInjection\TypedReference($alias, $type, $reference->getInvalidBehavior()); } return null; } /** * Populates the list of available types. */ - private function populateAvailableTypes(\RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerBuilder $container) + private function populateAvailableTypes(\RectorPrefix20220520\Symfony\Component\DependencyInjection\ContainerBuilder $container) { $this->types = []; $this->ambiguousServiceTypes = []; @@ -392,7 +392,7 @@ class AutowirePass extends \RectorPrefix20220519\Symfony\Component\DependencyInj /** * Populates the list of available types for a given definition. */ - private function populateAvailableType(\RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerBuilder $container, string $id, \RectorPrefix20220519\Symfony\Component\DependencyInjection\Definition $definition) + private function populateAvailableType(\RectorPrefix20220520\Symfony\Component\DependencyInjection\ContainerBuilder $container, string $id, \RectorPrefix20220520\Symfony\Component\DependencyInjection\Definition $definition) { // Never use abstract services if ($definition->isAbstract()) { @@ -431,10 +431,10 @@ class AutowirePass extends \RectorPrefix20220519\Symfony\Component\DependencyInj } $this->ambiguousServiceTypes[$type][] = $id; } - private function createTypeNotFoundMessageCallback(\RectorPrefix20220519\Symfony\Component\DependencyInjection\TypedReference $reference, string $label) : \Closure + private function createTypeNotFoundMessageCallback(\RectorPrefix20220520\Symfony\Component\DependencyInjection\TypedReference $reference, string $label) : \Closure { if (null === $this->typesClone->container) { - $this->typesClone->container = new \RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerBuilder($this->container->getParameterBag()); + $this->typesClone->container = new \RectorPrefix20220520\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); @@ -444,12 +444,12 @@ class AutowirePass extends \RectorPrefix20220519\Symfony\Component\DependencyInj return $this->createTypeNotFoundMessage($reference, $label, $currentId); })->bindTo($this->typesClone); } - private function createTypeNotFoundMessage(\RectorPrefix20220519\Symfony\Component\DependencyInjection\TypedReference $reference, string $label, string $currentId) : string + private function createTypeNotFoundMessage(\RectorPrefix20220520\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 \RectorPrefix20220519\Symfony\Component\Config\Resource\ClassExistenceResource($type, \false); + $resource = new \RectorPrefix20220520\Symfony\Component\Config\Resource\ClassExistenceResource($type, \false); // isFresh() will explode ONLY if a parent class/trait does not exist $resource->isFresh(0); $parentMsg = \false; @@ -472,7 +472,7 @@ class AutowirePass extends \RectorPrefix20220519\Symfony\Component\DependencyInj } return $message; } - private function createTypeAlternatives(\RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerBuilder $container, \RectorPrefix20220519\Symfony\Component\DependencyInjection\TypedReference $reference) : string + private function createTypeAlternatives(\RectorPrefix20220520\Symfony\Component\DependencyInjection\ContainerBuilder $container, \RectorPrefix20220520\Symfony\Component\DependencyInjection\TypedReference $reference) : string { // try suggesting available aliases first if ($message = $this->getAliasesSuggestionForType($container, $type = $reference->getType())) { @@ -496,7 +496,7 @@ class AutowirePass extends \RectorPrefix20220519\Symfony\Component\DependencyInj } return \sprintf(' You should maybe alias this %s to %s.', \class_exists($type, \false) ? 'class' : 'interface', $message); } - private function getAliasesSuggestionForType(\RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerBuilder $container, string $type) : ?string + private function getAliasesSuggestionForType(\RectorPrefix20220520\Symfony\Component\DependencyInjection\ContainerBuilder $container, string $type) : ?string { $aliases = []; foreach (\class_parents($type) + \class_implements($type) as $parent) { @@ -528,7 +528,7 @@ class AutowirePass extends \RectorPrefix20220519\Symfony\Component\DependencyInj $this->autowiringAliases[$type][$name] = $name; } } - private function populateCombinedAliases(\RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerBuilder $container) : void + private function populateCombinedAliases(\RectorPrefix20220520\Symfony\Component\DependencyInjection\ContainerBuilder $container) : void { $this->combinedAliases = []; $reverseAliases = []; diff --git a/vendor/symfony/dependency-injection/Compiler/AutowireRequiredMethodsPass.php b/vendor/symfony/dependency-injection/Compiler/AutowireRequiredMethodsPass.php index 04ea9c038b5..7d19360c543 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 RectorPrefix20220519\Symfony\Component\DependencyInjection\Compiler; +namespace RectorPrefix20220520\Symfony\Component\DependencyInjection\Compiler; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Definition; -use RectorPrefix20220519\Symfony\Contracts\Service\Attribute\Required; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Definition; +use RectorPrefix20220520\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 \RectorPrefix20220519\Symfony\Component\DependencyInjection\Compiler\AbstractRecursivePass +class AutowireRequiredMethodsPass extends \RectorPrefix20220520\Symfony\Component\DependencyInjection\Compiler\AbstractRecursivePass { /** * {@inheritdoc} @@ -27,7 +27,7 @@ class AutowireRequiredMethodsPass extends \RectorPrefix20220519\Symfony\Componen protected function processValue($value, bool $isRoot = \false) { $value = parent::processValue($value, $isRoot); - if (!$value instanceof \RectorPrefix20220519\Symfony\Component\DependencyInjection\Definition || !$value->isAutowired() || $value->isAbstract() || !$value->getClass()) { + if (!$value instanceof \RectorPrefix20220520\Symfony\Component\DependencyInjection\Definition || !$value->isAutowired() || $value->isAbstract() || !$value->getClass()) { return $value; } if (!($reflectionClass = $this->container->getReflectionClass($value->getClass(), \false))) { @@ -44,7 +44,7 @@ class AutowireRequiredMethodsPass extends \RectorPrefix20220519\Symfony\Componen continue; } while (\true) { - if (\method_exists($r, 'getAttributes') ? $r->getAttributes(\RectorPrefix20220519\Symfony\Contracts\Service\Attribute\Required::class) : []) { + if (\method_exists($r, 'getAttributes') ? $r->getAttributes(\RectorPrefix20220520\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 f9b234b312c..e8eaf06234d 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 RectorPrefix20220519\Symfony\Component\DependencyInjection\Compiler; +namespace RectorPrefix20220520\Symfony\Component\DependencyInjection\Compiler; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerInterface; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Definition; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\TypedReference; -use RectorPrefix20220519\Symfony\Contracts\Service\Attribute\Required; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\ContainerInterface; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Definition; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\TypedReference; +use RectorPrefix20220520\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 \RectorPrefix20220519\Symfony\Component\DependencyInjection\Compiler\AbstractRecursivePass +class AutowireRequiredPropertiesPass extends \RectorPrefix20220520\Symfony\Component\DependencyInjection\Compiler\AbstractRecursivePass { /** * {@inheritdoc} @@ -30,7 +30,7 @@ class AutowireRequiredPropertiesPass extends \RectorPrefix20220519\Symfony\Compo protected function processValue($value, bool $isRoot = \false) { $value = parent::processValue($value, $isRoot); - if (!$value instanceof \RectorPrefix20220519\Symfony\Component\DependencyInjection\Definition || !$value->isAutowired() || $value->isAbstract() || !$value->getClass()) { + if (!$value instanceof \RectorPrefix20220520\Symfony\Component\DependencyInjection\Definition || !$value->isAutowired() || $value->isAbstract() || !$value->getClass()) { return $value; } if (!($reflectionClass = $this->container->getReflectionClass($value->getClass(), \false))) { @@ -41,14 +41,14 @@ class AutowireRequiredPropertiesPass extends \RectorPrefix20220519\Symfony\Compo if (!($type = \method_exists($reflectionProperty, 'getType') ? $reflectionProperty->getType() : null) instanceof \ReflectionNamedType) { continue; } - if (!(\method_exists($reflectionProperty, 'getAttributes') ? $reflectionProperty->getAttributes(\RectorPrefix20220519\Symfony\Contracts\Service\Attribute\Required::class) : []) && (\false === ($doc = $reflectionProperty->getDocComment()) || \false === \stripos($doc, '@required') || !\preg_match('#(?:^/\\*\\*|\\n\\s*+\\*)\\s*+@required(?:\\s|\\*/$)#i', $doc))) { + if (!(\method_exists($reflectionProperty, 'getAttributes') ? $reflectionProperty->getAttributes(\RectorPrefix20220520\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 \RectorPrefix20220519\Symfony\Component\DependencyInjection\TypedReference($type, $type, \RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerInterface::EXCEPTION_ON_INVALID_REFERENCE, $name)); + $value->setProperty($name, new \RectorPrefix20220520\Symfony\Component\DependencyInjection\TypedReference($type, $type, \RectorPrefix20220520\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 245e3c6d05c..49cb5b8d47e 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 RectorPrefix20220519\Symfony\Component\DependencyInjection\Compiler; +namespace RectorPrefix20220520\Symfony\Component\DependencyInjection\Compiler; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Definition; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\RuntimeException; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Definition; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\RuntimeException; /** * Checks if arguments of methods are properly configured. * * @author Kévin Dunglas * @author Nicolas Grekas */ -class CheckArgumentsValidityPass extends \RectorPrefix20220519\Symfony\Component\DependencyInjection\Compiler\AbstractRecursivePass +class CheckArgumentsValidityPass extends \RectorPrefix20220520\Symfony\Component\DependencyInjection\Compiler\AbstractRecursivePass { /** * @var bool @@ -35,7 +35,7 @@ class CheckArgumentsValidityPass extends \RectorPrefix20220519\Symfony\Component */ protected function processValue($value, bool $isRoot = \false) { - if (!$value instanceof \RectorPrefix20220519\Symfony\Component\DependencyInjection\Definition) { + if (!$value instanceof \RectorPrefix20220520\Symfony\Component\DependencyInjection\Definition) { return parent::processValue($value, $isRoot); } $i = 0; @@ -50,21 +50,21 @@ class CheckArgumentsValidityPass extends \RectorPrefix20220519\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 \RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\RuntimeException($msg); + throw new \RectorPrefix20220520\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 \RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\RuntimeException($msg); + throw new \RectorPrefix20220520\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 \RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\RuntimeException($msg); + throw new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\RuntimeException($msg); } break; } @@ -82,21 +82,21 @@ class CheckArgumentsValidityPass extends \RectorPrefix20220519\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 \RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\RuntimeException($msg); + throw new \RectorPrefix20220520\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 \RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\RuntimeException($msg); + throw new \RectorPrefix20220520\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 \RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\RuntimeException($msg); + throw new \RectorPrefix20220520\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 76dd3ecd41c..d58b0008e6b 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 RectorPrefix20220519\Symfony\Component\DependencyInjection\Compiler; +namespace RectorPrefix20220520\Symfony\Component\DependencyInjection\Compiler; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerBuilder; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\ServiceCircularReferenceException; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\ContainerBuilder; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\ServiceCircularReferenceException; /** * Checks your services for circular references. * @@ -22,7 +22,7 @@ use RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\Service * * @author Johannes M. Schmitt */ -class CheckCircularReferencesPass implements \RectorPrefix20220519\Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface +class CheckCircularReferencesPass implements \RectorPrefix20220520\Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface { /** * @var mixed[] @@ -35,7 +35,7 @@ class CheckCircularReferencesPass implements \RectorPrefix20220519\Symfony\Compo /** * Checks the ContainerBuilder object for circular references. */ - public function process(\RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerBuilder $container) + public function process(\RectorPrefix20220520\Symfony\Component\DependencyInjection\ContainerBuilder $container) { $graph = $container->getCompiler()->getServiceReferenceGraph(); $this->checkedNodes = []; @@ -62,7 +62,7 @@ class CheckCircularReferencesPass implements \RectorPrefix20220519\Symfony\Compo $searchKey = \array_search($id, $this->currentPath); $this->currentPath[] = $id; if (\false !== $searchKey) { - throw new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\ServiceCircularReferenceException($id, \array_slice($this->currentPath, $searchKey)); + throw new \RectorPrefix20220520\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 bf2b4cf12f6..52802b8b72b 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 RectorPrefix20220519\Symfony\Component\DependencyInjection\Compiler; +namespace RectorPrefix20220520\Symfony\Component\DependencyInjection\Compiler; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerBuilder; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\EnvParameterException; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\RuntimeException; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Loader\FileLoader; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\ContainerBuilder; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\EnvParameterException; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\RuntimeException; +use RectorPrefix20220520\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,39 +26,39 @@ use RectorPrefix20220519\Symfony\Component\DependencyInjection\Loader\FileLoader * * @author Johannes M. Schmitt */ -class CheckDefinitionValidityPass implements \RectorPrefix20220519\Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface +class CheckDefinitionValidityPass implements \RectorPrefix20220520\Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface { /** * Processes the ContainerBuilder to validate the Definition. * * @throws RuntimeException When the Definition is invalid */ - public function process(\RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerBuilder $container) + public function process(\RectorPrefix20220520\Symfony\Component\DependencyInjection\ContainerBuilder $container) { foreach ($container->getDefinitions() as $id => $definition) { // synthetic service is public if ($definition->isSynthetic() && !$definition->isPublic()) { - throw new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\RuntimeException(\sprintf('A synthetic service ("%s") must be public.', $id)); + throw new \RectorPrefix20220520\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(\RectorPrefix20220519\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(\RectorPrefix20220520\Symfony\Component\DependencyInjection\Loader\FileLoader::ANONYMOUS_ID_REGEXP, $id))) { if ($definition->getFactory()) { - throw new \RectorPrefix20220519\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 \RectorPrefix20220520\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 \RectorPrefix20220519\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 \RectorPrefix20220520\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 \RectorPrefix20220519\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 \RectorPrefix20220520\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 \RectorPrefix20220519\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 \RectorPrefix20220520\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 \RectorPrefix20220519\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 \RectorPrefix20220520\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)); } } } @@ -66,7 +66,7 @@ class CheckDefinitionValidityPass implements \RectorPrefix20220519\Symfony\Compo if ($definition->isPublic() && !$definition->isPrivate()) { $resolvedId = $container->resolveEnvPlaceholders($id, null, $usedEnvs); if (null !== $usedEnvs) { - throw new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\EnvParameterException([$resolvedId], null, 'A service name ("%s") cannot contain dynamic values.'); + throw new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\EnvParameterException([$resolvedId], null, 'A service name ("%s") cannot contain dynamic values.'); } } } @@ -74,7 +74,7 @@ class CheckDefinitionValidityPass implements \RectorPrefix20220519\Symfony\Compo if ($alias->isPublic() && !$alias->isPrivate()) { $resolvedId = $container->resolveEnvPlaceholders($id, null, $usedEnvs); if (null !== $usedEnvs) { - throw new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\EnvParameterException([$resolvedId], null, 'An alias name ("%s") cannot contain dynamic values.'); + throw new \RectorPrefix20220520\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 41f55620a8f..f097021261c 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 RectorPrefix20220519\Symfony\Component\DependencyInjection\Compiler; +namespace RectorPrefix20220520\Symfony\Component\DependencyInjection\Compiler; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerBuilder; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerInterface; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Reference; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\ContainerBuilder; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\ContainerInterface; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Reference; /** * Checks that all references are pointing to a valid service. * * @author Johannes M. Schmitt */ -class CheckExceptionOnInvalidReferenceBehaviorPass extends \RectorPrefix20220519\Symfony\Component\DependencyInjection\Compiler\AbstractRecursivePass +class CheckExceptionOnInvalidReferenceBehaviorPass extends \RectorPrefix20220520\Symfony\Component\DependencyInjection\Compiler\AbstractRecursivePass { /** * @var mixed[] @@ -28,7 +28,7 @@ class CheckExceptionOnInvalidReferenceBehaviorPass extends \RectorPrefix20220519 /** * {@inheritdoc} */ - public function process(\RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerBuilder $container) + public function process(\RectorPrefix20220520\Symfony\Component\DependencyInjection\ContainerBuilder $container) { $this->serviceLocatorContextIds = []; foreach ($container->findTaggedServiceIds('container.service_locator_context') as $id => $tags) { @@ -47,10 +47,10 @@ class CheckExceptionOnInvalidReferenceBehaviorPass extends \RectorPrefix20220519 */ protected function processValue($value, bool $isRoot = \false) { - if (!$value instanceof \RectorPrefix20220519\Symfony\Component\DependencyInjection\Reference) { + if (!$value instanceof \RectorPrefix20220520\Symfony\Component\DependencyInjection\Reference) { return parent::processValue($value, $isRoot); } - if (\RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerInterface::EXCEPTION_ON_INVALID_REFERENCE < $value->getInvalidBehavior() || $this->container->has($id = (string) $value)) { + if (\RectorPrefix20220520\Symfony\Component\DependencyInjection\ContainerInterface::EXCEPTION_ON_INVALID_REFERENCE < $value->getInvalidBehavior() || $this->container->has($id = (string) $value)) { return $value; } $currentId = $this->currentId; @@ -63,13 +63,13 @@ class CheckExceptionOnInvalidReferenceBehaviorPass extends \RectorPrefix20220519 if ($k !== $id) { $currentId = $k . '" in the container provided to "' . $currentId; } - throw new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException($id, $currentId, null, $this->getAlternatives($id)); + throw new \RectorPrefix20220520\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 \RectorPrefix20220519\Symfony\Component\DependencyInjection\Reference || \RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerInterface::EXCEPTION_ON_INVALID_REFERENCE < $edge->getValue()->getInvalidBehavior()) { + if (!$edge->getValue() instanceof \RectorPrefix20220520\Symfony\Component\DependencyInjection\Reference || \RectorPrefix20220520\Symfony\Component\DependencyInjection\ContainerInterface::EXCEPTION_ON_INVALID_REFERENCE < $edge->getValue()->getInvalidBehavior()) { continue; } $sourceId = $edge->getSourceNode()->getId(); @@ -79,7 +79,7 @@ class CheckExceptionOnInvalidReferenceBehaviorPass extends \RectorPrefix20220519 } } } - throw new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException($id, $currentId, null, $this->getAlternatives($id)); + throw new \RectorPrefix20220520\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 28860aec9e0..0b7ce3ea897 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 RectorPrefix20220519\Symfony\Component\DependencyInjection\Compiler; +namespace RectorPrefix20220520\Symfony\Component\DependencyInjection\Compiler; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Definition; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\RuntimeException; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Reference; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Definition; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\RuntimeException; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Reference; /** * Checks the validity of references. * @@ -21,7 +21,7 @@ use RectorPrefix20220519\Symfony\Component\DependencyInjection\Reference; * * @author Johannes M. Schmitt */ -class CheckReferenceValidityPass extends \RectorPrefix20220519\Symfony\Component\DependencyInjection\Compiler\AbstractRecursivePass +class CheckReferenceValidityPass extends \RectorPrefix20220520\Symfony\Component\DependencyInjection\Compiler\AbstractRecursivePass { /** * @param mixed $value @@ -29,13 +29,13 @@ class CheckReferenceValidityPass extends \RectorPrefix20220519\Symfony\Component */ protected function processValue($value, bool $isRoot = \false) { - if ($isRoot && $value instanceof \RectorPrefix20220519\Symfony\Component\DependencyInjection\Definition && ($value->isSynthetic() || $value->isAbstract())) { + if ($isRoot && $value instanceof \RectorPrefix20220520\Symfony\Component\DependencyInjection\Definition && ($value->isSynthetic() || $value->isAbstract())) { return $value; } - if ($value instanceof \RectorPrefix20220519\Symfony\Component\DependencyInjection\Reference && $this->container->hasDefinition((string) $value)) { + if ($value instanceof \RectorPrefix20220520\Symfony\Component\DependencyInjection\Reference && $this->container->hasDefinition((string) $value)) { $targetDefinition = $this->container->getDefinition((string) $value); if ($targetDefinition->isAbstract()) { - throw new \RectorPrefix20220519\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 \RectorPrefix20220520\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 b0deb7bca9e..f33a535c212 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 RectorPrefix20220519\Symfony\Component\DependencyInjection\Compiler; +namespace RectorPrefix20220520\Symfony\Component\DependencyInjection\Compiler; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Argument\IteratorArgument; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Argument\RewindableGenerator; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Argument\ServiceClosureArgument; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Argument\ServiceLocatorArgument; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Container; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Definition; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\InvalidParameterTypeException; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\RuntimeException; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\ExpressionLanguage; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Parameter; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\ParameterBag\EnvPlaceholderParameterBag; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Reference; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\ServiceLocator; -use RectorPrefix20220519\Symfony\Component\ExpressionLanguage\Expression; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Argument\IteratorArgument; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Argument\RewindableGenerator; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Argument\ServiceClosureArgument; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Argument\ServiceLocatorArgument; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Container; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Definition; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\InvalidParameterTypeException; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\RuntimeException; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\ExpressionLanguage; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Parameter; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\ParameterBag\EnvPlaceholderParameterBag; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Reference; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\ServiceLocator; +use RectorPrefix20220520\Symfony\Component\ExpressionLanguage\Expression; /** * Checks whether injected parameters are compatible with type declarations. * @@ -37,7 +37,7 @@ use RectorPrefix20220519\Symfony\Component\ExpressionLanguage\Expression; * @author Nicolas Grekas * @author Julien Maulny */ -final class CheckTypeDeclarationsPass extends \RectorPrefix20220519\Symfony\Component\DependencyInjection\Compiler\AbstractRecursivePass +final class CheckTypeDeclarationsPass extends \RectorPrefix20220520\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]; @@ -70,7 +70,7 @@ final class CheckTypeDeclarationsPass extends \RectorPrefix20220519\Symfony\Comp if (isset($this->skippedIds[$this->currentId])) { return $value; } - if (!$value instanceof \RectorPrefix20220519\Symfony\Component\DependencyInjection\Definition || $value->hasErrors() || $value->isDeprecated()) { + if (!$value instanceof \RectorPrefix20220520\Symfony\Component\DependencyInjection\Definition || $value->hasErrors() || $value->isDeprecated()) { return parent::processValue($value, $isRoot); } if (!$this->autoload) { @@ -81,7 +81,7 @@ final class CheckTypeDeclarationsPass extends \RectorPrefix20220519\Symfony\Comp return parent::processValue($value, $isRoot); } } - if (\RectorPrefix20220519\Symfony\Component\DependencyInjection\ServiceLocator::class === $value->getClass()) { + if (\RectorPrefix20220520\Symfony\Component\DependencyInjection\ServiceLocator::class === $value->getClass()) { return parent::processValue($value, $isRoot); } if ($constructor = $this->getConstructor($value, \false)) { @@ -90,7 +90,7 @@ final class CheckTypeDeclarationsPass extends \RectorPrefix20220519\Symfony\Comp foreach ($value->getMethodCalls() as $methodCall) { try { $reflectionMethod = $this->getReflectionMethod($value, $methodCall[0]); - } catch (\RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\RuntimeException $e) { + } catch (\RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\RuntimeException $e) { if ($value->getFactory()) { continue; } @@ -103,15 +103,15 @@ final class CheckTypeDeclarationsPass extends \RectorPrefix20220519\Symfony\Comp /** * @throws InvalidArgumentException When not enough parameters are defined for the method */ - private function checkTypeDeclarations(\RectorPrefix20220519\Symfony\Component\DependencyInjection\Definition $checkedDefinition, \ReflectionFunctionAbstract $reflectionFunction, array $values) : void + private function checkTypeDeclarations(\RectorPrefix20220520\Symfony\Component\DependencyInjection\Definition $checkedDefinition, \ReflectionFunctionAbstract $reflectionFunction, array $values) : void { $numberOfRequiredParameters = $reflectionFunction->getNumberOfRequiredParameters(); if (\count($values) < $numberOfRequiredParameters) { - throw new \RectorPrefix20220519\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 \RectorPrefix20220520\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 \RectorPrefix20220519\Symfony\Component\DependencyInjection\ParameterBag\EnvPlaceholderParameterBag ? $this->container->getParameterBag()->getEnvPlaceholderUniquePrefix() : null; + $envPlaceholderUniquePrefix = $this->container->getParameterBag() instanceof \RectorPrefix20220520\Symfony\Component\DependencyInjection\ParameterBag\EnvPlaceholderParameterBag ? $this->container->getParameterBag()->getEnvPlaceholderUniquePrefix() : null; for ($i = 0; $i < $checksCount; ++$i) { if (!$reflectionParameters[$i]->hasType() || $reflectionParameters[$i]->isVariadic()) { continue; @@ -129,7 +129,7 @@ final class CheckTypeDeclarationsPass extends \RectorPrefix20220519\Symfony\Comp * @throws InvalidParameterTypeException When a parameter is not compatible with the declared type * @param mixed $value */ - private function checkType(\RectorPrefix20220519\Symfony\Component\DependencyInjection\Definition $checkedDefinition, $value, \ReflectionParameter $parameter, ?string $envPlaceholderUniquePrefix, \ReflectionType $reflectionType = null) : void + private function checkType(\RectorPrefix20220520\Symfony\Component\DependencyInjection\Definition $checkedDefinition, $value, \ReflectionParameter $parameter, ?string $envPlaceholderUniquePrefix, \ReflectionType $reflectionType = null) : void { $reflectionType = $reflectionType ?? $parameter->getType(); if ($reflectionType instanceof \ReflectionUnionType) { @@ -137,12 +137,12 @@ final class CheckTypeDeclarationsPass extends \RectorPrefix20220519\Symfony\Comp try { $this->checkType($checkedDefinition, $value, $parameter, $envPlaceholderUniquePrefix, $t); return; - } catch (\RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\InvalidParameterTypeException $e) { + } catch (\RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\InvalidParameterTypeException $e) { } } - throw new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\InvalidParameterTypeException($this->currentId, $e->getCode(), $parameter); + throw new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\InvalidParameterTypeException($this->currentId, $e->getCode(), $parameter); } - if ($reflectionType instanceof \RectorPrefix20220519\ReflectionIntersectionType) { + if ($reflectionType instanceof \RectorPrefix20220520\ReflectionIntersectionType) { foreach ($reflectionType->getTypes() as $t) { $this->checkType($checkedDefinition, $value, $parameter, $envPlaceholderUniquePrefix, $t); } @@ -152,11 +152,11 @@ final class CheckTypeDeclarationsPass extends \RectorPrefix20220519\Symfony\Comp return; } $type = $reflectionType->getName(); - if ($value instanceof \RectorPrefix20220519\Symfony\Component\DependencyInjection\Reference) { + if ($value instanceof \RectorPrefix20220520\Symfony\Component\DependencyInjection\Reference) { if (!$this->container->has($value = (string) $value)) { return; } - if ('service_container' === $value && \is_a($type, \RectorPrefix20220519\Symfony\Component\DependencyInjection\Container::class, \true)) { + if ('service_container' === $value && \is_a($type, \RectorPrefix20220520\Symfony\Component\DependencyInjection\Container::class, \true)) { return; } $value = $this->container->findDefinition($value); @@ -168,7 +168,7 @@ final class CheckTypeDeclarationsPass extends \RectorPrefix20220519\Symfony\Comp $type = $checkedDefinition->getClass(); } $class = null; - if ($value instanceof \RectorPrefix20220519\Symfony\Component\DependencyInjection\Definition) { + if ($value instanceof \RectorPrefix20220520\Symfony\Component\DependencyInjection\Definition) { if ($value->getFactory()) { return; } @@ -178,9 +178,9 @@ final class CheckTypeDeclarationsPass extends \RectorPrefix20220519\Symfony\Comp } elseif (!$class || !$this->autoload && !\class_exists($class, \false) && !\interface_exists($class, \false)) { return; } - } elseif ($value instanceof \RectorPrefix20220519\Symfony\Component\DependencyInjection\Parameter) { + } elseif ($value instanceof \RectorPrefix20220520\Symfony\Component\DependencyInjection\Parameter) { $value = $this->container->getParameter($value); - } elseif ($value instanceof \RectorPrefix20220519\Symfony\Component\ExpressionLanguage\Expression) { + } elseif ($value instanceof \RectorPrefix20220520\Symfony\Component\ExpressionLanguage\Expression) { try { $value = $this->getExpressionLanguage()->evaluate($value, ['container' => $this->container]); } catch (\Exception $e) { @@ -208,12 +208,12 @@ final class CheckTypeDeclarationsPass extends \RectorPrefix20220519\Symfony\Comp return; } if (null === $class) { - if ($value instanceof \RectorPrefix20220519\Symfony\Component\DependencyInjection\Argument\IteratorArgument) { - $class = \RectorPrefix20220519\Symfony\Component\DependencyInjection\Argument\RewindableGenerator::class; - } elseif ($value instanceof \RectorPrefix20220519\Symfony\Component\DependencyInjection\Argument\ServiceClosureArgument) { + if ($value instanceof \RectorPrefix20220520\Symfony\Component\DependencyInjection\Argument\IteratorArgument) { + $class = \RectorPrefix20220520\Symfony\Component\DependencyInjection\Argument\RewindableGenerator::class; + } elseif ($value instanceof \RectorPrefix20220520\Symfony\Component\DependencyInjection\Argument\ServiceClosureArgument) { $class = \Closure::class; - } elseif ($value instanceof \RectorPrefix20220519\Symfony\Component\DependencyInjection\Argument\ServiceLocatorArgument) { - $class = \RectorPrefix20220519\Symfony\Component\DependencyInjection\ServiceLocator::class; + } elseif ($value instanceof \RectorPrefix20220520\Symfony\Component\DependencyInjection\Argument\ServiceLocatorArgument) { + $class = \RectorPrefix20220520\Symfony\Component\DependencyInjection\ServiceLocator::class; } elseif (\is_object($value)) { $class = \get_class($value); } else { @@ -230,7 +230,7 @@ final class CheckTypeDeclarationsPass extends \RectorPrefix20220519\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 \RectorPrefix20220519\Symfony\Component\DependencyInjection\Reference || $value[0] instanceof \RectorPrefix20220519\Symfony\Component\DependencyInjection\Definition || \is_string($value[0]))) { + if ('callable' === $type && \is_array($value) && isset($value[0]) && ($value[0] instanceof \RectorPrefix20220520\Symfony\Component\DependencyInjection\Reference || $value[0] instanceof \RectorPrefix20220520\Symfony\Component\DependencyInjection\Definition || \is_string($value[0]))) { return; } if ('iterable' === $type && (\is_array($value) || 'array' === $class || \is_subclass_of($class, \Traversable::class))) { @@ -258,10 +258,10 @@ final class CheckTypeDeclarationsPass extends \RectorPrefix20220519\Symfony\Comp return; } } - throw new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\InvalidParameterTypeException($this->currentId, \is_object($value) ? $class : \get_debug_type($value), $parameter); + throw new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\InvalidParameterTypeException($this->currentId, \is_object($value) ? $class : \get_debug_type($value), $parameter); } - private function getExpressionLanguage() : \RectorPrefix20220519\Symfony\Component\DependencyInjection\ExpressionLanguage + private function getExpressionLanguage() : \RectorPrefix20220520\Symfony\Component\DependencyInjection\ExpressionLanguage { - return $this->expressionLanguage = $this->expressionLanguage ?? new \RectorPrefix20220519\Symfony\Component\DependencyInjection\ExpressionLanguage(null, $this->container->getExpressionLanguageProviders()); + return $this->expressionLanguage = $this->expressionLanguage ?? new \RectorPrefix20220520\Symfony\Component\DependencyInjection\ExpressionLanguage(null, $this->container->getExpressionLanguageProviders()); } } diff --git a/vendor/symfony/dependency-injection/Compiler/Compiler.php b/vendor/symfony/dependency-injection/Compiler/Compiler.php index de197b2a695..f4d6fd627db 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 RectorPrefix20220519\Symfony\Component\DependencyInjection\Compiler; +namespace RectorPrefix20220520\Symfony\Component\DependencyInjection\Compiler; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerBuilder; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\EnvParameterException; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\ContainerBuilder; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\EnvParameterException; /** * This class is used to remove circular dependencies between individual passes. * @@ -27,25 +27,25 @@ class Compiler private $serviceReferenceGraph; public function __construct() { - $this->passConfig = new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Compiler\PassConfig(); - $this->serviceReferenceGraph = new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Compiler\ServiceReferenceGraph(); + $this->passConfig = new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Compiler\PassConfig(); + $this->serviceReferenceGraph = new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Compiler\ServiceReferenceGraph(); } - public function getPassConfig() : \RectorPrefix20220519\Symfony\Component\DependencyInjection\Compiler\PassConfig + public function getPassConfig() : \RectorPrefix20220520\Symfony\Component\DependencyInjection\Compiler\PassConfig { return $this->passConfig; } - public function getServiceReferenceGraph() : \RectorPrefix20220519\Symfony\Component\DependencyInjection\Compiler\ServiceReferenceGraph + public function getServiceReferenceGraph() : \RectorPrefix20220520\Symfony\Component\DependencyInjection\Compiler\ServiceReferenceGraph { return $this->serviceReferenceGraph; } - public function addPass(\RectorPrefix20220519\Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface $pass, string $type = \RectorPrefix20220519\Symfony\Component\DependencyInjection\Compiler\PassConfig::TYPE_BEFORE_OPTIMIZATION, int $priority = 0) + public function addPass(\RectorPrefix20220520\Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface $pass, string $type = \RectorPrefix20220520\Symfony\Component\DependencyInjection\Compiler\PassConfig::TYPE_BEFORE_OPTIMIZATION, int $priority = 0) { $this->passConfig->addPass($pass, $type, $priority); } /** * @final */ - public function log(\RectorPrefix20220519\Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface $pass, string $message) + public function log(\RectorPrefix20220520\Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface $pass, string $message) { if (\strpos($message, "\n") !== \false) { $message = \str_replace("\n", "\n" . \get_class($pass) . ': ', \trim($message)); @@ -59,7 +59,7 @@ class Compiler /** * Run the Compiler and process all Passes. */ - public function compile(\RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerBuilder $container) + public function compile(\RectorPrefix20220520\Symfony\Component\DependencyInjection\ContainerBuilder $container) { try { foreach ($this->passConfig->getPasses() as $pass) { @@ -77,7 +77,7 @@ class Compiler } } while ($prev = $prev->getPrevious()); if ($usedEnvs) { - $e = new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\EnvParameterException($usedEnvs, $e); + $e = new \RectorPrefix20220520\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 1c95a1a817c..981d843fd00 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 RectorPrefix20220519\Symfony\Component\DependencyInjection\Compiler; +namespace RectorPrefix20220520\Symfony\Component\DependencyInjection\Compiler; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerBuilder; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\ContainerBuilder; /** * Interface that must be implemented by compilation passes. * @@ -21,5 +21,5 @@ interface CompilerPassInterface /** * You can modify the container here before it is dumped to PHP code. */ - public function process(\RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerBuilder $container); + public function process(\RectorPrefix20220520\Symfony\Component\DependencyInjection\ContainerBuilder $container); } diff --git a/vendor/symfony/dependency-injection/Compiler/DecoratorServicePass.php b/vendor/symfony/dependency-injection/Compiler/DecoratorServicePass.php index 2e51a212e76..c0ef81b3e0a 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 RectorPrefix20220519\Symfony\Component\DependencyInjection\Compiler; +namespace RectorPrefix20220520\Symfony\Component\DependencyInjection\Compiler; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Alias; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerBuilder; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerInterface; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Reference; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Alias; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\ContainerBuilder; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\ContainerInterface; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Reference; /** * Overwrites a service but keeps the overridden one. * @@ -23,9 +23,9 @@ use RectorPrefix20220519\Symfony\Component\DependencyInjection\Reference; * @author Fabien Potencier * @author Diego Saint Esteben */ -class DecoratorServicePass extends \RectorPrefix20220519\Symfony\Component\DependencyInjection\Compiler\AbstractRecursivePass +class DecoratorServicePass extends \RectorPrefix20220520\Symfony\Component\DependencyInjection\Compiler\AbstractRecursivePass { - public function process(\RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerBuilder $container) + public function process(\RectorPrefix20220520\Symfony\Component\DependencyInjection\ContainerBuilder $container) { $definitions = new \SplPriorityQueue(); $order = \PHP_INT_MAX; @@ -39,7 +39,7 @@ class DecoratorServicePass extends \RectorPrefix20220519\Symfony\Component\Depen foreach ($definitions as [$id, $definition]) { $decoratedService = $definition->getDecoratedService(); [$inner, $renamedId] = $decoratedService; - $invalidBehavior = $decoratedService[3] ?? \RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerInterface::EXCEPTION_ON_INVALID_REFERENCE; + $invalidBehavior = $decoratedService[3] ?? \RectorPrefix20220520\Symfony\Component\DependencyInjection\ContainerInterface::EXCEPTION_ON_INVALID_REFERENCE; $definition->setDecoratedService(null); if (!$renamedId) { $renamedId = $id . '.inner'; @@ -53,7 +53,7 @@ class DecoratorServicePass extends \RectorPrefix20220519\Symfony\Component\Depen if ($container->hasAlias($inner)) { $alias = $container->getAlias($inner); $public = $alias->isPublic(); - $container->setAlias($renamedId, new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Alias((string) $alias, \false)); + $container->setAlias($renamedId, new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Alias((string) $alias, \false)); $decoratedDefinition = $container->findDefinition($alias); } elseif ($container->hasDefinition($inner)) { $decoratedDefinition = $container->getDefinition($inner); @@ -61,17 +61,17 @@ class DecoratorServicePass extends \RectorPrefix20220519\Symfony\Component\Depen $decoratedDefinition->setPublic(\false); $container->setDefinition($renamedId, $decoratedDefinition); $decoratingDefinitions[$inner] = $decoratedDefinition; - } elseif (\RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerInterface::IGNORE_ON_INVALID_REFERENCE === $invalidBehavior) { + } elseif (\RectorPrefix20220520\Symfony\Component\DependencyInjection\ContainerInterface::IGNORE_ON_INVALID_REFERENCE === $invalidBehavior) { $container->removeDefinition($id); continue; - } elseif (\RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerInterface::NULL_ON_INVALID_REFERENCE === $invalidBehavior) { + } elseif (\RectorPrefix20220520\Symfony\Component\DependencyInjection\ContainerInterface::NULL_ON_INVALID_REFERENCE === $invalidBehavior) { $public = $definition->isPublic(); $decoratedDefinition = null; } else { - throw new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException($inner, $id); + throw new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException($inner, $id); } if ($decoratedDefinition && $decoratedDefinition->isSynthetic()) { - throw new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('A synthetic service cannot be decorated: service "%s" cannot decorate "%s".', $id, $inner)); + throw new \RectorPrefix20220520\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]; @@ -97,8 +97,8 @@ class DecoratorServicePass extends \RectorPrefix20220519\Symfony\Component\Depen */ protected function processValue($value, bool $isRoot = \false) { - if ($value instanceof \RectorPrefix20220519\Symfony\Component\DependencyInjection\Reference && '.inner' === (string) $value) { - return new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Reference($this->currentId, $value->getInvalidBehavior()); + if ($value instanceof \RectorPrefix20220520\Symfony\Component\DependencyInjection\Reference && '.inner' === (string) $value) { + return new \RectorPrefix20220520\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 75ee31fdd6f..2d32353407d 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 RectorPrefix20220519\Symfony\Component\DependencyInjection\Compiler; +namespace RectorPrefix20220520\Symfony\Component\DependencyInjection\Compiler; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerInterface; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Definition; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\RuntimeException; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Reference; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\ContainerInterface; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Definition; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\RuntimeException; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Reference; /** * Throws an exception for any Definitions that have errors and still exist. * * @author Ryan Weaver */ -class DefinitionErrorExceptionPass extends \RectorPrefix20220519\Symfony\Component\DependencyInjection\Compiler\AbstractRecursivePass +class DefinitionErrorExceptionPass extends \RectorPrefix20220520\Symfony\Component\DependencyInjection\Compiler\AbstractRecursivePass { /** * {@inheritdoc} @@ -28,14 +28,14 @@ class DefinitionErrorExceptionPass extends \RectorPrefix20220519\Symfony\Compone */ protected function processValue($value, bool $isRoot = \false) { - if (!$value instanceof \RectorPrefix20220519\Symfony\Component\DependencyInjection\Definition || !$value->hasErrors()) { + if (!$value instanceof \RectorPrefix20220520\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 \RectorPrefix20220519\Symfony\Component\DependencyInjection\Reference || \RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerInterface::RUNTIME_EXCEPTION_ON_INVALID_REFERENCE !== $edge->getValue()->getInvalidBehavior()) { + if (!$edge->getValue() instanceof \RectorPrefix20220520\Symfony\Component\DependencyInjection\Reference || \RectorPrefix20220520\Symfony\Component\DependencyInjection\ContainerInterface::RUNTIME_EXCEPTION_ON_INVALID_REFERENCE !== $edge->getValue()->getInvalidBehavior()) { $runtimeException = \false; break; } @@ -48,6 +48,6 @@ class DefinitionErrorExceptionPass extends \RectorPrefix20220519\Symfony\Compone // only show the first error so the user can focus on it $errors = $value->getErrors(); $message = \reset($errors); - throw new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\RuntimeException($message); + throw new \RectorPrefix20220520\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 ddbb3aa2892..401fc218ea5 100644 --- a/vendor/symfony/dependency-injection/Compiler/ExtensionCompilerPass.php +++ b/vendor/symfony/dependency-injection/Compiler/ExtensionCompilerPass.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 RectorPrefix20220519\Symfony\Component\DependencyInjection\Compiler; +namespace RectorPrefix20220520\Symfony\Component\DependencyInjection\Compiler; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerBuilder; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\ContainerBuilder; /** * A pass to automatically process extensions if they implement * CompilerPassInterface. * * @author Wouter J */ -class ExtensionCompilerPass implements \RectorPrefix20220519\Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface +class ExtensionCompilerPass implements \RectorPrefix20220520\Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface { /** * {@inheritdoc} */ - public function process(\RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerBuilder $container) + public function process(\RectorPrefix20220520\Symfony\Component\DependencyInjection\ContainerBuilder $container) { foreach ($container->getExtensions() as $extension) { - if (!$extension instanceof \RectorPrefix20220519\Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface) { + if (!$extension instanceof \RectorPrefix20220520\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 2e056625c9a..a5d378892d5 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 RectorPrefix20220519\Symfony\Component\DependencyInjection\Compiler; +namespace RectorPrefix20220520\Symfony\Component\DependencyInjection\Compiler; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Argument\ArgumentInterface; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerBuilder; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Definition; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\ServiceCircularReferenceException; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Reference; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Argument\ArgumentInterface; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\ContainerBuilder; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Definition; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\ServiceCircularReferenceException; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Reference; /** * Inline service definitions where this is possible. * * @author Johannes M. Schmitt */ -class InlineServiceDefinitionsPass extends \RectorPrefix20220519\Symfony\Component\DependencyInjection\Compiler\AbstractRecursivePass +class InlineServiceDefinitionsPass extends \RectorPrefix20220520\Symfony\Component\DependencyInjection\Compiler\AbstractRecursivePass { private $analyzingPass; /** @@ -44,15 +44,15 @@ class InlineServiceDefinitionsPass extends \RectorPrefix20220519\Symfony\Compone */ private $notInlinableIds = []; private $graph = null; - public function __construct(\RectorPrefix20220519\Symfony\Component\DependencyInjection\Compiler\AnalyzeServiceReferencesPass $analyzingPass = null) + public function __construct(\RectorPrefix20220520\Symfony\Component\DependencyInjection\Compiler\AnalyzeServiceReferencesPass $analyzingPass = null) { $this->analyzingPass = $analyzingPass; } - public function process(\RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerBuilder $container) + public function process(\RectorPrefix20220520\Symfony\Component\DependencyInjection\ContainerBuilder $container) { $this->container = $container; if ($this->analyzingPass) { - $analyzedContainer = new \RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerBuilder(); + $analyzedContainer = new \RectorPrefix20220520\Symfony\Component\DependencyInjection\ContainerBuilder(); $analyzedContainer->setAliases($container->getAliases()); $analyzedContainer->setDefinitions($container->getDefinitions()); foreach ($container->getExpressionLanguageProviders() as $provider) { @@ -116,17 +116,17 @@ class InlineServiceDefinitionsPass extends \RectorPrefix20220519\Symfony\Compone */ protected function processValue($value, bool $isRoot = \false) { - if ($value instanceof \RectorPrefix20220519\Symfony\Component\DependencyInjection\Argument\ArgumentInterface) { + if ($value instanceof \RectorPrefix20220520\Symfony\Component\DependencyInjection\Argument\ArgumentInterface) { // References found in ArgumentInterface::getValues() are not inlineable return $value; } - if ($value instanceof \RectorPrefix20220519\Symfony\Component\DependencyInjection\Definition && $this->cloningIds) { + if ($value instanceof \RectorPrefix20220520\Symfony\Component\DependencyInjection\Definition && $this->cloningIds) { if ($value->isShared()) { return $value; } $value = clone $value; } - if (!$value instanceof \RectorPrefix20220519\Symfony\Component\DependencyInjection\Reference) { + if (!$value instanceof \RectorPrefix20220520\Symfony\Component\DependencyInjection\Reference) { return parent::processValue($value, $isRoot); } elseif (!$this->container->hasDefinition($id = (string) $value)) { return $value; @@ -145,7 +145,7 @@ class InlineServiceDefinitionsPass extends \RectorPrefix20220519\Symfony\Compone if (isset($this->cloningIds[$id])) { $ids = \array_keys($this->cloningIds); $ids[] = $id; - throw new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\ServiceCircularReferenceException($id, \array_slice($ids, \array_search($id, $ids))); + throw new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\ServiceCircularReferenceException($id, \array_slice($ids, \array_search($id, $ids))); } $this->cloningIds[$id] = \true; try { @@ -157,7 +157,7 @@ class InlineServiceDefinitionsPass extends \RectorPrefix20220519\Symfony\Compone /** * Checks if the definition is inlineable. */ - private function isInlineableDefinition(string $id, \RectorPrefix20220519\Symfony\Component\DependencyInjection\Definition $definition) : bool + private function isInlineableDefinition(string $id, \RectorPrefix20220520\Symfony\Component\DependencyInjection\Definition $definition) : bool { if ($definition->hasErrors() || $definition->isDeprecated() || $definition->isLazy() || $definition->isSynthetic()) { return \false; @@ -200,7 +200,7 @@ class InlineServiceDefinitionsPass extends \RectorPrefix20220519\Symfony\Compone $this->notInlinedIds[$id] = \true; return \false; } - if ($srcCount > 1 && \is_array($factory = $definition->getFactory()) && ($factory[0] instanceof \RectorPrefix20220519\Symfony\Component\DependencyInjection\Reference || $factory[0] instanceof \RectorPrefix20220519\Symfony\Component\DependencyInjection\Definition)) { + if ($srcCount > 1 && \is_array($factory = $definition->getFactory()) && ($factory[0] instanceof \RectorPrefix20220520\Symfony\Component\DependencyInjection\Reference || $factory[0] instanceof \RectorPrefix20220520\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 3f55528792b..c30c51835ca 100644 --- a/vendor/symfony/dependency-injection/Compiler/MergeExtensionConfigurationPass.php +++ b/vendor/symfony/dependency-injection/Compiler/MergeExtensionConfigurationPass.php @@ -8,37 +8,37 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20220519\Symfony\Component\DependencyInjection\Compiler; +namespace RectorPrefix20220520\Symfony\Component\DependencyInjection\Compiler; -use RectorPrefix20220519\Symfony\Component\Config\Definition\BaseNode; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerBuilder; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\LogicException; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\RuntimeException; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Extension\ConfigurationExtensionInterface; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Extension\Extension; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Extension\ExtensionInterface; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Extension\PrependExtensionInterface; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\ParameterBag\EnvPlaceholderParameterBag; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\ParameterBag\ParameterBagInterface; +use RectorPrefix20220520\Symfony\Component\Config\Definition\BaseNode; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\ContainerBuilder; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\LogicException; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\RuntimeException; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Extension\ConfigurationExtensionInterface; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Extension\Extension; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Extension\ExtensionInterface; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Extension\PrependExtensionInterface; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\ParameterBag\EnvPlaceholderParameterBag; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\ParameterBag\ParameterBagInterface; /** * Merges extension configs into the container builder. * * @author Fabien Potencier */ -class MergeExtensionConfigurationPass implements \RectorPrefix20220519\Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface +class MergeExtensionConfigurationPass implements \RectorPrefix20220520\Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface { /** * {@inheritdoc} */ - public function process(\RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerBuilder $container) + public function process(\RectorPrefix20220520\Symfony\Component\DependencyInjection\ContainerBuilder $container) { $parameters = $container->getParameterBag()->all(); $definitions = $container->getDefinitions(); $aliases = $container->getAliases(); $exprLangProviders = $container->getExpressionLanguageProviders(); - $configAvailable = \class_exists(\RectorPrefix20220519\Symfony\Component\Config\Definition\BaseNode::class); + $configAvailable = \class_exists(\RectorPrefix20220520\Symfony\Component\Config\Definition\BaseNode::class); foreach ($container->getExtensions() as $extension) { - if ($extension instanceof \RectorPrefix20220519\Symfony\Component\DependencyInjection\Extension\PrependExtensionInterface) { + if ($extension instanceof \RectorPrefix20220520\Symfony\Component\DependencyInjection\Extension\PrependExtensionInterface) { $extension->prepend($container); } } @@ -48,19 +48,19 @@ class MergeExtensionConfigurationPass implements \RectorPrefix20220519\Symfony\C continue; } $resolvingBag = $container->getParameterBag(); - if ($resolvingBag instanceof \RectorPrefix20220519\Symfony\Component\DependencyInjection\ParameterBag\EnvPlaceholderParameterBag && $extension instanceof \RectorPrefix20220519\Symfony\Component\DependencyInjection\Extension\Extension) { + if ($resolvingBag instanceof \RectorPrefix20220520\Symfony\Component\DependencyInjection\ParameterBag\EnvPlaceholderParameterBag && $extension instanceof \RectorPrefix20220520\Symfony\Component\DependencyInjection\Extension\Extension) { // create a dedicated bag so that we can track env vars per-extension - $resolvingBag = new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Compiler\MergeExtensionConfigurationParameterBag($resolvingBag); + $resolvingBag = new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Compiler\MergeExtensionConfigurationParameterBag($resolvingBag); if ($configAvailable) { - \RectorPrefix20220519\Symfony\Component\Config\Definition\BaseNode::setPlaceholderUniquePrefix($resolvingBag->getEnvPlaceholderUniquePrefix()); + \RectorPrefix20220520\Symfony\Component\Config\Definition\BaseNode::setPlaceholderUniquePrefix($resolvingBag->getEnvPlaceholderUniquePrefix()); } } $config = $resolvingBag->resolveValue($config); try { - $tmpContainer = new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Compiler\MergeExtensionConfigurationContainerBuilder($extension, $resolvingBag); + $tmpContainer = new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Compiler\MergeExtensionConfigurationContainerBuilder($extension, $resolvingBag); $tmpContainer->setResourceTracking($container->isTrackingResources()); $tmpContainer->addObjectResource($extension); - if ($extension instanceof \RectorPrefix20220519\Symfony\Component\DependencyInjection\Extension\ConfigurationExtensionInterface && null !== ($configuration = $extension->getConfiguration($config, $tmpContainer))) { + if ($extension instanceof \RectorPrefix20220520\Symfony\Component\DependencyInjection\Extension\ConfigurationExtensionInterface && null !== ($configuration = $extension->getConfiguration($config, $tmpContainer))) { $tmpContainer->addObjectResource($configuration); } foreach ($exprLangProviders as $provider) { @@ -68,12 +68,12 @@ class MergeExtensionConfigurationPass implements \RectorPrefix20220519\Symfony\C } $extension->load($config, $tmpContainer); } catch (\Exception $e) { - if ($resolvingBag instanceof \RectorPrefix20220519\Symfony\Component\DependencyInjection\Compiler\MergeExtensionConfigurationParameterBag) { + if ($resolvingBag instanceof \RectorPrefix20220520\Symfony\Component\DependencyInjection\Compiler\MergeExtensionConfigurationParameterBag) { $container->getParameterBag()->mergeEnvPlaceholders($resolvingBag); } throw $e; } - if ($resolvingBag instanceof \RectorPrefix20220519\Symfony\Component\DependencyInjection\Compiler\MergeExtensionConfigurationParameterBag) { + if ($resolvingBag instanceof \RectorPrefix20220520\Symfony\Component\DependencyInjection\Compiler\MergeExtensionConfigurationParameterBag) { // don't keep track of env vars that are *overridden* when configs are merged $resolvingBag->freezeAfterProcessing($extension, $tmpContainer); } @@ -87,7 +87,7 @@ class MergeExtensionConfigurationPass implements \RectorPrefix20220519\Symfony\C /** * @internal */ -class MergeExtensionConfigurationParameterBag extends \RectorPrefix20220519\Symfony\Component\DependencyInjection\ParameterBag\EnvPlaceholderParameterBag +class MergeExtensionConfigurationParameterBag extends \RectorPrefix20220520\Symfony\Component\DependencyInjection\ParameterBag\EnvPlaceholderParameterBag { /** * @var mixed[] @@ -98,7 +98,7 @@ class MergeExtensionConfigurationParameterBag extends \RectorPrefix20220519\Symf parent::__construct($parameterBag->all()); $this->mergeEnvPlaceholders($parameterBag); } - public function freezeAfterProcessing(\RectorPrefix20220519\Symfony\Component\DependencyInjection\Extension\Extension $extension, \RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerBuilder $container) + public function freezeAfterProcessing(\RectorPrefix20220520\Symfony\Component\DependencyInjection\Extension\Extension $extension, \RectorPrefix20220520\Symfony\Component\DependencyInjection\ContainerBuilder $container) { if (!($config = $extension->getProcessedConfigs())) { // Extension::processConfiguration() wasn't called, we cannot know how configs were merged @@ -133,13 +133,13 @@ class MergeExtensionConfigurationParameterBag extends \RectorPrefix20220519\Symf * * @internal */ -class MergeExtensionConfigurationContainerBuilder extends \RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerBuilder +class MergeExtensionConfigurationContainerBuilder extends \RectorPrefix20220520\Symfony\Component\DependencyInjection\ContainerBuilder { /** * @var string */ private $extensionClass; - public function __construct(\RectorPrefix20220519\Symfony\Component\DependencyInjection\Extension\ExtensionInterface $extension, \RectorPrefix20220519\Symfony\Component\DependencyInjection\ParameterBag\ParameterBagInterface $parameterBag = null) + public function __construct(\RectorPrefix20220520\Symfony\Component\DependencyInjection\Extension\ExtensionInterface $extension, \RectorPrefix20220520\Symfony\Component\DependencyInjection\ParameterBag\ParameterBagInterface $parameterBag = null) { parent::__construct($parameterBag); $this->extensionClass = \get_class($extension); @@ -148,23 +148,23 @@ class MergeExtensionConfigurationContainerBuilder extends \RectorPrefix20220519\ * {@inheritdoc} * @return $this */ - public function addCompilerPass(\RectorPrefix20220519\Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface $pass, string $type = \RectorPrefix20220519\Symfony\Component\DependencyInjection\Compiler\PassConfig::TYPE_BEFORE_OPTIMIZATION, int $priority = 0) + public function addCompilerPass(\RectorPrefix20220520\Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface $pass, string $type = \RectorPrefix20220520\Symfony\Component\DependencyInjection\Compiler\PassConfig::TYPE_BEFORE_OPTIMIZATION, int $priority = 0) { - throw new \RectorPrefix20220519\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 \RectorPrefix20220520\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} */ - public function registerExtension(\RectorPrefix20220519\Symfony\Component\DependencyInjection\Extension\ExtensionInterface $extension) + public function registerExtension(\RectorPrefix20220520\Symfony\Component\DependencyInjection\Extension\ExtensionInterface $extension) { - throw new \RectorPrefix20220519\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 \RectorPrefix20220520\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} */ public function compile(bool $resolveEnvPlaceholders = \false) { - throw new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\LogicException(\sprintf('Cannot compile the container in extension "%s".', $this->extensionClass)); + throw new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\LogicException(\sprintf('Cannot compile the container in extension "%s".', $this->extensionClass)); } /** * {@inheritdoc} @@ -179,7 +179,7 @@ class MergeExtensionConfigurationContainerBuilder extends \RectorPrefix20220519\ } $bag = $this->getParameterBag(); $value = $bag->resolveValue($value); - if (!$bag instanceof \RectorPrefix20220519\Symfony\Component\DependencyInjection\ParameterBag\EnvPlaceholderParameterBag) { + if (!$bag instanceof \RectorPrefix20220520\Symfony\Component\DependencyInjection\ParameterBag\EnvPlaceholderParameterBag) { return parent::resolveEnvPlaceholders($value, $format, $usedEnvs); } foreach ($bag->getEnvPlaceholders() as $env => $placeholders) { @@ -188,7 +188,7 @@ class MergeExtensionConfigurationContainerBuilder extends \RectorPrefix20220519\ } foreach ($placeholders as $placeholder) { if (\false !== \stripos($value, $placeholder)) { - throw new \RectorPrefix20220519\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 \RectorPrefix20220520\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 ae839ecb7c1..d7d42654340 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 RectorPrefix20220519\Symfony\Component\DependencyInjection\Compiler; +namespace RectorPrefix20220520\Symfony\Component\DependencyInjection\Compiler; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException; /** * Compiler Pass Configuration. * @@ -48,11 +48,11 @@ class PassConfig private $removingPasses; public function __construct() { - $this->mergePass = new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Compiler\MergeExtensionConfigurationPass(); - $this->beforeOptimizationPasses = [100 => [new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Compiler\ResolveClassPass(), new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Compiler\RegisterAutoconfigureAttributesPass(), new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Compiler\AttributeAutoconfigurationPass(), new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Compiler\ResolveInstanceofConditionalsPass(), new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Compiler\RegisterEnvVarProcessorsPass()], -1000 => [new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Compiler\ExtensionCompilerPass()]]; - $this->optimizationPasses = [[new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Compiler\AutoAliasServicePass(), new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Compiler\ValidateEnvPlaceholdersPass(), new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Compiler\ResolveDecoratorStackPass(), new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Compiler\ResolveChildDefinitionsPass(), new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Compiler\RegisterServiceSubscribersPass(), new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Compiler\ResolveParameterPlaceHoldersPass(\false, \false), new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Compiler\ResolveFactoryClassPass(), new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Compiler\ResolveNamedArgumentsPass(), new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Compiler\AutowireRequiredMethodsPass(), new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Compiler\AutowireRequiredPropertiesPass(), new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Compiler\ResolveBindingsPass(), new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Compiler\ServiceLocatorTagPass(), new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Compiler\DecoratorServicePass(), new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Compiler\CheckDefinitionValidityPass(), new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Compiler\AutowirePass(\false), new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Compiler\ServiceLocatorTagPass(), new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Compiler\ResolveTaggedIteratorArgumentPass(), new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Compiler\ResolveServiceSubscribersPass(), new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Compiler\ResolveReferencesToAliasesPass(), new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Compiler\ResolveInvalidReferencesPass(), new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Compiler\AnalyzeServiceReferencesPass(\true), new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Compiler\CheckCircularReferencesPass(), new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Compiler\CheckReferenceValidityPass(), new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Compiler\CheckArgumentsValidityPass(\false)]]; - $this->removingPasses = [[new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Compiler\RemovePrivateAliasesPass(), new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Compiler\ReplaceAliasByActualDefinitionPass(), new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Compiler\RemoveAbstractDefinitionsPass(), new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Compiler\RemoveUnusedDefinitionsPass(), new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Compiler\AnalyzeServiceReferencesPass(), new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Compiler\CheckExceptionOnInvalidReferenceBehaviorPass(), new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Compiler\InlineServiceDefinitionsPass(new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Compiler\AnalyzeServiceReferencesPass()), new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Compiler\AnalyzeServiceReferencesPass(), new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Compiler\DefinitionErrorExceptionPass()]]; - $this->afterRemovingPasses = [[new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Compiler\ResolveHotPathPass(), new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Compiler\ResolveNoPreloadPass(), new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Compiler\AliasDeprecatedPublicServicesPass()]]; + $this->mergePass = new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Compiler\MergeExtensionConfigurationPass(); + $this->beforeOptimizationPasses = [100 => [new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Compiler\ResolveClassPass(), new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Compiler\RegisterAutoconfigureAttributesPass(), new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Compiler\AttributeAutoconfigurationPass(), new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Compiler\ResolveInstanceofConditionalsPass(), new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Compiler\RegisterEnvVarProcessorsPass()], -1000 => [new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Compiler\ExtensionCompilerPass()]]; + $this->optimizationPasses = [[new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Compiler\AutoAliasServicePass(), new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Compiler\ValidateEnvPlaceholdersPass(), new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Compiler\ResolveDecoratorStackPass(), new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Compiler\ResolveChildDefinitionsPass(), new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Compiler\RegisterServiceSubscribersPass(), new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Compiler\ResolveParameterPlaceHoldersPass(\false, \false), new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Compiler\ResolveFactoryClassPass(), new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Compiler\ResolveNamedArgumentsPass(), new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Compiler\AutowireRequiredMethodsPass(), new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Compiler\AutowireRequiredPropertiesPass(), new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Compiler\ResolveBindingsPass(), new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Compiler\ServiceLocatorTagPass(), new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Compiler\DecoratorServicePass(), new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Compiler\CheckDefinitionValidityPass(), new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Compiler\AutowirePass(\false), new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Compiler\ServiceLocatorTagPass(), new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Compiler\ResolveTaggedIteratorArgumentPass(), new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Compiler\ResolveServiceSubscribersPass(), new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Compiler\ResolveReferencesToAliasesPass(), new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Compiler\ResolveInvalidReferencesPass(), new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Compiler\AnalyzeServiceReferencesPass(\true), new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Compiler\CheckCircularReferencesPass(), new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Compiler\CheckReferenceValidityPass(), new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Compiler\CheckArgumentsValidityPass(\false)]]; + $this->removingPasses = [[new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Compiler\RemovePrivateAliasesPass(), new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Compiler\ReplaceAliasByActualDefinitionPass(), new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Compiler\RemoveAbstractDefinitionsPass(), new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Compiler\RemoveUnusedDefinitionsPass(), new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Compiler\AnalyzeServiceReferencesPass(), new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Compiler\CheckExceptionOnInvalidReferenceBehaviorPass(), new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Compiler\InlineServiceDefinitionsPass(new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Compiler\AnalyzeServiceReferencesPass()), new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Compiler\AnalyzeServiceReferencesPass(), new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Compiler\DefinitionErrorExceptionPass()]]; + $this->afterRemovingPasses = [[new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Compiler\ResolveHotPathPass(), new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Compiler\ResolveNoPreloadPass(), new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Compiler\AliasDeprecatedPublicServicesPass()]]; } /** * Returns all passes in order to be processed. @@ -68,11 +68,11 @@ class PassConfig * * @throws InvalidArgumentException when a pass type doesn't exist */ - public function addPass(\RectorPrefix20220519\Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface $pass, string $type = self::TYPE_BEFORE_OPTIMIZATION, int $priority = 0) + public function addPass(\RectorPrefix20220520\Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface $pass, string $type = self::TYPE_BEFORE_OPTIMIZATION, int $priority = 0) { $property = $type . 'Passes'; if (!isset($this->{$property})) { - throw new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('Invalid type "%s".', $type)); + throw new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('Invalid type "%s".', $type)); } $passes =& $this->{$property}; if (!isset($passes[$priority])) { @@ -128,11 +128,11 @@ class PassConfig /** * Gets the Merge pass. */ - public function getMergePass() : \RectorPrefix20220519\Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface + public function getMergePass() : \RectorPrefix20220520\Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface { return $this->mergePass; } - public function setMergePass(\RectorPrefix20220519\Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface $pass) + public function setMergePass(\RectorPrefix20220520\Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface $pass) { $this->mergePass = $pass; } diff --git a/vendor/symfony/dependency-injection/Compiler/PriorityTaggedServiceTrait.php b/vendor/symfony/dependency-injection/Compiler/PriorityTaggedServiceTrait.php index 08091d4d738..bc7598452db 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 RectorPrefix20220519\Symfony\Component\DependencyInjection\Compiler; +namespace RectorPrefix20220520\Symfony\Component\DependencyInjection\Compiler; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Argument\TaggedIteratorArgument; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Attribute\AsTaggedItem; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerBuilder; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Reference; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\TypedReference; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Argument\TaggedIteratorArgument; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Attribute\AsTaggedItem; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\ContainerBuilder; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Reference; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\TypedReference; /** * Trait that allows a generic method to find and sort service by priority option in the tag. * @@ -36,10 +36,10 @@ trait PriorityTaggedServiceTrait * @return Reference[] * @param string|\Symfony\Component\DependencyInjection\Argument\TaggedIteratorArgument $tagName */ - private function findAndSortTaggedServices($tagName, \RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerBuilder $container) : array + private function findAndSortTaggedServices($tagName, \RectorPrefix20220520\Symfony\Component\DependencyInjection\ContainerBuilder $container) : array { $indexAttribute = $defaultIndexMethod = $needsIndexes = $defaultPriorityMethod = null; - if ($tagName instanceof \RectorPrefix20220519\Symfony\Component\DependencyInjection\Argument\TaggedIteratorArgument) { + if ($tagName instanceof \RectorPrefix20220520\Symfony\Component\DependencyInjection\Argument\TaggedIteratorArgument) { $indexAttribute = $tagName->getIndexAttribute(); $defaultIndexMethod = $tagName->getDefaultIndexMethod(); $needsIndexes = $tagName->needsIndexes(); @@ -60,7 +60,7 @@ trait PriorityTaggedServiceTrait if (isset($attribute['priority'])) { $priority = $attribute['priority']; } elseif (null === $defaultPriority && $defaultPriorityMethod && $class) { - $defaultPriority = \RectorPrefix20220519\Symfony\Component\DependencyInjection\Compiler\PriorityTaggedServiceUtil::getDefault($container, $serviceId, $class, $defaultPriorityMethod, $tagName, 'priority', $checkTaggedItem); + $defaultPriority = \RectorPrefix20220520\Symfony\Component\DependencyInjection\Compiler\PriorityTaggedServiceUtil::getDefault($container, $serviceId, $class, $defaultPriorityMethod, $tagName, 'priority', $checkTaggedItem); } $priority = $priority ?? $defaultPriority ?? ($defaultPriority = 0); if (null === $indexAttribute && !$defaultIndexMethod && !$needsIndexes) { @@ -70,7 +70,7 @@ trait PriorityTaggedServiceTrait if (null !== $indexAttribute && isset($attribute[$indexAttribute])) { $index = $attribute[$indexAttribute]; } elseif (null === $defaultIndex && $defaultPriorityMethod && $class) { - $defaultIndex = \RectorPrefix20220519\Symfony\Component\DependencyInjection\Compiler\PriorityTaggedServiceUtil::getDefault($container, $serviceId, $class, $defaultIndexMethod ?? 'getDefaultName', $tagName, $indexAttribute, $checkTaggedItem); + $defaultIndex = \RectorPrefix20220520\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]; @@ -82,11 +82,11 @@ trait PriorityTaggedServiceTrait $refs = []; foreach ($services as [, , $index, $serviceId, $class]) { if (!$class) { - $reference = new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Reference($serviceId); + $reference = new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Reference($serviceId); } elseif ($index === $serviceId) { - $reference = new \RectorPrefix20220519\Symfony\Component\DependencyInjection\TypedReference($serviceId, $class); + $reference = new \RectorPrefix20220520\Symfony\Component\DependencyInjection\TypedReference($serviceId, $class); } else { - $reference = new \RectorPrefix20220519\Symfony\Component\DependencyInjection\TypedReference($serviceId, $class, \RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerBuilder::EXCEPTION_ON_INVALID_REFERENCE, $index); + $reference = new \RectorPrefix20220520\Symfony\Component\DependencyInjection\TypedReference($serviceId, $class, \RectorPrefix20220520\Symfony\Component\DependencyInjection\ContainerBuilder::EXCEPTION_ON_INVALID_REFERENCE, $index); } if (null === $index) { $refs[] = $reference; @@ -105,13 +105,13 @@ class PriorityTaggedServiceUtil /** * @return string|int|null */ - public static function getDefault(\RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerBuilder $container, string $serviceId, string $class, string $defaultMethod, string $tagName, ?string $indexAttribute, bool $checkTaggedItem) + public static function getDefault(\RectorPrefix20220520\Symfony\Component\DependencyInjection\ContainerBuilder $container, string $serviceId, string $class, string $defaultMethod, string $tagName, ?string $indexAttribute, bool $checkTaggedItem) { if (!($r = $container->getReflectionClass($class)) || !$checkTaggedItem && !$r->hasMethod($defaultMethod)) { return null; } if ($checkTaggedItem && !$r->hasMethod($defaultMethod)) { - foreach (\method_exists($r, 'getAttributes') ? $r->getAttributes(\RectorPrefix20220519\Symfony\Component\DependencyInjection\Attribute\AsTaggedItem::class) : [] as $attribute) { + foreach (\method_exists($r, 'getAttributes') ? $r->getAttributes(\RectorPrefix20220520\Symfony\Component\DependencyInjection\Attribute\AsTaggedItem::class) : [] as $attribute) { return 'priority' === $indexAttribute ? $attribute->newInstance()->priority : $attribute->newInstance()->index; } return null; @@ -123,15 +123,15 @@ class PriorityTaggedServiceUtil $message = [\sprintf('Method "%s::%s()" should ', $class, $defaultMethod), '.']; } if (!($rm = $r->getMethod($defaultMethod))->isStatic()) { - throw new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\implode('be static', $message)); + throw new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\implode('be static', $message)); } if (!$rm->isPublic()) { - throw new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\implode('be public', $message)); + throw new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\implode('be public', $message)); } $default = $rm->invoke(null); if ('priority' === $indexAttribute) { if (!\is_int($default)) { - throw new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\implode(\sprintf('return int (got "%s")', \get_debug_type($default)), $message)); + throw new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\implode(\sprintf('return int (got "%s")', \get_debug_type($default)), $message)); } return $default; } @@ -139,7 +139,7 @@ class PriorityTaggedServiceUtil $default = (string) $default; } if (!\is_string($default)) { - throw new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\implode(\sprintf('return string|int (got "%s")', \get_debug_type($default)), $message)); + throw new \RectorPrefix20220520\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 c348fe4f014..e17d05c355a 100644 --- a/vendor/symfony/dependency-injection/Compiler/RegisterAutoconfigureAttributesPass.php +++ b/vendor/symfony/dependency-injection/Compiler/RegisterAutoconfigureAttributesPass.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 RectorPrefix20220519\Symfony\Component\DependencyInjection\Compiler; +namespace RectorPrefix20220520\Symfony\Component\DependencyInjection\Compiler; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Attribute\Autoconfigure; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerBuilder; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Definition; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Loader\YamlFileLoader; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Attribute\Autoconfigure; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\ContainerBuilder; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Definition; +use RectorPrefix20220520\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 \RectorPrefix20220519\Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface +final class RegisterAutoconfigureAttributesPass implements \RectorPrefix20220520\Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface { private static $registerForAutoconfiguration; /** * {@inheritdoc} */ - public function process(\RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerBuilder $container) + public function process(\RectorPrefix20220520\Symfony\Component\DependencyInjection\ContainerBuilder $container) { foreach ($container->getDefinitions() as $id => $definition) { if ($this->accept($definition) && ($class = $container->getReflectionClass($definition->getClass(), \false))) { @@ -34,25 +34,25 @@ final class RegisterAutoconfigureAttributesPass implements \RectorPrefix20220519 } } } - public function accept(\RectorPrefix20220519\Symfony\Component\DependencyInjection\Definition $definition) : bool + public function accept(\RectorPrefix20220520\Symfony\Component\DependencyInjection\Definition $definition) : bool { return $definition->isAutoconfigured() && !$definition->hasTag('container.ignore_attributes'); } - public function processClass(\RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerBuilder $container, \ReflectionClass $class) + public function processClass(\RectorPrefix20220520\Symfony\Component\DependencyInjection\ContainerBuilder $container, \ReflectionClass $class) { - foreach (\method_exists($class, 'getAttributes') ? $class->getAttributes(\RectorPrefix20220519\Symfony\Component\DependencyInjection\Attribute\Autoconfigure::class, \ReflectionAttribute::IS_INSTANCEOF) : [] as $attribute) { + foreach (\method_exists($class, 'getAttributes') ? $class->getAttributes(\RectorPrefix20220520\Symfony\Component\DependencyInjection\Attribute\Autoconfigure::class, \ReflectionAttribute::IS_INSTANCEOF) : [] as $attribute) { self::registerForAutoconfiguration($container, $class, $attribute); } } - private static function registerForAutoconfiguration(\RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerBuilder $container, \ReflectionClass $class, \ReflectionAttribute $attribute) + private static function registerForAutoconfiguration(\RectorPrefix20220520\Symfony\Component\DependencyInjection\ContainerBuilder $container, \ReflectionClass $class, \ReflectionAttribute $attribute) { if (self::$registerForAutoconfiguration) { return (self::$registerForAutoconfiguration)($container, $class, $attribute); } - $parseDefinitions = new \ReflectionMethod(\RectorPrefix20220519\Symfony\Component\DependencyInjection\Loader\YamlFileLoader::class, 'parseDefinitions'); + $parseDefinitions = new \ReflectionMethod(\RectorPrefix20220520\Symfony\Component\DependencyInjection\Loader\YamlFileLoader::class, 'parseDefinitions'); $parseDefinitions->setAccessible(\true); $yamlLoader = $parseDefinitions->getDeclaringClass()->newInstanceWithoutConstructor(); - self::$registerForAutoconfiguration = static function (\RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerBuilder $container, \ReflectionClass $class, \ReflectionAttribute $attribute) use($parseDefinitions, $yamlLoader) { + self::$registerForAutoconfiguration = static function (\RectorPrefix20220520\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 e4d14b34a62..dacc623961d 100644 --- a/vendor/symfony/dependency-injection/Compiler/RegisterEnvVarProcessorsPass.php +++ b/vendor/symfony/dependency-injection/Compiler/RegisterEnvVarProcessorsPass.php @@ -8,48 +8,48 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20220519\Symfony\Component\DependencyInjection\Compiler; +namespace RectorPrefix20220520\Symfony\Component\DependencyInjection\Compiler; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerBuilder; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\EnvVarProcessor; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\EnvVarProcessorInterface; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\ParameterBag\EnvPlaceholderParameterBag; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Reference; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\ContainerBuilder; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\EnvVarProcessor; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\EnvVarProcessorInterface; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\ParameterBag\EnvPlaceholderParameterBag; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Reference; /** * Creates the container.env_var_processors_locator service. * * @author Nicolas Grekas */ -class RegisterEnvVarProcessorsPass implements \RectorPrefix20220519\Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface +class RegisterEnvVarProcessorsPass implements \RectorPrefix20220520\Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface { private const ALLOWED_TYPES = ['array', 'bool', 'float', 'int', 'string']; - public function process(\RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerBuilder $container) + public function process(\RectorPrefix20220520\Symfony\Component\DependencyInjection\ContainerBuilder $container) { $bag = $container->getParameterBag(); $types = []; $processors = []; foreach ($container->findTaggedServiceIds('container.env_var_processor') as $id => $tags) { if (!($r = $container->getReflectionClass($class = $container->getDefinition($id)->getClass()))) { - throw new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('Class "%s" used for service "%s" cannot be found.', $class, $id)); - } elseif (!$r->isSubclassOf(\RectorPrefix20220519\Symfony\Component\DependencyInjection\EnvVarProcessorInterface::class)) { - throw new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('Service "%s" must implement interface "%s".', $id, \RectorPrefix20220519\Symfony\Component\DependencyInjection\EnvVarProcessorInterface::class)); + throw new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('Class "%s" used for service "%s" cannot be found.', $class, $id)); + } elseif (!$r->isSubclassOf(\RectorPrefix20220520\Symfony\Component\DependencyInjection\EnvVarProcessorInterface::class)) { + throw new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('Service "%s" must implement interface "%s".', $id, \RectorPrefix20220520\Symfony\Component\DependencyInjection\EnvVarProcessorInterface::class)); } foreach ($class::getProvidedTypes() as $prefix => $type) { - $processors[$prefix] = new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Reference($id); + $processors[$prefix] = new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Reference($id); $types[$prefix] = self::validateProvidedTypes($type, $class); } } - if ($bag instanceof \RectorPrefix20220519\Symfony\Component\DependencyInjection\ParameterBag\EnvPlaceholderParameterBag) { - foreach (\RectorPrefix20220519\Symfony\Component\DependencyInjection\EnvVarProcessor::getProvidedTypes() as $prefix => $type) { + if ($bag instanceof \RectorPrefix20220520\Symfony\Component\DependencyInjection\ParameterBag\EnvPlaceholderParameterBag) { + foreach (\RectorPrefix20220520\Symfony\Component\DependencyInjection\EnvVarProcessor::getProvidedTypes() as $prefix => $type) { if (!isset($types[$prefix])) { - $types[$prefix] = self::validateProvidedTypes($type, \RectorPrefix20220519\Symfony\Component\DependencyInjection\EnvVarProcessor::class); + $types[$prefix] = self::validateProvidedTypes($type, \RectorPrefix20220520\Symfony\Component\DependencyInjection\EnvVarProcessor::class); } } $bag->setProvidedTypes($types); } if ($processors) { - $container->setAlias('container.env_var_processors_locator', (string) \RectorPrefix20220519\Symfony\Component\DependencyInjection\Compiler\ServiceLocatorTagPass::register($container, $processors))->setPublic(\true); + $container->setAlias('container.env_var_processors_locator', (string) \RectorPrefix20220520\Symfony\Component\DependencyInjection\Compiler\ServiceLocatorTagPass::register($container, $processors))->setPublic(\true); } } private static function validateProvidedTypes(string $types, string $class) : array @@ -57,7 +57,7 @@ class RegisterEnvVarProcessorsPass implements \RectorPrefix20220519\Symfony\Comp $types = \explode('|', $types); foreach ($types as $type) { if (!\in_array($type, self::ALLOWED_TYPES)) { - throw new \RectorPrefix20220519\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 \RectorPrefix20220520\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 a84678e9f8b..93c00c891cd 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 RectorPrefix20220519\Symfony\Component\DependencyInjection\Compiler; +namespace RectorPrefix20220520\Symfony\Component\DependencyInjection\Compiler; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Argument\ServiceClosureArgument; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerBuilder; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerInterface; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Definition; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Reference; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Argument\ServiceClosureArgument; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\ContainerBuilder; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\ContainerInterface; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Definition; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Reference; /** * @author Nicolas Grekas */ -class RegisterReverseContainerPass implements \RectorPrefix20220519\Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface +class RegisterReverseContainerPass implements \RectorPrefix20220520\Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface { /** * @var bool @@ -28,27 +28,27 @@ class RegisterReverseContainerPass implements \RectorPrefix20220519\Symfony\Comp { $this->beforeRemoving = $beforeRemoving; } - public function process(\RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerBuilder $container) + public function process(\RectorPrefix20220520\Symfony\Component\DependencyInjection\ContainerBuilder $container) { if (!$container->hasDefinition('reverse_container')) { return; } - $refType = $this->beforeRemoving ? \RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerInterface::IGNORE_ON_UNINITIALIZED_REFERENCE : \RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerInterface::EXCEPTION_ON_INVALID_REFERENCE; + $refType = $this->beforeRemoving ? \RectorPrefix20220520\Symfony\Component\DependencyInjection\ContainerInterface::IGNORE_ON_UNINITIALIZED_REFERENCE : \RectorPrefix20220520\Symfony\Component\DependencyInjection\ContainerInterface::EXCEPTION_ON_INVALID_REFERENCE; $services = []; foreach ($container->findTaggedServiceIds('container.reversible') as $id => $tags) { - $services[$id] = new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Reference($id, $refType); + $services[$id] = new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Reference($id, $refType); } if ($this->beforeRemoving) { // prevent inlining of the reverse container - $services['reverse_container'] = new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Reference('reverse_container', $refType); + $services['reverse_container'] = new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Reference('reverse_container', $refType); } $locator = $container->getDefinition('reverse_container')->getArgument(1); - if ($locator instanceof \RectorPrefix20220519\Symfony\Component\DependencyInjection\Reference) { + if ($locator instanceof \RectorPrefix20220520\Symfony\Component\DependencyInjection\Reference) { $locator = $container->getDefinition((string) $locator); } - if ($locator instanceof \RectorPrefix20220519\Symfony\Component\DependencyInjection\Definition) { + if ($locator instanceof \RectorPrefix20220520\Symfony\Component\DependencyInjection\Definition) { foreach ($services as $id => $ref) { - $services[$id] = new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Argument\ServiceClosureArgument($ref); + $services[$id] = new \RectorPrefix20220520\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 b5cb9573144..773fa00e479 100644 --- a/vendor/symfony/dependency-injection/Compiler/RegisterServiceSubscribersPass.php +++ b/vendor/symfony/dependency-injection/Compiler/RegisterServiceSubscribersPass.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 RectorPrefix20220519\Symfony\Component\DependencyInjection\Compiler; +namespace RectorPrefix20220520\Symfony\Component\DependencyInjection\Compiler; -use RectorPrefix20220519\Psr\Container\ContainerInterface as PsrContainerInterface; -use RectorPrefix20220519\Symfony\Bundle\FrameworkBundle\Controller\AbstractController; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Argument\BoundArgument; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerInterface; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Definition; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Reference; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\TypedReference; -use RectorPrefix20220519\Symfony\Component\HttpFoundation\Session\SessionInterface; -use RectorPrefix20220519\Symfony\Contracts\Service\ServiceProviderInterface; -use RectorPrefix20220519\Symfony\Contracts\Service\ServiceSubscriberInterface; +use RectorPrefix20220520\Psr\Container\ContainerInterface as PsrContainerInterface; +use RectorPrefix20220520\Symfony\Bundle\FrameworkBundle\Controller\AbstractController; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Argument\BoundArgument; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\ContainerInterface; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Definition; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Reference; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\TypedReference; +use RectorPrefix20220520\Symfony\Component\HttpFoundation\Session\SessionInterface; +use RectorPrefix20220520\Symfony\Contracts\Service\ServiceProviderInterface; +use RectorPrefix20220520\Symfony\Contracts\Service\ServiceSubscriberInterface; /** * Compiler pass to register tagged services that require a service locator. * * @author Nicolas Grekas */ -class RegisterServiceSubscribersPass extends \RectorPrefix20220519\Symfony\Component\DependencyInjection\Compiler\AbstractRecursivePass +class RegisterServiceSubscribersPass extends \RectorPrefix20220520\Symfony\Component\DependencyInjection\Compiler\AbstractRecursivePass { /** * @param mixed $value @@ -34,7 +34,7 @@ class RegisterServiceSubscribersPass extends \RectorPrefix20220519\Symfony\Compo */ protected function processValue($value, bool $isRoot = \false) { - if (!$value instanceof \RectorPrefix20220519\Symfony\Component\DependencyInjection\Definition || $value->isAbstract() || $value->isSynthetic() || !$value->hasTag('container.service_subscriber')) { + if (!$value instanceof \RectorPrefix20220520\Symfony\Component\DependencyInjection\Definition || $value->isAbstract() || $value->isSynthetic() || !$value->hasTag('container.service_subscriber')) { return parent::processValue($value, $isRoot); } $serviceMap = []; @@ -46,10 +46,10 @@ class RegisterServiceSubscribersPass extends \RectorPrefix20220519\Symfony\Compo } \ksort($attributes); if ([] !== \array_diff(\array_keys($attributes), ['id', 'key'])) { - throw new \RectorPrefix20220519\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 \RectorPrefix20220520\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 \RectorPrefix20220519\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 \RectorPrefix20220520\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']; @@ -57,26 +57,26 @@ class RegisterServiceSubscribersPass extends \RectorPrefix20220519\Symfony\Compo if (isset($serviceMap[$attributes['key']])) { continue; } - $serviceMap[$attributes['key']] = new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Reference($attributes['id']); + $serviceMap[$attributes['key']] = new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Reference($attributes['id']); } $class = $value->getClass(); if (!($r = $this->container->getReflectionClass($class))) { - throw new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('Class "%s" used for service "%s" cannot be found.', $class, $this->currentId)); + throw new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('Class "%s" used for service "%s" cannot be found.', $class, $this->currentId)); } - if (!$r->isSubclassOf(\RectorPrefix20220519\Symfony\Contracts\Service\ServiceSubscriberInterface::class)) { - throw new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('Service "%s" must implement interface "%s".', $this->currentId, \RectorPrefix20220519\Symfony\Contracts\Service\ServiceSubscriberInterface::class)); + if (!$r->isSubclassOf(\RectorPrefix20220520\Symfony\Contracts\Service\ServiceSubscriberInterface::class)) { + throw new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('Service "%s" must implement interface "%s".', $this->currentId, \RectorPrefix20220520\Symfony\Contracts\Service\ServiceSubscriberInterface::class)); } $class = $r->name; // to remove when symfony/dependency-injection will stop being compatible with symfony/framework-bundle<6.0 - $replaceDeprecatedSession = $this->container->has('.session.deprecated') && $r->isSubclassOf(\RectorPrefix20220519\Symfony\Bundle\FrameworkBundle\Controller\AbstractController::class); + $replaceDeprecatedSession = $this->container->has('.session.deprecated') && $r->isSubclassOf(\RectorPrefix20220520\Symfony\Bundle\FrameworkBundle\Controller\AbstractController::class); $subscriberMap = []; foreach ($class::getSubscribedServices() as $key => $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 \RectorPrefix20220519\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))); + throw new \RectorPrefix20220520\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 = \RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerInterface::IGNORE_ON_INVALID_REFERENCE; + $optionalBehavior = \RectorPrefix20220520\Symfony\Component\DependencyInjection\ContainerInterface::IGNORE_ON_INVALID_REFERENCE; } if (\is_int($name = $key)) { $key = $type; @@ -84,14 +84,14 @@ class RegisterServiceSubscribersPass extends \RectorPrefix20220519\Symfony\Compo } if (!isset($serviceMap[$key])) { if (!$autowire) { - throw new \RectorPrefix20220519\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 \RectorPrefix20220520\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 && \RectorPrefix20220519\Symfony\Component\HttpFoundation\Session\SessionInterface::class === $type) { + if ($replaceDeprecatedSession && \RectorPrefix20220520\Symfony\Component\HttpFoundation\Session\SessionInterface::class === $type) { // This prevents triggering the deprecation when building the container // to remove when symfony/dependency-injection will stop being compatible with symfony/framework-bundle<6.0 $type = '.session.deprecated'; } - $serviceMap[$key] = new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Reference($type); + $serviceMap[$key] = new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Reference($type); } if ($name) { if (\false !== ($i = \strpos($name, '::get'))) { @@ -104,16 +104,16 @@ class RegisterServiceSubscribersPass extends \RectorPrefix20220519\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 \RectorPrefix20220519\Symfony\Component\DependencyInjection\TypedReference((string) $serviceMap[$key], $type, $optionalBehavior ?: \RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerInterface::EXCEPTION_ON_INVALID_REFERENCE, $name); + $subscriberMap[$key] = new \RectorPrefix20220520\Symfony\Component\DependencyInjection\TypedReference((string) $serviceMap[$key], $type, $optionalBehavior ?: \RectorPrefix20220520\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 \RectorPrefix20220519\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 \RectorPrefix20220520\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 = \RectorPrefix20220519\Symfony\Component\DependencyInjection\Compiler\ServiceLocatorTagPass::register($this->container, $subscriberMap, $this->currentId); + $locatorRef = \RectorPrefix20220520\Symfony\Component\DependencyInjection\Compiler\ServiceLocatorTagPass::register($this->container, $subscriberMap, $this->currentId); $value->addTag('container.service_subscriber.locator', ['id' => (string) $locatorRef]); - $value->setBindings([\RectorPrefix20220519\Psr\Container\ContainerInterface::class => new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Argument\BoundArgument($locatorRef, \false), \RectorPrefix20220519\Symfony\Contracts\Service\ServiceProviderInterface::class => new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Argument\BoundArgument($locatorRef, \false)] + $value->getBindings()); + $value->setBindings([\RectorPrefix20220520\Psr\Container\ContainerInterface::class => new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Argument\BoundArgument($locatorRef, \false), \RectorPrefix20220520\Symfony\Contracts\Service\ServiceProviderInterface::class => new \RectorPrefix20220520\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 d2f3ac573ac..7a1022002ec 100644 --- a/vendor/symfony/dependency-injection/Compiler/RemoveAbstractDefinitionsPass.php +++ b/vendor/symfony/dependency-injection/Compiler/RemoveAbstractDefinitionsPass.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 RectorPrefix20220519\Symfony\Component\DependencyInjection\Compiler; +namespace RectorPrefix20220520\Symfony\Component\DependencyInjection\Compiler; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerBuilder; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\ContainerBuilder; /** * Removes abstract Definitions. */ -class RemoveAbstractDefinitionsPass implements \RectorPrefix20220519\Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface +class RemoveAbstractDefinitionsPass implements \RectorPrefix20220520\Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface { /** * Removes abstract definitions from the ContainerBuilder. */ - public function process(\RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerBuilder $container) + public function process(\RectorPrefix20220520\Symfony\Component\DependencyInjection\ContainerBuilder $container) { foreach ($container->getDefinitions() as $id => $definition) { if ($definition->isAbstract()) { diff --git a/vendor/symfony/dependency-injection/Compiler/RemovePrivateAliasesPass.php b/vendor/symfony/dependency-injection/Compiler/RemovePrivateAliasesPass.php index 455c4570593..d218adaecf6 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 RectorPrefix20220519\Symfony\Component\DependencyInjection\Compiler; +namespace RectorPrefix20220520\Symfony\Component\DependencyInjection\Compiler; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerBuilder; +use RectorPrefix20220520\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,12 +18,12 @@ use RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerBuilder; * * @author Johannes M. Schmitt */ -class RemovePrivateAliasesPass implements \RectorPrefix20220519\Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface +class RemovePrivateAliasesPass implements \RectorPrefix20220520\Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface { /** * Removes private aliases from the ContainerBuilder. */ - public function process(\RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerBuilder $container) + public function process(\RectorPrefix20220520\Symfony\Component\DependencyInjection\ContainerBuilder $container) { foreach ($container->getAliases() as $id => $alias) { if ($alias->isPublic()) { diff --git a/vendor/symfony/dependency-injection/Compiler/RemoveUnusedDefinitionsPass.php b/vendor/symfony/dependency-injection/Compiler/RemoveUnusedDefinitionsPass.php index 85bdf0c0809..e5fd68ddd88 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 RectorPrefix20220519\Symfony\Component\DependencyInjection\Compiler; +namespace RectorPrefix20220520\Symfony\Component\DependencyInjection\Compiler; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerBuilder; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Reference; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\ContainerBuilder; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Reference; /** * Removes unused service definitions from the container. * * @author Johannes M. Schmitt * @author Nicolas Grekas */ -class RemoveUnusedDefinitionsPass extends \RectorPrefix20220519\Symfony\Component\DependencyInjection\Compiler\AbstractRecursivePass +class RemoveUnusedDefinitionsPass extends \RectorPrefix20220520\Symfony\Component\DependencyInjection\Compiler\AbstractRecursivePass { /** * @var mixed[] @@ -27,7 +27,7 @@ class RemoveUnusedDefinitionsPass extends \RectorPrefix20220519\Symfony\Componen /** * Processes the ContainerBuilder to remove unused definitions. */ - public function process(\RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerBuilder $container) + public function process(\RectorPrefix20220520\Symfony\Component\DependencyInjection\ContainerBuilder $container) { try { $this->enableExpressionProcessing(); @@ -74,10 +74,10 @@ class RemoveUnusedDefinitionsPass extends \RectorPrefix20220519\Symfony\Componen */ protected function processValue($value, bool $isRoot = \false) { - if (!$value instanceof \RectorPrefix20220519\Symfony\Component\DependencyInjection\Reference) { + if (!$value instanceof \RectorPrefix20220520\Symfony\Component\DependencyInjection\Reference) { return parent::processValue($value, $isRoot); } - if (\RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerBuilder::IGNORE_ON_UNINITIALIZED_REFERENCE !== $value->getInvalidBehavior()) { + if (\RectorPrefix20220520\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 ea5c151f3f2..17aa318dba1 100644 --- a/vendor/symfony/dependency-injection/Compiler/ReplaceAliasByActualDefinitionPass.php +++ b/vendor/symfony/dependency-injection/Compiler/ReplaceAliasByActualDefinitionPass.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 RectorPrefix20220519\Symfony\Component\DependencyInjection\Compiler; +namespace RectorPrefix20220520\Symfony\Component\DependencyInjection\Compiler; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerBuilder; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Reference; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\ContainerBuilder; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Reference; /** * Replaces aliases with actual service definitions, effectively removing these * aliases. * * @author Johannes M. Schmitt */ -class ReplaceAliasByActualDefinitionPass extends \RectorPrefix20220519\Symfony\Component\DependencyInjection\Compiler\AbstractRecursivePass +class ReplaceAliasByActualDefinitionPass extends \RectorPrefix20220520\Symfony\Component\DependencyInjection\Compiler\AbstractRecursivePass { /** * @var mixed[] @@ -31,7 +31,7 @@ class ReplaceAliasByActualDefinitionPass extends \RectorPrefix20220519\Symfony\C * * @throws InvalidArgumentException if the service definition does not exist */ - public function process(\RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerBuilder $container) + public function process(\RectorPrefix20220520\Symfony\Component\DependencyInjection\ContainerBuilder $container) { // First collect all alias targets that need to be replaced $seenAliasTargets = []; @@ -57,9 +57,9 @@ class ReplaceAliasByActualDefinitionPass extends \RectorPrefix20220519\Symfony\C $seenAliasTargets[$targetId] = \true; try { $definition = $container->getDefinition($targetId); - } catch (\RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException $e) { + } catch (\RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException $e) { if ('' !== $e->getId() && '@' === $e->getId()[0]) { - throw new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException($e->getId(), $e->getSourceId(), null, [\substr($e->getId(), 1)]); + throw new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException($e->getId(), $e->getSourceId(), null, [\substr($e->getId(), 1)]); } throw $e; } @@ -86,10 +86,10 @@ class ReplaceAliasByActualDefinitionPass extends \RectorPrefix20220519\Symfony\C */ protected function processValue($value, bool $isRoot = \false) { - if ($value instanceof \RectorPrefix20220519\Symfony\Component\DependencyInjection\Reference && isset($this->replacements[$referenceId = (string) $value])) { + if ($value instanceof \RectorPrefix20220520\Symfony\Component\DependencyInjection\Reference && isset($this->replacements[$referenceId = (string) $value])) { // Perform the replacement $newId = $this->replacements[$referenceId]; - $value = new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Reference($newId, $value->getInvalidBehavior()); + $value = new \RectorPrefix20220520\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 4a0c28996d7..ed607594518 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 RectorPrefix20220519\Symfony\Component\DependencyInjection\Compiler; +namespace RectorPrefix20220520\Symfony\Component\DependencyInjection\Compiler; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Argument\BoundArgument; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Argument\ServiceLocatorArgument; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Argument\TaggedIteratorArgument; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Attribute\Target; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerBuilder; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Definition; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\RuntimeException; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\LazyProxy\ProxyHelper; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Reference; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\TypedReference; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Argument\BoundArgument; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Argument\ServiceLocatorArgument; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Argument\TaggedIteratorArgument; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Attribute\Target; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\ContainerBuilder; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Definition; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\RuntimeException; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\LazyProxy\ProxyHelper; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Reference; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\TypedReference; /** * @author Guilhem Niot */ -class ResolveBindingsPass extends \RectorPrefix20220519\Symfony\Component\DependencyInjection\Compiler\AbstractRecursivePass +class ResolveBindingsPass extends \RectorPrefix20220520\Symfony\Component\DependencyInjection\Compiler\AbstractRecursivePass { /** * @var mixed[] @@ -41,7 +41,7 @@ class ResolveBindingsPass extends \RectorPrefix20220519\Symfony\Component\Depend /** * {@inheritdoc} */ - public function process(\RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerBuilder $container) + public function process(\RectorPrefix20220520\Symfony\Component\DependencyInjection\ContainerBuilder $container) { $this->usedBindings = $container->getRemovedBindingIds(); try { @@ -61,9 +61,9 @@ class ResolveBindingsPass extends \RectorPrefix20220519\Symfony\Component\Depend if ($argumentName) { $message .= \sprintf('named "%s" ', $argumentName); } - if (\RectorPrefix20220519\Symfony\Component\DependencyInjection\Argument\BoundArgument::DEFAULTS_BINDING === $bindingType) { + if (\RectorPrefix20220520\Symfony\Component\DependencyInjection\Argument\BoundArgument::DEFAULTS_BINDING === $bindingType) { $message .= 'under "_defaults"'; - } elseif (\RectorPrefix20220519\Symfony\Component\DependencyInjection\Argument\BoundArgument::INSTANCEOF_BINDING === $bindingType) { + } elseif (\RectorPrefix20220520\Symfony\Component\DependencyInjection\Argument\BoundArgument::INSTANCEOF_BINDING === $bindingType) { $message .= 'under "_instanceof"'; } else { $message .= \sprintf('for service "%s"', $serviceId); @@ -78,7 +78,7 @@ class ResolveBindingsPass extends \RectorPrefix20220519\Symfony\Component\Depend foreach ($this->errorMessages as $m) { $message .= "\n - " . $m; } - throw new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException($message); + throw new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException($message); } } finally { $this->usedBindings = []; @@ -93,7 +93,7 @@ class ResolveBindingsPass extends \RectorPrefix20220519\Symfony\Component\Depend */ protected function processValue($value, bool $isRoot = \false) { - if ($value instanceof \RectorPrefix20220519\Symfony\Component\DependencyInjection\TypedReference && $value->getType() === (string) $value) { + if ($value instanceof \RectorPrefix20220520\Symfony\Component\DependencyInjection\TypedReference && $value->getType() === (string) $value) { // Already checked $bindings = $this->container->getDefinition($this->currentId)->getBindings(); $name = $value->getName(); @@ -105,7 +105,7 @@ class ResolveBindingsPass extends \RectorPrefix20220519\Symfony\Component\Depend } return parent::processValue($value, $isRoot); } - if (!$value instanceof \RectorPrefix20220519\Symfony\Component\DependencyInjection\Definition || !($bindings = $value->getBindings())) { + if (!$value instanceof \RectorPrefix20220520\Symfony\Component\DependencyInjection\Definition || !($bindings = $value->getBindings())) { return parent::processValue($value, $isRoot); } $bindingNames = []; @@ -123,12 +123,12 @@ class ResolveBindingsPass extends \RectorPrefix20220519\Symfony\Component\Depend if (!isset($m[1])) { continue; } - if (\is_subclass_of($m[1], \RectorPrefix20220519\UnitEnum::class)) { + if (\is_subclass_of($m[1], \RectorPrefix20220520\UnitEnum::class)) { $bindingNames[\substr($key, \strlen($m[0]))] = $binding; continue; } - if (null !== $bindingValue && !$bindingValue instanceof \RectorPrefix20220519\Symfony\Component\DependencyInjection\Reference && !$bindingValue instanceof \RectorPrefix20220519\Symfony\Component\DependencyInjection\Definition && !$bindingValue instanceof \RectorPrefix20220519\Symfony\Component\DependencyInjection\Argument\TaggedIteratorArgument && !$bindingValue instanceof \RectorPrefix20220519\Symfony\Component\DependencyInjection\Argument\ServiceLocatorArgument) { - throw new \RectorPrefix20220519\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, \RectorPrefix20220519\Symfony\Component\DependencyInjection\Reference::class, \RectorPrefix20220519\Symfony\Component\DependencyInjection\Definition::class, \RectorPrefix20220519\Symfony\Component\DependencyInjection\Argument\TaggedIteratorArgument::class, \RectorPrefix20220519\Symfony\Component\DependencyInjection\Argument\ServiceLocatorArgument::class, \get_debug_type($bindingValue))); + if (null !== $bindingValue && !$bindingValue instanceof \RectorPrefix20220520\Symfony\Component\DependencyInjection\Reference && !$bindingValue instanceof \RectorPrefix20220520\Symfony\Component\DependencyInjection\Definition && !$bindingValue instanceof \RectorPrefix20220520\Symfony\Component\DependencyInjection\Argument\TaggedIteratorArgument && !$bindingValue instanceof \RectorPrefix20220520\Symfony\Component\DependencyInjection\Argument\ServiceLocatorArgument) { + throw new \RectorPrefix20220520\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, \RectorPrefix20220520\Symfony\Component\DependencyInjection\Reference::class, \RectorPrefix20220520\Symfony\Component\DependencyInjection\Definition::class, \RectorPrefix20220520\Symfony\Component\DependencyInjection\Argument\TaggedIteratorArgument::class, \RectorPrefix20220520\Symfony\Component\DependencyInjection\Argument\ServiceLocatorArgument::class, \get_debug_type($bindingValue))); } } if ($value->isAbstract()) { @@ -139,7 +139,7 @@ class ResolveBindingsPass extends \RectorPrefix20220519\Symfony\Component\Depend if ($constructor = $this->getConstructor($value, \false)) { $calls[] = [$constructor, $value->getArguments()]; } - } catch (\RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\RuntimeException $e) { + } catch (\RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\RuntimeException $e) { $this->errorMessages[] = $e->getMessage(); $this->container->getDefinition($this->currentId)->addError($e->getMessage()); return parent::processValue($value, $isRoot); @@ -151,7 +151,7 @@ class ResolveBindingsPass extends \RectorPrefix20220519\Symfony\Component\Depend } else { try { $reflectionMethod = $this->getReflectionMethod($value, $method); - } catch (\RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\RuntimeException $e) { + } catch (\RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\RuntimeException $e) { if ($value->getFactory()) { continue; } @@ -162,8 +162,8 @@ class ResolveBindingsPass extends \RectorPrefix20220519\Symfony\Component\Depend if (\array_key_exists($key, $arguments) && '' !== $arguments[$key]) { continue; } - $typeHint = \RectorPrefix20220519\Symfony\Component\DependencyInjection\LazyProxy\ProxyHelper::getTypeHint($reflectionMethod, $parameter); - $name = \RectorPrefix20220519\Symfony\Component\DependencyInjection\Attribute\Target::parseName($parameter); + $typeHint = \RectorPrefix20220520\Symfony\Component\DependencyInjection\LazyProxy\ProxyHelper::getTypeHint($reflectionMethod, $parameter); + $name = \RectorPrefix20220520\Symfony\Component\DependencyInjection\Attribute\Target::parseName($parameter); if ($typeHint && \array_key_exists($k = \ltrim($typeHint, '\\') . ' $' . $name, $bindings)) { $arguments[$key] = $this->getBindingValue($bindings[$k]); continue; @@ -201,7 +201,7 @@ class ResolveBindingsPass extends \RectorPrefix20220519\Symfony\Component\Depend /** * @return mixed */ - private function getBindingValue(\RectorPrefix20220519\Symfony\Component\DependencyInjection\Argument\BoundArgument $binding) + private function getBindingValue(\RectorPrefix20220520\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 a9c25689c67..2a4fb5ba722 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 RectorPrefix20220519\Symfony\Component\DependencyInjection\Compiler; +namespace RectorPrefix20220520\Symfony\Component\DependencyInjection\Compiler; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\ChildDefinition; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerInterface; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Definition; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\ExceptionInterface; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\RuntimeException; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\ServiceCircularReferenceException; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\ChildDefinition; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\ContainerInterface; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Definition; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\ExceptionInterface; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\RuntimeException; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\ServiceCircularReferenceException; /** * This replaces all ChildDefinition instances with their equivalent fully * merged Definition instance. @@ -23,7 +23,7 @@ use RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\Service * @author Johannes M. Schmitt * @author Nicolas Grekas */ -class ResolveChildDefinitionsPass extends \RectorPrefix20220519\Symfony\Component\DependencyInjection\Compiler\AbstractRecursivePass +class ResolveChildDefinitionsPass extends \RectorPrefix20220520\Symfony\Component\DependencyInjection\Compiler\AbstractRecursivePass { /** * @var mixed[] @@ -35,7 +35,7 @@ class ResolveChildDefinitionsPass extends \RectorPrefix20220519\Symfony\Componen */ protected function processValue($value, bool $isRoot = \false) { - if (!$value instanceof \RectorPrefix20220519\Symfony\Component\DependencyInjection\Definition) { + if (!$value instanceof \RectorPrefix20220520\Symfony\Component\DependencyInjection\Definition) { return parent::processValue($value, $isRoot); } if ($isRoot) { @@ -43,7 +43,7 @@ class ResolveChildDefinitionsPass extends \RectorPrefix20220519\Symfony\Componen // container to ensure we are not operating on stale data $value = $this->container->getDefinition($this->currentId); } - if ($value instanceof \RectorPrefix20220519\Symfony\Component\DependencyInjection\ChildDefinition) { + if ($value instanceof \RectorPrefix20220520\Symfony\Component\DependencyInjection\ChildDefinition) { $this->currentPath = []; $value = $this->resolveDefinition($value); if ($isRoot) { @@ -57,31 +57,31 @@ class ResolveChildDefinitionsPass extends \RectorPrefix20220519\Symfony\Componen * * @throws RuntimeException When the definition is invalid */ - private function resolveDefinition(\RectorPrefix20220519\Symfony\Component\DependencyInjection\ChildDefinition $definition) : \RectorPrefix20220519\Symfony\Component\DependencyInjection\Definition + private function resolveDefinition(\RectorPrefix20220520\Symfony\Component\DependencyInjection\ChildDefinition $definition) : \RectorPrefix20220520\Symfony\Component\DependencyInjection\Definition { try { return $this->doResolveDefinition($definition); - } catch (\RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\ServiceCircularReferenceException $e) { + } catch (\RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\ServiceCircularReferenceException $e) { throw $e; - } catch (\RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\ExceptionInterface $e) { + } catch (\RectorPrefix20220520\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(\RectorPrefix20220519\Symfony\Component\DependencyInjection\ChildDefinition $definition) : \RectorPrefix20220519\Symfony\Component\DependencyInjection\Definition + private function doResolveDefinition(\RectorPrefix20220520\Symfony\Component\DependencyInjection\ChildDefinition $definition) : \RectorPrefix20220520\Symfony\Component\DependencyInjection\Definition { if (!$this->container->has($parent = $definition->getParent())) { - throw new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\RuntimeException(\sprintf('Parent definition "%s" does not exist.', $parent)); + throw new \RectorPrefix20220520\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 \RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\ServiceCircularReferenceException($parent, \array_slice($this->currentPath, $searchKey)); + throw new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\ServiceCircularReferenceException($parent, \array_slice($this->currentPath, $searchKey)); } $parentDef = $this->container->findDefinition($parent); - if ($parentDef instanceof \RectorPrefix20220519\Symfony\Component\DependencyInjection\ChildDefinition) { + if ($parentDef instanceof \RectorPrefix20220520\Symfony\Component\DependencyInjection\ChildDefinition) { $id = $this->currentId; $this->currentId = $parent; $parentDef = $this->resolveDefinition($parentDef); @@ -89,7 +89,7 @@ class ResolveChildDefinitionsPass extends \RectorPrefix20220519\Symfony\Componen $this->currentId = $id; } $this->container->log($this, \sprintf('Resolving inheritance for "%s" (parent: %s).', $this->currentId, $parent)); - $def = new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Definition(); + $def = new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Definition(); // merge in parent definition // purposely ignored attributes: abstract, shared, tags, autoconfigured $def->setClass($parentDef->getClass()); @@ -146,7 +146,7 @@ class ResolveChildDefinitionsPass extends \RectorPrefix20220519\Symfony\Componen if (null === $decoratedService) { $def->setDecoratedService($decoratedService); } else { - $def->setDecoratedService($decoratedService[0], $decoratedService[1], $decoratedService[2], $decoratedService[3] ?? \RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerInterface::EXCEPTION_ON_INVALID_REFERENCE); + $def->setDecoratedService($decoratedService[0], $decoratedService[1], $decoratedService[2], $decoratedService[3] ?? \RectorPrefix20220520\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 62463b58855..b605a4dd8a6 100644 --- a/vendor/symfony/dependency-injection/Compiler/ResolveClassPass.php +++ b/vendor/symfony/dependency-injection/Compiler/ResolveClassPass.php @@ -8,28 +8,28 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20220519\Symfony\Component\DependencyInjection\Compiler; +namespace RectorPrefix20220520\Symfony\Component\DependencyInjection\Compiler; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\ChildDefinition; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerBuilder; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\ChildDefinition; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\ContainerBuilder; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException; /** * @author Nicolas Grekas */ -class ResolveClassPass implements \RectorPrefix20220519\Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface +class ResolveClassPass implements \RectorPrefix20220520\Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface { /** * {@inheritdoc} */ - public function process(\RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerBuilder $container) + public function process(\RectorPrefix20220520\Symfony\Component\DependencyInjection\ContainerBuilder $container) { foreach ($container->getDefinitions() as $id => $definition) { if ($definition->isSynthetic() || null !== $definition->getClass()) { 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 \RectorPrefix20220519\Symfony\Component\DependencyInjection\ChildDefinition && !\class_exists($id)) { - throw new \RectorPrefix20220519\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 \RectorPrefix20220520\Symfony\Component\DependencyInjection\ChildDefinition && !\class_exists($id)) { + throw new \RectorPrefix20220520\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 322c5b4ba5e..e4720ca8a26 100644 --- a/vendor/symfony/dependency-injection/Compiler/ResolveDecoratorStackPass.php +++ b/vendor/symfony/dependency-injection/Compiler/ResolveDecoratorStackPass.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 RectorPrefix20220519\Symfony\Component\DependencyInjection\Compiler; +namespace RectorPrefix20220520\Symfony\Component\DependencyInjection\Compiler; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Alias; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\ChildDefinition; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerBuilder; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Definition; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\ServiceCircularReferenceException; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Reference; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Alias; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\ChildDefinition; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\ContainerBuilder; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Definition; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\ServiceCircularReferenceException; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Reference; /** * @author Nicolas Grekas */ -class ResolveDecoratorStackPass implements \RectorPrefix20220519\Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface +class ResolveDecoratorStackPass implements \RectorPrefix20220520\Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface { - public function process(\RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerBuilder $container) + public function process(\RectorPrefix20220520\Symfony\Component\DependencyInjection\ContainerBuilder $container) { $stacks = []; foreach ($container->findTaggedServiceIds('container.stack') as $id => $tags) { $definition = $container->getDefinition($id); - if (!$definition instanceof \RectorPrefix20220519\Symfony\Component\DependencyInjection\ChildDefinition) { - throw new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('Invalid service "%s": only definitions with a "parent" can have the "container.stack" tag.', $id)); + if (!$definition instanceof \RectorPrefix20220520\Symfony\Component\DependencyInjection\ChildDefinition) { + throw new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('Invalid service "%s": only definitions with a "parent" can have the "container.stack" tag.', $id)); } if (!($stack = $definition->getArguments())) { - throw new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('Invalid service "%s": the stack of decorators is empty.', $id)); + throw new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('Invalid service "%s": the stack of decorators is empty.', $id)); } $stacks[$id] = $stack; } @@ -63,27 +63,27 @@ class ResolveDecoratorStackPass implements \RectorPrefix20220519\Symfony\Compone $id = \end($path); $prefix = '.' . $id . '.'; if (!isset($stacks[$id])) { - return [$id => new \RectorPrefix20220519\Symfony\Component\DependencyInjection\ChildDefinition($id)]; + return [$id => new \RectorPrefix20220520\Symfony\Component\DependencyInjection\ChildDefinition($id)]; } if (\key($path) !== ($searchKey = \array_search($id, $path))) { - throw new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\ServiceCircularReferenceException($id, \array_slice($path, $searchKey)); + throw new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\ServiceCircularReferenceException($id, \array_slice($path, $searchKey)); } foreach ($stacks[$id] as $k => $definition) { - if ($definition instanceof \RectorPrefix20220519\Symfony\Component\DependencyInjection\ChildDefinition && isset($stacks[$definition->getParent()])) { + if ($definition instanceof \RectorPrefix20220520\Symfony\Component\DependencyInjection\ChildDefinition && isset($stacks[$definition->getParent()])) { $path[] = $definition->getParent(); $definition = \unserialize(\serialize($definition)); // deep clone - } elseif ($definition instanceof \RectorPrefix20220519\Symfony\Component\DependencyInjection\Definition) { + } elseif ($definition instanceof \RectorPrefix20220520\Symfony\Component\DependencyInjection\Definition) { $definitions[$decoratedId = $prefix . $k] = $definition; continue; - } elseif ($definition instanceof \RectorPrefix20220519\Symfony\Component\DependencyInjection\Reference || $definition instanceof \RectorPrefix20220519\Symfony\Component\DependencyInjection\Alias) { + } elseif ($definition instanceof \RectorPrefix20220520\Symfony\Component\DependencyInjection\Reference || $definition instanceof \RectorPrefix20220520\Symfony\Component\DependencyInjection\Alias) { $path[] = (string) $definition; } else { - throw new \RectorPrefix20220519\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 \RectorPrefix20220520\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 \RectorPrefix20220519\Symfony\Component\DependencyInjection\ChildDefinition ? $definition->setParent($k) : new \RectorPrefix20220519\Symfony\Component\DependencyInjection\ChildDefinition($k); + $definitions[$decoratedId = $p . $k] = $definition instanceof \RectorPrefix20220520\Symfony\Component\DependencyInjection\ChildDefinition ? $definition->setParent($k) : new \RectorPrefix20220520\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 3b720f892b4..5387dfac322 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 RectorPrefix20220519\Symfony\Component\DependencyInjection\Compiler; +namespace RectorPrefix20220520\Symfony\Component\DependencyInjection\Compiler; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Definition; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Definition; /** * Replaces env var placeholders by their current values. */ -class ResolveEnvPlaceholdersPass extends \RectorPrefix20220519\Symfony\Component\DependencyInjection\Compiler\AbstractRecursivePass +class ResolveEnvPlaceholdersPass extends \RectorPrefix20220520\Symfony\Component\DependencyInjection\Compiler\AbstractRecursivePass { /** * @param mixed $value @@ -25,7 +25,7 @@ class ResolveEnvPlaceholdersPass extends \RectorPrefix20220519\Symfony\Component if (\is_string($value)) { return $this->container->resolveEnvPlaceholders($value, \true); } - if ($value instanceof \RectorPrefix20220519\Symfony\Component\DependencyInjection\Definition) { + if ($value instanceof \RectorPrefix20220520\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 9eecf649d56..f989dd8b04a 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 RectorPrefix20220519\Symfony\Component\DependencyInjection\Compiler; +namespace RectorPrefix20220520\Symfony\Component\DependencyInjection\Compiler; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Definition; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\RuntimeException; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Definition; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\RuntimeException; /** * @author Maxime Steinhausser */ -class ResolveFactoryClassPass extends \RectorPrefix20220519\Symfony\Component\DependencyInjection\Compiler\AbstractRecursivePass +class ResolveFactoryClassPass extends \RectorPrefix20220520\Symfony\Component\DependencyInjection\Compiler\AbstractRecursivePass { /** * {@inheritdoc} @@ -24,9 +24,9 @@ class ResolveFactoryClassPass extends \RectorPrefix20220519\Symfony\Component\De */ protected function processValue($value, bool $isRoot = \false) { - if ($value instanceof \RectorPrefix20220519\Symfony\Component\DependencyInjection\Definition && \is_array($factory = $value->getFactory()) && null === $factory[0]) { + if ($value instanceof \RectorPrefix20220520\Symfony\Component\DependencyInjection\Definition && \is_array($factory = $value->getFactory()) && null === $factory[0]) { if (null === ($class = $value->getClass())) { - throw new \RectorPrefix20220519\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 \RectorPrefix20220520\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 1343afd435e..5d8fd6625de 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 RectorPrefix20220519\Symfony\Component\DependencyInjection\Compiler; +namespace RectorPrefix20220520\Symfony\Component\DependencyInjection\Compiler; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Argument\ArgumentInterface; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerBuilder; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Definition; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Reference; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Argument\ArgumentInterface; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\ContainerBuilder; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Definition; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Reference; /** * Propagate "container.hot_path" tags to referenced services. * * @author Nicolas Grekas */ -class ResolveHotPathPass extends \RectorPrefix20220519\Symfony\Component\DependencyInjection\Compiler\AbstractRecursivePass +class ResolveHotPathPass extends \RectorPrefix20220520\Symfony\Component\DependencyInjection\Compiler\AbstractRecursivePass { /** * @var mixed[] @@ -28,7 +28,7 @@ class ResolveHotPathPass extends \RectorPrefix20220519\Symfony\Component\Depende /** * {@inheritdoc} */ - public function process(\RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerBuilder $container) + public function process(\RectorPrefix20220520\Symfony\Component\DependencyInjection\ContainerBuilder $container) { try { parent::process($container); @@ -44,10 +44,10 @@ class ResolveHotPathPass extends \RectorPrefix20220519\Symfony\Component\Depende */ protected function processValue($value, bool $isRoot = \false) { - if ($value instanceof \RectorPrefix20220519\Symfony\Component\DependencyInjection\Argument\ArgumentInterface) { + if ($value instanceof \RectorPrefix20220520\Symfony\Component\DependencyInjection\Argument\ArgumentInterface) { return $value; } - if ($value instanceof \RectorPrefix20220519\Symfony\Component\DependencyInjection\Definition && $isRoot) { + if ($value instanceof \RectorPrefix20220520\Symfony\Component\DependencyInjection\Definition && $isRoot) { if ($value->isDeprecated()) { return $value->clearTag('container.hot_path'); } @@ -56,7 +56,7 @@ class ResolveHotPathPass extends \RectorPrefix20220519\Symfony\Component\Depende return $value; } } - if ($value instanceof \RectorPrefix20220519\Symfony\Component\DependencyInjection\Reference && \RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerBuilder::IGNORE_ON_UNINITIALIZED_REFERENCE !== $value->getInvalidBehavior() && $this->container->hasDefinition($id = (string) $value)) { + if ($value instanceof \RectorPrefix20220520\Symfony\Component\DependencyInjection\Reference && \RectorPrefix20220520\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('container.hot_path')) { return $value; diff --git a/vendor/symfony/dependency-injection/Compiler/ResolveInstanceofConditionalsPass.php b/vendor/symfony/dependency-injection/Compiler/ResolveInstanceofConditionalsPass.php index c5750fbd893..63709bd1604 100644 --- a/vendor/symfony/dependency-injection/Compiler/ResolveInstanceofConditionalsPass.php +++ b/vendor/symfony/dependency-injection/Compiler/ResolveInstanceofConditionalsPass.php @@ -8,28 +8,28 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20220519\Symfony\Component\DependencyInjection\Compiler; +namespace RectorPrefix20220520\Symfony\Component\DependencyInjection\Compiler; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\ChildDefinition; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerBuilder; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Definition; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\RuntimeException; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\ChildDefinition; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\ContainerBuilder; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Definition; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\RuntimeException; /** * Applies instanceof conditionals to definitions. * * @author Nicolas Grekas */ -class ResolveInstanceofConditionalsPass implements \RectorPrefix20220519\Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface +class ResolveInstanceofConditionalsPass implements \RectorPrefix20220520\Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface { /** * {@inheritdoc} */ - public function process(\RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerBuilder $container) + public function process(\RectorPrefix20220520\Symfony\Component\DependencyInjection\ContainerBuilder $container) { foreach ($container->getAutoconfiguredInstanceof() as $interface => $definition) { if ($definition->getArguments()) { - throw new \RectorPrefix20220519\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 \RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('Autoconfigured instanceof for type "%s" defines arguments but these are not supported and should be removed.', $interface)); } } $tagsToKeep = []; @@ -43,7 +43,7 @@ class ResolveInstanceofConditionalsPass implements \RectorPrefix20220519\Symfony $container->getParameterBag()->remove('container.behavior_describing_tags'); } } - private function processDefinition(\RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerBuilder $container, string $id, \RectorPrefix20220519\Symfony\Component\DependencyInjection\Definition $definition, array $tagsToKeep) : \RectorPrefix20220519\Symfony\Component\DependencyInjection\Definition + private function processDefinition(\RectorPrefix20220520\Symfony\Component\DependencyInjection\ContainerBuilder $container, string $id, \RectorPrefix20220520\Symfony\Component\DependencyInjection\Definition $definition, array $tagsToKeep) : \RectorPrefix20220520\Symfony\Component\DependencyInjection\Definition { $instanceofConditionals = $definition->getInstanceofConditionals(); $autoconfiguredInstanceof = $definition->isAutoconfigured() ? $container->getAutoconfiguredInstanceof() : []; @@ -60,7 +60,7 @@ class ResolveInstanceofConditionalsPass implements \RectorPrefix20220519\Symfony $instanceofCalls = []; $instanceofBindings = []; $reflectionClass = null; - $parent = $definition instanceof \RectorPrefix20220519\Symfony\Component\DependencyInjection\ChildDefinition ? $definition->getParent() : null; + $parent = $definition instanceof \RectorPrefix20220520\Symfony\Component\DependencyInjection\ChildDefinition ? $definition->getParent() : null; foreach ($conditionals as $interface => $instanceofDefs) { if ($interface !== $class && !($reflectionClass ?? ($reflectionClass = $container->getReflectionClass($class, \false) ?: \false))) { continue; @@ -92,7 +92,7 @@ class ResolveInstanceofConditionalsPass implements \RectorPrefix20220519\Symfony $abstract = $container->setDefinition('.abstract.instanceof.' . $id, $definition); $definition->setBindings([]); $definition = \serialize($definition); - if (\RectorPrefix20220519\Symfony\Component\DependencyInjection\Definition::class === \get_class($abstract)) { + if (\RectorPrefix20220520\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); @@ -124,7 +124,7 @@ class ResolveInstanceofConditionalsPass implements \RectorPrefix20220519\Symfony } return $definition; } - private function mergeConditionals(array $autoconfiguredInstanceof, array $instanceofConditionals, \RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerBuilder $container) : array + private function mergeConditionals(array $autoconfiguredInstanceof, array $instanceofConditionals, \RectorPrefix20220520\Symfony\Component\DependencyInjection\ContainerBuilder $container) : array { // make each value an array of ChildDefinition $conditionals = \array_map(function ($childDef) { @@ -133,7 +133,7 @@ class ResolveInstanceofConditionalsPass implements \RectorPrefix20220519\Symfony foreach ($instanceofConditionals as $interface => $instanceofDef) { // make sure the interface/class exists (but don't validate automaticInstanceofConditionals) if (!$container->getReflectionClass($interface)) { - throw new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\RuntimeException(\sprintf('"%s" is set as an "instanceof" conditional, but it does not exist.', $interface)); + throw new \RectorPrefix20220520\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 4d483a8987a..2a82ad9400c 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 RectorPrefix20220519\Symfony\Component\DependencyInjection\Compiler; +namespace RectorPrefix20220520\Symfony\Component\DependencyInjection\Compiler; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Argument\ArgumentInterface; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Argument\ServiceClosureArgument; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerBuilder; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerInterface; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Definition; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\RuntimeException; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Reference; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\TypedReference; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Argument\ArgumentInterface; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Argument\ServiceClosureArgument; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\ContainerBuilder; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\ContainerInterface; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Definition; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\RuntimeException; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Reference; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\TypedReference; /** * Emulates the invalid behavior if the reference is not found within the * container. * * @author Johannes M. Schmitt */ -class ResolveInvalidReferencesPass implements \RectorPrefix20220519\Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface +class ResolveInvalidReferencesPass implements \RectorPrefix20220520\Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface { private $container; private $signalingException; @@ -36,10 +36,10 @@ class ResolveInvalidReferencesPass implements \RectorPrefix20220519\Symfony\Comp /** * Process the ContainerBuilder to resolve invalid references. */ - public function process(\RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerBuilder $container) + public function process(\RectorPrefix20220520\Symfony\Component\DependencyInjection\ContainerBuilder $container) { $this->container = $container; - $this->signalingException = new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\RuntimeException('Invalid reference.'); + $this->signalingException = new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\RuntimeException('Invalid reference.'); try { foreach ($container->getDefinitions() as $this->currentId => $definition) { $this->processValue($definition); @@ -57,11 +57,11 @@ class ResolveInvalidReferencesPass implements \RectorPrefix20220519\Symfony\Comp */ private function processValue($value, int $rootLevel = 0, int $level = 0) { - if ($value instanceof \RectorPrefix20220519\Symfony\Component\DependencyInjection\Argument\ServiceClosureArgument) { + if ($value instanceof \RectorPrefix20220520\Symfony\Component\DependencyInjection\Argument\ServiceClosureArgument) { $value->setValues($this->processValue($value->getValues(), 1, 1)); - } elseif ($value instanceof \RectorPrefix20220519\Symfony\Component\DependencyInjection\Argument\ArgumentInterface) { + } elseif ($value instanceof \RectorPrefix20220520\Symfony\Component\DependencyInjection\Argument\ArgumentInterface) { $value->setValues($this->processValue($value->getValues(), $rootLevel, 1 + $level)); - } elseif ($value instanceof \RectorPrefix20220519\Symfony\Component\DependencyInjection\Definition) { + } elseif ($value instanceof \RectorPrefix20220520\Symfony\Component\DependencyInjection\Definition) { if ($value->isSynthetic() || $value->isAbstract()) { return $value; } @@ -78,7 +78,7 @@ class ResolveInvalidReferencesPass implements \RectorPrefix20220519\Symfony\Comp if ($v !== ($processedValue = $this->processValue($v, $rootLevel, 1 + $level))) { $value[$k] = $processedValue; } - } catch (\RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\RuntimeException $e) { + } catch (\RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\RuntimeException $e) { if ($rootLevel < $level || $rootLevel && !$level) { unset($value[$k]); } elseif ($rootLevel) { @@ -92,26 +92,26 @@ class ResolveInvalidReferencesPass implements \RectorPrefix20220519\Symfony\Comp if (\false !== $i) { $value = \array_values($value); } - } elseif ($value instanceof \RectorPrefix20220519\Symfony\Component\DependencyInjection\Reference) { + } elseif ($value instanceof \RectorPrefix20220520\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 && \RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerInterface::NULL_ON_INVALID_REFERENCE === $currentDefinition->decorationOnInvalid) { + if ($currentDefinition->innerServiceId === $id && \RectorPrefix20220520\Symfony\Component\DependencyInjection\ContainerInterface::NULL_ON_INVALID_REFERENCE === $currentDefinition->decorationOnInvalid) { return null; } $invalidBehavior = $value->getInvalidBehavior(); - if (\RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerInterface::RUNTIME_EXCEPTION_ON_INVALID_REFERENCE === $invalidBehavior && $value instanceof \RectorPrefix20220519\Symfony\Component\DependencyInjection\TypedReference && !$this->container->has($id)) { - $e = new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException($id, $this->currentId); + if (\RectorPrefix20220520\Symfony\Component\DependencyInjection\ContainerInterface::RUNTIME_EXCEPTION_ON_INVALID_REFERENCE === $invalidBehavior && $value instanceof \RectorPrefix20220520\Symfony\Component\DependencyInjection\TypedReference && !$this->container->has($id)) { + $e = new \RectorPrefix20220520\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 \RectorPrefix20220519\Symfony\Component\DependencyInjection\TypedReference($id, $value->getType(), $value->getInvalidBehavior()); + return new \RectorPrefix20220520\Symfony\Component\DependencyInjection\TypedReference($id, $value->getType(), $value->getInvalidBehavior()); } // resolve invalid behavior - if (\RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerInterface::NULL_ON_INVALID_REFERENCE === $invalidBehavior) { + if (\RectorPrefix20220520\Symfony\Component\DependencyInjection\ContainerInterface::NULL_ON_INVALID_REFERENCE === $invalidBehavior) { $value = null; - } elseif (\RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerInterface::IGNORE_ON_INVALID_REFERENCE === $invalidBehavior) { + } elseif (\RectorPrefix20220520\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 b2f64094f71..88c87e6fef4 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 RectorPrefix20220519\Symfony\Component\DependencyInjection\Compiler; +namespace RectorPrefix20220520\Symfony\Component\DependencyInjection\Compiler; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Argument\AbstractArgument; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Definition; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\LazyProxy\ProxyHelper; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Reference; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Argument\AbstractArgument; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Definition; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\LazyProxy\ProxyHelper; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Reference; /** * Resolves named arguments to their corresponding numeric index. * * @author Kévin Dunglas */ -class ResolveNamedArgumentsPass extends \RectorPrefix20220519\Symfony\Component\DependencyInjection\Compiler\AbstractRecursivePass +class ResolveNamedArgumentsPass extends \RectorPrefix20220520\Symfony\Component\DependencyInjection\Compiler\AbstractRecursivePass { /** * {@inheritdoc} @@ -29,10 +29,10 @@ class ResolveNamedArgumentsPass extends \RectorPrefix20220519\Symfony\Component\ */ protected function processValue($value, bool $isRoot = \false) { - if ($value instanceof \RectorPrefix20220519\Symfony\Component\DependencyInjection\Argument\AbstractArgument && $value->getText() . '.' === $value->getTextWithContext()) { + if ($value instanceof \RectorPrefix20220520\Symfony\Component\DependencyInjection\Argument\AbstractArgument && $value->getText() . '.' === $value->getTextWithContext()) { $value->setContext(\sprintf('A value found in service "%s"', $this->currentId)); } - if (!$value instanceof \RectorPrefix20220519\Symfony\Component\DependencyInjection\Definition) { + if (!$value instanceof \RectorPrefix20220520\Symfony\Component\DependencyInjection\Definition) { return parent::processValue($value, $isRoot); } $calls = $value->getMethodCalls(); @@ -42,7 +42,7 @@ class ResolveNamedArgumentsPass extends \RectorPrefix20220519\Symfony\Component\ $parameters = null; $resolvedArguments = []; foreach ($arguments as $key => $argument) { - if ($argument instanceof \RectorPrefix20220519\Symfony\Component\DependencyInjection\Argument\AbstractArgument && $argument->getText() . '.' === $argument->getTextWithContext()) { + if ($argument instanceof \RectorPrefix20220520\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)) { @@ -56,7 +56,7 @@ class ResolveNamedArgumentsPass extends \RectorPrefix20220519\Symfony\Component\ $parameters = $r->getParameters(); } if (isset($key[0]) && '$' !== $key[0] && !\class_exists($key) && !\interface_exists($key, \false)) { - throw new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('Invalid service "%s": did you forget to add the "$" prefix to argument "%s"?', $this->currentId, $key)); + throw new \RectorPrefix20220520\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) { @@ -71,20 +71,20 @@ class ResolveNamedArgumentsPass extends \RectorPrefix20220519\Symfony\Component\ continue 2; } } - throw new \RectorPrefix20220519\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 \RectorPrefix20220520\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 \RectorPrefix20220519\Symfony\Component\DependencyInjection\Reference && !$argument instanceof \RectorPrefix20220519\Symfony\Component\DependencyInjection\Definition) { - throw new \RectorPrefix20220519\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, \RectorPrefix20220519\Symfony\Component\DependencyInjection\Reference::class, \RectorPrefix20220519\Symfony\Component\DependencyInjection\Definition::class, \get_debug_type($argument))); + if (null !== $argument && !$argument instanceof \RectorPrefix20220520\Symfony\Component\DependencyInjection\Reference && !$argument instanceof \RectorPrefix20220520\Symfony\Component\DependencyInjection\Definition) { + throw new \RectorPrefix20220520\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, \RectorPrefix20220520\Symfony\Component\DependencyInjection\Reference::class, \RectorPrefix20220520\Symfony\Component\DependencyInjection\Definition::class, \get_debug_type($argument))); } $typeFound = \false; foreach ($parameters as $j => $p) { - if (!\array_key_exists($j, $resolvedArguments) && \RectorPrefix20220519\Symfony\Component\DependencyInjection\LazyProxy\ProxyHelper::getTypeHint($r, $p, \true) === $key) { + if (!\array_key_exists($j, $resolvedArguments) && \RectorPrefix20220520\Symfony\Component\DependencyInjection\LazyProxy\ProxyHelper::getTypeHint($r, $p, \true) === $key) { $resolvedArguments[$j] = $argument; $typeFound = \true; } } if (!$typeFound) { - throw new \RectorPrefix20220519\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 \RectorPrefix20220520\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]) { @@ -100,7 +100,7 @@ class ResolveNamedArgumentsPass extends \RectorPrefix20220519\Symfony\Component\ $value->setMethodCalls($calls); } foreach ($value->getProperties() as $key => $argument) { - if ($argument instanceof \RectorPrefix20220519\Symfony\Component\DependencyInjection\Argument\AbstractArgument && $argument->getText() . '.' === $argument->getTextWithContext()) { + if ($argument instanceof \RectorPrefix20220520\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 10723d24347..3f372ee06e2 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 RectorPrefix20220519\Symfony\Component\DependencyInjection\Compiler; +namespace RectorPrefix20220520\Symfony\Component\DependencyInjection\Compiler; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerBuilder; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Definition; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Reference; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\ContainerBuilder; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Definition; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Reference; /** * Propagate the "container.no_preload" tag. * * @author Nicolas Grekas */ -class ResolveNoPreloadPass extends \RectorPrefix20220519\Symfony\Component\DependencyInjection\Compiler\AbstractRecursivePass +class ResolveNoPreloadPass extends \RectorPrefix20220520\Symfony\Component\DependencyInjection\Compiler\AbstractRecursivePass { private const DO_PRELOAD_TAG = '.container.do_preload'; /** @@ -28,7 +28,7 @@ class ResolveNoPreloadPass extends \RectorPrefix20220519\Symfony\Component\Depen /** * {@inheritdoc} */ - public function process(\RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerBuilder $container) + public function process(\RectorPrefix20220520\Symfony\Component\DependencyInjection\ContainerBuilder $container) { $this->container = $container; try { @@ -63,7 +63,7 @@ class ResolveNoPreloadPass extends \RectorPrefix20220519\Symfony\Component\Depen */ protected function processValue($value, bool $isRoot = \false) { - if ($value instanceof \RectorPrefix20220519\Symfony\Component\DependencyInjection\Reference && \RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerBuilder::IGNORE_ON_UNINITIALIZED_REFERENCE !== $value->getInvalidBehavior() && $this->container->hasDefinition($id = (string) $value)) { + if ($value instanceof \RectorPrefix20220520\Symfony\Component\DependencyInjection\Reference && \RectorPrefix20220520\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; @@ -71,7 +71,7 @@ class ResolveNoPreloadPass extends \RectorPrefix20220519\Symfony\Component\Depen } return $value; } - if (!$value instanceof \RectorPrefix20220519\Symfony\Component\DependencyInjection\Definition) { + if (!$value instanceof \RectorPrefix20220520\Symfony\Component\DependencyInjection\Definition) { return parent::processValue($value, $isRoot); } if ($value->hasTag('container.no_preload') || $value->isDeprecated() || $value->hasErrors()) { diff --git a/vendor/symfony/dependency-injection/Compiler/ResolveParameterPlaceHoldersPass.php b/vendor/symfony/dependency-injection/Compiler/ResolveParameterPlaceHoldersPass.php index f4bac8cd2fa..0012e031b7b 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 RectorPrefix20220519\Symfony\Component\DependencyInjection\Compiler; +namespace RectorPrefix20220520\Symfony\Component\DependencyInjection\Compiler; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerBuilder; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Definition; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\ParameterNotFoundException; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\ContainerBuilder; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Definition; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\ParameterNotFoundException; /** * Resolves all parameter placeholders "%somevalue%" to their real values. * * @author Johannes M. Schmitt */ -class ResolveParameterPlaceHoldersPass extends \RectorPrefix20220519\Symfony\Component\DependencyInjection\Compiler\AbstractRecursivePass +class ResolveParameterPlaceHoldersPass extends \RectorPrefix20220520\Symfony\Component\DependencyInjection\Compiler\AbstractRecursivePass { private $bag; /** @@ -39,7 +39,7 @@ class ResolveParameterPlaceHoldersPass extends \RectorPrefix20220519\Symfony\Com * * @throws ParameterNotFoundException */ - public function process(\RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerBuilder $container) + public function process(\RectorPrefix20220520\Symfony\Component\DependencyInjection\ContainerBuilder $container) { $this->bag = $container->getParameterBag(); try { @@ -50,7 +50,7 @@ class ResolveParameterPlaceHoldersPass extends \RectorPrefix20220519\Symfony\Com $aliases[$this->bag->resolveValue($name)] = $target; } $container->setAliases($aliases); - } catch (\RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\ParameterNotFoundException $e) { + } catch (\RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\ParameterNotFoundException $e) { $e->setSourceId($this->currentId); throw $e; } @@ -66,7 +66,7 @@ class ResolveParameterPlaceHoldersPass extends \RectorPrefix20220519\Symfony\Com if (\is_string($value)) { try { $v = $this->bag->resolveValue($value); - } catch (\RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\ParameterNotFoundException $e) { + } catch (\RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\ParameterNotFoundException $e) { if ($this->throwOnResolveException) { throw $e; } @@ -75,7 +75,7 @@ class ResolveParameterPlaceHoldersPass extends \RectorPrefix20220519\Symfony\Com } return $this->resolveArrays || !$v || !\is_array($v) ? $v : $value; } - if ($value instanceof \RectorPrefix20220519\Symfony\Component\DependencyInjection\Definition) { + if ($value instanceof \RectorPrefix20220520\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/ResolveReferencesToAliasesPass.php b/vendor/symfony/dependency-injection/Compiler/ResolveReferencesToAliasesPass.php index 2f38168b72a..b7854dace7f 100644 --- a/vendor/symfony/dependency-injection/Compiler/ResolveReferencesToAliasesPass.php +++ b/vendor/symfony/dependency-injection/Compiler/ResolveReferencesToAliasesPass.php @@ -8,22 +8,22 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20220519\Symfony\Component\DependencyInjection\Compiler; +namespace RectorPrefix20220520\Symfony\Component\DependencyInjection\Compiler; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerBuilder; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\ServiceCircularReferenceException; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Reference; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\ContainerBuilder; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\ServiceCircularReferenceException; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Reference; /** * Replaces all references to aliases with references to the actual service. * * @author Johannes M. Schmitt */ -class ResolveReferencesToAliasesPass extends \RectorPrefix20220519\Symfony\Component\DependencyInjection\Compiler\AbstractRecursivePass +class ResolveReferencesToAliasesPass extends \RectorPrefix20220520\Symfony\Component\DependencyInjection\Compiler\AbstractRecursivePass { /** * {@inheritdoc} */ - public function process(\RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerBuilder $container) + public function process(\RectorPrefix20220520\Symfony\Component\DependencyInjection\ContainerBuilder $container) { parent::process($container); foreach ($container->getAliases() as $id => $alias) { @@ -41,13 +41,13 @@ class ResolveReferencesToAliasesPass extends \RectorPrefix20220519\Symfony\Compo */ protected function processValue($value, bool $isRoot = \false) { - if (!$value instanceof \RectorPrefix20220519\Symfony\Component\DependencyInjection\Reference) { + if (!$value instanceof \RectorPrefix20220520\Symfony\Component\DependencyInjection\Reference) { return parent::processValue($value, $isRoot); } $defId = $this->getDefinitionId($id = (string) $value, $this->container); - return $defId !== $id ? new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Reference($defId, $value->getInvalidBehavior()) : $value; + return $defId !== $id ? new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Reference($defId, $value->getInvalidBehavior()) : $value; } - private function getDefinitionId(string $id, \RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerBuilder $container) : string + private function getDefinitionId(string $id, \RectorPrefix20220520\Symfony\Component\DependencyInjection\ContainerBuilder $container) : string { if (!$container->hasAlias($id)) { return $id; @@ -63,7 +63,7 @@ class ResolveReferencesToAliasesPass extends \RectorPrefix20220519\Symfony\Compo $seen = []; do { if (isset($seen[$id])) { - throw new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\ServiceCircularReferenceException($id, \array_merge(\array_keys($seen), [$id])); + throw new \RectorPrefix20220520\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 cd743956ece..17942c93bd1 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 RectorPrefix20220519\Symfony\Component\DependencyInjection\Compiler; +namespace RectorPrefix20220520\Symfony\Component\DependencyInjection\Compiler; -use RectorPrefix20220519\Psr\Container\ContainerInterface; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Definition; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Reference; -use RectorPrefix20220519\Symfony\Contracts\Service\ServiceProviderInterface; +use RectorPrefix20220520\Psr\Container\ContainerInterface; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Definition; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Reference; +use RectorPrefix20220520\Symfony\Contracts\Service\ServiceProviderInterface; /** * Compiler pass to inject their service locator to service subscribers. * * @author Nicolas Grekas */ -class ResolveServiceSubscribersPass extends \RectorPrefix20220519\Symfony\Component\DependencyInjection\Compiler\AbstractRecursivePass +class ResolveServiceSubscribersPass extends \RectorPrefix20220520\Symfony\Component\DependencyInjection\Compiler\AbstractRecursivePass { /** * @var string|null @@ -31,10 +31,10 @@ class ResolveServiceSubscribersPass extends \RectorPrefix20220519\Symfony\Compon */ protected function processValue($value, bool $isRoot = \false) { - if ($value instanceof \RectorPrefix20220519\Symfony\Component\DependencyInjection\Reference && $this->serviceLocator && \in_array((string) $value, [\RectorPrefix20220519\Psr\Container\ContainerInterface::class, \RectorPrefix20220519\Symfony\Contracts\Service\ServiceProviderInterface::class], \true)) { - return new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Reference($this->serviceLocator); + if ($value instanceof \RectorPrefix20220520\Symfony\Component\DependencyInjection\Reference && $this->serviceLocator && \in_array((string) $value, [\RectorPrefix20220520\Psr\Container\ContainerInterface::class, \RectorPrefix20220520\Symfony\Contracts\Service\ServiceProviderInterface::class], \true)) { + return new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Reference($this->serviceLocator); } - if (!$value instanceof \RectorPrefix20220519\Symfony\Component\DependencyInjection\Definition) { + if (!$value instanceof \RectorPrefix20220520\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 844c4411ce3..cd0957bc858 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 RectorPrefix20220519\Symfony\Component\DependencyInjection\Compiler; +namespace RectorPrefix20220520\Symfony\Component\DependencyInjection\Compiler; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Argument\TaggedIteratorArgument; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Argument\TaggedIteratorArgument; /** * Resolves all TaggedIteratorArgument arguments. * * @author Roland Franssen */ -class ResolveTaggedIteratorArgumentPass extends \RectorPrefix20220519\Symfony\Component\DependencyInjection\Compiler\AbstractRecursivePass +class ResolveTaggedIteratorArgumentPass extends \RectorPrefix20220520\Symfony\Component\DependencyInjection\Compiler\AbstractRecursivePass { use PriorityTaggedServiceTrait; /** @@ -26,7 +26,7 @@ class ResolveTaggedIteratorArgumentPass extends \RectorPrefix20220519\Symfony\Co */ protected function processValue($value, bool $isRoot = \false) { - if (!$value instanceof \RectorPrefix20220519\Symfony\Component\DependencyInjection\Argument\TaggedIteratorArgument) { + if (!$value instanceof \RectorPrefix20220520\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 530c4a01c37..81c8ba0f8ee 100644 --- a/vendor/symfony/dependency-injection/Compiler/ServiceLocatorTagPass.php +++ b/vendor/symfony/dependency-injection/Compiler/ServiceLocatorTagPass.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 RectorPrefix20220519\Symfony\Component\DependencyInjection\Compiler; +namespace RectorPrefix20220520\Symfony\Component\DependencyInjection\Compiler; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Alias; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Argument\ServiceClosureArgument; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Argument\ServiceLocatorArgument; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Argument\TaggedIteratorArgument; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerBuilder; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Definition; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Reference; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\ServiceLocator; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Alias; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Argument\ServiceClosureArgument; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Argument\ServiceLocatorArgument; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Argument\TaggedIteratorArgument; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\ContainerBuilder; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Definition; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Reference; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\ServiceLocator; /** * Applies the "container.service_locator" tag by wrapping references into ServiceClosureArgument instances. * * @author Nicolas Grekas */ -final class ServiceLocatorTagPass extends \RectorPrefix20220519\Symfony\Component\DependencyInjection\Compiler\AbstractRecursivePass +final class ServiceLocatorTagPass extends \RectorPrefix20220520\Symfony\Component\DependencyInjection\Compiler\AbstractRecursivePass { use PriorityTaggedServiceTrait; /** @@ -33,32 +33,32 @@ final class ServiceLocatorTagPass extends \RectorPrefix20220519\Symfony\Componen */ protected function processValue($value, bool $isRoot = \false) { - if ($value instanceof \RectorPrefix20220519\Symfony\Component\DependencyInjection\Argument\ServiceLocatorArgument) { + if ($value instanceof \RectorPrefix20220520\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 \RectorPrefix20220519\Symfony\Component\DependencyInjection\Definition || !$value->hasTag('container.service_locator')) { + if (!$value instanceof \RectorPrefix20220520\Symfony\Component\DependencyInjection\Definition || !$value->hasTag('container.service_locator')) { return parent::processValue($value, $isRoot); } if (!$value->getClass()) { - $value->setClass(\RectorPrefix20220519\Symfony\Component\DependencyInjection\ServiceLocator::class); + $value->setClass(\RectorPrefix20220520\Symfony\Component\DependencyInjection\ServiceLocator::class); } $services = $value->getArguments()[0] ?? null; - if ($services instanceof \RectorPrefix20220519\Symfony\Component\DependencyInjection\Argument\TaggedIteratorArgument) { + if ($services instanceof \RectorPrefix20220520\Symfony\Component\DependencyInjection\Argument\TaggedIteratorArgument) { $services = $this->findAndSortTaggedServices($services, $this->container); } if (!\is_array($services)) { - throw new \RectorPrefix20220519\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)); + throw new \RectorPrefix20220520\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 ($services as $k => $v) { - if ($v instanceof \RectorPrefix20220519\Symfony\Component\DependencyInjection\Argument\ServiceClosureArgument) { + if ($v instanceof \RectorPrefix20220520\Symfony\Component\DependencyInjection\Argument\ServiceClosureArgument) { continue; } - if (!$v instanceof \RectorPrefix20220519\Symfony\Component\DependencyInjection\Reference) { - throw new \RectorPrefix20220519\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 \RectorPrefix20220520\Symfony\Component\DependencyInjection\Reference) { + throw new \RectorPrefix20220520\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($services[$k]); @@ -67,36 +67,36 @@ final class ServiceLocatorTagPass extends \RectorPrefix20220519\Symfony\Componen } elseif (\is_int($k)) { $i = null; } - $services[$k] = new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Argument\ServiceClosureArgument($v); + $services[$k] = new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Argument\ServiceClosureArgument($v); } \ksort($services); $value->setArgument(0, $services); - $id = '.service_locator.' . \RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerBuilder::hash($value); + $id = '.service_locator.' . \RectorPrefix20220520\Symfony\Component\DependencyInjection\ContainerBuilder::hash($value); if ($isRoot) { if ($id !== $this->currentId) { - $this->container->setAlias($id, new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Alias($this->currentId, \false)); + $this->container->setAlias($id, new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Alias($this->currentId, \false)); } return $value; } $this->container->setDefinition($id, $value->setPublic(\false)); - return new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Reference($id); + return new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Reference($id); } /** * @param Reference[] $refMap */ - public static function register(\RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerBuilder $container, array $refMap, string $callerId = null) : \RectorPrefix20220519\Symfony\Component\DependencyInjection\Reference + public static function register(\RectorPrefix20220520\Symfony\Component\DependencyInjection\ContainerBuilder $container, array $refMap, string $callerId = null) : \RectorPrefix20220520\Symfony\Component\DependencyInjection\Reference { foreach ($refMap as $id => $ref) { - if (!$ref instanceof \RectorPrefix20220519\Symfony\Component\DependencyInjection\Reference) { - throw new \RectorPrefix20220519\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 \RectorPrefix20220520\Symfony\Component\DependencyInjection\Reference) { + throw new \RectorPrefix20220520\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 \RectorPrefix20220519\Symfony\Component\DependencyInjection\Argument\ServiceClosureArgument($ref); + $refMap[$id] = new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Argument\ServiceClosureArgument($ref); } - $locator = (new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Definition(\RectorPrefix20220519\Symfony\Component\DependencyInjection\ServiceLocator::class))->addArgument($refMap)->addTag('container.service_locator'); + $locator = (new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Definition(\RectorPrefix20220520\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.' . \RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerBuilder::hash($locator))) { + if (!$container->hasDefinition($id = '.service_locator.' . \RectorPrefix20220520\Symfony\Component\DependencyInjection\ContainerBuilder::hash($locator))) { $container->setDefinition($id, $locator); } if (null !== $callerId) { @@ -104,8 +104,8 @@ final class ServiceLocatorTagPass extends \RectorPrefix20220519\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, \RectorPrefix20220519\Symfony\Component\DependencyInjection\ServiceLocator::class)->setFactory([new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Reference($locatorId), 'withContext'])->addTag('container.service_locator_context', ['id' => $callerId])->addArgument($callerId)->addArgument(new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Reference('service_container')); + $container->register($id .= '.' . $callerId, \RectorPrefix20220520\Symfony\Component\DependencyInjection\ServiceLocator::class)->setFactory([new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Reference($locatorId), 'withContext'])->addTag('container.service_locator_context', ['id' => $callerId])->addArgument($callerId)->addArgument(new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Reference('service_container')); } - return new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Reference($id); + return new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Reference($id); } } diff --git a/vendor/symfony/dependency-injection/Compiler/ServiceReferenceGraph.php b/vendor/symfony/dependency-injection/Compiler/ServiceReferenceGraph.php index 2a39c857233..a7a7fc01774 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 RectorPrefix20220519\Symfony\Component\DependencyInjection\Compiler; +namespace RectorPrefix20220520\Symfony\Component\DependencyInjection\Compiler; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Reference; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException; +use RectorPrefix20220520\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) : \RectorPrefix20220519\Symfony\Component\DependencyInjection\Compiler\ServiceReferenceGraphNode + public function getNode(string $id) : \RectorPrefix20220520\Symfony\Component\DependencyInjection\Compiler\ServiceReferenceGraphNode { if (!isset($this->nodes[$id])) { - throw new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('There is no node with id "%s".', $id)); + throw new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('There is no node with id "%s".', $id)); } return $this->nodes[$id]; } @@ -68,25 +68,25 @@ class ServiceReferenceGraph * @param mixed $sourceValue * @param mixed $destValue */ - public function connect(?string $sourceId, $sourceValue, ?string $destId, $destValue = null, \RectorPrefix20220519\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, \RectorPrefix20220520\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 \RectorPrefix20220519\Symfony\Component\DependencyInjection\Compiler\ServiceReferenceGraphEdge($sourceNode, $destNode, $reference, $lazy, $weak, $byConstructor); + $edge = new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Compiler\ServiceReferenceGraphEdge($sourceNode, $destNode, $reference, $lazy, $weak, $byConstructor); $sourceNode->addOutEdge($edge); $destNode->addInEdge($edge); } /** * @param mixed $value */ - private function createNode(string $id, $value) : \RectorPrefix20220519\Symfony\Component\DependencyInjection\Compiler\ServiceReferenceGraphNode + private function createNode(string $id, $value) : \RectorPrefix20220520\Symfony\Component\DependencyInjection\Compiler\ServiceReferenceGraphNode { if (isset($this->nodes[$id]) && $this->nodes[$id]->getValue() === $value) { return $this->nodes[$id]; } - return $this->nodes[$id] = new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Compiler\ServiceReferenceGraphNode($id, $value); + return $this->nodes[$id] = new \RectorPrefix20220520\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 a0282a5b34d..d013143a790 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 RectorPrefix20220519\Symfony\Component\DependencyInjection\Compiler; +namespace RectorPrefix20220520\Symfony\Component\DependencyInjection\Compiler; /** * Represents an edge in your service graph. @@ -40,7 +40,7 @@ class ServiceReferenceGraphEdge /** * @param mixed $value */ - public function __construct(\RectorPrefix20220519\Symfony\Component\DependencyInjection\Compiler\ServiceReferenceGraphNode $sourceNode, \RectorPrefix20220519\Symfony\Component\DependencyInjection\Compiler\ServiceReferenceGraphNode $destNode, $value = null, bool $lazy = \false, bool $weak = \false, bool $byConstructor = \false) + public function __construct(\RectorPrefix20220520\Symfony\Component\DependencyInjection\Compiler\ServiceReferenceGraphNode $sourceNode, \RectorPrefix20220520\Symfony\Component\DependencyInjection\Compiler\ServiceReferenceGraphNode $destNode, $value = null, bool $lazy = \false, bool $weak = \false, bool $byConstructor = \false) { $this->sourceNode = $sourceNode; $this->destNode = $destNode; @@ -60,14 +60,14 @@ class ServiceReferenceGraphEdge /** * Returns the source node. */ - public function getSourceNode() : \RectorPrefix20220519\Symfony\Component\DependencyInjection\Compiler\ServiceReferenceGraphNode + public function getSourceNode() : \RectorPrefix20220520\Symfony\Component\DependencyInjection\Compiler\ServiceReferenceGraphNode { return $this->sourceNode; } /** * Returns the destination node. */ - public function getDestNode() : \RectorPrefix20220519\Symfony\Component\DependencyInjection\Compiler\ServiceReferenceGraphNode + public function getDestNode() : \RectorPrefix20220520\Symfony\Component\DependencyInjection\Compiler\ServiceReferenceGraphNode { return $this->destNode; } diff --git a/vendor/symfony/dependency-injection/Compiler/ServiceReferenceGraphNode.php b/vendor/symfony/dependency-injection/Compiler/ServiceReferenceGraphNode.php index fab57b998a9..0fde9ac9155 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 RectorPrefix20220519\Symfony\Component\DependencyInjection\Compiler; +namespace RectorPrefix20220520\Symfony\Component\DependencyInjection\Compiler; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Alias; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Definition; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Alias; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Definition; /** * Represents a node in your service graph. * @@ -45,11 +45,11 @@ class ServiceReferenceGraphNode $this->id = $id; $this->value = $value; } - public function addInEdge(\RectorPrefix20220519\Symfony\Component\DependencyInjection\Compiler\ServiceReferenceGraphEdge $edge) + public function addInEdge(\RectorPrefix20220520\Symfony\Component\DependencyInjection\Compiler\ServiceReferenceGraphEdge $edge) { $this->inEdges[] = $edge; } - public function addOutEdge(\RectorPrefix20220519\Symfony\Component\DependencyInjection\Compiler\ServiceReferenceGraphEdge $edge) + public function addOutEdge(\RectorPrefix20220520\Symfony\Component\DependencyInjection\Compiler\ServiceReferenceGraphEdge $edge) { $this->outEdges[] = $edge; } @@ -58,14 +58,14 @@ class ServiceReferenceGraphNode */ public function isAlias() : bool { - return $this->value instanceof \RectorPrefix20220519\Symfony\Component\DependencyInjection\Alias; + return $this->value instanceof \RectorPrefix20220520\Symfony\Component\DependencyInjection\Alias; } /** * Checks if the value of this node is a Definition. */ public function isDefinition() : bool { - return $this->value instanceof \RectorPrefix20220519\Symfony\Component\DependencyInjection\Definition; + return $this->value instanceof \RectorPrefix20220520\Symfony\Component\DependencyInjection\Definition; } /** * Returns the identifier. diff --git a/vendor/symfony/dependency-injection/Compiler/ValidateEnvPlaceholdersPass.php b/vendor/symfony/dependency-injection/Compiler/ValidateEnvPlaceholdersPass.php index a212d415433..8871363c00d 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 RectorPrefix20220519\Symfony\Component\DependencyInjection\Compiler; +namespace RectorPrefix20220520\Symfony\Component\DependencyInjection\Compiler; -use RectorPrefix20220519\Symfony\Component\Config\Definition\BaseNode; -use RectorPrefix20220519\Symfony\Component\Config\Definition\ConfigurationInterface; -use RectorPrefix20220519\Symfony\Component\Config\Definition\Processor; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerBuilder; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Extension\ConfigurationExtensionInterface; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\ParameterBag\EnvPlaceholderParameterBag; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\ParameterBag\ParameterBag; +use RectorPrefix20220520\Symfony\Component\Config\Definition\BaseNode; +use RectorPrefix20220520\Symfony\Component\Config\Definition\ConfigurationInterface; +use RectorPrefix20220520\Symfony\Component\Config\Definition\Processor; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\ContainerBuilder; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Extension\ConfigurationExtensionInterface; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\ParameterBag\EnvPlaceholderParameterBag; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\ParameterBag\ParameterBag; /** * Validates environment variable placeholders used in extension configuration with dummy values. * * @author Roland Franssen */ -class ValidateEnvPlaceholdersPass implements \RectorPrefix20220519\Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface +class ValidateEnvPlaceholdersPass implements \RectorPrefix20220520\Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface { private const TYPE_FIXTURES = ['array' => [], 'bool' => \false, 'float' => 0.0, 'int' => 0, 'string' => '']; /** @@ -32,17 +32,17 @@ class ValidateEnvPlaceholdersPass implements \RectorPrefix20220519\Symfony\Compo /** * {@inheritdoc} */ - public function process(\RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerBuilder $container) + public function process(\RectorPrefix20220520\Symfony\Component\DependencyInjection\ContainerBuilder $container) { $this->extensionConfig = []; - if (!\class_exists(\RectorPrefix20220519\Symfony\Component\Config\Definition\BaseNode::class) || !($extensions = $container->getExtensions())) { + if (!\class_exists(\RectorPrefix20220520\Symfony\Component\Config\Definition\BaseNode::class) || !($extensions = $container->getExtensions())) { return; } $resolvingBag = $container->getParameterBag(); - if (!$resolvingBag instanceof \RectorPrefix20220519\Symfony\Component\DependencyInjection\ParameterBag\EnvPlaceholderParameterBag) { + if (!$resolvingBag instanceof \RectorPrefix20220520\Symfony\Component\DependencyInjection\ParameterBag\EnvPlaceholderParameterBag) { return; } - $defaultBag = new \RectorPrefix20220519\Symfony\Component\DependencyInjection\ParameterBag\ParameterBag($resolvingBag->all()); + $defaultBag = new \RectorPrefix20220520\Symfony\Component\DependencyInjection\ParameterBag\ParameterBag($resolvingBag->all()); $envTypes = $resolvingBag->getProvidedTypes(); foreach ($resolvingBag->getEnvPlaceholders() + $resolvingBag->getUnusedEnvPlaceholders() as $env => $placeholders) { $values = []; @@ -57,17 +57,17 @@ class ValidateEnvPlaceholdersPass implements \RectorPrefix20220519\Symfony\Compo } } foreach ($placeholders as $placeholder) { - \RectorPrefix20220519\Symfony\Component\Config\Definition\BaseNode::setPlaceholder($placeholder, $values); + \RectorPrefix20220520\Symfony\Component\Config\Definition\BaseNode::setPlaceholder($placeholder, $values); } } - $processor = new \RectorPrefix20220519\Symfony\Component\Config\Definition\Processor(); + $processor = new \RectorPrefix20220520\Symfony\Component\Config\Definition\Processor(); foreach ($extensions as $name => $extension) { - if (!($extension instanceof \RectorPrefix20220519\Symfony\Component\DependencyInjection\Extension\ConfigurationExtensionInterface || $extension instanceof \RectorPrefix20220519\Symfony\Component\Config\Definition\ConfigurationInterface) || !($config = \array_filter($container->getExtensionConfig($name)))) { + if (!($extension instanceof \RectorPrefix20220520\Symfony\Component\DependencyInjection\Extension\ConfigurationExtensionInterface || $extension instanceof \RectorPrefix20220520\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 \RectorPrefix20220519\Symfony\Component\Config\Definition\ConfigurationInterface) { + if ($extension instanceof \RectorPrefix20220520\Symfony\Component\Config\Definition\ConfigurationInterface) { $configuration = $extension; } elseif (null === ($configuration = $extension->getConfiguration($config, $container))) { continue; diff --git a/vendor/symfony/dependency-injection/Config/ContainerParametersResource.php b/vendor/symfony/dependency-injection/Config/ContainerParametersResource.php index 4f310372023..0c2a4dfc3aa 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 RectorPrefix20220519\Symfony\Component\DependencyInjection\Config; +namespace RectorPrefix20220520\Symfony\Component\DependencyInjection\Config; -use RectorPrefix20220519\Symfony\Component\Config\Resource\ResourceInterface; +use RectorPrefix20220520\Symfony\Component\Config\Resource\ResourceInterface; /** * Tracks container parameters. * @@ -18,7 +18,7 @@ use RectorPrefix20220519\Symfony\Component\Config\Resource\ResourceInterface; * * @final */ -class ContainerParametersResource implements \RectorPrefix20220519\Symfony\Component\Config\Resource\ResourceInterface +class ContainerParametersResource implements \RectorPrefix20220520\Symfony\Component\Config\Resource\ResourceInterface { /** * @var mixed[] diff --git a/vendor/symfony/dependency-injection/Config/ContainerParametersResourceChecker.php b/vendor/symfony/dependency-injection/Config/ContainerParametersResourceChecker.php index ababf267a7f..2fb12effbc6 100644 --- a/vendor/symfony/dependency-injection/Config/ContainerParametersResourceChecker.php +++ b/vendor/symfony/dependency-injection/Config/ContainerParametersResourceChecker.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 RectorPrefix20220519\Symfony\Component\DependencyInjection\Config; +namespace RectorPrefix20220520\Symfony\Component\DependencyInjection\Config; -use RectorPrefix20220519\Symfony\Component\Config\Resource\ResourceInterface; -use RectorPrefix20220519\Symfony\Component\Config\ResourceCheckerInterface; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerInterface; +use RectorPrefix20220520\Symfony\Component\Config\Resource\ResourceInterface; +use RectorPrefix20220520\Symfony\Component\Config\ResourceCheckerInterface; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\ContainerInterface; /** * @author Maxime Steinhausser */ -class ContainerParametersResourceChecker implements \RectorPrefix20220519\Symfony\Component\Config\ResourceCheckerInterface +class ContainerParametersResourceChecker implements \RectorPrefix20220520\Symfony\Component\Config\ResourceCheckerInterface { private $container; - public function __construct(\RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerInterface $container) + public function __construct(\RectorPrefix20220520\Symfony\Component\DependencyInjection\ContainerInterface $container) { $this->container = $container; } /** * {@inheritdoc} */ - public function supports(\RectorPrefix20220519\Symfony\Component\Config\Resource\ResourceInterface $metadata) : bool + public function supports(\RectorPrefix20220520\Symfony\Component\Config\Resource\ResourceInterface $metadata) : bool { - return $metadata instanceof \RectorPrefix20220519\Symfony\Component\DependencyInjection\Config\ContainerParametersResource; + return $metadata instanceof \RectorPrefix20220520\Symfony\Component\DependencyInjection\Config\ContainerParametersResource; } /** * {@inheritdoc} */ - public function isFresh(\RectorPrefix20220519\Symfony\Component\Config\Resource\ResourceInterface $resource, int $timestamp) : bool + public function isFresh(\RectorPrefix20220520\Symfony\Component\Config\Resource\ResourceInterface $resource, int $timestamp) : bool { foreach ($resource->getParameters() as $key => $value) { if (!$this->container->hasParameter($key) || $this->container->getParameter($key) !== $value) { diff --git a/vendor/symfony/dependency-injection/Container.php b/vendor/symfony/dependency-injection/Container.php index 0b728af2337..126cd3fb1f0 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 RectorPrefix20220519\Symfony\Component\DependencyInjection; +namespace RectorPrefix20220520\Symfony\Component\DependencyInjection; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Argument\RewindableGenerator; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Argument\ServiceLocator as ArgumentServiceLocator; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\EnvNotFoundException; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\ParameterCircularReferenceException; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\RuntimeException; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\ServiceCircularReferenceException; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\ParameterBag\EnvPlaceholderParameterBag; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\ParameterBag\FrozenParameterBag; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\ParameterBag\ParameterBagInterface; -use RectorPrefix20220519\Symfony\Contracts\Service\ResetInterface; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Argument\RewindableGenerator; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Argument\ServiceLocator as ArgumentServiceLocator; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\EnvNotFoundException; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\ParameterCircularReferenceException; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\RuntimeException; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\ServiceCircularReferenceException; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\ParameterBag\EnvPlaceholderParameterBag; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\ParameterBag\FrozenParameterBag; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\ParameterBag\ParameterBagInterface; +use RectorPrefix20220520\Symfony\Contracts\Service\ResetInterface; // Help opcache.preload discover always-needed symbols -\class_exists(\RectorPrefix20220519\Symfony\Component\DependencyInjection\Argument\RewindableGenerator::class); -\class_exists(\RectorPrefix20220519\Symfony\Component\DependencyInjection\Argument\ServiceLocator::class); +\class_exists(\RectorPrefix20220520\Symfony\Component\DependencyInjection\Argument\RewindableGenerator::class); +\class_exists(\RectorPrefix20220520\Symfony\Component\DependencyInjection\Argument\ServiceLocator::class); /** * Container is a dependency injection container. * @@ -42,7 +42,7 @@ use RectorPrefix20220519\Symfony\Contracts\Service\ResetInterface; * @author Fabien Potencier * @author Johannes M. Schmitt */ -class Container implements \RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerInterface, \RectorPrefix20220519\Symfony\Contracts\Service\ResetInterface +class Container implements \RectorPrefix20220520\Symfony\Component\DependencyInjection\ContainerInterface, \RectorPrefix20220520\Symfony\Contracts\Service\ResetInterface { protected $parameterBag; protected $services = []; @@ -66,9 +66,9 @@ class Container implements \RectorPrefix20220519\Symfony\Component\DependencyInj * @var \Closure */ private $getEnv; - public function __construct(\RectorPrefix20220519\Symfony\Component\DependencyInjection\ParameterBag\ParameterBagInterface $parameterBag = null) + public function __construct(\RectorPrefix20220520\Symfony\Component\DependencyInjection\ParameterBag\ParameterBagInterface $parameterBag = null) { - $this->parameterBag = $parameterBag ?? new \RectorPrefix20220519\Symfony\Component\DependencyInjection\ParameterBag\EnvPlaceholderParameterBag(); + $this->parameterBag = $parameterBag ?? new \RectorPrefix20220520\Symfony\Component\DependencyInjection\ParameterBag\EnvPlaceholderParameterBag(); } /** * Compiles the container. @@ -81,7 +81,7 @@ class Container implements \RectorPrefix20220519\Symfony\Component\DependencyInj public function compile() { $this->parameterBag->resolve(); - $this->parameterBag = new \RectorPrefix20220519\Symfony\Component\DependencyInjection\ParameterBag\FrozenParameterBag($this->parameterBag->all()); + $this->parameterBag = new \RectorPrefix20220520\Symfony\Component\DependencyInjection\ParameterBag\FrozenParameterBag($this->parameterBag->all()); $this->compiled = \true; } /** @@ -94,7 +94,7 @@ class Container implements \RectorPrefix20220519\Symfony\Component\DependencyInj /** * Gets the service container parameter bag. */ - public function getParameterBag() : \RectorPrefix20220519\Symfony\Component\DependencyInjection\ParameterBag\ParameterBagInterface + public function getParameterBag() : \RectorPrefix20220520\Symfony\Component\DependencyInjection\ParameterBag\ParameterBagInterface { return $this->parameterBag; } @@ -135,18 +135,18 @@ class Container implements \RectorPrefix20220519\Symfony\Component\DependencyInj $initialize(); } if ('service_container' === $id) { - throw new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException('You cannot set service "service_container".'); + throw new \RectorPrefix20220520\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 \RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('The "%s" service is private, you cannot unset it.', $id)); + throw new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('The "%s" service is private, you cannot unset it.', $id)); } else { - throw new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('The "%s" service is private, you cannot replace it.', $id)); + throw new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('The "%s" service is private, you cannot replace it.', $id)); } } elseif (isset($this->services[$id])) { - throw new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('The "%s" service is already initialized, you cannot replace it.', $id)); + throw new \RectorPrefix20220520\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]); @@ -191,7 +191,7 @@ class Container implements \RectorPrefix20220519\Symfony\Component\DependencyInj private function make(string $id, int $invalidBehavior) { if (isset($this->loading[$id])) { - throw new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\ServiceCircularReferenceException($id, \array_merge(\array_keys($this->loading), [$id])); + throw new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\ServiceCircularReferenceException($id, \array_merge(\array_keys($this->loading), [$id])); } $this->loading[$id] = \true; try { @@ -208,13 +208,13 @@ class Container implements \RectorPrefix20220519\Symfony\Component\DependencyInj } if (self::EXCEPTION_ON_INVALID_REFERENCE === $invalidBehavior) { if (!$id) { - throw new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException($id); + throw new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException($id); } if (isset($this->syntheticIds[$id])) { - throw new \RectorPrefix20220519\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 \RectorPrefix20220520\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 \RectorPrefix20220519\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 \RectorPrefix20220520\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) { @@ -226,7 +226,7 @@ class Container implements \RectorPrefix20220519\Symfony\Component\DependencyInj $alternatives[] = $knownId; } } - throw new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException($id, null, null, $alternatives); + throw new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException($id, null, null, $alternatives); } return null; } @@ -252,7 +252,7 @@ class Container implements \RectorPrefix20220519\Symfony\Component\DependencyInj $this->services = $this->factories = $this->privates = []; foreach ($services as $service) { try { - if ($service instanceof \RectorPrefix20220519\Symfony\Contracts\Service\ResetInterface) { + if ($service instanceof \RectorPrefix20220520\Symfony\Contracts\Service\ResetInterface) { $service->reset(); } } catch (\Throwable $e) { @@ -306,13 +306,13 @@ class Container implements \RectorPrefix20220519\Symfony\Component\DependencyInj protected function getEnv(string $name) { if (isset($this->resolving[$envName = "env({$name})"])) { - throw new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\ParameterCircularReferenceException(\array_keys($this->resolving)); + throw new \RectorPrefix20220520\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 \RectorPrefix20220519\Symfony\Component\DependencyInjection\ServiceLocator([])); + $this->set($id, new \RectorPrefix20220520\Symfony\Component\DependencyInjection\ServiceLocator([])); } $this->getEnv = $this->getEnv ?? \Closure::fromCallable([$this, 'getEnv']); $processors = $this->get($id); @@ -323,7 +323,7 @@ class Container implements \RectorPrefix20220519\Symfony\Component\DependencyInj $prefix = 'string'; $localName = $name; } - $processor = $processors->has($prefix) ? $processors->get($prefix) : new \RectorPrefix20220519\Symfony\Component\DependencyInjection\EnvVarProcessor($this); + $processor = $processors->has($prefix) ? $processors->get($prefix) : new \RectorPrefix20220520\Symfony\Component\DependencyInjection\EnvVarProcessor($this); $this->resolving[$envName] = \true; try { return $this->envCache[$name] = $processor->getEnv($prefix, $localName, $this->getEnv); @@ -343,7 +343,7 @@ class Container implements \RectorPrefix20220519\Symfony\Component\DependencyInj return $this; } if (\is_string($load)) { - throw new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\RuntimeException($load); + throw new \RectorPrefix20220520\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 2918a382f4d..8805629aa81 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 RectorPrefix20220519\Symfony\Component\DependencyInjection; +namespace RectorPrefix20220520\Symfony\Component\DependencyInjection; /** * ContainerAwareInterface should be implemented by classes that depends on a Container. @@ -20,5 +20,5 @@ interface ContainerAwareInterface /** * Sets the container. */ - public function setContainer(\RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerInterface $container = null); + public function setContainer(\RectorPrefix20220520\Symfony\Component\DependencyInjection\ContainerInterface $container = null); } diff --git a/vendor/symfony/dependency-injection/ContainerAwareTrait.php b/vendor/symfony/dependency-injection/ContainerAwareTrait.php index b7988281492..6b177b13fa4 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 RectorPrefix20220519\Symfony\Component\DependencyInjection; +namespace RectorPrefix20220520\Symfony\Component\DependencyInjection; /** * ContainerAware trait. @@ -21,7 +21,7 @@ trait ContainerAwareTrait * @var ContainerInterface */ protected $container; - public function setContainer(\RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerInterface $container = null) + public function setContainer(\RectorPrefix20220520\Symfony\Component\DependencyInjection\ContainerInterface $container = null) { $this->container = $container; } diff --git a/vendor/symfony/dependency-injection/ContainerBuilder.php b/vendor/symfony/dependency-injection/ContainerBuilder.php index 00611ee31ff..5a3db910e65 100644 --- a/vendor/symfony/dependency-injection/ContainerBuilder.php +++ b/vendor/symfony/dependency-injection/ContainerBuilder.php @@ -8,48 +8,48 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20220519\Symfony\Component\DependencyInjection; +namespace RectorPrefix20220520\Symfony\Component\DependencyInjection; -use RectorPrefix20220519\Composer\InstalledVersions; -use RectorPrefix20220519\Symfony\Component\Config\Resource\ClassExistenceResource; -use RectorPrefix20220519\Symfony\Component\Config\Resource\ComposerResource; -use RectorPrefix20220519\Symfony\Component\Config\Resource\DirectoryResource; -use RectorPrefix20220519\Symfony\Component\Config\Resource\FileExistenceResource; -use RectorPrefix20220519\Symfony\Component\Config\Resource\FileResource; -use RectorPrefix20220519\Symfony\Component\Config\Resource\GlobResource; -use RectorPrefix20220519\Symfony\Component\Config\Resource\ReflectionClassResource; -use RectorPrefix20220519\Symfony\Component\Config\Resource\ResourceInterface; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Argument\AbstractArgument; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Argument\IteratorArgument; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Argument\RewindableGenerator; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Argument\ServiceClosureArgument; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Argument\ServiceLocator; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Argument\ServiceLocatorArgument; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Attribute\Target; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Compiler\Compiler; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Compiler\PassConfig; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Compiler\ResolveEnvPlaceholdersPass; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\BadMethodCallException; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\LogicException; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\RuntimeException; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\ServiceCircularReferenceException; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Extension\ExtensionInterface; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\LazyProxy\Instantiator\InstantiatorInterface; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\LazyProxy\Instantiator\RealServiceInstantiator; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\ParameterBag\EnvPlaceholderParameterBag; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\ParameterBag\ParameterBag; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\ParameterBag\ParameterBagInterface; -use RectorPrefix20220519\Symfony\Component\ExpressionLanguage\Expression; -use RectorPrefix20220519\Symfony\Component\ExpressionLanguage\ExpressionFunctionProviderInterface; +use RectorPrefix20220520\Composer\InstalledVersions; +use RectorPrefix20220520\Symfony\Component\Config\Resource\ClassExistenceResource; +use RectorPrefix20220520\Symfony\Component\Config\Resource\ComposerResource; +use RectorPrefix20220520\Symfony\Component\Config\Resource\DirectoryResource; +use RectorPrefix20220520\Symfony\Component\Config\Resource\FileExistenceResource; +use RectorPrefix20220520\Symfony\Component\Config\Resource\FileResource; +use RectorPrefix20220520\Symfony\Component\Config\Resource\GlobResource; +use RectorPrefix20220520\Symfony\Component\Config\Resource\ReflectionClassResource; +use RectorPrefix20220520\Symfony\Component\Config\Resource\ResourceInterface; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Argument\AbstractArgument; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Argument\IteratorArgument; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Argument\RewindableGenerator; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Argument\ServiceClosureArgument; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Argument\ServiceLocator; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Argument\ServiceLocatorArgument; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Attribute\Target; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Compiler\Compiler; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Compiler\PassConfig; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Compiler\ResolveEnvPlaceholdersPass; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\BadMethodCallException; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\LogicException; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\RuntimeException; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\ServiceCircularReferenceException; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Extension\ExtensionInterface; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\LazyProxy\Instantiator\InstantiatorInterface; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\LazyProxy\Instantiator\RealServiceInstantiator; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\ParameterBag\EnvPlaceholderParameterBag; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\ParameterBag\ParameterBag; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\ParameterBag\ParameterBagInterface; +use RectorPrefix20220520\Symfony\Component\ExpressionLanguage\Expression; +use RectorPrefix20220520\Symfony\Component\ExpressionLanguage\ExpressionFunctionProviderInterface; /** * ContainerBuilder is a DI container that provides an API to easily describe services. * * @author Fabien Potencier */ -class ContainerBuilder extends \RectorPrefix20220519\Symfony\Component\DependencyInjection\Container implements \RectorPrefix20220519\Symfony\Component\DependencyInjection\TaggedContainerInterface +class ContainerBuilder extends \RectorPrefix20220520\Symfony\Component\DependencyInjection\Container implements \RectorPrefix20220520\Symfony\Component\DependencyInjection\TaggedContainerInterface { /** * @var array @@ -119,11 +119,11 @@ class ContainerBuilder extends \RectorPrefix20220519\Symfony\Component\Dependenc */ 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(\RectorPrefix20220519\Symfony\Component\DependencyInjection\ParameterBag\ParameterBagInterface $parameterBag = null) + public function __construct(\RectorPrefix20220520\Symfony\Component\DependencyInjection\ParameterBag\ParameterBagInterface $parameterBag = null) { parent::__construct($parameterBag); - $this->trackResources = \interface_exists(\RectorPrefix20220519\Symfony\Component\Config\Resource\ResourceInterface::class); - $this->setDefinition('service_container', (new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Definition(\RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerInterface::class))->setSynthetic(\true)->setPublic(\true)); + $this->trackResources = \interface_exists(\RectorPrefix20220520\Symfony\Component\Config\Resource\ResourceInterface::class); + $this->setDefinition('service_container', (new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Definition(\RectorPrefix20220520\Symfony\Component\DependencyInjection\ContainerInterface::class))->setSynthetic(\true)->setPublic(\true)); } /** * @var array @@ -149,11 +149,11 @@ class ContainerBuilder extends \RectorPrefix20220519\Symfony\Component\Dependenc /** * Sets the instantiator to be used when fetching proxies. */ - public function setProxyInstantiator(\RectorPrefix20220519\Symfony\Component\DependencyInjection\LazyProxy\Instantiator\InstantiatorInterface $proxyInstantiator) + public function setProxyInstantiator(\RectorPrefix20220520\Symfony\Component\DependencyInjection\LazyProxy\Instantiator\InstantiatorInterface $proxyInstantiator) { $this->proxyInstantiator = $proxyInstantiator; } - public function registerExtension(\RectorPrefix20220519\Symfony\Component\DependencyInjection\Extension\ExtensionInterface $extension) + public function registerExtension(\RectorPrefix20220520\Symfony\Component\DependencyInjection\Extension\ExtensionInterface $extension) { $this->extensions[$extension->getAlias()] = $extension; if (\false !== $extension->getNamespace()) { @@ -165,7 +165,7 @@ class ContainerBuilder extends \RectorPrefix20220519\Symfony\Component\Dependenc * * @throws LogicException if the extension is not registered */ - public function getExtension(string $name) : \RectorPrefix20220519\Symfony\Component\DependencyInjection\Extension\ExtensionInterface + public function getExtension(string $name) : \RectorPrefix20220520\Symfony\Component\DependencyInjection\Extension\ExtensionInterface { if (isset($this->extensions[$name])) { return $this->extensions[$name]; @@ -173,7 +173,7 @@ class ContainerBuilder extends \RectorPrefix20220519\Symfony\Component\Dependenc if (isset($this->extensionsByNs[$name])) { return $this->extensionsByNs[$name]; } - throw new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\LogicException(\sprintf('Container extension "%s" is not registered.', $name)); + throw new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\LogicException(\sprintf('Container extension "%s" is not registered.', $name)); } /** * Returns all registered extensions. @@ -203,12 +203,12 @@ class ContainerBuilder extends \RectorPrefix20220519\Symfony\Component\Dependenc /** * @return $this */ - public function addResource(\RectorPrefix20220519\Symfony\Component\Config\Resource\ResourceInterface $resource) + public function addResource(\RectorPrefix20220520\Symfony\Component\Config\Resource\ResourceInterface $resource) { if (!$this->trackResources) { return $this; } - if ($resource instanceof \RectorPrefix20220519\Symfony\Component\Config\Resource\GlobResource && $this->inVendors($resource->getPrefix())) { + if ($resource instanceof \RectorPrefix20220520\Symfony\Component\Config\Resource\GlobResource && $this->inVendors($resource->getPrefix())) { return $this; } $this->resources[(string) $resource] = $resource; @@ -286,8 +286,8 @@ class ContainerBuilder extends \RectorPrefix20220519\Symfony\Component\Dependenc try { if (isset($this->classReflectors[$class])) { $classReflector = $this->classReflectors[$class]; - } elseif (\class_exists(\RectorPrefix20220519\Symfony\Component\Config\Resource\ClassExistenceResource::class)) { - $resource = new \RectorPrefix20220519\Symfony\Component\Config\Resource\ClassExistenceResource($class, \false); + } elseif (\class_exists(\RectorPrefix20220520\Symfony\Component\Config\Resource\ClassExistenceResource::class)) { + $resource = new \RectorPrefix20220520\Symfony\Component\Config\Resource\ClassExistenceResource($class, \false); $classReflector = $resource->isFresh(0) ? \false : new \ReflectionClass($class); } else { $classReflector = \class_exists($class) ? new \ReflectionClass($class) : \false; @@ -299,11 +299,11 @@ class ContainerBuilder extends \RectorPrefix20220519\Symfony\Component\Dependenc } if ($this->trackResources) { if (!$classReflector) { - $this->addResource($resource ?? new \RectorPrefix20220519\Symfony\Component\Config\Resource\ClassExistenceResource($class, \false)); + $this->addResource($resource ?? new \RectorPrefix20220520\Symfony\Component\Config\Resource\ClassExistenceResource($class, \false)); } elseif (!$classReflector->isInternal()) { $path = $classReflector->getFileName(); if (!$this->inVendors($path)) { - $this->addResource(new \RectorPrefix20220519\Symfony\Component\Config\Resource\ReflectionClassResource($classReflector, $this->vendors)); + $this->addResource(new \RectorPrefix20220520\Symfony\Component\Config\Resource\ReflectionClassResource($classReflector, $this->vendors)); } } $this->classReflectors[$class] = $classReflector; @@ -326,17 +326,17 @@ class ContainerBuilder extends \RectorPrefix20220519\Symfony\Component\Dependenc return $exists; } if (!$exists) { - $this->addResource(new \RectorPrefix20220519\Symfony\Component\Config\Resource\FileExistenceResource($path)); + $this->addResource(new \RectorPrefix20220520\Symfony\Component\Config\Resource\FileExistenceResource($path)); return $exists; } if (\is_dir($path)) { if ($trackContents) { - $this->addResource(new \RectorPrefix20220519\Symfony\Component\Config\Resource\DirectoryResource($path, \is_string($trackContents) ? $trackContents : null)); + $this->addResource(new \RectorPrefix20220520\Symfony\Component\Config\Resource\DirectoryResource($path, \is_string($trackContents) ? $trackContents : null)); } else { - $this->addResource(new \RectorPrefix20220519\Symfony\Component\Config\Resource\GlobResource($path, '/*', \false)); + $this->addResource(new \RectorPrefix20220520\Symfony\Component\Config\Resource\GlobResource($path, '/*', \false)); } } elseif ($trackContents) { - $this->addResource(new \RectorPrefix20220519\Symfony\Component\Config\Resource\FileResource($path)); + $this->addResource(new \RectorPrefix20220520\Symfony\Component\Config\Resource\FileResource($path)); } return $exists; } @@ -354,7 +354,7 @@ class ContainerBuilder extends \RectorPrefix20220519\Symfony\Component\Dependenc public function loadFromExtension(string $extension, array $values = null) { if ($this->isCompiled()) { - throw new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\BadMethodCallException('Cannot load from an extension on a compiled container.'); + throw new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\BadMethodCallException('Cannot load from an extension on a compiled container.'); } $namespace = $this->getExtension($extension)->getAlias(); $this->extensionConfigs[$namespace][] = $values ?? []; @@ -368,7 +368,7 @@ class ContainerBuilder extends \RectorPrefix20220519\Symfony\Component\Dependenc * * @return $this */ - public function addCompilerPass(\RectorPrefix20220519\Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface $pass, string $type = \RectorPrefix20220519\Symfony\Component\DependencyInjection\Compiler\PassConfig::TYPE_BEFORE_OPTIMIZATION, int $priority = 0) + public function addCompilerPass(\RectorPrefix20220520\Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface $pass, string $type = \RectorPrefix20220520\Symfony\Component\DependencyInjection\Compiler\PassConfig::TYPE_BEFORE_OPTIMIZATION, int $priority = 0) { $this->getCompiler()->addPass($pass, $type, $priority); $this->addObjectResource($pass); @@ -377,16 +377,16 @@ class ContainerBuilder extends \RectorPrefix20220519\Symfony\Component\Dependenc /** * Returns the compiler pass config which can then be modified. */ - public function getCompilerPassConfig() : \RectorPrefix20220519\Symfony\Component\DependencyInjection\Compiler\PassConfig + public function getCompilerPassConfig() : \RectorPrefix20220520\Symfony\Component\DependencyInjection\Compiler\PassConfig { return $this->getCompiler()->getPassConfig(); } /** * Returns the compiler. */ - public function getCompiler() : \RectorPrefix20220519\Symfony\Component\DependencyInjection\Compiler\Compiler + public function getCompiler() : \RectorPrefix20220520\Symfony\Component\DependencyInjection\Compiler\Compiler { - return $this->compiler = $this->compiler ?? new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Compiler\Compiler(); + return $this->compiler = $this->compiler ?? new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Compiler\Compiler(); } /** * Sets a service. @@ -397,7 +397,7 @@ class ContainerBuilder extends \RectorPrefix20220519\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 \RectorPrefix20220519\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 \RectorPrefix20220520\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); @@ -424,9 +424,9 @@ class ContainerBuilder extends \RectorPrefix20220519\Symfony\Component\Dependenc * * @see Reference */ - public function get(string $id, int $invalidBehavior = \RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerInterface::EXCEPTION_ON_INVALID_REFERENCE) : ?object + public function get(string $id, int $invalidBehavior = \RectorPrefix20220520\Symfony\Component\DependencyInjection\ContainerInterface::EXCEPTION_ON_INVALID_REFERENCE) : ?object { - if ($this->isCompiled() && isset($this->removedIds[$id]) && \RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerInterface::EXCEPTION_ON_INVALID_REFERENCE >= $invalidBehavior) { + if ($this->isCompiled() && isset($this->removedIds[$id]) && \RectorPrefix20220520\Symfony\Component\DependencyInjection\ContainerInterface::EXCEPTION_ON_INVALID_REFERENCE >= $invalidBehavior) { return parent::get($id); } return $this->doGet($id, $invalidBehavior); @@ -434,7 +434,7 @@ class ContainerBuilder extends \RectorPrefix20220519\Symfony\Component\Dependenc /** * @return mixed */ - private function doGet(string $id, int $invalidBehavior = \RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerInterface::EXCEPTION_ON_INVALID_REFERENCE, array &$inlineServices = null, bool $isConstructorArgument = \false) + private function doGet(string $id, int $invalidBehavior = \RectorPrefix20220520\Symfony\Component\DependencyInjection\ContainerInterface::EXCEPTION_ON_INVALID_REFERENCE, array &$inlineServices = null, bool $isConstructorArgument = \false) { if (isset($inlineServices[$id])) { return $inlineServices[$id]; @@ -444,13 +444,13 @@ class ContainerBuilder extends \RectorPrefix20220519\Symfony\Component\Dependenc $inlineServices = []; } try { - if (\RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerInterface::IGNORE_ON_UNINITIALIZED_REFERENCE === $invalidBehavior) { + if (\RectorPrefix20220520\Symfony\Component\DependencyInjection\ContainerInterface::IGNORE_ON_UNINITIALIZED_REFERENCE === $invalidBehavior) { return parent::get($id, $invalidBehavior); } - if ($service = parent::get($id, \RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerInterface::NULL_ON_INVALID_REFERENCE)) { + if ($service = parent::get($id, \RectorPrefix20220520\Symfony\Component\DependencyInjection\ContainerInterface::NULL_ON_INVALID_REFERENCE)) { return $service; } - } catch (\RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\ServiceCircularReferenceException $e) { + } catch (\RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\ServiceCircularReferenceException $e) { if ($isConstructorArgument) { throw $e; } @@ -465,14 +465,14 @@ class ContainerBuilder extends \RectorPrefix20220519\Symfony\Component\Dependenc } try { $definition = $this->getDefinition($id); - } catch (\RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException $e) { - if (\RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerInterface::EXCEPTION_ON_INVALID_REFERENCE < $invalidBehavior) { + } catch (\RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException $e) { + if (\RectorPrefix20220520\Symfony\Component\DependencyInjection\ContainerInterface::EXCEPTION_ON_INVALID_REFERENCE < $invalidBehavior) { return null; } throw $e; } if ($definition->hasErrors() && ($e = $definition->getErrors())) { - throw new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\RuntimeException(\reset($e)); + throw new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\RuntimeException(\reset($e)); } if ($isConstructorArgument) { $this->loading[$id] = \true; @@ -508,7 +508,7 @@ class ContainerBuilder extends \RectorPrefix20220519\Symfony\Component\Dependenc public function merge(self $container) { if ($this->isCompiled()) { - throw new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\BadMethodCallException('Cannot merge on a compiled container.'); + throw new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\BadMethodCallException('Cannot merge on a compiled container.'); } $this->addDefinitions($container->getDefinitions()); $this->addAliases($container->getAliases()); @@ -524,7 +524,7 @@ class ContainerBuilder extends \RectorPrefix20220519\Symfony\Component\Dependenc } $this->extensionConfigs[$name] = \array_merge($this->extensionConfigs[$name], $container->getExtensionConfig($name)); } - if ($this->getParameterBag() instanceof \RectorPrefix20220519\Symfony\Component\DependencyInjection\ParameterBag\EnvPlaceholderParameterBag && $container->getParameterBag() instanceof \RectorPrefix20220519\Symfony\Component\DependencyInjection\ParameterBag\EnvPlaceholderParameterBag) { + if ($this->getParameterBag() instanceof \RectorPrefix20220520\Symfony\Component\DependencyInjection\ParameterBag\EnvPlaceholderParameterBag && $container->getParameterBag() instanceof \RectorPrefix20220520\Symfony\Component\DependencyInjection\ParameterBag\EnvPlaceholderParameterBag) { $envPlaceholders = $container->getParameterBag()->getEnvPlaceholders(); $this->getParameterBag()->mergeEnvPlaceholders($container->getParameterBag()); } else { @@ -542,13 +542,13 @@ class ContainerBuilder extends \RectorPrefix20220519\Symfony\Component\Dependenc } foreach ($container->getAutoconfiguredInstanceof() as $interface => $childDefinition) { if (isset($this->autoconfiguredInstanceof[$interface])) { - throw new \RectorPrefix20220519\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 \RectorPrefix20220520\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 \RectorPrefix20220519\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 \RectorPrefix20220520\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; } @@ -605,8 +605,8 @@ class ContainerBuilder extends \RectorPrefix20220519\Symfony\Component\Dependenc } } $bag = $this->getParameterBag(); - if ($resolveEnvPlaceholders && $bag instanceof \RectorPrefix20220519\Symfony\Component\DependencyInjection\ParameterBag\EnvPlaceholderParameterBag) { - $compiler->addPass(new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Compiler\ResolveEnvPlaceholdersPass(), \RectorPrefix20220519\Symfony\Component\DependencyInjection\Compiler\PassConfig::TYPE_AFTER_REMOVING, -1000); + if ($resolveEnvPlaceholders && $bag instanceof \RectorPrefix20220520\Symfony\Component\DependencyInjection\ParameterBag\EnvPlaceholderParameterBag) { + $compiler->addPass(new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Compiler\ResolveEnvPlaceholdersPass(), \RectorPrefix20220520\Symfony\Component\DependencyInjection\Compiler\PassConfig::TYPE_AFTER_REMOVING, -1000); } $compiler->compile($this); foreach ($this->definitions as $id => $definition) { @@ -615,9 +615,9 @@ class ContainerBuilder extends \RectorPrefix20220519\Symfony\Component\Dependenc } } $this->extensionConfigs = []; - if ($bag instanceof \RectorPrefix20220519\Symfony\Component\DependencyInjection\ParameterBag\EnvPlaceholderParameterBag) { + if ($bag instanceof \RectorPrefix20220520\Symfony\Component\DependencyInjection\ParameterBag\EnvPlaceholderParameterBag) { if ($resolveEnvPlaceholders) { - $this->parameterBag = new \RectorPrefix20220519\Symfony\Component\DependencyInjection\ParameterBag\ParameterBag($this->resolveEnvPlaceholders($bag->all(), \true)); + $this->parameterBag = new \RectorPrefix20220520\Symfony\Component\DependencyInjection\ParameterBag\ParameterBag($this->resolveEnvPlaceholders($bag->all(), \true)); } $this->envPlaceholders = $bag->getEnvPlaceholders(); } @@ -672,16 +672,16 @@ class ContainerBuilder extends \RectorPrefix20220519\Symfony\Component\Dependenc * @throws InvalidArgumentException if the alias is for itself * @param string|\Symfony\Component\DependencyInjection\Alias $id */ - public function setAlias(string $alias, $id) : \RectorPrefix20220519\Symfony\Component\DependencyInjection\Alias + public function setAlias(string $alias, $id) : \RectorPrefix20220520\Symfony\Component\DependencyInjection\Alias { if ('' === $alias || '\\' === $alias[-1] || \strlen($alias) !== \strcspn($alias, "\0\r\n'")) { - throw new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('Invalid alias id: "%s".', $alias)); + throw new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('Invalid alias id: "%s".', $alias)); } if (\is_string($id)) { - $id = new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Alias($id); + $id = new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Alias($id); } if ($alias === (string) $id) { - throw new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('An alias cannot reference itself, got a circular reference on "%s".', $alias)); + throw new \RectorPrefix20220520\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; @@ -707,10 +707,10 @@ class ContainerBuilder extends \RectorPrefix20220519\Symfony\Component\Dependenc /** * @throws InvalidArgumentException if the alias does not exist */ - public function getAlias(string $id) : \RectorPrefix20220519\Symfony\Component\DependencyInjection\Alias + public function getAlias(string $id) : \RectorPrefix20220520\Symfony\Component\DependencyInjection\Alias { if (!isset($this->aliasDefinitions[$id])) { - throw new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('The service alias "%s" does not exist.', $id)); + throw new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('The service alias "%s" does not exist.', $id)); } return $this->aliasDefinitions[$id]; } @@ -720,9 +720,9 @@ class ContainerBuilder extends \RectorPrefix20220519\Symfony\Component\Dependenc * This methods allows for simple registration of service definition * with a fluid interface. */ - public function register(string $id, string $class = null) : \RectorPrefix20220519\Symfony\Component\DependencyInjection\Definition + public function register(string $id, string $class = null) : \RectorPrefix20220520\Symfony\Component\DependencyInjection\Definition { - return $this->setDefinition($id, new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Definition($class)); + return $this->setDefinition($id, new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Definition($class)); } /** * Registers an autowired service definition. @@ -730,9 +730,9 @@ class ContainerBuilder extends \RectorPrefix20220519\Symfony\Component\Dependenc * This method implements a shortcut for using setDefinition() with * an autowired definition. */ - public function autowire(string $id, string $class = null) : \RectorPrefix20220519\Symfony\Component\DependencyInjection\Definition + public function autowire(string $id, string $class = null) : \RectorPrefix20220520\Symfony\Component\DependencyInjection\Definition { - return $this->setDefinition($id, (new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Definition($class))->setAutowired(\true)); + return $this->setDefinition($id, (new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Definition($class))->setAutowired(\true)); } /** * Adds the service definitions. @@ -769,13 +769,13 @@ class ContainerBuilder extends \RectorPrefix20220519\Symfony\Component\Dependenc * * @throws BadMethodCallException When this ContainerBuilder is compiled */ - public function setDefinition(string $id, \RectorPrefix20220519\Symfony\Component\DependencyInjection\Definition $definition) : \RectorPrefix20220519\Symfony\Component\DependencyInjection\Definition + public function setDefinition(string $id, \RectorPrefix20220520\Symfony\Component\DependencyInjection\Definition $definition) : \RectorPrefix20220520\Symfony\Component\DependencyInjection\Definition { if ($this->isCompiled()) { - throw new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\BadMethodCallException('Adding definition to a compiled container is not allowed.'); + throw new \RectorPrefix20220520\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 \RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('Invalid service id: "%s".', $id)); + throw new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('Invalid service id: "%s".', $id)); } unset($this->aliasDefinitions[$id], $this->removedIds[$id]); return $this->definitions[$id] = $definition; @@ -792,10 +792,10 @@ class ContainerBuilder extends \RectorPrefix20220519\Symfony\Component\Dependenc * * @throws ServiceNotFoundException if the service definition does not exist */ - public function getDefinition(string $id) : \RectorPrefix20220519\Symfony\Component\DependencyInjection\Definition + public function getDefinition(string $id) : \RectorPrefix20220520\Symfony\Component\DependencyInjection\Definition { if (!isset($this->definitions[$id])) { - throw new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException($id); + throw new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException($id); } return $this->definitions[$id]; } @@ -806,7 +806,7 @@ class ContainerBuilder extends \RectorPrefix20220519\Symfony\Component\Dependenc * * @throws ServiceNotFoundException if the service definition does not exist */ - public function findDefinition(string $id) : \RectorPrefix20220519\Symfony\Component\DependencyInjection\Definition + public function findDefinition(string $id) : \RectorPrefix20220520\Symfony\Component\DependencyInjection\Definition { $seen = []; while (isset($this->aliasDefinitions[$id])) { @@ -815,7 +815,7 @@ class ContainerBuilder extends \RectorPrefix20220519\Symfony\Component\Dependenc $seen = \array_values($seen); $seen = \array_slice($seen, \array_search($id, $seen)); $seen[] = $id; - throw new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\ServiceCircularReferenceException($id, $seen); + throw new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\ServiceCircularReferenceException($id, $seen); } $seen[$id] = $id; } @@ -829,22 +829,22 @@ class ContainerBuilder extends \RectorPrefix20220519\Symfony\Component\Dependenc * @throws InvalidArgumentException When configure callable is not callable * @return mixed */ - private function createService(\RectorPrefix20220519\Symfony\Component\DependencyInjection\Definition $definition, array &$inlineServices, bool $isConstructorArgument = \false, string $id = null, bool $tryProxy = \true) + private function createService(\RectorPrefix20220520\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 \RectorPrefix20220519\Symfony\Component\DependencyInjection\ChildDefinition) { - throw new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\RuntimeException(\sprintf('Constructing service "%s" from a parent definition is not supported at build time.', $id)); + if ($definition instanceof \RectorPrefix20220520\Symfony\Component\DependencyInjection\ChildDefinition) { + throw new \RectorPrefix20220520\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 \RectorPrefix20220519\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 \RectorPrefix20220520\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 \RectorPrefix20220519\Symfony\Component\DependencyInjection\LazyProxy\Instantiator\RealServiceInstantiator)) { + if ($tryProxy && $definition->isLazy() && !($tryProxy = !($proxy = $this->proxyInstantiator) || $proxy instanceof \RectorPrefix20220520\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); }); @@ -860,7 +860,7 @@ class ContainerBuilder extends \RectorPrefix20220519\Symfony\Component\Dependenc if (\is_array($factory)) { $factory = [$this->doResolveServices($parameterBag->resolveValue($factory[0]), $inlineServices, $isConstructorArgument), $factory[1]]; } elseif (!\is_string($factory)) { - throw new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\RuntimeException(\sprintf('Cannot create service "%s" because of invalid factory.', $id)); + throw new \RectorPrefix20220520\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())) { @@ -905,14 +905,14 @@ class ContainerBuilder extends \RectorPrefix20220519\Symfony\Component\Dependenc if ($callable = $definition->getConfigurator()) { if (\is_array($callable)) { $callable[0] = $parameterBag->resolveValue($callable[0]); - if ($callable[0] instanceof \RectorPrefix20220519\Symfony\Component\DependencyInjection\Reference) { + if ($callable[0] instanceof \RectorPrefix20220520\Symfony\Component\DependencyInjection\Reference) { $callable[0] = $this->doGet((string) $callable[0], $callable[0]->getInvalidBehavior(), $inlineServices); - } elseif ($callable[0] instanceof \RectorPrefix20220519\Symfony\Component\DependencyInjection\Definition) { + } elseif ($callable[0] instanceof \RectorPrefix20220520\Symfony\Component\DependencyInjection\Definition) { $callable[0] = $this->createService($callable[0], $inlineServices); } } if (!\is_callable($callable)) { - throw new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('The configure callable for class "%s" is not a callable.', \get_debug_type($service))); + throw new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('The configure callable for class "%s" is not a callable.', \get_debug_type($service))); } $callable($service); } @@ -939,13 +939,13 @@ class ContainerBuilder extends \RectorPrefix20220519\Symfony\Component\Dependenc foreach ($value as $k => $v) { $value[$k] = $this->doResolveServices($v, $inlineServices, $isConstructorArgument); } - } elseif ($value instanceof \RectorPrefix20220519\Symfony\Component\DependencyInjection\Argument\ServiceClosureArgument) { + } elseif ($value instanceof \RectorPrefix20220520\Symfony\Component\DependencyInjection\Argument\ServiceClosureArgument) { $reference = $value->getValues()[0]; $value = function () use($reference) { return $this->resolveServices($reference); }; - } elseif ($value instanceof \RectorPrefix20220519\Symfony\Component\DependencyInjection\Argument\IteratorArgument) { - $value = new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Argument\RewindableGenerator(function () use($value, &$inlineServices) { + } elseif ($value instanceof \RectorPrefix20220520\Symfony\Component\DependencyInjection\Argument\IteratorArgument) { + $value = new \RectorPrefix20220520\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)) { @@ -953,7 +953,7 @@ class ContainerBuilder extends \RectorPrefix20220519\Symfony\Component\Dependenc } } foreach (self::getInitializedConditionals($v) as $s) { - if (!$this->doGet($s, \RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerInterface::IGNORE_ON_UNINITIALIZED_REFERENCE, $inlineServices)) { + if (!$this->doGet($s, \RectorPrefix20220520\Symfony\Component\DependencyInjection\ContainerInterface::IGNORE_ON_UNINITIALIZED_REFERENCE, $inlineServices)) { continue 2; } } @@ -968,7 +968,7 @@ class ContainerBuilder extends \RectorPrefix20220519\Symfony\Component\Dependenc } } foreach (self::getInitializedConditionals($v) as $s) { - if (!$this->doGet($s, \RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerInterface::IGNORE_ON_UNINITIALIZED_REFERENCE)) { + if (!$this->doGet($s, \RectorPrefix20220520\Symfony\Component\DependencyInjection\ContainerInterface::IGNORE_ON_UNINITIALIZED_REFERENCE)) { continue 2; } } @@ -976,25 +976,25 @@ class ContainerBuilder extends \RectorPrefix20220519\Symfony\Component\Dependenc } return $count; }); - } elseif ($value instanceof \RectorPrefix20220519\Symfony\Component\DependencyInjection\Argument\ServiceLocatorArgument) { + } elseif ($value instanceof \RectorPrefix20220520\Symfony\Component\DependencyInjection\Argument\ServiceLocatorArgument) { $refs = $types = []; foreach ($value->getValues() as $k => $v) { if ($v) { $refs[$k] = [$v]; - $types[$k] = $v instanceof \RectorPrefix20220519\Symfony\Component\DependencyInjection\TypedReference ? $v->getType() : '?'; + $types[$k] = $v instanceof \RectorPrefix20220520\Symfony\Component\DependencyInjection\TypedReference ? $v->getType() : '?'; } } - $value = new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Argument\ServiceLocator(\Closure::fromCallable([$this, 'resolveServices']), $refs, $types); - } elseif ($value instanceof \RectorPrefix20220519\Symfony\Component\DependencyInjection\Reference) { + $value = new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Argument\ServiceLocator(\Closure::fromCallable([$this, 'resolveServices']), $refs, $types); + } elseif ($value instanceof \RectorPrefix20220520\Symfony\Component\DependencyInjection\Reference) { $value = $this->doGet((string) $value, $value->getInvalidBehavior(), $inlineServices, $isConstructorArgument); - } elseif ($value instanceof \RectorPrefix20220519\Symfony\Component\DependencyInjection\Definition) { + } elseif ($value instanceof \RectorPrefix20220520\Symfony\Component\DependencyInjection\Definition) { $value = $this->createService($value, $inlineServices, $isConstructorArgument); - } elseif ($value instanceof \RectorPrefix20220519\Symfony\Component\DependencyInjection\Parameter) { + } elseif ($value instanceof \RectorPrefix20220520\Symfony\Component\DependencyInjection\Parameter) { $value = $this->getParameter((string) $value); - } elseif ($value instanceof \RectorPrefix20220519\Symfony\Component\ExpressionLanguage\Expression) { + } elseif ($value instanceof \RectorPrefix20220520\Symfony\Component\ExpressionLanguage\Expression) { $value = $this->getExpressionLanguage()->evaluate($value, ['container' => $this]); - } elseif ($value instanceof \RectorPrefix20220519\Symfony\Component\DependencyInjection\Argument\AbstractArgument) { - throw new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\RuntimeException($value->getTextWithContext()); + } elseif ($value instanceof \RectorPrefix20220520\Symfony\Component\DependencyInjection\Argument\AbstractArgument) { + throw new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\RuntimeException($value->getTextWithContext()); } return $value; } @@ -1021,7 +1021,7 @@ class ContainerBuilder extends \RectorPrefix20220519\Symfony\Component\Dependenc foreach ($this->getDefinitions() as $id => $definition) { if ($definition->hasTag($name)) { if ($throwOnAbstract && $definition->isAbstract()) { - throw new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('The service "%s" tagged "%s" must not be abstract.', $id, $name)); + throw new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('The service "%s" tagged "%s" must not be abstract.', $id, $name)); } $tags[$id] = $definition->getTag($name); } @@ -1050,7 +1050,7 @@ class ContainerBuilder extends \RectorPrefix20220519\Symfony\Component\Dependenc { return \array_values(\array_diff($this->findTags(), $this->usedTags)); } - public function addExpressionLanguageProvider(\RectorPrefix20220519\Symfony\Component\ExpressionLanguage\ExpressionFunctionProviderInterface $provider) + public function addExpressionLanguageProvider(\RectorPrefix20220520\Symfony\Component\ExpressionLanguage\ExpressionFunctionProviderInterface $provider) { $this->expressionLanguageProviders[] = $provider; } @@ -1064,10 +1064,10 @@ class ContainerBuilder extends \RectorPrefix20220519\Symfony\Component\Dependenc /** * Returns a ChildDefinition that will be used for autoconfiguring the interface/class. */ - public function registerForAutoconfiguration(string $interface) : \RectorPrefix20220519\Symfony\Component\DependencyInjection\ChildDefinition + public function registerForAutoconfiguration(string $interface) : \RectorPrefix20220520\Symfony\Component\DependencyInjection\ChildDefinition { if (!isset($this->autoconfiguredInstanceof[$interface])) { - $this->autoconfiguredInstanceof[$interface] = new \RectorPrefix20220519\Symfony\Component\DependencyInjection\ChildDefinition(''); + $this->autoconfiguredInstanceof[$interface] = new \RectorPrefix20220520\Symfony\Component\DependencyInjection\ChildDefinition(''); } return $this->autoconfiguredInstanceof[$interface]; } @@ -1096,11 +1096,11 @@ class ContainerBuilder extends \RectorPrefix20220519\Symfony\Component\Dependenc * "$fooBar"-named arguments with $type as type-hint. Such arguments will * receive the service $id when autowiring is used. */ - public function registerAliasForArgument(string $id, string $type, string $name = null) : \RectorPrefix20220519\Symfony\Component\DependencyInjection\Alias + public function registerAliasForArgument(string $id, string $type, string $name = null) : \RectorPrefix20220520\Symfony\Component\DependencyInjection\Alias { - $name = (new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Attribute\Target($name ?? $id))->name; + $name = (new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Attribute\Target($name ?? $id))->name; if (!\preg_match('/^[a-zA-Z_\\x7f-\\xff]/', $name)) { - throw new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('Invalid argument name "%s" for service "%s": the first character must be a letter.', $name, $id)); + throw new \RectorPrefix20220520\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); } @@ -1140,7 +1140,7 @@ class ContainerBuilder extends \RectorPrefix20220519\Symfony\Component\Dependenc if (\true === $format) { $value = $bag->resolveValue($value); } - if ($value instanceof \RectorPrefix20220519\Symfony\Component\DependencyInjection\Definition) { + if ($value instanceof \RectorPrefix20220520\Symfony\Component\DependencyInjection\Definition) { $value = (array) $value; } if (\is_array($value)) { @@ -1153,7 +1153,7 @@ class ContainerBuilder extends \RectorPrefix20220519\Symfony\Component\Dependenc if (!\is_string($value) || 38 > \strlen($value) || !\preg_match('/env[_(]/i', $value)) { return $value; } - $envPlaceholders = $bag instanceof \RectorPrefix20220519\Symfony\Component\DependencyInjection\ParameterBag\EnvPlaceholderParameterBag ? $bag->getEnvPlaceholders() : $this->envPlaceholders; + $envPlaceholders = $bag instanceof \RectorPrefix20220520\Symfony\Component\DependencyInjection\ParameterBag\EnvPlaceholderParameterBag ? $bag->getEnvPlaceholders() : $this->envPlaceholders; $completed = \false; foreach ($envPlaceholders as $env => $placeholders) { foreach ($placeholders as $placeholder) { @@ -1168,7 +1168,7 @@ class ContainerBuilder extends \RectorPrefix20220519\Symfony\Component\Dependenc $completed = \true; } else { if (!\is_string($resolved) && !\is_numeric($resolved)) { - throw new \RectorPrefix20220519\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 \RectorPrefix20220520\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); } @@ -1190,7 +1190,7 @@ class ContainerBuilder extends \RectorPrefix20220519\Symfony\Component\Dependenc public function getEnvCounters() : array { $bag = $this->getParameterBag(); - $envPlaceholders = $bag instanceof \RectorPrefix20220519\Symfony\Component\DependencyInjection\ParameterBag\EnvPlaceholderParameterBag ? $bag->getEnvPlaceholders() : $this->envPlaceholders; + $envPlaceholders = $bag instanceof \RectorPrefix20220520\Symfony\Component\DependencyInjection\ParameterBag\EnvPlaceholderParameterBag ? $bag->getEnvPlaceholders() : $this->envPlaceholders; foreach ($envPlaceholders as $env => $placeholders) { if (!isset($this->envCounters[$env])) { $this->envCounters[$env] = 0; @@ -1201,7 +1201,7 @@ class ContainerBuilder extends \RectorPrefix20220519\Symfony\Component\Dependenc /** * @final */ - public function log(\RectorPrefix20220519\Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface $pass, string $message) + public function log(\RectorPrefix20220520\Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface $pass, string $message) { $this->getCompiler()->log($pass, $this->resolveEnvPlaceholders($message)); } @@ -1215,22 +1215,22 @@ class ContainerBuilder extends \RectorPrefix20220519\Symfony\Component\Dependenc */ public static final function willBeAvailable(string $package, string $class, array $parentPackages) : bool { - if (!\class_exists(\RectorPrefix20220519\Composer\InstalledVersions::class)) { + if (!\class_exists(\RectorPrefix20220520\Composer\InstalledVersions::class)) { throw new \LogicException(\sprintf('Calling "%s" when dependencies have been installed with Composer 1 is not supported. Consider upgrading to Composer 2.', __METHOD__)); } if (!\class_exists($class) && !\interface_exists($class, \false) && !\trait_exists($class, \false)) { return \false; } - if (!\RectorPrefix20220519\Composer\InstalledVersions::isInstalled($package) || \RectorPrefix20220519\Composer\InstalledVersions::isInstalled($package, \false)) { + if (!\RectorPrefix20220520\Composer\InstalledVersions::isInstalled($package) || \RectorPrefix20220520\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 = \RectorPrefix20220519\Composer\InstalledVersions::getRootPackage()['name'] ?? ''; + $rootPackage = \RectorPrefix20220520\Composer\InstalledVersions::getRootPackage()['name'] ?? ''; if ('symfony/symfony' === $rootPackage) { return \true; } foreach ($parentPackages as $parentPackage) { - if ($rootPackage === $parentPackage || \RectorPrefix20220519\Composer\InstalledVersions::isInstalled($parentPackage) && !\RectorPrefix20220519\Composer\InstalledVersions::isInstalled($parentPackage, \false)) { + if ($rootPackage === $parentPackage || \RectorPrefix20220520\Composer\InstalledVersions::isInstalled($parentPackage) && !\RectorPrefix20220520\Composer\InstalledVersions::isInstalled($parentPackage, \false)) { return \true; } } @@ -1274,7 +1274,7 @@ class ContainerBuilder extends \RectorPrefix20220519\Symfony\Component\Dependenc foreach ($value as $v) { $services = \array_unique(\array_merge($services, self::getServiceConditionals($v))); } - } elseif ($value instanceof \RectorPrefix20220519\Symfony\Component\DependencyInjection\Reference && \RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerInterface::IGNORE_ON_INVALID_REFERENCE === $value->getInvalidBehavior()) { + } elseif ($value instanceof \RectorPrefix20220520\Symfony\Component\DependencyInjection\Reference && \RectorPrefix20220520\Symfony\Component\DependencyInjection\ContainerInterface::IGNORE_ON_INVALID_REFERENCE === $value->getInvalidBehavior()) { $services[] = (string) $value; } return $services; @@ -1292,7 +1292,7 @@ class ContainerBuilder extends \RectorPrefix20220519\Symfony\Component\Dependenc foreach ($value as $v) { $services = \array_unique(\array_merge($services, self::getInitializedConditionals($v))); } - } elseif ($value instanceof \RectorPrefix20220519\Symfony\Component\DependencyInjection\Reference && \RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerInterface::IGNORE_ON_UNINITIALIZED_REFERENCE === $value->getInvalidBehavior()) { + } elseif ($value instanceof \RectorPrefix20220520\Symfony\Component\DependencyInjection\Reference && \RectorPrefix20220520\Symfony\Component\DependencyInjection\ContainerInterface::IGNORE_ON_UNINITIALIZED_REFERENCE === $value->getInvalidBehavior()) { $services[] = (string) $value; } return $services; @@ -1314,12 +1314,12 @@ class ContainerBuilder extends \RectorPrefix20220519\Symfony\Component\Dependenc { $value = parent::getEnv($name); $bag = $this->getParameterBag(); - if (!\is_string($value) || !$bag instanceof \RectorPrefix20220519\Symfony\Component\DependencyInjection\ParameterBag\EnvPlaceholderParameterBag) { + if (!\is_string($value) || !$bag instanceof \RectorPrefix20220520\Symfony\Component\DependencyInjection\ParameterBag\EnvPlaceholderParameterBag) { return $value; } $envPlaceholders = $bag->getEnvPlaceholders(); if (isset($envPlaceholders[$name][$value])) { - $bag = new \RectorPrefix20220519\Symfony\Component\DependencyInjection\ParameterBag\ParameterBag($bag->all()); + $bag = new \RectorPrefix20220520\Symfony\Component\DependencyInjection\ParameterBag\ParameterBag($bag->all()); return $bag->unescapeValue($bag->get("env({$name})")); } foreach ($envPlaceholders as $env => $placeholders) { @@ -1345,7 +1345,7 @@ class ContainerBuilder extends \RectorPrefix20220519\Symfony\Component\Dependenc } } foreach (self::getInitializedConditionals($call[1]) as $s) { - if (!$this->doGet($s, \RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerInterface::IGNORE_ON_UNINITIALIZED_REFERENCE, $inlineServices)) { + if (!$this->doGet($s, \RectorPrefix20220520\Symfony\Component\DependencyInjection\ContainerInterface::IGNORE_ON_UNINITIALIZED_REFERENCE, $inlineServices)) { return $service; } } @@ -1355,7 +1355,7 @@ class ContainerBuilder extends \RectorPrefix20220519\Symfony\Component\Dependenc /** * @param mixed $service */ - private function shareService(\RectorPrefix20220519\Symfony\Component\DependencyInjection\Definition $definition, $service, ?string $id, array &$inlineServices) + private function shareService(\RectorPrefix20220520\Symfony\Component\DependencyInjection\Definition $definition, $service, ?string $id, array &$inlineServices) { $inlineServices[$id ?? \spl_object_hash($definition)] = $service; if (null !== $id && $definition->isShared()) { @@ -1363,23 +1363,23 @@ class ContainerBuilder extends \RectorPrefix20220519\Symfony\Component\Dependenc unset($this->loading[$id]); } } - private function getExpressionLanguage() : \RectorPrefix20220519\Symfony\Component\DependencyInjection\ExpressionLanguage + private function getExpressionLanguage() : \RectorPrefix20220520\Symfony\Component\DependencyInjection\ExpressionLanguage { if (!isset($this->expressionLanguage)) { - if (!\class_exists(\RectorPrefix20220519\Symfony\Component\ExpressionLanguage\ExpressionLanguage::class)) { - throw new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\LogicException('Unable to use expressions as the Symfony ExpressionLanguage component is not installed.'); + if (!\class_exists(\RectorPrefix20220520\Symfony\Component\ExpressionLanguage\ExpressionLanguage::class)) { + throw new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\LogicException('Unable to use expressions as the Symfony ExpressionLanguage component is not installed.'); } - $this->expressionLanguage = new \RectorPrefix20220519\Symfony\Component\DependencyInjection\ExpressionLanguage(null, $this->expressionLanguageProviders); + $this->expressionLanguage = new \RectorPrefix20220520\Symfony\Component\DependencyInjection\ExpressionLanguage(null, $this->expressionLanguageProviders); } return $this->expressionLanguage; } private function inVendors(string $path) : bool { - $this->vendors = $this->vendors ?? (new \RectorPrefix20220519\Symfony\Component\Config\Resource\ComposerResource())->getVendors(); + $this->vendors = $this->vendors ?? (new \RectorPrefix20220520\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 \RectorPrefix20220519\Symfony\Component\Config\Resource\FileResource($vendor . '/composer/installed.json')); + $this->addResource(new \RectorPrefix20220520\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 a5c6b6414dd..e9f1e1cc473 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 RectorPrefix20220519\Symfony\Component\DependencyInjection; +namespace RectorPrefix20220520\Symfony\Component\DependencyInjection; -use RectorPrefix20220519\Psr\Container\ContainerInterface as PsrContainerInterface; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\ServiceCircularReferenceException; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException; +use RectorPrefix20220520\Psr\Container\ContainerInterface as PsrContainerInterface; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\ServiceCircularReferenceException; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException; /** * ContainerInterface is the interface implemented by service container classes. * * @author Fabien Potencier * @author Johannes M. Schmitt */ -interface ContainerInterface extends \RectorPrefix20220519\Psr\Container\ContainerInterface +interface ContainerInterface extends \RectorPrefix20220520\Psr\Container\ContainerInterface { public const RUNTIME_EXCEPTION_ON_INVALID_REFERENCE = 0; public const EXCEPTION_ON_INVALID_REFERENCE = 1; diff --git a/vendor/symfony/dependency-injection/Definition.php b/vendor/symfony/dependency-injection/Definition.php index 90de47d884a..8a70072d466 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 RectorPrefix20220519\Symfony\Component\DependencyInjection; +namespace RectorPrefix20220520\Symfony\Component\DependencyInjection; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Argument\BoundArgument; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\OutOfBoundsException; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Argument\BoundArgument; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\OutOfBoundsException; /** * Definition represents a service definition. * @@ -154,7 +154,7 @@ class Definition $this->changes['factory'] = \true; if (\is_string($factory) && \strpos($factory, '::') !== \false) { $factory = \explode('::', $factory, 2); - } elseif ($factory instanceof \RectorPrefix20220519\Symfony\Component\DependencyInjection\Reference) { + } elseif ($factory instanceof \RectorPrefix20220520\Symfony\Component\DependencyInjection\Reference) { $factory = [$factory, '__invoke']; } $this->factory = $factory; @@ -179,17 +179,17 @@ class Definition * * @throws InvalidArgumentException in case the decorated service id and the new decorated service id are equals */ - public function setDecoratedService(?string $id, string $renamedId = null, int $priority = 0, int $invalidBehavior = \RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerInterface::EXCEPTION_ON_INVALID_REFERENCE) + public function setDecoratedService(?string $id, string $renamedId = null, int $priority = 0, int $invalidBehavior = \RectorPrefix20220520\Symfony\Component\DependencyInjection\ContainerInterface::EXCEPTION_ON_INVALID_REFERENCE) { if ($renamedId && $id === $renamedId) { - throw new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('The decorated service inner name for "%s" must be different than the service name itself.', $id)); + throw new \RectorPrefix20220520\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, $priority]; - if (\RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerInterface::EXCEPTION_ON_INVALID_REFERENCE !== $invalidBehavior) { + if (\RectorPrefix20220520\Symfony\Component\DependencyInjection\ContainerInterface::EXCEPTION_ON_INVALID_REFERENCE !== $invalidBehavior) { $this->decoratedService[] = $invalidBehavior; } } @@ -283,13 +283,13 @@ class Definition public function replaceArgument($index, $argument) { if (0 === \count($this->arguments)) { - throw new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\OutOfBoundsException(\sprintf('Cannot replace arguments for class "%s" if none have been configured yet.', $this->class)); + throw new \RectorPrefix20220520\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 \RectorPrefix20220519\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)); + throw new \RectorPrefix20220520\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 \RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\OutOfBoundsException(\sprintf('The argument "%s" doesn\'t exist in class "%s".', $index, $this->class)); + throw new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\OutOfBoundsException(\sprintf('The argument "%s" doesn\'t exist in class "%s".', $index, $this->class)); } $this->arguments[$index] = $argument; return $this; @@ -323,7 +323,7 @@ class Definition public function getArgument($index) { if (!\array_key_exists($index, $this->arguments)) { - throw new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\OutOfBoundsException(\sprintf('The argument "%s" doesn\'t exist in class "%s".', $index, $this->class)); + throw new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\OutOfBoundsException(\sprintf('The argument "%s" doesn\'t exist in class "%s".', $index, $this->class)); } return $this->arguments[$index]; } @@ -354,7 +354,7 @@ class Definition public function addMethodCall(string $method, array $arguments = [], bool $returnsClone = \false) { if (empty($method)) { - throw new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException('Method name cannot be empty.'); + throw new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException('Method name cannot be empty.'); } $this->calls[] = $returnsClone ? [$method, $arguments, \true] : [$method, $arguments]; return $this; @@ -625,10 +625,10 @@ class Definition { if ('' !== $message) { if (\preg_match('#[\\r\\n]|\\*/#', $message)) { - throw new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException('Invalid characters found in deprecation template.'); + throw new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException('Invalid characters found in deprecation template.'); } if (\strpos($message, '%service_id%') === \false) { - throw new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException('The deprecation template must contain the "%service_id%" placeholder.'); + throw new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException('The deprecation template must contain the "%service_id%" placeholder.'); } } $this->changes['deprecated'] = \true; @@ -662,7 +662,7 @@ class Definition $this->changes['configurator'] = \true; if (\is_string($configurator) && \strpos($configurator, '::') !== \false) { $configurator = \explode('::', $configurator, 2); - } elseif ($configurator instanceof \RectorPrefix20220519\Symfony\Component\DependencyInjection\Reference) { + } elseif ($configurator instanceof \RectorPrefix20220520\Symfony\Component\DependencyInjection\Reference) { $configurator = [$configurator, '__invoke']; } $this->configurator = $configurator; @@ -719,8 +719,8 @@ class Definition unset($bindings[$key]); $bindings[$key = $k] = $binding; } - if (!$binding instanceof \RectorPrefix20220519\Symfony\Component\DependencyInjection\Argument\BoundArgument) { - $bindings[$key] = new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Argument\BoundArgument($binding); + if (!$binding instanceof \RectorPrefix20220520\Symfony\Component\DependencyInjection\Argument\BoundArgument) { + $bindings[$key] = new \RectorPrefix20220520\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 0118b2270be..6be4a35dbdf 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 RectorPrefix20220519\Symfony\Component\DependencyInjection\Dumper; +namespace RectorPrefix20220520\Symfony\Component\DependencyInjection\Dumper; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerBuilder; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\ContainerBuilder; /** * Dumper is the abstract class for all built-in dumpers. * * @author Fabien Potencier */ -abstract class Dumper implements \RectorPrefix20220519\Symfony\Component\DependencyInjection\Dumper\DumperInterface +abstract class Dumper implements \RectorPrefix20220520\Symfony\Component\DependencyInjection\Dumper\DumperInterface { protected $container; - public function __construct(\RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerBuilder $container) + public function __construct(\RectorPrefix20220520\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 c720e683c7d..2f2f85f0151 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 RectorPrefix20220519\Symfony\Component\DependencyInjection\Dumper; +namespace RectorPrefix20220520\Symfony\Component\DependencyInjection\Dumper; /** * DumperInterface is the interface implemented by service container dumper classes. diff --git a/vendor/symfony/dependency-injection/Dumper/GraphvizDumper.php b/vendor/symfony/dependency-injection/Dumper/GraphvizDumper.php index 9448a304410..13fee63653c 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 RectorPrefix20220519\Symfony\Component\DependencyInjection\Dumper; +namespace RectorPrefix20220520\Symfony\Component\DependencyInjection\Dumper; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Argument\ArgumentInterface; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerBuilder; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Definition; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\ParameterNotFoundException; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Parameter; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\ParameterBag\ParameterBag; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Reference; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Argument\ArgumentInterface; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\ContainerBuilder; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Definition; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\ParameterNotFoundException; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Parameter; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\ParameterBag\ParameterBag; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Reference; /** * GraphvizDumper dumps a service container as a graphviz file. * @@ -26,7 +26,7 @@ use RectorPrefix20220519\Symfony\Component\DependencyInjection\Reference; * * @author Fabien Potencier */ -class GraphvizDumper extends \RectorPrefix20220519\Symfony\Component\DependencyInjection\Dumper\Dumper +class GraphvizDumper extends \RectorPrefix20220520\Symfony\Component\DependencyInjection\Dumper\Dumper { /** * @var mixed[] @@ -96,12 +96,12 @@ class GraphvizDumper extends \RectorPrefix20220519\Symfony\Component\DependencyI { $edges = []; foreach ($arguments as $argument) { - if ($argument instanceof \RectorPrefix20220519\Symfony\Component\DependencyInjection\Parameter) { + if ($argument instanceof \RectorPrefix20220520\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 \RectorPrefix20220519\Symfony\Component\DependencyInjection\Reference) { + if ($argument instanceof \RectorPrefix20220520\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']]; @@ -109,9 +109,9 @@ class GraphvizDumper extends \RectorPrefix20220519\Symfony\Component\DependencyI $lazyEdge = $lazy || $this->container->getDefinition((string) $argument)->isLazy(); } $edges[] = [['name' => $name, 'required' => $required, 'to' => $argument, 'lazy' => $lazyEdge]]; - } elseif ($argument instanceof \RectorPrefix20220519\Symfony\Component\DependencyInjection\Argument\ArgumentInterface) { + } elseif ($argument instanceof \RectorPrefix20220520\Symfony\Component\DependencyInjection\Argument\ArgumentInterface) { $edges[] = $this->findEdges($id, $argument->getValues(), $required, $name, \true); - } elseif ($argument instanceof \RectorPrefix20220519\Symfony\Component\DependencyInjection\Definition) { + } elseif ($argument instanceof \RectorPrefix20220520\Symfony\Component\DependencyInjection\Definition) { $edges[] = $this->findEdges($id, $argument->getArguments(), $required, ''); $edges[] = $this->findEdges($id, $argument->getProperties(), \false, ''); foreach ($argument->getMethodCalls() as $call) { @@ -134,10 +134,10 @@ class GraphvizDumper extends \RectorPrefix20220519\Symfony\Component\DependencyI } try { $class = $this->container->getParameterBag()->resolveValue($class); - } catch (\RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\ParameterNotFoundException $e) { + } catch (\RectorPrefix20220520\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 \RectorPrefix20220519\Symfony\Component\DependencyInjection\Definition('stdClass')); + $container->setDefinition($id, new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Definition('stdClass')); } foreach ($container->getServiceIds() as $id) { if (\array_key_exists($id, $container->getAliases())) { @@ -149,10 +149,10 @@ class GraphvizDumper extends \RectorPrefix20220519\Symfony\Component\DependencyI } return $nodes; } - private function cloneContainer() : \RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerBuilder + private function cloneContainer() : \RectorPrefix20220520\Symfony\Component\DependencyInjection\ContainerBuilder { - $parameterBag = new \RectorPrefix20220519\Symfony\Component\DependencyInjection\ParameterBag\ParameterBag($this->container->getParameterBag()->all()); - $container = new \RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerBuilder($parameterBag); + $parameterBag = new \RectorPrefix20220520\Symfony\Component\DependencyInjection\ParameterBag\ParameterBag($this->container->getParameterBag()->all()); + $container = new \RectorPrefix20220520\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 56fef2aa1e1..89fbd5835be 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 RectorPrefix20220519\Symfony\Component\DependencyInjection\Dumper; +namespace RectorPrefix20220520\Symfony\Component\DependencyInjection\Dumper; -use RectorPrefix20220519\Composer\Autoload\ClassLoader; -use RectorPrefix20220519\Symfony\Component\Debug\DebugClassLoader as LegacyDebugClassLoader; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Argument\AbstractArgument; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Argument\ArgumentInterface; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Argument\IteratorArgument; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Argument\ServiceClosureArgument; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Argument\ServiceLocator; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Argument\ServiceLocatorArgument; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Compiler\AnalyzeServiceReferencesPass; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Compiler\CheckCircularReferencesPass; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Compiler\ServiceReferenceGraphNode; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Container; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerBuilder; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerInterface; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Definition; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\EnvParameterException; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\LogicException; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\RuntimeException; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\ServiceCircularReferenceException; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\ExpressionLanguage; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\LazyProxy\PhpDumper\DumperInterface as ProxyDumper; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\LazyProxy\PhpDumper\NullDumper; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Loader\FileLoader; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Parameter; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Reference; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\ServiceLocator as BaseServiceLocator; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\TypedReference; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Variable; -use RectorPrefix20220519\Symfony\Component\ErrorHandler\DebugClassLoader; -use RectorPrefix20220519\Symfony\Component\ExpressionLanguage\Expression; -use RectorPrefix20220519\Symfony\Component\HttpKernel\Kernel; +use RectorPrefix20220520\Composer\Autoload\ClassLoader; +use RectorPrefix20220520\Symfony\Component\Debug\DebugClassLoader as LegacyDebugClassLoader; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Argument\AbstractArgument; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Argument\ArgumentInterface; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Argument\IteratorArgument; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Argument\ServiceClosureArgument; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Argument\ServiceLocator; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Argument\ServiceLocatorArgument; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Compiler\AnalyzeServiceReferencesPass; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Compiler\CheckCircularReferencesPass; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Compiler\ServiceReferenceGraphNode; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Container; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\ContainerBuilder; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\ContainerInterface; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Definition; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\EnvParameterException; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\LogicException; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\RuntimeException; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\ServiceCircularReferenceException; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\ExpressionLanguage; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\LazyProxy\PhpDumper\DumperInterface as ProxyDumper; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\LazyProxy\PhpDumper\NullDumper; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Loader\FileLoader; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Parameter; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Reference; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\ServiceLocator as BaseServiceLocator; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\TypedReference; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Variable; +use RectorPrefix20220520\Symfony\Component\ErrorHandler\DebugClassLoader; +use RectorPrefix20220520\Symfony\Component\ExpressionLanguage\Expression; +use RectorPrefix20220520\Symfony\Component\HttpKernel\Kernel; /** * PhpDumper dumps a service container as a PHP class. * * @author Fabien Potencier * @author Johannes M. Schmitt */ -class PhpDumper extends \RectorPrefix20220519\Symfony\Component\DependencyInjection\Dumper\Dumper +class PhpDumper extends \RectorPrefix20220520\Symfony\Component\DependencyInjection\Dumper\Dumper { /** * Characters that might appear in the generated variable name as first character. @@ -165,17 +165,17 @@ class PhpDumper extends \RectorPrefix20220519\Symfony\Component\DependencyInject /** * {@inheritdoc} */ - public function __construct(\RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerBuilder $container) + public function __construct(\RectorPrefix20220520\Symfony\Component\DependencyInjection\ContainerBuilder $container) { if (!$container->isCompiled()) { - throw new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\LogicException('Cannot dump an uncompiled container.'); + throw new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\LogicException('Cannot dump an uncompiled container.'); } parent::__construct($container); } /** * Sets the dumper to be used when dumping proxies in the generated container. */ - public function setProxyDumper(\RectorPrefix20220519\Symfony\Component\DependencyInjection\LazyProxy\PhpDumper\DumperInterface $proxyDumper) + public function setProxyDumper(\RectorPrefix20220520\Symfony\Component\DependencyInjection\LazyProxy\PhpDumper\DumperInterface $proxyDumper) { $this->proxyDumper = $proxyDumper; } @@ -212,20 +212,20 @@ class PhpDumper extends \RectorPrefix20220519\Symfony\Component\DependencyInject $baseClass = \sprintf('%s\\%s', $options['namespace'] ? '\\' . $options['namespace'] : '', $baseClass); $this->baseClass = $baseClass; } elseif ('Container' === $baseClass) { - $this->baseClass = \RectorPrefix20220519\Symfony\Component\DependencyInjection\Container::class; + $this->baseClass = \RectorPrefix20220520\Symfony\Component\DependencyInjection\Container::class; } else { $this->baseClass = $baseClass; } - $this->initializeMethodNamesMap('Container' === $baseClass ? \RectorPrefix20220519\Symfony\Component\DependencyInjection\Container::class : $baseClass); - if ($this->getProxyDumper() instanceof \RectorPrefix20220519\Symfony\Component\DependencyInjection\LazyProxy\PhpDumper\NullDumper) { - (new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Compiler\AnalyzeServiceReferencesPass(\true, \false))->process($this->container); + $this->initializeMethodNamesMap('Container' === $baseClass ? \RectorPrefix20220520\Symfony\Component\DependencyInjection\Container::class : $baseClass); + if ($this->getProxyDumper() instanceof \RectorPrefix20220520\Symfony\Component\DependencyInjection\LazyProxy\PhpDumper\NullDumper) { + (new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Compiler\AnalyzeServiceReferencesPass(\true, \false))->process($this->container); try { - (new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Compiler\CheckCircularReferencesPass())->process($this->container); - } catch (\RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\ServiceCircularReferenceException $e) { + (new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Compiler\CheckCircularReferencesPass())->process($this->container); + } catch (\RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\ServiceCircularReferenceException $e) { $path = $e->getPath(); \end($path); $path[\key($path)] .= '". Try running "composer require symfony/proxy-manager-bridge'; - throw new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\ServiceCircularReferenceException($e->getServiceId(), $path); + throw new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\ServiceCircularReferenceException($e->getServiceId(), $path); } } $this->analyzeReferences(); @@ -262,8 +262,8 @@ class PhpDumper extends \RectorPrefix20220519\Symfony\Component\DependencyInject $fileTemplate = <<docStar} * @internal This class has been auto-generated by the Symfony Dependency Injection Component. @@ -308,7 +308,7 @@ EOF; } } $files[$options['class'] . '.php'] = $code; - $hash = \ucfirst(\strtr(\RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerBuilder::hash($files), '._', 'xx')); + $hash = \ucfirst(\strtr(\RectorPrefix20220520\Symfony\Component\DependencyInjection\ContainerBuilder::hash($files), '._', 'xx')); $code = []; foreach ($files as $file => $c) { $code["Container{$hash}/{$file}"] = \substr_replace($c, "= 7.4 when preloading is desired -use RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Dumper\\Preloader; +use RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Dumper\\Preloader; if (in_array(PHP_SAPI, ['cli', 'phpdbg'], true)) { return; @@ -401,25 +401,25 @@ EOF; } } if ($unusedEnvs) { - throw new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\EnvParameterException($unusedEnvs, null, 'Environment variables "%s" are never used. Please, check your container\'s configuration.'); + throw new \RectorPrefix20220520\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() : \RectorPrefix20220519\Symfony\Component\DependencyInjection\LazyProxy\PhpDumper\DumperInterface + private function getProxyDumper() : \RectorPrefix20220520\Symfony\Component\DependencyInjection\LazyProxy\PhpDumper\DumperInterface { - return $this->proxyDumper = $this->proxyDumper ?? new \RectorPrefix20220519\Symfony\Component\DependencyInjection\LazyProxy\PhpDumper\NullDumper(); + return $this->proxyDumper = $this->proxyDumper ?? new \RectorPrefix20220520\Symfony\Component\DependencyInjection\LazyProxy\PhpDumper\NullDumper(); } private function analyzeReferences() { - (new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Compiler\AnalyzeServiceReferencesPass(\false, !$this->getProxyDumper() instanceof \RectorPrefix20220519\Symfony\Component\DependencyInjection\LazyProxy\PhpDumper\NullDumper))->process($this->container); + (new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Compiler\AnalyzeServiceReferencesPass(\false, !$this->getProxyDumper() instanceof \RectorPrefix20220520\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 \RectorPrefix20220519\Symfony\Component\DependencyInjection\Definition) { + if (!$node->getValue() instanceof \RectorPrefix20220520\Symfony\Component\DependencyInjection\Definition) { continue; } if ($this->isSingleUsePrivateNode($node)) { @@ -437,7 +437,7 @@ EOF; foreach ($edges as $edge) { $node = $edge->getDestNode(); $id = $node->getId(); - if ($sourceId === $id || !$node->getValue() instanceof \RectorPrefix20220519\Symfony\Component\DependencyInjection\Definition || $edge->isLazy() || $edge->isWeak()) { + if ($sourceId === $id || !$node->getValue() instanceof \RectorPrefix20220520\Symfony\Component\DependencyInjection\Definition || $edge->isLazy() || $edge->isWeak()) { continue; } if (isset($path[$id])) { @@ -540,7 +540,7 @@ EOF; $proxyClasses = []; $alreadyGenerated = []; $definitions = $this->container->getDefinitions(); - $strip = '' === $this->docStar && \method_exists(\RectorPrefix20220519\Symfony\Component\HttpKernel\Kernel::class, 'stripComments'); + $strip = '' === $this->docStar && \method_exists(\RectorPrefix20220520\Symfony\Component\HttpKernel\Kernel::class, 'stripComments'); $proxyDumper = $this->getProxyDumper(); \ksort($definitions); foreach ($definitions as $definition) { @@ -570,7 +570,7 @@ EOF; } if ($strip) { $proxyCode = "inlineRequires ? \substr($proxyCode, \strlen($code)) : $proxyCode, 3)[1]; if ($this->asFiles || $this->namespace) { @@ -580,7 +580,7 @@ EOF; } return $proxyClasses; } - private function addServiceInclude(string $cId, \RectorPrefix20220519\Symfony\Component\DependencyInjection\Definition $definition) : string + private function addServiceInclude(string $cId, \RectorPrefix20220520\Symfony\Component\DependencyInjection\Definition $definition) : string { $code = ''; if ($this->inlineRequires && (!$this->isHotPath($definition) || $this->getProxyDumper()->isProxyCandidate($definition))) { @@ -593,7 +593,7 @@ EOF; } } foreach ($this->serviceCalls as $id => [$callCount, $behavior]) { - if ('service_container' !== $id && $id !== $cId && \RectorPrefix20220519\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 && \RectorPrefix20220520\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); } @@ -619,11 +619,11 @@ EOF; * @throws InvalidArgumentException * @throws RuntimeException */ - private function addServiceInstance(string $id, \RectorPrefix20220519\Symfony\Component\DependencyInjection\Definition $definition, bool $isSimpleInstance) : string + private function addServiceInstance(string $id, \RectorPrefix20220520\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 \RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('"%s" is not a valid class name for the "%s" service.', $class, $id)); + throw new \RectorPrefix20220520\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 = ''; @@ -646,7 +646,7 @@ EOF; } return $this->addNewInstance($definition, ' ' . $return . $instantiation, $id); } - private function isTrivialInstance(\RectorPrefix20220519\Symfony\Component\DependencyInjection\Definition $definition) : bool + private function isTrivialInstance(\RectorPrefix20220520\Symfony\Component\DependencyInjection\Definition $definition) : bool { if ($definition->hasErrors()) { return \true; @@ -658,7 +658,7 @@ EOF; return \false; } foreach ($definition->getArguments() as $arg) { - if (!$arg || $arg instanceof \RectorPrefix20220519\Symfony\Component\DependencyInjection\Parameter) { + if (!$arg || $arg instanceof \RectorPrefix20220520\Symfony\Component\DependencyInjection\Parameter) { continue; } if (\is_array($arg) && 3 >= \count($arg)) { @@ -666,17 +666,17 @@ EOF; if ($this->dumpValue($k) !== $this->dumpValue($k, \false)) { return \false; } - if (!$v || $v instanceof \RectorPrefix20220519\Symfony\Component\DependencyInjection\Parameter) { + if (!$v || $v instanceof \RectorPrefix20220520\Symfony\Component\DependencyInjection\Parameter) { continue; } - if ($v instanceof \RectorPrefix20220519\Symfony\Component\DependencyInjection\Reference && $this->container->has($id = (string) $v) && $this->container->findDefinition($id)->isSynthetic()) { + if ($v instanceof \RectorPrefix20220520\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 \RectorPrefix20220519\Symfony\Component\DependencyInjection\Reference && $this->container->has($id = (string) $arg) && $this->container->findDefinition($id)->isSynthetic()) { + } elseif ($arg instanceof \RectorPrefix20220520\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; @@ -684,7 +684,7 @@ EOF; } return \true; } - private function addServiceMethodCalls(\RectorPrefix20220519\Symfony\Component\DependencyInjection\Definition $definition, string $variableName, ?string $sharedNonLazyId) : string + private function addServiceMethodCalls(\RectorPrefix20220520\Symfony\Component\DependencyInjection\Definition $definition, string $variableName, ?string $sharedNonLazyId) : string { $lastWitherIndex = null; foreach ($definition->getMethodCalls() as $k => $call) { @@ -709,7 +709,7 @@ EOF; } return $calls; } - private function addServiceProperties(\RectorPrefix20220519\Symfony\Component\DependencyInjection\Definition $definition, string $variableName = 'instance') : string + private function addServiceProperties(\RectorPrefix20220520\Symfony\Component\DependencyInjection\Definition $definition, string $variableName = 'instance') : string { $code = ''; foreach ($definition->getProperties() as $name => $value) { @@ -717,13 +717,13 @@ EOF; } return $code; } - private function addServiceConfigurator(\RectorPrefix20220519\Symfony\Component\DependencyInjection\Definition $definition, string $variableName = 'instance') : string + private function addServiceConfigurator(\RectorPrefix20220520\Symfony\Component\DependencyInjection\Definition $definition, string $variableName = 'instance') : string { if (!($callable = $definition->getConfigurator())) { return ''; } if (\is_array($callable)) { - if ($callable[0] instanceof \RectorPrefix20220519\Symfony\Component\DependencyInjection\Reference || $callable[0] instanceof \RectorPrefix20220519\Symfony\Component\DependencyInjection\Definition && $this->definitionVariables->contains($callable[0])) { + if ($callable[0] instanceof \RectorPrefix20220520\Symfony\Component\DependencyInjection\Reference || $callable[0] instanceof \RectorPrefix20220520\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]); @@ -738,23 +738,23 @@ EOF; } return \sprintf(" %s(\$%s);\n", $callable, $variableName); } - private function addService(string $id, \RectorPrefix20220519\Symfony\Component\DependencyInjection\Definition $definition) : array + private function addService(string $id, \RectorPrefix20220520\Symfony\Component\DependencyInjection\Definition $definition) : array { $this->definitionVariables = new \SplObjectStorage(); $this->referenceVariables = []; $this->variableCount = 0; - $this->referenceVariables[$id] = new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Variable('instance'); + $this->referenceVariables[$id] = new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Variable('instance'); $return = []; if ($class = $definition->getClass()) { - $class = $class instanceof \RectorPrefix20220519\Symfony\Component\DependencyInjection\Parameter ? '%' . $class . '%' : $this->container->resolveEnvPlaceholders($class); + $class = $class instanceof \RectorPrefix20220520\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 \RectorPrefix20220519\Symfony\Component\DependencyInjection\Definition || $factory[0] instanceof \RectorPrefix20220519\Symfony\Component\DependencyInjection\Reference)) { - $class = $factory[0] instanceof \RectorPrefix20220519\Symfony\Component\DependencyInjection\Definition ? $factory[0]->getClass() : (string) $factory[0]; - $class = $class instanceof \RectorPrefix20220519\Symfony\Component\DependencyInjection\Parameter ? '%' . $class . '%' : $this->container->resolveEnvPlaceholders($class); + } elseif (\is_array($factory) && (\is_string($factory[0]) || $factory[0] instanceof \RectorPrefix20220520\Symfony\Component\DependencyInjection\Definition || $factory[0] instanceof \RectorPrefix20220520\Symfony\Component\DependencyInjection\Reference)) { + $class = $factory[0] instanceof \RectorPrefix20220520\Symfony\Component\DependencyInjection\Definition ? $factory[0]->getClass() : (string) $factory[0]; + $class = $class instanceof \RectorPrefix20220520\Symfony\Component\DependencyInjection\Parameter ? '%' . $class . '%' : $this->container->resolveEnvPlaceholders($class); $return[] = \sprintf('@return object An instance returned by %s::%s()', $class, $factory[1]); } } @@ -862,21 +862,21 @@ EOF; $this->referenceVariables = $this->serviceCalls = null; return [$file, $code]; } - private function addInlineVariables(string $id, \RectorPrefix20220519\Symfony\Component\DependencyInjection\Definition $definition, array $arguments, bool $forConstructor) : string + private function addInlineVariables(string $id, \RectorPrefix20220520\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 \RectorPrefix20220519\Symfony\Component\DependencyInjection\Reference) { + } elseif ($argument instanceof \RectorPrefix20220520\Symfony\Component\DependencyInjection\Reference) { $code .= $this->addInlineReference($id, $definition, $argument, $forConstructor); - } elseif ($argument instanceof \RectorPrefix20220519\Symfony\Component\DependencyInjection\Definition) { + } elseif ($argument instanceof \RectorPrefix20220520\Symfony\Component\DependencyInjection\Definition) { $code .= $this->addInlineService($id, $definition, $argument, $forConstructor); } } return $code; } - private function addInlineReference(string $id, \RectorPrefix20220519\Symfony\Component\DependencyInjection\Definition $definition, string $targetId, bool $forConstructor) : string + private function addInlineReference(string $id, \RectorPrefix20220520\Symfony\Component\DependencyInjection\Definition $definition, string $targetId, bool $forConstructor) : string { while ($this->container->hasAlias($targetId)) { $targetId = (string) $this->container->getAlias($targetId); @@ -901,8 +901,8 @@ EOF; return $code; } $name = $this->getNextVariableName(); - $this->referenceVariables[$targetId] = new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Variable($name); - $reference = \RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerInterface::EXCEPTION_ON_INVALID_REFERENCE >= $behavior ? new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Reference($targetId, $behavior) : null; + $this->referenceVariables[$targetId] = new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Variable($name); + $reference = \RectorPrefix20220520\Symfony\Component\DependencyInjection\ContainerInterface::EXCEPTION_ON_INVALID_REFERENCE >= $behavior ? new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Reference($targetId, $behavior) : null; $code .= \sprintf(" \$%s = %s;\n", $name, $this->getServiceCall($targetId, $reference)); if (!$hasSelfRef || !$forConstructor) { return $code; @@ -917,7 +917,7 @@ EOTXT , $this->container->getDefinition($id)->isPublic() ? 'services' : 'privates', $this->doExport($id)); return $code; } - private function addInlineService(string $id, \RectorPrefix20220519\Symfony\Component\DependencyInjection\Definition $definition, \RectorPrefix20220519\Symfony\Component\DependencyInjection\Definition $inlineDef = null, bool $forConstructor = \true) : string + private function addInlineService(string $id, \RectorPrefix20220520\Symfony\Component\DependencyInjection\Definition $definition, \RectorPrefix20220520\Symfony\Component\DependencyInjection\Definition $inlineDef = null, bool $forConstructor = \true) : string { $code = ''; if ($isSimpleInstance = $isRootInstance = null === $inlineDef) { @@ -941,7 +941,7 @@ EOTXT $isSimpleInstance = \false; } else { $name = $definition === $inlineDef ? 'instance' : $this->getNextVariableName(); - $this->definitionVariables[$inlineDef] = new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Variable($name); + $this->definitionVariables[$inlineDef] = new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Variable($name); $code .= '' !== $code ? "\n" : ''; if ('instance' === $name) { $code .= $this->addServiceInstance($id, $definition, $isSimpleInstance); @@ -999,15 +999,15 @@ EOTXT } } } - private function addNewInstance(\RectorPrefix20220519\Symfony\Component\DependencyInjection\Definition $definition, string $return = '', string $id = null) : string + private function addNewInstance(\RectorPrefix20220520\Symfony\Component\DependencyInjection\Definition $definition, string $return = '', string $id = null) : string { $tail = $return ? ";\n" : ''; - if (\RectorPrefix20220519\Symfony\Component\DependencyInjection\ServiceLocator::class === $definition->getClass() && $definition->hasTag($this->serviceLocatorTag)) { + if (\RectorPrefix20220520\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 \RectorPrefix20220519\Symfony\Component\DependencyInjection\Argument\ServiceLocatorArgument($arguments)) . $tail; + return $return . $this->dumpValue(new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Argument\ServiceLocatorArgument($arguments)) . $tail; } $arguments = []; foreach ($definition->getArguments() as $i => $value) { @@ -1017,16 +1017,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 \RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\RuntimeException(\sprintf('Cannot dump definition because of invalid factory method (%s).', $callable[1] ?: 'n/a')); + throw new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\RuntimeException(\sprintf('Cannot dump definition because of invalid factory method (%s).', $callable[1] ?: 'n/a')); } - if ($callable[0] instanceof \RectorPrefix20220519\Symfony\Component\DependencyInjection\Reference || $callable[0] instanceof \RectorPrefix20220519\Symfony\Component\DependencyInjection\Definition && $this->definitionVariables->contains($callable[0])) { + if ($callable[0] instanceof \RectorPrefix20220520\Symfony\Component\DependencyInjection\Reference || $callable[0] instanceof \RectorPrefix20220520\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 \RectorPrefix20220519\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 \RectorPrefix20220520\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; } @@ -1038,7 +1038,7 @@ EOTXT return $return . \sprintf('%s(%s)', $this->dumpLiteralClass($this->dumpValue($callable)), $arguments ? \implode(', ', $arguments) : '') . $tail; } if (null === ($class = $definition->getClass())) { - throw new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\RuntimeException('Cannot dump definitions which have no class nor factory.'); + throw new \RectorPrefix20220520\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; } @@ -1048,14 +1048,14 @@ EOTXT $code = <<docStar} * @internal This class has been auto-generated by the Symfony Dependency Injection Component. @@ -1078,9 +1078,9 @@ EOF; $code .= ' $this->targetDir = \\dirname($containerDir);' . "\n"; } } - if (\RectorPrefix20220519\Symfony\Component\DependencyInjection\Container::class !== $this->baseClass) { + if (\RectorPrefix20220520\Symfony\Component\DependencyInjection\Container::class !== $this->baseClass) { $r = $this->container->getReflectionClass($this->baseClass, \false); - if (null !== $r && null !== ($constructor = $r->getConstructor()) && 0 === $constructor->getNumberOfRequiredParameters() && \RectorPrefix20220519\Symfony\Component\DependencyInjection\Container::class !== $constructor->getDeclaringClass()->name) { + if (null !== $r && null !== ($constructor = $r->getConstructor()) && 0 === $constructor->getNumberOfRequiredParameters() && \RectorPrefix20220520\Symfony\Component\DependencyInjection\Container::class !== $constructor->getDeclaringClass()->name) { $code .= " parent::__construct();\n"; $code .= " \$this->parameterBag = null;\n\n"; } @@ -1183,7 +1183,7 @@ EOF; $ids = \array_keys($ids); \sort($ids); foreach ($ids as $id) { - if (\preg_match(\RectorPrefix20220519\Symfony\Component\DependencyInjection\Loader\FileLoader::ANONYMOUS_ID_REGEXP, $id)) { + if (\preg_match(\RectorPrefix20220520\Symfony\Component\DependencyInjection\Loader\FileLoader::ANONYMOUS_ID_REGEXP, $id)) { continue; } $code .= ' ' . $this->doExport($id) . " => true,\n"; @@ -1320,7 +1320,7 @@ EOF; $dynamicPhp = []; foreach ($this->container->getParameterBag()->all() as $key => $value) { if ($key !== ($resolvedKey = $this->container->resolveEnvPlaceholders($key))) { - throw new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('Parameter name cannot use env parameters: "%s".', $resolvedKey)); + throw new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('Parameter name cannot use env parameters: "%s".', $resolvedKey)); } $hasEnum = \false; $export = $this->exportParameters([$value], '', 12, $hasEnum); @@ -1427,17 +1427,17 @@ EOF; foreach ($parameters as $key => $value) { if (\is_array($value)) { $value = $this->exportParameters($value, $path . '/' . $key, $indent + 4, $hasEnum); - } elseif ($value instanceof \RectorPrefix20220519\Symfony\Component\DependencyInjection\Argument\ArgumentInterface) { - throw new \RectorPrefix20220519\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 \RectorPrefix20220519\Symfony\Component\DependencyInjection\Variable) { - throw new \RectorPrefix20220519\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 \RectorPrefix20220519\Symfony\Component\DependencyInjection\Definition) { - throw new \RectorPrefix20220519\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 \RectorPrefix20220519\Symfony\Component\DependencyInjection\Reference) { - throw new \RectorPrefix20220519\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 \RectorPrefix20220519\Symfony\Component\ExpressionLanguage\Expression) { - throw new \RectorPrefix20220519\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 \RectorPrefix20220519\UnitEnum) { + } elseif ($value instanceof \RectorPrefix20220520\Symfony\Component\DependencyInjection\Argument\ArgumentInterface) { + throw new \RectorPrefix20220520\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 \RectorPrefix20220520\Symfony\Component\DependencyInjection\Variable) { + throw new \RectorPrefix20220520\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 \RectorPrefix20220520\Symfony\Component\DependencyInjection\Definition) { + throw new \RectorPrefix20220520\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 \RectorPrefix20220520\Symfony\Component\DependencyInjection\Reference) { + throw new \RectorPrefix20220520\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 \RectorPrefix20220520\Symfony\Component\ExpressionLanguage\Expression) { + throw new \RectorPrefix20220520\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 \RectorPrefix20220520\UnitEnum) { $hasEnum = \true; $value = \sprintf('\\%s::%s', \get_class($value), $value->name); } else { @@ -1474,13 +1474,13 @@ EOF; private function getServiceConditionals($value) : string { $conditions = []; - foreach (\RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerBuilder::getInitializedConditionals($value) as $service) { + foreach (\RectorPrefix20220520\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 (\RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerBuilder::getServiceConditionals($value) as $service) { + foreach (\RectorPrefix20220520\Symfony\Component\DependencyInjection\ContainerBuilder::getServiceConditionals($value) as $service) { if ($this->container->hasDefinition($service) && !$this->container->getDefinition($service)->isPublic()) { continue; } @@ -1499,7 +1499,7 @@ EOF; foreach ($arguments as $argument) { if (\is_array($argument)) { $this->getDefinitionsFromArguments($argument, $definitions, $calls, $byConstructor); - } elseif ($argument instanceof \RectorPrefix20220519\Symfony\Component\DependencyInjection\Reference) { + } elseif ($argument instanceof \RectorPrefix20220520\Symfony\Component\DependencyInjection\Reference) { $id = (string) $argument; while ($this->container->hasAlias($id)) { $id = (string) $this->container->getAlias($id); @@ -1510,7 +1510,7 @@ EOF; $calls[$id][1] = \min($calls[$id][1], $argument->getInvalidBehavior()); } ++$calls[$id][0]; - } elseif (!$argument instanceof \RectorPrefix20220519\Symfony\Component\DependencyInjection\Definition) { + } elseif (!$argument instanceof \RectorPrefix20220520\Symfony\Component\DependencyInjection\Definition) { // no-op } elseif (isset($definitions[$argument])) { $definitions[$argument] = 1 + $definitions[$argument]; @@ -1539,21 +1539,21 @@ EOF; $code[] = \sprintf('%s => %s', $this->dumpValue($k, $interpolate), $this->dumpValue($v, $interpolate)); } return \sprintf('[%s]', \implode(', ', $code)); - } elseif ($value instanceof \RectorPrefix20220519\Symfony\Component\DependencyInjection\Argument\ArgumentInterface) { + } elseif ($value instanceof \RectorPrefix20220520\Symfony\Component\DependencyInjection\Argument\ArgumentInterface) { $scope = [$this->definitionVariables, $this->referenceVariables]; $this->definitionVariables = $this->referenceVariables = null; try { - if ($value instanceof \RectorPrefix20220519\Symfony\Component\DependencyInjection\Argument\ServiceClosureArgument) { + if ($value instanceof \RectorPrefix20220520\Symfony\Component\DependencyInjection\Argument\ServiceClosureArgument) { $value = $value->getValues()[0]; $code = $this->dumpValue($value, $interpolate); $returnedType = ''; - if ($value instanceof \RectorPrefix20220519\Symfony\Component\DependencyInjection\TypedReference) { - $returnedType = \sprintf(': %s\\%s', \RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerInterface::EXCEPTION_ON_INVALID_REFERENCE >= $value->getInvalidBehavior() ? '' : '?', \str_replace(['|', '&'], ['|\\', '&\\'], $value->getType())); + if ($value instanceof \RectorPrefix20220520\Symfony\Component\DependencyInjection\TypedReference) { + $returnedType = \sprintf(': %s\\%s', \RectorPrefix20220520\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 \RectorPrefix20220519\Symfony\Component\DependencyInjection\Argument\IteratorArgument) { + if ($value instanceof \RectorPrefix20220520\Symfony\Component\DependencyInjection\Argument\IteratorArgument) { $operands = [0]; $code = []; $code[] = 'new RewindableGenerator(function () {'; @@ -1577,7 +1577,7 @@ EOF; $code[] = \sprintf(' }, %s)', \count($operands) > 1 ? \implode("\n", $countCode) : $operands[0]); return \implode("\n", $code); } - if ($value instanceof \RectorPrefix20220519\Symfony\Component\DependencyInjection\Argument\ServiceLocatorArgument) { + if ($value instanceof \RectorPrefix20220520\Symfony\Component\DependencyInjection\Argument\ServiceLocatorArgument) { $serviceMap = ''; $serviceTypes = ''; foreach ($value->getValues() as $k => $v) { @@ -1590,17 +1590,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(\RectorPrefix20220519\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 \RectorPrefix20220519\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(\RectorPrefix20220520\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 \RectorPrefix20220520\Symfony\Component\DependencyInjection\TypedReference ? $v->getType() : '?')); $this->locatedIds[$id] = \true; } $this->addGetService = \true; - return \sprintf('new \\%s($this->getService, [%s%s], [%s%s])', \RectorPrefix20220519\Symfony\Component\DependencyInjection\Argument\ServiceLocator::class, $serviceMap, $serviceMap ? "\n " : '', $serviceTypes, $serviceTypes ? "\n " : ''); + return \sprintf('new \\%s($this->getService, [%s%s], [%s%s])', \RectorPrefix20220520\Symfony\Component\DependencyInjection\Argument\ServiceLocator::class, $serviceMap, $serviceMap ? "\n " : '', $serviceTypes, $serviceTypes ? "\n " : ''); } } finally { [$this->definitionVariables, $this->referenceVariables] = $scope; } - } elseif ($value instanceof \RectorPrefix20220519\Symfony\Component\DependencyInjection\Definition) { + } elseif ($value instanceof \RectorPrefix20220520\Symfony\Component\DependencyInjection\Definition) { if ($value->hasErrors() && ($e = $value->getErrors())) { return \sprintf('throw new RuntimeException(%s)', $this->export(\reset($e))); } @@ -1608,18 +1608,18 @@ EOF; return $this->dumpValue($this->definitionVariables[$value], $interpolate); } if ($value->getMethodCalls()) { - throw new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\RuntimeException('Cannot dump definitions which have method calls.'); + throw new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\RuntimeException('Cannot dump definitions which have method calls.'); } if ($value->getProperties()) { - throw new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\RuntimeException('Cannot dump definitions which have properties.'); + throw new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\RuntimeException('Cannot dump definitions which have properties.'); } if (null !== $value->getConfigurator()) { - throw new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\RuntimeException('Cannot dump definitions which have a configurator.'); + throw new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\RuntimeException('Cannot dump definitions which have a configurator.'); } return $this->addNewInstance($value); - } elseif ($value instanceof \RectorPrefix20220519\Symfony\Component\DependencyInjection\Variable) { + } elseif ($value instanceof \RectorPrefix20220520\Symfony\Component\DependencyInjection\Variable) { return '$' . $value; - } elseif ($value instanceof \RectorPrefix20220519\Symfony\Component\DependencyInjection\Reference) { + } elseif ($value instanceof \RectorPrefix20220520\Symfony\Component\DependencyInjection\Reference) { $id = (string) $value; while ($this->container->hasAlias($id)) { $id = (string) $this->container->getAlias($id); @@ -1628,9 +1628,9 @@ EOF; return $this->dumpValue($this->referenceVariables[$id], $interpolate); } return $this->getServiceCall($id, $value); - } elseif ($value instanceof \RectorPrefix20220519\Symfony\Component\ExpressionLanguage\Expression) { + } elseif ($value instanceof \RectorPrefix20220520\Symfony\Component\ExpressionLanguage\Expression) { return $this->getExpressionLanguage()->compile((string) $value, ['this' => 'container']); - } elseif ($value instanceof \RectorPrefix20220519\Symfony\Component\DependencyInjection\Parameter) { + } elseif ($value instanceof \RectorPrefix20220520\Symfony\Component\DependencyInjection\Parameter) { return $this->dumpParameter($value); } elseif (\true === $interpolate && \is_string($value)) { if (\preg_match('/^%([^%]+)%$/', $value, $match)) { @@ -1644,12 +1644,12 @@ EOF; $code = \str_replace('%%', '%', \preg_replace_callback('/(?export($value))); return $code; } - } elseif ($value instanceof \RectorPrefix20220519\UnitEnum) { + } elseif ($value instanceof \RectorPrefix20220520\UnitEnum) { return \sprintf('\\%s::%s', \get_class($value), $value->name); - } elseif ($value instanceof \RectorPrefix20220519\Symfony\Component\DependencyInjection\Argument\AbstractArgument) { - throw new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\RuntimeException($value->getTextWithContext()); + } elseif ($value instanceof \RectorPrefix20220520\Symfony\Component\DependencyInjection\Argument\AbstractArgument) { + throw new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\RuntimeException($value->getTextWithContext()); } elseif (\is_object($value) || \is_resource($value)) { - throw new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\RuntimeException('Unable to dump a service container if a parameter is an object or a resource.'); + throw new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\RuntimeException('Unable to dump a service container if a parameter is an object or a resource.'); } return $this->export($value); } @@ -1664,7 +1664,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 \RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\RuntimeException(\sprintf('Cannot dump definition because of invalid class name (%s).', $class ?: 'n/a')); + throw new \RectorPrefix20220520\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; @@ -1683,7 +1683,7 @@ EOF; } return \sprintf('$this->getParameter(%s)', $this->doExport($name)); } - private function getServiceCall(string $id, \RectorPrefix20220519\Symfony\Component\DependencyInjection\Reference $reference = null) : string + private function getServiceCall(string $id, \RectorPrefix20220520\Symfony\Component\DependencyInjection\Reference $reference = null) : string { while ($this->container->hasAlias($id)) { $id = (string) $this->container->getAlias($id); @@ -1694,7 +1694,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 && \RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerInterface::IGNORE_ON_UNINITIALIZED_REFERENCE === $reference->getInvalidBehavior()) { + } elseif (null !== $reference && \RectorPrefix20220520\Symfony\Component\DependencyInjection\ContainerInterface::IGNORE_ON_UNINITIALIZED_REFERENCE === $reference->getInvalidBehavior()) { $code = 'null'; if (!$definition->isShared()) { return $code; @@ -1721,10 +1721,10 @@ EOF; } return $code; } - if (null !== $reference && \RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerInterface::IGNORE_ON_UNINITIALIZED_REFERENCE === $reference->getInvalidBehavior()) { + if (null !== $reference && \RectorPrefix20220520\Symfony\Component\DependencyInjection\ContainerInterface::IGNORE_ON_UNINITIALIZED_REFERENCE === $reference->getInvalidBehavior()) { return 'null'; } - if (null !== $reference && \RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerInterface::EXCEPTION_ON_INVALID_REFERENCE < $reference->getInvalidBehavior()) { + if (null !== $reference && \RectorPrefix20220520\Symfony\Component\DependencyInjection\ContainerInterface::EXCEPTION_ON_INVALID_REFERENCE < $reference->getInvalidBehavior()) { $code = \sprintf('$this->get(%s, ContainerInterface::NULL_ON_INVALID_REFERENCE)', $this->doExport($id)); } else { $code = \sprintf('$this->get(%s)', $this->doExport($id)); @@ -1753,7 +1753,7 @@ EOF; return $this->serviceIdToMethodNameMap[$id]; } $i = \strrpos($id, '\\'); - $name = \RectorPrefix20220519\Symfony\Component\DependencyInjection\Container::camelize(\false !== $i && isset($id[1 + $i]) ? \substr($id, 1 + $i) : $id); + $name = \RectorPrefix20220520\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; @@ -1791,14 +1791,14 @@ EOF; return $name; } } - private function getExpressionLanguage() : \RectorPrefix20220519\Symfony\Component\DependencyInjection\ExpressionLanguage + private function getExpressionLanguage() : \RectorPrefix20220520\Symfony\Component\DependencyInjection\ExpressionLanguage { if (!isset($this->expressionLanguage)) { - if (!\class_exists(\RectorPrefix20220519\Symfony\Component\ExpressionLanguage\ExpressionLanguage::class)) { - throw new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\LogicException('Unable to use expressions as the Symfony ExpressionLanguage component is not installed.'); + if (!\class_exists(\RectorPrefix20220520\Symfony\Component\ExpressionLanguage\ExpressionLanguage::class)) { + throw new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\LogicException('Unable to use expressions as the Symfony ExpressionLanguage component is not installed.'); } $providers = $this->container->getExpressionLanguageProviders(); - $this->expressionLanguage = new \RectorPrefix20220519\Symfony\Component\DependencyInjection\ExpressionLanguage(null, $providers, function ($arg) { + $this->expressionLanguage = new \RectorPrefix20220520\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); @@ -1813,11 +1813,11 @@ EOF; } return $this->expressionLanguage; } - private function isHotPath(\RectorPrefix20220519\Symfony\Component\DependencyInjection\Definition $definition) : bool + private function isHotPath(\RectorPrefix20220520\Symfony\Component\DependencyInjection\Definition $definition) : bool { return $this->hotPathTag && $definition->hasTag($this->hotPathTag) && !$definition->isDeprecated(); } - private function isSingleUsePrivateNode(\RectorPrefix20220519\Symfony\Component\DependencyInjection\Compiler\ServiceReferenceGraphNode $node) : bool + private function isSingleUsePrivateNode(\RectorPrefix20220520\Symfony\Component\DependencyInjection\Compiler\ServiceReferenceGraphNode $node) : bool { if ($node->getValue()->isPublic()) { return \false; @@ -1827,7 +1827,7 @@ EOF; if (!($value = $edge->getSourceNode()->getValue())) { continue; } - if ($edge->isLazy() || !$value instanceof \RectorPrefix20220519\Symfony\Component\DependencyInjection\Definition || !$value->isShared()) { + if ($edge->isLazy() || !$value instanceof \RectorPrefix20220520\Symfony\Component\DependencyInjection\Definition || !$value->isShared()) { return \false; } $ids[$edge->getSourceNode()->getId()] = \true; @@ -1917,10 +1917,10 @@ EOF; if (!\is_array($autoloader)) { continue; } - if ($autoloader[0] instanceof \RectorPrefix20220519\Symfony\Component\ErrorHandler\DebugClassLoader || $autoloader[0] instanceof \RectorPrefix20220519\Symfony\Component\Debug\DebugClassLoader) { + if ($autoloader[0] instanceof \RectorPrefix20220520\Symfony\Component\ErrorHandler\DebugClassLoader || $autoloader[0] instanceof \RectorPrefix20220520\Symfony\Component\Debug\DebugClassLoader) { $autoloader = $autoloader[0]->getClassLoader(); } - if (!\is_array($autoloader) || !$autoloader[0] instanceof \RectorPrefix20220519\Composer\Autoload\ClassLoader || !$autoloader[0]->findFile(__CLASS__)) { + if (!\is_array($autoloader) || !$autoloader[0] instanceof \RectorPrefix20220520\Composer\Autoload\ClassLoader || !$autoloader[0]->findFile(__CLASS__)) { continue; } foreach (\get_declared_classes() as $class) { @@ -1934,13 +1934,13 @@ EOF; } return $file; } - private function getClasses(\RectorPrefix20220519\Symfony\Component\DependencyInjection\Definition $definition, string $id) : array + private function getClasses(\RectorPrefix20220520\Symfony\Component\DependencyInjection\Definition $definition, string $id) : array { $classes = []; - while ($definition instanceof \RectorPrefix20220519\Symfony\Component\DependencyInjection\Definition) { + while ($definition instanceof \RectorPrefix20220520\Symfony\Component\DependencyInjection\Definition) { foreach ($definition->getTag($this->preloadTags[0]) as $tag) { if (!isset($tag['class'])) { - throw new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('Missing attribute "class" on tag "%s" for service "%s".', $this->preloadTags[0], $id)); + throw new \RectorPrefix20220520\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 b5ac3a4c907..c09a141d010 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 RectorPrefix20220519\Symfony\Component\DependencyInjection\Dumper; +namespace RectorPrefix20220520\Symfony\Component\DependencyInjection\Dumper; /** * @author Nicolas Grekas @@ -97,7 +97,7 @@ final class Preloader if (!$t) { return; } - foreach ($t instanceof \ReflectionUnionType || $t instanceof \RectorPrefix20220519\ReflectionIntersectionType ? $t->getTypes() : [$t] as $t) { + foreach ($t instanceof \ReflectionUnionType || $t instanceof \RectorPrefix20220520\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 95888b4c39c..eda41ffdc5f 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 RectorPrefix20220519\Symfony\Component\DependencyInjection\Dumper; +namespace RectorPrefix20220520\Symfony\Component\DependencyInjection\Dumper; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Alias; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Argument\AbstractArgument; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Argument\IteratorArgument; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Argument\ServiceClosureArgument; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Argument\ServiceLocatorArgument; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Argument\TaggedIteratorArgument; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerInterface; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Definition; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\RuntimeException; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Parameter; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Reference; -use RectorPrefix20220519\Symfony\Component\ExpressionLanguage\Expression; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Alias; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Argument\AbstractArgument; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Argument\IteratorArgument; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Argument\ServiceClosureArgument; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Argument\ServiceLocatorArgument; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Argument\TaggedIteratorArgument; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\ContainerInterface; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Definition; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\RuntimeException; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Parameter; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Reference; +use RectorPrefix20220520\Symfony\Component\ExpressionLanguage\Expression; /** * XmlDumper dumps a service container as an XML string. * * @author Fabien Potencier * @author Martin Hasoň */ -class XmlDumper extends \RectorPrefix20220519\Symfony\Component\DependencyInjection\Dumper\Dumper +class XmlDumper extends \RectorPrefix20220520\Symfony\Component\DependencyInjection\Dumper\Dumper { /** * @var \DOMDocument @@ -78,7 +78,7 @@ class XmlDumper extends \RectorPrefix20220519\Symfony\Component\DependencyInject $parent->appendChild($call); } } - private function addService(\RectorPrefix20220519\Symfony\Component\DependencyInjection\Definition $definition, ?string $id, \DOMElement $parent) + private function addService(\RectorPrefix20220520\Symfony\Component\DependencyInjection\Definition $definition, ?string $id, \DOMElement $parent) { $service = $this->document->createElement('service'); if (null !== $id) { @@ -105,9 +105,9 @@ class XmlDumper extends \RectorPrefix20220519\Symfony\Component\DependencyInject if (null !== ($decoratedService = $definition->getDecoratedService())) { [$decorated, $renamedId, $priority] = $decoratedService; $service->setAttribute('decorates', $decorated); - $decorationOnInvalid = $decoratedService[3] ?? \RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerInterface::EXCEPTION_ON_INVALID_REFERENCE; - if (\in_array($decorationOnInvalid, [\RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerInterface::IGNORE_ON_INVALID_REFERENCE, \RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerInterface::NULL_ON_INVALID_REFERENCE], \true)) { - $invalidBehavior = \RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerInterface::NULL_ON_INVALID_REFERENCE === $decorationOnInvalid ? 'null' : 'ignore'; + $decorationOnInvalid = $decoratedService[3] ?? \RectorPrefix20220520\Symfony\Component\DependencyInjection\ContainerInterface::EXCEPTION_ON_INVALID_REFERENCE; + if (\in_array($decorationOnInvalid, [\RectorPrefix20220520\Symfony\Component\DependencyInjection\ContainerInterface::IGNORE_ON_INVALID_REFERENCE, \RectorPrefix20220520\Symfony\Component\DependencyInjection\ContainerInterface::NULL_ON_INVALID_REFERENCE], \true)) { + $invalidBehavior = \RectorPrefix20220520\Symfony\Component\DependencyInjection\ContainerInterface::NULL_ON_INVALID_REFERENCE === $decorationOnInvalid ? 'null' : 'ignore'; $service->setAttribute('decoration-on-invalid', $invalidBehavior); } if (null !== $renamedId) { @@ -145,12 +145,12 @@ class XmlDumper extends \RectorPrefix20220519\Symfony\Component\DependencyInject $this->addMethodCalls($definition->getMethodCalls(), $service); if ($callable = $definition->getFactory()) { $factory = $this->document->createElement('factory'); - if (\is_array($callable) && $callable[0] instanceof \RectorPrefix20220519\Symfony\Component\DependencyInjection\Definition) { + if (\is_array($callable) && $callable[0] instanceof \RectorPrefix20220520\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 \RectorPrefix20220519\Symfony\Component\DependencyInjection\Reference ? 'service' : 'class', $callable[0]); + $factory->setAttribute($callable[0] instanceof \RectorPrefix20220520\Symfony\Component\DependencyInjection\Reference ? 'service' : 'class', $callable[0]); } $factory->setAttribute('method', $callable[1]); } else { @@ -177,11 +177,11 @@ class XmlDumper extends \RectorPrefix20220519\Symfony\Component\DependencyInject } if ($callable = $definition->getConfigurator()) { $configurator = $this->document->createElement('configurator'); - if (\is_array($callable) && $callable[0] instanceof \RectorPrefix20220519\Symfony\Component\DependencyInjection\Definition) { + if (\is_array($callable) && $callable[0] instanceof \RectorPrefix20220520\Symfony\Component\DependencyInjection\Definition) { $this->addService($callable[0], null, $configurator); $configurator->setAttribute('method', $callable[1]); } elseif (\is_array($callable)) { - $configurator->setAttribute($callable[0] instanceof \RectorPrefix20220519\Symfony\Component\DependencyInjection\Reference ? 'service' : 'class', $callable[0]); + $configurator->setAttribute($callable[0] instanceof \RectorPrefix20220520\Symfony\Component\DependencyInjection\Reference ? 'service' : 'class', $callable[0]); $configurator->setAttribute('method', $callable[1]); } else { $configurator->setAttribute('function', $callable); @@ -190,7 +190,7 @@ class XmlDumper extends \RectorPrefix20220519\Symfony\Component\DependencyInject } $parent->appendChild($service); } - private function addServiceAlias(string $alias, \RectorPrefix20220519\Symfony\Component\DependencyInjection\Alias $id, \DOMElement $parent) + private function addServiceAlias(string $alias, \RectorPrefix20220520\Symfony\Component\DependencyInjection\Alias $id, \DOMElement $parent) { $service = $this->document->createElement('service'); $service->setAttribute('id', $alias); @@ -230,7 +230,7 @@ class XmlDumper extends \RectorPrefix20220519\Symfony\Component\DependencyInject private function convertParameters(array $parameters, string $type, \DOMElement $parent, string $keyAttribute = 'key') { $arrayIsList = function (array $array) : bool { - if (\function_exists('RectorPrefix20220519\\array_is_list')) { + if (\function_exists('RectorPrefix20220520\\array_is_list')) { return array_is_list($array); } if ($array === []) { @@ -254,8 +254,8 @@ class XmlDumper extends \RectorPrefix20220519\Symfony\Component\DependencyInject if (\is_array($tag = $value)) { $element->setAttribute('type', 'collection'); $this->convertParameters($value, $type, $element, 'key'); - } elseif ($value instanceof \RectorPrefix20220519\Symfony\Component\DependencyInjection\Argument\TaggedIteratorArgument || $value instanceof \RectorPrefix20220519\Symfony\Component\DependencyInjection\Argument\ServiceLocatorArgument && ($tag = $value->getTaggedIteratorArgument())) { - $element->setAttribute('type', $value instanceof \RectorPrefix20220519\Symfony\Component\DependencyInjection\Argument\TaggedIteratorArgument ? 'tagged_iterator' : 'tagged_locator'); + } elseif ($value instanceof \RectorPrefix20220520\Symfony\Component\DependencyInjection\Argument\TaggedIteratorArgument || $value instanceof \RectorPrefix20220520\Symfony\Component\DependencyInjection\Argument\ServiceLocatorArgument && ($tag = $value->getTaggedIteratorArgument())) { + $element->setAttribute('type', $value instanceof \RectorPrefix20220520\Symfony\Component\DependencyInjection\Argument\TaggedIteratorArgument ? 'tagged_iterator' : 'tagged_locator'); $element->setAttribute('tag', $tag->getTag()); if (null !== $tag->getIndexAttribute()) { $element->setAttribute('index-by', $tag->getIndexAttribute()); @@ -266,31 +266,31 @@ class XmlDumper extends \RectorPrefix20220519\Symfony\Component\DependencyInject $element->setAttribute('default-priority-method', $tag->getDefaultPriorityMethod()); } } - } elseif ($value instanceof \RectorPrefix20220519\Symfony\Component\DependencyInjection\Argument\IteratorArgument) { + } elseif ($value instanceof \RectorPrefix20220520\Symfony\Component\DependencyInjection\Argument\IteratorArgument) { $element->setAttribute('type', 'iterator'); $this->convertParameters($value->getValues(), $type, $element, 'key'); - } elseif ($value instanceof \RectorPrefix20220519\Symfony\Component\DependencyInjection\Argument\ServiceLocatorArgument) { + } elseif ($value instanceof \RectorPrefix20220520\Symfony\Component\DependencyInjection\Argument\ServiceLocatorArgument) { $element->setAttribute('type', 'service_locator'); $this->convertParameters($value->getValues(), $type, $element, 'key'); - } elseif ($value instanceof \RectorPrefix20220519\Symfony\Component\DependencyInjection\Reference || $value instanceof \RectorPrefix20220519\Symfony\Component\DependencyInjection\Argument\ServiceClosureArgument) { + } elseif ($value instanceof \RectorPrefix20220520\Symfony\Component\DependencyInjection\Reference || $value instanceof \RectorPrefix20220520\Symfony\Component\DependencyInjection\Argument\ServiceClosureArgument) { $element->setAttribute('type', 'service'); - if ($value instanceof \RectorPrefix20220519\Symfony\Component\DependencyInjection\Argument\ServiceClosureArgument) { + if ($value instanceof \RectorPrefix20220520\Symfony\Component\DependencyInjection\Argument\ServiceClosureArgument) { $element->setAttribute('type', 'service_closure'); $value = $value->getValues()[0]; } $element->setAttribute('id', (string) $value); $behavior = $value->getInvalidBehavior(); - if (\RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerInterface::NULL_ON_INVALID_REFERENCE == $behavior) { + if (\RectorPrefix20220520\Symfony\Component\DependencyInjection\ContainerInterface::NULL_ON_INVALID_REFERENCE == $behavior) { $element->setAttribute('on-invalid', 'null'); - } elseif (\RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerInterface::IGNORE_ON_INVALID_REFERENCE == $behavior) { + } elseif (\RectorPrefix20220520\Symfony\Component\DependencyInjection\ContainerInterface::IGNORE_ON_INVALID_REFERENCE == $behavior) { $element->setAttribute('on-invalid', 'ignore'); - } elseif (\RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerInterface::IGNORE_ON_UNINITIALIZED_REFERENCE == $behavior) { + } elseif (\RectorPrefix20220520\Symfony\Component\DependencyInjection\ContainerInterface::IGNORE_ON_UNINITIALIZED_REFERENCE == $behavior) { $element->setAttribute('on-invalid', 'ignore_uninitialized'); } - } elseif ($value instanceof \RectorPrefix20220519\Symfony\Component\DependencyInjection\Definition) { + } elseif ($value instanceof \RectorPrefix20220520\Symfony\Component\DependencyInjection\Definition) { $element->setAttribute('type', 'service'); $this->addService($value, null, $element); - } elseif ($value instanceof \RectorPrefix20220519\Symfony\Component\ExpressionLanguage\Expression) { + } elseif ($value instanceof \RectorPrefix20220520\Symfony\Component\ExpressionLanguage\Expression) { $element->setAttribute('type', 'expression'); $text = $this->document->createTextNode(self::phpToXml((string) $value)); $element->appendChild($text); @@ -298,10 +298,10 @@ class XmlDumper extends \RectorPrefix20220519\Symfony\Component\DependencyInject $element->setAttribute('type', 'binary'); $text = $this->document->createTextNode(self::phpToXml(\base64_encode($value))); $element->appendChild($text); - } elseif ($value instanceof \RectorPrefix20220519\UnitEnum) { + } elseif ($value instanceof \RectorPrefix20220520\UnitEnum) { $element->setAttribute('type', 'constant'); $element->appendChild($this->document->createTextNode(self::phpToXml($value))); - } elseif ($value instanceof \RectorPrefix20220519\Symfony\Component\DependencyInjection\Argument\AbstractArgument) { + } elseif ($value instanceof \RectorPrefix20220520\Symfony\Component\DependencyInjection\Argument\AbstractArgument) { $element->setAttribute('type', 'abstract'); $text = $this->document->createTextNode(self::phpToXml($value->getText())); $element->appendChild($text); @@ -350,12 +350,12 @@ class XmlDumper extends \RectorPrefix20220519\Symfony\Component\DependencyInject return 'true'; case \false === $value: return 'false'; - case $value instanceof \RectorPrefix20220519\Symfony\Component\DependencyInjection\Parameter: + case $value instanceof \RectorPrefix20220520\Symfony\Component\DependencyInjection\Parameter: return '%' . $value . '%'; - case $value instanceof \RectorPrefix20220519\UnitEnum: + case $value instanceof \RectorPrefix20220520\UnitEnum: return \sprintf('%s::%s', \get_class($value), $value->name); case \is_object($value) || \is_resource($value): - throw new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\RuntimeException('Unable to dump a service container if a parameter is an object or a resource.'); + throw new \RectorPrefix20220520\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 84a2d931d9a..9daa915eabe 100644 --- a/vendor/symfony/dependency-injection/Dumper/YamlDumper.php +++ b/vendor/symfony/dependency-injection/Dumper/YamlDumper.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 RectorPrefix20220519\Symfony\Component\DependencyInjection\Dumper; +namespace RectorPrefix20220520\Symfony\Component\DependencyInjection\Dumper; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Alias; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Argument\AbstractArgument; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Argument\ArgumentInterface; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Argument\IteratorArgument; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Argument\ServiceClosureArgument; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Argument\ServiceLocatorArgument; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Argument\TaggedIteratorArgument; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerInterface; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Definition; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\LogicException; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\RuntimeException; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Parameter; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Reference; -use RectorPrefix20220519\Symfony\Component\ExpressionLanguage\Expression; -use RectorPrefix20220519\Symfony\Component\Yaml\Dumper as YmlDumper; -use RectorPrefix20220519\Symfony\Component\Yaml\Parser; -use RectorPrefix20220519\Symfony\Component\Yaml\Tag\TaggedValue; -use RectorPrefix20220519\Symfony\Component\Yaml\Yaml; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Alias; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Argument\AbstractArgument; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Argument\ArgumentInterface; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Argument\IteratorArgument; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Argument\ServiceClosureArgument; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Argument\ServiceLocatorArgument; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Argument\TaggedIteratorArgument; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\ContainerInterface; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Definition; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\LogicException; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\RuntimeException; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Parameter; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Reference; +use RectorPrefix20220520\Symfony\Component\ExpressionLanguage\Expression; +use RectorPrefix20220520\Symfony\Component\Yaml\Dumper as YmlDumper; +use RectorPrefix20220520\Symfony\Component\Yaml\Parser; +use RectorPrefix20220520\Symfony\Component\Yaml\Tag\TaggedValue; +use RectorPrefix20220520\Symfony\Component\Yaml\Yaml; /** * YamlDumper dumps a service container as a YAML string. * * @author Fabien Potencier */ -class YamlDumper extends \RectorPrefix20220519\Symfony\Component\DependencyInjection\Dumper\Dumper +class YamlDumper extends \RectorPrefix20220520\Symfony\Component\DependencyInjection\Dumper\Dumper { private $dumper; /** @@ -41,13 +41,13 @@ class YamlDumper extends \RectorPrefix20220519\Symfony\Component\DependencyInjec */ public function dump(array $options = []) : string { - if (!\class_exists(\RectorPrefix20220519\Symfony\Component\Yaml\Dumper::class)) { - throw new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\LogicException('Unable to dump the container as the Symfony Yaml Component is not installed.'); + if (!\class_exists(\RectorPrefix20220520\Symfony\Component\Yaml\Dumper::class)) { + throw new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\LogicException('Unable to dump the container as the Symfony Yaml Component is not installed.'); } - $this->dumper = $this->dumper ?? new \RectorPrefix20220519\Symfony\Component\Yaml\Dumper(); + $this->dumper = $this->dumper ?? new \RectorPrefix20220520\Symfony\Component\Yaml\Dumper(); return $this->container->resolveEnvPlaceholders($this->addParameters() . "\n" . $this->addServices()); } - private function addService(string $id, \RectorPrefix20220519\Symfony\Component\DependencyInjection\Definition $definition) : string + private function addService(string $id, \RectorPrefix20220520\Symfony\Component\DependencyInjection\Definition $definition) : string { $code = " {$id}:\n"; if ($class = $definition->getClass()) { @@ -120,9 +120,9 @@ class YamlDumper extends \RectorPrefix20220519\Symfony\Component\DependencyInjec if (0 !== $priority) { $code .= \sprintf(" decoration_priority: %s\n", $priority); } - $decorationOnInvalid = $decoratedService[3] ?? \RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerInterface::EXCEPTION_ON_INVALID_REFERENCE; - if (\in_array($decorationOnInvalid, [\RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerInterface::IGNORE_ON_INVALID_REFERENCE, \RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerInterface::NULL_ON_INVALID_REFERENCE])) { - $invalidBehavior = \RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerInterface::NULL_ON_INVALID_REFERENCE === $decorationOnInvalid ? 'null' : 'ignore'; + $decorationOnInvalid = $decoratedService[3] ?? \RectorPrefix20220520\Symfony\Component\DependencyInjection\ContainerInterface::EXCEPTION_ON_INVALID_REFERENCE; + if (\in_array($decorationOnInvalid, [\RectorPrefix20220520\Symfony\Component\DependencyInjection\ContainerInterface::IGNORE_ON_INVALID_REFERENCE, \RectorPrefix20220520\Symfony\Component\DependencyInjection\ContainerInterface::NULL_ON_INVALID_REFERENCE])) { + $invalidBehavior = \RectorPrefix20220520\Symfony\Component\DependencyInjection\ContainerInterface::NULL_ON_INVALID_REFERENCE === $decorationOnInvalid ? 'null' : 'ignore'; $code .= \sprintf(" decoration_on_invalid: %s\n", $invalidBehavior); } } @@ -134,7 +134,7 @@ class YamlDumper extends \RectorPrefix20220519\Symfony\Component\DependencyInjec } return $code; } - private function addServiceAlias(string $alias, \RectorPrefix20220519\Symfony\Component\DependencyInjection\Alias $id) : string + private function addServiceAlias(string $alias, \RectorPrefix20220520\Symfony\Component\DependencyInjection\Alias $id) : string { $deprecated = ''; if ($id->isDeprecated()) { @@ -187,7 +187,7 @@ class YamlDumper extends \RectorPrefix20220519\Symfony\Component\DependencyInjec private function dumpCallable($callable) { if (\is_array($callable)) { - if ($callable[0] instanceof \RectorPrefix20220519\Symfony\Component\DependencyInjection\Reference) { + if ($callable[0] instanceof \RectorPrefix20220520\Symfony\Component\DependencyInjection\Reference) { $callable = [$this->getServiceCall((string) $callable[0], $callable[0]), $callable[1]]; } else { $callable = [$callable[0], $callable[1]]; @@ -204,13 +204,13 @@ class YamlDumper extends \RectorPrefix20220519\Symfony\Component\DependencyInjec */ private function dumpValue($value) { - if ($value instanceof \RectorPrefix20220519\Symfony\Component\DependencyInjection\Argument\ServiceClosureArgument) { + if ($value instanceof \RectorPrefix20220520\Symfony\Component\DependencyInjection\Argument\ServiceClosureArgument) { $value = $value->getValues()[0]; - return new \RectorPrefix20220519\Symfony\Component\Yaml\Tag\TaggedValue('service_closure', $this->getServiceCall((string) $value, $value)); + return new \RectorPrefix20220520\Symfony\Component\Yaml\Tag\TaggedValue('service_closure', $this->getServiceCall((string) $value, $value)); } - if ($value instanceof \RectorPrefix20220519\Symfony\Component\DependencyInjection\Argument\ArgumentInterface) { + if ($value instanceof \RectorPrefix20220520\Symfony\Component\DependencyInjection\Argument\ArgumentInterface) { $tag = $value; - if ($value instanceof \RectorPrefix20220519\Symfony\Component\DependencyInjection\Argument\TaggedIteratorArgument || $value instanceof \RectorPrefix20220519\Symfony\Component\DependencyInjection\Argument\ServiceLocatorArgument && ($tag = $value->getTaggedIteratorArgument())) { + if ($value instanceof \RectorPrefix20220520\Symfony\Component\DependencyInjection\Argument\TaggedIteratorArgument || $value instanceof \RectorPrefix20220520\Symfony\Component\DependencyInjection\Argument\ServiceLocatorArgument && ($tag = $value->getTaggedIteratorArgument())) { if (null === $tag->getIndexAttribute()) { $content = $tag->getTag(); } else { @@ -222,16 +222,16 @@ class YamlDumper extends \RectorPrefix20220519\Symfony\Component\DependencyInjec $content['default_priority_method'] = $tag->getDefaultPriorityMethod(); } } - return new \RectorPrefix20220519\Symfony\Component\Yaml\Tag\TaggedValue($value instanceof \RectorPrefix20220519\Symfony\Component\DependencyInjection\Argument\TaggedIteratorArgument ? 'tagged_iterator' : 'tagged_locator', $content); + return new \RectorPrefix20220520\Symfony\Component\Yaml\Tag\TaggedValue($value instanceof \RectorPrefix20220520\Symfony\Component\DependencyInjection\Argument\TaggedIteratorArgument ? 'tagged_iterator' : 'tagged_locator', $content); } - if ($value instanceof \RectorPrefix20220519\Symfony\Component\DependencyInjection\Argument\IteratorArgument) { + if ($value instanceof \RectorPrefix20220520\Symfony\Component\DependencyInjection\Argument\IteratorArgument) { $tag = 'iterator'; - } elseif ($value instanceof \RectorPrefix20220519\Symfony\Component\DependencyInjection\Argument\ServiceLocatorArgument) { + } elseif ($value instanceof \RectorPrefix20220520\Symfony\Component\DependencyInjection\Argument\ServiceLocatorArgument) { $tag = 'service_locator'; } else { - throw new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\RuntimeException(\sprintf('Unspecified Yaml tag for type "%s".', \get_debug_type($value))); + throw new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\RuntimeException(\sprintf('Unspecified Yaml tag for type "%s".', \get_debug_type($value))); } - return new \RectorPrefix20220519\Symfony\Component\Yaml\Tag\TaggedValue($tag, $this->dumpValue($value->getValues())); + return new \RectorPrefix20220520\Symfony\Component\Yaml\Tag\TaggedValue($tag, $this->dumpValue($value->getValues())); } if (\is_array($value)) { $code = []; @@ -239,32 +239,32 @@ class YamlDumper extends \RectorPrefix20220519\Symfony\Component\DependencyInjec $code[$k] = $this->dumpValue($v); } return $code; - } elseif ($value instanceof \RectorPrefix20220519\Symfony\Component\DependencyInjection\Reference) { + } elseif ($value instanceof \RectorPrefix20220520\Symfony\Component\DependencyInjection\Reference) { return $this->getServiceCall((string) $value, $value); - } elseif ($value instanceof \RectorPrefix20220519\Symfony\Component\DependencyInjection\Parameter) { + } elseif ($value instanceof \RectorPrefix20220520\Symfony\Component\DependencyInjection\Parameter) { return $this->getParameterCall((string) $value); - } elseif ($value instanceof \RectorPrefix20220519\Symfony\Component\ExpressionLanguage\Expression) { + } elseif ($value instanceof \RectorPrefix20220520\Symfony\Component\ExpressionLanguage\Expression) { return $this->getExpressionCall((string) $value); - } elseif ($value instanceof \RectorPrefix20220519\Symfony\Component\DependencyInjection\Definition) { - return new \RectorPrefix20220519\Symfony\Component\Yaml\Tag\TaggedValue('service', (new \RectorPrefix20220519\Symfony\Component\Yaml\Parser())->parse("_:\n" . $this->addService('_', $value), \RectorPrefix20220519\Symfony\Component\Yaml\Yaml::PARSE_CUSTOM_TAGS)['_']['_']); - } elseif ($value instanceof \RectorPrefix20220519\UnitEnum) { - return new \RectorPrefix20220519\Symfony\Component\Yaml\Tag\TaggedValue('php/const', \sprintf('%s::%s', \get_class($value), $value->name)); - } elseif ($value instanceof \RectorPrefix20220519\Symfony\Component\DependencyInjection\Argument\AbstractArgument) { - return new \RectorPrefix20220519\Symfony\Component\Yaml\Tag\TaggedValue('abstract', $value->getText()); + } elseif ($value instanceof \RectorPrefix20220520\Symfony\Component\DependencyInjection\Definition) { + return new \RectorPrefix20220520\Symfony\Component\Yaml\Tag\TaggedValue('service', (new \RectorPrefix20220520\Symfony\Component\Yaml\Parser())->parse("_:\n" . $this->addService('_', $value), \RectorPrefix20220520\Symfony\Component\Yaml\Yaml::PARSE_CUSTOM_TAGS)['_']['_']); + } elseif ($value instanceof \RectorPrefix20220520\UnitEnum) { + return new \RectorPrefix20220520\Symfony\Component\Yaml\Tag\TaggedValue('php/const', \sprintf('%s::%s', \get_class($value), $value->name)); + } elseif ($value instanceof \RectorPrefix20220520\Symfony\Component\DependencyInjection\Argument\AbstractArgument) { + return new \RectorPrefix20220520\Symfony\Component\Yaml\Tag\TaggedValue('abstract', $value->getText()); } elseif (\is_object($value) || \is_resource($value)) { - throw new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\RuntimeException('Unable to dump a service container if a parameter is an object or a resource.'); + throw new \RectorPrefix20220520\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, \RectorPrefix20220519\Symfony\Component\DependencyInjection\Reference $reference = null) : string + private function getServiceCall(string $id, \RectorPrefix20220520\Symfony\Component\DependencyInjection\Reference $reference = null) : string { if (null !== $reference) { switch ($reference->getInvalidBehavior()) { - case \RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerInterface::RUNTIME_EXCEPTION_ON_INVALID_REFERENCE: + case \RectorPrefix20220520\Symfony\Component\DependencyInjection\ContainerInterface::RUNTIME_EXCEPTION_ON_INVALID_REFERENCE: break; - case \RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerInterface::EXCEPTION_ON_INVALID_REFERENCE: + case \RectorPrefix20220520\Symfony\Component\DependencyInjection\ContainerInterface::EXCEPTION_ON_INVALID_REFERENCE: break; - case \RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerInterface::IGNORE_ON_UNINITIALIZED_REFERENCE: + case \RectorPrefix20220520\Symfony\Component\DependencyInjection\ContainerInterface::IGNORE_ON_UNINITIALIZED_REFERENCE: return \sprintf('@!%s', $id); default: return \sprintf('@?%s', $id); @@ -286,7 +286,7 @@ class YamlDumper extends \RectorPrefix20220519\Symfony\Component\DependencyInjec foreach ($parameters as $key => $value) { if (\is_array($value)) { $value = $this->prepareParameters($value, $escape); - } elseif ($value instanceof \RectorPrefix20220519\Symfony\Component\DependencyInjection\Reference || \is_string($value) && \strncmp($value, '@', \strlen('@')) === 0) { + } elseif ($value instanceof \RectorPrefix20220520\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 7d089900ed9..0b19a7f9ea5 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 RectorPrefix20220519\Symfony\Component\DependencyInjection; +namespace RectorPrefix20220520\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 96ca6f2670c..4ac49cae717 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 RectorPrefix20220519\Symfony\Component\DependencyInjection; +namespace RectorPrefix20220520\Symfony\Component\DependencyInjection; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\EnvNotFoundException; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\ParameterCircularReferenceException; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\RuntimeException; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\EnvNotFoundException; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\ParameterCircularReferenceException; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\RuntimeException; /** * @author Nicolas Grekas */ -class EnvVarProcessor implements \RectorPrefix20220519\Symfony\Component\DependencyInjection\EnvVarProcessorInterface +class EnvVarProcessor implements \RectorPrefix20220520\Symfony\Component\DependencyInjection\EnvVarProcessorInterface { private $container; /** @@ -30,7 +30,7 @@ class EnvVarProcessor implements \RectorPrefix20220519\Symfony\Component\Depende /** * @param EnvVarLoaderInterface[] $loaders */ - public function __construct(\RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerInterface $container, \Traversable $loaders = null) + public function __construct(\RectorPrefix20220520\Symfony\Component\DependencyInjection\ContainerInterface $container, \Traversable $loaders = null) { $this->container = $container; $this->loaders = $loaders ?? new \ArrayIterator(); @@ -51,44 +51,44 @@ class EnvVarProcessor implements \RectorPrefix20220519\Symfony\Component\Depende $i = \strpos($name, ':'); if ('key' === $prefix) { if (\false === $i) { - throw new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\RuntimeException(\sprintf('Invalid env "key:%s": a key specifier should be provided.', $name)); + throw new \RectorPrefix20220520\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 \RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\RuntimeException(\sprintf('Resolved value of "%s" did not result in an array value.', $next)); + throw new \RectorPrefix20220520\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 \RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\EnvNotFoundException(\sprintf('Key "%s" not found in %s (resolved from "%s").', $key, \json_encode($array), $next)); + throw new \RectorPrefix20220520\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 \RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\RuntimeException(\sprintf('Invalid env "default:%s": a fallback parameter should be provided.', $name)); + throw new \RectorPrefix20220520\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 \RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\RuntimeException(\sprintf('Invalid env fallback in "default:%s": parameter "%s" not found.', $name, $default)); + throw new \RectorPrefix20220520\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 (\RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\EnvNotFoundException $e) { + } catch (\RectorPrefix20220520\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 \RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\RuntimeException(\sprintf('Invalid file name: env var "%s" is non-scalar.', $name)); + throw new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\RuntimeException(\sprintf('Invalid file name: env var "%s" is non-scalar.', $name)); } if (!\is_file($file)) { - throw new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\EnvNotFoundException(\sprintf('File "%s" not found (resolved from "%s").', $file, $name)); + throw new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\EnvNotFoundException(\sprintf('File "%s" not found (resolved from "%s").', $file, $name)); } if ('file' === $prefix) { return \file_get_contents($file); @@ -129,7 +129,7 @@ class EnvVarProcessor implements \RectorPrefix20220519\Symfony\Component\Depende if ($ended || $count === $i) { $loaders = $this->loaders; } - } catch (\RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\ParameterCircularReferenceException $e) { + } catch (\RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\ParameterCircularReferenceException $e) { // skip loaders that need an env var that is not defined } finally { $this->loaders = $loaders; @@ -137,19 +137,19 @@ class EnvVarProcessor implements \RectorPrefix20220519\Symfony\Component\Depende } if (\false === $env || null === $env) { if (!$this->container->hasParameter("env({$name})")) { - throw new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\EnvNotFoundException(\sprintf('Environment variable not found: "%s".', $name)); + throw new \RectorPrefix20220520\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 \RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\RuntimeException(\sprintf('Unsupported env var prefix "%s".', $prefix)); + throw new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\RuntimeException(\sprintf('Unsupported env var prefix "%s".', $prefix)); } return null; } if (!\is_scalar($env)) { - throw new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\RuntimeException(\sprintf('Non-scalar env var "%s" cannot be cast to "%s".', $name, $prefix)); + throw new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\RuntimeException(\sprintf('Non-scalar env var "%s" cannot be cast to "%s".', $name, $prefix)); } if ('string' === $prefix) { return (string) $env; @@ -160,19 +160,19 @@ class EnvVarProcessor implements \RectorPrefix20220519\Symfony\Component\Depende } if ('int' === $prefix) { if (\false === ($env = \filter_var($env, \FILTER_VALIDATE_INT) ?: \filter_var($env, \FILTER_VALIDATE_FLOAT))) { - throw new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\RuntimeException(\sprintf('Non-numeric env var "%s" cannot be cast to int.', $name)); + throw new \RectorPrefix20220520\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 \RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\RuntimeException(\sprintf('Non-numeric env var "%s" cannot be cast to float.', $name)); + throw new \RectorPrefix20220520\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 \RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\RuntimeException(\sprintf('Env var "%s" maps to undefined constant "%s".', $name, $env)); + throw new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\RuntimeException(\sprintf('Env var "%s" maps to undefined constant "%s".', $name, $env)); } return \constant($env); } @@ -182,20 +182,20 @@ class EnvVarProcessor implements \RectorPrefix20220519\Symfony\Component\Depende if ('json' === $prefix) { $env = \json_decode($env, \true); if (\JSON_ERROR_NONE !== \json_last_error()) { - throw new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\RuntimeException(\sprintf('Invalid JSON in env var "%s": ', $name) . \json_last_error_msg()); + throw new \RectorPrefix20220520\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 \RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\RuntimeException(\sprintf('Invalid JSON env var "%s": array or null expected, "%s" given.', $name, \get_debug_type($env))); + throw new \RectorPrefix20220520\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 \RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\RuntimeException(\sprintf('Invalid URL in env var "%s".', $name)); + throw new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\RuntimeException(\sprintf('Invalid URL in env var "%s".', $name)); } if (!isset($parsedEnv['scheme'], $parsedEnv['host'])) { - throw new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\RuntimeException(\sprintf('Invalid URL env var "%s": schema and host expected, "%s" given.', $name, $env)); + throw new \RectorPrefix20220520\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 @@ -218,7 +218,7 @@ class EnvVarProcessor implements \RectorPrefix20220519\Symfony\Component\Depende $value = $this->container->getParameter($match[1]); } if (!\is_scalar($value)) { - throw new \RectorPrefix20220519\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 \RectorPrefix20220520\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); @@ -229,6 +229,6 @@ class EnvVarProcessor implements \RectorPrefix20220519\Symfony\Component\Depende if ('trim' === $prefix) { return \trim($env); } - throw new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\RuntimeException(\sprintf('Unsupported env var prefix "%s" for env name "%s".', $prefix, $name)); + throw new \RectorPrefix20220520\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 a4fdfa0757b..48efd47f030 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 RectorPrefix20220519\Symfony\Component\DependencyInjection; +namespace RectorPrefix20220520\Symfony\Component\DependencyInjection; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\RuntimeException; +use RectorPrefix20220520\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 fa851f51d90..05cc5e148cb 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 RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception; +namespace RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception; /** * Thrown when a definition cannot be autowired. */ -class AutowiringFailedException extends \RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\RuntimeException +class AutowiringFailedException extends \RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\RuntimeException { /** * @var string diff --git a/vendor/symfony/dependency-injection/Exception/BadMethodCallException.php b/vendor/symfony/dependency-injection/Exception/BadMethodCallException.php index c21163809a9..bdf364053dc 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 RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception; +namespace RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception; /** * Base BadMethodCallException for Dependency Injection component. */ -class BadMethodCallException extends \BadMethodCallException implements \RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\ExceptionInterface +class BadMethodCallException extends \BadMethodCallException implements \RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\ExceptionInterface { } diff --git a/vendor/symfony/dependency-injection/Exception/EnvNotFoundException.php b/vendor/symfony/dependency-injection/Exception/EnvNotFoundException.php index 3f8c76cc6d6..5340bec61e9 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 RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception; +namespace RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception; /** * This exception is thrown when an environment variable is not found. * * @author Nicolas Grekas */ -class EnvNotFoundException extends \RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException +class EnvNotFoundException extends \RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException { } diff --git a/vendor/symfony/dependency-injection/Exception/EnvParameterException.php b/vendor/symfony/dependency-injection/Exception/EnvParameterException.php index 3a14aff4c20..38a2617ddae 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 RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception; +namespace RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception; /** * This exception wraps exceptions whose messages contain a reference to an env parameter. * * @author Nicolas Grekas */ -class EnvParameterException extends \RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException +class EnvParameterException extends \RectorPrefix20220520\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 a8df8df855e..9631b2db85e 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 RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception; +namespace RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception; -use RectorPrefix20220519\Psr\Container\ContainerExceptionInterface; +use RectorPrefix20220520\Psr\Container\ContainerExceptionInterface; /** * Base ExceptionInterface for Dependency Injection component. * * @author Fabien Potencier * @author Bulat Shakirzyanov */ -interface ExceptionInterface extends \RectorPrefix20220519\Psr\Container\ContainerExceptionInterface +interface ExceptionInterface extends \RectorPrefix20220520\Psr\Container\ContainerExceptionInterface { } diff --git a/vendor/symfony/dependency-injection/Exception/InvalidArgumentException.php b/vendor/symfony/dependency-injection/Exception/InvalidArgumentException.php index 70c59f84220..d137ad3962c 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 RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception; +namespace RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception; /** * Base InvalidArgumentException for Dependency Injection component. * * @author Bulat Shakirzyanov */ -class InvalidArgumentException extends \InvalidArgumentException implements \RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\ExceptionInterface +class InvalidArgumentException extends \InvalidArgumentException implements \RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\ExceptionInterface { } diff --git a/vendor/symfony/dependency-injection/Exception/InvalidParameterTypeException.php b/vendor/symfony/dependency-injection/Exception/InvalidParameterTypeException.php index a55f4c6800e..991aa8df2a2 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 RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception; +namespace RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception; /** * Thrown when trying to inject a parameter into a constructor/method with an incompatible type. @@ -16,7 +16,7 @@ namespace RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception; * @author Nicolas Grekas * @author Julien Maulny */ -class InvalidParameterTypeException extends \RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException +class InvalidParameterTypeException extends \RectorPrefix20220520\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 677a6ed75d7..ba579922078 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 RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception; +namespace RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception; /** * Base LogicException for Dependency Injection component. */ -class LogicException extends \LogicException implements \RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\ExceptionInterface +class LogicException extends \LogicException implements \RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\ExceptionInterface { } diff --git a/vendor/symfony/dependency-injection/Exception/OutOfBoundsException.php b/vendor/symfony/dependency-injection/Exception/OutOfBoundsException.php index a94a8268245..955a3a1bfdd 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 RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception; +namespace RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception; /** * Base OutOfBoundsException for Dependency Injection component. */ -class OutOfBoundsException extends \OutOfBoundsException implements \RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\ExceptionInterface +class OutOfBoundsException extends \OutOfBoundsException implements \RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\ExceptionInterface { } diff --git a/vendor/symfony/dependency-injection/Exception/ParameterCircularReferenceException.php b/vendor/symfony/dependency-injection/Exception/ParameterCircularReferenceException.php index 9f9237bc297..7e32ded3021 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 RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception; +namespace RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception; /** * This exception is thrown when a circular reference in a parameter is detected. * * @author Fabien Potencier */ -class ParameterCircularReferenceException extends \RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\RuntimeException +class ParameterCircularReferenceException extends \RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\RuntimeException { /** * @var mixed[] diff --git a/vendor/symfony/dependency-injection/Exception/ParameterNotFoundException.php b/vendor/symfony/dependency-injection/Exception/ParameterNotFoundException.php index 8374e0eec67..25610b92ce0 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 RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception; +namespace RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception; -use RectorPrefix20220519\Psr\Container\NotFoundExceptionInterface; +use RectorPrefix20220520\Psr\Container\NotFoundExceptionInterface; /** * This exception is thrown when a non-existent parameter is used. * * @author Fabien Potencier */ -class ParameterNotFoundException extends \RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException implements \RectorPrefix20220519\Psr\Container\NotFoundExceptionInterface +class ParameterNotFoundException extends \RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException implements \RectorPrefix20220520\Psr\Container\NotFoundExceptionInterface { /** * @var string diff --git a/vendor/symfony/dependency-injection/Exception/RuntimeException.php b/vendor/symfony/dependency-injection/Exception/RuntimeException.php index 10f736de2d8..8a3900fc6ce 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 RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception; +namespace RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception; /** * Base RuntimeException for Dependency Injection component. * * @author Johannes M. Schmitt */ -class RuntimeException extends \RuntimeException implements \RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\ExceptionInterface +class RuntimeException extends \RuntimeException implements \RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\ExceptionInterface { } diff --git a/vendor/symfony/dependency-injection/Exception/ServiceCircularReferenceException.php b/vendor/symfony/dependency-injection/Exception/ServiceCircularReferenceException.php index b6fb8a1fceb..45ce538cc6c 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 RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception; +namespace RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception; /** * This exception is thrown when a circular reference is detected. * * @author Johannes M. Schmitt */ -class ServiceCircularReferenceException extends \RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\RuntimeException +class ServiceCircularReferenceException extends \RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\RuntimeException { /** * @var string diff --git a/vendor/symfony/dependency-injection/Exception/ServiceNotFoundException.php b/vendor/symfony/dependency-injection/Exception/ServiceNotFoundException.php index e1aaa2c9b43..12dd903c5da 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 RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception; +namespace RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception; -use RectorPrefix20220519\Psr\Container\NotFoundExceptionInterface; +use RectorPrefix20220520\Psr\Container\NotFoundExceptionInterface; /** * This exception is thrown when a non-existent service is requested. * * @author Johannes M. Schmitt */ -class ServiceNotFoundException extends \RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException implements \RectorPrefix20220519\Psr\Container\NotFoundExceptionInterface +class ServiceNotFoundException extends \RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException implements \RectorPrefix20220520\Psr\Container\NotFoundExceptionInterface { /** * @var string diff --git a/vendor/symfony/dependency-injection/ExpressionLanguage.php b/vendor/symfony/dependency-injection/ExpressionLanguage.php index ba958f0f944..5d6586722e0 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 RectorPrefix20220519\Symfony\Component\DependencyInjection; +namespace RectorPrefix20220520\Symfony\Component\DependencyInjection; -use RectorPrefix20220519\Psr\Cache\CacheItemPoolInterface; -use RectorPrefix20220519\Symfony\Component\ExpressionLanguage\ExpressionLanguage as BaseExpressionLanguage; -if (!\class_exists(\RectorPrefix20220519\Symfony\Component\ExpressionLanguage\ExpressionLanguage::class)) { +use RectorPrefix20220520\Psr\Cache\CacheItemPoolInterface; +use RectorPrefix20220520\Symfony\Component\ExpressionLanguage\ExpressionLanguage as BaseExpressionLanguage; +if (!\class_exists(\RectorPrefix20220520\Symfony\Component\ExpressionLanguage\ExpressionLanguage::class)) { return; } /** @@ -22,15 +22,15 @@ if (!\class_exists(\RectorPrefix20220519\Symfony\Component\ExpressionLanguage\Ex * * @see ExpressionLanguageProvider */ -class ExpressionLanguage extends \RectorPrefix20220519\Symfony\Component\ExpressionLanguage\ExpressionLanguage +class ExpressionLanguage extends \RectorPrefix20220520\Symfony\Component\ExpressionLanguage\ExpressionLanguage { /** * {@inheritdoc} */ - public function __construct(\RectorPrefix20220519\Psr\Cache\CacheItemPoolInterface $cache = null, array $providers = [], callable $serviceCompiler = null) + public function __construct(\RectorPrefix20220520\Psr\Cache\CacheItemPoolInterface $cache = null, array $providers = [], callable $serviceCompiler = null) { // prepend the default provider to let users override it easily - \array_unshift($providers, new \RectorPrefix20220519\Symfony\Component\DependencyInjection\ExpressionLanguageProvider($serviceCompiler)); + \array_unshift($providers, new \RectorPrefix20220520\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 e5528ccd561..2b318188ba8 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 RectorPrefix20220519\Symfony\Component\DependencyInjection; +namespace RectorPrefix20220520\Symfony\Component\DependencyInjection; -use RectorPrefix20220519\Symfony\Component\ExpressionLanguage\ExpressionFunction; -use RectorPrefix20220519\Symfony\Component\ExpressionLanguage\ExpressionFunctionProviderInterface; +use RectorPrefix20220520\Symfony\Component\ExpressionLanguage\ExpressionFunction; +use RectorPrefix20220520\Symfony\Component\ExpressionLanguage\ExpressionFunctionProviderInterface; /** * Define some ExpressionLanguage functions. * @@ -20,7 +20,7 @@ use RectorPrefix20220519\Symfony\Component\ExpressionLanguage\ExpressionFunction * * @author Fabien Potencier */ -class ExpressionLanguageProvider implements \RectorPrefix20220519\Symfony\Component\ExpressionLanguage\ExpressionFunctionProviderInterface +class ExpressionLanguageProvider implements \RectorPrefix20220520\Symfony\Component\ExpressionLanguage\ExpressionFunctionProviderInterface { private ?\Closure $serviceCompiler; public function __construct(callable $serviceCompiler = null) @@ -29,11 +29,11 @@ class ExpressionLanguageProvider implements \RectorPrefix20220519\Symfony\Compon } public function getFunctions() : array { - return [new \RectorPrefix20220519\Symfony\Component\ExpressionLanguage\ExpressionFunction('service', $this->serviceCompiler ?? function ($arg) { + return [new \RectorPrefix20220520\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 \RectorPrefix20220519\Symfony\Component\ExpressionLanguage\ExpressionFunction('parameter', function ($arg) { + }), new \RectorPrefix20220520\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 c744cbfc2f5..8ccb475eea5 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 RectorPrefix20220519\Symfony\Component\DependencyInjection\Extension; +namespace RectorPrefix20220520\Symfony\Component\DependencyInjection\Extension; -use RectorPrefix20220519\Symfony\Component\Config\Definition\ConfigurationInterface; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerBuilder; +use RectorPrefix20220520\Symfony\Component\Config\Definition\ConfigurationInterface; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\ContainerBuilder; /** * ConfigurationExtensionInterface is the interface implemented by container extension classes. * @@ -24,5 +24,5 @@ interface ConfigurationExtensionInterface * * @return ConfigurationInterface|null */ - public function getConfiguration(array $config, \RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerBuilder $container); + public function getConfiguration(array $config, \RectorPrefix20220520\Symfony\Component\DependencyInjection\ContainerBuilder $container); } diff --git a/vendor/symfony/dependency-injection/Extension/Extension.php b/vendor/symfony/dependency-injection/Extension/Extension.php index 459113dc629..20f85e1b5e6 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 RectorPrefix20220519\Symfony\Component\DependencyInjection\Extension; +namespace RectorPrefix20220520\Symfony\Component\DependencyInjection\Extension; -use RectorPrefix20220519\Symfony\Component\Config\Definition\ConfigurationInterface; -use RectorPrefix20220519\Symfony\Component\Config\Definition\Processor; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Container; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerBuilder; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\BadMethodCallException; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\LogicException; +use RectorPrefix20220520\Symfony\Component\Config\Definition\ConfigurationInterface; +use RectorPrefix20220520\Symfony\Component\Config\Definition\Processor; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Container; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\ContainerBuilder; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\BadMethodCallException; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\LogicException; /** * Provides useful features shared by many extensions. * * @author Fabien Potencier */ -abstract class Extension implements \RectorPrefix20220519\Symfony\Component\DependencyInjection\Extension\ExtensionInterface, \RectorPrefix20220519\Symfony\Component\DependencyInjection\Extension\ConfigurationExtensionInterface +abstract class Extension implements \RectorPrefix20220520\Symfony\Component\DependencyInjection\Extension\ExtensionInterface, \RectorPrefix20220520\Symfony\Component\DependencyInjection\Extension\ConfigurationExtensionInterface { /** * @var mixed[] @@ -64,15 +64,15 @@ abstract class Extension implements \RectorPrefix20220519\Symfony\Component\Depe { $className = static::class; if (\substr_compare($className, 'Extension', -\strlen('Extension')) !== 0) { - throw new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\BadMethodCallException('This extension does not follow the naming convention; you must overwrite the getAlias() method.'); + throw new \RectorPrefix20220520\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 \RectorPrefix20220519\Symfony\Component\DependencyInjection\Container::underscore($classBaseName); + return \RectorPrefix20220520\Symfony\Component\DependencyInjection\Container::underscore($classBaseName); } /** * {@inheritdoc} */ - public function getConfiguration(array $config, \RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerBuilder $container) + public function getConfiguration(array $config, \RectorPrefix20220520\Symfony\Component\DependencyInjection\ContainerBuilder $container) { $class = static::class; if (\strpos($class, "\0") !== \false) { @@ -84,17 +84,17 @@ abstract class Extension implements \RectorPrefix20220519\Symfony\Component\Depe if (!$class) { return null; } - if (!$class->implementsInterface(\RectorPrefix20220519\Symfony\Component\Config\Definition\ConfigurationInterface::class)) { - throw new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\LogicException(\sprintf('The extension configuration class "%s" must implement "%s".', $class->getName(), \RectorPrefix20220519\Symfony\Component\Config\Definition\ConfigurationInterface::class)); + if (!$class->implementsInterface(\RectorPrefix20220520\Symfony\Component\Config\Definition\ConfigurationInterface::class)) { + throw new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\LogicException(\sprintf('The extension configuration class "%s" must implement "%s".', $class->getName(), \RectorPrefix20220520\Symfony\Component\Config\Definition\ConfigurationInterface::class)); } if (!($constructor = $class->getConstructor()) || !$constructor->getNumberOfRequiredParameters()) { return $class->newInstance(); } return null; } - protected final function processConfiguration(\RectorPrefix20220519\Symfony\Component\Config\Definition\ConfigurationInterface $configuration, array $configs) : array + protected final function processConfiguration(\RectorPrefix20220520\Symfony\Component\Config\Definition\ConfigurationInterface $configuration, array $configs) : array { - $processor = new \RectorPrefix20220519\Symfony\Component\Config\Definition\Processor(); + $processor = new \RectorPrefix20220520\Symfony\Component\Config\Definition\Processor(); return $this->processedConfigs[] = $processor->processConfiguration($configuration, $configs); } /** @@ -111,10 +111,10 @@ abstract class Extension implements \RectorPrefix20220519\Symfony\Component\Depe /** * @throws InvalidArgumentException When the config is not enableable */ - protected function isConfigEnabled(\RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerBuilder $container, array $config) : bool + protected function isConfigEnabled(\RectorPrefix20220520\Symfony\Component\DependencyInjection\ContainerBuilder $container, array $config) : bool { if (!\array_key_exists('enabled', $config)) { - throw new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException("The config array has no 'enabled' key."); + throw new \RectorPrefix20220520\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 ddcf0192aa2..ac29a40f734 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 RectorPrefix20220519\Symfony\Component\DependencyInjection\Extension; +namespace RectorPrefix20220520\Symfony\Component\DependencyInjection\Extension; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerBuilder; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\ContainerBuilder; /** * ExtensionInterface is the interface implemented by container extension classes. * @@ -23,7 +23,7 @@ interface ExtensionInterface * * @throws \InvalidArgumentException When provided tag is not defined in this extension */ - public function load(array $configs, \RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerBuilder $container); + public function load(array $configs, \RectorPrefix20220520\Symfony\Component\DependencyInjection\ContainerBuilder $container); /** * Returns the namespace to be used for this extension (XML namespace). * diff --git a/vendor/symfony/dependency-injection/Extension/PrependExtensionInterface.php b/vendor/symfony/dependency-injection/Extension/PrependExtensionInterface.php index 182680534ae..911ae2a10a6 100644 --- a/vendor/symfony/dependency-injection/Extension/PrependExtensionInterface.php +++ b/vendor/symfony/dependency-injection/Extension/PrependExtensionInterface.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 RectorPrefix20220519\Symfony\Component\DependencyInjection\Extension; +namespace RectorPrefix20220520\Symfony\Component\DependencyInjection\Extension; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerBuilder; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\ContainerBuilder; interface PrependExtensionInterface { /** * Allow an extension to prepend the extension configurations. */ - public function prepend(\RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerBuilder $container); + public function prepend(\RectorPrefix20220520\Symfony\Component\DependencyInjection\ContainerBuilder $container); } diff --git a/vendor/symfony/dependency-injection/LazyProxy/Instantiator/InstantiatorInterface.php b/vendor/symfony/dependency-injection/LazyProxy/Instantiator/InstantiatorInterface.php index 7e2f40e6da5..1951567cb04 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 RectorPrefix20220519\Symfony\Component\DependencyInjection\LazyProxy\Instantiator; +namespace RectorPrefix20220520\Symfony\Component\DependencyInjection\LazyProxy\Instantiator; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerInterface; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Definition; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\ContainerInterface; +use RectorPrefix20220520\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. @@ -28,5 +28,5 @@ interface InstantiatorInterface * * @return object */ - public function instantiateProxy(\RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerInterface $container, \RectorPrefix20220519\Symfony\Component\DependencyInjection\Definition $definition, string $id, callable $realInstantiator); + public function instantiateProxy(\RectorPrefix20220520\Symfony\Component\DependencyInjection\ContainerInterface $container, \RectorPrefix20220520\Symfony\Component\DependencyInjection\Definition $definition, string $id, callable $realInstantiator); } diff --git a/vendor/symfony/dependency-injection/LazyProxy/Instantiator/RealServiceInstantiator.php b/vendor/symfony/dependency-injection/LazyProxy/Instantiator/RealServiceInstantiator.php index 6c3debf36d4..ffb1c6cd12c 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 RectorPrefix20220519\Symfony\Component\DependencyInjection\LazyProxy\Instantiator; +namespace RectorPrefix20220520\Symfony\Component\DependencyInjection\LazyProxy\Instantiator; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerInterface; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Definition; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\ContainerInterface; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Definition; /** * {@inheritdoc} * @@ -19,12 +19,12 @@ use RectorPrefix20220519\Symfony\Component\DependencyInjection\Definition; * * @author Marco Pivetta */ -class RealServiceInstantiator implements \RectorPrefix20220519\Symfony\Component\DependencyInjection\LazyProxy\Instantiator\InstantiatorInterface +class RealServiceInstantiator implements \RectorPrefix20220520\Symfony\Component\DependencyInjection\LazyProxy\Instantiator\InstantiatorInterface { /** * {@inheritdoc} */ - public function instantiateProxy(\RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerInterface $container, \RectorPrefix20220519\Symfony\Component\DependencyInjection\Definition $definition, string $id, callable $realInstantiator) : object + public function instantiateProxy(\RectorPrefix20220520\Symfony\Component\DependencyInjection\ContainerInterface $container, \RectorPrefix20220520\Symfony\Component\DependencyInjection\Definition $definition, string $id, callable $realInstantiator) : object { return $realInstantiator(); } diff --git a/vendor/symfony/dependency-injection/LazyProxy/PhpDumper/DumperInterface.php b/vendor/symfony/dependency-injection/LazyProxy/PhpDumper/DumperInterface.php index f85ca8ada91..d44f7f030f9 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 RectorPrefix20220519\Symfony\Component\DependencyInjection\LazyProxy\PhpDumper; +namespace RectorPrefix20220520\Symfony\Component\DependencyInjection\LazyProxy\PhpDumper; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Definition; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Definition; /** * Lazy proxy dumper capable of generating the instantiation logic PHP code for proxied services. * @@ -21,13 +21,13 @@ interface DumperInterface /** * Inspects whether the given definitions should produce proxy instantiation logic in the dumped container. */ - public function isProxyCandidate(\RectorPrefix20220519\Symfony\Component\DependencyInjection\Definition $definition) : bool; + public function isProxyCandidate(\RectorPrefix20220520\Symfony\Component\DependencyInjection\Definition $definition) : bool; /** * Generates the code to be used to instantiate a proxy in the dumped factory code. */ - public function getProxyFactoryCode(\RectorPrefix20220519\Symfony\Component\DependencyInjection\Definition $definition, string $id, string $factoryCode) : string; + public function getProxyFactoryCode(\RectorPrefix20220520\Symfony\Component\DependencyInjection\Definition $definition, string $id, string $factoryCode) : string; /** * Generates the code for the lazy proxy. */ - public function getProxyCode(\RectorPrefix20220519\Symfony\Component\DependencyInjection\Definition $definition) : string; + public function getProxyCode(\RectorPrefix20220520\Symfony\Component\DependencyInjection\Definition $definition) : string; } diff --git a/vendor/symfony/dependency-injection/LazyProxy/PhpDumper/NullDumper.php b/vendor/symfony/dependency-injection/LazyProxy/PhpDumper/NullDumper.php index 51713549c1f..4a3b79891ed 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 RectorPrefix20220519\Symfony\Component\DependencyInjection\LazyProxy\PhpDumper; +namespace RectorPrefix20220520\Symfony\Component\DependencyInjection\LazyProxy\PhpDumper; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Definition; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Definition; /** * Null dumper, negates any proxy code generation for any given service definition. * @@ -18,26 +18,26 @@ use RectorPrefix20220519\Symfony\Component\DependencyInjection\Definition; * * @final */ -class NullDumper implements \RectorPrefix20220519\Symfony\Component\DependencyInjection\LazyProxy\PhpDumper\DumperInterface +class NullDumper implements \RectorPrefix20220520\Symfony\Component\DependencyInjection\LazyProxy\PhpDumper\DumperInterface { /** * {@inheritdoc} */ - public function isProxyCandidate(\RectorPrefix20220519\Symfony\Component\DependencyInjection\Definition $definition) : bool + public function isProxyCandidate(\RectorPrefix20220520\Symfony\Component\DependencyInjection\Definition $definition) : bool { return \false; } /** * {@inheritdoc} */ - public function getProxyFactoryCode(\RectorPrefix20220519\Symfony\Component\DependencyInjection\Definition $definition, string $id, string $factoryCode) : string + public function getProxyFactoryCode(\RectorPrefix20220520\Symfony\Component\DependencyInjection\Definition $definition, string $id, string $factoryCode) : string { return ''; } /** * {@inheritdoc} */ - public function getProxyCode(\RectorPrefix20220519\Symfony\Component\DependencyInjection\Definition $definition) : string + public function getProxyCode(\RectorPrefix20220520\Symfony\Component\DependencyInjection\Definition $definition) : string { return ''; } diff --git a/vendor/symfony/dependency-injection/LazyProxy/ProxyHelper.php b/vendor/symfony/dependency-injection/LazyProxy/ProxyHelper.php index bfae86c2a36..e96201cf6b0 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 RectorPrefix20220519\Symfony\Component\DependencyInjection\LazyProxy; +namespace RectorPrefix20220520\Symfony\Component\DependencyInjection\LazyProxy; /** * @author Nicolas Grekas @@ -34,7 +34,7 @@ class ProxyHelper $glue = '|'; if ($type instanceof \ReflectionUnionType) { $reflectionTypes = $type->getTypes(); - } elseif ($type instanceof \RectorPrefix20220519\ReflectionIntersectionType) { + } elseif ($type instanceof \RectorPrefix20220520\ReflectionIntersectionType) { $reflectionTypes = $type->getTypes(); $glue = '&'; } elseif ($type instanceof \ReflectionNamedType) { diff --git a/vendor/symfony/dependency-injection/Loader/ClosureLoader.php b/vendor/symfony/dependency-injection/Loader/ClosureLoader.php index 8769a636656..b8032cd70b4 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 RectorPrefix20220519\Symfony\Component\DependencyInjection\Loader; +namespace RectorPrefix20220520\Symfony\Component\DependencyInjection\Loader; -use RectorPrefix20220519\Symfony\Component\Config\Loader\Loader; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerBuilder; +use RectorPrefix20220520\Symfony\Component\Config\Loader\Loader; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\ContainerBuilder; /** * ClosureLoader loads service definitions from a PHP closure. * @@ -19,10 +19,10 @@ use RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerBuilder; * * @author Fabien Potencier */ -class ClosureLoader extends \RectorPrefix20220519\Symfony\Component\Config\Loader\Loader +class ClosureLoader extends \RectorPrefix20220520\Symfony\Component\Config\Loader\Loader { private $container; - public function __construct(\RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerBuilder $container, string $env = null) + public function __construct(\RectorPrefix20220520\Symfony\Component\DependencyInjection\ContainerBuilder $container, string $env = null) { $this->container = $container; parent::__construct($env); diff --git a/vendor/symfony/dependency-injection/Loader/Configurator/AbstractConfigurator.php b/vendor/symfony/dependency-injection/Loader/Configurator/AbstractConfigurator.php index 884fcd93647..f338795f9b2 100644 --- a/vendor/symfony/dependency-injection/Loader/Configurator/AbstractConfigurator.php +++ b/vendor/symfony/dependency-injection/Loader/Configurator/AbstractConfigurator.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 RectorPrefix20220519\Symfony\Component\DependencyInjection\Loader\Configurator; +namespace RectorPrefix20220520\Symfony\Component\DependencyInjection\Loader\Configurator; -use RectorPrefix20220519\Symfony\Component\Config\Loader\ParamConfigurator; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Argument\AbstractArgument; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Argument\ArgumentInterface; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Argument\ServiceClosureArgument; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Definition; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Parameter; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Reference; -use RectorPrefix20220519\Symfony\Component\ExpressionLanguage\Expression; +use RectorPrefix20220520\Symfony\Component\Config\Loader\ParamConfigurator; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Argument\AbstractArgument; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Argument\ArgumentInterface; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Argument\ServiceClosureArgument; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Definition; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Parameter; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Reference; +use RectorPrefix20220520\Symfony\Component\ExpressionLanguage\Expression; abstract class AbstractConfigurator { public const FACTORY = 'unknown'; @@ -62,35 +62,35 @@ abstract class AbstractConfigurator if (self::$valuePreProcessor) { $value = (self::$valuePreProcessor)($value, $allowServices); } - if ($value instanceof \RectorPrefix20220519\Symfony\Component\DependencyInjection\Loader\Configurator\ReferenceConfigurator) { - $reference = new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Reference($value->id, $value->invalidBehavior); - return $value instanceof \RectorPrefix20220519\Symfony\Component\DependencyInjection\Loader\Configurator\ClosureReferenceConfigurator ? new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Argument\ServiceClosureArgument($reference) : $reference; + if ($value instanceof \RectorPrefix20220520\Symfony\Component\DependencyInjection\Loader\Configurator\ReferenceConfigurator) { + $reference = new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Reference($value->id, $value->invalidBehavior); + return $value instanceof \RectorPrefix20220520\Symfony\Component\DependencyInjection\Loader\Configurator\ClosureReferenceConfigurator ? new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Argument\ServiceClosureArgument($reference) : $reference; } - if ($value instanceof \RectorPrefix20220519\Symfony\Component\DependencyInjection\Loader\Configurator\InlineServiceConfigurator) { + if ($value instanceof \RectorPrefix20220520\Symfony\Component\DependencyInjection\Loader\Configurator\InlineServiceConfigurator) { $def = $value->definition; $value->definition = null; return $def; } - if ($value instanceof \RectorPrefix20220519\Symfony\Component\Config\Loader\ParamConfigurator) { + if ($value instanceof \RectorPrefix20220520\Symfony\Component\Config\Loader\ParamConfigurator) { return (string) $value; } if ($value instanceof self) { - throw new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('"%s()" can be used only at the root of service configuration files.', $value::FACTORY)); + throw new \RectorPrefix20220520\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 \RectorPrefix20220519\Symfony\Component\DependencyInjection\Argument\ArgumentInterface: - case $value instanceof \RectorPrefix20220519\Symfony\Component\DependencyInjection\Definition: - case $value instanceof \RectorPrefix20220519\Symfony\Component\ExpressionLanguage\Expression: - case $value instanceof \RectorPrefix20220519\Symfony\Component\DependencyInjection\Parameter: - case $value instanceof \RectorPrefix20220519\Symfony\Component\DependencyInjection\Argument\AbstractArgument: - case $value instanceof \RectorPrefix20220519\Symfony\Component\DependencyInjection\Reference: + case $value instanceof \RectorPrefix20220520\Symfony\Component\DependencyInjection\Argument\ArgumentInterface: + case $value instanceof \RectorPrefix20220520\Symfony\Component\DependencyInjection\Definition: + case $value instanceof \RectorPrefix20220520\Symfony\Component\ExpressionLanguage\Expression: + case $value instanceof \RectorPrefix20220520\Symfony\Component\DependencyInjection\Parameter: + case $value instanceof \RectorPrefix20220520\Symfony\Component\DependencyInjection\Argument\AbstractArgument: + case $value instanceof \RectorPrefix20220520\Symfony\Component\DependencyInjection\Reference: if ($allowServices) { return $value; } } - throw new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('Cannot use values of type "%s" in service configuration files.', \get_debug_type($value))); + throw new \RectorPrefix20220520\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 4f59a82e077..494e51b03fa 100644 --- a/vendor/symfony/dependency-injection/Loader/Configurator/AbstractServiceConfigurator.php +++ b/vendor/symfony/dependency-injection/Loader/Configurator/AbstractServiceConfigurator.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 RectorPrefix20220519\Symfony\Component\DependencyInjection\Loader\Configurator; +namespace RectorPrefix20220520\Symfony\Component\DependencyInjection\Loader\Configurator; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Definition; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException; -abstract class AbstractServiceConfigurator extends \RectorPrefix20220519\Symfony\Component\DependencyInjection\Loader\Configurator\AbstractConfigurator +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Definition; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException; +abstract class AbstractServiceConfigurator extends \RectorPrefix20220520\Symfony\Component\DependencyInjection\Loader\Configurator\AbstractConfigurator { protected $parent; protected $id; @@ -20,7 +20,7 @@ abstract class AbstractServiceConfigurator extends \RectorPrefix20220519\Symfony * @var mixed[] */ private $defaultTags = []; - public function __construct(\RectorPrefix20220519\Symfony\Component\DependencyInjection\Loader\Configurator\ServicesConfigurator $parent, \RectorPrefix20220519\Symfony\Component\DependencyInjection\Definition $definition, string $id = null, array $defaultTags = []) + public function __construct(\RectorPrefix20220520\Symfony\Component\DependencyInjection\Loader\Configurator\ServicesConfigurator $parent, \RectorPrefix20220520\Symfony\Component\DependencyInjection\Definition $definition, string $id = null, array $defaultTags = []) { $this->parent = $parent; $this->definition = $definition; @@ -40,7 +40,7 @@ abstract class AbstractServiceConfigurator extends \RectorPrefix20220519\Symfony /** * Registers a service. */ - public final function set(?string $id, string $class = null) : \RectorPrefix20220519\Symfony\Component\DependencyInjection\Loader\Configurator\ServiceConfigurator + public final function set(?string $id, string $class = null) : \RectorPrefix20220520\Symfony\Component\DependencyInjection\Loader\Configurator\ServiceConfigurator { $this->__destruct(); return $this->parent->set($id, $class); @@ -48,7 +48,7 @@ abstract class AbstractServiceConfigurator extends \RectorPrefix20220519\Symfony /** * Creates an alias. */ - public final function alias(string $id, string $referencedId) : \RectorPrefix20220519\Symfony\Component\DependencyInjection\Loader\Configurator\AliasConfigurator + public final function alias(string $id, string $referencedId) : \RectorPrefix20220520\Symfony\Component\DependencyInjection\Loader\Configurator\AliasConfigurator { $this->__destruct(); return $this->parent->alias($id, $referencedId); @@ -56,7 +56,7 @@ abstract class AbstractServiceConfigurator extends \RectorPrefix20220519\Symfony /** * Registers a PSR-4 namespace using a glob pattern. */ - public final function load(string $namespace, string $resource) : \RectorPrefix20220519\Symfony\Component\DependencyInjection\Loader\Configurator\PrototypeConfigurator + public final function load(string $namespace, string $resource) : \RectorPrefix20220520\Symfony\Component\DependencyInjection\Loader\Configurator\PrototypeConfigurator { $this->__destruct(); return $this->parent->load($namespace, $resource); @@ -66,7 +66,7 @@ abstract class AbstractServiceConfigurator extends \RectorPrefix20220519\Symfony * * @throws ServiceNotFoundException if the service definition does not exist */ - public final function get(string $id) : \RectorPrefix20220519\Symfony\Component\DependencyInjection\Loader\Configurator\ServiceConfigurator + public final function get(string $id) : \RectorPrefix20220520\Symfony\Component\DependencyInjection\Loader\Configurator\ServiceConfigurator { $this->__destruct(); return $this->parent->get($id); @@ -74,7 +74,7 @@ abstract class AbstractServiceConfigurator extends \RectorPrefix20220519\Symfony /** * Removes an already defined service definition or alias. */ - public final function remove(string $id) : \RectorPrefix20220519\Symfony\Component\DependencyInjection\Loader\Configurator\ServicesConfigurator + public final function remove(string $id) : \RectorPrefix20220520\Symfony\Component\DependencyInjection\Loader\Configurator\ServicesConfigurator { $this->__destruct(); return $this->parent->remove($id); @@ -84,7 +84,7 @@ abstract class AbstractServiceConfigurator extends \RectorPrefix20220519\Symfony * * @param InlineServiceConfigurator[]|ReferenceConfigurator[] $services */ - public final function stack(string $id, array $services) : \RectorPrefix20220519\Symfony\Component\DependencyInjection\Loader\Configurator\AliasConfigurator + public final function stack(string $id, array $services) : \RectorPrefix20220520\Symfony\Component\DependencyInjection\Loader\Configurator\AliasConfigurator { $this->__destruct(); return $this->parent->stack($id, $services); @@ -92,7 +92,7 @@ abstract class AbstractServiceConfigurator extends \RectorPrefix20220519\Symfony /** * Registers a service. */ - public final function __invoke(string $id, string $class = null) : \RectorPrefix20220519\Symfony\Component\DependencyInjection\Loader\Configurator\ServiceConfigurator + public final function __invoke(string $id, string $class = null) : \RectorPrefix20220520\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 5c89abc094c..585f92e869d 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 RectorPrefix20220519\Symfony\Component\DependencyInjection\Loader\Configurator; +namespace RectorPrefix20220520\Symfony\Component\DependencyInjection\Loader\Configurator; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Alias; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Alias; /** * @author Nicolas Grekas */ -class AliasConfigurator extends \RectorPrefix20220519\Symfony\Component\DependencyInjection\Loader\Configurator\AbstractServiceConfigurator +class AliasConfigurator extends \RectorPrefix20220520\Symfony\Component\DependencyInjection\Loader\Configurator\AbstractServiceConfigurator { use Traits\DeprecateTrait; use Traits\PublicTrait; public const FACTORY = 'alias'; - public function __construct(\RectorPrefix20220519\Symfony\Component\DependencyInjection\Loader\Configurator\ServicesConfigurator $parent, \RectorPrefix20220519\Symfony\Component\DependencyInjection\Alias $alias) + public function __construct(\RectorPrefix20220520\Symfony\Component\DependencyInjection\Loader\Configurator\ServicesConfigurator $parent, \RectorPrefix20220520\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 index c4d04fa6763..dd87c8006b5 100644 --- a/vendor/symfony/dependency-injection/Loader/Configurator/ClosureReferenceConfigurator.php +++ b/vendor/symfony/dependency-injection/Loader/Configurator/ClosureReferenceConfigurator.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 RectorPrefix20220519\Symfony\Component\DependencyInjection\Loader\Configurator; +namespace RectorPrefix20220520\Symfony\Component\DependencyInjection\Loader\Configurator; -class ClosureReferenceConfigurator extends \RectorPrefix20220519\Symfony\Component\DependencyInjection\Loader\Configurator\ReferenceConfigurator +class ClosureReferenceConfigurator extends \RectorPrefix20220520\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 bc98f28b254..ce54d55be2b 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 RectorPrefix20220519\Symfony\Component\DependencyInjection\Loader\Configurator; +namespace RectorPrefix20220520\Symfony\Component\DependencyInjection\Loader\Configurator; -use RectorPrefix20220519\Symfony\Component\Config\Loader\ParamConfigurator; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Argument\AbstractArgument; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Argument\IteratorArgument; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Argument\ServiceLocatorArgument; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Argument\TaggedIteratorArgument; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerBuilder; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Definition; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Extension\ExtensionInterface; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Loader\PhpFileLoader; -use RectorPrefix20220519\Symfony\Component\ExpressionLanguage\Expression; +use RectorPrefix20220520\Symfony\Component\Config\Loader\ParamConfigurator; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Argument\AbstractArgument; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Argument\IteratorArgument; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Argument\ServiceLocatorArgument; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Argument\TaggedIteratorArgument; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\ContainerBuilder; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Definition; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Extension\ExtensionInterface; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Loader\PhpFileLoader; +use RectorPrefix20220520\Symfony\Component\ExpressionLanguage\Expression; /** * @author Nicolas Grekas */ -class ContainerConfigurator extends \RectorPrefix20220519\Symfony\Component\DependencyInjection\Loader\Configurator\AbstractConfigurator +class ContainerConfigurator extends \RectorPrefix20220520\Symfony\Component\DependencyInjection\Loader\Configurator\AbstractConfigurator { public const FACTORY = 'container'; private $container; @@ -49,7 +49,7 @@ class ContainerConfigurator extends \RectorPrefix20220519\Symfony\Component\Depe * @var string|null */ private $env; - public function __construct(\RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerBuilder $container, \RectorPrefix20220519\Symfony\Component\DependencyInjection\Loader\PhpFileLoader $loader, array &$instanceof, string $path, string $file, string $env = null) + public function __construct(\RectorPrefix20220520\Symfony\Component\DependencyInjection\ContainerBuilder $container, \RectorPrefix20220520\Symfony\Component\DependencyInjection\Loader\PhpFileLoader $loader, array &$instanceof, string $path, string $file, string $env = null) { $this->container = $container; $this->loader = $loader; @@ -61,10 +61,10 @@ class ContainerConfigurator extends \RectorPrefix20220519\Symfony\Component\Depe public final function extension(string $namespace, array $config) { if (!$this->container->hasExtension($namespace)) { - $extensions = \array_filter(\array_map(function (\RectorPrefix20220519\Symfony\Component\DependencyInjection\Extension\ExtensionInterface $ext) { + $extensions = \array_filter(\array_map(function (\RectorPrefix20220520\Symfony\Component\DependencyInjection\Extension\ExtensionInterface $ext) { return $ext->getAlias(); }, $this->container->getExtensions())); - throw new \RectorPrefix20220519\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 \RectorPrefix20220520\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)); } @@ -76,13 +76,13 @@ class ContainerConfigurator extends \RectorPrefix20220519\Symfony\Component\Depe $this->loader->setCurrentDir(\dirname($this->path)); $this->loader->import($resource, $type, $ignoreErrors, $this->file); } - public final function parameters() : \RectorPrefix20220519\Symfony\Component\DependencyInjection\Loader\Configurator\ParametersConfigurator + public final function parameters() : \RectorPrefix20220520\Symfony\Component\DependencyInjection\Loader\Configurator\ParametersConfigurator { - return new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Loader\Configurator\ParametersConfigurator($this->container); + return new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Loader\Configurator\ParametersConfigurator($this->container); } - public final function services() : \RectorPrefix20220519\Symfony\Component\DependencyInjection\Loader\Configurator\ServicesConfigurator + public final function services() : \RectorPrefix20220520\Symfony\Component\DependencyInjection\Loader\Configurator\ServicesConfigurator { - return new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Loader\Configurator\ServicesConfigurator($this->container, $this->loader, $this->instanceof, $this->path, $this->anonymousCount); + return new \RectorPrefix20220520\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. @@ -105,85 +105,85 @@ class ContainerConfigurator extends \RectorPrefix20220519\Symfony\Component\Depe /** * @author Nicolas Grekas */ -\class_alias('RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\ContainerConfigurator', 'Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\ContainerConfigurator', \false); +\class_alias('RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\ContainerConfigurator', 'Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\ContainerConfigurator', \false); /** * Creates a parameter. */ -function param(string $name) : \RectorPrefix20220519\Symfony\Component\Config\Loader\ParamConfigurator +function param(string $name) : \RectorPrefix20220520\Symfony\Component\Config\Loader\ParamConfigurator { - return new \RectorPrefix20220519\Symfony\Component\Config\Loader\ParamConfigurator($name); + return new \RectorPrefix20220520\Symfony\Component\Config\Loader\ParamConfigurator($name); } /** * Creates a reference to a service. */ -function service(string $serviceId) : \RectorPrefix20220519\Symfony\Component\DependencyInjection\Loader\Configurator\ReferenceConfigurator +function service(string $serviceId) : \RectorPrefix20220520\Symfony\Component\DependencyInjection\Loader\Configurator\ReferenceConfigurator { - return new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Loader\Configurator\ReferenceConfigurator($serviceId); + return new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Loader\Configurator\ReferenceConfigurator($serviceId); } /** * Creates an inline service. */ -function inline_service(string $class = null) : \RectorPrefix20220519\Symfony\Component\DependencyInjection\Loader\Configurator\InlineServiceConfigurator +function inline_service(string $class = null) : \RectorPrefix20220520\Symfony\Component\DependencyInjection\Loader\Configurator\InlineServiceConfigurator { - return new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Loader\Configurator\InlineServiceConfigurator(new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Definition($class)); + return new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Loader\Configurator\InlineServiceConfigurator(new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Definition($class)); } /** * Creates a service locator. * * @param ReferenceConfigurator[] $values */ -function service_locator(array $values) : \RectorPrefix20220519\Symfony\Component\DependencyInjection\Argument\ServiceLocatorArgument +function service_locator(array $values) : \RectorPrefix20220520\Symfony\Component\DependencyInjection\Argument\ServiceLocatorArgument { - return new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Argument\ServiceLocatorArgument(\RectorPrefix20220519\Symfony\Component\DependencyInjection\Loader\Configurator\AbstractConfigurator::processValue($values, \true)); + return new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Argument\ServiceLocatorArgument(\RectorPrefix20220520\Symfony\Component\DependencyInjection\Loader\Configurator\AbstractConfigurator::processValue($values, \true)); } /** * Creates a lazy iterator. * * @param ReferenceConfigurator[] $values */ -function iterator(array $values) : \RectorPrefix20220519\Symfony\Component\DependencyInjection\Argument\IteratorArgument +function iterator(array $values) : \RectorPrefix20220520\Symfony\Component\DependencyInjection\Argument\IteratorArgument { - return new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Argument\IteratorArgument(\RectorPrefix20220519\Symfony\Component\DependencyInjection\Loader\Configurator\AbstractConfigurator::processValue($values, \true)); + return new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Argument\IteratorArgument(\RectorPrefix20220520\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) : \RectorPrefix20220519\Symfony\Component\DependencyInjection\Argument\TaggedIteratorArgument +function tagged_iterator(string $tag, string $indexAttribute = null, string $defaultIndexMethod = null, string $defaultPriorityMethod = null) : \RectorPrefix20220520\Symfony\Component\DependencyInjection\Argument\TaggedIteratorArgument { - return new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Argument\TaggedIteratorArgument($tag, $indexAttribute, $defaultIndexMethod, \false, $defaultPriorityMethod); + return new \RectorPrefix20220520\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, string $defaultPriorityMethod = null) : \RectorPrefix20220519\Symfony\Component\DependencyInjection\Argument\ServiceLocatorArgument +function tagged_locator(string $tag, string $indexAttribute = null, string $defaultIndexMethod = null, string $defaultPriorityMethod = null) : \RectorPrefix20220520\Symfony\Component\DependencyInjection\Argument\ServiceLocatorArgument { - return new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Argument\ServiceLocatorArgument(new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Argument\TaggedIteratorArgument($tag, $indexAttribute, $defaultIndexMethod, \true, $defaultPriorityMethod)); + return new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Argument\ServiceLocatorArgument(new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Argument\TaggedIteratorArgument($tag, $indexAttribute, $defaultIndexMethod, \true, $defaultPriorityMethod)); } /** * Creates an expression. */ -function expr(string $expression) : \RectorPrefix20220519\Symfony\Component\ExpressionLanguage\Expression +function expr(string $expression) : \RectorPrefix20220520\Symfony\Component\ExpressionLanguage\Expression { - return new \RectorPrefix20220519\Symfony\Component\ExpressionLanguage\Expression($expression); + return new \RectorPrefix20220520\Symfony\Component\ExpressionLanguage\Expression($expression); } /** * Creates an abstract argument. */ -function abstract_arg(string $description) : \RectorPrefix20220519\Symfony\Component\DependencyInjection\Argument\AbstractArgument +function abstract_arg(string $description) : \RectorPrefix20220520\Symfony\Component\DependencyInjection\Argument\AbstractArgument { - return new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Argument\AbstractArgument($description); + return new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Argument\AbstractArgument($description); } /** * Creates an environment variable reference. */ -function env(string $name) : \RectorPrefix20220519\Symfony\Component\DependencyInjection\Loader\Configurator\EnvConfigurator +function env(string $name) : \RectorPrefix20220520\Symfony\Component\DependencyInjection\Loader\Configurator\EnvConfigurator { - return new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Loader\Configurator\EnvConfigurator($name); + return new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Loader\Configurator\EnvConfigurator($name); } /** * Creates a closure service reference. */ -function service_closure(string $serviceId) : \RectorPrefix20220519\Symfony\Component\DependencyInjection\Loader\Configurator\ClosureReferenceConfigurator +function service_closure(string $serviceId) : \RectorPrefix20220520\Symfony\Component\DependencyInjection\Loader\Configurator\ClosureReferenceConfigurator { - return new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Loader\Configurator\ClosureReferenceConfigurator($serviceId); + return new \RectorPrefix20220520\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 b0300b927a6..c187ac90f67 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 RectorPrefix20220519\Symfony\Component\DependencyInjection\Loader\Configurator; +namespace RectorPrefix20220520\Symfony\Component\DependencyInjection\Loader\Configurator; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Definition; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Definition; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException; /** * @author Nicolas Grekas */ -class DefaultsConfigurator extends \RectorPrefix20220519\Symfony\Component\DependencyInjection\Loader\Configurator\AbstractServiceConfigurator +class DefaultsConfigurator extends \RectorPrefix20220520\Symfony\Component\DependencyInjection\Loader\Configurator\AbstractServiceConfigurator { use Traits\AutoconfigureTrait; use Traits\AutowireTrait; @@ -26,7 +26,7 @@ class DefaultsConfigurator extends \RectorPrefix20220519\Symfony\Component\Depen * @var string|null */ private $path; - public function __construct(\RectorPrefix20220519\Symfony\Component\DependencyInjection\Loader\Configurator\ServicesConfigurator $parent, \RectorPrefix20220519\Symfony\Component\DependencyInjection\Definition $definition, string $path = null) + public function __construct(\RectorPrefix20220520\Symfony\Component\DependencyInjection\Loader\Configurator\ServicesConfigurator $parent, \RectorPrefix20220520\Symfony\Component\DependencyInjection\Definition $definition, string $path = null) { parent::__construct($parent, $definition, null, []); $this->path = $path; @@ -41,11 +41,11 @@ class DefaultsConfigurator extends \RectorPrefix20220519\Symfony\Component\Depen public final function tag(string $name, array $attributes = []) { if ('' === $name) { - throw new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException('The tag name in "_defaults" must be a non-empty string.'); + throw new \RectorPrefix20220520\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 \RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('Tag "%s", attribute "%s" in "_defaults" must be of a scalar-type.', $name, $attribute)); + throw new \RectorPrefix20220520\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 \RectorPrefix20220519\Symfony\Component\Depen /** * Defines an instanceof-conditional to be applied to following service definitions. */ - public final function instanceof(string $fqcn) : \RectorPrefix20220519\Symfony\Component\DependencyInjection\Loader\Configurator\InstanceofConfigurator + public final function instanceof(string $fqcn) : \RectorPrefix20220520\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 ec9a7fea091..61560cbd8d5 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 RectorPrefix20220519\Symfony\Component\DependencyInjection\Loader\Configurator; +namespace RectorPrefix20220520\Symfony\Component\DependencyInjection\Loader\Configurator; -use RectorPrefix20220519\Symfony\Component\Config\Loader\ParamConfigurator; -class EnvConfigurator extends \RectorPrefix20220519\Symfony\Component\Config\Loader\ParamConfigurator +use RectorPrefix20220520\Symfony\Component\Config\Loader\ParamConfigurator; +class EnvConfigurator extends \RectorPrefix20220520\Symfony\Component\Config\Loader\ParamConfigurator { /** * @var string[] @@ -30,7 +30,7 @@ class EnvConfigurator extends \RectorPrefix20220519\Symfony\Component\Config\Loa */ public function __call(string $name, array $arguments) { - $processor = \strtolower(\preg_replace(['/([A-Z]+)([A-Z][a-z])/', '/([a-z\\d])([A-Z])/'], 'RectorPrefix20220519\\1_\\2', $name)); + $processor = \strtolower(\preg_replace(['/([A-Z]+)([A-Z][a-z])/', '/([a-z\\d])([A-Z])/'], 'RectorPrefix20220520\\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 79072442719..509f7664c68 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 RectorPrefix20220519\Symfony\Component\DependencyInjection\Loader\Configurator; +namespace RectorPrefix20220520\Symfony\Component\DependencyInjection\Loader\Configurator; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Definition; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Definition; /** * @author Nicolas Grekas */ -class InlineServiceConfigurator extends \RectorPrefix20220519\Symfony\Component\DependencyInjection\Loader\Configurator\AbstractConfigurator +class InlineServiceConfigurator extends \RectorPrefix20220520\Symfony\Component\DependencyInjection\Loader\Configurator\AbstractConfigurator { use Traits\ArgumentTrait; use Traits\AutowireTrait; @@ -40,7 +40,7 @@ class InlineServiceConfigurator extends \RectorPrefix20220519\Symfony\Component\ * @var string|null */ private $path; - public function __construct(\RectorPrefix20220519\Symfony\Component\DependencyInjection\Definition $definition) + public function __construct(\RectorPrefix20220520\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 2173aae8b92..be8cef4ddc4 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 RectorPrefix20220519\Symfony\Component\DependencyInjection\Loader\Configurator; +namespace RectorPrefix20220520\Symfony\Component\DependencyInjection\Loader\Configurator; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Definition; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Definition; /** * @author Nicolas Grekas */ -class InstanceofConfigurator extends \RectorPrefix20220519\Symfony\Component\DependencyInjection\Loader\Configurator\AbstractServiceConfigurator +class InstanceofConfigurator extends \RectorPrefix20220520\Symfony\Component\DependencyInjection\Loader\Configurator\AbstractServiceConfigurator { use Traits\AutowireTrait; use Traits\BindTrait; @@ -30,7 +30,7 @@ class InstanceofConfigurator extends \RectorPrefix20220519\Symfony\Component\Dep * @var string|null */ private $path; - public function __construct(\RectorPrefix20220519\Symfony\Component\DependencyInjection\Loader\Configurator\ServicesConfigurator $parent, \RectorPrefix20220519\Symfony\Component\DependencyInjection\Definition $definition, string $id, string $path = null) + public function __construct(\RectorPrefix20220520\Symfony\Component\DependencyInjection\Loader\Configurator\ServicesConfigurator $parent, \RectorPrefix20220520\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 6eae68fe87b..12d92fcbc33 100644 --- a/vendor/symfony/dependency-injection/Loader/Configurator/ParametersConfigurator.php +++ b/vendor/symfony/dependency-injection/Loader/Configurator/ParametersConfigurator.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 RectorPrefix20220519\Symfony\Component\DependencyInjection\Loader\Configurator; +namespace RectorPrefix20220520\Symfony\Component\DependencyInjection\Loader\Configurator; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerBuilder; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException; -use RectorPrefix20220519\Symfony\Component\ExpressionLanguage\Expression; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\ContainerBuilder; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException; +use RectorPrefix20220520\Symfony\Component\ExpressionLanguage\Expression; /** * @author Nicolas Grekas */ -class ParametersConfigurator extends \RectorPrefix20220519\Symfony\Component\DependencyInjection\Loader\Configurator\AbstractConfigurator +class ParametersConfigurator extends \RectorPrefix20220520\Symfony\Component\DependencyInjection\Loader\Configurator\AbstractConfigurator { public const FACTORY = 'parameters'; private $container; - public function __construct(\RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerBuilder $container) + public function __construct(\RectorPrefix20220520\Symfony\Component\DependencyInjection\ContainerBuilder $container) { $this->container = $container; } @@ -30,8 +30,8 @@ class ParametersConfigurator extends \RectorPrefix20220519\Symfony\Component\Dep */ public final function set(string $name, $value) { - if ($value instanceof \RectorPrefix20220519\Symfony\Component\ExpressionLanguage\Expression) { - throw new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('Using an expression in parameter "%s" is not allowed.', $name)); + if ($value instanceof \RectorPrefix20220520\Symfony\Component\ExpressionLanguage\Expression) { + throw new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('Using an expression in parameter "%s" is not allowed.', $name)); } $this->container->setParameter($name, static::processValue($value, \true)); return $this; diff --git a/vendor/symfony/dependency-injection/Loader/Configurator/PrototypeConfigurator.php b/vendor/symfony/dependency-injection/Loader/Configurator/PrototypeConfigurator.php index 244bd8c0156..72f23ea151b 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 RectorPrefix20220519\Symfony\Component\DependencyInjection\Loader\Configurator; +namespace RectorPrefix20220520\Symfony\Component\DependencyInjection\Loader\Configurator; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Definition; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Loader\PhpFileLoader; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Definition; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Loader\PhpFileLoader; /** * @author Nicolas Grekas */ -class PrototypeConfigurator extends \RectorPrefix20220519\Symfony\Component\DependencyInjection\Loader\Configurator\AbstractServiceConfigurator +class PrototypeConfigurator extends \RectorPrefix20220520\Symfony\Component\DependencyInjection\Loader\Configurator\AbstractServiceConfigurator { use Traits\AbstractTrait; use Traits\ArgumentTrait; @@ -46,9 +46,9 @@ class PrototypeConfigurator extends \RectorPrefix20220519\Symfony\Component\Depe * @var bool */ private $allowParent; - public function __construct(\RectorPrefix20220519\Symfony\Component\DependencyInjection\Loader\Configurator\ServicesConfigurator $parent, \RectorPrefix20220519\Symfony\Component\DependencyInjection\Loader\PhpFileLoader $loader, \RectorPrefix20220519\Symfony\Component\DependencyInjection\Definition $defaults, string $namespace, string $resource, bool $allowParent) + public function __construct(\RectorPrefix20220520\Symfony\Component\DependencyInjection\Loader\Configurator\ServicesConfigurator $parent, \RectorPrefix20220520\Symfony\Component\DependencyInjection\Loader\PhpFileLoader $loader, \RectorPrefix20220520\Symfony\Component\DependencyInjection\Definition $defaults, string $namespace, string $resource, bool $allowParent) { - $definition = new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Definition(); + $definition = new \RectorPrefix20220520\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 efde4ea016f..05977204a7c 100644 --- a/vendor/symfony/dependency-injection/Loader/Configurator/ReferenceConfigurator.php +++ b/vendor/symfony/dependency-injection/Loader/Configurator/ReferenceConfigurator.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 RectorPrefix20220519\Symfony\Component\DependencyInjection\Loader\Configurator; +namespace RectorPrefix20220520\Symfony\Component\DependencyInjection\Loader\Configurator; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerInterface; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\ContainerInterface; /** * @author Nicolas Grekas */ -class ReferenceConfigurator extends \RectorPrefix20220519\Symfony\Component\DependencyInjection\Loader\Configurator\AbstractConfigurator +class ReferenceConfigurator extends \RectorPrefix20220520\Symfony\Component\DependencyInjection\Loader\Configurator\AbstractConfigurator { /** @internal * @var string */ protected $id; /** @internal * @var int */ - protected $invalidBehavior = \RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerInterface::EXCEPTION_ON_INVALID_REFERENCE; + protected $invalidBehavior = \RectorPrefix20220520\Symfony\Component\DependencyInjection\ContainerInterface::EXCEPTION_ON_INVALID_REFERENCE; public function __construct(string $id) { $this->id = $id; @@ -31,7 +31,7 @@ class ReferenceConfigurator extends \RectorPrefix20220519\Symfony\Component\Depe */ public final function ignoreOnInvalid() { - $this->invalidBehavior = \RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerInterface::IGNORE_ON_INVALID_REFERENCE; + $this->invalidBehavior = \RectorPrefix20220520\Symfony\Component\DependencyInjection\ContainerInterface::IGNORE_ON_INVALID_REFERENCE; return $this; } /** @@ -39,7 +39,7 @@ class ReferenceConfigurator extends \RectorPrefix20220519\Symfony\Component\Depe */ public final function nullOnInvalid() { - $this->invalidBehavior = \RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerInterface::NULL_ON_INVALID_REFERENCE; + $this->invalidBehavior = \RectorPrefix20220520\Symfony\Component\DependencyInjection\ContainerInterface::NULL_ON_INVALID_REFERENCE; return $this; } /** @@ -47,7 +47,7 @@ class ReferenceConfigurator extends \RectorPrefix20220519\Symfony\Component\Depe */ public final function ignoreOnUninitialized() { - $this->invalidBehavior = \RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerInterface::IGNORE_ON_UNINITIALIZED_REFERENCE; + $this->invalidBehavior = \RectorPrefix20220520\Symfony\Component\DependencyInjection\ContainerInterface::IGNORE_ON_UNINITIALIZED_REFERENCE; return $this; } public function __toString() : string diff --git a/vendor/symfony/dependency-injection/Loader/Configurator/ServiceConfigurator.php b/vendor/symfony/dependency-injection/Loader/Configurator/ServiceConfigurator.php index 830474e6f42..7ba6e578606 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 RectorPrefix20220519\Symfony\Component\DependencyInjection\Loader\Configurator; +namespace RectorPrefix20220520\Symfony\Component\DependencyInjection\Loader\Configurator; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerBuilder; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Definition; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\ContainerBuilder; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Definition; /** * @author Nicolas Grekas */ -class ServiceConfigurator extends \RectorPrefix20220519\Symfony\Component\DependencyInjection\Loader\Configurator\AbstractServiceConfigurator +class ServiceConfigurator extends \RectorPrefix20220520\Symfony\Component\DependencyInjection\Loader\Configurator\AbstractServiceConfigurator { use Traits\AbstractTrait; use Traits\ArgumentTrait; @@ -54,7 +54,7 @@ class ServiceConfigurator extends \RectorPrefix20220519\Symfony\Component\Depend * @var bool */ private $destructed = \false; - public function __construct(\RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerBuilder $container, array $instanceof, bool $allowParent, \RectorPrefix20220519\Symfony\Component\DependencyInjection\Loader\Configurator\ServicesConfigurator $parent, \RectorPrefix20220519\Symfony\Component\DependencyInjection\Definition $definition, ?string $id, array $defaultTags, string $path = null) + public function __construct(\RectorPrefix20220520\Symfony\Component\DependencyInjection\ContainerBuilder $container, array $instanceof, bool $allowParent, \RectorPrefix20220520\Symfony\Component\DependencyInjection\Loader\Configurator\ServicesConfigurator $parent, \RectorPrefix20220520\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 7d59b018cdb..3b38d95d4a4 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 RectorPrefix20220519\Symfony\Component\DependencyInjection\Loader\Configurator; +namespace RectorPrefix20220520\Symfony\Component\DependencyInjection\Loader\Configurator; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Alias; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\ChildDefinition; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerBuilder; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Definition; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Loader\PhpFileLoader; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Alias; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\ChildDefinition; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\ContainerBuilder; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Definition; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Loader\PhpFileLoader; /** * @author Nicolas Grekas */ -class ServicesConfigurator extends \RectorPrefix20220519\Symfony\Component\DependencyInjection\Loader\Configurator\AbstractConfigurator +class ServicesConfigurator extends \RectorPrefix20220520\Symfony\Component\DependencyInjection\Loader\Configurator\AbstractConfigurator { public const FACTORY = 'services'; private $defaults; @@ -42,31 +42,31 @@ class ServicesConfigurator extends \RectorPrefix20220519\Symfony\Component\Depen * @var int */ private $anonymousCount; - public function __construct(\RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerBuilder $container, \RectorPrefix20220519\Symfony\Component\DependencyInjection\Loader\PhpFileLoader $loader, array &$instanceof, string $path = null, int &$anonymousCount = 0) + public function __construct(\RectorPrefix20220520\Symfony\Component\DependencyInjection\ContainerBuilder $container, \RectorPrefix20220520\Symfony\Component\DependencyInjection\Loader\PhpFileLoader $loader, array &$instanceof, string $path = null, int &$anonymousCount = 0) { - $this->defaults = new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Definition(); + $this->defaults = new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Definition(); $this->container = $container; $this->loader = $loader; $this->instanceof =& $instanceof; $this->path = $path; - $this->anonymousHash = \RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerBuilder::hash($path ?: \mt_rand()); + $this->anonymousHash = \RectorPrefix20220520\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() : \RectorPrefix20220519\Symfony\Component\DependencyInjection\Loader\Configurator\DefaultsConfigurator + public final function defaults() : \RectorPrefix20220520\Symfony\Component\DependencyInjection\Loader\Configurator\DefaultsConfigurator { - return new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Loader\Configurator\DefaultsConfigurator($this, $this->defaults = new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Definition(), $this->path); + return new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Loader\Configurator\DefaultsConfigurator($this, $this->defaults = new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Definition(), $this->path); } /** * Defines an instanceof-conditional to be applied to following service definitions. */ - public final function instanceof(string $fqcn) : \RectorPrefix20220519\Symfony\Component\DependencyInjection\Loader\Configurator\InstanceofConfigurator + public final function instanceof(string $fqcn) : \RectorPrefix20220520\Symfony\Component\DependencyInjection\Loader\Configurator\InstanceofConfigurator { - $this->instanceof[$fqcn] = $definition = new \RectorPrefix20220519\Symfony\Component\DependencyInjection\ChildDefinition(''); - return new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Loader\Configurator\InstanceofConfigurator($this, $definition, $fqcn, $this->path); + $this->instanceof[$fqcn] = $definition = new \RectorPrefix20220520\Symfony\Component\DependencyInjection\ChildDefinition(''); + return new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Loader\Configurator\InstanceofConfigurator($this, $definition, $fqcn, $this->path); } /** * Registers a service. @@ -77,7 +77,7 @@ class ServicesConfigurator extends \RectorPrefix20220519\Symfony\Component\Depen public function set(?string $id, string $class = null) : \Rector\Core\DependencyInjection\Loader\Configurator\RectorServiceConfigurator { $defaults = $this->defaults; - $definition = new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Definition(); + $definition = new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Definition(); if (null === $id) { if (!$class) { throw new \LogicException('Anonymous services must have a class name.'); @@ -108,42 +108,42 @@ class ServicesConfigurator extends \RectorPrefix20220519\Symfony\Component\Depen /** * Creates an alias. */ - public final function alias(string $id, string $referencedId) : \RectorPrefix20220519\Symfony\Component\DependencyInjection\Loader\Configurator\AliasConfigurator + public final function alias(string $id, string $referencedId) : \RectorPrefix20220520\Symfony\Component\DependencyInjection\Loader\Configurator\AliasConfigurator { $ref = static::processValue($referencedId, \true); - $alias = new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Alias((string) $ref); + $alias = new \RectorPrefix20220520\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 \RectorPrefix20220519\Symfony\Component\DependencyInjection\Loader\Configurator\AliasConfigurator($this, $alias); + return new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Loader\Configurator\AliasConfigurator($this, $alias); } /** * Registers a PSR-4 namespace using a glob pattern. */ - public final function load(string $namespace, string $resource) : \RectorPrefix20220519\Symfony\Component\DependencyInjection\Loader\Configurator\PrototypeConfigurator + public final function load(string $namespace, string $resource) : \RectorPrefix20220520\Symfony\Component\DependencyInjection\Loader\Configurator\PrototypeConfigurator { - return new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Loader\Configurator\PrototypeConfigurator($this, $this->loader, $this->defaults, $namespace, $resource, \true); + return new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Loader\Configurator\PrototypeConfigurator($this, $this->loader, $this->defaults, $namespace, $resource, \true); } /** * Gets an already defined service definition. * * @throws ServiceNotFoundException if the service definition does not exist */ - public final function get(string $id) : \RectorPrefix20220519\Symfony\Component\DependencyInjection\Loader\Configurator\ServiceConfigurator + public final function get(string $id) : \RectorPrefix20220520\Symfony\Component\DependencyInjection\Loader\Configurator\ServiceConfigurator { $definition = $this->container->getDefinition($id); - return new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Loader\Configurator\ServiceConfigurator($this->container, $definition->getInstanceofConditionals(), \true, $this, $definition, $id, []); + return new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Loader\Configurator\ServiceConfigurator($this->container, $definition->getInstanceofConditionals(), \true, $this, $definition, $id, []); } /** * Registers a stack of decorator services. * * @param InlineServiceConfigurator[]|ReferenceConfigurator[] $services */ - public final function stack(string $id, array $services) : \RectorPrefix20220519\Symfony\Component\DependencyInjection\Loader\Configurator\AliasConfigurator + public final function stack(string $id, array $services) : \RectorPrefix20220520\Symfony\Component\DependencyInjection\Loader\Configurator\AliasConfigurator { foreach ($services as $i => $service) { - if ($service instanceof \RectorPrefix20220519\Symfony\Component\DependencyInjection\Loader\Configurator\InlineServiceConfigurator) { + if ($service instanceof \RectorPrefix20220520\Symfony\Component\DependencyInjection\Loader\Configurator\InlineServiceConfigurator) { $definition = $service->definition->setInstanceofConditionals($this->instanceof); $changes = $definition->getChanges(); $definition->setAutowired((isset($changes['autowired']) ? $definition : $this->defaults)->isAutowired()); @@ -151,8 +151,8 @@ class ServicesConfigurator extends \RectorPrefix20220519\Symfony\Component\Depen $definition->setBindings(\array_merge($this->defaults->getBindings(), $definition->getBindings())); $definition->setChanges($changes); $services[$i] = $definition; - } elseif (!$service instanceof \RectorPrefix20220519\Symfony\Component\DependencyInjection\Loader\Configurator\ReferenceConfigurator) { - throw new \RectorPrefix20220519\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__, \RectorPrefix20220519\Symfony\Component\DependencyInjection\Loader\Configurator\InlineServiceConfigurator::FACTORY, \RectorPrefix20220519\Symfony\Component\DependencyInjection\Loader\Configurator\ReferenceConfigurator::FACTORY, $service instanceof \RectorPrefix20220519\Symfony\Component\DependencyInjection\Loader\Configurator\AbstractConfigurator ? $service::FACTORY . '()' : \get_debug_type($service), $i, $id)); + } elseif (!$service instanceof \RectorPrefix20220520\Symfony\Component\DependencyInjection\Loader\Configurator\ReferenceConfigurator) { + throw new \RectorPrefix20220520\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__, \RectorPrefix20220520\Symfony\Component\DependencyInjection\Loader\Configurator\InlineServiceConfigurator::FACTORY, \RectorPrefix20220520\Symfony\Component\DependencyInjection\Loader\Configurator\ReferenceConfigurator::FACTORY, $service instanceof \RectorPrefix20220520\Symfony\Component\DependencyInjection\Loader\Configurator\AbstractConfigurator ? $service::FACTORY . '()' : \get_debug_type($service), $i, $id)); } } $alias = $this->alias($id, ''); @@ -162,7 +162,7 @@ class ServicesConfigurator extends \RectorPrefix20220519\Symfony\Component\Depen /** * Registers a service. */ - public final function __invoke(string $id, string $class = null) : \RectorPrefix20220519\Symfony\Component\DependencyInjection\Loader\Configurator\ServiceConfigurator + public final function __invoke(string $id, string $class = null) : \RectorPrefix20220520\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 fe5ad326d32..71a9cff3c29 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 RectorPrefix20220519\Symfony\Component\DependencyInjection\Loader\Configurator\Traits; +namespace RectorPrefix20220520\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 7d234b14fd1..241c643c438 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 RectorPrefix20220519\Symfony\Component\DependencyInjection\Loader\Configurator\Traits; +namespace RectorPrefix20220520\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 5a674d3a297..5af98e18f8f 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 RectorPrefix20220519\Symfony\Component\DependencyInjection\Loader\Configurator\Traits; +namespace RectorPrefix20220520\Symfony\Component\DependencyInjection\Loader\Configurator\Traits; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException; +use RectorPrefix20220520\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 e7848aca947..bfed1a75ec5 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 RectorPrefix20220519\Symfony\Component\DependencyInjection\Loader\Configurator\Traits; +namespace RectorPrefix20220520\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 aabe36da16f..6db46a53682 100644 --- a/vendor/symfony/dependency-injection/Loader/Configurator/Traits/BindTrait.php +++ b/vendor/symfony/dependency-injection/Loader/Configurator/Traits/BindTrait.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 RectorPrefix20220519\Symfony\Component\DependencyInjection\Loader\Configurator\Traits; +namespace RectorPrefix20220520\Symfony\Component\DependencyInjection\Loader\Configurator\Traits; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Argument\BoundArgument; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Loader\Configurator\DefaultsConfigurator; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Loader\Configurator\InstanceofConfigurator; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Argument\BoundArgument; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Loader\Configurator\DefaultsConfigurator; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Loader\Configurator\InstanceofConfigurator; trait BindTrait { /** @@ -31,8 +31,8 @@ trait BindTrait { $valueOrRef = static::processValue($valueOrRef, \true); $bindings = $this->definition->getBindings(); - $type = $this instanceof \RectorPrefix20220519\Symfony\Component\DependencyInjection\Loader\Configurator\DefaultsConfigurator ? \RectorPrefix20220519\Symfony\Component\DependencyInjection\Argument\BoundArgument::DEFAULTS_BINDING : ($this instanceof \RectorPrefix20220519\Symfony\Component\DependencyInjection\Loader\Configurator\InstanceofConfigurator ? \RectorPrefix20220519\Symfony\Component\DependencyInjection\Argument\BoundArgument::INSTANCEOF_BINDING : \RectorPrefix20220519\Symfony\Component\DependencyInjection\Argument\BoundArgument::SERVICE_BINDING); - $bindings[$nameOrFqcn] = new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Argument\BoundArgument($valueOrRef, \true, $type, $this->path ?? null); + $type = $this instanceof \RectorPrefix20220520\Symfony\Component\DependencyInjection\Loader\Configurator\DefaultsConfigurator ? \RectorPrefix20220520\Symfony\Component\DependencyInjection\Argument\BoundArgument::DEFAULTS_BINDING : ($this instanceof \RectorPrefix20220520\Symfony\Component\DependencyInjection\Loader\Configurator\InstanceofConfigurator ? \RectorPrefix20220520\Symfony\Component\DependencyInjection\Argument\BoundArgument::INSTANCEOF_BINDING : \RectorPrefix20220520\Symfony\Component\DependencyInjection\Argument\BoundArgument::SERVICE_BINDING); + $bindings[$nameOrFqcn] = new \RectorPrefix20220520\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 b29ea231740..ffd852934ad 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 RectorPrefix20220519\Symfony\Component\DependencyInjection\Loader\Configurator\Traits; +namespace RectorPrefix20220520\Symfony\Component\DependencyInjection\Loader\Configurator\Traits; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException; +use RectorPrefix20220520\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 d627b4f0ba0..f733f448077 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 RectorPrefix20220519\Symfony\Component\DependencyInjection\Loader\Configurator\Traits; +namespace RectorPrefix20220520\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 aeaed2e69cd..36ac341bc69 100644 --- a/vendor/symfony/dependency-injection/Loader/Configurator/Traits/ConfiguratorTrait.php +++ b/vendor/symfony/dependency-injection/Loader/Configurator/Traits/ConfiguratorTrait.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 RectorPrefix20220519\Symfony\Component\DependencyInjection\Loader\Configurator\Traits; +namespace RectorPrefix20220520\Symfony\Component\DependencyInjection\Loader\Configurator\Traits; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Loader\Configurator\ReferenceConfigurator; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Loader\Configurator\ReferenceConfigurator; 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 6ae8675adc3..4cc768673ed 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 RectorPrefix20220519\Symfony\Component\DependencyInjection\Loader\Configurator\Traits; +namespace RectorPrefix20220520\Symfony\Component\DependencyInjection\Loader\Configurator\Traits; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerInterface; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\ContainerInterface; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException; trait DecorateTrait { /** @@ -23,7 +23,7 @@ trait DecorateTrait * * @throws InvalidArgumentException in case the decorated service id and the new decorated service id are equals */ - public final function decorate(?string $id, string $renamedId = null, int $priority = 0, int $invalidBehavior = \RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerInterface::EXCEPTION_ON_INVALID_REFERENCE) + public final function decorate(?string $id, string $renamedId = null, int $priority = 0, int $invalidBehavior = \RectorPrefix20220520\Symfony\Component\DependencyInjection\ContainerInterface::EXCEPTION_ON_INVALID_REFERENCE) { $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 f2d6666802f..d89c3c9e1c8 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 RectorPrefix20220519\Symfony\Component\DependencyInjection\Loader\Configurator\Traits; +namespace RectorPrefix20220520\Symfony\Component\DependencyInjection\Loader\Configurator\Traits; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException; +use RectorPrefix20220520\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 02541d107b9..c51978cc235 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 RectorPrefix20220519\Symfony\Component\DependencyInjection\Loader\Configurator\Traits; +namespace RectorPrefix20220520\Symfony\Component\DependencyInjection\Loader\Configurator\Traits; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Loader\Configurator\ReferenceConfigurator; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Loader\Configurator\ReferenceConfigurator; trait FactoryTrait { /** @@ -24,7 +24,7 @@ trait FactoryTrait { if (\is_string($factory) && 1 === \substr_count($factory, ':')) { $factoryParts = \explode(':', $factory); - throw new \RectorPrefix20220519\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 \RectorPrefix20220520\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 624d793177f..08f6ed8d364 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 RectorPrefix20220519\Symfony\Component\DependencyInjection\Loader\Configurator\Traits; +namespace RectorPrefix20220520\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 3fe8a1b2571..4b7cd4e8b89 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 RectorPrefix20220519\Symfony\Component\DependencyInjection\Loader\Configurator\Traits; +namespace RectorPrefix20220520\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 e73edbaf105..2c0c382e3a6 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 RectorPrefix20220519\Symfony\Component\DependencyInjection\Loader\Configurator\Traits; +namespace RectorPrefix20220520\Symfony\Component\DependencyInjection\Loader\Configurator\Traits; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\ChildDefinition; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\ChildDefinition; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException; trait ParentTrait { /** @@ -24,9 +24,9 @@ trait ParentTrait public final function parent(string $parent) { if (!$this->allowParent) { - throw new \RectorPrefix20220519\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 \RectorPrefix20220520\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 \RectorPrefix20220519\Symfony\Component\DependencyInjection\ChildDefinition) { + if ($this->definition instanceof \RectorPrefix20220520\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 11e59bcb6a1..781403ffe7b 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 RectorPrefix20220519\Symfony\Component\DependencyInjection\Loader\Configurator\Traits; +namespace RectorPrefix20220520\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 687c1f5072d..b53d4f12594 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 RectorPrefix20220519\Symfony\Component\DependencyInjection\Loader\Configurator\Traits; +namespace RectorPrefix20220520\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 082a546a0ed..7402a39a9d2 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 RectorPrefix20220519\Symfony\Component\DependencyInjection\Loader\Configurator\Traits; +namespace RectorPrefix20220520\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 beefbe511a9..121cad2d074 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 RectorPrefix20220519\Symfony\Component\DependencyInjection\Loader\Configurator\Traits; +namespace RectorPrefix20220520\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 8bbc93803d2..3ee4b25cd75 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 RectorPrefix20220519\Symfony\Component\DependencyInjection\Loader\Configurator\Traits; +namespace RectorPrefix20220520\Symfony\Component\DependencyInjection\Loader\Configurator\Traits; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException; trait TagTrait { /** @@ -21,11 +21,11 @@ trait TagTrait public final function tag(string $name, array $attributes = []) { if ('' === $name) { - throw new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('The tag name for service "%s" must be a non-empty string.', $this->id)); + throw new \RectorPrefix20220520\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 \RectorPrefix20220519\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 \RectorPrefix20220520\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 716ac1ce02d..5e7f419e7ac 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 RectorPrefix20220519\Symfony\Component\DependencyInjection\Loader; +namespace RectorPrefix20220520\Symfony\Component\DependencyInjection\Loader; /** * DirectoryLoader is a recursive loader to go through directories. * * @author Sebastien Lavoie */ -class DirectoryLoader extends \RectorPrefix20220519\Symfony\Component\DependencyInjection\Loader\FileLoader +class DirectoryLoader extends \RectorPrefix20220520\Symfony\Component\DependencyInjection\Loader\FileLoader { /** * {@inheritdoc} diff --git a/vendor/symfony/dependency-injection/Loader/FileLoader.php b/vendor/symfony/dependency-injection/Loader/FileLoader.php index 992c8f84ea6..0210fc10d1a 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 RectorPrefix20220519\Symfony\Component\DependencyInjection\Loader; +namespace RectorPrefix20220520\Symfony\Component\DependencyInjection\Loader; -use RectorPrefix20220519\Symfony\Component\Config\Exception\FileLocatorFileNotFoundException; -use RectorPrefix20220519\Symfony\Component\Config\Exception\LoaderLoadException; -use RectorPrefix20220519\Symfony\Component\Config\FileLocatorInterface; -use RectorPrefix20220519\Symfony\Component\Config\Loader\FileLoader as BaseFileLoader; -use RectorPrefix20220519\Symfony\Component\Config\Loader\Loader; -use RectorPrefix20220519\Symfony\Component\Config\Resource\GlobResource; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Attribute\When; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\ChildDefinition; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Compiler\RegisterAutoconfigureAttributesPass; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerBuilder; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Definition; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException; +use RectorPrefix20220520\Symfony\Component\Config\Exception\FileLocatorFileNotFoundException; +use RectorPrefix20220520\Symfony\Component\Config\Exception\LoaderLoadException; +use RectorPrefix20220520\Symfony\Component\Config\FileLocatorInterface; +use RectorPrefix20220520\Symfony\Component\Config\Loader\FileLoader as BaseFileLoader; +use RectorPrefix20220520\Symfony\Component\Config\Loader\Loader; +use RectorPrefix20220520\Symfony\Component\Config\Resource\GlobResource; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Attribute\When; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\ChildDefinition; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Compiler\RegisterAutoconfigureAttributesPass; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\ContainerBuilder; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Definition; +use RectorPrefix20220520\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 \RectorPrefix20220519\Symfony\Component\Config\Loader\FileLoader +abstract class FileLoader extends \RectorPrefix20220520\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 \RectorPrefix20220519\Symfony\Component\Config protected $interfaces = []; protected $singlyImplemented = []; protected $autoRegisterAliasesForSinglyImplementedInterfaces = \true; - public function __construct(\RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerBuilder $container, \RectorPrefix20220519\Symfony\Component\Config\FileLocatorInterface $locator, string $env = null) + public function __construct(\RectorPrefix20220520\Symfony\Component\DependencyInjection\ContainerBuilder $container, \RectorPrefix20220520\Symfony\Component\Config\FileLocatorInterface $locator, string $env = null) { $this->container = $container; parent::__construct($locator, $env); @@ -58,12 +58,12 @@ abstract class FileLoader extends \RectorPrefix20220519\Symfony\Component\Config } try { return parent::import(...$args); - } catch (\RectorPrefix20220519\Symfony\Component\Config\Exception\LoaderLoadException $e) { - if (!$ignoreNotFound || !($prev = $e->getPrevious()) instanceof \RectorPrefix20220519\Symfony\Component\Config\Exception\FileLocatorFileNotFoundException) { + } catch (\RectorPrefix20220520\Symfony\Component\Config\Exception\LoaderLoadException $e) { + if (!$ignoreNotFound || !($prev = $e->getPrevious()) instanceof \RectorPrefix20220520\Symfony\Component\Config\Exception\FileLocatorFileNotFoundException) { throw $e; } foreach ($prev->getTrace() as $frame) { - if ('import' === ($frame['function'] ?? null) && \is_a($frame['class'] ?? '', \RectorPrefix20220519\Symfony\Component\Config\Loader\Loader::class, \true)) { + if ('import' === ($frame['function'] ?? null) && \is_a($frame['class'] ?? '', \RectorPrefix20220520\Symfony\Component\Config\Loader\Loader::class, \true)) { break; } } @@ -81,15 +81,15 @@ abstract class FileLoader extends \RectorPrefix20220519\Symfony\Component\Config * @param string $resource The directory to look for classes, glob-patterns allowed * @param string|mixed[] $exclude A globbed path of files to exclude or an array of globbed paths of files to exclude */ - public function registerClasses(\RectorPrefix20220519\Symfony\Component\DependencyInjection\Definition $prototype, string $namespace, string $resource, $exclude = null) + public function registerClasses(\RectorPrefix20220520\Symfony\Component\DependencyInjection\Definition $prototype, string $namespace, string $resource, $exclude = null) { if (\substr_compare($namespace, '\\', -\strlen('\\')) !== 0) { - throw new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('Namespace prefix must end with a "\\": "%s".', $namespace)); + throw new \RectorPrefix20220520\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 \RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('Namespace is not a valid PSR-4 prefix: "%s".', $namespace)); + throw new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('Namespace is not a valid PSR-4 prefix: "%s".', $namespace)); } - $autoconfigureAttributes = new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Compiler\RegisterAutoconfigureAttributesPass(); + $autoconfigureAttributes = new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Compiler\RegisterAutoconfigureAttributesPass(); $autoconfigureAttributes = $autoconfigureAttributes->accept($prototype) ? $autoconfigureAttributes : null; $classes = $this->findClasses($namespace, $resource, (array) $exclude, $autoconfigureAttributes); // prepare for deep cloning @@ -98,7 +98,7 @@ abstract class FileLoader extends \RectorPrefix20220519\Symfony\Component\Config if (null === $errorMessage && $autoconfigureAttributes && $this->env) { $r = $this->container->getReflectionClass($class); $attribute = null; - foreach ($r->getAttributes(\RectorPrefix20220519\Symfony\Component\DependencyInjection\Attribute\When::class) as $attribute) { + foreach ($r->getAttributes(\RectorPrefix20220520\Symfony\Component\DependencyInjection\Attribute\When::class) as $attribute) { if ($this->env === $attribute->newInstance()->env) { $attribute = null; break; @@ -137,19 +137,19 @@ abstract class FileLoader extends \RectorPrefix20220519\Symfony\Component\Config /** * Registers a definition in the container with its instanceof-conditionals. */ - protected function setDefinition(string $id, \RectorPrefix20220519\Symfony\Component\DependencyInjection\Definition $definition) + protected function setDefinition(string $id, \RectorPrefix20220520\Symfony\Component\DependencyInjection\Definition $definition) { $this->container->removeBindings($id); if ($this->isLoadingInstanceof) { - if (!$definition instanceof \RectorPrefix20220519\Symfony\Component\DependencyInjection\ChildDefinition) { - throw new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('Invalid type definition "%s": ChildDefinition expected, "%s" given.', $id, \get_debug_type($definition))); + if (!$definition instanceof \RectorPrefix20220520\Symfony\Component\DependencyInjection\ChildDefinition) { + throw new \RectorPrefix20220520\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, ?\RectorPrefix20220519\Symfony\Component\DependencyInjection\Compiler\RegisterAutoconfigureAttributesPass $autoconfigureAttributes) : array + private function findClasses(string $namespace, string $pattern, array $excludePatterns, ?\RectorPrefix20220520\Symfony\Component\DependencyInjection\Compiler\RegisterAutoconfigureAttributesPass $autoconfigureAttributes) : array { $parameterBag = $this->container->getParameterBag(); $excludePaths = []; @@ -172,7 +172,7 @@ abstract class FileLoader extends \RectorPrefix20220519\Symfony\Component\Config if (null === $prefixLen) { $prefixLen = \strlen($resource->getPrefix()); if ($excludePrefix && \strncmp($excludePrefix, $resource->getPrefix(), \strlen($resource->getPrefix())) !== 0) { - throw new \RectorPrefix20220519\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 \RectorPrefix20220520\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)])) { @@ -193,7 +193,7 @@ abstract class FileLoader extends \RectorPrefix20220519\Symfony\Component\Config } // check to make sure the expected class exists if (!$r) { - throw new \RectorPrefix20220519\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 \RectorPrefix20220520\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; @@ -203,7 +203,7 @@ abstract class FileLoader extends \RectorPrefix20220519\Symfony\Component\Config } } // track only for new & removed files - if ($resource instanceof \RectorPrefix20220519\Symfony\Component\Config\Resource\GlobResource) { + if ($resource instanceof \RectorPrefix20220520\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 372dc1951b0..4277fb976a3 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 RectorPrefix20220519\Symfony\Component\DependencyInjection\Loader; +namespace RectorPrefix20220520\Symfony\Component\DependencyInjection\Loader; /** * GlobFileLoader loads files from a glob pattern. * * @author Nicolas Grekas */ -class GlobFileLoader extends \RectorPrefix20220519\Symfony\Component\DependencyInjection\Loader\FileLoader +class GlobFileLoader extends \RectorPrefix20220520\Symfony\Component\DependencyInjection\Loader\FileLoader { /** * {@inheritdoc} diff --git a/vendor/symfony/dependency-injection/Loader/IniFileLoader.php b/vendor/symfony/dependency-injection/Loader/IniFileLoader.php index cfa01a78765..bccfc2301cb 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 RectorPrefix20220519\Symfony\Component\DependencyInjection\Loader; +namespace RectorPrefix20220520\Symfony\Component\DependencyInjection\Loader; -use RectorPrefix20220519\Symfony\Component\Config\Util\XmlUtils; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException; +use RectorPrefix20220520\Symfony\Component\Config\Util\XmlUtils; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException; /** * IniFileLoader loads parameters from INI files. * * @author Fabien Potencier */ -class IniFileLoader extends \RectorPrefix20220519\Symfony\Component\DependencyInjection\Loader\FileLoader +class IniFileLoader extends \RectorPrefix20220520\Symfony\Component\DependencyInjection\Loader\FileLoader { /** * {@inheritdoc} @@ -31,7 +31,7 @@ class IniFileLoader extends \RectorPrefix20220519\Symfony\Component\DependencyIn // first pass to catch parsing errors $result = \parse_ini_file($path, \true); if (\false === $result || [] === $result) { - throw new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('The "%s" file is not valid.', $resource)); + throw new \RectorPrefix20220520\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); @@ -85,7 +85,7 @@ class IniFileLoader extends \RectorPrefix20220519\Symfony\Component\DependencyIn // quoted string return \substr($value, 1, -1); default: - return \RectorPrefix20220519\Symfony\Component\Config\Util\XmlUtils::phpize($value); + return \RectorPrefix20220520\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 80f45513528..cf02c724597 100644 --- a/vendor/symfony/dependency-injection/Loader/PhpFileLoader.php +++ b/vendor/symfony/dependency-injection/Loader/PhpFileLoader.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 RectorPrefix20220519\Symfony\Component\DependencyInjection\Loader; +namespace RectorPrefix20220520\Symfony\Component\DependencyInjection\Loader; use Rector\Config\RectorConfig; -use RectorPrefix20220519\Symfony\Component\Config\Builder\ConfigBuilderGenerator; -use RectorPrefix20220519\Symfony\Component\Config\Builder\ConfigBuilderGeneratorInterface; -use RectorPrefix20220519\Symfony\Component\Config\Builder\ConfigBuilderInterface; -use RectorPrefix20220519\Symfony\Component\Config\FileLocatorInterface; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Attribute\When; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Container; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerBuilder; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Extension\ConfigurationExtensionInterface; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Extension\ExtensionInterface; +use RectorPrefix20220520\Symfony\Component\Config\Builder\ConfigBuilderGenerator; +use RectorPrefix20220520\Symfony\Component\Config\Builder\ConfigBuilderGeneratorInterface; +use RectorPrefix20220520\Symfony\Component\Config\Builder\ConfigBuilderInterface; +use RectorPrefix20220520\Symfony\Component\Config\FileLocatorInterface; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Attribute\When; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Container; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\ContainerBuilder; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Extension\ConfigurationExtensionInterface; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Extension\ExtensionInterface; use Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator; /** * PhpFileLoader loads service definitions from a PHP file. @@ -30,11 +30,11 @@ use Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigura * * @author Fabien Potencier */ -class PhpFileLoader extends \RectorPrefix20220519\Symfony\Component\DependencyInjection\Loader\FileLoader +class PhpFileLoader extends \RectorPrefix20220520\Symfony\Component\DependencyInjection\Loader\FileLoader { protected $autoRegisterAliasesForSinglyImplementedInterfaces = \false; private $generator; - public function __construct(\RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerBuilder $container, \RectorPrefix20220519\Symfony\Component\Config\FileLocatorInterface $locator, string $env = null, \RectorPrefix20220519\Symfony\Component\Config\Builder\ConfigBuilderGeneratorInterface $generator = null) + public function __construct(\RectorPrefix20220520\Symfony\Component\DependencyInjection\ContainerBuilder $container, \RectorPrefix20220520\Symfony\Component\Config\FileLocatorInterface $locator, string $env = null, \RectorPrefix20220520\Symfony\Component\Config\Builder\ConfigBuilderGeneratorInterface $generator = null) { parent::__construct($container, $locator, $env); $this->generator = $generator; @@ -55,7 +55,7 @@ class PhpFileLoader extends \RectorPrefix20220519\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, \RectorPrefix20220519\Symfony\Component\DependencyInjection\Loader\ProtectedPhpFileLoader::class); + }, $this, \RectorPrefix20220520\Symfony\Component\DependencyInjection\Loader\ProtectedPhpFileLoader::class); try { $callback = $load($path, $this->env); if (\is_object($callback) && \is_callable($callback)) { @@ -93,7 +93,7 @@ class PhpFileLoader extends \RectorPrefix20220519\Symfony\Component\DependencyIn $configBuilders = []; $r = new \ReflectionFunction($callback); $attribute = null; - foreach (\method_exists($r, 'getAttributes') ? $r->getAttributes(\RectorPrefix20220519\Symfony\Component\DependencyInjection\Attribute\When::class) : [] as $attribute) { + foreach (\method_exists($r, 'getAttributes') ? $r->getAttributes(\RectorPrefix20220520\Symfony\Component\DependencyInjection\Attribute\When::class) : [] as $attribute) { if ($this->env === $attribute->newInstance()->env) { $attribute = null; break; @@ -105,7 +105,7 @@ class PhpFileLoader extends \RectorPrefix20220519\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, \RectorPrefix20220519\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, \RectorPrefix20220520\Symfony\Component\DependencyInjection\ContainerBuilder::class)); } $type = $reflectionType->getName(); switch ($type) { @@ -115,17 +115,17 @@ class PhpFileLoader extends \RectorPrefix20220519\Symfony\Component\DependencyIn case \Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator::class: $arguments[] = $containerConfigurator; break; - case \RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerBuilder::class: + case \RectorPrefix20220520\Symfony\Component\DependencyInjection\ContainerBuilder::class: $arguments[] = $this->container; break; - case \RectorPrefix20220519\Symfony\Component\DependencyInjection\Loader\FileLoader::class: + case \RectorPrefix20220520\Symfony\Component\DependencyInjection\Loader\FileLoader::class: case self::class: $arguments[] = $this; break; default: try { $configBuilder = $this->configBuilder($type); - } catch (\RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException|\LogicException $e) { + } catch (\RectorPrefix20220520\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; @@ -143,36 +143,36 @@ class PhpFileLoader extends \RectorPrefix20220519\Symfony\Component\DependencyIn /** * @param string $namespace FQCN string for a class implementing ConfigBuilderInterface */ - private function configBuilder(string $namespace) : \RectorPrefix20220519\Symfony\Component\Config\Builder\ConfigBuilderInterface + private function configBuilder(string $namespace) : \RectorPrefix20220520\Symfony\Component\Config\Builder\ConfigBuilderInterface { - if (!\class_exists(\RectorPrefix20220519\Symfony\Component\Config\Builder\ConfigBuilderGenerator::class)) { + if (!\class_exists(\RectorPrefix20220520\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, \RectorPrefix20220519\Symfony\Component\Config\Builder\ConfigBuilderInterface::class)) { + if (\class_exists($namespace) && \is_subclass_of($namespace, \RectorPrefix20220520\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 \RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('Could not find or generate class "%s".', $namespace)); + throw new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('Could not find or generate class "%s".', $namespace)); } // Try to get the extension alias - $alias = \RectorPrefix20220519\Symfony\Component\DependencyInjection\Container::underscore(\substr($namespace, 15, -6)); + $alias = \RectorPrefix20220520\Symfony\Component\DependencyInjection\Container::underscore(\substr($namespace, 15, -6)); if (\false !== \strpos($alias, '\\')) { - throw new \RectorPrefix20220519\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 \RectorPrefix20220520\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 (\RectorPrefix20220519\Symfony\Component\DependencyInjection\Extension\ExtensionInterface $ext) { + $extensions = \array_filter(\array_map(function (\RectorPrefix20220520\Symfony\Component\DependencyInjection\Extension\ExtensionInterface $ext) { return $ext->getAlias(); }, $this->container->getExtensions())); - throw new \RectorPrefix20220519\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 \RectorPrefix20220520\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 \RectorPrefix20220519\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, \RectorPrefix20220519\Symfony\Component\DependencyInjection\Extension\ConfigurationExtensionInterface::class)); + if (!$extension instanceof \RectorPrefix20220520\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, \RectorPrefix20220520\Symfony\Component\DependencyInjection\Extension\ConfigurationExtensionInterface::class)); } $configuration = $extension->getConfiguration([], $this->container); $loader = $this->generator->build($configuration); @@ -182,6 +182,6 @@ class PhpFileLoader extends \RectorPrefix20220519\Symfony\Component\DependencyIn /** * @internal */ -final class ProtectedPhpFileLoader extends \RectorPrefix20220519\Symfony\Component\DependencyInjection\Loader\PhpFileLoader +final class ProtectedPhpFileLoader extends \RectorPrefix20220520\Symfony\Component\DependencyInjection\Loader\PhpFileLoader { } diff --git a/vendor/symfony/dependency-injection/Loader/XmlFileLoader.php b/vendor/symfony/dependency-injection/Loader/XmlFileLoader.php index d475200bad1..5a63c60ff74 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 RectorPrefix20220519\Symfony\Component\DependencyInjection\Loader; +namespace RectorPrefix20220520\Symfony\Component\DependencyInjection\Loader; -use RectorPrefix20220519\Symfony\Component\Config\Util\XmlUtils; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Alias; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Argument\AbstractArgument; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Argument\BoundArgument; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Argument\IteratorArgument; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Argument\ServiceClosureArgument; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Argument\ServiceLocatorArgument; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Argument\TaggedIteratorArgument; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\ChildDefinition; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerBuilder; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerInterface; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Definition; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\RuntimeException; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Extension\ExtensionInterface; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Reference; -use RectorPrefix20220519\Symfony\Component\ExpressionLanguage\Expression; +use RectorPrefix20220520\Symfony\Component\Config\Util\XmlUtils; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Alias; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Argument\AbstractArgument; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Argument\BoundArgument; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Argument\IteratorArgument; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Argument\ServiceClosureArgument; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Argument\ServiceLocatorArgument; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Argument\TaggedIteratorArgument; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\ChildDefinition; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\ContainerBuilder; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\ContainerInterface; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Definition; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\RuntimeException; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Extension\ExtensionInterface; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Reference; +use RectorPrefix20220520\Symfony\Component\ExpressionLanguage\Expression; /** * XmlFileLoader loads XML files service definitions. * * @author Fabien Potencier */ -class XmlFileLoader extends \RectorPrefix20220519\Symfony\Component\DependencyInjection\Loader\FileLoader +class XmlFileLoader extends \RectorPrefix20220520\Symfony\Component\DependencyInjection\Loader\FileLoader { public const NS = 'http://symfony.com/schema/dic/services'; protected $autoRegisterAliasesForSinglyImplementedInterfaces = \false; @@ -111,10 +111,10 @@ class XmlFileLoader extends \RectorPrefix20220519\Symfony\Component\DependencyIn $defaultDirectory = \dirname($file); foreach ($imports as $import) { $this->setCurrentDir($defaultDirectory); - $this->import($import->getAttribute('resource'), \RectorPrefix20220519\Symfony\Component\Config\Util\XmlUtils::phpize($import->getAttribute('type')) ?: null, \RectorPrefix20220519\Symfony\Component\Config\Util\XmlUtils::phpize($import->getAttribute('ignore-errors')) ?: \false, $file); + $this->import($import->getAttribute('resource'), \RectorPrefix20220520\Symfony\Component\Config\Util\XmlUtils::phpize($import->getAttribute('type')) ?: null, \RectorPrefix20220520\Symfony\Component\Config\Util\XmlUtils::phpize($import->getAttribute('ignore-errors')) ?: \false, $file); } } - private function parseDefinitions(\DOMDocument $xml, string $file, \RectorPrefix20220519\Symfony\Component\DependencyInjection\Definition $defaults, \DOMNode $root = null) + private function parseDefinitions(\DOMDocument $xml, string $file, \RectorPrefix20220520\Symfony\Component\DependencyInjection\Definition $defaults, \DOMNode $root = null) { $xpath = new \DOMXPath($xml); $xpath->registerNamespace('container', self::NS); @@ -126,7 +126,7 @@ class XmlFileLoader extends \RectorPrefix20220519\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 \RectorPrefix20220519\Symfony\Component\DependencyInjection\Definition())); + $this->setDefinition((string) $service->getAttribute('id'), $this->parseDefinition($service, $file, new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Definition())); } $this->isLoadingInstanceof = \false; foreach ($services as $service) { @@ -140,7 +140,7 @@ class XmlFileLoader extends \RectorPrefix20220519\Symfony\Component\DependencyIn $frame->setAttribute('id', $id . '" at index "' . $k); if ($alias = $frame->getAttribute('alias')) { $this->validateAlias($frame, $file); - $stack[$k] = new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Reference($alias); + $stack[$k] = new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Reference($alias); } else { $stack[$k] = $this->parseDefinition($frame, $file, $defaults)->setInstanceofConditionals($this->instanceof); } @@ -151,7 +151,7 @@ class XmlFileLoader extends \RectorPrefix20220519\Symfony\Component\DependencyIn $excludes = \array_column($this->getChildren($service, 'exclude'), 'nodeValue'); if ($service->hasAttribute('exclude')) { if (\count($excludes) > 0) { - throw new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException('You cannot use both the attribute "exclude" and tags at the same time.'); + throw new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException('You cannot use both the attribute "exclude" and tags at the same time.'); } $excludes = [$service->getAttribute('exclude')]; } @@ -162,26 +162,26 @@ class XmlFileLoader extends \RectorPrefix20220519\Symfony\Component\DependencyIn } } } - private function getServiceDefaults(\DOMDocument $xml, string $file, \DOMNode $root = null) : \RectorPrefix20220519\Symfony\Component\DependencyInjection\Definition + private function getServiceDefaults(\DOMDocument $xml, string $file, \DOMNode $root = null) : \RectorPrefix20220520\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 \RectorPrefix20220519\Symfony\Component\DependencyInjection\Definition(); + return new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Definition(); } $defaultsNode->setAttribute('id', ''); - return $this->parseDefinition($defaultsNode, $file, new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Definition()); + return $this->parseDefinition($defaultsNode, $file, new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Definition()); } /** * Parses an individual Definition. */ - private function parseDefinition(\DOMElement $service, string $file, \RectorPrefix20220519\Symfony\Component\DependencyInjection\Definition $defaults) : ?\RectorPrefix20220519\Symfony\Component\DependencyInjection\Definition + private function parseDefinition(\DOMElement $service, string $file, \RectorPrefix20220520\Symfony\Component\DependencyInjection\Definition $defaults) : ?\RectorPrefix20220520\Symfony\Component\DependencyInjection\Definition { if ($alias = $service->getAttribute('alias')) { $this->validateAlias($service, $file); - $this->container->setAlias($service->getAttribute('id'), $alias = new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Alias($alias)); + $this->container->setAlias($service->getAttribute('id'), $alias = new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Alias($alias)); if ($publicAttr = $service->getAttribute('public')) { - $alias->setPublic(\RectorPrefix20220519\Symfony\Component\Config\Util\XmlUtils::phpize($publicAttr)); + $alias->setPublic(\RectorPrefix20220520\Symfony\Component\Config\Util\XmlUtils::phpize($publicAttr)); } elseif ($defaults->getChanges()['public'] ?? \false) { $alias->setPublic($defaults->isPublic()); } @@ -190,21 +190,21 @@ class XmlFileLoader extends \RectorPrefix20220519\Symfony\Component\DependencyIn $package = $deprecated[0]->getAttribute('package') ?: ''; $version = $deprecated[0]->getAttribute('version') ?: ''; if (!$deprecated[0]->hasAttribute('package')) { - throw new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('Missing attribute "package" at node "deprecated" in "%s".', $file)); + throw new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('Missing attribute "package" at node "deprecated" in "%s".', $file)); } if (!$deprecated[0]->hasAttribute('version')) { - throw new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('Missing attribute "version" at node "deprecated" in "%s".', $file)); + throw new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('Missing attribute "version" at node "deprecated" in "%s".', $file)); } $alias->setDeprecated($package, $version, $message); } return null; } if ($this->isLoadingInstanceof) { - $definition = new \RectorPrefix20220519\Symfony\Component\DependencyInjection\ChildDefinition(''); + $definition = new \RectorPrefix20220520\Symfony\Component\DependencyInjection\ChildDefinition(''); } elseif ($parent = $service->getAttribute('parent')) { - $definition = new \RectorPrefix20220519\Symfony\Component\DependencyInjection\ChildDefinition($parent); + $definition = new \RectorPrefix20220520\Symfony\Component\DependencyInjection\ChildDefinition($parent); } else { - $definition = new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Definition(); + $definition = new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Definition(); } if ($defaults->getChanges()['public'] ?? \false) { $definition->setPublic($defaults->isPublic()); @@ -215,20 +215,20 @@ class XmlFileLoader extends \RectorPrefix20220519\Symfony\Component\DependencyIn foreach (['class', 'public', 'shared', 'synthetic', 'abstract'] as $key) { if ($value = $service->getAttribute($key)) { $method = 'set' . $key; - $definition->{$method}($value = \RectorPrefix20220519\Symfony\Component\Config\Util\XmlUtils::phpize($value)); + $definition->{$method}($value = \RectorPrefix20220520\Symfony\Component\Config\Util\XmlUtils::phpize($value)); } } if ($value = $service->getAttribute('lazy')) { - $definition->setLazy((bool) ($value = \RectorPrefix20220519\Symfony\Component\Config\Util\XmlUtils::phpize($value))); + $definition->setLazy((bool) ($value = \RectorPrefix20220520\Symfony\Component\Config\Util\XmlUtils::phpize($value))); if (\is_string($value)) { $definition->addTag('proxy', ['interface' => $value]); } } if ($value = $service->getAttribute('autowire')) { - $definition->setAutowired(\RectorPrefix20220519\Symfony\Component\Config\Util\XmlUtils::phpize($value)); + $definition->setAutowired(\RectorPrefix20220520\Symfony\Component\Config\Util\XmlUtils::phpize($value)); } if ($value = $service->getAttribute('autoconfigure')) { - $definition->setAutoconfigured(\RectorPrefix20220519\Symfony\Component\Config\Util\XmlUtils::phpize($value)); + $definition->setAutoconfigured(\RectorPrefix20220520\Symfony\Component\Config\Util\XmlUtils::phpize($value)); } if ($files = $this->getChildren($service, 'file')) { $definition->setFile($files[0]->nodeValue); @@ -238,14 +238,14 @@ class XmlFileLoader extends \RectorPrefix20220519\Symfony\Component\DependencyIn $package = $deprecated[0]->getAttribute('package') ?: ''; $version = $deprecated[0]->getAttribute('version') ?: ''; if (!$deprecated[0]->hasAttribute('package')) { - throw new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('Missing attribute "package" at node "deprecated" in "%s".', $file)); + throw new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('Missing attribute "package" at node "deprecated" in "%s".', $file)); } if (!$deprecated[0]->hasAttribute('version')) { - throw new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('Missing attribute "version" at node "deprecated" in "%s".', $file)); + throw new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('Missing attribute "version" at node "deprecated" in "%s".', $file)); } $definition->setDeprecated($package, $version, $message); } - $definition->setArguments($this->getArgumentsAsPhp($service, 'argument', $file, $definition instanceof \RectorPrefix20220519\Symfony\Component\DependencyInjection\ChildDefinition)); + $definition->setArguments($this->getArgumentsAsPhp($service, 'argument', $file, $definition instanceof \RectorPrefix20220520\Symfony\Component\DependencyInjection\ChildDefinition)); $definition->setProperties($this->getArgumentsAsPhp($service, 'property', $file)); if ($factories = $this->getChildren($service, 'factory')) { $factory = $factories[0]; @@ -253,7 +253,7 @@ class XmlFileLoader extends \RectorPrefix20220519\Symfony\Component\DependencyIn $definition->setFactory($function); } else { if ($childService = $factory->getAttribute('service')) { - $class = new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Reference($childService, \RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerInterface::EXCEPTION_ON_INVALID_REFERENCE); + $class = new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Reference($childService, \RectorPrefix20220520\Symfony\Component\DependencyInjection\ContainerInterface::EXCEPTION_ON_INVALID_REFERENCE); } else { $class = $factory->hasAttribute('class') ? $factory->getAttribute('class') : null; } @@ -266,7 +266,7 @@ class XmlFileLoader extends \RectorPrefix20220519\Symfony\Component\DependencyIn $definition->setConfigurator($function); } else { if ($childService = $configurator->getAttribute('service')) { - $class = new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Reference($childService, \RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerInterface::EXCEPTION_ON_INVALID_REFERENCE); + $class = new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Reference($childService, \RectorPrefix20220520\Symfony\Component\DependencyInjection\ContainerInterface::EXCEPTION_ON_INVALID_REFERENCE); } else { $class = $configurator->getAttribute('class'); } @@ -274,7 +274,7 @@ class XmlFileLoader extends \RectorPrefix20220519\Symfony\Component\DependencyIn } } foreach ($this->getChildren($service, 'call') as $call) { - $definition->addMethodCall($call->getAttribute('method'), $this->getArgumentsAsPhp($call, 'argument', $file), \RectorPrefix20220519\Symfony\Component\Config\Util\XmlUtils::phpize($call->getAttribute('returns-clone'))); + $definition->addMethodCall($call->getAttribute('method'), $this->getArgumentsAsPhp($call, 'argument', $file), \RectorPrefix20220520\Symfony\Component\Config\Util\XmlUtils::phpize($call->getAttribute('returns-clone'))); } $tags = $this->getChildren($service, 'tag'); foreach ($tags as $tag) { @@ -285,21 +285,21 @@ class XmlFileLoader extends \RectorPrefix20220519\Symfony\Component\DependencyIn continue; } if (\strpos($name, '-') !== \false && \strpos($name, '_') === \false && !\array_key_exists($normalizedName = \str_replace('-', '_', $name), $parameters)) { - $parameters[$normalizedName] = \RectorPrefix20220519\Symfony\Component\Config\Util\XmlUtils::phpize($node->nodeValue); + $parameters[$normalizedName] = \RectorPrefix20220520\Symfony\Component\Config\Util\XmlUtils::phpize($node->nodeValue); } // keep not normalized key - $parameters[$name] = \RectorPrefix20220519\Symfony\Component\Config\Util\XmlUtils::phpize($node->nodeValue); + $parameters[$name] = \RectorPrefix20220520\Symfony\Component\Config\Util\XmlUtils::phpize($node->nodeValue); } if ('' === $tagName && '' === ($tagName = $tag->getAttribute('name'))) { - throw new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('The tag name for service "%s" in "%s" must be a non-empty string.', $service->getAttribute('id'), $file)); + throw new \RectorPrefix20220520\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 ? \RectorPrefix20220519\Symfony\Component\DependencyInjection\Argument\BoundArgument::INSTANCEOF_BINDING : \RectorPrefix20220519\Symfony\Component\DependencyInjection\Argument\BoundArgument::SERVICE_BINDING; + $bindingType = $this->isLoadingInstanceof ? \RectorPrefix20220520\Symfony\Component\DependencyInjection\Argument\BoundArgument::INSTANCEOF_BINDING : \RectorPrefix20220520\Symfony\Component\DependencyInjection\Argument\BoundArgument::SERVICE_BINDING; foreach ($bindings as $argument => $value) { - $bindings[$argument] = new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Argument\BoundArgument($value, \true, $bindingType, $file); + $bindings[$argument] = new \RectorPrefix20220520\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); @@ -309,13 +309,13 @@ class XmlFileLoader extends \RectorPrefix20220519\Symfony\Component\DependencyIn if ($decorates = $service->getAttribute('decorates')) { $decorationOnInvalid = $service->getAttribute('decoration-on-invalid') ?: 'exception'; if ('exception' === $decorationOnInvalid) { - $invalidBehavior = \RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerInterface::EXCEPTION_ON_INVALID_REFERENCE; + $invalidBehavior = \RectorPrefix20220520\Symfony\Component\DependencyInjection\ContainerInterface::EXCEPTION_ON_INVALID_REFERENCE; } elseif ('ignore' === $decorationOnInvalid) { - $invalidBehavior = \RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerInterface::IGNORE_ON_INVALID_REFERENCE; + $invalidBehavior = \RectorPrefix20220520\Symfony\Component\DependencyInjection\ContainerInterface::IGNORE_ON_INVALID_REFERENCE; } elseif ('null' === $decorationOnInvalid) { - $invalidBehavior = \RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerInterface::NULL_ON_INVALID_REFERENCE; + $invalidBehavior = \RectorPrefix20220520\Symfony\Component\DependencyInjection\ContainerInterface::NULL_ON_INVALID_REFERENCE; } else { - throw new \RectorPrefix20220519\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)); + throw new \RectorPrefix20220520\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; @@ -331,9 +331,9 @@ class XmlFileLoader extends \RectorPrefix20220519\Symfony\Component\DependencyIn private function parseFileToDOM(string $file) : \DOMDocument { try { - $dom = \RectorPrefix20220519\Symfony\Component\Config\Util\XmlUtils::loadFile($file, [$this, 'validateSchema']); + $dom = \RectorPrefix20220520\Symfony\Component\Config\Util\XmlUtils::loadFile($file, [$this, 'validateSchema']); } catch (\InvalidArgumentException $e) { - throw new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('Unable to parse file "%s": ', $file) . $e->getMessage(), $e->getCode(), $e); + throw new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('Unable to parse file "%s": ', $file) . $e->getMessage(), $e->getCode(), $e); } $this->validateExtensions($dom, $file); return $dom; @@ -345,7 +345,7 @@ class XmlFileLoader extends \RectorPrefix20220519\Symfony\Component\DependencyIn { $definitions = []; $count = 0; - $suffix = '~' . \RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerBuilder::hash($file); + $suffix = '~' . \RectorPrefix20220520\Symfony\Component\DependencyInjection\ContainerBuilder::hash($file); $xpath = new \DOMXPath($xml); $xpath->registerNamespace('container', self::NS); // anonymous services as arguments/properties @@ -367,13 +367,13 @@ class XmlFileLoader extends \RectorPrefix20220519\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 \RectorPrefix20220519\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 \RectorPrefix20220520\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 \RectorPrefix20220519\Symfony\Component\DependencyInjection\Definition()))) { + if (null !== ($definition = $this->parseDefinition($domElement, $file, new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Definition()))) { $this->setDefinition($id, $definition); } } @@ -398,26 +398,26 @@ class XmlFileLoader extends \RectorPrefix20220519\Symfony\Component\DependencyIn $key = $arg->getAttribute('key'); } $onInvalid = $arg->getAttribute('on-invalid'); - $invalidBehavior = \RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerInterface::EXCEPTION_ON_INVALID_REFERENCE; + $invalidBehavior = \RectorPrefix20220520\Symfony\Component\DependencyInjection\ContainerInterface::EXCEPTION_ON_INVALID_REFERENCE; if ('ignore' == $onInvalid) { - $invalidBehavior = \RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerInterface::IGNORE_ON_INVALID_REFERENCE; + $invalidBehavior = \RectorPrefix20220520\Symfony\Component\DependencyInjection\ContainerInterface::IGNORE_ON_INVALID_REFERENCE; } elseif ('ignore_uninitialized' == $onInvalid) { - $invalidBehavior = \RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerInterface::IGNORE_ON_UNINITIALIZED_REFERENCE; + $invalidBehavior = \RectorPrefix20220520\Symfony\Component\DependencyInjection\ContainerInterface::IGNORE_ON_UNINITIALIZED_REFERENCE; } elseif ('null' == $onInvalid) { - $invalidBehavior = \RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerInterface::NULL_ON_INVALID_REFERENCE; + $invalidBehavior = \RectorPrefix20220520\Symfony\Component\DependencyInjection\ContainerInterface::NULL_ON_INVALID_REFERENCE; } switch ($arg->getAttribute('type')) { case 'service': if ('' === $arg->getAttribute('id')) { - throw new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('Tag "<%s>" with type="service" has no or empty "id" attribute in "%s".', $name, $file)); + throw new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('Tag "<%s>" with type="service" has no or empty "id" attribute in "%s".', $name, $file)); } - $arguments[$key] = new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Reference($arg->getAttribute('id'), $invalidBehavior); + $arguments[$key] = new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Reference($arg->getAttribute('id'), $invalidBehavior); break; case 'expression': - if (!\class_exists(\RectorPrefix20220519\Symfony\Component\ExpressionLanguage\Expression::class)) { + if (!\class_exists(\RectorPrefix20220520\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 \RectorPrefix20220519\Symfony\Component\ExpressionLanguage\Expression($arg->nodeValue); + $arguments[$key] = new \RectorPrefix20220520\Symfony\Component\ExpressionLanguage\Expression($arg->nodeValue); break; case 'collection': $arguments[$key] = $this->getArgumentsAsPhp($arg, $name, $file); @@ -425,23 +425,23 @@ class XmlFileLoader extends \RectorPrefix20220519\Symfony\Component\DependencyIn case 'iterator': $arg = $this->getArgumentsAsPhp($arg, $name, $file); try { - $arguments[$key] = new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Argument\IteratorArgument($arg); - } catch (\RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException $e) { - throw new \RectorPrefix20220519\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 \RectorPrefix20220520\Symfony\Component\DependencyInjection\Argument\IteratorArgument($arg); + } catch (\RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException $e) { + throw new \RectorPrefix20220520\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 \RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('Tag "<%s>" with type="service_closure" has no or empty "id" attribute in "%s".', $name, $file)); + throw new \RectorPrefix20220520\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 \RectorPrefix20220519\Symfony\Component\DependencyInjection\Argument\ServiceClosureArgument(new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Reference($arg->getAttribute('id'), $invalidBehavior)); + $arguments[$key] = new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Argument\ServiceClosureArgument(new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Reference($arg->getAttribute('id'), $invalidBehavior)); break; case 'service_locator': $arg = $this->getArgumentsAsPhp($arg, $name, $file); try { - $arguments[$key] = new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Argument\ServiceLocatorArgument($arg); - } catch (\RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException $e) { - throw new \RectorPrefix20220519\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 \RectorPrefix20220520\Symfony\Component\DependencyInjection\Argument\ServiceLocatorArgument($arg); + } catch (\RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException $e) { + throw new \RectorPrefix20220520\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': @@ -450,21 +450,21 @@ class XmlFileLoader extends \RectorPrefix20220519\Symfony\Component\DependencyIn $type = $arg->getAttribute('type'); $forLocator = 'tagged_locator' === $type; if (!$arg->getAttribute('tag')) { - throw new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('Tag "<%s>" with type="%s" has no or empty "tag" attribute in "%s".', $name, $type, $file)); + throw new \RectorPrefix20220520\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 \RectorPrefix20220519\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 \RectorPrefix20220520\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 \RectorPrefix20220519\Symfony\Component\DependencyInjection\Argument\ServiceLocatorArgument($arguments[$key]); + $arguments[$key] = new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Argument\ServiceLocatorArgument($arguments[$key]); } break; case 'binary': if (\false === ($value = \base64_decode($arg->nodeValue))) { - throw new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('Tag "<%s>" with type="binary" is not a valid base64 encoded string.', $name)); + throw new \RectorPrefix20220520\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 \RectorPrefix20220519\Symfony\Component\DependencyInjection\Argument\AbstractArgument($arg->nodeValue); + $arguments[$key] = new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Argument\AbstractArgument($arg->nodeValue); break; case 'string': $arguments[$key] = $arg->nodeValue; @@ -473,7 +473,7 @@ class XmlFileLoader extends \RectorPrefix20220519\Symfony\Component\DependencyIn $arguments[$key] = \constant(\trim($arg->nodeValue)); break; default: - $arguments[$key] = \RectorPrefix20220519\Symfony\Component\Config\Util\XmlUtils::phpize($arg->nodeValue); + $arguments[$key] = \RectorPrefix20220520\Symfony\Component\Config\Util\XmlUtils::phpize($arg->nodeValue); } } return $arguments; @@ -511,7 +511,7 @@ class XmlFileLoader extends \RectorPrefix20220519\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 \RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\RuntimeException(\sprintf('Extension "%s" references a non-existent XSD file "%s".', \get_debug_type($extension), $path)); + throw new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\RuntimeException(\sprintf('Extension "%s" references a non-existent XSD file "%s".', \get_debug_type($extension), $path)); } $schemaLocations[$items[$i]] = $path; } @@ -588,7 +588,7 @@ EOF; { foreach ($alias->attributes as $name => $node) { if (!\in_array($name, ['alias', 'id', 'public'])) { - throw new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('Invalid attribute "%s" defined for alias "%s" in "%s".', $name, $alias->getAttribute('id'), $file)); + throw new \RectorPrefix20220520\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) { @@ -596,7 +596,7 @@ EOF; continue; } if (!\in_array($child->localName, ['deprecated'], \true)) { - throw new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('Invalid child element "%s" defined for alias "%s" in "%s".', $child->localName, $alias->getAttribute('id'), $file)); + throw new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('Invalid child element "%s" defined for alias "%s" in "%s".', $child->localName, $alias->getAttribute('id'), $file)); } } } @@ -613,10 +613,10 @@ EOF; } // can it be handled by an extension? if (!$this->container->hasExtension($node->namespaceURI)) { - $extensionNamespaces = \array_filter(\array_map(function (\RectorPrefix20220519\Symfony\Component\DependencyInjection\Extension\ExtensionInterface $ext) { + $extensionNamespaces = \array_filter(\array_map(function (\RectorPrefix20220520\Symfony\Component\DependencyInjection\Extension\ExtensionInterface $ext) { return $ext->getNamespace(); }, $this->container->getExtensions())); - throw new \RectorPrefix20220519\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 \RectorPrefix20220520\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')); } } } @@ -656,6 +656,6 @@ EOF; */ public static function convertDomElementToArray(\DOMElement $element) { - return \RectorPrefix20220519\Symfony\Component\Config\Util\XmlUtils::convertDomElementToArray($element); + return \RectorPrefix20220520\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 2bfce464b4d..9f7f7e871c6 100644 --- a/vendor/symfony/dependency-injection/Loader/YamlFileLoader.php +++ b/vendor/symfony/dependency-injection/Loader/YamlFileLoader.php @@ -8,34 +8,34 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20220519\Symfony\Component\DependencyInjection\Loader; +namespace RectorPrefix20220520\Symfony\Component\DependencyInjection\Loader; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Alias; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Argument\AbstractArgument; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Argument\BoundArgument; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Argument\IteratorArgument; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Argument\ServiceClosureArgument; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Argument\ServiceLocatorArgument; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Argument\TaggedIteratorArgument; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\ChildDefinition; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerBuilder; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerInterface; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Definition; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\RuntimeException; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Extension\ExtensionInterface; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Reference; -use RectorPrefix20220519\Symfony\Component\ExpressionLanguage\Expression; -use RectorPrefix20220519\Symfony\Component\Yaml\Exception\ParseException; -use RectorPrefix20220519\Symfony\Component\Yaml\Parser as YamlParser; -use RectorPrefix20220519\Symfony\Component\Yaml\Tag\TaggedValue; -use RectorPrefix20220519\Symfony\Component\Yaml\Yaml; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Alias; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Argument\AbstractArgument; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Argument\BoundArgument; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Argument\IteratorArgument; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Argument\ServiceClosureArgument; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Argument\ServiceLocatorArgument; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Argument\TaggedIteratorArgument; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\ChildDefinition; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\ContainerBuilder; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\ContainerInterface; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Definition; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\RuntimeException; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Extension\ExtensionInterface; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Reference; +use RectorPrefix20220520\Symfony\Component\ExpressionLanguage\Expression; +use RectorPrefix20220520\Symfony\Component\Yaml\Exception\ParseException; +use RectorPrefix20220520\Symfony\Component\Yaml\Parser as YamlParser; +use RectorPrefix20220520\Symfony\Component\Yaml\Tag\TaggedValue; +use RectorPrefix20220520\Symfony\Component\Yaml\Yaml; /** * YamlFileLoader loads YAML files service definitions. * * @author Fabien Potencier */ -class YamlFileLoader extends \RectorPrefix20220519\Symfony\Component\DependencyInjection\Loader\FileLoader +class YamlFileLoader extends \RectorPrefix20220520\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']; @@ -69,7 +69,7 @@ class YamlFileLoader extends \RectorPrefix20220519\Symfony\Component\DependencyI // per-env configuration if ($this->env && isset($content['when@' . $this->env])) { if (!\is_array($content['when@' . $this->env])) { - throw new \RectorPrefix20220519\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 \RectorPrefix20220520\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; @@ -88,7 +88,7 @@ class YamlFileLoader extends \RectorPrefix20220519\Symfony\Component\DependencyI // parameters if (isset($content['parameters'])) { if (!\is_array($content['parameters'])) { - throw new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('The "parameters" key should contain an array in "%s". Check your YAML syntax.', $path)); + throw new \RectorPrefix20220520\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)); @@ -98,7 +98,7 @@ class YamlFileLoader extends \RectorPrefix20220519\Symfony\Component\DependencyI $this->loadFromExtensions($content); // services $this->anonymousServicesCount = 0; - $this->anonymousServicesSuffix = '~' . \RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerBuilder::hash($path); + $this->anonymousServicesSuffix = '~' . \RectorPrefix20220520\Symfony\Component\DependencyInjection\ContainerBuilder::hash($path); $this->setCurrentDir(\dirname($path)); try { $this->parseDefinitions($content, $path); @@ -127,7 +127,7 @@ class YamlFileLoader extends \RectorPrefix20220519\Symfony\Component\DependencyI return; } if (!\is_array($content['imports'])) { - throw new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('The "imports" key should contain an array in "%s". Check your YAML syntax.', $file)); + throw new \RectorPrefix20220520\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) { @@ -135,7 +135,7 @@ class YamlFileLoader extends \RectorPrefix20220519\Symfony\Component\DependencyI $import = ['resource' => $import]; } if (!isset($import['resource'])) { - throw new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('An import should provide a resource in "%s". Check your YAML syntax.', $file)); + throw new \RectorPrefix20220520\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); @@ -147,22 +147,22 @@ class YamlFileLoader extends \RectorPrefix20220519\Symfony\Component\DependencyI return; } if (!\is_array($content['services'])) { - throw new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('The "services" key should contain an array in "%s". Check your YAML syntax.', $file)); + throw new \RectorPrefix20220520\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 \RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('Service "_instanceof" key must be an array, "%s" given in "%s".', \get_debug_type($instanceof), $file)); + throw new \RectorPrefix20220520\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 \RectorPrefix20220519\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 \RectorPrefix20220520\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 \RectorPrefix20220519\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 \RectorPrefix20220520\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, []); } @@ -184,16 +184,16 @@ class YamlFileLoader extends \RectorPrefix20220519\Symfony\Component\DependencyI $defaults = $content['services']['_defaults']; unset($content['services']['_defaults']); if (!\is_array($defaults)) { - throw new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('Service "_defaults" key must be an array, "%s" given in "%s".', \get_debug_type($defaults), $file)); + throw new \RectorPrefix20220520\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 \RectorPrefix20220519\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 \RectorPrefix20220520\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 \RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('Parameter "tags" in "_defaults" must be an array in "%s". Check your YAML syntax.', $file)); + throw new \RectorPrefix20220520\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)) { @@ -204,27 +204,27 @@ class YamlFileLoader extends \RectorPrefix20220519\Symfony\Component\DependencyI $tag = \current($tag); } else { if (!isset($tag['name'])) { - throw new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('A "tags" entry in "_defaults" is missing a "name" key in "%s".', $file)); + throw new \RectorPrefix20220520\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 \RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('The tag name in "_defaults" must be a non-empty string in "%s".', $file)); + throw new \RectorPrefix20220520\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 \RectorPrefix20220519\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 \RectorPrefix20220520\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 \RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('Parameter "bind" in "_defaults" must be an array in "%s". Check your YAML syntax.', $file)); + throw new \RectorPrefix20220520\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 \RectorPrefix20220519\Symfony\Component\DependencyInjection\Argument\BoundArgument($value, \true, \RectorPrefix20220519\Symfony\Component\DependencyInjection\Argument\BoundArgument::DEFAULTS_BINDING, $file); + $defaults['bind'][$argument] = new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Argument\BoundArgument($value, \true, \RectorPrefix20220520\Symfony\Component\DependencyInjection\Argument\BoundArgument::DEFAULTS_BINDING, $file); } } return $defaults; @@ -245,10 +245,10 @@ class YamlFileLoader extends \RectorPrefix20220519\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 \RectorPrefix20220519\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 \RectorPrefix20220520\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 \RectorPrefix20220519\Symfony\Component\DependencyInjection\Alias(\substr($service, 1)); + $alias = new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Alias(\substr($service, 1)); if (isset($defaults['public'])) { $alias->setPublic($defaults['public']); } @@ -261,11 +261,11 @@ class YamlFileLoader extends \RectorPrefix20220519\Symfony\Component\DependencyI $service = []; } if (!\is_array($service)) { - throw new \RectorPrefix20220519\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 \RectorPrefix20220520\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 \RectorPrefix20220519\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 \RectorPrefix20220520\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) { @@ -273,24 +273,24 @@ class YamlFileLoader extends \RectorPrefix20220519\Symfony\Component\DependencyI $frame = ['class' => \key($frame), 'arguments' => \current($frame)]; } if (\is_array($frame) && isset($frame['stack'])) { - throw new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('Service stack "%s" cannot contain another stack in "%s".', $id, $file)); + throw new \RectorPrefix20220520\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 \RectorPrefix20220519\Symfony\Component\DependencyInjection\Definition) { + if ($definition instanceof \RectorPrefix20220520\Symfony\Component\DependencyInjection\Definition) { $definition->setInstanceofConditionals($this->instanceof); } $stack[$k] = $definition; } if ($diff = \array_diff(\array_keys($service), ['stack', 'public', 'deprecated'])) { - throw new \RectorPrefix20220519\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 \RectorPrefix20220520\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 \RectorPrefix20220519\Symfony\Component\DependencyInjection\Definition ? \array_shift($service) : null; + $definition = isset($service[0]) && $service[0] instanceof \RectorPrefix20220520\Symfony\Component\DependencyInjection\Definition ? \array_shift($service) : null; $return = null === $definition ? $return : \true; $this->checkDefinition($id, $service, $file); if (isset($service['alias'])) { - $alias = new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Alias($service['alias']); + $alias = new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Alias($service['alias']); if (isset($service['public'])) { $alias->setPublic($service['public']); } elseif (isset($defaults['public'])) { @@ -298,15 +298,15 @@ class YamlFileLoader extends \RectorPrefix20220519\Symfony\Component\DependencyI } foreach ($service as $key => $value) { if (!\in_array($key, ['alias', 'public', 'deprecated'])) { - throw new \RectorPrefix20220519\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 \RectorPrefix20220520\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]; if (!isset($deprecation['package'])) { - throw new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('Missing attribute "package" of the "deprecated" option in "%s".', $file)); + throw new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('Missing attribute "package" of the "deprecated" option in "%s".', $file)); } if (!isset($deprecation['version'])) { - throw new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('Missing attribute "version" of the "deprecated" option in "%s".', $file)); + throw new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('Missing attribute "version" of the "deprecated" option in "%s".', $file)); } $alias->setDeprecated($deprecation['package'] ?? '', $deprecation['version'] ?? '', $deprecation['message'] ?? ''); } @@ -316,14 +316,14 @@ class YamlFileLoader extends \RectorPrefix20220519\Symfony\Component\DependencyI if (null !== $definition) { // no-op } elseif ($this->isLoadingInstanceof) { - $definition = new \RectorPrefix20220519\Symfony\Component\DependencyInjection\ChildDefinition(''); + $definition = new \RectorPrefix20220520\Symfony\Component\DependencyInjection\ChildDefinition(''); } elseif (isset($service['parent'])) { if ('' !== $service['parent'] && '@' === $service['parent'][0]) { - throw new \RectorPrefix20220519\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 \RectorPrefix20220520\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 \RectorPrefix20220519\Symfony\Component\DependencyInjection\ChildDefinition($service['parent']); + $definition = new \RectorPrefix20220520\Symfony\Component\DependencyInjection\ChildDefinition($service['parent']); } else { - $definition = new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Definition(); + $definition = new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Definition(); } if (isset($defaults['public'])) { $definition->setPublic($defaults['public']); @@ -359,10 +359,10 @@ class YamlFileLoader extends \RectorPrefix20220519\Symfony\Component\DependencyI if (isset($service['deprecated'])) { $deprecation = \is_array($service['deprecated']) ? $service['deprecated'] : ['message' => $service['deprecated']]; if (!isset($deprecation['package'])) { - throw new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('Missing attribute "package" of the "deprecated" option in "%s".', $file)); + throw new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('Missing attribute "package" of the "deprecated" option in "%s".', $file)); } if (!isset($deprecation['version'])) { - throw new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('Missing attribute "version" of the "deprecated" option in "%s".', $file)); + throw new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('Missing attribute "version" of the "deprecated" option in "%s".', $file)); } $definition->setDeprecated($deprecation['package'] ?? '', $deprecation['version'] ?? '', $deprecation['message'] ?? ''); } @@ -383,14 +383,14 @@ class YamlFileLoader extends \RectorPrefix20220519\Symfony\Component\DependencyI } if (isset($service['calls'])) { if (!\is_array($service['calls'])) { - throw new \RectorPrefix20220519\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 \RectorPrefix20220520\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 \RectorPrefix20220519\Symfony\Component\Yaml\Tag\TaggedValue)) { - throw new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('Invalid method call for service "%s": expected map or array, "%s" given in "%s".', $id, $call instanceof \RectorPrefix20220519\Symfony\Component\Yaml\Tag\TaggedValue ? '!' . $call->getTag() : \get_debug_type($call), $file)); + if (!\is_array($call) && (!\is_string($k) || !$call instanceof \RectorPrefix20220520\Symfony\Component\Yaml\Tag\TaggedValue)) { + throw new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('Invalid method call for service "%s": expected map or array, "%s" given in "%s".', $id, $call instanceof \RectorPrefix20220520\Symfony\Component\Yaml\Tag\TaggedValue ? '!' . $call->getTag() : \get_debug_type($call), $file)); } if (\is_string($k)) { - throw new \RectorPrefix20220519\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 \RectorPrefix20220520\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']; @@ -400,9 +400,9 @@ class YamlFileLoader extends \RectorPrefix20220519\Symfony\Component\DependencyI if (1 === \count($call) && \is_string(\key($call))) { $method = \key($call); $args = $call[$method]; - if ($args instanceof \RectorPrefix20220519\Symfony\Component\Yaml\Tag\TaggedValue) { + if ($args instanceof \RectorPrefix20220520\Symfony\Component\Yaml\Tag\TaggedValue) { if ('returns_clone' !== $args->getTag()) { - throw new \RectorPrefix20220519\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 \RectorPrefix20220520\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(); @@ -410,7 +410,7 @@ class YamlFileLoader extends \RectorPrefix20220519\Symfony\Component\DependencyI $returnsClone = \false; } } elseif (empty($call[0])) { - throw new \RectorPrefix20220519\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 \RectorPrefix20220520\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] ?? []; @@ -418,7 +418,7 @@ class YamlFileLoader extends \RectorPrefix20220519\Symfony\Component\DependencyI } } if (!\is_array($args)) { - throw new \RectorPrefix20220519\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 \RectorPrefix20220520\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); @@ -426,7 +426,7 @@ class YamlFileLoader extends \RectorPrefix20220519\Symfony\Component\DependencyI } $tags = $service['tags'] ?? []; if (!\is_array($tags)) { - throw new \RectorPrefix20220519\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 \RectorPrefix20220520\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']); @@ -440,36 +440,36 @@ class YamlFileLoader extends \RectorPrefix20220519\Symfony\Component\DependencyI $tag = \current($tag); } else { if (!isset($tag['name'])) { - throw new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('A "tags" entry is missing a "name" key for service "%s" in "%s".', $id, $file)); + throw new \RectorPrefix20220520\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 \RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('The tag name for service "%s" in "%s" must be a non-empty string.', $id, $file)); + throw new \RectorPrefix20220520\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 \RectorPrefix20220519\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 \RectorPrefix20220520\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 \RectorPrefix20220519\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 \RectorPrefix20220520\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 = \RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerInterface::EXCEPTION_ON_INVALID_REFERENCE; + $invalidBehavior = \RectorPrefix20220520\Symfony\Component\DependencyInjection\ContainerInterface::EXCEPTION_ON_INVALID_REFERENCE; } elseif ('ignore' === $decorationOnInvalid) { - $invalidBehavior = \RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerInterface::IGNORE_ON_INVALID_REFERENCE; + $invalidBehavior = \RectorPrefix20220520\Symfony\Component\DependencyInjection\ContainerInterface::IGNORE_ON_INVALID_REFERENCE; } elseif (null === $decorationOnInvalid) { - $invalidBehavior = \RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerInterface::NULL_ON_INVALID_REFERENCE; + $invalidBehavior = \RectorPrefix20220520\Symfony\Component\DependencyInjection\ContainerInterface::NULL_ON_INVALID_REFERENCE; } elseif ('null' === $decorationOnInvalid) { - throw new \RectorPrefix20220519\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 \RectorPrefix20220520\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 \RectorPrefix20220519\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 \RectorPrefix20220520\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; @@ -484,13 +484,13 @@ class YamlFileLoader extends \RectorPrefix20220519\Symfony\Component\DependencyI $bindings += isset($defaults['bind']) ? \unserialize(\serialize($defaults['bind'])) : []; if (isset($service['bind'])) { if (!\is_array($service['bind'])) { - throw new \RectorPrefix20220519\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 \RectorPrefix20220520\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 ? \RectorPrefix20220519\Symfony\Component\DependencyInjection\Argument\BoundArgument::INSTANCEOF_BINDING : \RectorPrefix20220519\Symfony\Component\DependencyInjection\Argument\BoundArgument::SERVICE_BINDING; + $bindingType = $this->isLoadingInstanceof ? \RectorPrefix20220520\Symfony\Component\DependencyInjection\Argument\BoundArgument::INSTANCEOF_BINDING : \RectorPrefix20220520\Symfony\Component\DependencyInjection\Argument\BoundArgument::SERVICE_BINDING; foreach ($bindings as $argument => $value) { - if (!$value instanceof \RectorPrefix20220519\Symfony\Component\DependencyInjection\Argument\BoundArgument) { - $bindings[$argument] = new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Argument\BoundArgument($value, \true, $bindingType, $file); + if (!$value instanceof \RectorPrefix20220520\Symfony\Component\DependencyInjection\Argument\BoundArgument) { + $bindings[$argument] = new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Argument\BoundArgument($value, \true, $bindingType, $file); } } } @@ -500,17 +500,17 @@ class YamlFileLoader extends \RectorPrefix20220519\Symfony\Component\DependencyI $definition->setAutoconfigured($service['autoconfigure']); } if (\array_key_exists('namespace', $service) && !\array_key_exists('resource', $service)) { - throw new \RectorPrefix20220519\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 \RectorPrefix20220520\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 \RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('Invalid "resource" attribute found for service "%s" in "%s". Check your YAML syntax.', $id, $file)); + throw new \RectorPrefix20220520\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 \RectorPrefix20220519\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 \RectorPrefix20220520\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; @@ -531,7 +531,7 @@ class YamlFileLoader extends \RectorPrefix20220519\Symfony\Component\DependencyI if (\strpos($callable, ':') === \false) { return [$this->resolveServices($callable, $file), '__invoke']; } - throw new \RectorPrefix20220519\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 \RectorPrefix20220520\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,9 +542,9 @@ class YamlFileLoader extends \RectorPrefix20220519\Symfony\Component\DependencyI if ('factory' === $parameter && isset($callable[1]) && null === $callable[0]) { return $callable; } - throw new \RectorPrefix20220519\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 \RectorPrefix20220520\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 \RectorPrefix20220519\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 \RectorPrefix20220520\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. @@ -553,20 +553,20 @@ class YamlFileLoader extends \RectorPrefix20220519\Symfony\Component\DependencyI */ protected function loadFile(string $file) : ?array { - if (!\class_exists(\RectorPrefix20220519\Symfony\Component\Yaml\Parser::class)) { - throw new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\RuntimeException('Unable to load YAML config files as the Symfony Yaml Component is not installed.'); + if (!\class_exists(\RectorPrefix20220520\Symfony\Component\Yaml\Parser::class)) { + throw new \RectorPrefix20220520\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 \RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('This is not a local file "%s".', $file)); + throw new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('This is not a local file "%s".', $file)); } if (!\is_file($file)) { - throw new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('The file "%s" does not exist.', $file)); + throw new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('The file "%s" does not exist.', $file)); } - $this->yamlParser = $this->yamlParser ?? new \RectorPrefix20220519\Symfony\Component\Yaml\Parser(); + $this->yamlParser = $this->yamlParser ?? new \RectorPrefix20220520\Symfony\Component\Yaml\Parser(); try { - $configuration = $this->yamlParser->parseFile($file, \RectorPrefix20220519\Symfony\Component\Yaml\Yaml::PARSE_CONSTANT | \RectorPrefix20220519\Symfony\Component\Yaml\Yaml::PARSE_CUSTOM_TAGS); - } catch (\RectorPrefix20220519\Symfony\Component\Yaml\Exception\ParseException $e) { - throw new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('The file "%s" does not contain valid YAML: ', $file) . $e->getMessage(), 0, $e); + $configuration = $this->yamlParser->parseFile($file, \RectorPrefix20220520\Symfony\Component\Yaml\Yaml::PARSE_CONSTANT | \RectorPrefix20220520\Symfony\Component\Yaml\Yaml::PARSE_CUSTOM_TAGS); + } catch (\RectorPrefix20220520\Symfony\Component\Yaml\Exception\ParseException $e) { + throw new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('The file "%s" does not contain valid YAML: ', $file) . $e->getMessage(), 0, $e); } return $this->validate($configuration, $file); } @@ -582,17 +582,17 @@ class YamlFileLoader extends \RectorPrefix20220519\Symfony\Component\DependencyI return $content; } if (!\is_array($content)) { - throw new \RectorPrefix20220519\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 \RectorPrefix20220520\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 (\RectorPrefix20220519\Symfony\Component\DependencyInjection\Extension\ExtensionInterface $ext) { + $extensionNamespaces = \array_filter(\array_map(function (\RectorPrefix20220520\Symfony\Component\DependencyInjection\Extension\ExtensionInterface $ext) { return $ext->getAlias(); }, $this->container->getExtensions())); - throw new \RectorPrefix20220519\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 \RectorPrefix20220520\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; @@ -603,57 +603,57 @@ class YamlFileLoader extends \RectorPrefix20220519\Symfony\Component\DependencyI */ private function resolveServices($value, string $file, bool $isParameter = \false) { - if ($value instanceof \RectorPrefix20220519\Symfony\Component\Yaml\Tag\TaggedValue) { + if ($value instanceof \RectorPrefix20220520\Symfony\Component\Yaml\Tag\TaggedValue) { $argument = $value->getValue(); if ('iterator' === $value->getTag()) { if (!\is_array($argument)) { - throw new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('"!iterator" tag only accepts sequences in "%s".', $file)); + throw new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('"!iterator" tag only accepts sequences in "%s".', $file)); } $argument = $this->resolveServices($argument, $file, $isParameter); try { - return new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Argument\IteratorArgument($argument); - } catch (\RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException $e) { - throw new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('"!iterator" tag only accepts arrays of "@service" references in "%s".', $file)); + return new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Argument\IteratorArgument($argument); + } catch (\RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException $e) { + throw new \RectorPrefix20220520\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 \RectorPrefix20220519\Symfony\Component\DependencyInjection\Reference) { - throw new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('"!service_closure" tag only accepts service references in "%s".', $file)); + if (!$argument instanceof \RectorPrefix20220520\Symfony\Component\DependencyInjection\Reference) { + throw new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('"!service_closure" tag only accepts service references in "%s".', $file)); } - return new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Argument\ServiceClosureArgument($argument); + return new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Argument\ServiceClosureArgument($argument); } if ('service_locator' === $value->getTag()) { if (!\is_array($argument)) { - throw new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('"!service_locator" tag only accepts maps in "%s".', $file)); + throw new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('"!service_locator" tag only accepts maps in "%s".', $file)); } $argument = $this->resolveServices($argument, $file, $isParameter); try { - return new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Argument\ServiceLocatorArgument($argument); - } catch (\RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException $e) { - throw new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('"!service_locator" tag only accepts maps of "@service" references in "%s".', $file)); + return new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Argument\ServiceLocatorArgument($argument); + } catch (\RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException $e) { + throw new \RectorPrefix20220520\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 \RectorPrefix20220519\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 \RectorPrefix20220520\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 \RectorPrefix20220519\Symfony\Component\DependencyInjection\Argument\TaggedIteratorArgument($argument['tag'], $argument['index_by'] ?? null, $argument['default_index_method'] ?? null, $forLocator, $argument['default_priority_method'] ?? null); + $argument = new \RectorPrefix20220520\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 \RectorPrefix20220519\Symfony\Component\DependencyInjection\Argument\TaggedIteratorArgument($argument, null, null, $forLocator); + $argument = new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Argument\TaggedIteratorArgument($argument, null, null, $forLocator); } else { - throw new \RectorPrefix20220519\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 \RectorPrefix20220520\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 \RectorPrefix20220519\Symfony\Component\DependencyInjection\Argument\ServiceLocatorArgument($argument); + $argument = new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Argument\ServiceLocatorArgument($argument); } return $argument; } if ('service' === $value->getTag()) { if ($isParameter) { - throw new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('Using an anonymous service in a parameter is not allowed in "%s".', $file)); + throw new \RectorPrefix20220520\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; @@ -662,17 +662,17 @@ class YamlFileLoader extends \RectorPrefix20220519\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 \RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('Creating an alias using the tag "!service" is not allowed in "%s".', $file)); + throw new \RectorPrefix20220520\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 \RectorPrefix20220519\Symfony\Component\DependencyInjection\Reference($id); + return new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Reference($id); } if ('abstract' === $value->getTag()) { - return new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Argument\AbstractArgument($value->getValue()); + return new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Argument\AbstractArgument($value->getValue()); } - throw new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('Unsupported tag "!%s".', $value->getTag())); + throw new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('Unsupported tag "!%s".', $value->getTag())); } if (\is_array($value)) { foreach ($value as $k => $v) { @@ -680,28 +680,28 @@ class YamlFileLoader extends \RectorPrefix20220519\Symfony\Component\DependencyI } } elseif (\is_string($value) && \strncmp($value, '@=', \strlen('@=')) === 0) { if ($isParameter) { - throw new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('Using expressions in parameters is not allowed in "%s".', $file)); + throw new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('Using expressions in parameters is not allowed in "%s".', $file)); } - if (!\class_exists(\RectorPrefix20220519\Symfony\Component\ExpressionLanguage\Expression::class)) { + if (!\class_exists(\RectorPrefix20220520\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 \RectorPrefix20220519\Symfony\Component\ExpressionLanguage\Expression(\substr($value, 2)); + return new \RectorPrefix20220520\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 = \RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerInterface::IGNORE_ON_UNINITIALIZED_REFERENCE; + $invalidBehavior = \RectorPrefix20220520\Symfony\Component\DependencyInjection\ContainerInterface::IGNORE_ON_UNINITIALIZED_REFERENCE; } elseif (\strncmp($value, '@?', \strlen('@?')) === 0) { $value = \substr($value, 2); - $invalidBehavior = \RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerInterface::IGNORE_ON_INVALID_REFERENCE; + $invalidBehavior = \RectorPrefix20220520\Symfony\Component\DependencyInjection\ContainerInterface::IGNORE_ON_INVALID_REFERENCE; } else { $value = \substr($value, 1); - $invalidBehavior = \RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerInterface::EXCEPTION_ON_INVALID_REFERENCE; + $invalidBehavior = \RectorPrefix20220520\Symfony\Component\DependencyInjection\ContainerInterface::EXCEPTION_ON_INVALID_REFERENCE; } if (null !== $invalidBehavior) { - $value = new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Reference($value, $invalidBehavior); + $value = new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Reference($value, $invalidBehavior); } } return $value; @@ -729,7 +729,7 @@ class YamlFileLoader extends \RectorPrefix20220519\Symfony\Component\DependencyI } foreach ($definition as $key => $value) { if (!isset($keywords[$key])) { - throw new \RectorPrefix20220519\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 \RectorPrefix20220520\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 d68552461c8..1de433a9faf 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 RectorPrefix20220519\Symfony\Component\DependencyInjection; +namespace RectorPrefix20220520\Symfony\Component\DependencyInjection; /** * Parameter represents a parameter reference. diff --git a/vendor/symfony/dependency-injection/ParameterBag/ContainerBag.php b/vendor/symfony/dependency-injection/ParameterBag/ContainerBag.php index c8ec3789db9..4d8f763a45b 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 RectorPrefix20220519\Symfony\Component\DependencyInjection\ParameterBag; +namespace RectorPrefix20220520\Symfony\Component\DependencyInjection\ParameterBag; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Container; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Container; /** * @author Nicolas Grekas */ -class ContainerBag extends \RectorPrefix20220519\Symfony\Component\DependencyInjection\ParameterBag\FrozenParameterBag implements \RectorPrefix20220519\Symfony\Component\DependencyInjection\ParameterBag\ContainerBagInterface +class ContainerBag extends \RectorPrefix20220520\Symfony\Component\DependencyInjection\ParameterBag\FrozenParameterBag implements \RectorPrefix20220520\Symfony\Component\DependencyInjection\ParameterBag\ContainerBagInterface { private $container; - public function __construct(\RectorPrefix20220519\Symfony\Component\DependencyInjection\Container $container) + public function __construct(\RectorPrefix20220520\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 09705983556..0c126cab615 100644 --- a/vendor/symfony/dependency-injection/ParameterBag/ContainerBagInterface.php +++ b/vendor/symfony/dependency-injection/ParameterBag/ContainerBagInterface.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 RectorPrefix20220519\Symfony\Component\DependencyInjection\ParameterBag; +namespace RectorPrefix20220520\Symfony\Component\DependencyInjection\ParameterBag; -use RectorPrefix20220519\Psr\Container\ContainerInterface; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\ParameterNotFoundException; +use RectorPrefix20220520\Psr\Container\ContainerInterface; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\ParameterNotFoundException; /** * ContainerBagInterface is the interface implemented by objects that manage service container parameters. * * @author Nicolas Grekas */ -interface ContainerBagInterface extends \RectorPrefix20220519\Psr\Container\ContainerInterface +interface ContainerBagInterface extends \RectorPrefix20220520\Psr\Container\ContainerInterface { /** * Gets the service container parameters. diff --git a/vendor/symfony/dependency-injection/ParameterBag/EnvPlaceholderParameterBag.php b/vendor/symfony/dependency-injection/ParameterBag/EnvPlaceholderParameterBag.php index ea910fdc392..c460a5bb0c9 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 RectorPrefix20220519\Symfony\Component\DependencyInjection\ParameterBag; +namespace RectorPrefix20220520\Symfony\Component\DependencyInjection\ParameterBag; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\RuntimeException; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\RuntimeException; /** * @author Nicolas Grekas */ -class EnvPlaceholderParameterBag extends \RectorPrefix20220519\Symfony\Component\DependencyInjection\ParameterBag\ParameterBag +class EnvPlaceholderParameterBag extends \RectorPrefix20220520\Symfony\Component\DependencyInjection\ParameterBag\ParameterBag { /** * @var string @@ -58,10 +58,10 @@ class EnvPlaceholderParameterBag extends \RectorPrefix20220519\Symfony\Component } } if (!\preg_match('/^(?:[-.\\w]*+:)*+\\w++$/', $env)) { - throw new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('Invalid %s name: only "word" characters are allowed.', $name)); + throw new \RectorPrefix20220520\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 \RectorPrefix20220519\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 \RectorPrefix20220520\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); @@ -146,7 +146,7 @@ class EnvPlaceholderParameterBag extends \RectorPrefix20220519\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 \RectorPrefix20220519\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 \RectorPrefix20220520\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 eaf694ac869..2033974b014 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 RectorPrefix20220519\Symfony\Component\DependencyInjection\ParameterBag; +namespace RectorPrefix20220520\Symfony\Component\DependencyInjection\ParameterBag; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\LogicException; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\LogicException; /** * Holds read-only parameters. * * @author Fabien Potencier */ -class FrozenParameterBag extends \RectorPrefix20220519\Symfony\Component\DependencyInjection\ParameterBag\ParameterBag +class FrozenParameterBag extends \RectorPrefix20220520\Symfony\Component\DependencyInjection\ParameterBag\ParameterBag { /** * For performance reasons, the constructor assumes that @@ -36,14 +36,14 @@ class FrozenParameterBag extends \RectorPrefix20220519\Symfony\Component\Depende */ public function clear() { - throw new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\LogicException('Impossible to call clear() on a frozen ParameterBag.'); + throw new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\LogicException('Impossible to call clear() on a frozen ParameterBag.'); } /** * {@inheritdoc} */ public function add(array $parameters) { - throw new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\LogicException('Impossible to call add() on a frozen ParameterBag.'); + throw new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\LogicException('Impossible to call add() on a frozen ParameterBag.'); } /** * {@inheritdoc} @@ -51,13 +51,13 @@ class FrozenParameterBag extends \RectorPrefix20220519\Symfony\Component\Depende */ public function set(string $name, $value) { - throw new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\LogicException('Impossible to call set() on a frozen ParameterBag.'); + throw new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\LogicException('Impossible to call set() on a frozen ParameterBag.'); } /** * {@inheritdoc} */ public function remove(string $name) { - throw new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\LogicException('Impossible to call remove() on a frozen ParameterBag.'); + throw new \RectorPrefix20220520\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 d61887e98fd..b9b80615d12 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 RectorPrefix20220519\Symfony\Component\DependencyInjection\ParameterBag; +namespace RectorPrefix20220520\Symfony\Component\DependencyInjection\ParameterBag; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\ParameterCircularReferenceException; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\ParameterNotFoundException; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\RuntimeException; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\ParameterCircularReferenceException; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\ParameterNotFoundException; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\RuntimeException; /** * Holds parameters. * * @author Fabien Potencier */ -class ParameterBag implements \RectorPrefix20220519\Symfony\Component\DependencyInjection\ParameterBag\ParameterBagInterface +class ParameterBag implements \RectorPrefix20220520\Symfony\Component\DependencyInjection\ParameterBag\ParameterBagInterface { protected $parameters = []; protected $resolved = \false; @@ -57,7 +57,7 @@ class ParameterBag implements \RectorPrefix20220519\Symfony\Component\Dependency { if (!\array_key_exists($name, $this->parameters)) { if (!$name) { - throw new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\ParameterNotFoundException($name); + throw new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\ParameterNotFoundException($name); } $alternatives = []; foreach ($this->parameters as $key => $parameterValue) { @@ -80,7 +80,7 @@ class ParameterBag implements \RectorPrefix20220519\Symfony\Component\Dependency $key = \substr($key, 0, -1 * (1 + \array_pop($namePartsLength))); } } - throw new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\ParameterNotFoundException($name, null, null, null, $alternatives, $nonNestedAlternative); + throw new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\ParameterNotFoundException($name, null, null, null, $alternatives, $nonNestedAlternative); } return $this->parameters[$name]; } @@ -119,7 +119,7 @@ class ParameterBag implements \RectorPrefix20220519\Symfony\Component\Dependency try { $value = $this->resolveValue($value); $parameters[$key] = $this->unescapeValue($value); - } catch (\RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\ParameterNotFoundException $e) { + } catch (\RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\ParameterNotFoundException $e) { $e->setSourceKey($key); throw $e; } @@ -170,7 +170,7 @@ class ParameterBag implements \RectorPrefix20220519\Symfony\Component\Dependency if (\preg_match('/^%([^%\\s]+)%$/', $value, $match)) { $key = $match[1]; if (isset($resolving[$key])) { - throw new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\ParameterCircularReferenceException(\array_keys($resolving)); + throw new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\ParameterCircularReferenceException(\array_keys($resolving)); } $resolving[$key] = \true; return $this->resolved ? $this->get($key) : $this->resolveValue($this->get($key), $resolving); @@ -182,11 +182,11 @@ class ParameterBag implements \RectorPrefix20220519\Symfony\Component\Dependency } $key = $match[1]; if (isset($resolving[$key])) { - throw new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\ParameterCircularReferenceException(\array_keys($resolving)); + throw new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\ParameterCircularReferenceException(\array_keys($resolving)); } $resolved = $this->get($key); if (!\is_string($resolved) && !\is_numeric($resolved)) { - throw new \RectorPrefix20220519\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 \RectorPrefix20220520\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 623b28ff1dc..91178ceca2f 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 RectorPrefix20220519\Symfony\Component\DependencyInjection\ParameterBag; +namespace RectorPrefix20220520\Symfony\Component\DependencyInjection\ParameterBag; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\LogicException; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\ParameterNotFoundException; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\LogicException; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\ParameterNotFoundException; /** * ParameterBagInterface is the interface implemented by objects that manage service container parameters. * diff --git a/vendor/symfony/dependency-injection/Reference.php b/vendor/symfony/dependency-injection/Reference.php index c8c3be8fc0b..dc635b8a4a8 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 RectorPrefix20220519\Symfony\Component\DependencyInjection; +namespace RectorPrefix20220520\Symfony\Component\DependencyInjection; /** * Reference represents a service reference. @@ -25,7 +25,7 @@ class Reference * @var int */ private $invalidBehavior; - public function __construct(string $id, int $invalidBehavior = \RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerInterface::EXCEPTION_ON_INVALID_REFERENCE) + public function __construct(string $id, int $invalidBehavior = \RectorPrefix20220520\Symfony\Component\DependencyInjection\ContainerInterface::EXCEPTION_ON_INVALID_REFERENCE) { $this->id = $id; $this->invalidBehavior = $invalidBehavior; diff --git a/vendor/symfony/dependency-injection/ReverseContainer.php b/vendor/symfony/dependency-injection/ReverseContainer.php index ff2b3aa9afa..91a5a50661e 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 RectorPrefix20220519\Symfony\Component\DependencyInjection; +namespace RectorPrefix20220520\Symfony\Component\DependencyInjection; -use RectorPrefix20220519\Psr\Container\ContainerInterface; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException; +use RectorPrefix20220520\Psr\Container\ContainerInterface; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException; /** * Turns public and "container.reversible" services back to their ids. * @@ -29,14 +29,14 @@ final class ReverseContainer * @var \Closure */ private $getServiceId; - public function __construct(\RectorPrefix20220519\Symfony\Component\DependencyInjection\Container $serviceContainer, \RectorPrefix20220519\Psr\Container\ContainerInterface $reversibleLocator, string $tagName = 'container.reversible') + public function __construct(\RectorPrefix20220520\Symfony\Component\DependencyInjection\Container $serviceContainer, \RectorPrefix20220520\Psr\Container\ContainerInterface $reversibleLocator, string $tagName = 'container.reversible') { $this->serviceContainer = $serviceContainer; $this->reversibleLocator = $reversibleLocator; $this->tagName = $tagName; $this->getServiceId = \Closure::bind(function (object $service) : ?string { return (\array_search($service, $this->services, \true) ?: \array_search($service, $this->privates, \true)) ?: null; - }, $serviceContainer, \RectorPrefix20220519\Symfony\Component\DependencyInjection\Container::class); + }, $serviceContainer, \RectorPrefix20220520\Symfony\Component\DependencyInjection\Container::class); } /** * Returns the id of the passed object when it exists as a service. @@ -68,7 +68,7 @@ final class ReverseContainer return $this->reversibleLocator->get($id); } if (isset($this->serviceContainer->getRemovedIds()[$id])) { - throw new \RectorPrefix20220519\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 \RectorPrefix20220520\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 2a20405f542..002cb721382 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 RectorPrefix20220519\Symfony\Component\DependencyInjection; +namespace RectorPrefix20220520\Symfony\Component\DependencyInjection; -use RectorPrefix20220519\Psr\Container\ContainerExceptionInterface; -use RectorPrefix20220519\Psr\Container\NotFoundExceptionInterface; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\RuntimeException; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\ServiceCircularReferenceException; -use RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException; -use RectorPrefix20220519\Symfony\Contracts\Service\ServiceLocatorTrait; -use RectorPrefix20220519\Symfony\Contracts\Service\ServiceProviderInterface; -use RectorPrefix20220519\Symfony\Contracts\Service\ServiceSubscriberInterface; +use RectorPrefix20220520\Psr\Container\ContainerExceptionInterface; +use RectorPrefix20220520\Psr\Container\NotFoundExceptionInterface; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\RuntimeException; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\ServiceCircularReferenceException; +use RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException; +use RectorPrefix20220520\Symfony\Contracts\Service\ServiceLocatorTrait; +use RectorPrefix20220520\Symfony\Contracts\Service\ServiceProviderInterface; +use RectorPrefix20220520\Symfony\Contracts\Service\ServiceSubscriberInterface; /** * @author Robin Chalas * @author Nicolas Grekas */ -class ServiceLocator implements \RectorPrefix20220519\Symfony\Contracts\Service\ServiceProviderInterface +class ServiceLocator implements \RectorPrefix20220520\Symfony\Contracts\Service\ServiceProviderInterface { use ServiceLocatorTrait { get as private doGet; @@ -43,7 +43,7 @@ class ServiceLocator implements \RectorPrefix20220519\Symfony\Contracts\Service\ } try { return $this->doGet($id); - } catch (\RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\RuntimeException $e) { + } catch (\RectorPrefix20220520\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) { @@ -63,18 +63,18 @@ class ServiceLocator implements \RectorPrefix20220519\Symfony\Contracts\Service\ * @internal * @return $this */ - public function withContext(string $externalId, \RectorPrefix20220519\Symfony\Component\DependencyInjection\Container $container) + public function withContext(string $externalId, \RectorPrefix20220520\Symfony\Component\DependencyInjection\Container $container) { $locator = clone $this; $locator->externalId = $externalId; $locator->container = $container; return $locator; } - private function createNotFoundException(string $id) : \RectorPrefix20220519\Psr\Container\NotFoundExceptionInterface + private function createNotFoundException(string $id) : \RectorPrefix20220520\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 \RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException($id, \end($this->loading) ?: null, null, [], $msg); + return new \RectorPrefix20220520\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; @@ -89,7 +89,7 @@ class ServiceLocator implements \RectorPrefix20220519\Symfony\Contracts\Service\ try { $this->container->get($id); $class = null; - } catch (\RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException $e) { + } catch (\RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException $e) { if ($e->getAlternatives()) { $msg[] = \sprintf('did you mean %s? Anyway,', $this->formatAlternatives($e->getAlternatives(), 'or')); } else { @@ -104,16 +104,16 @@ class ServiceLocator implements \RectorPrefix20220519\Symfony\Contracts\Service\ } if (!$class) { // no-op - } elseif (\is_subclass_of($class, \RectorPrefix20220519\Symfony\Contracts\Service\ServiceSubscriberInterface::class)) { + } elseif (\is_subclass_of($class, \RectorPrefix20220520\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 \RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException($id, \end($this->loading) ?: null, null, [], \implode(' ', $msg)); + return new \RectorPrefix20220520\Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException($id, \end($this->loading) ?: null, null, [], \implode(' ', $msg)); } - private function createCircularReferenceException(string $id, array $path) : \RectorPrefix20220519\Psr\Container\ContainerExceptionInterface + private function createCircularReferenceException(string $id, array $path) : \RectorPrefix20220520\Psr\Container\ContainerExceptionInterface { - return new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\ServiceCircularReferenceException($id, $path); + return new \RectorPrefix20220520\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 a37e5d6478c..2c625b63dab 100644 --- a/vendor/symfony/dependency-injection/TaggedContainerInterface.php +++ b/vendor/symfony/dependency-injection/TaggedContainerInterface.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 RectorPrefix20220519\Symfony\Component\DependencyInjection; +namespace RectorPrefix20220520\Symfony\Component\DependencyInjection; /** * TaggedContainerInterface is the interface implemented when a container knows how to deals with tags. * * @author Fabien Potencier */ -interface TaggedContainerInterface extends \RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerInterface +interface TaggedContainerInterface extends \RectorPrefix20220520\Symfony\Component\DependencyInjection\ContainerInterface { /** * Returns service ids for a given tag. diff --git a/vendor/symfony/dependency-injection/TypedReference.php b/vendor/symfony/dependency-injection/TypedReference.php index cb21fc6d996..2622f8e77ee 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 RectorPrefix20220519\Symfony\Component\DependencyInjection; +namespace RectorPrefix20220520\Symfony\Component\DependencyInjection; /** * Represents a PHP type-hinted service reference. * * @author Nicolas Grekas */ -class TypedReference extends \RectorPrefix20220519\Symfony\Component\DependencyInjection\Reference +class TypedReference extends \RectorPrefix20220520\Symfony\Component\DependencyInjection\Reference { /** * @var string @@ -31,7 +31,7 @@ class TypedReference extends \RectorPrefix20220519\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 = \RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerInterface::EXCEPTION_ON_INVALID_REFERENCE, string $name = null) + public function __construct(string $id, string $type, int $invalidBehavior = \RectorPrefix20220520\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 e928fc7acaa..71efc3893ac 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 RectorPrefix20220519\Symfony\Component\DependencyInjection; +namespace RectorPrefix20220520\Symfony\Component\DependencyInjection; /** * Represents a variable. diff --git a/vendor/symfony/dependency-injection/composer.json b/vendor/symfony/dependency-injection/composer.json index 9e9f8a4c3b5..39968f24eed 100644 --- a/vendor/symfony/dependency-injection/composer.json +++ b/vendor/symfony/dependency-injection/composer.json @@ -47,7 +47,7 @@ }, "autoload": { "psr-4": { - "RectorPrefix20220519\\Symfony\\Component\\DependencyInjection\\": "" + "RectorPrefix20220520\\Symfony\\Component\\DependencyInjection\\": "" }, "exclude-from-classmap": [ "\/Tests\/" diff --git a/vendor/symfony/filesystem/Exception/ExceptionInterface.php b/vendor/symfony/filesystem/Exception/ExceptionInterface.php index bd540644e07..5a3247f03c6 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 RectorPrefix20220519\Symfony\Component\Filesystem\Exception; +namespace RectorPrefix20220520\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 6ab451dfc66..bb7d71187d6 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 RectorPrefix20220519\Symfony\Component\Filesystem\Exception; +namespace RectorPrefix20220520\Symfony\Component\Filesystem\Exception; /** * Exception class thrown when a file couldn't be found. @@ -16,7 +16,7 @@ namespace RectorPrefix20220519\Symfony\Component\Filesystem\Exception; * @author Fabien Potencier * @author Christian Gärtner */ -class FileNotFoundException extends \RectorPrefix20220519\Symfony\Component\Filesystem\Exception\IOException +class FileNotFoundException extends \RectorPrefix20220520\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 a735cbf1d16..f07ee72f625 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 RectorPrefix20220519\Symfony\Component\Filesystem\Exception; +namespace RectorPrefix20220520\Symfony\Component\Filesystem\Exception; /** * Exception class thrown when a filesystem operation failure happens. @@ -17,7 +17,7 @@ namespace RectorPrefix20220519\Symfony\Component\Filesystem\Exception; * @author Christian Gärtner * @author Fabien Potencier */ -class IOException extends \RuntimeException implements \RectorPrefix20220519\Symfony\Component\Filesystem\Exception\IOExceptionInterface +class IOException extends \RuntimeException implements \RectorPrefix20220520\Symfony\Component\Filesystem\Exception\IOExceptionInterface { /** * @var string|null diff --git a/vendor/symfony/filesystem/Exception/IOExceptionInterface.php b/vendor/symfony/filesystem/Exception/IOExceptionInterface.php index 46196f9826f..fb1d12a1cdc 100644 --- a/vendor/symfony/filesystem/Exception/IOExceptionInterface.php +++ b/vendor/symfony/filesystem/Exception/IOExceptionInterface.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 RectorPrefix20220519\Symfony\Component\Filesystem\Exception; +namespace RectorPrefix20220520\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 \RectorPrefix20220519\Symfony\Component\Filesystem\Exception\ExceptionInterface +interface IOExceptionInterface extends \RectorPrefix20220520\Symfony\Component\Filesystem\Exception\ExceptionInterface { /** * Returns the associated path for the exception. diff --git a/vendor/symfony/filesystem/Exception/InvalidArgumentException.php b/vendor/symfony/filesystem/Exception/InvalidArgumentException.php index f6c9a7f77cc..3437a9da855 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 RectorPrefix20220519\Symfony\Component\Filesystem\Exception; +namespace RectorPrefix20220520\Symfony\Component\Filesystem\Exception; /** * @author Christian Flothmann */ -class InvalidArgumentException extends \InvalidArgumentException implements \RectorPrefix20220519\Symfony\Component\Filesystem\Exception\ExceptionInterface +class InvalidArgumentException extends \InvalidArgumentException implements \RectorPrefix20220520\Symfony\Component\Filesystem\Exception\ExceptionInterface { } diff --git a/vendor/symfony/filesystem/Exception/RuntimeException.php b/vendor/symfony/filesystem/Exception/RuntimeException.php index e29a816b642..249371cf797 100644 --- a/vendor/symfony/filesystem/Exception/RuntimeException.php +++ b/vendor/symfony/filesystem/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 RectorPrefix20220519\Symfony\Component\Filesystem\Exception; +namespace RectorPrefix20220520\Symfony\Component\Filesystem\Exception; /** * @author Théo Fidry */ -class RuntimeException extends \RuntimeException implements \RectorPrefix20220519\Symfony\Component\Filesystem\Exception\ExceptionInterface +class RuntimeException extends \RuntimeException implements \RectorPrefix20220520\Symfony\Component\Filesystem\Exception\ExceptionInterface { } diff --git a/vendor/symfony/filesystem/Filesystem.php b/vendor/symfony/filesystem/Filesystem.php index e71cce7b39f..fc8cc132a4a 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 RectorPrefix20220519\Symfony\Component\Filesystem; +namespace RectorPrefix20220520\Symfony\Component\Filesystem; -use RectorPrefix20220519\Symfony\Component\Filesystem\Exception\FileNotFoundException; -use RectorPrefix20220519\Symfony\Component\Filesystem\Exception\InvalidArgumentException; -use RectorPrefix20220519\Symfony\Component\Filesystem\Exception\IOException; +use RectorPrefix20220520\Symfony\Component\Filesystem\Exception\FileNotFoundException; +use RectorPrefix20220520\Symfony\Component\Filesystem\Exception\InvalidArgumentException; +use RectorPrefix20220520\Symfony\Component\Filesystem\Exception\IOException; /** * Provides basic utility to manipulate the file system. * @@ -35,7 +35,7 @@ class Filesystem { $originIsLocal = \stream_is_local($originFile) || 0 === \stripos($originFile, 'file://'); if ($originIsLocal && !\is_file($originFile)) { - throw new \RectorPrefix20220519\Symfony\Component\Filesystem\Exception\FileNotFoundException(\sprintf('Failed to copy "%s" because file does not exist.', $originFile), 0, null, $originFile); + throw new \RectorPrefix20220520\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; @@ -45,24 +45,24 @@ class Filesystem if ($doCopy) { // https://bugs.php.net/64634 if (!($source = self::box('fopen', $originFile, 'r'))) { - throw new \RectorPrefix20220519\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 \RectorPrefix20220520\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 \RectorPrefix20220519\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 \RectorPrefix20220520\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 \RectorPrefix20220519\Symfony\Component\Filesystem\Exception\IOException(\sprintf('Failed to copy "%s" to "%s".', $originFile, $targetFile), 0, null, $originFile); + throw new \RectorPrefix20220520\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 \RectorPrefix20220519\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 \RectorPrefix20220520\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); } } } @@ -80,7 +80,7 @@ class Filesystem continue; } if (!self::box('mkdir', $dir, $mode, \true) && !\is_dir($dir)) { - throw new \RectorPrefix20220519\Symfony\Component\Filesystem\Exception\IOException(\sprintf('Failed to create "%s": ', $dir) . self::$lastError, 0, null, $dir); + throw new \RectorPrefix20220520\Symfony\Component\Filesystem\Exception\IOException(\sprintf('Failed to create "%s": ', $dir) . self::$lastError, 0, null, $dir); } } } @@ -93,7 +93,7 @@ class Filesystem $maxPathLength = \PHP_MAXPATHLEN - 2; foreach ($this->toIterable($files) as $file) { if (\strlen($file) > $maxPathLength) { - throw new \RectorPrefix20220519\Symfony\Component\Filesystem\Exception\IOException(\sprintf('Could not check if file exist because path length exceeds %d characters.', $maxPathLength), 0, null, $file); + throw new \RectorPrefix20220520\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; @@ -114,7 +114,7 @@ class Filesystem { foreach ($this->toIterable($files) as $file) { if (!($time ? self::box('touch', $file, $time, $atime) : self::box('touch', $file))) { - throw new \RectorPrefix20220519\Symfony\Component\Filesystem\Exception\IOException(\sprintf('Failed to touch "%s": ', $file) . self::$lastError, 0, null, $file); + throw new \RectorPrefix20220520\Symfony\Component\Filesystem\Exception\IOException(\sprintf('Failed to touch "%s": ', $file) . self::$lastError, 0, null, $file); } } } @@ -140,7 +140,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 \RectorPrefix20220519\Symfony\Component\Filesystem\Exception\IOException(\sprintf('Failed to remove symlink "%s": ', $file) . self::$lastError); + throw new \RectorPrefix20220520\Symfony\Component\Filesystem\Exception\IOException(\sprintf('Failed to remove symlink "%s": ', $file) . self::$lastError); } } elseif (\is_dir($file)) { if (!$isRecursive) { @@ -148,7 +148,7 @@ class Filesystem if (\file_exists($tmpName)) { try { self::doRemove([$tmpName], \true); - } catch (\RectorPrefix20220519\Symfony\Component\Filesystem\Exception\IOException $e) { + } catch (\RectorPrefix20220520\Symfony\Component\Filesystem\Exception\IOException $e) { } } if (!\file_exists($tmpName) && self::box('rename', $file, $tmpName)) { @@ -165,10 +165,10 @@ class Filesystem if (null !== $origFile && self::box('rename', $file, $origFile)) { $file = $origFile; } - throw new \RectorPrefix20220519\Symfony\Component\Filesystem\Exception\IOException(\sprintf('Failed to remove directory "%s": ', $file) . $lastError); + throw new \RectorPrefix20220520\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 \RectorPrefix20220519\Symfony\Component\Filesystem\Exception\IOException(\sprintf('Failed to remove file "%s": ', $file) . self::$lastError); + throw new \RectorPrefix20220520\Symfony\Component\Filesystem\Exception\IOException(\sprintf('Failed to remove file "%s": ', $file) . self::$lastError); } } } @@ -186,7 +186,7 @@ class Filesystem { foreach ($this->toIterable($files) as $file) { if (\is_int($mode) && !self::box('chmod', $file, $mode & ~$umask)) { - throw new \RectorPrefix20220519\Symfony\Component\Filesystem\Exception\IOException(\sprintf('Failed to chmod file "%s": ', $file) . self::$lastError, 0, null, $file); + throw new \RectorPrefix20220520\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); @@ -210,11 +210,11 @@ class Filesystem } if (\is_link($file) && \function_exists('lchown')) { if (!self::box('lchown', $file, $user)) { - throw new \RectorPrefix20220519\Symfony\Component\Filesystem\Exception\IOException(\sprintf('Failed to chown file "%s": ', $file) . self::$lastError, 0, null, $file); + throw new \RectorPrefix20220520\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 \RectorPrefix20220519\Symfony\Component\Filesystem\Exception\IOException(\sprintf('Failed to chown file "%s": ', $file) . self::$lastError, 0, null, $file); + throw new \RectorPrefix20220520\Symfony\Component\Filesystem\Exception\IOException(\sprintf('Failed to chown file "%s": ', $file) . self::$lastError, 0, null, $file); } } } @@ -236,11 +236,11 @@ class Filesystem } if (\is_link($file) && \function_exists('lchgrp')) { if (!self::box('lchgrp', $file, $group)) { - throw new \RectorPrefix20220519\Symfony\Component\Filesystem\Exception\IOException(\sprintf('Failed to chgrp file "%s": ', $file) . self::$lastError, 0, null, $file); + throw new \RectorPrefix20220520\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 \RectorPrefix20220519\Symfony\Component\Filesystem\Exception\IOException(\sprintf('Failed to chgrp file "%s": ', $file) . self::$lastError, 0, null, $file); + throw new \RectorPrefix20220520\Symfony\Component\Filesystem\Exception\IOException(\sprintf('Failed to chgrp file "%s": ', $file) . self::$lastError, 0, null, $file); } } } @@ -255,7 +255,7 @@ class Filesystem { // we check that target does not exist if (!$overwrite && $this->isReadable($target)) { - throw new \RectorPrefix20220519\Symfony\Component\Filesystem\Exception\IOException(\sprintf('Cannot rename because the target "%s" already exists.', $target), 0, null, $target); + throw new \RectorPrefix20220520\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)) { @@ -264,7 +264,7 @@ class Filesystem $this->remove($origin); return; } - throw new \RectorPrefix20220519\Symfony\Component\Filesystem\Exception\IOException(\sprintf('Cannot rename "%s" to "%s": ', $origin, $target) . self::$lastError, 0, null, $target); + throw new \RectorPrefix20220520\Symfony\Component\Filesystem\Exception\IOException(\sprintf('Cannot rename "%s" to "%s": ', $origin, $target) . self::$lastError, 0, null, $target); } } /** @@ -276,7 +276,7 @@ class Filesystem { $maxPathLength = \PHP_MAXPATHLEN - 2; if (\strlen($filename) > $maxPathLength) { - throw new \RectorPrefix20220519\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 \RectorPrefix20220520\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); } @@ -317,10 +317,10 @@ class Filesystem public function hardlink(string $originFile, $targetFiles) { if (!$this->exists($originFile)) { - throw new \RectorPrefix20220519\Symfony\Component\Filesystem\Exception\FileNotFoundException(null, 0, null, $originFile); + throw new \RectorPrefix20220520\Symfony\Component\Filesystem\Exception\FileNotFoundException(null, 0, null, $originFile); } if (!\is_file($originFile)) { - throw new \RectorPrefix20220519\Symfony\Component\Filesystem\Exception\FileNotFoundException(\sprintf('Origin file "%s" is not a file.', $originFile)); + throw new \RectorPrefix20220520\Symfony\Component\Filesystem\Exception\FileNotFoundException(\sprintf('Origin file "%s" is not a file.', $originFile)); } foreach ($this->toIterable($targetFiles) as $targetFile) { if (\is_file($targetFile)) { @@ -341,10 +341,10 @@ class Filesystem { if (self::$lastError) { if ('\\' === \DIRECTORY_SEPARATOR && \strpos(self::$lastError, 'error code(1314)') !== \false) { - throw new \RectorPrefix20220519\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 \RectorPrefix20220520\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 \RectorPrefix20220519\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 \RectorPrefix20220520\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. @@ -376,10 +376,10 @@ class Filesystem public function makePathRelative(string $endPath, string $startPath) : string { if (!$this->isAbsolutePath($startPath)) { - throw new \RectorPrefix20220519\Symfony\Component\Filesystem\Exception\InvalidArgumentException(\sprintf('The start path "%s" is not absolute.', $startPath)); + throw new \RectorPrefix20220520\Symfony\Component\Filesystem\Exception\InvalidArgumentException(\sprintf('The start path "%s" is not absolute.', $startPath)); } if (!$this->isAbsolutePath($endPath)) { - throw new \RectorPrefix20220519\Symfony\Component\Filesystem\Exception\InvalidArgumentException(\sprintf('The end path "%s" is not absolute.', $endPath)); + throw new \RectorPrefix20220520\Symfony\Component\Filesystem\Exception\InvalidArgumentException(\sprintf('The end path "%s" is not absolute.', $endPath)); } // Normalize separators on Windows if ('\\' === \DIRECTORY_SEPARATOR) { @@ -449,7 +449,7 @@ class Filesystem $originDir = \rtrim($originDir, '/\\'); $originDirLen = \strlen($originDir); if (!$this->exists($originDir)) { - throw new \RectorPrefix20220519\Symfony\Component\Filesystem\Exception\IOException(\sprintf('The origin directory specified "%s" was not found.', $originDir), 0, null, $originDir); + throw new \RectorPrefix20220520\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']) { @@ -486,7 +486,7 @@ class Filesystem } elseif (\is_file($file)) { $this->copy($file, $target, $options['override'] ?? \false); } else { - throw new \RectorPrefix20220519\Symfony\Component\Filesystem\Exception\IOException(\sprintf('Unable to guess "%s" file type.', $file), 0, null, $file); + throw new \RectorPrefix20220520\Symfony\Component\Filesystem\Exception\IOException(\sprintf('Unable to guess "%s" file type.', $file), 0, null, $file); } } } @@ -518,7 +518,7 @@ class Filesystem } return $tmpFile; } - throw new \RectorPrefix20220519\Symfony\Component\Filesystem\Exception\IOException('A temporary file could not be created: ' . self::$lastError); + throw new \RectorPrefix20220520\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) { @@ -533,7 +533,7 @@ class Filesystem self::box('fclose', $handle); return $tmpFile; } - throw new \RectorPrefix20220519\Symfony\Component\Filesystem\Exception\IOException('A temporary file could not be created: ' . self::$lastError); + throw new \RectorPrefix20220520\Symfony\Component\Filesystem\Exception\IOException('A temporary file could not be created: ' . self::$lastError); } /** * Atomically dumps content into a file. @@ -556,7 +556,7 @@ class Filesystem $tmpFile = $this->tempnam($dir, \basename($filename)); try { if (\false === self::box('file_put_contents', $tmpFile, $content)) { - throw new \RectorPrefix20220519\Symfony\Component\Filesystem\Exception\IOException(\sprintf('Failed to write file "%s": ', $filename) . self::$lastError, 0, null, $filename); + throw new \RectorPrefix20220520\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); @@ -585,7 +585,7 @@ class Filesystem } $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 \RectorPrefix20220519\Symfony\Component\Filesystem\Exception\IOException(\sprintf('Failed to write file "%s": ', $filename) . self::$lastError, 0, null, $filename); + throw new \RectorPrefix20220520\Symfony\Component\Filesystem\Exception\IOException(\sprintf('Failed to write file "%s": ', $filename) . self::$lastError, 0, null, $filename); } } /** diff --git a/vendor/symfony/filesystem/Path.php b/vendor/symfony/filesystem/Path.php index 111fbe62692..ec1fa2c340c 100644 --- a/vendor/symfony/filesystem/Path.php +++ b/vendor/symfony/filesystem/Path.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 RectorPrefix20220519\Symfony\Component\Filesystem; +namespace RectorPrefix20220520\Symfony\Component\Filesystem; -use RectorPrefix20220519\Symfony\Component\Filesystem\Exception\InvalidArgumentException; -use RectorPrefix20220519\Symfony\Component\Filesystem\Exception\RuntimeException; +use RectorPrefix20220520\Symfony\Component\Filesystem\Exception\InvalidArgumentException; +use RectorPrefix20220520\Symfony\Component\Filesystem\Exception\RuntimeException; /** * Contains utility methods for handling path strings. * @@ -176,7 +176,7 @@ final class Path if (\getenv('HOMEDRIVE') && \getenv('HOMEPATH')) { return self::canonicalize(\getenv('HOMEDRIVE') . \getenv('HOMEPATH')); } - throw new \RectorPrefix20220519\Symfony\Component\Filesystem\Exception\RuntimeException("Cannot find the home directory path: Your environment or operating system isn't supported."); + throw new \RectorPrefix20220520\Symfony\Component\Filesystem\Exception\RuntimeException("Cannot find the home directory path: Your environment or operating system isn't supported."); } /** * Returns the root directory of a path. @@ -379,10 +379,10 @@ final class Path public static function makeAbsolute(string $path, string $basePath) : string { if ('' === $basePath) { - throw new \RectorPrefix20220519\Symfony\Component\Filesystem\Exception\InvalidArgumentException(\sprintf('The base path must be a non-empty string. Got: "%s".', $basePath)); + throw new \RectorPrefix20220520\Symfony\Component\Filesystem\Exception\InvalidArgumentException(\sprintf('The base path must be a non-empty string. Got: "%s".', $basePath)); } if (!self::isAbsolute($basePath)) { - throw new \RectorPrefix20220519\Symfony\Component\Filesystem\Exception\InvalidArgumentException(\sprintf('The base path "%s" is not an absolute path.', $basePath)); + throw new \RectorPrefix20220520\Symfony\Component\Filesystem\Exception\InvalidArgumentException(\sprintf('The base path "%s" is not an absolute path.', $basePath)); } if (self::isAbsolute($path)) { return self::canonicalize($path); @@ -464,11 +464,11 @@ final class Path // If the passed path is absolute, but the base path is not, we // cannot generate a relative path if ('' !== $root && '' === $baseRoot) { - throw new \RectorPrefix20220519\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)); + throw new \RectorPrefix20220520\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 \RectorPrefix20220519\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)); + throw new \RectorPrefix20220520\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; diff --git a/vendor/symfony/filesystem/composer.json b/vendor/symfony/filesystem/composer.json index d7d4fce59b4..cec7359bd97 100644 --- a/vendor/symfony/filesystem/composer.json +++ b/vendor/symfony/filesystem/composer.json @@ -22,7 +22,7 @@ }, "autoload": { "psr-4": { - "RectorPrefix20220519\\Symfony\\Component\\Filesystem\\": "" + "RectorPrefix20220520\\Symfony\\Component\\Filesystem\\": "" }, "exclude-from-classmap": [ "\/Tests\/" diff --git a/vendor/symfony/finder/Comparator/Comparator.php b/vendor/symfony/finder/Comparator/Comparator.php index 2fad7836d4b..02bb7de34c4 100644 --- a/vendor/symfony/finder/Comparator/Comparator.php +++ b/vendor/symfony/finder/Comparator/Comparator.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 RectorPrefix20220519\Symfony\Component\Finder\Comparator; +namespace RectorPrefix20220520\Symfony\Component\Finder\Comparator; /** * @author Fabien Potencier diff --git a/vendor/symfony/finder/Comparator/DateComparator.php b/vendor/symfony/finder/Comparator/DateComparator.php index b00e8ef5218..8c93b47309d 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 RectorPrefix20220519\Symfony\Component\Finder\Comparator; +namespace RectorPrefix20220520\Symfony\Component\Finder\Comparator; /** * DateCompare compiles date comparisons. * * @author Fabien Potencier */ -class DateComparator extends \RectorPrefix20220519\Symfony\Component\Finder\Comparator\Comparator +class DateComparator extends \RectorPrefix20220520\Symfony\Component\Finder\Comparator\Comparator { /** * @param string $test A comparison string diff --git a/vendor/symfony/finder/Comparator/NumberComparator.php b/vendor/symfony/finder/Comparator/NumberComparator.php index 6b6efe6324b..759086c3d69 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 RectorPrefix20220519\Symfony\Component\Finder\Comparator; +namespace RectorPrefix20220520\Symfony\Component\Finder\Comparator; /** * NumberComparator compiles a simple comparison to an anonymous @@ -31,7 +31,7 @@ namespace RectorPrefix20220519\Symfony\Component\Finder\Comparator; * * @see http://physics.nist.gov/cuu/Units/binary.html */ -class NumberComparator extends \RectorPrefix20220519\Symfony\Component\Finder\Comparator\Comparator +class NumberComparator extends \RectorPrefix20220520\Symfony\Component\Finder\Comparator\Comparator { /** * @param string|int $test A comparison string or an integer diff --git a/vendor/symfony/finder/Exception/AccessDeniedException.php b/vendor/symfony/finder/Exception/AccessDeniedException.php index 43fff2d646a..bb91d0d5e8c 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 RectorPrefix20220519\Symfony\Component\Finder\Exception; +namespace RectorPrefix20220520\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 b8194570edf..c415084643f 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 RectorPrefix20220519\Symfony\Component\Finder\Exception; +namespace RectorPrefix20220520\Symfony\Component\Finder\Exception; /** * @author Andreas Erhard diff --git a/vendor/symfony/finder/Finder.php b/vendor/symfony/finder/Finder.php index e246c1c5e76..0aaeae395fe 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 RectorPrefix20220519\Symfony\Component\Finder; +namespace RectorPrefix20220520\Symfony\Component\Finder; -use RectorPrefix20220519\Symfony\Component\Finder\Comparator\DateComparator; -use RectorPrefix20220519\Symfony\Component\Finder\Comparator\NumberComparator; -use RectorPrefix20220519\Symfony\Component\Finder\Exception\DirectoryNotFoundException; -use RectorPrefix20220519\Symfony\Component\Finder\Iterator\CustomFilterIterator; -use RectorPrefix20220519\Symfony\Component\Finder\Iterator\DateRangeFilterIterator; -use RectorPrefix20220519\Symfony\Component\Finder\Iterator\DepthRangeFilterIterator; -use RectorPrefix20220519\Symfony\Component\Finder\Iterator\ExcludeDirectoryFilterIterator; -use RectorPrefix20220519\Symfony\Component\Finder\Iterator\FilecontentFilterIterator; -use RectorPrefix20220519\Symfony\Component\Finder\Iterator\FilenameFilterIterator; -use RectorPrefix20220519\Symfony\Component\Finder\Iterator\LazyIterator; -use RectorPrefix20220519\Symfony\Component\Finder\Iterator\SizeRangeFilterIterator; -use RectorPrefix20220519\Symfony\Component\Finder\Iterator\SortableIterator; +use RectorPrefix20220520\Symfony\Component\Finder\Comparator\DateComparator; +use RectorPrefix20220520\Symfony\Component\Finder\Comparator\NumberComparator; +use RectorPrefix20220520\Symfony\Component\Finder\Exception\DirectoryNotFoundException; +use RectorPrefix20220520\Symfony\Component\Finder\Iterator\CustomFilterIterator; +use RectorPrefix20220520\Symfony\Component\Finder\Iterator\DateRangeFilterIterator; +use RectorPrefix20220520\Symfony\Component\Finder\Iterator\DepthRangeFilterIterator; +use RectorPrefix20220520\Symfony\Component\Finder\Iterator\ExcludeDirectoryFilterIterator; +use RectorPrefix20220520\Symfony\Component\Finder\Iterator\FilecontentFilterIterator; +use RectorPrefix20220520\Symfony\Component\Finder\Iterator\FilenameFilterIterator; +use RectorPrefix20220520\Symfony\Component\Finder\Iterator\LazyIterator; +use RectorPrefix20220520\Symfony\Component\Finder\Iterator\SizeRangeFilterIterator; +use RectorPrefix20220520\Symfony\Component\Finder\Iterator\SortableIterator; /** * Finder allows to build rules to find files and directories. * @@ -141,7 +141,7 @@ class Finder implements \IteratorAggregate, \Countable */ public function directories() { - $this->mode = \RectorPrefix20220519\Symfony\Component\Finder\Iterator\FileTypeFilterIterator::ONLY_DIRECTORIES; + $this->mode = \RectorPrefix20220520\Symfony\Component\Finder\Iterator\FileTypeFilterIterator::ONLY_DIRECTORIES; return $this; } /** @@ -151,7 +151,7 @@ class Finder implements \IteratorAggregate, \Countable */ public function files() { - $this->mode = \RectorPrefix20220519\Symfony\Component\Finder\Iterator\FileTypeFilterIterator::ONLY_FILES; + $this->mode = \RectorPrefix20220520\Symfony\Component\Finder\Iterator\FileTypeFilterIterator::ONLY_FILES; return $this; } /** @@ -173,7 +173,7 @@ class Finder implements \IteratorAggregate, \Countable public function depth($levels) { foreach ((array) $levels as $level) { - $this->depths[] = new \RectorPrefix20220519\Symfony\Component\Finder\Comparator\NumberComparator($level); + $this->depths[] = new \RectorPrefix20220520\Symfony\Component\Finder\Comparator\NumberComparator($level); } return $this; } @@ -199,7 +199,7 @@ class Finder implements \IteratorAggregate, \Countable public function date($dates) { foreach ((array) $dates as $date) { - $this->dates[] = new \RectorPrefix20220519\Symfony\Component\Finder\Comparator\DateComparator($date); + $this->dates[] = new \RectorPrefix20220520\Symfony\Component\Finder\Comparator\DateComparator($date); } return $this; } @@ -340,7 +340,7 @@ class Finder implements \IteratorAggregate, \Countable public function size($sizes) { foreach ((array) $sizes as $size) { - $this->sizes[] = new \RectorPrefix20220519\Symfony\Component\Finder\Comparator\NumberComparator($size); + $this->sizes[] = new \RectorPrefix20220520\Symfony\Component\Finder\Comparator\NumberComparator($size); } return $this; } @@ -455,7 +455,7 @@ class Finder implements \IteratorAggregate, \Countable */ public function sortByName(bool $useNaturalSort = \false) { - $this->sort = $useNaturalSort ? \RectorPrefix20220519\Symfony\Component\Finder\Iterator\SortableIterator::SORT_BY_NAME_NATURAL : \RectorPrefix20220519\Symfony\Component\Finder\Iterator\SortableIterator::SORT_BY_NAME; + $this->sort = $useNaturalSort ? \RectorPrefix20220520\Symfony\Component\Finder\Iterator\SortableIterator::SORT_BY_NAME_NATURAL : \RectorPrefix20220520\Symfony\Component\Finder\Iterator\SortableIterator::SORT_BY_NAME; return $this; } /** @@ -469,7 +469,7 @@ class Finder implements \IteratorAggregate, \Countable */ public function sortByType() { - $this->sort = \RectorPrefix20220519\Symfony\Component\Finder\Iterator\SortableIterator::SORT_BY_TYPE; + $this->sort = \RectorPrefix20220520\Symfony\Component\Finder\Iterator\SortableIterator::SORT_BY_TYPE; return $this; } /** @@ -485,7 +485,7 @@ class Finder implements \IteratorAggregate, \Countable */ public function sortByAccessedTime() { - $this->sort = \RectorPrefix20220519\Symfony\Component\Finder\Iterator\SortableIterator::SORT_BY_ACCESSED_TIME; + $this->sort = \RectorPrefix20220520\Symfony\Component\Finder\Iterator\SortableIterator::SORT_BY_ACCESSED_TIME; return $this; } /** @@ -513,7 +513,7 @@ class Finder implements \IteratorAggregate, \Countable */ public function sortByChangedTime() { - $this->sort = \RectorPrefix20220519\Symfony\Component\Finder\Iterator\SortableIterator::SORT_BY_CHANGED_TIME; + $this->sort = \RectorPrefix20220520\Symfony\Component\Finder\Iterator\SortableIterator::SORT_BY_CHANGED_TIME; return $this; } /** @@ -529,7 +529,7 @@ class Finder implements \IteratorAggregate, \Countable */ public function sortByModifiedTime() { - $this->sort = \RectorPrefix20220519\Symfony\Component\Finder\Iterator\SortableIterator::SORT_BY_MODIFIED_TIME; + $this->sort = \RectorPrefix20220520\Symfony\Component\Finder\Iterator\SortableIterator::SORT_BY_MODIFIED_TIME; return $this; } /** @@ -588,7 +588,7 @@ class Finder implements \IteratorAggregate, \Countable \sort($glob); $resolvedDirs[] = \array_map([$this, 'normalizeDir'], $glob); } else { - throw new \RectorPrefix20220519\Symfony\Component\Finder\Exception\DirectoryNotFoundException(\sprintf('The "%s" directory does not exist.', $dir)); + throw new \RectorPrefix20220520\Symfony\Component\Finder\Exception\DirectoryNotFoundException(\sprintf('The "%s" directory does not exist.', $dir)); } } $this->dirs = \array_merge($this->dirs, ...$resolvedDirs); @@ -611,13 +611,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 \RectorPrefix20220519\Symfony\Component\Finder\Iterator\SortableIterator($iterator, $this->sort, $this->reverseSorting))->getIterator(); + $iterator = (new \RectorPrefix20220520\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 \RectorPrefix20220519\Symfony\Component\Finder\Iterator\LazyIterator(function () use($dir) { + $iterator->append(new \IteratorIterator(new \RectorPrefix20220520\Symfony\Component\Finder\Iterator\LazyIterator(function () use($dir) { return $this->searchInDirectory($dir); }))); } @@ -625,7 +625,7 @@ class Finder implements \IteratorAggregate, \Countable $iterator->append($it); } if ($this->sort || $this->reverseSorting) { - $iterator = (new \RectorPrefix20220519\Symfony\Component\Finder\Iterator\SortableIterator($iterator, $this->sort, $this->reverseSorting))->getIterator(); + $iterator = (new \RectorPrefix20220520\Symfony\Component\Finder\Iterator\SortableIterator($iterator, $this->sort, $this->reverseSorting))->getIterator(); } return $iterator; } @@ -707,37 +707,37 @@ class Finder implements \IteratorAggregate, \Countable if ($this->followLinks) { $flags |= \RecursiveDirectoryIterator::FOLLOW_SYMLINKS; } - $iterator = new \RectorPrefix20220519\Symfony\Component\Finder\Iterator\RecursiveDirectoryIterator($dir, $flags, $this->ignoreUnreadableDirs); + $iterator = new \RectorPrefix20220520\Symfony\Component\Finder\Iterator\RecursiveDirectoryIterator($dir, $flags, $this->ignoreUnreadableDirs); if ($exclude) { - $iterator = new \RectorPrefix20220519\Symfony\Component\Finder\Iterator\ExcludeDirectoryFilterIterator($iterator, $exclude); + $iterator = new \RectorPrefix20220520\Symfony\Component\Finder\Iterator\ExcludeDirectoryFilterIterator($iterator, $exclude); } $iterator = new \RecursiveIteratorIterator($iterator, \RecursiveIteratorIterator::SELF_FIRST); if ($minDepth > 0 || $maxDepth < \PHP_INT_MAX) { - $iterator = new \RectorPrefix20220519\Symfony\Component\Finder\Iterator\DepthRangeFilterIterator($iterator, $minDepth, $maxDepth); + $iterator = new \RectorPrefix20220520\Symfony\Component\Finder\Iterator\DepthRangeFilterIterator($iterator, $minDepth, $maxDepth); } if ($this->mode) { - $iterator = new \RectorPrefix20220519\Symfony\Component\Finder\Iterator\FileTypeFilterIterator($iterator, $this->mode); + $iterator = new \RectorPrefix20220520\Symfony\Component\Finder\Iterator\FileTypeFilterIterator($iterator, $this->mode); } if ($this->names || $this->notNames) { - $iterator = new \RectorPrefix20220519\Symfony\Component\Finder\Iterator\FilenameFilterIterator($iterator, $this->names, $this->notNames); + $iterator = new \RectorPrefix20220520\Symfony\Component\Finder\Iterator\FilenameFilterIterator($iterator, $this->names, $this->notNames); } if ($this->contains || $this->notContains) { - $iterator = new \RectorPrefix20220519\Symfony\Component\Finder\Iterator\FilecontentFilterIterator($iterator, $this->contains, $this->notContains); + $iterator = new \RectorPrefix20220520\Symfony\Component\Finder\Iterator\FilecontentFilterIterator($iterator, $this->contains, $this->notContains); } if ($this->sizes) { - $iterator = new \RectorPrefix20220519\Symfony\Component\Finder\Iterator\SizeRangeFilterIterator($iterator, $this->sizes); + $iterator = new \RectorPrefix20220520\Symfony\Component\Finder\Iterator\SizeRangeFilterIterator($iterator, $this->sizes); } if ($this->dates) { - $iterator = new \RectorPrefix20220519\Symfony\Component\Finder\Iterator\DateRangeFilterIterator($iterator, $this->dates); + $iterator = new \RectorPrefix20220520\Symfony\Component\Finder\Iterator\DateRangeFilterIterator($iterator, $this->dates); } if ($this->filters) { - $iterator = new \RectorPrefix20220519\Symfony\Component\Finder\Iterator\CustomFilterIterator($iterator, $this->filters); + $iterator = new \RectorPrefix20220520\Symfony\Component\Finder\Iterator\CustomFilterIterator($iterator, $this->filters); } if ($this->paths || $notPaths) { - $iterator = new \RectorPrefix20220519\Symfony\Component\Finder\Iterator\PathFilterIterator($iterator, $this->paths, $notPaths); + $iterator = new \RectorPrefix20220520\Symfony\Component\Finder\Iterator\PathFilterIterator($iterator, $this->paths, $notPaths); } if (static::IGNORE_VCS_IGNORED_FILES === (static::IGNORE_VCS_IGNORED_FILES & $this->ignore)) { - $iterator = new \RectorPrefix20220519\Symfony\Component\Finder\Iterator\VcsIgnoredFilterIterator($iterator, $dir); + $iterator = new \RectorPrefix20220520\Symfony\Component\Finder\Iterator\VcsIgnoredFilterIterator($iterator, $dir); } return $iterator; } diff --git a/vendor/symfony/finder/Gitignore.php b/vendor/symfony/finder/Gitignore.php index 119ab4821f8..3391315e78a 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 RectorPrefix20220519\Symfony\Component\Finder; +namespace RectorPrefix20220520\Symfony\Component\Finder; /** * Gitignore matches against text. diff --git a/vendor/symfony/finder/Glob.php b/vendor/symfony/finder/Glob.php index 28c1b853b22..85bc58b331b 100644 --- a/vendor/symfony/finder/Glob.php +++ b/vendor/symfony/finder/Glob.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 RectorPrefix20220519\Symfony\Component\Finder; +namespace RectorPrefix20220520\Symfony\Component\Finder; /** * Glob matches globbing patterns against text. diff --git a/vendor/symfony/finder/Iterator/CustomFilterIterator.php b/vendor/symfony/finder/Iterator/CustomFilterIterator.php index ff8f848dc40..5b238ba2049 100644 --- a/vendor/symfony/finder/Iterator/CustomFilterIterator.php +++ b/vendor/symfony/finder/Iterator/CustomFilterIterator.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 RectorPrefix20220519\Symfony\Component\Finder\Iterator; +namespace RectorPrefix20220520\Symfony\Component\Finder\Iterator; /** * CustomFilterIterator filters files by applying anonymous functions. diff --git a/vendor/symfony/finder/Iterator/DateRangeFilterIterator.php b/vendor/symfony/finder/Iterator/DateRangeFilterIterator.php index a5b189d04d7..9f584128192 100644 --- a/vendor/symfony/finder/Iterator/DateRangeFilterIterator.php +++ b/vendor/symfony/finder/Iterator/DateRangeFilterIterator.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 RectorPrefix20220519\Symfony\Component\Finder\Iterator; +namespace RectorPrefix20220520\Symfony\Component\Finder\Iterator; -use RectorPrefix20220519\Symfony\Component\Finder\Comparator\DateComparator; +use RectorPrefix20220520\Symfony\Component\Finder\Comparator\DateComparator; /** * DateRangeFilterIterator filters out files that are not in the given date range (last modified dates). * diff --git a/vendor/symfony/finder/Iterator/DepthRangeFilterIterator.php b/vendor/symfony/finder/Iterator/DepthRangeFilterIterator.php index 05c83b4b213..4315953df73 100644 --- a/vendor/symfony/finder/Iterator/DepthRangeFilterIterator.php +++ b/vendor/symfony/finder/Iterator/DepthRangeFilterIterator.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 RectorPrefix20220519\Symfony\Component\Finder\Iterator; +namespace RectorPrefix20220520\Symfony\Component\Finder\Iterator; /** * DepthRangeFilterIterator limits the directory depth. diff --git a/vendor/symfony/finder/Iterator/ExcludeDirectoryFilterIterator.php b/vendor/symfony/finder/Iterator/ExcludeDirectoryFilterIterator.php index 241b0aa50c3..4d3d6ee4ff2 100644 --- a/vendor/symfony/finder/Iterator/ExcludeDirectoryFilterIterator.php +++ b/vendor/symfony/finder/Iterator/ExcludeDirectoryFilterIterator.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 RectorPrefix20220519\Symfony\Component\Finder\Iterator; +namespace RectorPrefix20220520\Symfony\Component\Finder\Iterator; /** * ExcludeDirectoryFilterIterator filters out directories. diff --git a/vendor/symfony/finder/Iterator/FileTypeFilterIterator.php b/vendor/symfony/finder/Iterator/FileTypeFilterIterator.php index 7f927ddb640..79f099d7111 100644 --- a/vendor/symfony/finder/Iterator/FileTypeFilterIterator.php +++ b/vendor/symfony/finder/Iterator/FileTypeFilterIterator.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 RectorPrefix20220519\Symfony\Component\Finder\Iterator; +namespace RectorPrefix20220520\Symfony\Component\Finder\Iterator; /** * FileTypeFilterIterator only keeps files, directories, or both. diff --git a/vendor/symfony/finder/Iterator/FilecontentFilterIterator.php b/vendor/symfony/finder/Iterator/FilecontentFilterIterator.php index d43a70bee82..419977a87db 100644 --- a/vendor/symfony/finder/Iterator/FilecontentFilterIterator.php +++ b/vendor/symfony/finder/Iterator/FilecontentFilterIterator.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 RectorPrefix20220519\Symfony\Component\Finder\Iterator; +namespace RectorPrefix20220520\Symfony\Component\Finder\Iterator; /** * FilecontentFilterIterator filters files by their contents using patterns (regexps or strings). @@ -18,7 +18,7 @@ namespace RectorPrefix20220519\Symfony\Component\Finder\Iterator; * * @extends MultiplePcreFilterIterator */ -class FilecontentFilterIterator extends \RectorPrefix20220519\Symfony\Component\Finder\Iterator\MultiplePcreFilterIterator +class FilecontentFilterIterator extends \RectorPrefix20220520\Symfony\Component\Finder\Iterator\MultiplePcreFilterIterator { /** * Filters the iterator values. diff --git a/vendor/symfony/finder/Iterator/FilenameFilterIterator.php b/vendor/symfony/finder/Iterator/FilenameFilterIterator.php index 73a0d5214aa..3d8fef8ce3c 100644 --- a/vendor/symfony/finder/Iterator/FilenameFilterIterator.php +++ b/vendor/symfony/finder/Iterator/FilenameFilterIterator.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 RectorPrefix20220519\Symfony\Component\Finder\Iterator; +namespace RectorPrefix20220520\Symfony\Component\Finder\Iterator; -use RectorPrefix20220519\Symfony\Component\Finder\Glob; +use RectorPrefix20220520\Symfony\Component\Finder\Glob; /** * FilenameFilterIterator filters files by patterns (a regexp, a glob, or a string). * @@ -18,7 +18,7 @@ use RectorPrefix20220519\Symfony\Component\Finder\Glob; * * @extends MultiplePcreFilterIterator */ -class FilenameFilterIterator extends \RectorPrefix20220519\Symfony\Component\Finder\Iterator\MultiplePcreFilterIterator +class FilenameFilterIterator extends \RectorPrefix20220520\Symfony\Component\Finder\Iterator\MultiplePcreFilterIterator { /** * Filters the iterator values. @@ -37,6 +37,6 @@ class FilenameFilterIterator extends \RectorPrefix20220519\Symfony\Component\Fin */ protected function toRegex(string $str) : string { - return $this->isRegex($str) ? $str : \RectorPrefix20220519\Symfony\Component\Finder\Glob::toRegex($str); + return $this->isRegex($str) ? $str : \RectorPrefix20220520\Symfony\Component\Finder\Glob::toRegex($str); } } diff --git a/vendor/symfony/finder/Iterator/LazyIterator.php b/vendor/symfony/finder/Iterator/LazyIterator.php index 3f3e8754687..ed7698eeaab 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 RectorPrefix20220519\Symfony\Component\Finder\Iterator; +namespace RectorPrefix20220520\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 0d8ebb1adca..0bb8c9cda9e 100644 --- a/vendor/symfony/finder/Iterator/MultiplePcreFilterIterator.php +++ b/vendor/symfony/finder/Iterator/MultiplePcreFilterIterator.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 RectorPrefix20220519\Symfony\Component\Finder\Iterator; +namespace RectorPrefix20220520\Symfony\Component\Finder\Iterator; /** * MultiplePcreFilterIterator filters files using patterns (regexps, globs or strings). diff --git a/vendor/symfony/finder/Iterator/PathFilterIterator.php b/vendor/symfony/finder/Iterator/PathFilterIterator.php index 01b443607e6..ee04578e3e1 100644 --- a/vendor/symfony/finder/Iterator/PathFilterIterator.php +++ b/vendor/symfony/finder/Iterator/PathFilterIterator.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 RectorPrefix20220519\Symfony\Component\Finder\Iterator; +namespace RectorPrefix20220520\Symfony\Component\Finder\Iterator; /** * PathFilterIterator filters files by path patterns (e.g. some/special/dir). @@ -18,7 +18,7 @@ namespace RectorPrefix20220519\Symfony\Component\Finder\Iterator; * * @extends MultiplePcreFilterIterator */ -class PathFilterIterator extends \RectorPrefix20220519\Symfony\Component\Finder\Iterator\MultiplePcreFilterIterator +class PathFilterIterator extends \RectorPrefix20220520\Symfony\Component\Finder\Iterator\MultiplePcreFilterIterator { /** * Filters the iterator values. diff --git a/vendor/symfony/finder/Iterator/RecursiveDirectoryIterator.php b/vendor/symfony/finder/Iterator/RecursiveDirectoryIterator.php index 474669fcdd8..b7415706747 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 RectorPrefix20220519\Symfony\Component\Finder\Iterator; +namespace RectorPrefix20220520\Symfony\Component\Finder\Iterator; -use RectorPrefix20220519\Symfony\Component\Finder\Exception\AccessDeniedException; -use RectorPrefix20220519\Symfony\Component\Finder\SplFileInfo; +use RectorPrefix20220520\Symfony\Component\Finder\Exception\AccessDeniedException; +use RectorPrefix20220520\Symfony\Component\Finder\SplFileInfo; /** * Extends the \RecursiveDirectoryIterator to support relative paths. * @@ -58,7 +58,7 @@ class RecursiveDirectoryIterator extends \RecursiveDirectoryIterator /** * Return an instance of SplFileInfo with support for relative paths. */ - public function current() : \RectorPrefix20220519\Symfony\Component\Finder\SplFileInfo + public function current() : \RectorPrefix20220520\Symfony\Component\Finder\SplFileInfo { // the logic here avoids redoing the same work in all iterations if (!isset($this->subPath)) { @@ -72,7 +72,7 @@ class RecursiveDirectoryIterator extends \RecursiveDirectoryIterator if ('/' !== ($basePath = $this->rootPath)) { $basePath .= $this->directorySeparator; } - return new \RectorPrefix20220519\Symfony\Component\Finder\SplFileInfo($basePath . $subPathname, $this->subPath, $subPathname); + return new \RectorPrefix20220520\Symfony\Component\Finder\SplFileInfo($basePath . $subPathname, $this->subPath, $subPathname); } public function hasChildren($allowLinks = \false) : bool { @@ -104,7 +104,7 @@ class RecursiveDirectoryIterator extends \RecursiveDirectoryIterator } return $children; } catch (\UnexpectedValueException $e) { - throw new \RectorPrefix20220519\Symfony\Component\Finder\Exception\AccessDeniedException($e->getMessage(), $e->getCode(), $e); + throw new \RectorPrefix20220520\Symfony\Component\Finder\Exception\AccessDeniedException($e->getMessage(), $e->getCode(), $e); } } /** diff --git a/vendor/symfony/finder/Iterator/SizeRangeFilterIterator.php b/vendor/symfony/finder/Iterator/SizeRangeFilterIterator.php index 2d0b8d98697..1c93aad9f5d 100644 --- a/vendor/symfony/finder/Iterator/SizeRangeFilterIterator.php +++ b/vendor/symfony/finder/Iterator/SizeRangeFilterIterator.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 RectorPrefix20220519\Symfony\Component\Finder\Iterator; +namespace RectorPrefix20220520\Symfony\Component\Finder\Iterator; -use RectorPrefix20220519\Symfony\Component\Finder\Comparator\NumberComparator; +use RectorPrefix20220520\Symfony\Component\Finder\Comparator\NumberComparator; /** * SizeRangeFilterIterator filters out files that are not in the given size range. * diff --git a/vendor/symfony/finder/Iterator/SortableIterator.php b/vendor/symfony/finder/Iterator/SortableIterator.php index 2e21d4917c8..dc3697514ef 100644 --- a/vendor/symfony/finder/Iterator/SortableIterator.php +++ b/vendor/symfony/finder/Iterator/SortableIterator.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 RectorPrefix20220519\Symfony\Component\Finder\Iterator; +namespace RectorPrefix20220520\Symfony\Component\Finder\Iterator; /** * SortableIterator applies a sort on a given Iterator. diff --git a/vendor/symfony/finder/Iterator/VcsIgnoredFilterIterator.php b/vendor/symfony/finder/Iterator/VcsIgnoredFilterIterator.php index a82219071df..da1466da50f 100644 --- a/vendor/symfony/finder/Iterator/VcsIgnoredFilterIterator.php +++ b/vendor/symfony/finder/Iterator/VcsIgnoredFilterIterator.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 RectorPrefix20220519\Symfony\Component\Finder\Iterator; +namespace RectorPrefix20220520\Symfony\Component\Finder\Iterator; -use RectorPrefix20220519\Symfony\Component\Finder\Gitignore; +use RectorPrefix20220520\Symfony\Component\Finder\Gitignore; final class VcsIgnoredFilterIterator extends \FilterIterator { /** @@ -101,7 +101,7 @@ final class VcsIgnoredFilterIterator extends \FilterIterator 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] = [\RectorPrefix20220519\Symfony\Component\Finder\Gitignore::toRegex($gitignoreFileContent), \RectorPrefix20220519\Symfony\Component\Finder\Gitignore::toRegexMatchingNegatedPatterns($gitignoreFileContent)]; + return $this->gitignoreFilesCache[$path] = [\RectorPrefix20220520\Symfony\Component\Finder\Gitignore::toRegex($gitignoreFileContent), \RectorPrefix20220520\Symfony\Component\Finder\Gitignore::toRegexMatchingNegatedPatterns($gitignoreFileContent)]; } private function normalizePath(string $path) : string { diff --git a/vendor/symfony/finder/SplFileInfo.php b/vendor/symfony/finder/SplFileInfo.php index 035473d1974..2fb1f621d89 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 RectorPrefix20220519\Symfony\Component\Finder; +namespace RectorPrefix20220520\Symfony\Component\Finder; /** * Extends \SplFileInfo to support relative paths. diff --git a/vendor/symfony/finder/composer.json b/vendor/symfony/finder/composer.json index 712ae97c580..7fd59debb71 100644 --- a/vendor/symfony/finder/composer.json +++ b/vendor/symfony/finder/composer.json @@ -20,7 +20,7 @@ }, "autoload": { "psr-4": { - "RectorPrefix20220519\\Symfony\\Component\\Finder\\": "" + "RectorPrefix20220520\\Symfony\\Component\\Finder\\": "" }, "exclude-from-classmap": [ "\/Tests\/" diff --git a/vendor/symfony/polyfill-ctype/Ctype.php b/vendor/symfony/polyfill-ctype/Ctype.php index 759392d9b0d..acf1eb36271 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 RectorPrefix20220519\Symfony\Polyfill\Ctype; +namespace RectorPrefix20220520\Symfony\Polyfill\Ctype; /** * Ctype implementation through regex. diff --git a/vendor/symfony/polyfill-ctype/bootstrap.php b/vendor/symfony/polyfill-ctype/bootstrap.php index c9f95b345f3..9edaae58b3c 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 RectorPrefix20220519\Symfony\Polyfill\Ctype as p; +use RectorPrefix20220520\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 \RectorPrefix20220519\Symfony\Polyfill\Ctype\Ctype::ctype_alnum($text); + return \RectorPrefix20220520\Symfony\Polyfill\Ctype\Ctype::ctype_alnum($text); } } if (!\function_exists('ctype_alpha')) { function ctype_alpha($text) { - return \RectorPrefix20220519\Symfony\Polyfill\Ctype\Ctype::ctype_alpha($text); + return \RectorPrefix20220520\Symfony\Polyfill\Ctype\Ctype::ctype_alpha($text); } } if (!\function_exists('ctype_cntrl')) { function ctype_cntrl($text) { - return \RectorPrefix20220519\Symfony\Polyfill\Ctype\Ctype::ctype_cntrl($text); + return \RectorPrefix20220520\Symfony\Polyfill\Ctype\Ctype::ctype_cntrl($text); } } if (!\function_exists('ctype_digit')) { function ctype_digit($text) { - return \RectorPrefix20220519\Symfony\Polyfill\Ctype\Ctype::ctype_digit($text); + return \RectorPrefix20220520\Symfony\Polyfill\Ctype\Ctype::ctype_digit($text); } } if (!\function_exists('ctype_graph')) { function ctype_graph($text) { - return \RectorPrefix20220519\Symfony\Polyfill\Ctype\Ctype::ctype_graph($text); + return \RectorPrefix20220520\Symfony\Polyfill\Ctype\Ctype::ctype_graph($text); } } if (!\function_exists('ctype_lower')) { function ctype_lower($text) { - return \RectorPrefix20220519\Symfony\Polyfill\Ctype\Ctype::ctype_lower($text); + return \RectorPrefix20220520\Symfony\Polyfill\Ctype\Ctype::ctype_lower($text); } } if (!\function_exists('ctype_print')) { function ctype_print($text) { - return \RectorPrefix20220519\Symfony\Polyfill\Ctype\Ctype::ctype_print($text); + return \RectorPrefix20220520\Symfony\Polyfill\Ctype\Ctype::ctype_print($text); } } if (!\function_exists('ctype_punct')) { function ctype_punct($text) { - return \RectorPrefix20220519\Symfony\Polyfill\Ctype\Ctype::ctype_punct($text); + return \RectorPrefix20220520\Symfony\Polyfill\Ctype\Ctype::ctype_punct($text); } } if (!\function_exists('ctype_space')) { function ctype_space($text) { - return \RectorPrefix20220519\Symfony\Polyfill\Ctype\Ctype::ctype_space($text); + return \RectorPrefix20220520\Symfony\Polyfill\Ctype\Ctype::ctype_space($text); } } if (!\function_exists('ctype_upper')) { function ctype_upper($text) { - return \RectorPrefix20220519\Symfony\Polyfill\Ctype\Ctype::ctype_upper($text); + return \RectorPrefix20220520\Symfony\Polyfill\Ctype\Ctype::ctype_upper($text); } } if (!\function_exists('ctype_xdigit')) { function ctype_xdigit($text) { - return \RectorPrefix20220519\Symfony\Polyfill\Ctype\Ctype::ctype_xdigit($text); + return \RectorPrefix20220520\Symfony\Polyfill\Ctype\Ctype::ctype_xdigit($text); } } diff --git a/vendor/symfony/polyfill-ctype/bootstrap80.php b/vendor/symfony/polyfill-ctype/bootstrap80.php index a0f1f2dacaa..8569d2bb99d 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 RectorPrefix20220519\Symfony\Polyfill\Ctype as p; +use RectorPrefix20220520\Symfony\Polyfill\Ctype as p; if (!\function_exists('ctype_alnum')) { /** * @param mixed $text */ function ctype_alnum($text) : bool { - return \RectorPrefix20220519\Symfony\Polyfill\Ctype\Ctype::ctype_alnum($text); + return \RectorPrefix20220520\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 \RectorPrefix20220519\Symfony\Polyfill\Ctype\Ctype::ctype_alpha($text); + return \RectorPrefix20220520\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 \RectorPrefix20220519\Symfony\Polyfill\Ctype\Ctype::ctype_cntrl($text); + return \RectorPrefix20220520\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 \RectorPrefix20220519\Symfony\Polyfill\Ctype\Ctype::ctype_digit($text); + return \RectorPrefix20220520\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 \RectorPrefix20220519\Symfony\Polyfill\Ctype\Ctype::ctype_graph($text); + return \RectorPrefix20220520\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 \RectorPrefix20220519\Symfony\Polyfill\Ctype\Ctype::ctype_lower($text); + return \RectorPrefix20220520\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 \RectorPrefix20220519\Symfony\Polyfill\Ctype\Ctype::ctype_print($text); + return \RectorPrefix20220520\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 \RectorPrefix20220519\Symfony\Polyfill\Ctype\Ctype::ctype_punct($text); + return \RectorPrefix20220520\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 \RectorPrefix20220519\Symfony\Polyfill\Ctype\Ctype::ctype_space($text); + return \RectorPrefix20220520\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 \RectorPrefix20220519\Symfony\Polyfill\Ctype\Ctype::ctype_upper($text); + return \RectorPrefix20220520\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 \RectorPrefix20220519\Symfony\Polyfill\Ctype\Ctype::ctype_xdigit($text); + return \RectorPrefix20220520\Symfony\Polyfill\Ctype\Ctype::ctype_xdigit($text); } } diff --git a/vendor/symfony/polyfill-ctype/composer.json b/vendor/symfony/polyfill-ctype/composer.json index f3c52fc6fc8..1a656916a32 100644 --- a/vendor/symfony/polyfill-ctype/composer.json +++ b/vendor/symfony/polyfill-ctype/composer.json @@ -28,7 +28,7 @@ }, "autoload": { "psr-4": { - "RectorPrefix20220519\\Symfony\\Polyfill\\Ctype\\": "" + "RectorPrefix20220520\\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 db0ed539f47..77d2ef925e5 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 RectorPrefix20220519\Symfony\Polyfill\Intl\Grapheme; +namespace RectorPrefix20220520\Symfony\Polyfill\Intl\Grapheme; -\define('SYMFONY_GRAPHEME_CLUSTER_RX', ((float) \PCRE_VERSION < 10 ? (float) \PCRE_VERSION >= 8.32 : (float) \PCRE_VERSION >= 10.39) ? '\\X' : \RectorPrefix20220519\Symfony\Polyfill\Intl\Grapheme\Grapheme::GRAPHEME_CLUSTER_RX); +\define('SYMFONY_GRAPHEME_CLUSTER_RX', ((float) \PCRE_VERSION < 10 ? (float) \PCRE_VERSION >= 8.32 : (float) \PCRE_VERSION >= 10.39) ? '\\X' : \RectorPrefix20220520\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 9334f98b022..86a78de21c1 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 RectorPrefix20220519\Symfony\Polyfill\Intl\Grapheme as p; +use RectorPrefix20220520\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 \RectorPrefix20220519\Symfony\Polyfill\Intl\Grapheme\Grapheme::grapheme_extract($haystack, $size, $type, $start, $next); + return \RectorPrefix20220520\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 \RectorPrefix20220519\Symfony\Polyfill\Intl\Grapheme\Grapheme::grapheme_stripos($haystack, $needle, $offset); + return \RectorPrefix20220520\Symfony\Polyfill\Intl\Grapheme\Grapheme::grapheme_stripos($haystack, $needle, $offset); } } if (!\function_exists('grapheme_stristr')) { function grapheme_stristr($haystack, $needle, $beforeNeedle = \false) { - return \RectorPrefix20220519\Symfony\Polyfill\Intl\Grapheme\Grapheme::grapheme_stristr($haystack, $needle, $beforeNeedle); + return \RectorPrefix20220520\Symfony\Polyfill\Intl\Grapheme\Grapheme::grapheme_stristr($haystack, $needle, $beforeNeedle); } } if (!\function_exists('grapheme_strlen')) { function grapheme_strlen($input) { - return \RectorPrefix20220519\Symfony\Polyfill\Intl\Grapheme\Grapheme::grapheme_strlen($input); + return \RectorPrefix20220520\Symfony\Polyfill\Intl\Grapheme\Grapheme::grapheme_strlen($input); } } if (!\function_exists('grapheme_strpos')) { function grapheme_strpos($haystack, $needle, $offset = 0) { - return \RectorPrefix20220519\Symfony\Polyfill\Intl\Grapheme\Grapheme::grapheme_strpos($haystack, $needle, $offset); + return \RectorPrefix20220520\Symfony\Polyfill\Intl\Grapheme\Grapheme::grapheme_strpos($haystack, $needle, $offset); } } if (!\function_exists('grapheme_strripos')) { function grapheme_strripos($haystack, $needle, $offset = 0) { - return \RectorPrefix20220519\Symfony\Polyfill\Intl\Grapheme\Grapheme::grapheme_strripos($haystack, $needle, $offset); + return \RectorPrefix20220520\Symfony\Polyfill\Intl\Grapheme\Grapheme::grapheme_strripos($haystack, $needle, $offset); } } if (!\function_exists('grapheme_strrpos')) { function grapheme_strrpos($haystack, $needle, $offset = 0) { - return \RectorPrefix20220519\Symfony\Polyfill\Intl\Grapheme\Grapheme::grapheme_strrpos($haystack, $needle, $offset); + return \RectorPrefix20220520\Symfony\Polyfill\Intl\Grapheme\Grapheme::grapheme_strrpos($haystack, $needle, $offset); } } if (!\function_exists('grapheme_strstr')) { function grapheme_strstr($haystack, $needle, $beforeNeedle = \false) { - return \RectorPrefix20220519\Symfony\Polyfill\Intl\Grapheme\Grapheme::grapheme_strstr($haystack, $needle, $beforeNeedle); + return \RectorPrefix20220520\Symfony\Polyfill\Intl\Grapheme\Grapheme::grapheme_strstr($haystack, $needle, $beforeNeedle); } } if (!\function_exists('grapheme_substr')) { function grapheme_substr($string, $offset, $length = null) { - return \RectorPrefix20220519\Symfony\Polyfill\Intl\Grapheme\Grapheme::grapheme_substr($string, $offset, $length); + return \RectorPrefix20220520\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 9683a5a0a41..3ebdbf1ee3a 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 RectorPrefix20220519\Symfony\Polyfill\Intl\Grapheme as p; +use RectorPrefix20220520\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 \RectorPrefix20220519\Symfony\Polyfill\Intl\Grapheme\Grapheme::grapheme_extract((string) $haystack, (int) $size, (int) $type, (int) $offset, $next); + return \RectorPrefix20220520\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 \RectorPrefix20220519\Symfony\Polyfill\Intl\Grapheme\Grapheme::grapheme_stripos((string) $haystack, (string) $needle, (int) $offset); + return \RectorPrefix20220520\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 \RectorPrefix20220519\Symfony\Polyfill\Intl\Grapheme\Grapheme::grapheme_stristr((string) $haystack, (string) $needle, (bool) $beforeNeedle); + return \RectorPrefix20220520\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 \RectorPrefix20220519\Symfony\Polyfill\Intl\Grapheme\Grapheme::grapheme_strlen((string) $string); + return \RectorPrefix20220520\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 \RectorPrefix20220519\Symfony\Polyfill\Intl\Grapheme\Grapheme::grapheme_strpos((string) $haystack, (string) $needle, (int) $offset); + return \RectorPrefix20220520\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 \RectorPrefix20220519\Symfony\Polyfill\Intl\Grapheme\Grapheme::grapheme_strripos((string) $haystack, (string) $needle, (int) $offset); + return \RectorPrefix20220520\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 \RectorPrefix20220519\Symfony\Polyfill\Intl\Grapheme\Grapheme::grapheme_strrpos((string) $haystack, (string) $needle, (int) $offset); + return \RectorPrefix20220520\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 \RectorPrefix20220519\Symfony\Polyfill\Intl\Grapheme\Grapheme::grapheme_strstr((string) $haystack, (string) $needle, (bool) $beforeNeedle); + return \RectorPrefix20220520\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 \RectorPrefix20220519\Symfony\Polyfill\Intl\Grapheme\Grapheme::grapheme_substr((string) $string, (int) $offset, $length); + return \RectorPrefix20220520\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 873919a07f0..1b09f16791b 100644 --- a/vendor/symfony/polyfill-intl-grapheme/composer.json +++ b/vendor/symfony/polyfill-intl-grapheme/composer.json @@ -27,7 +27,7 @@ }, "autoload": { "psr-4": { - "RectorPrefix20220519\\Symfony\\Polyfill\\Intl\\Grapheme\\": "" + "RectorPrefix20220520\\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 bb108410672..69f4a66a16e 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 RectorPrefix20220519\Symfony\Polyfill\Intl\Normalizer; +namespace RectorPrefix20220520\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 210aaa3cd82..e12755a1da1 100644 --- a/vendor/symfony/polyfill-intl-normalizer/Resources/stubs/Normalizer.php +++ b/vendor/symfony/polyfill-intl-normalizer/Resources/stubs/Normalizer.php @@ -2,7 +2,7 @@ -class Normalizer extends \RectorPrefix20220519\Symfony\Polyfill\Intl\Normalizer\Normalizer +class Normalizer extends \RectorPrefix20220520\Symfony\Polyfill\Intl\Normalizer\Normalizer { /** * @deprecated since ICU 56 and removed in PHP 8 diff --git a/vendor/symfony/polyfill-intl-normalizer/Resources/unidata/canonicalComposition.php b/vendor/symfony/polyfill-intl-normalizer/Resources/unidata/canonicalComposition.php index 487197a9942..aa63d7a778c 100644 --- a/vendor/symfony/polyfill-intl-normalizer/Resources/unidata/canonicalComposition.php +++ b/vendor/symfony/polyfill-intl-normalizer/Resources/unidata/canonicalComposition.php @@ -1,5 +1,5 @@ 'À', 'Á' => 'Á', 'Â' => 'Â', 'Ã' => 'Ã', 'Ä' => 'Ä', 'Å' => 'Å', 'Ç' => 'Ç', 'È' => 'È', 'É' => 'É', 'Ê' => 'Ê', 'Ë' => 'Ë', 'Ì' => 'Ì', 'Í' => 'Í', 'Î' => 'Î', 'Ï' => 'Ï', 'Ñ' => 'Ñ', 'Ò' => 'Ò', 'Ó' => 'Ó', 'Ô' => 'Ô', 'Õ' => 'Õ', 'Ö' => 'Ö', 'Ù' => 'Ù', 'Ú' => 'Ú', 'Û' => 'Û', 'Ü' => 'Ü', 'Ý' => 'Ý', 'à' => 'à', 'á' => 'á', 'â' => 'â', 'ã' => 'ã', 'ä' => 'ä', 'å' => 'å', 'ç' => 'ç', 'è' => 'è', 'é' => 'é', 'ê' => 'ê', 'ë' => 'ë', 'ì' => 'ì', 'í' => 'í', 'î' => 'î', 'ï' => 'ï', 'ñ' => 'ñ', 'ò' => 'ò', 'ó' => 'ó', 'ô' => 'ô', 'õ' => 'õ', 'ö' => 'ö', 'ù' => 'ù', 'ú' => 'ú', 'û' => 'û', 'ü' => 'ü', 'ý' => 'ý', 'ÿ' => 'ÿ', 'Ā' => 'Ā', 'ā' => 'ā', 'Ă' => 'Ă', 'ă' => 'ă', 'Ą' => 'Ą', 'ą' => 'ą', 'Ć' => 'Ć', 'ć' => 'ć', 'Ĉ' => 'Ĉ', 'ĉ' => 'ĉ', 'Ċ' => 'Ċ', 'ċ' => 'ċ', 'Č' => 'Č', 'č' => 'č', 'Ď' => 'Ď', 'ď' => 'ď', 'Ē' => 'Ē', 'ē' => 'ē', 'Ĕ' => 'Ĕ', 'ĕ' => 'ĕ', 'Ė' => 'Ė', 'ė' => 'ė', 'Ę' => 'Ę', 'ę' => 'ę', 'Ě' => 'Ě', 'ě' => 'ě', 'Ĝ' => 'Ĝ', 'ĝ' => 'ĝ', 'Ğ' => 'Ğ', 'ğ' => 'ğ', 'Ġ' => 'Ġ', 'ġ' => 'ġ', 'Ģ' => 'Ģ', 'ģ' => 'ģ', 'Ĥ' => 'Ĥ', 'ĥ' => 'ĥ', 'Ĩ' => 'Ĩ', 'ĩ' => 'ĩ', 'Ī' => 'Ī', 'ī' => 'ī', 'Ĭ' => 'Ĭ', 'ĭ' => 'ĭ', 'Į' => 'Į', 'į' => 'į', 'İ' => 'İ', 'Ĵ' => 'Ĵ', 'ĵ' => 'ĵ', 'Ķ' => 'Ķ', 'ķ' => 'ķ', 'Ĺ' => 'Ĺ', 'ĺ' => 'ĺ', 'Ļ' => 'Ļ', 'ļ' => 'ļ', 'Ľ' => 'Ľ', 'ľ' => 'ľ', 'Ń' => 'Ń', 'ń' => 'ń', 'Ņ' => 'Ņ', 'ņ' => 'ņ', 'Ň' => 'Ň', 'ň' => 'ň', 'Ō' => 'Ō', 'ō' => 'ō', 'Ŏ' => 'Ŏ', 'ŏ' => 'ŏ', 'Ő' => 'Ő', 'ő' => 'ő', 'Ŕ' => 'Ŕ', 'ŕ' => 'ŕ', 'Ŗ' => 'Ŗ', 'ŗ' => 'ŗ', 'Ř' => 'Ř', 'ř' => 'ř', 'Ś' => 'Ś', 'ś' => 'ś', 'Ŝ' => 'Ŝ', 'ŝ' => 'ŝ', 'Ş' => 'Ş', 'ş' => 'ş', 'Š' => 'Š', 'š' => 'š', 'Ţ' => 'Ţ', 'ţ' => 'ţ', 'Ť' => 'Ť', 'ť' => 'ť', 'Ũ' => 'Ũ', 'ũ' => 'ũ', 'Ū' => 'Ū', 'ū' => 'ū', 'Ŭ' => 'Ŭ', 'ŭ' => 'ŭ', 'Ů' => 'Ů', 'ů' => 'ů', 'Ű' => 'Ű', 'ű' => 'ű', 'Ų' => 'Ų', 'ų' => 'ų', 'Ŵ' => 'Ŵ', 'ŵ' => 'ŵ', 'Ŷ' => 'Ŷ', 'ŷ' => 'ŷ', 'Ÿ' => 'Ÿ', 'Ź' => 'Ź', 'ź' => 'ź', 'Ż' => 'Ż', 'ż' => 'ż', 'Ž' => 'Ž', 'ž' => 'ž', 'Ơ' => 'Ơ', 'ơ' => 'ơ', 'Ư' => 'Ư', 'ư' => 'ư', 'Ǎ' => 'Ǎ', 'ǎ' => 'ǎ', 'Ǐ' => 'Ǐ', 'ǐ' => 'ǐ', 'Ǒ' => 'Ǒ', 'ǒ' => 'ǒ', 'Ǔ' => 'Ǔ', 'ǔ' => 'ǔ', 'Ǖ' => 'Ǖ', 'ǖ' => 'ǖ', 'Ǘ' => 'Ǘ', 'ǘ' => 'ǘ', 'Ǚ' => 'Ǚ', 'ǚ' => 'ǚ', 'Ǜ' => 'Ǜ', 'ǜ' => 'ǜ', 'Ǟ' => 'Ǟ', 'ǟ' => 'ǟ', 'Ǡ' => 'Ǡ', 'ǡ' => 'ǡ', 'Ǣ' => 'Ǣ', 'ǣ' => 'ǣ', 'Ǧ' => 'Ǧ', 'ǧ' => 'ǧ', 'Ǩ' => 'Ǩ', 'ǩ' => 'ǩ', 'Ǫ' => 'Ǫ', 'ǫ' => 'ǫ', 'Ǭ' => 'Ǭ', 'ǭ' => 'ǭ', 'Ǯ' => 'Ǯ', 'ǯ' => 'ǯ', 'ǰ' => 'ǰ', 'Ǵ' => 'Ǵ', 'ǵ' => 'ǵ', 'Ǹ' => 'Ǹ', 'ǹ' => 'ǹ', 'Ǻ' => 'Ǻ', 'ǻ' => 'ǻ', 'Ǽ' => 'Ǽ', 'ǽ' => 'ǽ', 'Ǿ' => 'Ǿ', 'ǿ' => 'ǿ', 'Ȁ' => 'Ȁ', 'ȁ' => 'ȁ', 'Ȃ' => 'Ȃ', 'ȃ' => 'ȃ', 'Ȅ' => 'Ȅ', 'ȅ' => 'ȅ', 'Ȇ' => 'Ȇ', 'ȇ' => 'ȇ', 'Ȉ' => 'Ȉ', 'ȉ' => 'ȉ', 'Ȋ' => 'Ȋ', 'ȋ' => 'ȋ', 'Ȍ' => 'Ȍ', 'ȍ' => 'ȍ', 'Ȏ' => 'Ȏ', 'ȏ' => 'ȏ', 'Ȑ' => 'Ȑ', 'ȑ' => 'ȑ', 'Ȓ' => 'Ȓ', 'ȓ' => 'ȓ', 'Ȕ' => 'Ȕ', 'ȕ' => 'ȕ', 'Ȗ' => 'Ȗ', 'ȗ' => 'ȗ', 'Ș' => 'Ș', 'ș' => 'ș', 'Ț' => 'Ț', 'ț' => 'ț', 'Ȟ' => 'Ȟ', 'ȟ' => 'ȟ', 'Ȧ' => 'Ȧ', 'ȧ' => 'ȧ', 'Ȩ' => 'Ȩ', 'ȩ' => 'ȩ', 'Ȫ' => 'Ȫ', 'ȫ' => 'ȫ', 'Ȭ' => 'Ȭ', 'ȭ' => 'ȭ', 'Ȯ' => 'Ȯ', 'ȯ' => 'ȯ', 'Ȱ' => 'Ȱ', 'ȱ' => 'ȱ', 'Ȳ' => 'Ȳ', 'ȳ' => 'ȳ', '΅' => '΅', 'Ά' => 'Ά', 'Έ' => 'Έ', 'Ή' => 'Ή', 'Ί' => 'Ί', 'Ό' => 'Ό', 'Ύ' => 'Ύ', 'Ώ' => 'Ώ', 'ΐ' => 'ΐ', 'Ϊ' => 'Ϊ', 'Ϋ' => 'Ϋ', 'ά' => 'ά', 'έ' => 'έ', 'ή' => 'ή', 'ί' => 'ί', 'ΰ' => 'ΰ', 'ϊ' => 'ϊ', 'ϋ' => 'ϋ', 'ό' => 'ό', 'ύ' => 'ύ', 'ώ' => 'ώ', 'ϓ' => 'ϓ', 'ϔ' => 'ϔ', 'Ѐ' => 'Ѐ', 'Ё' => 'Ё', 'Ѓ' => 'Ѓ', 'Ї' => 'Ї', 'Ќ' => 'Ќ', 'Ѝ' => 'Ѝ', 'Ў' => 'Ў', 'Й' => 'Й', 'й' => 'й', 'ѐ' => 'ѐ', 'ё' => 'ё', 'ѓ' => 'ѓ', 'ї' => 'ї', 'ќ' => 'ќ', 'ѝ' => 'ѝ', 'ў' => 'ў', 'Ѷ' => 'Ѷ', 'ѷ' => 'ѷ', 'Ӂ' => 'Ӂ', 'ӂ' => 'ӂ', 'Ӑ' => 'Ӑ', 'ӑ' => 'ӑ', 'Ӓ' => 'Ӓ', 'ӓ' => 'ӓ', 'Ӗ' => 'Ӗ', 'ӗ' => 'ӗ', 'Ӛ' => 'Ӛ', 'ӛ' => 'ӛ', 'Ӝ' => 'Ӝ', 'ӝ' => 'ӝ', 'Ӟ' => 'Ӟ', 'ӟ' => 'ӟ', 'Ӣ' => 'Ӣ', 'ӣ' => 'ӣ', 'Ӥ' => 'Ӥ', 'ӥ' => 'ӥ', 'Ӧ' => 'Ӧ', 'ӧ' => 'ӧ', 'Ӫ' => 'Ӫ', 'ӫ' => 'ӫ', 'Ӭ' => 'Ӭ', 'ӭ' => 'ӭ', 'Ӯ' => 'Ӯ', 'ӯ' => 'ӯ', 'Ӱ' => 'Ӱ', 'ӱ' => 'ӱ', 'Ӳ' => 'Ӳ', 'ӳ' => 'ӳ', 'Ӵ' => 'Ӵ', 'ӵ' => 'ӵ', 'Ӹ' => 'Ӹ', 'ӹ' => 'ӹ', 'آ' => 'آ', 'أ' => 'أ', 'ؤ' => 'ؤ', 'إ' => 'إ', 'ئ' => 'ئ', 'ۀ' => 'ۀ', 'ۂ' => 'ۂ', 'ۓ' => 'ۓ', 'ऩ' => 'ऩ', 'ऱ' => 'ऱ', 'ऴ' => 'ऴ', 'ো' => 'ো', 'ৌ' => 'ৌ', 'ୈ' => 'ୈ', 'ୋ' => 'ୋ', 'ୌ' => 'ୌ', 'ஔ' => 'ஔ', 'ொ' => 'ொ', 'ோ' => 'ோ', 'ௌ' => 'ௌ', 'ై' => 'ై', 'ೀ' => 'ೀ', 'ೇ' => 'ೇ', 'ೈ' => 'ೈ', 'ೊ' => 'ೊ', 'ೋ' => 'ೋ', 'ൊ' => 'ൊ', 'ോ' => 'ോ', 'ൌ' => 'ൌ', 'ේ' => 'ේ', 'ො' => 'ො', 'ෝ' => 'ෝ', 'ෞ' => 'ෞ', 'ဦ' => 'ဦ', 'ᬆ' => 'ᬆ', 'ᬈ' => 'ᬈ', 'ᬊ' => 'ᬊ', 'ᬌ' => 'ᬌ', 'ᬎ' => 'ᬎ', 'ᬒ' => 'ᬒ', 'ᬻ' => 'ᬻ', 'ᬽ' => 'ᬽ', 'ᭀ' => 'ᭀ', 'ᭁ' => 'ᭁ', 'ᭃ' => 'ᭃ', 'Ḁ' => 'Ḁ', 'ḁ' => 'ḁ', 'Ḃ' => 'Ḃ', 'ḃ' => 'ḃ', 'Ḅ' => 'Ḅ', 'ḅ' => 'ḅ', 'Ḇ' => 'Ḇ', 'ḇ' => 'ḇ', 'Ḉ' => 'Ḉ', 'ḉ' => 'ḉ', 'Ḋ' => 'Ḋ', 'ḋ' => 'ḋ', 'Ḍ' => 'Ḍ', 'ḍ' => 'ḍ', 'Ḏ' => 'Ḏ', 'ḏ' => 'ḏ', 'Ḑ' => 'Ḑ', 'ḑ' => 'ḑ', 'Ḓ' => 'Ḓ', 'ḓ' => 'ḓ', 'Ḕ' => 'Ḕ', 'ḕ' => 'ḕ', 'Ḗ' => 'Ḗ', 'ḗ' => 'ḗ', 'Ḙ' => 'Ḙ', 'ḙ' => 'ḙ', 'Ḛ' => 'Ḛ', 'ḛ' => 'ḛ', 'Ḝ' => 'Ḝ', 'ḝ' => 'ḝ', 'Ḟ' => 'Ḟ', 'ḟ' => 'ḟ', 'Ḡ' => 'Ḡ', 'ḡ' => 'ḡ', 'Ḣ' => 'Ḣ', 'ḣ' => 'ḣ', 'Ḥ' => 'Ḥ', 'ḥ' => 'ḥ', 'Ḧ' => 'Ḧ', 'ḧ' => 'ḧ', 'Ḩ' => 'Ḩ', 'ḩ' => 'ḩ', 'Ḫ' => 'Ḫ', 'ḫ' => 'ḫ', 'Ḭ' => 'Ḭ', 'ḭ' => 'ḭ', 'Ḯ' => 'Ḯ', 'ḯ' => 'ḯ', 'Ḱ' => 'Ḱ', 'ḱ' => 'ḱ', 'Ḳ' => 'Ḳ', 'ḳ' => 'ḳ', 'Ḵ' => 'Ḵ', 'ḵ' => 'ḵ', 'Ḷ' => 'Ḷ', 'ḷ' => 'ḷ', 'Ḹ' => 'Ḹ', 'ḹ' => 'ḹ', 'Ḻ' => 'Ḻ', 'ḻ' => 'ḻ', 'Ḽ' => 'Ḽ', 'ḽ' => 'ḽ', 'Ḿ' => 'Ḿ', 'ḿ' => 'ḿ', 'Ṁ' => 'Ṁ', 'ṁ' => 'ṁ', 'Ṃ' => 'Ṃ', 'ṃ' => 'ṃ', 'Ṅ' => 'Ṅ', 'ṅ' => 'ṅ', 'Ṇ' => 'Ṇ', 'ṇ' => 'ṇ', 'Ṉ' => 'Ṉ', 'ṉ' => 'ṉ', 'Ṋ' => 'Ṋ', 'ṋ' => 'ṋ', 'Ṍ' => 'Ṍ', 'ṍ' => 'ṍ', 'Ṏ' => 'Ṏ', 'ṏ' => 'ṏ', 'Ṑ' => 'Ṑ', 'ṑ' => 'ṑ', 'Ṓ' => 'Ṓ', 'ṓ' => 'ṓ', 'Ṕ' => 'Ṕ', 'ṕ' => 'ṕ', 'Ṗ' => 'Ṗ', 'ṗ' => 'ṗ', 'Ṙ' => 'Ṙ', 'ṙ' => 'ṙ', 'Ṛ' => 'Ṛ', 'ṛ' => 'ṛ', 'Ṝ' => 'Ṝ', 'ṝ' => 'ṝ', 'Ṟ' => 'Ṟ', 'ṟ' => 'ṟ', 'Ṡ' => 'Ṡ', 'ṡ' => 'ṡ', 'Ṣ' => 'Ṣ', 'ṣ' => 'ṣ', 'Ṥ' => 'Ṥ', 'ṥ' => 'ṥ', 'Ṧ' => 'Ṧ', 'ṧ' => 'ṧ', 'Ṩ' => 'Ṩ', 'ṩ' => 'ṩ', 'Ṫ' => 'Ṫ', 'ṫ' => 'ṫ', 'Ṭ' => 'Ṭ', 'ṭ' => 'ṭ', 'Ṯ' => 'Ṯ', 'ṯ' => 'ṯ', 'Ṱ' => 'Ṱ', 'ṱ' => 'ṱ', 'Ṳ' => 'Ṳ', 'ṳ' => 'ṳ', 'Ṵ' => 'Ṵ', 'ṵ' => 'ṵ', 'Ṷ' => 'Ṷ', 'ṷ' => 'ṷ', 'Ṹ' => 'Ṹ', 'ṹ' => 'ṹ', 'Ṻ' => 'Ṻ', 'ṻ' => 'ṻ', 'Ṽ' => 'Ṽ', 'ṽ' => 'ṽ', 'Ṿ' => 'Ṿ', 'ṿ' => 'ṿ', 'Ẁ' => 'Ẁ', 'ẁ' => 'ẁ', 'Ẃ' => 'Ẃ', 'ẃ' => 'ẃ', 'Ẅ' => 'Ẅ', 'ẅ' => 'ẅ', 'Ẇ' => 'Ẇ', 'ẇ' => 'ẇ', 'Ẉ' => 'Ẉ', 'ẉ' => 'ẉ', 'Ẋ' => 'Ẋ', 'ẋ' => 'ẋ', 'Ẍ' => 'Ẍ', 'ẍ' => 'ẍ', 'Ẏ' => 'Ẏ', 'ẏ' => 'ẏ', 'Ẑ' => 'Ẑ', 'ẑ' => 'ẑ', 'Ẓ' => 'Ẓ', 'ẓ' => 'ẓ', 'Ẕ' => 'Ẕ', 'ẕ' => 'ẕ', 'ẖ' => 'ẖ', 'ẗ' => 'ẗ', 'ẘ' => 'ẘ', 'ẙ' => 'ẙ', 'ẛ' => 'ẛ', 'Ạ' => 'Ạ', 'ạ' => 'ạ', 'Ả' => 'Ả', 'ả' => 'ả', 'Ấ' => 'Ấ', 'ấ' => 'ấ', 'Ầ' => 'Ầ', 'ầ' => 'ầ', 'Ẩ' => 'Ẩ', 'ẩ' => 'ẩ', 'Ẫ' => 'Ẫ', 'ẫ' => 'ẫ', 'Ậ' => 'Ậ', 'ậ' => 'ậ', 'Ắ' => 'Ắ', 'ắ' => 'ắ', 'Ằ' => 'Ằ', 'ằ' => 'ằ', 'Ẳ' => 'Ẳ', 'ẳ' => 'ẳ', 'Ẵ' => 'Ẵ', 'ẵ' => 'ẵ', 'Ặ' => 'Ặ', 'ặ' => 'ặ', 'Ẹ' => 'Ẹ', 'ẹ' => 'ẹ', 'Ẻ' => 'Ẻ', 'ẻ' => 'ẻ', 'Ẽ' => 'Ẽ', 'ẽ' => 'ẽ', 'Ế' => 'Ế', 'ế' => 'ế', 'Ề' => 'Ề', 'ề' => 'ề', 'Ể' => 'Ể', 'ể' => 'ể', 'Ễ' => 'Ễ', 'ễ' => 'ễ', 'Ệ' => 'Ệ', 'ệ' => 'ệ', 'Ỉ' => 'Ỉ', 'ỉ' => 'ỉ', 'Ị' => 'Ị', 'ị' => 'ị', 'Ọ' => 'Ọ', 'ọ' => 'ọ', 'Ỏ' => 'Ỏ', 'ỏ' => 'ỏ', 'Ố' => 'Ố', 'ố' => 'ố', 'Ồ' => 'Ồ', 'ồ' => 'ồ', 'Ổ' => 'Ổ', 'ổ' => 'ổ', 'Ỗ' => 'Ỗ', 'ỗ' => 'ỗ', 'Ộ' => 'Ộ', 'ộ' => 'ộ', 'Ớ' => 'Ớ', 'ớ' => 'ớ', 'Ờ' => 'Ờ', 'ờ' => 'ờ', 'Ở' => 'Ở', 'ở' => 'ở', 'Ỡ' => 'Ỡ', 'ỡ' => 'ỡ', 'Ợ' => 'Ợ', 'ợ' => 'ợ', 'Ụ' => 'Ụ', 'ụ' => 'ụ', 'Ủ' => 'Ủ', 'ủ' => 'ủ', 'Ứ' => 'Ứ', 'ứ' => 'ứ', 'Ừ' => 'Ừ', 'ừ' => 'ừ', 'Ử' => 'Ử', 'ử' => 'ử', 'Ữ' => 'Ữ', 'ữ' => 'ữ', 'Ự' => 'Ự', 'ự' => 'ự', 'Ỳ' => 'Ỳ', 'ỳ' => 'ỳ', 'Ỵ' => 'Ỵ', 'ỵ' => 'ỵ', 'Ỷ' => 'Ỷ', 'ỷ' => 'ỷ', 'Ỹ' => 'Ỹ', 'ỹ' => 'ỹ', 'ἀ' => 'ἀ', 'ἁ' => 'ἁ', 'ἂ' => 'ἂ', 'ἃ' => 'ἃ', 'ἄ' => 'ἄ', 'ἅ' => 'ἅ', 'ἆ' => 'ἆ', 'ἇ' => 'ἇ', 'Ἀ' => 'Ἀ', 'Ἁ' => 'Ἁ', 'Ἂ' => 'Ἂ', 'Ἃ' => 'Ἃ', 'Ἄ' => 'Ἄ', 'Ἅ' => 'Ἅ', 'Ἆ' => 'Ἆ', 'Ἇ' => 'Ἇ', 'ἐ' => 'ἐ', 'ἑ' => 'ἑ', 'ἒ' => 'ἒ', 'ἓ' => 'ἓ', 'ἔ' => 'ἔ', 'ἕ' => 'ἕ', 'Ἐ' => 'Ἐ', 'Ἑ' => 'Ἑ', 'Ἒ' => 'Ἒ', 'Ἓ' => 'Ἓ', 'Ἔ' => 'Ἔ', 'Ἕ' => 'Ἕ', 'ἠ' => 'ἠ', 'ἡ' => 'ἡ', 'ἢ' => 'ἢ', 'ἣ' => 'ἣ', 'ἤ' => 'ἤ', 'ἥ' => 'ἥ', 'ἦ' => 'ἦ', 'ἧ' => 'ἧ', 'Ἠ' => 'Ἠ', 'Ἡ' => 'Ἡ', 'Ἢ' => 'Ἢ', 'Ἣ' => 'Ἣ', 'Ἤ' => 'Ἤ', 'Ἥ' => 'Ἥ', 'Ἦ' => 'Ἦ', 'Ἧ' => 'Ἧ', 'ἰ' => 'ἰ', 'ἱ' => 'ἱ', 'ἲ' => 'ἲ', 'ἳ' => 'ἳ', 'ἴ' => 'ἴ', 'ἵ' => 'ἵ', 'ἶ' => 'ἶ', 'ἷ' => 'ἷ', 'Ἰ' => 'Ἰ', 'Ἱ' => 'Ἱ', 'Ἲ' => 'Ἲ', 'Ἳ' => 'Ἳ', 'Ἴ' => 'Ἴ', 'Ἵ' => 'Ἵ', 'Ἶ' => 'Ἶ', 'Ἷ' => 'Ἷ', 'ὀ' => 'ὀ', 'ὁ' => 'ὁ', 'ὂ' => 'ὂ', 'ὃ' => 'ὃ', 'ὄ' => 'ὄ', 'ὅ' => 'ὅ', 'Ὀ' => 'Ὀ', 'Ὁ' => 'Ὁ', 'Ὂ' => 'Ὂ', 'Ὃ' => 'Ὃ', 'Ὄ' => 'Ὄ', 'Ὅ' => 'Ὅ', 'ὐ' => 'ὐ', 'ὑ' => 'ὑ', 'ὒ' => 'ὒ', 'ὓ' => 'ὓ', 'ὔ' => 'ὔ', 'ὕ' => 'ὕ', 'ὖ' => 'ὖ', 'ὗ' => 'ὗ', 'Ὑ' => 'Ὑ', 'Ὓ' => 'Ὓ', 'Ὕ' => 'Ὕ', 'Ὗ' => 'Ὗ', 'ὠ' => 'ὠ', 'ὡ' => 'ὡ', 'ὢ' => 'ὢ', 'ὣ' => 'ὣ', 'ὤ' => 'ὤ', 'ὥ' => 'ὥ', 'ὦ' => 'ὦ', 'ὧ' => 'ὧ', 'Ὠ' => 'Ὠ', 'Ὡ' => 'Ὡ', 'Ὢ' => 'Ὢ', 'Ὣ' => 'Ὣ', 'Ὤ' => 'Ὤ', 'Ὥ' => 'Ὥ', 'Ὦ' => 'Ὦ', 'Ὧ' => 'Ὧ', 'ὰ' => 'ὰ', 'ὲ' => 'ὲ', 'ὴ' => 'ὴ', 'ὶ' => 'ὶ', 'ὸ' => 'ὸ', 'ὺ' => 'ὺ', 'ὼ' => 'ὼ', 'ᾀ' => 'ᾀ', 'ᾁ' => 'ᾁ', 'ᾂ' => 'ᾂ', 'ᾃ' => 'ᾃ', 'ᾄ' => 'ᾄ', 'ᾅ' => 'ᾅ', 'ᾆ' => 'ᾆ', 'ᾇ' => 'ᾇ', 'ᾈ' => 'ᾈ', 'ᾉ' => 'ᾉ', 'ᾊ' => 'ᾊ', 'ᾋ' => 'ᾋ', 'ᾌ' => 'ᾌ', 'ᾍ' => 'ᾍ', 'ᾎ' => 'ᾎ', 'ᾏ' => 'ᾏ', 'ᾐ' => 'ᾐ', 'ᾑ' => 'ᾑ', 'ᾒ' => 'ᾒ', 'ᾓ' => 'ᾓ', 'ᾔ' => 'ᾔ', 'ᾕ' => 'ᾕ', 'ᾖ' => 'ᾖ', 'ᾗ' => 'ᾗ', 'ᾘ' => 'ᾘ', 'ᾙ' => 'ᾙ', 'ᾚ' => 'ᾚ', 'ᾛ' => 'ᾛ', 'ᾜ' => 'ᾜ', 'ᾝ' => 'ᾝ', 'ᾞ' => 'ᾞ', 'ᾟ' => 'ᾟ', 'ᾠ' => 'ᾠ', 'ᾡ' => 'ᾡ', 'ᾢ' => 'ᾢ', 'ᾣ' => 'ᾣ', 'ᾤ' => 'ᾤ', 'ᾥ' => 'ᾥ', 'ᾦ' => 'ᾦ', 'ᾧ' => 'ᾧ', 'ᾨ' => 'ᾨ', 'ᾩ' => 'ᾩ', 'ᾪ' => 'ᾪ', 'ᾫ' => 'ᾫ', 'ᾬ' => 'ᾬ', 'ᾭ' => 'ᾭ', 'ᾮ' => 'ᾮ', 'ᾯ' => 'ᾯ', 'ᾰ' => 'ᾰ', 'ᾱ' => 'ᾱ', 'ᾲ' => 'ᾲ', 'ᾳ' => 'ᾳ', 'ᾴ' => 'ᾴ', 'ᾶ' => 'ᾶ', 'ᾷ' => 'ᾷ', 'Ᾰ' => 'Ᾰ', 'Ᾱ' => 'Ᾱ', 'Ὰ' => 'Ὰ', 'ᾼ' => 'ᾼ', '῁' => '῁', 'ῂ' => 'ῂ', 'ῃ' => 'ῃ', 'ῄ' => 'ῄ', 'ῆ' => 'ῆ', 'ῇ' => 'ῇ', 'Ὲ' => 'Ὲ', 'Ὴ' => 'Ὴ', 'ῌ' => 'ῌ', '῍' => '῍', '῎' => '῎', '῏' => '῏', 'ῐ' => 'ῐ', 'ῑ' => 'ῑ', 'ῒ' => 'ῒ', 'ῖ' => 'ῖ', 'ῗ' => 'ῗ', 'Ῐ' => 'Ῐ', 'Ῑ' => 'Ῑ', 'Ὶ' => 'Ὶ', '῝' => '῝', '῞' => '῞', '῟' => '῟', 'ῠ' => 'ῠ', 'ῡ' => 'ῡ', 'ῢ' => 'ῢ', 'ῤ' => 'ῤ', 'ῥ' => 'ῥ', 'ῦ' => 'ῦ', 'ῧ' => 'ῧ', 'Ῠ' => 'Ῠ', 'Ῡ' => 'Ῡ', 'Ὺ' => 'Ὺ', 'Ῥ' => 'Ῥ', '῭' => '῭', 'ῲ' => 'ῲ', 'ῳ' => 'ῳ', 'ῴ' => 'ῴ', 'ῶ' => 'ῶ', 'ῷ' => 'ῷ', 'Ὸ' => 'Ὸ', 'Ὼ' => 'Ὼ', 'ῼ' => 'ῼ', '↚' => '↚', '↛' => '↛', '↮' => '↮', '⇍' => '⇍', '⇎' => '⇎', '⇏' => '⇏', '∄' => '∄', '∉' => '∉', '∌' => '∌', '∤' => '∤', '∦' => '∦', '≁' => '≁', '≄' => '≄', '≇' => '≇', '≉' => '≉', '≠' => '≠', '≢' => '≢', '≭' => '≭', '≮' => '≮', '≯' => '≯', '≰' => '≰', '≱' => '≱', '≴' => '≴', '≵' => '≵', '≸' => '≸', '≹' => '≹', '⊀' => '⊀', '⊁' => '⊁', '⊄' => '⊄', '⊅' => '⊅', '⊈' => '⊈', '⊉' => '⊉', '⊬' => '⊬', '⊭' => '⊭', '⊮' => '⊮', '⊯' => '⊯', '⋠' => '⋠', '⋡' => '⋡', '⋢' => '⋢', '⋣' => '⋣', '⋪' => '⋪', '⋫' => '⋫', '⋬' => '⋬', '⋭' => '⋭', 'が' => 'が', 'ぎ' => 'ぎ', 'ぐ' => 'ぐ', 'げ' => 'げ', 'ご' => 'ご', 'ざ' => 'ざ', 'じ' => 'じ', 'ず' => 'ず', 'ぜ' => 'ぜ', 'ぞ' => 'ぞ', 'だ' => 'だ', 'ぢ' => 'ぢ', 'づ' => 'づ', 'で' => 'で', 'ど' => 'ど', 'ば' => 'ば', 'ぱ' => 'ぱ', 'び' => 'び', 'ぴ' => 'ぴ', 'ぶ' => 'ぶ', 'ぷ' => 'ぷ', 'べ' => 'べ', 'ぺ' => 'ぺ', 'ぼ' => 'ぼ', 'ぽ' => 'ぽ', 'ゔ' => 'ゔ', 'ゞ' => 'ゞ', 'ガ' => 'ガ', 'ギ' => 'ギ', 'グ' => 'グ', 'ゲ' => 'ゲ', 'ゴ' => 'ゴ', 'ザ' => 'ザ', 'ジ' => 'ジ', 'ズ' => 'ズ', 'ゼ' => 'ゼ', 'ゾ' => 'ゾ', 'ダ' => 'ダ', 'ヂ' => 'ヂ', 'ヅ' => 'ヅ', 'デ' => 'デ', 'ド' => 'ド', 'バ' => 'バ', 'パ' => 'パ', 'ビ' => 'ビ', 'ピ' => 'ピ', 'ブ' => 'ブ', 'プ' => 'プ', 'ベ' => 'ベ', 'ペ' => 'ペ', 'ボ' => 'ボ', 'ポ' => 'ポ', 'ヴ' => 'ヴ', 'ヷ' => 'ヷ', 'ヸ' => 'ヸ', 'ヹ' => 'ヹ', 'ヺ' => 'ヺ', 'ヾ' => 'ヾ', '𑂚' => '𑂚', '𑂜' => '𑂜', '𑂫' => '𑂫', '𑄮' => '𑄮', '𑄯' => '𑄯', '𑍋' => '𑍋', '𑍌' => '𑍌', '𑒻' => '𑒻', '𑒼' => '𑒼', '𑒾' => '𑒾', '𑖺' => '𑖺', '𑖻' => '𑖻', '𑤸' => '𑤸'); diff --git a/vendor/symfony/polyfill-intl-normalizer/Resources/unidata/canonicalDecomposition.php b/vendor/symfony/polyfill-intl-normalizer/Resources/unidata/canonicalDecomposition.php index b1f22e4a645..dc984f39e25 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 @@ 'À', 'Á' => 'Á', 'Â' => 'Â', 'Ã' => 'Ã', 'Ä' => 'Ä', 'Å' => 'Å', 'Ç' => 'Ç', 'È' => 'È', 'É' => 'É', 'Ê' => 'Ê', 'Ë' => 'Ë', 'Ì' => 'Ì', 'Í' => 'Í', 'Î' => 'Î', 'Ï' => 'Ï', 'Ñ' => 'Ñ', 'Ò' => 'Ò', 'Ó' => 'Ó', 'Ô' => 'Ô', 'Õ' => 'Õ', 'Ö' => 'Ö', 'Ù' => 'Ù', 'Ú' => 'Ú', 'Û' => 'Û', 'Ü' => 'Ü', 'Ý' => 'Ý', 'à' => 'à', 'á' => 'á', 'â' => 'â', 'ã' => 'ã', 'ä' => 'ä', 'å' => 'å', 'ç' => 'ç', 'è' => 'è', 'é' => 'é', 'ê' => 'ê', 'ë' => 'ë', 'ì' => 'ì', 'í' => 'í', 'î' => 'î', 'ï' => 'ï', 'ñ' => 'ñ', 'ò' => 'ò', 'ó' => 'ó', 'ô' => 'ô', 'õ' => 'õ', 'ö' => 'ö', 'ù' => 'ù', 'ú' => 'ú', 'û' => 'û', 'ü' => 'ü', 'ý' => 'ý', 'ÿ' => 'ÿ', 'Ā' => 'Ā', 'ā' => 'ā', 'Ă' => 'Ă', 'ă' => 'ă', 'Ą' => 'Ą', 'ą' => 'ą', 'Ć' => 'Ć', 'ć' => 'ć', 'Ĉ' => 'Ĉ', 'ĉ' => 'ĉ', 'Ċ' => 'Ċ', 'ċ' => 'ċ', 'Č' => 'Č', 'č' => 'č', 'Ď' => 'Ď', 'ď' => 'ď', 'Ē' => 'Ē', 'ē' => 'ē', 'Ĕ' => 'Ĕ', 'ĕ' => 'ĕ', 'Ė' => 'Ė', 'ė' => 'ė', 'Ę' => 'Ę', 'ę' => 'ę', 'Ě' => 'Ě', 'ě' => 'ě', 'Ĝ' => 'Ĝ', 'ĝ' => 'ĝ', 'Ğ' => 'Ğ', 'ğ' => 'ğ', 'Ġ' => 'Ġ', 'ġ' => 'ġ', 'Ģ' => 'Ģ', 'ģ' => 'ģ', 'Ĥ' => 'Ĥ', 'ĥ' => 'ĥ', 'Ĩ' => 'Ĩ', 'ĩ' => 'ĩ', 'Ī' => 'Ī', 'ī' => 'ī', 'Ĭ' => 'Ĭ', 'ĭ' => 'ĭ', 'Į' => 'Į', 'į' => 'į', 'İ' => 'İ', 'Ĵ' => 'Ĵ', 'ĵ' => 'ĵ', 'Ķ' => 'Ķ', 'ķ' => 'ķ', 'Ĺ' => 'Ĺ', 'ĺ' => 'ĺ', 'Ļ' => 'Ļ', 'ļ' => 'ļ', 'Ľ' => 'Ľ', 'ľ' => 'ľ', 'Ń' => 'Ń', 'ń' => 'ń', 'Ņ' => 'Ņ', 'ņ' => 'ņ', 'Ň' => 'Ň', 'ň' => 'ň', 'Ō' => 'Ō', 'ō' => 'ō', 'Ŏ' => 'Ŏ', 'ŏ' => 'ŏ', 'Ő' => 'Ő', 'ő' => 'ő', 'Ŕ' => 'Ŕ', 'ŕ' => 'ŕ', 'Ŗ' => 'Ŗ', 'ŗ' => 'ŗ', 'Ř' => 'Ř', 'ř' => 'ř', 'Ś' => 'Ś', 'ś' => 'ś', 'Ŝ' => 'Ŝ', 'ŝ' => 'ŝ', 'Ş' => 'Ş', 'ş' => 'ş', 'Š' => 'Š', 'š' => 'š', 'Ţ' => 'Ţ', 'ţ' => 'ţ', 'Ť' => 'Ť', 'ť' => 'ť', 'Ũ' => 'Ũ', 'ũ' => 'ũ', 'Ū' => 'Ū', 'ū' => 'ū', 'Ŭ' => 'Ŭ', 'ŭ' => 'ŭ', 'Ů' => 'Ů', 'ů' => 'ů', 'Ű' => 'Ű', 'ű' => 'ű', 'Ų' => 'Ų', 'ų' => 'ų', 'Ŵ' => 'Ŵ', 'ŵ' => 'ŵ', 'Ŷ' => 'Ŷ', 'ŷ' => 'ŷ', 'Ÿ' => 'Ÿ', 'Ź' => 'Ź', 'ź' => 'ź', 'Ż' => 'Ż', 'ż' => 'ż', 'Ž' => 'Ž', 'ž' => 'ž', 'Ơ' => 'Ơ', 'ơ' => 'ơ', 'Ư' => 'Ư', 'ư' => 'ư', 'Ǎ' => 'Ǎ', 'ǎ' => 'ǎ', 'Ǐ' => 'Ǐ', 'ǐ' => 'ǐ', 'Ǒ' => 'Ǒ', 'ǒ' => 'ǒ', 'Ǔ' => 'Ǔ', 'ǔ' => 'ǔ', 'Ǖ' => 'Ǖ', 'ǖ' => 'ǖ', 'Ǘ' => 'Ǘ', 'ǘ' => 'ǘ', 'Ǚ' => 'Ǚ', 'ǚ' => 'ǚ', 'Ǜ' => 'Ǜ', 'ǜ' => 'ǜ', 'Ǟ' => 'Ǟ', 'ǟ' => 'ǟ', 'Ǡ' => 'Ǡ', 'ǡ' => 'ǡ', 'Ǣ' => 'Ǣ', 'ǣ' => 'ǣ', 'Ǧ' => 'Ǧ', 'ǧ' => 'ǧ', 'Ǩ' => 'Ǩ', 'ǩ' => 'ǩ', 'Ǫ' => 'Ǫ', 'ǫ' => 'ǫ', 'Ǭ' => 'Ǭ', 'ǭ' => 'ǭ', 'Ǯ' => 'Ǯ', 'ǯ' => 'ǯ', 'ǰ' => 'ǰ', 'Ǵ' => 'Ǵ', 'ǵ' => 'ǵ', 'Ǹ' => 'Ǹ', 'ǹ' => 'ǹ', 'Ǻ' => 'Ǻ', 'ǻ' => 'ǻ', 'Ǽ' => 'Ǽ', 'ǽ' => 'ǽ', 'Ǿ' => 'Ǿ', 'ǿ' => 'ǿ', 'Ȁ' => 'Ȁ', 'ȁ' => 'ȁ', 'Ȃ' => 'Ȃ', 'ȃ' => 'ȃ', 'Ȅ' => 'Ȅ', 'ȅ' => 'ȅ', 'Ȇ' => 'Ȇ', 'ȇ' => 'ȇ', 'Ȉ' => 'Ȉ', 'ȉ' => 'ȉ', 'Ȋ' => 'Ȋ', 'ȋ' => 'ȋ', 'Ȍ' => 'Ȍ', 'ȍ' => 'ȍ', 'Ȏ' => 'Ȏ', 'ȏ' => 'ȏ', 'Ȑ' => 'Ȑ', 'ȑ' => 'ȑ', 'Ȓ' => 'Ȓ', 'ȓ' => 'ȓ', 'Ȕ' => 'Ȕ', 'ȕ' => 'ȕ', 'Ȗ' => 'Ȗ', 'ȗ' => 'ȗ', 'Ș' => 'Ș', 'ș' => 'ș', 'Ț' => 'Ț', 'ț' => 'ț', 'Ȟ' => 'Ȟ', 'ȟ' => 'ȟ', 'Ȧ' => 'Ȧ', 'ȧ' => 'ȧ', 'Ȩ' => 'Ȩ', 'ȩ' => 'ȩ', 'Ȫ' => 'Ȫ', 'ȫ' => 'ȫ', 'Ȭ' => 'Ȭ', 'ȭ' => 'ȭ', 'Ȯ' => 'Ȯ', 'ȯ' => 'ȯ', 'Ȱ' => 'Ȱ', 'ȱ' => 'ȱ', 'Ȳ' => 'Ȳ', 'ȳ' => 'ȳ', '̀' => '̀', '́' => '́', '̓' => '̓', '̈́' => '̈́', 'ʹ' => 'ʹ', ';' => ';', '΅' => '΅', 'Ά' => 'Ά', '·' => '·', 'Έ' => 'Έ', 'Ή' => 'Ή', 'Ί' => 'Ί', 'Ό' => 'Ό', 'Ύ' => 'Ύ', 'Ώ' => 'Ώ', 'ΐ' => 'ΐ', 'Ϊ' => 'Ϊ', 'Ϋ' => 'Ϋ', 'ά' => 'ά', 'έ' => 'έ', 'ή' => 'ή', 'ί' => 'ί', 'ΰ' => 'ΰ', 'ϊ' => 'ϊ', 'ϋ' => 'ϋ', 'ό' => 'ό', 'ύ' => 'ύ', 'ώ' => 'ώ', 'ϓ' => 'ϓ', 'ϔ' => 'ϔ', 'Ѐ' => 'Ѐ', 'Ё' => 'Ё', 'Ѓ' => 'Ѓ', 'Ї' => 'Ї', 'Ќ' => 'Ќ', 'Ѝ' => 'Ѝ', 'Ў' => 'Ў', 'Й' => 'Й', 'й' => 'й', 'ѐ' => 'ѐ', 'ё' => 'ё', 'ѓ' => 'ѓ', 'ї' => 'ї', 'ќ' => 'ќ', 'ѝ' => 'ѝ', 'ў' => 'ў', 'Ѷ' => 'Ѷ', 'ѷ' => 'ѷ', 'Ӂ' => 'Ӂ', 'ӂ' => 'ӂ', 'Ӑ' => 'Ӑ', 'ӑ' => 'ӑ', 'Ӓ' => 'Ӓ', 'ӓ' => 'ӓ', 'Ӗ' => 'Ӗ', 'ӗ' => 'ӗ', 'Ӛ' => 'Ӛ', 'ӛ' => 'ӛ', 'Ӝ' => 'Ӝ', 'ӝ' => 'ӝ', 'Ӟ' => 'Ӟ', 'ӟ' => 'ӟ', 'Ӣ' => 'Ӣ', 'ӣ' => 'ӣ', 'Ӥ' => 'Ӥ', 'ӥ' => 'ӥ', 'Ӧ' => 'Ӧ', 'ӧ' => 'ӧ', 'Ӫ' => 'Ӫ', 'ӫ' => 'ӫ', 'Ӭ' => 'Ӭ', 'ӭ' => 'ӭ', 'Ӯ' => 'Ӯ', 'ӯ' => 'ӯ', 'Ӱ' => 'Ӱ', 'ӱ' => 'ӱ', 'Ӳ' => 'Ӳ', 'ӳ' => 'ӳ', 'Ӵ' => 'Ӵ', 'ӵ' => 'ӵ', 'Ӹ' => 'Ӹ', 'ӹ' => 'ӹ', 'آ' => 'آ', 'أ' => 'أ', 'ؤ' => 'ؤ', 'إ' => 'إ', 'ئ' => 'ئ', 'ۀ' => 'ۀ', 'ۂ' => 'ۂ', 'ۓ' => 'ۓ', 'ऩ' => 'ऩ', 'ऱ' => 'ऱ', 'ऴ' => 'ऴ', 'क़' => 'क़', 'ख़' => 'ख़', 'ग़' => 'ग़', 'ज़' => 'ज़', 'ड़' => 'ड़', 'ढ़' => 'ढ़', 'फ़' => 'फ़', 'य़' => 'य़', 'ো' => 'ো', 'ৌ' => 'ৌ', 'ড়' => 'ড়', 'ঢ়' => 'ঢ়', 'য়' => 'য়', 'ਲ਼' => 'ਲ਼', 'ਸ਼' => 'ਸ਼', 'ਖ਼' => 'ਖ਼', 'ਗ਼' => 'ਗ਼', 'ਜ਼' => 'ਜ਼', 'ਫ਼' => 'ਫ਼', 'ୈ' => 'ୈ', 'ୋ' => 'ୋ', 'ୌ' => 'ୌ', 'ଡ଼' => 'ଡ଼', 'ଢ଼' => 'ଢ଼', 'ஔ' => 'ஔ', 'ொ' => 'ொ', 'ோ' => 'ோ', 'ௌ' => 'ௌ', 'ై' => 'ై', 'ೀ' => 'ೀ', 'ೇ' => 'ೇ', 'ೈ' => 'ೈ', 'ೊ' => 'ೊ', 'ೋ' => 'ೋ', 'ൊ' => 'ൊ', 'ോ' => 'ോ', 'ൌ' => 'ൌ', 'ේ' => 'ේ', 'ො' => 'ො', 'ෝ' => 'ෝ', 'ෞ' => 'ෞ', 'གྷ' => 'གྷ', 'ཌྷ' => 'ཌྷ', 'དྷ' => 'དྷ', 'བྷ' => 'བྷ', 'ཛྷ' => 'ཛྷ', 'ཀྵ' => 'ཀྵ', 'ཱི' => 'ཱི', 'ཱུ' => 'ཱུ', 'ྲྀ' => 'ྲྀ', 'ླྀ' => 'ླྀ', 'ཱྀ' => 'ཱྀ', 'ྒྷ' => 'ྒྷ', 'ྜྷ' => 'ྜྷ', 'ྡྷ' => 'ྡྷ', 'ྦྷ' => 'ྦྷ', 'ྫྷ' => 'ྫྷ', 'ྐྵ' => 'ྐྵ', 'ဦ' => 'ဦ', 'ᬆ' => 'ᬆ', 'ᬈ' => 'ᬈ', 'ᬊ' => 'ᬊ', 'ᬌ' => 'ᬌ', 'ᬎ' => 'ᬎ', 'ᬒ' => 'ᬒ', 'ᬻ' => 'ᬻ', 'ᬽ' => 'ᬽ', 'ᭀ' => 'ᭀ', 'ᭁ' => 'ᭁ', 'ᭃ' => 'ᭃ', 'Ḁ' => 'Ḁ', 'ḁ' => 'ḁ', 'Ḃ' => 'Ḃ', 'ḃ' => 'ḃ', 'Ḅ' => 'Ḅ', 'ḅ' => 'ḅ', 'Ḇ' => 'Ḇ', 'ḇ' => 'ḇ', 'Ḉ' => 'Ḉ', 'ḉ' => 'ḉ', 'Ḋ' => 'Ḋ', 'ḋ' => 'ḋ', 'Ḍ' => 'Ḍ', 'ḍ' => 'ḍ', 'Ḏ' => 'Ḏ', 'ḏ' => 'ḏ', 'Ḑ' => 'Ḑ', 'ḑ' => 'ḑ', 'Ḓ' => 'Ḓ', 'ḓ' => 'ḓ', 'Ḕ' => 'Ḕ', 'ḕ' => 'ḕ', 'Ḗ' => 'Ḗ', 'ḗ' => 'ḗ', 'Ḙ' => 'Ḙ', 'ḙ' => 'ḙ', 'Ḛ' => 'Ḛ', 'ḛ' => 'ḛ', 'Ḝ' => 'Ḝ', 'ḝ' => 'ḝ', 'Ḟ' => 'Ḟ', 'ḟ' => 'ḟ', 'Ḡ' => 'Ḡ', 'ḡ' => 'ḡ', 'Ḣ' => 'Ḣ', 'ḣ' => 'ḣ', 'Ḥ' => 'Ḥ', 'ḥ' => 'ḥ', 'Ḧ' => 'Ḧ', 'ḧ' => 'ḧ', 'Ḩ' => 'Ḩ', 'ḩ' => 'ḩ', 'Ḫ' => 'Ḫ', 'ḫ' => 'ḫ', 'Ḭ' => 'Ḭ', 'ḭ' => 'ḭ', 'Ḯ' => 'Ḯ', 'ḯ' => 'ḯ', 'Ḱ' => 'Ḱ', 'ḱ' => 'ḱ', 'Ḳ' => 'Ḳ', 'ḳ' => 'ḳ', 'Ḵ' => 'Ḵ', 'ḵ' => 'ḵ', 'Ḷ' => 'Ḷ', 'ḷ' => 'ḷ', 'Ḹ' => 'Ḹ', 'ḹ' => 'ḹ', 'Ḻ' => 'Ḻ', 'ḻ' => 'ḻ', 'Ḽ' => 'Ḽ', 'ḽ' => 'ḽ', 'Ḿ' => 'Ḿ', 'ḿ' => 'ḿ', 'Ṁ' => 'Ṁ', 'ṁ' => 'ṁ', 'Ṃ' => 'Ṃ', 'ṃ' => 'ṃ', 'Ṅ' => 'Ṅ', 'ṅ' => 'ṅ', 'Ṇ' => 'Ṇ', 'ṇ' => 'ṇ', 'Ṉ' => 'Ṉ', 'ṉ' => 'ṉ', 'Ṋ' => 'Ṋ', 'ṋ' => 'ṋ', 'Ṍ' => 'Ṍ', 'ṍ' => 'ṍ', 'Ṏ' => 'Ṏ', 'ṏ' => 'ṏ', 'Ṑ' => 'Ṑ', 'ṑ' => 'ṑ', 'Ṓ' => 'Ṓ', 'ṓ' => 'ṓ', 'Ṕ' => 'Ṕ', 'ṕ' => 'ṕ', 'Ṗ' => 'Ṗ', 'ṗ' => 'ṗ', 'Ṙ' => 'Ṙ', 'ṙ' => 'ṙ', 'Ṛ' => 'Ṛ', 'ṛ' => 'ṛ', 'Ṝ' => 'Ṝ', 'ṝ' => 'ṝ', 'Ṟ' => 'Ṟ', 'ṟ' => 'ṟ', 'Ṡ' => 'Ṡ', 'ṡ' => 'ṡ', 'Ṣ' => 'Ṣ', 'ṣ' => 'ṣ', 'Ṥ' => 'Ṥ', 'ṥ' => 'ṥ', 'Ṧ' => 'Ṧ', 'ṧ' => 'ṧ', 'Ṩ' => 'Ṩ', 'ṩ' => 'ṩ', 'Ṫ' => 'Ṫ', 'ṫ' => 'ṫ', 'Ṭ' => 'Ṭ', 'ṭ' => 'ṭ', 'Ṯ' => 'Ṯ', 'ṯ' => 'ṯ', 'Ṱ' => 'Ṱ', 'ṱ' => 'ṱ', 'Ṳ' => 'Ṳ', 'ṳ' => 'ṳ', 'Ṵ' => 'Ṵ', 'ṵ' => 'ṵ', 'Ṷ' => 'Ṷ', 'ṷ' => 'ṷ', 'Ṹ' => 'Ṹ', 'ṹ' => 'ṹ', 'Ṻ' => 'Ṻ', 'ṻ' => 'ṻ', 'Ṽ' => 'Ṽ', 'ṽ' => 'ṽ', 'Ṿ' => 'Ṿ', 'ṿ' => 'ṿ', 'Ẁ' => 'Ẁ', 'ẁ' => 'ẁ', 'Ẃ' => 'Ẃ', 'ẃ' => 'ẃ', 'Ẅ' => 'Ẅ', 'ẅ' => 'ẅ', 'Ẇ' => 'Ẇ', 'ẇ' => 'ẇ', 'Ẉ' => 'Ẉ', 'ẉ' => 'ẉ', 'Ẋ' => 'Ẋ', 'ẋ' => 'ẋ', 'Ẍ' => 'Ẍ', 'ẍ' => 'ẍ', 'Ẏ' => 'Ẏ', 'ẏ' => 'ẏ', 'Ẑ' => 'Ẑ', 'ẑ' => 'ẑ', 'Ẓ' => 'Ẓ', 'ẓ' => 'ẓ', 'Ẕ' => 'Ẕ', 'ẕ' => 'ẕ', 'ẖ' => 'ẖ', 'ẗ' => 'ẗ', 'ẘ' => 'ẘ', 'ẙ' => 'ẙ', 'ẛ' => 'ẛ', 'Ạ' => 'Ạ', 'ạ' => 'ạ', 'Ả' => 'Ả', 'ả' => 'ả', 'Ấ' => 'Ấ', 'ấ' => 'ấ', 'Ầ' => 'Ầ', 'ầ' => 'ầ', 'Ẩ' => 'Ẩ', 'ẩ' => 'ẩ', 'Ẫ' => 'Ẫ', 'ẫ' => 'ẫ', 'Ậ' => 'Ậ', 'ậ' => 'ậ', 'Ắ' => 'Ắ', 'ắ' => 'ắ', 'Ằ' => 'Ằ', 'ằ' => 'ằ', 'Ẳ' => 'Ẳ', 'ẳ' => 'ẳ', 'Ẵ' => 'Ẵ', 'ẵ' => 'ẵ', 'Ặ' => 'Ặ', 'ặ' => 'ặ', 'Ẹ' => 'Ẹ', 'ẹ' => 'ẹ', 'Ẻ' => 'Ẻ', 'ẻ' => 'ẻ', 'Ẽ' => 'Ẽ', 'ẽ' => 'ẽ', 'Ế' => 'Ế', 'ế' => 'ế', 'Ề' => 'Ề', 'ề' => 'ề', 'Ể' => 'Ể', 'ể' => 'ể', 'Ễ' => 'Ễ', 'ễ' => 'ễ', 'Ệ' => 'Ệ', 'ệ' => 'ệ', 'Ỉ' => 'Ỉ', 'ỉ' => 'ỉ', 'Ị' => 'Ị', 'ị' => 'ị', 'Ọ' => 'Ọ', 'ọ' => 'ọ', 'Ỏ' => 'Ỏ', 'ỏ' => 'ỏ', 'Ố' => 'Ố', 'ố' => 'ố', 'Ồ' => 'Ồ', 'ồ' => 'ồ', 'Ổ' => 'Ổ', 'ổ' => 'ổ', 'Ỗ' => 'Ỗ', 'ỗ' => 'ỗ', 'Ộ' => 'Ộ', 'ộ' => 'ộ', 'Ớ' => 'Ớ', 'ớ' => 'ớ', 'Ờ' => 'Ờ', 'ờ' => 'ờ', 'Ở' => 'Ở', 'ở' => 'ở', 'Ỡ' => 'Ỡ', 'ỡ' => 'ỡ', 'Ợ' => 'Ợ', 'ợ' => 'ợ', 'Ụ' => 'Ụ', 'ụ' => 'ụ', 'Ủ' => 'Ủ', 'ủ' => 'ủ', 'Ứ' => 'Ứ', 'ứ' => 'ứ', 'Ừ' => 'Ừ', 'ừ' => 'ừ', 'Ử' => 'Ử', 'ử' => 'ử', 'Ữ' => 'Ữ', 'ữ' => 'ữ', 'Ự' => 'Ự', 'ự' => 'ự', 'Ỳ' => 'Ỳ', 'ỳ' => 'ỳ', 'Ỵ' => 'Ỵ', 'ỵ' => 'ỵ', 'Ỷ' => 'Ỷ', 'ỷ' => 'ỷ', 'Ỹ' => 'Ỹ', 'ỹ' => 'ỹ', 'ἀ' => 'ἀ', 'ἁ' => 'ἁ', 'ἂ' => 'ἂ', 'ἃ' => 'ἃ', 'ἄ' => 'ἄ', 'ἅ' => 'ἅ', 'ἆ' => 'ἆ', 'ἇ' => 'ἇ', 'Ἀ' => 'Ἀ', 'Ἁ' => 'Ἁ', 'Ἂ' => 'Ἂ', 'Ἃ' => 'Ἃ', 'Ἄ' => 'Ἄ', 'Ἅ' => 'Ἅ', 'Ἆ' => 'Ἆ', 'Ἇ' => 'Ἇ', 'ἐ' => 'ἐ', 'ἑ' => 'ἑ', 'ἒ' => 'ἒ', 'ἓ' => 'ἓ', 'ἔ' => 'ἔ', 'ἕ' => 'ἕ', 'Ἐ' => 'Ἐ', 'Ἑ' => 'Ἑ', 'Ἒ' => 'Ἒ', 'Ἓ' => 'Ἓ', 'Ἔ' => 'Ἔ', 'Ἕ' => 'Ἕ', 'ἠ' => 'ἠ', 'ἡ' => 'ἡ', 'ἢ' => 'ἢ', 'ἣ' => 'ἣ', 'ἤ' => 'ἤ', 'ἥ' => 'ἥ', 'ἦ' => 'ἦ', 'ἧ' => 'ἧ', 'Ἠ' => 'Ἠ', 'Ἡ' => 'Ἡ', 'Ἢ' => 'Ἢ', 'Ἣ' => 'Ἣ', 'Ἤ' => 'Ἤ', 'Ἥ' => 'Ἥ', 'Ἦ' => 'Ἦ', 'Ἧ' => 'Ἧ', 'ἰ' => 'ἰ', 'ἱ' => 'ἱ', 'ἲ' => 'ἲ', 'ἳ' => 'ἳ', 'ἴ' => 'ἴ', 'ἵ' => 'ἵ', 'ἶ' => 'ἶ', 'ἷ' => 'ἷ', 'Ἰ' => 'Ἰ', 'Ἱ' => 'Ἱ', 'Ἲ' => 'Ἲ', 'Ἳ' => 'Ἳ', 'Ἴ' => 'Ἴ', 'Ἵ' => 'Ἵ', 'Ἶ' => 'Ἶ', 'Ἷ' => 'Ἷ', 'ὀ' => 'ὀ', 'ὁ' => 'ὁ', 'ὂ' => 'ὂ', 'ὃ' => 'ὃ', 'ὄ' => 'ὄ', 'ὅ' => 'ὅ', 'Ὀ' => 'Ὀ', 'Ὁ' => 'Ὁ', 'Ὂ' => 'Ὂ', 'Ὃ' => 'Ὃ', 'Ὄ' => 'Ὄ', 'Ὅ' => 'Ὅ', 'ὐ' => 'ὐ', 'ὑ' => 'ὑ', 'ὒ' => 'ὒ', 'ὓ' => 'ὓ', 'ὔ' => 'ὔ', 'ὕ' => 'ὕ', 'ὖ' => 'ὖ', 'ὗ' => 'ὗ', 'Ὑ' => 'Ὑ', 'Ὓ' => 'Ὓ', 'Ὕ' => 'Ὕ', 'Ὗ' => 'Ὗ', 'ὠ' => 'ὠ', 'ὡ' => 'ὡ', 'ὢ' => 'ὢ', 'ὣ' => 'ὣ', 'ὤ' => 'ὤ', 'ὥ' => 'ὥ', 'ὦ' => 'ὦ', 'ὧ' => 'ὧ', 'Ὠ' => 'Ὠ', 'Ὡ' => 'Ὡ', 'Ὢ' => 'Ὢ', 'Ὣ' => 'Ὣ', 'Ὤ' => 'Ὤ', 'Ὥ' => 'Ὥ', 'Ὦ' => 'Ὦ', 'Ὧ' => 'Ὧ', 'ὰ' => 'ὰ', 'ά' => 'ά', 'ὲ' => 'ὲ', 'έ' => 'έ', 'ὴ' => 'ὴ', 'ή' => 'ή', 'ὶ' => 'ὶ', 'ί' => 'ί', 'ὸ' => 'ὸ', 'ό' => 'ό', 'ὺ' => 'ὺ', 'ύ' => 'ύ', 'ὼ' => 'ὼ', 'ώ' => 'ώ', 'ᾀ' => 'ᾀ', 'ᾁ' => 'ᾁ', 'ᾂ' => 'ᾂ', 'ᾃ' => 'ᾃ', 'ᾄ' => 'ᾄ', 'ᾅ' => 'ᾅ', 'ᾆ' => 'ᾆ', 'ᾇ' => 'ᾇ', 'ᾈ' => 'ᾈ', 'ᾉ' => 'ᾉ', 'ᾊ' => 'ᾊ', 'ᾋ' => 'ᾋ', 'ᾌ' => 'ᾌ', 'ᾍ' => 'ᾍ', 'ᾎ' => 'ᾎ', 'ᾏ' => 'ᾏ', 'ᾐ' => 'ᾐ', 'ᾑ' => 'ᾑ', 'ᾒ' => 'ᾒ', 'ᾓ' => 'ᾓ', 'ᾔ' => 'ᾔ', 'ᾕ' => 'ᾕ', 'ᾖ' => 'ᾖ', 'ᾗ' => 'ᾗ', 'ᾘ' => 'ᾘ', 'ᾙ' => 'ᾙ', 'ᾚ' => 'ᾚ', 'ᾛ' => 'ᾛ', 'ᾜ' => 'ᾜ', 'ᾝ' => 'ᾝ', 'ᾞ' => 'ᾞ', 'ᾟ' => 'ᾟ', 'ᾠ' => 'ᾠ', 'ᾡ' => 'ᾡ', 'ᾢ' => 'ᾢ', 'ᾣ' => 'ᾣ', 'ᾤ' => 'ᾤ', 'ᾥ' => 'ᾥ', 'ᾦ' => 'ᾦ', 'ᾧ' => 'ᾧ', 'ᾨ' => 'ᾨ', 'ᾩ' => 'ᾩ', 'ᾪ' => 'ᾪ', 'ᾫ' => 'ᾫ', 'ᾬ' => 'ᾬ', 'ᾭ' => 'ᾭ', 'ᾮ' => 'ᾮ', 'ᾯ' => 'ᾯ', 'ᾰ' => 'ᾰ', 'ᾱ' => 'ᾱ', 'ᾲ' => 'ᾲ', 'ᾳ' => 'ᾳ', 'ᾴ' => 'ᾴ', 'ᾶ' => 'ᾶ', 'ᾷ' => 'ᾷ', 'Ᾰ' => 'Ᾰ', 'Ᾱ' => 'Ᾱ', 'Ὰ' => 'Ὰ', 'Ά' => 'Ά', 'ᾼ' => 'ᾼ', 'ι' => 'ι', '῁' => '῁', 'ῂ' => 'ῂ', 'ῃ' => 'ῃ', 'ῄ' => 'ῄ', 'ῆ' => 'ῆ', 'ῇ' => 'ῇ', 'Ὲ' => 'Ὲ', 'Έ' => 'Έ', 'Ὴ' => 'Ὴ', 'Ή' => 'Ή', 'ῌ' => 'ῌ', '῍' => '῍', '῎' => '῎', '῏' => '῏', 'ῐ' => 'ῐ', 'ῑ' => 'ῑ', 'ῒ' => 'ῒ', 'ΐ' => 'ΐ', 'ῖ' => 'ῖ', 'ῗ' => 'ῗ', 'Ῐ' => 'Ῐ', 'Ῑ' => 'Ῑ', 'Ὶ' => 'Ὶ', 'Ί' => 'Ί', '῝' => '῝', '῞' => '῞', '῟' => '῟', 'ῠ' => 'ῠ', 'ῡ' => 'ῡ', 'ῢ' => 'ῢ', 'ΰ' => 'ΰ', 'ῤ' => 'ῤ', 'ῥ' => 'ῥ', 'ῦ' => 'ῦ', 'ῧ' => 'ῧ', 'Ῠ' => 'Ῠ', 'Ῡ' => 'Ῡ', 'Ὺ' => 'Ὺ', 'Ύ' => 'Ύ', 'Ῥ' => 'Ῥ', '῭' => '῭', '΅' => '΅', '`' => '`', 'ῲ' => 'ῲ', 'ῳ' => 'ῳ', 'ῴ' => 'ῴ', 'ῶ' => 'ῶ', 'ῷ' => 'ῷ', 'Ὸ' => 'Ὸ', 'Ό' => 'Ό', 'Ὼ' => 'Ὼ', 'Ώ' => 'Ώ', 'ῼ' => 'ῼ', '´' => '´', ' ' => ' ', ' ' => ' ', 'Ω' => 'Ω', 'K' => 'K', 'Å' => 'Å', '↚' => '↚', '↛' => '↛', '↮' => '↮', '⇍' => '⇍', '⇎' => '⇎', '⇏' => '⇏', '∄' => '∄', '∉' => '∉', '∌' => '∌', '∤' => '∤', '∦' => '∦', '≁' => '≁', '≄' => '≄', '≇' => '≇', '≉' => '≉', '≠' => '≠', '≢' => '≢', '≭' => '≭', '≮' => '≮', '≯' => '≯', '≰' => '≰', '≱' => '≱', '≴' => '≴', '≵' => '≵', '≸' => '≸', '≹' => '≹', '⊀' => '⊀', '⊁' => '⊁', '⊄' => '⊄', '⊅' => '⊅', '⊈' => '⊈', '⊉' => '⊉', '⊬' => '⊬', '⊭' => '⊭', '⊮' => '⊮', '⊯' => '⊯', '⋠' => '⋠', '⋡' => '⋡', '⋢' => '⋢', '⋣' => '⋣', '⋪' => '⋪', '⋫' => '⋫', '⋬' => '⋬', '⋭' => '⋭', '〈' => '〈', '〉' => '〉', '⫝̸' => '⫝̸', 'が' => 'が', 'ぎ' => 'ぎ', 'ぐ' => 'ぐ', 'げ' => 'げ', 'ご' => 'ご', 'ざ' => 'ざ', 'じ' => 'じ', 'ず' => 'ず', 'ぜ' => 'ぜ', 'ぞ' => 'ぞ', 'だ' => 'だ', 'ぢ' => 'ぢ', 'づ' => 'づ', 'で' => 'で', 'ど' => 'ど', 'ば' => 'ば', 'ぱ' => 'ぱ', 'び' => 'び', 'ぴ' => 'ぴ', 'ぶ' => 'ぶ', 'ぷ' => 'ぷ', 'べ' => 'べ', 'ぺ' => 'ぺ', 'ぼ' => 'ぼ', 'ぽ' => 'ぽ', 'ゔ' => 'ゔ', 'ゞ' => 'ゞ', 'ガ' => 'ガ', 'ギ' => 'ギ', 'グ' => 'グ', 'ゲ' => 'ゲ', 'ゴ' => 'ゴ', 'ザ' => 'ザ', 'ジ' => 'ジ', 'ズ' => 'ズ', 'ゼ' => 'ゼ', 'ゾ' => 'ゾ', 'ダ' => 'ダ', 'ヂ' => 'ヂ', 'ヅ' => 'ヅ', 'デ' => 'デ', 'ド' => 'ド', 'バ' => 'バ', 'パ' => 'パ', 'ビ' => 'ビ', 'ピ' => 'ピ', 'ブ' => 'ブ', 'プ' => 'プ', 'ベ' => 'ベ', 'ペ' => 'ペ', 'ボ' => 'ボ', 'ポ' => 'ポ', 'ヴ' => 'ヴ', 'ヷ' => 'ヷ', 'ヸ' => 'ヸ', 'ヹ' => 'ヹ', 'ヺ' => 'ヺ', 'ヾ' => 'ヾ', '豈' => '豈', '更' => '更', '車' => '車', '賈' => '賈', '滑' => '滑', '串' => '串', '句' => '句', '龜' => '龜', '龜' => '龜', '契' => '契', '金' => '金', '喇' => '喇', '奈' => '奈', '懶' => '懶', '癩' => '癩', '羅' => '羅', '蘿' => '蘿', '螺' => '螺', '裸' => '裸', '邏' => '邏', '樂' => '樂', '洛' => '洛', '烙' => '烙', '珞' => '珞', '落' => '落', '酪' => '酪', '駱' => '駱', '亂' => '亂', '卵' => '卵', '欄' => '欄', '爛' => '爛', '蘭' => '蘭', '鸞' => '鸞', '嵐' => '嵐', '濫' => '濫', '藍' => '藍', '襤' => '襤', '拉' => '拉', '臘' => '臘', '蠟' => '蠟', '廊' => '廊', '朗' => '朗', '浪' => '浪', '狼' => '狼', '郎' => '郎', '來' => '來', '冷' => '冷', '勞' => '勞', '擄' => '擄', '櫓' => '櫓', '爐' => '爐', '盧' => '盧', '老' => '老', '蘆' => '蘆', '虜' => '虜', '路' => '路', '露' => '露', '魯' => '魯', '鷺' => '鷺', '碌' => '碌', '祿' => '祿', '綠' => '綠', '菉' => '菉', '錄' => '錄', '鹿' => '鹿', '論' => '論', '壟' => '壟', '弄' => '弄', '籠' => '籠', '聾' => '聾', '牢' => '牢', '磊' => '磊', '賂' => '賂', '雷' => '雷', '壘' => '壘', '屢' => '屢', '樓' => '樓', '淚' => '淚', '漏' => '漏', '累' => '累', '縷' => '縷', '陋' => '陋', '勒' => '勒', '肋' => '肋', '凜' => '凜', '凌' => '凌', '稜' => '稜', '綾' => '綾', '菱' => '菱', '陵' => '陵', '讀' => '讀', '拏' => '拏', '樂' => '樂', '諾' => '諾', '丹' => '丹', '寧' => '寧', '怒' => '怒', '率' => '率', '異' => '異', '北' => '北', '磻' => '磻', '便' => '便', '復' => '復', '不' => '不', '泌' => '泌', '數' => '數', '索' => '索', '參' => '參', '塞' => '塞', '省' => '省', '葉' => '葉', '說' => '說', '殺' => '殺', '辰' => '辰', '沈' => '沈', '拾' => '拾', '若' => '若', '掠' => '掠', '略' => '略', '亮' => '亮', '兩' => '兩', '凉' => '凉', '梁' => '梁', '糧' => '糧', '良' => '良', '諒' => '諒', '量' => '量', '勵' => '勵', '呂' => '呂', '女' => '女', '廬' => '廬', '旅' => '旅', '濾' => '濾', '礪' => '礪', '閭' => '閭', '驪' => '驪', '麗' => '麗', '黎' => '黎', '力' => '力', '曆' => '曆', '歷' => '歷', '轢' => '轢', '年' => '年', '憐' => '憐', '戀' => '戀', '撚' => '撚', '漣' => '漣', '煉' => '煉', '璉' => '璉', '秊' => '秊', '練' => '練', '聯' => '聯', '輦' => '輦', '蓮' => '蓮', '連' => '連', '鍊' => '鍊', '列' => '列', '劣' => '劣', '咽' => '咽', '烈' => '烈', '裂' => '裂', '說' => '說', '廉' => '廉', '念' => '念', '捻' => '捻', '殮' => '殮', '簾' => '簾', '獵' => '獵', '令' => '令', '囹' => '囹', '寧' => '寧', '嶺' => '嶺', '怜' => '怜', '玲' => '玲', '瑩' => '瑩', '羚' => '羚', '聆' => '聆', '鈴' => '鈴', '零' => '零', '靈' => '靈', '領' => '領', '例' => '例', '禮' => '禮', '醴' => '醴', '隸' => '隸', '惡' => '惡', '了' => '了', '僚' => '僚', '寮' => '寮', '尿' => '尿', '料' => '料', '樂' => '樂', '燎' => '燎', '療' => '療', '蓼' => '蓼', '遼' => '遼', '龍' => '龍', '暈' => '暈', '阮' => '阮', '劉' => '劉', '杻' => '杻', '柳' => '柳', '流' => '流', '溜' => '溜', '琉' => '琉', '留' => '留', '硫' => '硫', '紐' => '紐', '類' => '類', '六' => '六', '戮' => '戮', '陸' => '陸', '倫' => '倫', '崙' => '崙', '淪' => '淪', '輪' => '輪', '律' => '律', '慄' => '慄', '栗' => '栗', '率' => '率', '隆' => '隆', '利' => '利', '吏' => '吏', '履' => '履', '易' => '易', '李' => '李', '梨' => '梨', '泥' => '泥', '理' => '理', '痢' => '痢', '罹' => '罹', '裏' => '裏', '裡' => '裡', '里' => '里', '離' => '離', '匿' => '匿', '溺' => '溺', '吝' => '吝', '燐' => '燐', '璘' => '璘', '藺' => '藺', '隣' => '隣', '鱗' => '鱗', '麟' => '麟', '林' => '林', '淋' => '淋', '臨' => '臨', '立' => '立', '笠' => '笠', '粒' => '粒', '狀' => '狀', '炙' => '炙', '識' => '識', '什' => '什', '茶' => '茶', '刺' => '刺', '切' => '切', '度' => '度', '拓' => '拓', '糖' => '糖', '宅' => '宅', '洞' => '洞', '暴' => '暴', '輻' => '輻', '行' => '行', '降' => '降', '見' => '見', '廓' => '廓', '兀' => '兀', '嗀' => '嗀', '塚' => '塚', '晴' => '晴', '凞' => '凞', '猪' => '猪', '益' => '益', '礼' => '礼', '神' => '神', '祥' => '祥', '福' => '福', '靖' => '靖', '精' => '精', '羽' => '羽', '蘒' => '蘒', '諸' => '諸', '逸' => '逸', '都' => '都', '飯' => '飯', '飼' => '飼', '館' => '館', '鶴' => '鶴', '郞' => '郞', '隷' => '隷', '侮' => '侮', '僧' => '僧', '免' => '免', '勉' => '勉', '勤' => '勤', '卑' => '卑', '喝' => '喝', '嘆' => '嘆', '器' => '器', '塀' => '塀', '墨' => '墨', '層' => '層', '屮' => '屮', '悔' => '悔', '慨' => '慨', '憎' => '憎', '懲' => '懲', '敏' => '敏', '既' => '既', '暑' => '暑', '梅' => '梅', '海' => '海', '渚' => '渚', '漢' => '漢', '煮' => '煮', '爫' => '爫', '琢' => '琢', '碑' => '碑', '社' => '社', '祉' => '祉', '祈' => '祈', '祐' => '祐', '祖' => '祖', '祝' => '祝', '禍' => '禍', '禎' => '禎', '穀' => '穀', '突' => '突', '節' => '節', '練' => '練', '縉' => '縉', '繁' => '繁', '署' => '署', '者' => '者', '臭' => '臭', '艹' => '艹', '艹' => '艹', '著' => '著', '褐' => '褐', '視' => '視', '謁' => '謁', '謹' => '謹', '賓' => '賓', '贈' => '贈', '辶' => '辶', '逸' => '逸', '難' => '難', '響' => '響', '頻' => '頻', '恵' => '恵', '𤋮' => '𤋮', '舘' => '舘', '並' => '並', '况' => '况', '全' => '全', '侀' => '侀', '充' => '充', '冀' => '冀', '勇' => '勇', '勺' => '勺', '喝' => '喝', '啕' => '啕', '喙' => '喙', '嗢' => '嗢', '塚' => '塚', '墳' => '墳', '奄' => '奄', '奔' => '奔', '婢' => '婢', '嬨' => '嬨', '廒' => '廒', '廙' => '廙', '彩' => '彩', '徭' => '徭', '惘' => '惘', '慎' => '慎', '愈' => '愈', '憎' => '憎', '慠' => '慠', '懲' => '懲', '戴' => '戴', '揄' => '揄', '搜' => '搜', '摒' => '摒', '敖' => '敖', '晴' => '晴', '朗' => '朗', '望' => '望', '杖' => '杖', '歹' => '歹', '殺' => '殺', '流' => '流', '滛' => '滛', '滋' => '滋', '漢' => '漢', '瀞' => '瀞', '煮' => '煮', '瞧' => '瞧', '爵' => '爵', '犯' => '犯', '猪' => '猪', '瑱' => '瑱', '甆' => '甆', '画' => '画', '瘝' => '瘝', '瘟' => '瘟', '益' => '益', '盛' => '盛', '直' => '直', '睊' => '睊', '着' => '着', '磌' => '磌', '窱' => '窱', '節' => '節', '类' => '类', '絛' => '絛', '練' => '練', '缾' => '缾', '者' => '者', '荒' => '荒', '華' => '華', '蝹' => '蝹', '襁' => '襁', '覆' => '覆', '視' => '視', '調' => '調', '諸' => '諸', '請' => '請', '謁' => '謁', '諾' => '諾', '諭' => '諭', '謹' => '謹', '變' => '變', '贈' => '贈', '輸' => '輸', '遲' => '遲', '醙' => '醙', '鉶' => '鉶', '陼' => '陼', '難' => '難', '靖' => '靖', '韛' => '韛', '響' => '響', '頋' => '頋', '頻' => '頻', '鬒' => '鬒', '龜' => '龜', '𢡊' => '𢡊', '𢡄' => '𢡄', '𣏕' => '𣏕', '㮝' => '㮝', '䀘' => '䀘', '䀹' => '䀹', '𥉉' => '𥉉', '𥳐' => '𥳐', '𧻓' => '𧻓', '齃' => '齃', '龎' => '龎', 'יִ' => 'יִ', 'ײַ' => 'ײַ', 'שׁ' => 'שׁ', 'שׂ' => 'שׂ', 'שּׁ' => 'שּׁ', 'שּׂ' => 'שּׂ', 'אַ' => 'אַ', 'אָ' => 'אָ', 'אּ' => 'אּ', 'בּ' => 'בּ', 'גּ' => 'גּ', 'דּ' => 'דּ', 'הּ' => 'הּ', 'וּ' => 'וּ', 'זּ' => 'זּ', 'טּ' => 'טּ', 'יּ' => 'יּ', 'ךּ' => 'ךּ', 'כּ' => 'כּ', 'לּ' => 'לּ', 'מּ' => 'מּ', 'נּ' => 'נּ', 'סּ' => 'סּ', 'ףּ' => 'ףּ', 'פּ' => 'פּ', 'צּ' => 'צּ', 'קּ' => 'קּ', 'רּ' => 'רּ', 'שּ' => 'שּ', 'תּ' => 'תּ', 'וֹ' => 'וֹ', 'בֿ' => 'בֿ', 'כֿ' => 'כֿ', 'פֿ' => 'פֿ', '𑂚' => '𑂚', '𑂜' => '𑂜', '𑂫' => '𑂫', '𑄮' => '𑄮', '𑄯' => '𑄯', '𑍋' => '𑍋', '𑍌' => '𑍌', '𑒻' => '𑒻', '𑒼' => '𑒼', '𑒾' => '𑒾', '𑖺' => '𑖺', '𑖻' => '𑖻', '𑤸' => '𑤸', '𝅗𝅥' => '𝅗𝅥', '𝅘𝅥' => '𝅘𝅥', '𝅘𝅥𝅮' => '𝅘𝅥𝅮', '𝅘𝅥𝅯' => '𝅘𝅥𝅯', '𝅘𝅥𝅰' => '𝅘𝅥𝅰', '𝅘𝅥𝅱' => '𝅘𝅥𝅱', '𝅘𝅥𝅲' => '𝅘𝅥𝅲', '𝆹𝅥' => '𝆹𝅥', '𝆺𝅥' => '𝆺𝅥', '𝆹𝅥𝅮' => '𝆹𝅥𝅮', '𝆺𝅥𝅮' => '𝆺𝅥𝅮', '𝆹𝅥𝅯' => '𝆹𝅥𝅯', '𝆺𝅥𝅯' => '𝆺𝅥𝅯', '丽' => '丽', '丸' => '丸', '乁' => '乁', '𠄢' => '𠄢', '你' => '你', '侮' => '侮', '侻' => '侻', '倂' => '倂', '偺' => '偺', '備' => '備', '僧' => '僧', '像' => '像', '㒞' => '㒞', '𠘺' => '𠘺', '免' => '免', '兔' => '兔', '兤' => '兤', '具' => '具', '𠔜' => '𠔜', '㒹' => '㒹', '內' => '內', '再' => '再', '𠕋' => '𠕋', '冗' => '冗', '冤' => '冤', '仌' => '仌', '冬' => '冬', '况' => '况', '𩇟' => '𩇟', '凵' => '凵', '刃' => '刃', '㓟' => '㓟', '刻' => '刻', '剆' => '剆', '割' => '割', '剷' => '剷', '㔕' => '㔕', '勇' => '勇', '勉' => '勉', '勤' => '勤', '勺' => '勺', '包' => '包', '匆' => '匆', '北' => '北', '卉' => '卉', '卑' => '卑', '博' => '博', '即' => '即', '卽' => '卽', '卿' => '卿', '卿' => '卿', '卿' => '卿', '𠨬' => '𠨬', '灰' => '灰', '及' => '及', '叟' => '叟', '𠭣' => '𠭣', '叫' => '叫', '叱' => '叱', '吆' => '吆', '咞' => '咞', '吸' => '吸', '呈' => '呈', '周' => '周', '咢' => '咢', '哶' => '哶', '唐' => '唐', '啓' => '啓', '啣' => '啣', '善' => '善', '善' => '善', '喙' => '喙', '喫' => '喫', '喳' => '喳', '嗂' => '嗂', '圖' => '圖', '嘆' => '嘆', '圗' => '圗', '噑' => '噑', '噴' => '噴', '切' => '切', '壮' => '壮', '城' => '城', '埴' => '埴', '堍' => '堍', '型' => '型', '堲' => '堲', '報' => '報', '墬' => '墬', '𡓤' => '𡓤', '売' => '売', '壷' => '壷', '夆' => '夆', '多' => '多', '夢' => '夢', '奢' => '奢', '𡚨' => '𡚨', '𡛪' => '𡛪', '姬' => '姬', '娛' => '娛', '娧' => '娧', '姘' => '姘', '婦' => '婦', '㛮' => '㛮', '㛼' => '㛼', '嬈' => '嬈', '嬾' => '嬾', '嬾' => '嬾', '𡧈' => '𡧈', '寃' => '寃', '寘' => '寘', '寧' => '寧', '寳' => '寳', '𡬘' => '𡬘', '寿' => '寿', '将' => '将', '当' => '当', '尢' => '尢', '㞁' => '㞁', '屠' => '屠', '屮' => '屮', '峀' => '峀', '岍' => '岍', '𡷤' => '𡷤', '嵃' => '嵃', '𡷦' => '𡷦', '嵮' => '嵮', '嵫' => '嵫', '嵼' => '嵼', '巡' => '巡', '巢' => '巢', '㠯' => '㠯', '巽' => '巽', '帨' => '帨', '帽' => '帽', '幩' => '幩', '㡢' => '㡢', '𢆃' => '𢆃', '㡼' => '㡼', '庰' => '庰', '庳' => '庳', '庶' => '庶', '廊' => '廊', '𪎒' => '𪎒', '廾' => '廾', '𢌱' => '𢌱', '𢌱' => '𢌱', '舁' => '舁', '弢' => '弢', '弢' => '弢', '㣇' => '㣇', '𣊸' => '𣊸', '𦇚' => '𦇚', '形' => '形', '彫' => '彫', '㣣' => '㣣', '徚' => '徚', '忍' => '忍', '志' => '志', '忹' => '忹', '悁' => '悁', '㤺' => '㤺', '㤜' => '㤜', '悔' => '悔', '𢛔' => '𢛔', '惇' => '惇', '慈' => '慈', '慌' => '慌', '慎' => '慎', '慌' => '慌', '慺' => '慺', '憎' => '憎', '憲' => '憲', '憤' => '憤', '憯' => '憯', '懞' => '懞', '懲' => '懲', '懶' => '懶', '成' => '成', '戛' => '戛', '扝' => '扝', '抱' => '抱', '拔' => '拔', '捐' => '捐', '𢬌' => '𢬌', '挽' => '挽', '拼' => '拼', '捨' => '捨', '掃' => '掃', '揤' => '揤', '𢯱' => '𢯱', '搢' => '搢', '揅' => '揅', '掩' => '掩', '㨮' => '㨮', '摩' => '摩', '摾' => '摾', '撝' => '撝', '摷' => '摷', '㩬' => '㩬', '敏' => '敏', '敬' => '敬', '𣀊' => '𣀊', '旣' => '旣', '書' => '書', '晉' => '晉', '㬙' => '㬙', '暑' => '暑', '㬈' => '㬈', '㫤' => '㫤', '冒' => '冒', '冕' => '冕', '最' => '最', '暜' => '暜', '肭' => '肭', '䏙' => '䏙', '朗' => '朗', '望' => '望', '朡' => '朡', '杞' => '杞', '杓' => '杓', '𣏃' => '𣏃', '㭉' => '㭉', '柺' => '柺', '枅' => '枅', '桒' => '桒', '梅' => '梅', '𣑭' => '𣑭', '梎' => '梎', '栟' => '栟', '椔' => '椔', '㮝' => '㮝', '楂' => '楂', '榣' => '榣', '槪' => '槪', '檨' => '檨', '𣚣' => '𣚣', '櫛' => '櫛', '㰘' => '㰘', '次' => '次', '𣢧' => '𣢧', '歔' => '歔', '㱎' => '㱎', '歲' => '歲', '殟' => '殟', '殺' => '殺', '殻' => '殻', '𣪍' => '𣪍', '𡴋' => '𡴋', '𣫺' => '𣫺', '汎' => '汎', '𣲼' => '𣲼', '沿' => '沿', '泍' => '泍', '汧' => '汧', '洖' => '洖', '派' => '派', '海' => '海', '流' => '流', '浩' => '浩', '浸' => '浸', '涅' => '涅', '𣴞' => '𣴞', '洴' => '洴', '港' => '港', '湮' => '湮', '㴳' => '㴳', '滋' => '滋', '滇' => '滇', '𣻑' => '𣻑', '淹' => '淹', '潮' => '潮', '𣽞' => '𣽞', '𣾎' => '𣾎', '濆' => '濆', '瀹' => '瀹', '瀞' => '瀞', '瀛' => '瀛', '㶖' => '㶖', '灊' => '灊', '災' => '災', '灷' => '灷', '炭' => '炭', '𠔥' => '𠔥', '煅' => '煅', '𤉣' => '𤉣', '熜' => '熜', '𤎫' => '𤎫', '爨' => '爨', '爵' => '爵', '牐' => '牐', '𤘈' => '𤘈', '犀' => '犀', '犕' => '犕', '𤜵' => '𤜵', '𤠔' => '𤠔', '獺' => '獺', '王' => '王', '㺬' => '㺬', '玥' => '玥', '㺸' => '㺸', '㺸' => '㺸', '瑇' => '瑇', '瑜' => '瑜', '瑱' => '瑱', '璅' => '璅', '瓊' => '瓊', '㼛' => '㼛', '甤' => '甤', '𤰶' => '𤰶', '甾' => '甾', '𤲒' => '𤲒', '異' => '異', '𢆟' => '𢆟', '瘐' => '瘐', '𤾡' => '𤾡', '𤾸' => '𤾸', '𥁄' => '𥁄', '㿼' => '㿼', '䀈' => '䀈', '直' => '直', '𥃳' => '𥃳', '𥃲' => '𥃲', '𥄙' => '𥄙', '𥄳' => '𥄳', '眞' => '眞', '真' => '真', '真' => '真', '睊' => '睊', '䀹' => '䀹', '瞋' => '瞋', '䁆' => '䁆', '䂖' => '䂖', '𥐝' => '𥐝', '硎' => '硎', '碌' => '碌', '磌' => '磌', '䃣' => '䃣', '𥘦' => '𥘦', '祖' => '祖', '𥚚' => '𥚚', '𥛅' => '𥛅', '福' => '福', '秫' => '秫', '䄯' => '䄯', '穀' => '穀', '穊' => '穊', '穏' => '穏', '𥥼' => '𥥼', '𥪧' => '𥪧', '𥪧' => '𥪧', '竮' => '竮', '䈂' => '䈂', '𥮫' => '𥮫', '篆' => '篆', '築' => '築', '䈧' => '䈧', '𥲀' => '𥲀', '糒' => '糒', '䊠' => '䊠', '糨' => '糨', '糣' => '糣', '紀' => '紀', '𥾆' => '𥾆', '絣' => '絣', '䌁' => '䌁', '緇' => '緇', '縂' => '縂', '繅' => '繅', '䌴' => '䌴', '𦈨' => '𦈨', '𦉇' => '𦉇', '䍙' => '䍙', '𦋙' => '𦋙', '罺' => '罺', '𦌾' => '𦌾', '羕' => '羕', '翺' => '翺', '者' => '者', '𦓚' => '𦓚', '𦔣' => '𦔣', '聠' => '聠', '𦖨' => '𦖨', '聰' => '聰', '𣍟' => '𣍟', '䏕' => '䏕', '育' => '育', '脃' => '脃', '䐋' => '䐋', '脾' => '脾', '媵' => '媵', '𦞧' => '𦞧', '𦞵' => '𦞵', '𣎓' => '𣎓', '𣎜' => '𣎜', '舁' => '舁', '舄' => '舄', '辞' => '辞', '䑫' => '䑫', '芑' => '芑', '芋' => '芋', '芝' => '芝', '劳' => '劳', '花' => '花', '芳' => '芳', '芽' => '芽', '苦' => '苦', '𦬼' => '𦬼', '若' => '若', '茝' => '茝', '荣' => '荣', '莭' => '莭', '茣' => '茣', '莽' => '莽', '菧' => '菧', '著' => '著', '荓' => '荓', '菊' => '菊', '菌' => '菌', '菜' => '菜', '𦰶' => '𦰶', '𦵫' => '𦵫', '𦳕' => '𦳕', '䔫' => '䔫', '蓱' => '蓱', '蓳' => '蓳', '蔖' => '蔖', '𧏊' => '𧏊', '蕤' => '蕤', '𦼬' => '𦼬', '䕝' => '䕝', '䕡' => '䕡', '𦾱' => '𦾱', '𧃒' => '𧃒', '䕫' => '䕫', '虐' => '虐', '虜' => '虜', '虧' => '虧', '虩' => '虩', '蚩' => '蚩', '蚈' => '蚈', '蜎' => '蜎', '蛢' => '蛢', '蝹' => '蝹', '蜨' => '蜨', '蝫' => '蝫', '螆' => '螆', '䗗' => '䗗', '蟡' => '蟡', '蠁' => '蠁', '䗹' => '䗹', '衠' => '衠', '衣' => '衣', '𧙧' => '𧙧', '裗' => '裗', '裞' => '裞', '䘵' => '䘵', '裺' => '裺', '㒻' => '㒻', '𧢮' => '𧢮', '𧥦' => '𧥦', '䚾' => '䚾', '䛇' => '䛇', '誠' => '誠', '諭' => '諭', '變' => '變', '豕' => '豕', '𧲨' => '𧲨', '貫' => '貫', '賁' => '賁', '贛' => '贛', '起' => '起', '𧼯' => '𧼯', '𠠄' => '𠠄', '跋' => '跋', '趼' => '趼', '跰' => '跰', '𠣞' => '𠣞', '軔' => '軔', '輸' => '輸', '𨗒' => '𨗒', '𨗭' => '𨗭', '邔' => '邔', '郱' => '郱', '鄑' => '鄑', '𨜮' => '𨜮', '鄛' => '鄛', '鈸' => '鈸', '鋗' => '鋗', '鋘' => '鋘', '鉼' => '鉼', '鏹' => '鏹', '鐕' => '鐕', '𨯺' => '𨯺', '開' => '開', '䦕' => '䦕', '閷' => '閷', '𨵷' => '𨵷', '䧦' => '䧦', '雃' => '雃', '嶲' => '嶲', '霣' => '霣', '𩅅' => '𩅅', '𩈚' => '𩈚', '䩮' => '䩮', '䩶' => '䩶', '韠' => '韠', '𩐊' => '𩐊', '䪲' => '䪲', '𩒖' => '𩒖', '頋' => '頋', '頋' => '頋', '頩' => '頩', '𩖶' => '𩖶', '飢' => '飢', '䬳' => '䬳', '餩' => '餩', '馧' => '馧', '駂' => '駂', '駾' => '駾', '䯎' => '䯎', '𩬰' => '𩬰', '鬒' => '鬒', '鱀' => '鱀', '鳽' => '鳽', '䳎' => '䳎', '䳭' => '䳭', '鵧' => '鵧', '𪃎' => '𪃎', '䳸' => '䳸', '𪄅' => '𪄅', '𪈎' => '𪈎', '𪊑' => '𪊑', '麻' => '麻', '䵖' => '䵖', '黹' => '黹', '黾' => '黾', '鼅' => '鼅', '鼏' => '鼏', '鼖' => '鼖', '鼻' => '鼻', '𪘀' => '𪘀'); diff --git a/vendor/symfony/polyfill-intl-normalizer/Resources/unidata/combiningClass.php b/vendor/symfony/polyfill-intl-normalizer/Resources/unidata/combiningClass.php index f37233f5f5a..da615949c8c 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 29915604d6f..c78f0ca0f00 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', 'DŽ' => 'DŽ', 'Dž' => 'Dž', 'dž' => 'dž', 'LJ' => 'LJ', 'Lj' => 'Lj', 'lj' => 'lj', 'NJ' => 'NJ', 'Nj' => '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' => 'fi', 'fl' => 'fl', 'ffi' => 'ffi', 'ffl' => 'ffl', 'ſt' => 'st', 'st' => 'st', 'ﬓ' => 'մն', 'ﬔ' => 'մե', 'ﬕ' => 'մի', 'ﬖ' => 'վն', 'ﬗ' => 'մխ', 'ﬠ' => 'ע', 'ﬡ' => 'א', 'ﬢ' => 'ד', 'ﬣ' => 'ה', 'ﬤ' => 'כ', 'ﬥ' => 'ל', 'ﬦ' => 'ם', 'ﬧ' => 'ר', 'ﬨ' => 'ת', '﬩' => '+', 'ﭏ' => 'אל', 'ﭐ' => 'ٱ', 'ﭑ' => 'ٱ', 'ﭒ' => 'ٻ', 'ﭓ' => 'ٻ', 'ﭔ' => 'ٻ', 'ﭕ' => 'ٻ', 'ﭖ' => 'پ', 'ﭗ' => 'پ', 'ﭘ' => 'پ', 'ﭙ' => 'پ', 'ﭚ' => 'ڀ', 'ﭛ' => 'ڀ', 'ﭜ' => 'ڀ', 'ﭝ' => 'ڀ', 'ﭞ' => 'ٺ', 'ﭟ' => 'ٺ', 'ﭠ' => 'ٺ', 'ﭡ' => 'ٺ', 'ﭢ' => 'ٿ', 'ﭣ' => 'ٿ', 'ﭤ' => 'ٿ', 'ﭥ' => 'ٿ', 'ﭦ' => 'ٹ', 'ﭧ' => 'ٹ', 'ﭨ' => 'ٹ', 'ﭩ' => 'ٹ', 'ﭪ' => 'ڤ', 'ﭫ' => 'ڤ', 'ﭬ' => 'ڤ', 'ﭭ' => 'ڤ', 'ﭮ' => 'ڦ', 'ﭯ' => 'ڦ', 'ﭰ' => 'ڦ', 'ﭱ' => 'ڦ', 'ﭲ' => 'ڄ', 'ﭳ' => 'ڄ', 'ﭴ' => 'ڄ', 'ﭵ' => 'ڄ', 'ﭶ' => 'ڃ', 'ﭷ' => 'ڃ', 'ﭸ' => 'ڃ', 'ﭹ' => 'ڃ', 'ﭺ' => 'چ', 'ﭻ' => 'چ', 'ﭼ' => 'چ', 'ﭽ' => 'چ', 'ﭾ' => 'ڇ', 'ﭿ' => 'ڇ', 'ﮀ' => 'ڇ', 'ﮁ' => 'ڇ', 'ﮂ' => 'ڍ', 'ﮃ' => 'ڍ', 'ﮄ' => 'ڌ', 'ﮅ' => 'ڌ', 'ﮆ' => 'ڎ', 'ﮇ' => 'ڎ', 'ﮈ' => 'ڈ', 'ﮉ' => 'ڈ', 'ﮊ' => 'ژ', 'ﮋ' => 'ژ', 'ﮌ' => 'ڑ', 'ﮍ' => 'ڑ', 'ﮎ' => 'ک', 'ﮏ' => 'ک', 'ﮐ' => 'ک', 'ﮑ' => 'ک', 'ﮒ' => 'گ', 'ﮓ' => 'گ', 'ﮔ' => 'گ', 'ﮕ' => 'گ', 'ﮖ' => 'ڳ', 'ﮗ' => 'ڳ', 'ﮘ' => 'ڳ', 'ﮙ' => 'ڳ', 'ﮚ' => 'ڱ', 'ﮛ' => 'ڱ', 'ﮜ' => 'ڱ', 'ﮝ' => 'ڱ', 'ﮞ' => 'ں', 'ﮟ' => 'ں', 'ﮠ' => 'ڻ', 'ﮡ' => 'ڻ', 'ﮢ' => 'ڻ', 'ﮣ' => 'ڻ', 'ﮤ' => 'ۀ', 'ﮥ' => 'ۀ', 'ﮦ' => 'ہ', 'ﮧ' => 'ہ', 'ﮨ' => 'ہ', 'ﮩ' => 'ہ', 'ﮪ' => 'ھ', 'ﮫ' => 'ھ', 'ﮬ' => 'ھ', 'ﮭ' => 'ھ', 'ﮮ' => 'ے', 'ﮯ' => 'ے', 'ﮰ' => 'ۓ', 'ﮱ' => 'ۓ', 'ﯓ' => 'ڭ', 'ﯔ' => 'ڭ', 'ﯕ' => 'ڭ', 'ﯖ' => 'ڭ', 'ﯗ' => 'ۇ', 'ﯘ' => 'ۇ', 'ﯙ' => 'ۆ', 'ﯚ' => 'ۆ', 'ﯛ' => 'ۈ', 'ﯜ' => 'ۈ', 'ﯝ' => 'ۇٴ', 'ﯞ' => 'ۋ', 'ﯟ' => 'ۋ', 'ﯠ' => 'ۅ', 'ﯡ' => 'ۅ', 'ﯢ' => 'ۉ', 'ﯣ' => 'ۉ', 'ﯤ' => 'ې', 'ﯥ' => 'ې', 'ﯦ' => 'ې', 'ﯧ' => 'ې', 'ﯨ' => 'ى', 'ﯩ' => 'ى', 'ﯪ' => 'ئا', 'ﯫ' => 'ئا', 'ﯬ' => 'ئە', 'ﯭ' => 'ئە', 'ﯮ' => 'ئو', 'ﯯ' => 'ئو', 'ﯰ' => 'ئۇ', 'ﯱ' => 'ئۇ', 'ﯲ' => 'ئۆ', 'ﯳ' => 'ئۆ', 'ﯴ' => 'ئۈ', 'ﯵ' => 'ئۈ', 'ﯶ' => 'ئې', 'ﯷ' => 'ئې', 'ﯸ' => 'ئې', 'ﯹ' => 'ئى', 'ﯺ' => 'ئى', 'ﯻ' => 'ئى', 'ﯼ' => 'ی', 'ﯽ' => 'ی', 'ﯾ' => 'ی', 'ﯿ' => 'ی', 'ﰀ' => 'ئج', 'ﰁ' => 'ئح', 'ﰂ' => 'ئم', 'ﰃ' => 'ئى', 'ﰄ' => 'ئي', 'ﰅ' => 'بج', 'ﰆ' => 'بح', 'ﰇ' => 'بخ', 'ﰈ' => 'بم', 'ﰉ' => 'بى', 'ﰊ' => 'بي', 'ﰋ' => 'تج', 'ﰌ' => 'تح', 'ﰍ' => 'تخ', 'ﰎ' => 'تم', 'ﰏ' => 'تى', 'ﰐ' => 'تي', 'ﰑ' => 'ثج', 'ﰒ' => 'ثم', 'ﰓ' => 'ثى', 'ﰔ' => 'ثي', 'ﰕ' => 'جح', 'ﰖ' => 'جم', 'ﰗ' => 'حج', 'ﰘ' => 'حم', 'ﰙ' => 'خج', 'ﰚ' => 'خح', 'ﰛ' => 'خم', 'ﰜ' => 'سج', 'ﰝ' => 'سح', 'ﰞ' => 'سخ', 'ﰟ' => 'سم', 'ﰠ' => 'صح', 'ﰡ' => 'صم', 'ﰢ' => 'ضج', 'ﰣ' => 'ضح', 'ﰤ' => 'ضخ', 'ﰥ' => 'ضم', 'ﰦ' => 'طح', 'ﰧ' => 'طم', 'ﰨ' => 'ظم', 'ﰩ' => 'عج', 'ﰪ' => 'عم', 'ﰫ' => 'غج', 'ﰬ' => 'غم', 'ﰭ' => 'فج', 'ﰮ' => 'فح', 'ﰯ' => 'فخ', 'ﰰ' => 'فم', 'ﰱ' => 'فى', 'ﰲ' => 'في', 'ﰳ' => 'قح', 'ﰴ' => 'قم', 'ﰵ' => 'قى', 'ﰶ' => 'قي', 'ﰷ' => 'كا', 'ﰸ' => 'كج', 'ﰹ' => 'كح', 'ﰺ' => 'كخ', 'ﰻ' => 'كل', 'ﰼ' => 'كم', 'ﰽ' => 'كى', 'ﰾ' => 'كي', 'ﰿ' => 'لج', 'ﱀ' => 'لح', 'ﱁ' => 'لخ', 'ﱂ' => 'لم', 'ﱃ' => 'لى', 'ﱄ' => 'لي', 'ﱅ' => 'مج', 'ﱆ' => 'مح', 'ﱇ' => 'مخ', 'ﱈ' => 'مم', 'ﱉ' => 'مى', 'ﱊ' => 'مي', 'ﱋ' => 'نج', 'ﱌ' => 'نح', 'ﱍ' => 'نخ', 'ﱎ' => 'نم', 'ﱏ' => 'نى', 'ﱐ' => 'ني', 'ﱑ' => 'هج', 'ﱒ' => 'هم', 'ﱓ' => 'هى', 'ﱔ' => 'هي', 'ﱕ' => 'يج', 'ﱖ' => 'يح', 'ﱗ' => 'يخ', 'ﱘ' => 'يم', 'ﱙ' => 'يى', 'ﱚ' => 'يي', 'ﱛ' => 'ذٰ', 'ﱜ' => 'رٰ', 'ﱝ' => 'ىٰ', 'ﱞ' => ' ٌّ', 'ﱟ' => ' ٍّ', 'ﱠ' => ' َّ', 'ﱡ' => ' ُّ', 'ﱢ' => ' ِّ', 'ﱣ' => ' ّٰ', 'ﱤ' => 'ئر', 'ﱥ' => 'ئز', 'ﱦ' => 'ئم', 'ﱧ' => 'ئن', 'ﱨ' => 'ئى', 'ﱩ' => 'ئي', 'ﱪ' => 'بر', 'ﱫ' => 'بز', 'ﱬ' => 'بم', 'ﱭ' => 'بن', 'ﱮ' => 'بى', 'ﱯ' => 'بي', 'ﱰ' => 'تر', 'ﱱ' => 'تز', 'ﱲ' => 'تم', 'ﱳ' => 'تن', 'ﱴ' => 'تى', 'ﱵ' => 'تي', 'ﱶ' => 'ثر', 'ﱷ' => 'ثز', 'ﱸ' => 'ثم', 'ﱹ' => 'ثن', 'ﱺ' => 'ثى', 'ﱻ' => 'ثي', 'ﱼ' => 'فى', 'ﱽ' => 'في', 'ﱾ' => 'قى', 'ﱿ' => 'قي', 'ﲀ' => 'كا', 'ﲁ' => 'كل', 'ﲂ' => 'كم', 'ﲃ' => 'كى', 'ﲄ' => 'كي', 'ﲅ' => 'لم', 'ﲆ' => 'لى', 'ﲇ' => 'لي', 'ﲈ' => 'ما', 'ﲉ' => 'مم', 'ﲊ' => 'نر', 'ﲋ' => 'نز', 'ﲌ' => 'نم', 'ﲍ' => 'نن', 'ﲎ' => 'نى', 'ﲏ' => 'ني', 'ﲐ' => 'ىٰ', 'ﲑ' => 'ير', 'ﲒ' => 'يز', 'ﲓ' => 'يم', 'ﲔ' => 'ين', 'ﲕ' => 'يى', 'ﲖ' => 'يي', 'ﲗ' => 'ئج', 'ﲘ' => 'ئح', 'ﲙ' => 'ئخ', 'ﲚ' => 'ئم', 'ﲛ' => 'ئه', 'ﲜ' => 'بج', 'ﲝ' => 'بح', 'ﲞ' => 'بخ', 'ﲟ' => 'بم', 'ﲠ' => 'به', 'ﲡ' => 'تج', 'ﲢ' => 'تح', 'ﲣ' => 'تخ', 'ﲤ' => 'تم', 'ﲥ' => 'ته', 'ﲦ' => 'ثم', 'ﲧ' => 'جح', 'ﲨ' => 'جم', 'ﲩ' => 'حج', 'ﲪ' => 'حم', 'ﲫ' => 'خج', 'ﲬ' => 'خم', 'ﲭ' => 'سج', 'ﲮ' => 'سح', 'ﲯ' => 'سخ', 'ﲰ' => 'سم', 'ﲱ' => 'صح', 'ﲲ' => 'صخ', 'ﲳ' => 'صم', 'ﲴ' => 'ضج', 'ﲵ' => 'ضح', 'ﲶ' => 'ضخ', 'ﲷ' => 'ضم', 'ﲸ' => 'طح', 'ﲹ' => 'ظم', 'ﲺ' => 'عج', 'ﲻ' => 'عم', 'ﲼ' => 'غج', 'ﲽ' => 'غم', 'ﲾ' => 'فج', 'ﲿ' => 'فح', 'ﳀ' => 'فخ', 'ﳁ' => 'فم', 'ﳂ' => 'قح', 'ﳃ' => 'قم', 'ﳄ' => 'كج', 'ﳅ' => 'كح', 'ﳆ' => 'كخ', 'ﳇ' => 'كل', 'ﳈ' => 'كم', 'ﳉ' => 'لج', 'ﳊ' => 'لح', 'ﳋ' => 'لخ', 'ﳌ' => 'لم', 'ﳍ' => 'له', 'ﳎ' => 'مج', 'ﳏ' => 'مح', 'ﳐ' => 'مخ', 'ﳑ' => 'مم', 'ﳒ' => 'نج', 'ﳓ' => 'نح', 'ﳔ' => 'نخ', 'ﳕ' => 'نم', 'ﳖ' => 'نه', 'ﳗ' => 'هج', 'ﳘ' => 'هم', 'ﳙ' => 'هٰ', 'ﳚ' => 'يج', 'ﳛ' => 'يح', 'ﳜ' => 'يخ', 'ﳝ' => 'يم', 'ﳞ' => 'يه', 'ﳟ' => 'ئم', 'ﳠ' => 'ئه', 'ﳡ' => 'بم', 'ﳢ' => 'به', 'ﳣ' => 'تم', 'ﳤ' => 'ته', 'ﳥ' => 'ثم', 'ﳦ' => 'ثه', 'ﳧ' => 'سم', 'ﳨ' => 'سه', 'ﳩ' => 'شم', 'ﳪ' => 'شه', 'ﳫ' => 'كل', 'ﳬ' => 'كم', 'ﳭ' => 'لم', 'ﳮ' => 'نم', 'ﳯ' => 'نه', 'ﳰ' => 'يم', 'ﳱ' => 'يه', 'ﳲ' => 'ـَّ', 'ﳳ' => 'ـُّ', 'ﳴ' => 'ـِّ', 'ﳵ' => 'طى', 'ﳶ' => 'طي', 'ﳷ' => 'عى', 'ﳸ' => 'عي', 'ﳹ' => 'غى', 'ﳺ' => 'غي', 'ﳻ' => 'سى', 'ﳼ' => 'سي', 'ﳽ' => 'شى', 'ﳾ' => 'شي', 'ﳿ' => 'حى', 'ﴀ' => 'حي', 'ﴁ' => 'جى', 'ﴂ' => 'جي', 'ﴃ' => 'خى', 'ﴄ' => 'خي', 'ﴅ' => 'صى', 'ﴆ' => 'صي', 'ﴇ' => 'ضى', 'ﴈ' => 'ضي', 'ﴉ' => 'شج', 'ﴊ' => 'شح', 'ﴋ' => 'شخ', 'ﴌ' => 'شم', 'ﴍ' => 'شر', 'ﴎ' => 'سر', 'ﴏ' => 'صر', 'ﴐ' => 'ضر', 'ﴑ' => 'طى', 'ﴒ' => 'طي', 'ﴓ' => 'عى', 'ﴔ' => 'عي', 'ﴕ' => 'غى', 'ﴖ' => 'غي', 'ﴗ' => 'سى', 'ﴘ' => 'سي', 'ﴙ' => 'شى', 'ﴚ' => 'شي', 'ﴛ' => 'حى', 'ﴜ' => 'حي', 'ﴝ' => 'جى', 'ﴞ' => 'جي', 'ﴟ' => 'خى', 'ﴠ' => 'خي', 'ﴡ' => 'صى', 'ﴢ' => 'صي', 'ﴣ' => 'ضى', 'ﴤ' => 'ضي', 'ﴥ' => 'شج', 'ﴦ' => 'شح', 'ﴧ' => 'شخ', 'ﴨ' => 'شم', 'ﴩ' => 'شر', 'ﴪ' => 'سر', 'ﴫ' => 'صر', 'ﴬ' => 'ضر', 'ﴭ' => 'شج', 'ﴮ' => 'شح', 'ﴯ' => 'شخ', 'ﴰ' => 'شم', 'ﴱ' => 'سه', 'ﴲ' => 'شه', 'ﴳ' => 'طم', 'ﴴ' => 'سج', 'ﴵ' => 'سح', 'ﴶ' => 'سخ', 'ﴷ' => 'شج', 'ﴸ' => 'شح', 'ﴹ' => 'شخ', 'ﴺ' => 'طم', 'ﴻ' => 'ظم', 'ﴼ' => 'اً', 'ﴽ' => 'اً', 'ﵐ' => 'تجم', 'ﵑ' => 'تحج', 'ﵒ' => 'تحج', 'ﵓ' => 'تحم', 'ﵔ' => 'تخم', 'ﵕ' => 'تمج', 'ﵖ' => 'تمح', 'ﵗ' => 'تمخ', 'ﵘ' => 'جمح', 'ﵙ' => 'جمح', 'ﵚ' => 'حمي', 'ﵛ' => 'حمى', 'ﵜ' => 'سحج', 'ﵝ' => 'سجح', 'ﵞ' => 'سجى', 'ﵟ' => 'سمح', 'ﵠ' => 'سمح', 'ﵡ' => 'سمج', 'ﵢ' => 'سمم', 'ﵣ' => 'سمم', 'ﵤ' => 'صحح', 'ﵥ' => 'صحح', 'ﵦ' => 'صمم', 'ﵧ' => 'شحم', 'ﵨ' => 'شحم', 'ﵩ' => 'شجي', 'ﵪ' => 'شمخ', 'ﵫ' => 'شمخ', 'ﵬ' => 'شمم', 'ﵭ' => 'شمم', 'ﵮ' => 'ضحى', 'ﵯ' => 'ضخم', 'ﵰ' => 'ضخم', 'ﵱ' => 'طمح', 'ﵲ' => 'طمح', 'ﵳ' => 'طمم', 'ﵴ' => 'طمي', 'ﵵ' => 'عجم', 'ﵶ' => 'عمم', 'ﵷ' => 'عمم', 'ﵸ' => 'عمى', 'ﵹ' => 'غمم', 'ﵺ' => 'غمي', 'ﵻ' => 'غمى', 'ﵼ' => 'فخم', 'ﵽ' => 'فخم', 'ﵾ' => 'قمح', 'ﵿ' => 'قمم', 'ﶀ' => 'لحم', 'ﶁ' => 'لحي', 'ﶂ' => 'لحى', 'ﶃ' => 'لجج', 'ﶄ' => 'لجج', 'ﶅ' => 'لخم', 'ﶆ' => 'لخم', 'ﶇ' => 'لمح', 'ﶈ' => 'لمح', 'ﶉ' => 'محج', 'ﶊ' => 'محم', 'ﶋ' => 'محي', 'ﶌ' => 'مجح', 'ﶍ' => 'مجم', 'ﶎ' => 'مخج', 'ﶏ' => 'مخم', 'ﶒ' => 'مجخ', 'ﶓ' => 'همج', 'ﶔ' => 'همم', 'ﶕ' => 'نحم', 'ﶖ' => 'نحى', 'ﶗ' => 'نجم', 'ﶘ' => 'نجم', 'ﶙ' => 'نجى', 'ﶚ' => 'نمي', 'ﶛ' => 'نمى', 'ﶜ' => 'يمم', 'ﶝ' => 'يمم', 'ﶞ' => 'بخي', 'ﶟ' => 'تجي', 'ﶠ' => 'تجى', 'ﶡ' => 'تخي', 'ﶢ' => 'تخى', 'ﶣ' => 'تمي', 'ﶤ' => 'تمى', 'ﶥ' => 'جمي', 'ﶦ' => 'جحى', 'ﶧ' => 'جمى', 'ﶨ' => 'سخى', 'ﶩ' => 'صحي', 'ﶪ' => 'شحي', 'ﶫ' => 'ضحي', 'ﶬ' => 'لجي', 'ﶭ' => 'لمي', 'ﶮ' => 'يحي', 'ﶯ' => 'يجي', 'ﶰ' => 'يمي', 'ﶱ' => 'ممي', 'ﶲ' => 'قمي', 'ﶳ' => 'نحي', 'ﶴ' => 'قمح', 'ﶵ' => 'لحم', 'ﶶ' => 'عمي', 'ﶷ' => 'كمي', 'ﶸ' => 'نجح', 'ﶹ' => 'مخي', 'ﶺ' => 'لجم', 'ﶻ' => 'كمم', 'ﶼ' => 'لجم', 'ﶽ' => 'نجح', 'ﶾ' => 'جحي', 'ﶿ' => 'حجي', 'ﷀ' => 'مجي', 'ﷁ' => 'فمي', 'ﷂ' => 'بحي', 'ﷃ' => 'كمم', 'ﷄ' => 'عجم', 'ﷅ' => 'صمم', 'ﷆ' => 'سخي', 'ﷇ' => 'نجي', 'ﷰ' => 'صلے', 'ﷱ' => 'قلے', 'ﷲ' => 'الله', 'ﷳ' => 'اكبر', 'ﷴ' => 'محمد', 'ﷵ' => 'صلعم', 'ﷶ' => 'رسول', 'ﷷ' => 'عليه', 'ﷸ' => 'وسلم', 'ﷹ' => 'صلى', 'ﷺ' => 'صلى الله عليه وسلم', 'ﷻ' => 'جل جلاله', '﷼' => 'ریال', '︐' => ',', '︑' => '、', '︒' => '。', '︓' => ':', '︔' => ';', '︕' => '!', '︖' => '?', '︗' => '〖', '︘' => '〗', '︙' => '...', '︰' => '..', '︱' => '—', '︲' => '–', '︳' => '_', '︴' => '_', '︵' => '(', '︶' => ')', '︷' => '{', '︸' => '}', '︹' => '〔', '︺' => '〕', '︻' => '【', '︼' => '】', '︽' => '《', '︾' => '》', '︿' => '〈', '﹀' => '〉', '﹁' => '「', '﹂' => '」', '﹃' => '『', '﹄' => '』', '﹇' => '[', '﹈' => ']', '﹉' => ' ̅', '﹊' => ' ̅', '﹋' => ' ̅', '﹌' => ' ̅', '﹍' => '_', '﹎' => '_', '﹏' => '_', '﹐' => ',', '﹑' => '、', '﹒' => '.', '﹔' => ';', '﹕' => ':', '﹖' => '?', '﹗' => '!', '﹘' => '—', '﹙' => '(', '﹚' => ')', '﹛' => '{', '﹜' => '}', '﹝' => '〔', '﹞' => '〕', '﹟' => '#', '﹠' => '&', '﹡' => '*', '﹢' => '+', '﹣' => '-', '﹤' => '<', '﹥' => '>', '﹦' => '=', '﹨' => '\\', '﹩' => '$', '﹪' => '%', '﹫' => '@', 'ﹰ' => ' ً', 'ﹱ' => 'ـً', 'ﹲ' => ' ٌ', 'ﹴ' => ' ٍ', 'ﹶ' => ' َ', 'ﹷ' => 'ـَ', 'ﹸ' => ' ُ', 'ﹹ' => 'ـُ', 'ﹺ' => ' ِ', 'ﹻ' => 'ـِ', 'ﹼ' => ' ّ', 'ﹽ' => 'ـّ', 'ﹾ' => ' ْ', 'ﹿ' => 'ـْ', 'ﺀ' => 'ء', 'ﺁ' => 'آ', 'ﺂ' => 'آ', 'ﺃ' => 'أ', 'ﺄ' => 'أ', 'ﺅ' => 'ؤ', 'ﺆ' => 'ؤ', 'ﺇ' => 'إ', 'ﺈ' => 'إ', 'ﺉ' => 'ئ', 'ﺊ' => 'ئ', 'ﺋ' => 'ئ', 'ﺌ' => 'ئ', 'ﺍ' => 'ا', 'ﺎ' => 'ا', 'ﺏ' => 'ب', 'ﺐ' => 'ب', 'ﺑ' => 'ب', 'ﺒ' => 'ب', 'ﺓ' => 'ة', 'ﺔ' => 'ة', 'ﺕ' => 'ت', 'ﺖ' => 'ت', 'ﺗ' => 'ت', 'ﺘ' => 'ت', 'ﺙ' => 'ث', 'ﺚ' => 'ث', 'ﺛ' => 'ث', 'ﺜ' => 'ث', 'ﺝ' => 'ج', 'ﺞ' => 'ج', 'ﺟ' => 'ج', 'ﺠ' => 'ج', 'ﺡ' => 'ح', 'ﺢ' => 'ح', 'ﺣ' => 'ح', 'ﺤ' => 'ح', 'ﺥ' => 'خ', 'ﺦ' => 'خ', 'ﺧ' => 'خ', 'ﺨ' => 'خ', 'ﺩ' => 'د', 'ﺪ' => 'د', 'ﺫ' => 'ذ', 'ﺬ' => 'ذ', 'ﺭ' => 'ر', 'ﺮ' => 'ر', 'ﺯ' => 'ز', 'ﺰ' => 'ز', 'ﺱ' => 'س', 'ﺲ' => 'س', 'ﺳ' => 'س', 'ﺴ' => 'س', 'ﺵ' => 'ش', 'ﺶ' => 'ش', 'ﺷ' => 'ش', 'ﺸ' => 'ش', 'ﺹ' => 'ص', 'ﺺ' => 'ص', 'ﺻ' => 'ص', 'ﺼ' => 'ص', 'ﺽ' => 'ض', 'ﺾ' => 'ض', 'ﺿ' => 'ض', 'ﻀ' => 'ض', 'ﻁ' => 'ط', 'ﻂ' => 'ط', 'ﻃ' => 'ط', 'ﻄ' => 'ط', 'ﻅ' => 'ظ', 'ﻆ' => 'ظ', 'ﻇ' => 'ظ', 'ﻈ' => 'ظ', 'ﻉ' => 'ع', 'ﻊ' => 'ع', 'ﻋ' => 'ع', 'ﻌ' => 'ع', 'ﻍ' => 'غ', 'ﻎ' => 'غ', 'ﻏ' => 'غ', 'ﻐ' => 'غ', 'ﻑ' => 'ف', 'ﻒ' => 'ف', 'ﻓ' => 'ف', 'ﻔ' => 'ف', 'ﻕ' => 'ق', 'ﻖ' => 'ق', 'ﻗ' => 'ق', 'ﻘ' => 'ق', 'ﻙ' => 'ك', 'ﻚ' => 'ك', 'ﻛ' => 'ك', 'ﻜ' => 'ك', 'ﻝ' => 'ل', 'ﻞ' => 'ل', 'ﻟ' => 'ل', 'ﻠ' => 'ل', 'ﻡ' => 'م', 'ﻢ' => 'م', 'ﻣ' => 'م', 'ﻤ' => 'م', 'ﻥ' => 'ن', 'ﻦ' => 'ن', 'ﻧ' => 'ن', 'ﻨ' => 'ن', 'ﻩ' => 'ه', 'ﻪ' => 'ه', 'ﻫ' => 'ه', 'ﻬ' => 'ه', 'ﻭ' => 'و', 'ﻮ' => 'و', 'ﻯ' => 'ى', 'ﻰ' => 'ى', 'ﻱ' => 'ي', 'ﻲ' => 'ي', 'ﻳ' => 'ي', 'ﻴ' => 'ي', 'ﻵ' => 'لآ', 'ﻶ' => 'لآ', 'ﻷ' => 'لأ', 'ﻸ' => 'لأ', 'ﻹ' => 'لإ', 'ﻺ' => 'لإ', 'ﻻ' => 'لا', 'ﻼ' => 'لا', '!' => '!', '"' => '"', '#' => '#', '$' => '$', '%' => '%', '&' => '&', ''' => '\'', '(' => '(', ')' => ')', '*' => '*', '+' => '+', ',' => ',', '-' => '-', '.' => '.', '/' => '/', '0' => '0', '1' => '1', '2' => '2', '3' => '3', '4' => '4', '5' => '5', '6' => '6', '7' => '7', '8' => '8', '9' => '9', ':' => ':', ';' => ';', '<' => '<', '=' => '=', '>' => '>', '?' => '?', '@' => '@', 'A' => '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', '[' => '[', '\' => '\\', ']' => ']', '^' => '^', '_' => '_', '`' => '`', 'a' => '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', '{' => '{', '|' => '|', '}' => '}', '~' => '~', '⦅' => '⦅', '⦆' => '⦆', '。' => '。', '「' => '「', '」' => '」', '、' => '、', '・' => '・', 'ヲ' => 'ヲ', 'ァ' => 'ァ', 'ィ' => 'ィ', 'ゥ' => 'ゥ', 'ェ' => 'ェ', 'ォ' => 'ォ', 'ャ' => 'ャ', 'ュ' => 'ュ', 'ョ' => 'ョ', 'ッ' => 'ッ', 'ー' => 'ー', 'ア' => 'ア', 'イ' => 'イ', 'ウ' => 'ウ', 'エ' => 'エ', 'オ' => 'オ', 'カ' => 'カ', 'キ' => 'キ', 'ク' => 'ク', 'ケ' => 'ケ', 'コ' => 'コ', 'サ' => 'サ', 'シ' => 'シ', 'ス' => 'ス', 'セ' => 'セ', 'ソ' => 'ソ', 'タ' => 'タ', 'チ' => 'チ', 'ツ' => 'ツ', 'テ' => 'テ', 'ト' => 'ト', 'ナ' => 'ナ', 'ニ' => 'ニ', 'ヌ' => 'ヌ', 'ネ' => 'ネ', 'ノ' => 'ノ', 'ハ' => 'ハ', 'ヒ' => 'ヒ', 'フ' => 'フ', 'ヘ' => 'ヘ', 'ホ' => 'ホ', 'マ' => 'マ', 'ミ' => 'ミ', 'ム' => 'ム', 'メ' => 'メ', 'モ' => 'モ', 'ヤ' => 'ヤ', 'ユ' => 'ユ', 'ヨ' => 'ヨ', 'ラ' => 'ラ', 'リ' => 'リ', 'ル' => 'ル', 'レ' => 'レ', 'ロ' => 'ロ', 'ワ' => 'ワ', 'ン' => 'ン', '゙' => '゙', '゚' => '゚', 'ᅠ' => 'ᅠ', 'ᄀ' => 'ᄀ', 'ᄁ' => 'ᄁ', 'ᆪ' => 'ᆪ', 'ᄂ' => 'ᄂ', 'ᆬ' => 'ᆬ', 'ᆭ' => 'ᆭ', 'ᄃ' => 'ᄃ', 'ᄄ' => 'ᄄ', 'ᄅ' => 'ᄅ', 'ᆰ' => 'ᆰ', 'ᆱ' => 'ᆱ', 'ᆲ' => 'ᆲ', 'ᆳ' => 'ᆳ', 'ᆴ' => 'ᆴ', 'ᆵ' => 'ᆵ', 'ᄚ' => 'ᄚ', 'ᄆ' => 'ᄆ', 'ᄇ' => 'ᄇ', 'ᄈ' => 'ᄈ', 'ᄡ' => 'ᄡ', 'ᄉ' => 'ᄉ', 'ᄊ' => 'ᄊ', 'ᄋ' => 'ᄋ', 'ᄌ' => 'ᄌ', 'ᄍ' => 'ᄍ', 'ᄎ' => 'ᄎ', 'ᄏ' => 'ᄏ', 'ᄐ' => 'ᄐ', 'ᄑ' => 'ᄑ', 'ᄒ' => 'ᄒ', 'ᅡ' => 'ᅡ', 'ᅢ' => 'ᅢ', 'ᅣ' => 'ᅣ', 'ᅤ' => 'ᅤ', 'ᅥ' => 'ᅥ', 'ᅦ' => 'ᅦ', 'ᅧ' => 'ᅧ', 'ᅨ' => 'ᅨ', 'ᅩ' => 'ᅩ', 'ᅪ' => 'ᅪ', 'ᅫ' => 'ᅫ', 'ᅬ' => 'ᅬ', 'ᅭ' => 'ᅭ', 'ᅮ' => 'ᅮ', 'ᅯ' => 'ᅯ', 'ᅰ' => 'ᅰ', 'ᅱ' => 'ᅱ', 'ᅲ' => 'ᅲ', 'ᅳ' => 'ᅳ', 'ᅴ' => 'ᅴ', 'ᅵ' => 'ᅵ', '¢' => '¢', '£' => '£', '¬' => '¬', ' ̄' => ' ̄', '¦' => '¦', '¥' => '¥', '₩' => '₩', '│' => '│', '←' => '←', '↑' => '↑', '→' => '→', '↓' => '↓', '■' => '■', '○' => '○', '𝐀' => '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 af517e575cf..55238104f67 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 RectorPrefix20220519\Symfony\Polyfill\Intl\Normalizer as p; +use RectorPrefix20220520\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 = \RectorPrefix20220519\Symfony\Polyfill\Intl\Normalizer\Normalizer::FORM_C) + function normalizer_is_normalized($string, $form = \RectorPrefix20220520\Symfony\Polyfill\Intl\Normalizer\Normalizer::FORM_C) { - return \RectorPrefix20220519\Symfony\Polyfill\Intl\Normalizer\Normalizer::isNormalized($string, $form); + return \RectorPrefix20220520\Symfony\Polyfill\Intl\Normalizer\Normalizer::isNormalized($string, $form); } } if (!\function_exists('normalizer_normalize')) { - function normalizer_normalize($string, $form = \RectorPrefix20220519\Symfony\Polyfill\Intl\Normalizer\Normalizer::FORM_C) + function normalizer_normalize($string, $form = \RectorPrefix20220520\Symfony\Polyfill\Intl\Normalizer\Normalizer::FORM_C) { - return \RectorPrefix20220519\Symfony\Polyfill\Intl\Normalizer\Normalizer::normalize($string, $form); + return \RectorPrefix20220520\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 2cb5070afa5..a3d84ef7ba3 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 RectorPrefix20220519\Symfony\Polyfill\Intl\Normalizer as p; +use RectorPrefix20220520\Symfony\Polyfill\Intl\Normalizer as p; if (!\function_exists('normalizer_is_normalized')) { - function normalizer_is_normalized(?string $string, ?int $form = \RectorPrefix20220519\Symfony\Polyfill\Intl\Normalizer\Normalizer::FORM_C) : bool + function normalizer_is_normalized(?string $string, ?int $form = \RectorPrefix20220520\Symfony\Polyfill\Intl\Normalizer\Normalizer::FORM_C) : bool { - return \RectorPrefix20220519\Symfony\Polyfill\Intl\Normalizer\Normalizer::isNormalized((string) $string, (int) $form); + return \RectorPrefix20220520\Symfony\Polyfill\Intl\Normalizer\Normalizer::isNormalized((string) $string, (int) $form); } } if (!\function_exists('normalizer_normalize')) { /** * @return string|true */ - function normalizer_normalize(?string $string, ?int $form = \RectorPrefix20220519\Symfony\Polyfill\Intl\Normalizer\Normalizer::FORM_C) + function normalizer_normalize(?string $string, ?int $form = \RectorPrefix20220520\Symfony\Polyfill\Intl\Normalizer\Normalizer::FORM_C) { - return \RectorPrefix20220519\Symfony\Polyfill\Intl\Normalizer\Normalizer::normalize((string) $string, (int) $form); + return \RectorPrefix20220520\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 425c3a98b55..1241f589b78 100644 --- a/vendor/symfony/polyfill-intl-normalizer/composer.json +++ b/vendor/symfony/polyfill-intl-normalizer/composer.json @@ -27,7 +27,7 @@ }, "autoload": { "psr-4": { - "RectorPrefix20220519\\Symfony\\Polyfill\\Intl\\Normalizer\\": "" + "RectorPrefix20220520\\Symfony\\Polyfill\\Intl\\Normalizer\\": "" }, "files": [ "bootstrap.php" diff --git a/vendor/symfony/polyfill-mbstring/Mbstring.php b/vendor/symfony/polyfill-mbstring/Mbstring.php index 1baaf7bb4c4..8c5b1ef3795 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 RectorPrefix20220519\Symfony\Polyfill\Mbstring; +namespace RectorPrefix20220520\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 8d4c0cff243..2903dcb8462 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ž', 'Dž' => 'dž', 'LJ' => 'lj', 'Lj' => 'lj', 'NJ' => 'nj', 'Nj' => 'nj', 'Ǎ' => 'ǎ', 'Ǐ' => 'ǐ', 'Ǒ' => 'ǒ', 'Ǔ' => 'ǔ', 'Ǖ' => 'ǖ', 'Ǘ' => 'ǘ', 'Ǚ' => 'ǚ', 'Ǜ' => 'ǜ', 'Ǟ' => 'ǟ', 'Ǡ' => 'ǡ', 'Ǣ' => 'ǣ', 'Ǥ' => 'ǥ', 'Ǧ' => 'ǧ', 'Ǩ' => 'ǩ', 'Ǫ' => 'ǫ', 'Ǭ' => 'ǭ', 'Ǯ' => 'ǯ', 'DZ' => 'dz', 'Dz' => 'dz', 'Ǵ' => 'ǵ', 'Ƕ' => 'ƕ', 'Ƿ' => 'ƿ', 'Ǹ' => 'ǹ', 'Ǻ' => 'ǻ', 'Ǽ' => 'ǽ', 'Ǿ' => 'ǿ', 'Ȁ' => 'ȁ', 'Ȃ' => 'ȃ', 'Ȅ' => 'ȅ', 'Ȇ' => 'ȇ', 'Ȉ' => 'ȉ', 'Ȋ' => 'ȋ', 'Ȍ' => 'ȍ', 'Ȏ' => 'ȏ', 'Ȑ' => 'ȑ', 'Ȓ' => 'ȓ', 'Ȕ' => 'ȕ', 'Ȗ' => 'ȗ', 'Ș' => 'ș', 'Ț' => 'ț', 'Ȝ' => 'ȝ', 'Ȟ' => 'ȟ', 'Ƞ' => 'ƞ', 'Ȣ' => 'ȣ', 'Ȥ' => 'ȥ', 'Ȧ' => 'ȧ', 'Ȩ' => 'ȩ', 'Ȫ' => 'ȫ', 'Ȭ' => 'ȭ', 'Ȯ' => 'ȯ', 'Ȱ' => 'ȱ', 'Ȳ' => 'ȳ', 'Ⱥ' => 'ⱥ', 'Ȼ' => 'ȼ', 'Ƚ' => 'ƚ', 'Ⱦ' => 'ⱦ', 'Ɂ' => 'ɂ', 'Ƀ' => 'ƀ', 'Ʉ' => 'ʉ', 'Ʌ' => 'ʌ', 'Ɇ' => 'ɇ', 'Ɉ' => 'ɉ', 'Ɋ' => 'ɋ', 'Ɍ' => 'ɍ', 'Ɏ' => 'ɏ', 'Ͱ' => 'ͱ', 'Ͳ' => 'ͳ', 'Ͷ' => 'ͷ', 'Ϳ' => 'ϳ', 'Ά' => 'ά', 'Έ' => 'έ', 'Ή' => 'ή', 'Ί' => 'ί', 'Ό' => 'ό', 'Ύ' => 'ύ', 'Ώ' => 'ώ', 'Α' => 'α', 'Β' => 'β', 'Γ' => 'γ', 'Δ' => 'δ', 'Ε' => 'ε', 'Ζ' => 'ζ', 'Η' => 'η', 'Θ' => 'θ', 'Ι' => 'ι', 'Κ' => 'κ', 'Λ' => 'λ', 'Μ' => 'μ', 'Ν' => 'ν', 'Ξ' => 'ξ', 'Ο' => 'ο', 'Π' => 'π', 'Ρ' => 'ρ', 'Σ' => 'σ', 'Τ' => 'τ', 'Υ' => 'υ', 'Φ' => 'φ', 'Χ' => 'χ', 'Ψ' => 'ψ', 'Ω' => 'ω', 'Ϊ' => 'ϊ', 'Ϋ' => 'ϋ', 'Ϗ' => 'ϗ', 'Ϙ' => 'ϙ', 'Ϛ' => 'ϛ', 'Ϝ' => 'ϝ', 'Ϟ' => 'ϟ', 'Ϡ' => 'ϡ', 'Ϣ' => 'ϣ', 'Ϥ' => 'ϥ', 'Ϧ' => 'ϧ', 'Ϩ' => 'ϩ', 'Ϫ' => 'ϫ', 'Ϭ' => 'ϭ', 'Ϯ' => 'ϯ', 'ϴ' => 'θ', 'Ϸ' => 'ϸ', 'Ϲ' => 'ϲ', 'Ϻ' => 'ϻ', 'Ͻ' => 'ͻ', 'Ͼ' => 'ͼ', 'Ͽ' => 'ͽ', 'Ѐ' => 'ѐ', 'Ё' => 'ё', 'Ђ' => 'ђ', 'Ѓ' => 'ѓ', 'Є' => 'є', 'Ѕ' => 'ѕ', 'І' => 'і', 'Ї' => 'ї', 'Ј' => 'ј', 'Љ' => 'љ', 'Њ' => 'њ', 'Ћ' => 'ћ', 'Ќ' => 'ќ', 'Ѝ' => 'ѝ', 'Ў' => 'ў', 'Џ' => 'џ', 'А' => 'а', 'Б' => 'б', 'В' => 'в', 'Г' => 'г', 'Д' => 'д', 'Е' => 'е', 'Ж' => 'ж', 'З' => 'з', 'И' => 'и', 'Й' => 'й', 'К' => 'к', 'Л' => 'л', 'М' => 'м', 'Н' => 'н', 'О' => 'о', 'П' => 'п', 'Р' => 'р', 'С' => 'с', 'Т' => 'т', 'У' => 'у', 'Ф' => 'ф', 'Х' => 'х', 'Ц' => 'ц', 'Ч' => 'ч', 'Ш' => 'ш', 'Щ' => 'щ', 'Ъ' => 'ъ', 'Ы' => 'ы', 'Ь' => 'ь', 'Э' => 'э', 'Ю' => 'ю', 'Я' => 'я', 'Ѡ' => 'ѡ', 'Ѣ' => 'ѣ', 'Ѥ' => 'ѥ', 'Ѧ' => 'ѧ', 'Ѩ' => 'ѩ', 'Ѫ' => 'ѫ', 'Ѭ' => 'ѭ', 'Ѯ' => 'ѯ', 'Ѱ' => 'ѱ', 'Ѳ' => 'ѳ', 'Ѵ' => 'ѵ', 'Ѷ' => 'ѷ', 'Ѹ' => 'ѹ', 'Ѻ' => 'ѻ', 'Ѽ' => 'ѽ', 'Ѿ' => 'ѿ', 'Ҁ' => 'ҁ', 'Ҋ' => 'ҋ', 'Ҍ' => 'ҍ', 'Ҏ' => 'ҏ', 'Ґ' => 'ґ', 'Ғ' => 'ғ', 'Ҕ' => 'ҕ', 'Җ' => 'җ', 'Ҙ' => 'ҙ', 'Қ' => 'қ', 'Ҝ' => 'ҝ', 'Ҟ' => 'ҟ', 'Ҡ' => 'ҡ', 'Ң' => 'ң', 'Ҥ' => 'ҥ', 'Ҧ' => 'ҧ', 'Ҩ' => 'ҩ', 'Ҫ' => 'ҫ', 'Ҭ' => 'ҭ', 'Ү' => 'ү', 'Ұ' => 'ұ', 'Ҳ' => 'ҳ', 'Ҵ' => 'ҵ', 'Ҷ' => 'ҷ', 'Ҹ' => 'ҹ', 'Һ' => 'һ', 'Ҽ' => 'ҽ', 'Ҿ' => 'ҿ', 'Ӏ' => 'ӏ', 'Ӂ' => 'ӂ', 'Ӄ' => 'ӄ', 'Ӆ' => 'ӆ', 'Ӈ' => 'ӈ', 'Ӊ' => 'ӊ', 'Ӌ' => 'ӌ', 'Ӎ' => 'ӎ', 'Ӑ' => 'ӑ', 'Ӓ' => 'ӓ', 'Ӕ' => 'ӕ', 'Ӗ' => 'ӗ', 'Ә' => 'ә', 'Ӛ' => 'ӛ', 'Ӝ' => 'ӝ', 'Ӟ' => 'ӟ', 'Ӡ' => 'ӡ', 'Ӣ' => 'ӣ', 'Ӥ' => 'ӥ', 'Ӧ' => 'ӧ', 'Ө' => 'ө', 'Ӫ' => 'ӫ', 'Ӭ' => 'ӭ', 'Ӯ' => 'ӯ', 'Ӱ' => 'ӱ', 'Ӳ' => 'ӳ', 'Ӵ' => 'ӵ', 'Ӷ' => 'ӷ', 'Ӹ' => 'ӹ', 'Ӻ' => 'ӻ', 'Ӽ' => 'ӽ', 'Ӿ' => 'ӿ', 'Ԁ' => 'ԁ', 'Ԃ' => 'ԃ', 'Ԅ' => 'ԅ', 'Ԇ' => 'ԇ', 'Ԉ' => 'ԉ', 'Ԋ' => 'ԋ', 'Ԍ' => 'ԍ', 'Ԏ' => 'ԏ', 'Ԑ' => 'ԑ', 'Ԓ' => 'ԓ', 'Ԕ' => 'ԕ', 'Ԗ' => 'ԗ', 'Ԙ' => 'ԙ', 'Ԛ' => 'ԛ', 'Ԝ' => 'ԝ', 'Ԟ' => 'ԟ', 'Ԡ' => 'ԡ', 'Ԣ' => 'ԣ', 'Ԥ' => 'ԥ', 'Ԧ' => 'ԧ', 'Ԩ' => 'ԩ', 'Ԫ' => 'ԫ', 'Ԭ' => 'ԭ', 'Ԯ' => 'ԯ', 'Ա' => 'ա', 'Բ' => 'բ', 'Գ' => 'գ', 'Դ' => 'դ', 'Ե' => 'ե', 'Զ' => 'զ', 'Է' => 'է', 'Ը' => 'ը', 'Թ' => 'թ', 'Ժ' => 'ժ', 'Ի' => 'ի', 'Լ' => 'լ', 'Խ' => 'խ', 'Ծ' => 'ծ', 'Կ' => 'կ', 'Հ' => 'հ', 'Ձ' => 'ձ', 'Ղ' => 'ղ', 'Ճ' => 'ճ', 'Մ' => 'մ', 'Յ' => 'յ', 'Ն' => 'ն', 'Շ' => 'շ', 'Ո' => 'ո', 'Չ' => 'չ', 'Պ' => 'պ', 'Ջ' => 'ջ', 'Ռ' => 'ռ', 'Ս' => 'ս', 'Վ' => 'վ', 'Տ' => 'տ', 'Ր' => 'ր', 'Ց' => 'ց', 'Ւ' => 'ւ', 'Փ' => 'փ', 'Ք' => 'ք', 'Օ' => 'օ', 'Ֆ' => 'ֆ', 'Ⴀ' => 'ⴀ', 'Ⴁ' => 'ⴁ', 'Ⴂ' => 'ⴂ', 'Ⴃ' => 'ⴃ', 'Ⴄ' => 'ⴄ', 'Ⴅ' => 'ⴅ', 'Ⴆ' => 'ⴆ', 'Ⴇ' => 'ⴇ', 'Ⴈ' => 'ⴈ', 'Ⴉ' => 'ⴉ', 'Ⴊ' => 'ⴊ', 'Ⴋ' => 'ⴋ', 'Ⴌ' => 'ⴌ', 'Ⴍ' => 'ⴍ', 'Ⴎ' => 'ⴎ', 'Ⴏ' => 'ⴏ', 'Ⴐ' => 'ⴐ', 'Ⴑ' => 'ⴑ', 'Ⴒ' => 'ⴒ', 'Ⴓ' => 'ⴓ', 'Ⴔ' => 'ⴔ', 'Ⴕ' => 'ⴕ', 'Ⴖ' => 'ⴖ', 'Ⴗ' => 'ⴗ', 'Ⴘ' => 'ⴘ', 'Ⴙ' => 'ⴙ', 'Ⴚ' => 'ⴚ', 'Ⴛ' => 'ⴛ', 'Ⴜ' => 'ⴜ', 'Ⴝ' => 'ⴝ', 'Ⴞ' => 'ⴞ', 'Ⴟ' => 'ⴟ', 'Ⴠ' => 'ⴠ', 'Ⴡ' => 'ⴡ', 'Ⴢ' => 'ⴢ', 'Ⴣ' => 'ⴣ', 'Ⴤ' => 'ⴤ', 'Ⴥ' => 'ⴥ', 'Ⴧ' => 'ⴧ', 'Ⴭ' => 'ⴭ', 'Ꭰ' => 'ꭰ', 'Ꭱ' => 'ꭱ', 'Ꭲ' => 'ꭲ', 'Ꭳ' => 'ꭳ', 'Ꭴ' => 'ꭴ', 'Ꭵ' => 'ꭵ', 'Ꭶ' => 'ꭶ', 'Ꭷ' => 'ꭷ', 'Ꭸ' => 'ꭸ', 'Ꭹ' => 'ꭹ', 'Ꭺ' => 'ꭺ', 'Ꭻ' => 'ꭻ', 'Ꭼ' => 'ꭼ', 'Ꭽ' => 'ꭽ', 'Ꭾ' => 'ꭾ', 'Ꭿ' => 'ꭿ', 'Ꮀ' => 'ꮀ', 'Ꮁ' => 'ꮁ', 'Ꮂ' => 'ꮂ', 'Ꮃ' => 'ꮃ', 'Ꮄ' => 'ꮄ', 'Ꮅ' => 'ꮅ', 'Ꮆ' => 'ꮆ', 'Ꮇ' => 'ꮇ', 'Ꮈ' => 'ꮈ', 'Ꮉ' => 'ꮉ', 'Ꮊ' => 'ꮊ', 'Ꮋ' => 'ꮋ', 'Ꮌ' => 'ꮌ', 'Ꮍ' => 'ꮍ', 'Ꮎ' => 'ꮎ', 'Ꮏ' => 'ꮏ', 'Ꮐ' => 'ꮐ', 'Ꮑ' => 'ꮑ', 'Ꮒ' => 'ꮒ', 'Ꮓ' => 'ꮓ', 'Ꮔ' => 'ꮔ', 'Ꮕ' => 'ꮕ', 'Ꮖ' => 'ꮖ', 'Ꮗ' => 'ꮗ', 'Ꮘ' => 'ꮘ', 'Ꮙ' => 'ꮙ', 'Ꮚ' => 'ꮚ', 'Ꮛ' => 'ꮛ', 'Ꮜ' => 'ꮜ', 'Ꮝ' => 'ꮝ', 'Ꮞ' => 'ꮞ', 'Ꮟ' => 'ꮟ', 'Ꮠ' => 'ꮠ', 'Ꮡ' => 'ꮡ', 'Ꮢ' => 'ꮢ', 'Ꮣ' => 'ꮣ', 'Ꮤ' => 'ꮤ', 'Ꮥ' => 'ꮥ', 'Ꮦ' => 'ꮦ', 'Ꮧ' => 'ꮧ', 'Ꮨ' => 'ꮨ', 'Ꮩ' => 'ꮩ', 'Ꮪ' => 'ꮪ', 'Ꮫ' => 'ꮫ', 'Ꮬ' => 'ꮬ', 'Ꮭ' => 'ꮭ', 'Ꮮ' => 'ꮮ', 'Ꮯ' => 'ꮯ', 'Ꮰ' => 'ꮰ', 'Ꮱ' => 'ꮱ', 'Ꮲ' => 'ꮲ', 'Ꮳ' => 'ꮳ', 'Ꮴ' => 'ꮴ', 'Ꮵ' => 'ꮵ', 'Ꮶ' => 'ꮶ', 'Ꮷ' => 'ꮷ', 'Ꮸ' => 'ꮸ', 'Ꮹ' => 'ꮹ', 'Ꮺ' => 'ꮺ', 'Ꮻ' => 'ꮻ', 'Ꮼ' => 'ꮼ', 'Ꮽ' => 'ꮽ', 'Ꮾ' => 'ꮾ', 'Ꮿ' => 'ꮿ', 'Ᏸ' => 'ᏸ', 'Ᏹ' => 'ᏹ', 'Ᏺ' => 'ᏺ', 'Ᏻ' => 'ᏻ', 'Ᏼ' => 'ᏼ', 'Ᏽ' => 'ᏽ', 'Ა' => 'ა', 'Ბ' => 'ბ', 'Გ' => 'გ', 'Დ' => 'დ', 'Ე' => 'ე', 'Ვ' => 'ვ', 'Ზ' => 'ზ', 'Თ' => 'თ', 'Ი' => 'ი', 'Კ' => 'კ', 'Ლ' => 'ლ', 'Მ' => 'მ', 'Ნ' => 'ნ', 'Ო' => 'ო', 'Პ' => 'პ', 'Ჟ' => 'ჟ', 'Რ' => 'რ', 'Ს' => 'ს', 'Ტ' => 'ტ', 'Უ' => 'უ', 'Ფ' => 'ფ', 'Ქ' => 'ქ', 'Ღ' => 'ღ', 'Ყ' => 'ყ', 'Შ' => 'შ', 'Ჩ' => 'ჩ', 'Ც' => 'ც', 'Ძ' => 'ძ', 'Წ' => 'წ', 'Ჭ' => 'ჭ', 'Ხ' => 'ხ', 'Ჯ' => 'ჯ', 'Ჰ' => 'ჰ', 'Ჱ' => 'ჱ', 'Ჲ' => 'ჲ', 'Ჳ' => 'ჳ', 'Ჴ' => 'ჴ', 'Ჵ' => 'ჵ', 'Ჶ' => 'ჶ', 'Ჷ' => 'ჷ', 'Ჸ' => 'ჸ', 'Ჹ' => 'ჹ', 'Ჺ' => 'ჺ', 'Ჽ' => 'ჽ', 'Ჾ' => 'ჾ', 'Ჿ' => 'ჿ', 'Ḁ' => 'ḁ', 'Ḃ' => 'ḃ', 'Ḅ' => 'ḅ', 'Ḇ' => 'ḇ', 'Ḉ' => 'ḉ', 'Ḋ' => 'ḋ', 'Ḍ' => 'ḍ', 'Ḏ' => 'ḏ', 'Ḑ' => 'ḑ', 'Ḓ' => 'ḓ', 'Ḕ' => 'ḕ', 'Ḗ' => 'ḗ', 'Ḙ' => 'ḙ', 'Ḛ' => 'ḛ', 'Ḝ' => 'ḝ', 'Ḟ' => 'ḟ', 'Ḡ' => 'ḡ', 'Ḣ' => 'ḣ', 'Ḥ' => 'ḥ', 'Ḧ' => 'ḧ', 'Ḩ' => 'ḩ', 'Ḫ' => 'ḫ', 'Ḭ' => 'ḭ', 'Ḯ' => 'ḯ', 'Ḱ' => 'ḱ', 'Ḳ' => 'ḳ', 'Ḵ' => 'ḵ', 'Ḷ' => 'ḷ', 'Ḹ' => 'ḹ', 'Ḻ' => 'ḻ', 'Ḽ' => 'ḽ', 'Ḿ' => 'ḿ', 'Ṁ' => 'ṁ', 'Ṃ' => 'ṃ', 'Ṅ' => 'ṅ', 'Ṇ' => 'ṇ', 'Ṉ' => 'ṉ', 'Ṋ' => 'ṋ', 'Ṍ' => 'ṍ', 'Ṏ' => 'ṏ', 'Ṑ' => 'ṑ', 'Ṓ' => 'ṓ', 'Ṕ' => 'ṕ', 'Ṗ' => 'ṗ', 'Ṙ' => 'ṙ', 'Ṛ' => 'ṛ', 'Ṝ' => 'ṝ', 'Ṟ' => 'ṟ', 'Ṡ' => 'ṡ', 'Ṣ' => 'ṣ', 'Ṥ' => 'ṥ', 'Ṧ' => 'ṧ', 'Ṩ' => 'ṩ', 'Ṫ' => 'ṫ', 'Ṭ' => 'ṭ', 'Ṯ' => 'ṯ', 'Ṱ' => 'ṱ', 'Ṳ' => 'ṳ', 'Ṵ' => 'ṵ', 'Ṷ' => 'ṷ', 'Ṹ' => 'ṹ', 'Ṻ' => 'ṻ', 'Ṽ' => 'ṽ', 'Ṿ' => 'ṿ', 'Ẁ' => 'ẁ', 'Ẃ' => 'ẃ', 'Ẅ' => 'ẅ', 'Ẇ' => 'ẇ', 'Ẉ' => 'ẉ', 'Ẋ' => 'ẋ', 'Ẍ' => 'ẍ', 'Ẏ' => 'ẏ', 'Ẑ' => 'ẑ', 'Ẓ' => 'ẓ', 'Ẕ' => 'ẕ', 'ẞ' => 'ß', 'Ạ' => 'ạ', 'Ả' => 'ả', 'Ấ' => 'ấ', 'Ầ' => 'ầ', 'Ẩ' => 'ẩ', 'Ẫ' => 'ẫ', 'Ậ' => 'ậ', 'Ắ' => 'ắ', 'Ằ' => 'ằ', 'Ẳ' => 'ẳ', 'Ẵ' => 'ẵ', 'Ặ' => 'ặ', 'Ẹ' => 'ẹ', 'Ẻ' => 'ẻ', 'Ẽ' => 'ẽ', 'Ế' => 'ế', 'Ề' => 'ề', 'Ể' => 'ể', 'Ễ' => 'ễ', 'Ệ' => 'ệ', 'Ỉ' => 'ỉ', 'Ị' => 'ị', 'Ọ' => 'ọ', 'Ỏ' => 'ỏ', 'Ố' => 'ố', 'Ồ' => 'ồ', 'Ổ' => 'ổ', 'Ỗ' => 'ỗ', 'Ộ' => 'ộ', 'Ớ' => 'ớ', 'Ờ' => 'ờ', 'Ở' => 'ở', 'Ỡ' => 'ỡ', 'Ợ' => 'ợ', 'Ụ' => 'ụ', 'Ủ' => 'ủ', 'Ứ' => 'ứ', 'Ừ' => 'ừ', 'Ử' => 'ử', 'Ữ' => 'ữ', 'Ự' => 'ự', 'Ỳ' => 'ỳ', 'Ỵ' => 'ỵ', 'Ỷ' => 'ỷ', 'Ỹ' => 'ỹ', 'Ỻ' => 'ỻ', 'Ỽ' => 'ỽ', 'Ỿ' => 'ỿ', 'Ἀ' => 'ἀ', 'Ἁ' => 'ἁ', 'Ἂ' => 'ἂ', 'Ἃ' => 'ἃ', 'Ἄ' => 'ἄ', 'Ἅ' => 'ἅ', 'Ἆ' => 'ἆ', 'Ἇ' => 'ἇ', 'Ἐ' => 'ἐ', 'Ἑ' => 'ἑ', 'Ἒ' => 'ἒ', 'Ἓ' => 'ἓ', 'Ἔ' => 'ἔ', 'Ἕ' => 'ἕ', 'Ἠ' => 'ἠ', 'Ἡ' => 'ἡ', 'Ἢ' => 'ἢ', 'Ἣ' => 'ἣ', 'Ἤ' => 'ἤ', 'Ἥ' => 'ἥ', 'Ἦ' => 'ἦ', 'Ἧ' => 'ἧ', 'Ἰ' => 'ἰ', 'Ἱ' => 'ἱ', 'Ἲ' => 'ἲ', 'Ἳ' => 'ἳ', 'Ἴ' => 'ἴ', 'Ἵ' => 'ἵ', 'Ἶ' => 'ἶ', 'Ἷ' => 'ἷ', 'Ὀ' => 'ὀ', 'Ὁ' => 'ὁ', 'Ὂ' => 'ὂ', 'Ὃ' => 'ὃ', 'Ὄ' => 'ὄ', 'Ὅ' => 'ὅ', 'Ὑ' => 'ὑ', 'Ὓ' => 'ὓ', 'Ὕ' => 'ὕ', 'Ὗ' => 'ὗ', 'Ὠ' => 'ὠ', 'Ὡ' => 'ὡ', 'Ὢ' => 'ὢ', 'Ὣ' => 'ὣ', 'Ὤ' => 'ὤ', 'Ὥ' => 'ὥ', 'Ὦ' => 'ὦ', 'Ὧ' => 'ὧ', 'ᾈ' => 'ᾀ', 'ᾉ' => 'ᾁ', 'ᾊ' => 'ᾂ', 'ᾋ' => 'ᾃ', 'ᾌ' => 'ᾄ', 'ᾍ' => 'ᾅ', 'ᾎ' => 'ᾆ', 'ᾏ' => 'ᾇ', 'ᾘ' => 'ᾐ', 'ᾙ' => 'ᾑ', 'ᾚ' => 'ᾒ', 'ᾛ' => 'ᾓ', 'ᾜ' => 'ᾔ', 'ᾝ' => 'ᾕ', 'ᾞ' => 'ᾖ', 'ᾟ' => 'ᾗ', 'ᾨ' => 'ᾠ', 'ᾩ' => 'ᾡ', 'ᾪ' => 'ᾢ', 'ᾫ' => 'ᾣ', 'ᾬ' => 'ᾤ', 'ᾭ' => 'ᾥ', 'ᾮ' => 'ᾦ', 'ᾯ' => 'ᾧ', 'Ᾰ' => 'ᾰ', 'Ᾱ' => 'ᾱ', 'Ὰ' => 'ὰ', 'Ά' => 'ά', 'ᾼ' => 'ᾳ', 'Ὲ' => 'ὲ', 'Έ' => 'έ', 'Ὴ' => 'ὴ', 'Ή' => 'ή', 'ῌ' => 'ῃ', 'Ῐ' => 'ῐ', 'Ῑ' => 'ῑ', 'Ὶ' => 'ὶ', 'Ί' => 'ί', 'Ῠ' => 'ῠ', 'Ῡ' => 'ῡ', 'Ὺ' => 'ὺ', 'Ύ' => 'ύ', 'Ῥ' => 'ῥ', 'Ὸ' => 'ὸ', 'Ό' => 'ό', 'Ὼ' => 'ὼ', 'Ώ' => 'ώ', 'ῼ' => 'ῳ', 'Ω' => 'ω', 'K' => 'k', 'Å' => 'å', 'Ⅎ' => 'ⅎ', 'Ⅰ' => 'ⅰ', 'Ⅱ' => 'ⅱ', 'Ⅲ' => 'ⅲ', 'Ⅳ' => 'ⅳ', 'Ⅴ' => 'ⅴ', 'Ⅵ' => 'ⅵ', 'Ⅶ' => 'ⅶ', 'Ⅷ' => 'ⅷ', 'Ⅸ' => 'ⅸ', 'Ⅹ' => 'ⅹ', 'Ⅺ' => 'ⅺ', 'Ⅻ' => 'ⅻ', 'Ⅼ' => 'ⅼ', 'Ⅽ' => 'ⅽ', 'Ⅾ' => 'ⅾ', 'Ⅿ' => 'ⅿ', 'Ↄ' => 'ↄ', 'Ⓐ' => 'ⓐ', 'Ⓑ' => 'ⓑ', 'Ⓒ' => 'ⓒ', 'Ⓓ' => 'ⓓ', 'Ⓔ' => 'ⓔ', 'Ⓕ' => 'ⓕ', 'Ⓖ' => 'ⓖ', 'Ⓗ' => 'ⓗ', 'Ⓘ' => 'ⓘ', 'Ⓙ' => 'ⓙ', 'Ⓚ' => 'ⓚ', 'Ⓛ' => 'ⓛ', 'Ⓜ' => 'ⓜ', 'Ⓝ' => 'ⓝ', 'Ⓞ' => 'ⓞ', 'Ⓟ' => 'ⓟ', 'Ⓠ' => 'ⓠ', 'Ⓡ' => 'ⓡ', 'Ⓢ' => 'ⓢ', 'Ⓣ' => 'ⓣ', 'Ⓤ' => 'ⓤ', 'Ⓥ' => 'ⓥ', 'Ⓦ' => 'ⓦ', 'Ⓧ' => 'ⓧ', 'Ⓨ' => 'ⓨ', 'Ⓩ' => 'ⓩ', 'Ⰰ' => 'ⰰ', 'Ⰱ' => 'ⰱ', 'Ⰲ' => 'ⰲ', 'Ⰳ' => 'ⰳ', 'Ⰴ' => 'ⰴ', 'Ⰵ' => 'ⰵ', 'Ⰶ' => 'ⰶ', 'Ⰷ' => 'ⰷ', 'Ⰸ' => 'ⰸ', 'Ⰹ' => 'ⰹ', 'Ⰺ' => 'ⰺ', 'Ⰻ' => 'ⰻ', 'Ⰼ' => 'ⰼ', 'Ⰽ' => 'ⰽ', 'Ⰾ' => 'ⰾ', 'Ⰿ' => 'ⰿ', 'Ⱀ' => 'ⱀ', 'Ⱁ' => 'ⱁ', 'Ⱂ' => 'ⱂ', 'Ⱃ' => 'ⱃ', 'Ⱄ' => 'ⱄ', 'Ⱅ' => 'ⱅ', 'Ⱆ' => 'ⱆ', 'Ⱇ' => 'ⱇ', 'Ⱈ' => 'ⱈ', 'Ⱉ' => 'ⱉ', 'Ⱊ' => 'ⱊ', 'Ⱋ' => 'ⱋ', 'Ⱌ' => 'ⱌ', 'Ⱍ' => 'ⱍ', 'Ⱎ' => 'ⱎ', 'Ⱏ' => 'ⱏ', 'Ⱐ' => 'ⱐ', 'Ⱑ' => 'ⱑ', 'Ⱒ' => 'ⱒ', 'Ⱓ' => 'ⱓ', 'Ⱔ' => 'ⱔ', 'Ⱕ' => 'ⱕ', 'Ⱖ' => 'ⱖ', 'Ⱗ' => 'ⱗ', 'Ⱘ' => 'ⱘ', 'Ⱙ' => 'ⱙ', 'Ⱚ' => 'ⱚ', 'Ⱛ' => 'ⱛ', 'Ⱜ' => 'ⱜ', 'Ⱝ' => 'ⱝ', 'Ⱞ' => 'ⱞ', 'Ⱡ' => 'ⱡ', 'Ɫ' => 'ɫ', 'Ᵽ' => 'ᵽ', 'Ɽ' => 'ɽ', 'Ⱨ' => 'ⱨ', 'Ⱪ' => 'ⱪ', 'Ⱬ' => 'ⱬ', 'Ɑ' => 'ɑ', 'Ɱ' => 'ɱ', 'Ɐ' => 'ɐ', 'Ɒ' => 'ɒ', 'Ⱳ' => 'ⱳ', 'Ⱶ' => 'ⱶ', 'Ȿ' => 'ȿ', 'Ɀ' => 'ɀ', 'Ⲁ' => 'ⲁ', 'Ⲃ' => 'ⲃ', 'Ⲅ' => 'ⲅ', 'Ⲇ' => 'ⲇ', 'Ⲉ' => 'ⲉ', 'Ⲋ' => 'ⲋ', 'Ⲍ' => 'ⲍ', 'Ⲏ' => 'ⲏ', 'Ⲑ' => 'ⲑ', 'Ⲓ' => 'ⲓ', 'Ⲕ' => 'ⲕ', 'Ⲗ' => 'ⲗ', 'Ⲙ' => 'ⲙ', 'Ⲛ' => 'ⲛ', 'Ⲝ' => 'ⲝ', 'Ⲟ' => 'ⲟ', 'Ⲡ' => 'ⲡ', 'Ⲣ' => 'ⲣ', 'Ⲥ' => 'ⲥ', 'Ⲧ' => 'ⲧ', 'Ⲩ' => 'ⲩ', 'Ⲫ' => 'ⲫ', 'Ⲭ' => 'ⲭ', 'Ⲯ' => 'ⲯ', 'Ⲱ' => 'ⲱ', 'Ⲳ' => 'ⲳ', 'Ⲵ' => 'ⲵ', 'Ⲷ' => 'ⲷ', 'Ⲹ' => 'ⲹ', 'Ⲻ' => 'ⲻ', 'Ⲽ' => 'ⲽ', 'Ⲿ' => 'ⲿ', 'Ⳁ' => 'ⳁ', 'Ⳃ' => 'ⳃ', 'Ⳅ' => 'ⳅ', 'Ⳇ' => 'ⳇ', 'Ⳉ' => 'ⳉ', 'Ⳋ' => 'ⳋ', 'Ⳍ' => 'ⳍ', 'Ⳏ' => 'ⳏ', 'Ⳑ' => 'ⳑ', 'Ⳓ' => 'ⳓ', 'Ⳕ' => 'ⳕ', 'Ⳗ' => 'ⳗ', 'Ⳙ' => 'ⳙ', 'Ⳛ' => 'ⳛ', 'Ⳝ' => 'ⳝ', 'Ⳟ' => 'ⳟ', 'Ⳡ' => 'ⳡ', 'Ⳣ' => 'ⳣ', 'Ⳬ' => 'ⳬ', 'Ⳮ' => 'ⳮ', 'Ⳳ' => 'ⳳ', 'Ꙁ' => 'ꙁ', 'Ꙃ' => 'ꙃ', 'Ꙅ' => 'ꙅ', 'Ꙇ' => 'ꙇ', 'Ꙉ' => 'ꙉ', 'Ꙋ' => 'ꙋ', 'Ꙍ' => 'ꙍ', 'Ꙏ' => 'ꙏ', 'Ꙑ' => 'ꙑ', 'Ꙓ' => 'ꙓ', 'Ꙕ' => 'ꙕ', 'Ꙗ' => 'ꙗ', 'Ꙙ' => 'ꙙ', 'Ꙛ' => 'ꙛ', 'Ꙝ' => 'ꙝ', 'Ꙟ' => 'ꙟ', 'Ꙡ' => 'ꙡ', 'Ꙣ' => 'ꙣ', 'Ꙥ' => 'ꙥ', 'Ꙧ' => 'ꙧ', 'Ꙩ' => 'ꙩ', 'Ꙫ' => 'ꙫ', 'Ꙭ' => 'ꙭ', 'Ꚁ' => 'ꚁ', 'Ꚃ' => 'ꚃ', 'Ꚅ' => 'ꚅ', 'Ꚇ' => 'ꚇ', 'Ꚉ' => 'ꚉ', 'Ꚋ' => 'ꚋ', 'Ꚍ' => 'ꚍ', 'Ꚏ' => 'ꚏ', 'Ꚑ' => 'ꚑ', 'Ꚓ' => 'ꚓ', 'Ꚕ' => 'ꚕ', 'Ꚗ' => 'ꚗ', 'Ꚙ' => 'ꚙ', 'Ꚛ' => 'ꚛ', 'Ꜣ' => 'ꜣ', 'Ꜥ' => 'ꜥ', 'Ꜧ' => 'ꜧ', 'Ꜩ' => 'ꜩ', 'Ꜫ' => 'ꜫ', 'Ꜭ' => 'ꜭ', 'Ꜯ' => 'ꜯ', 'Ꜳ' => 'ꜳ', 'Ꜵ' => 'ꜵ', 'Ꜷ' => 'ꜷ', 'Ꜹ' => 'ꜹ', 'Ꜻ' => 'ꜻ', 'Ꜽ' => 'ꜽ', 'Ꜿ' => 'ꜿ', 'Ꝁ' => 'ꝁ', 'Ꝃ' => 'ꝃ', 'Ꝅ' => 'ꝅ', 'Ꝇ' => 'ꝇ', 'Ꝉ' => 'ꝉ', 'Ꝋ' => 'ꝋ', 'Ꝍ' => 'ꝍ', 'Ꝏ' => 'ꝏ', 'Ꝑ' => 'ꝑ', 'Ꝓ' => 'ꝓ', 'Ꝕ' => 'ꝕ', 'Ꝗ' => 'ꝗ', 'Ꝙ' => 'ꝙ', 'Ꝛ' => 'ꝛ', 'Ꝝ' => 'ꝝ', 'Ꝟ' => 'ꝟ', 'Ꝡ' => 'ꝡ', 'Ꝣ' => 'ꝣ', 'Ꝥ' => 'ꝥ', 'Ꝧ' => 'ꝧ', 'Ꝩ' => 'ꝩ', 'Ꝫ' => 'ꝫ', 'Ꝭ' => 'ꝭ', 'Ꝯ' => 'ꝯ', 'Ꝺ' => 'ꝺ', 'Ꝼ' => 'ꝼ', 'Ᵹ' => 'ᵹ', 'Ꝿ' => 'ꝿ', 'Ꞁ' => 'ꞁ', 'Ꞃ' => 'ꞃ', 'Ꞅ' => 'ꞅ', 'Ꞇ' => 'ꞇ', 'Ꞌ' => 'ꞌ', 'Ɥ' => 'ɥ', 'Ꞑ' => 'ꞑ', 'Ꞓ' => 'ꞓ', 'Ꞗ' => 'ꞗ', 'Ꞙ' => 'ꞙ', 'Ꞛ' => 'ꞛ', 'Ꞝ' => 'ꞝ', 'Ꞟ' => 'ꞟ', 'Ꞡ' => 'ꞡ', 'Ꞣ' => 'ꞣ', 'Ꞥ' => 'ꞥ', 'Ꞧ' => 'ꞧ', 'Ꞩ' => 'ꞩ', 'Ɦ' => 'ɦ', 'Ɜ' => 'ɜ', 'Ɡ' => 'ɡ', 'Ɬ' => 'ɬ', 'Ɪ' => 'ɪ', 'Ʞ' => 'ʞ', 'Ʇ' => 'ʇ', 'Ʝ' => 'ʝ', 'Ꭓ' => 'ꭓ', 'Ꞵ' => 'ꞵ', 'Ꞷ' => 'ꞷ', 'Ꞹ' => 'ꞹ', 'Ꞻ' => 'ꞻ', 'Ꞽ' => 'ꞽ', 'Ꞿ' => 'ꞿ', 'Ꟃ' => 'ꟃ', 'Ꞔ' => 'ꞔ', 'Ʂ' => 'ʂ', 'Ᶎ' => 'ᶎ', 'Ꟈ' => 'ꟈ', 'Ꟊ' => 'ꟊ', 'Ꟶ' => 'ꟶ', 'A' => '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', '𐐀' => '𐐨', '𐐁' => '𐐩', '𐐂' => '𐐪', '𐐃' => '𐐫', '𐐄' => '𐐬', '𐐅' => '𐐭', '𐐆' => '𐐮', '𐐇' => '𐐯', '𐐈' => '𐐰', '𐐉' => '𐐱', '𐐊' => '𐐲', '𐐋' => '𐐳', '𐐌' => '𐐴', '𐐍' => '𐐵', '𐐎' => '𐐶', '𐐏' => '𐐷', '𐐐' => '𐐸', '𐐑' => '𐐹', '𐐒' => '𐐺', '𐐓' => '𐐻', '𐐔' => '𐐼', '𐐕' => '𐐽', '𐐖' => '𐐾', '𐐗' => '𐐿', '𐐘' => '𐑀', '𐐙' => '𐑁', '𐐚' => '𐑂', '𐐛' => '𐑃', '𐐜' => '𐑄', '𐐝' => '𐑅', '𐐞' => '𐑆', '𐐟' => '𐑇', '𐐠' => '𐑈', '𐐡' => '𐑉', '𐐢' => '𐑊', '𐐣' => '𐑋', '𐐤' => '𐑌', '𐐥' => '𐑍', '𐐦' => '𐑎', '𐐧' => '𐑏', '𐒰' => '𐓘', '𐒱' => '𐓙', '𐒲' => '𐓚', '𐒳' => '𐓛', '𐒴' => '𐓜', '𐒵' => '𐓝', '𐒶' => '𐓞', '𐒷' => '𐓟', '𐒸' => '𐓠', '𐒹' => '𐓡', '𐒺' => '𐓢', '𐒻' => '𐓣', '𐒼' => '𐓤', '𐒽' => '𐓥', '𐒾' => '𐓦', '𐒿' => '𐓧', '𐓀' => '𐓨', '𐓁' => '𐓩', '𐓂' => '𐓪', '𐓃' => '𐓫', '𐓄' => '𐓬', '𐓅' => '𐓭', '𐓆' => '𐓮', '𐓇' => '𐓯', '𐓈' => '𐓰', '𐓉' => '𐓱', '𐓊' => '𐓲', '𐓋' => '𐓳', '𐓌' => '𐓴', '𐓍' => '𐓵', '𐓎' => '𐓶', '𐓏' => '𐓷', '𐓐' => '𐓸', '𐓑' => '𐓹', '𐓒' => '𐓺', '𐓓' => '𐓻', '𐲀' => '𐳀', '𐲁' => '𐳁', '𐲂' => '𐳂', '𐲃' => '𐳃', '𐲄' => '𐳄', '𐲅' => '𐳅', '𐲆' => '𐳆', '𐲇' => '𐳇', '𐲈' => '𐳈', '𐲉' => '𐳉', '𐲊' => '𐳊', '𐲋' => '𐳋', '𐲌' => '𐳌', '𐲍' => '𐳍', '𐲎' => '𐳎', '𐲏' => '𐳏', '𐲐' => '𐳐', '𐲑' => '𐳑', '𐲒' => '𐳒', '𐲓' => '𐳓', '𐲔' => '𐳔', '𐲕' => '𐳕', '𐲖' => '𐳖', '𐲗' => '𐳗', '𐲘' => '𐳘', '𐲙' => '𐳙', '𐲚' => '𐳚', '𐲛' => '𐳛', '𐲜' => '𐳜', '𐲝' => '𐳝', '𐲞' => '𐳞', '𐲟' => '𐳟', '𐲠' => '𐳠', '𐲡' => '𐳡', '𐲢' => '𐳢', '𐲣' => '𐳣', '𐲤' => '𐳤', '𐲥' => '𐳥', '𐲦' => '𐳦', '𐲧' => '𐳧', '𐲨' => '𐳨', '𐲩' => '𐳩', '𐲪' => '𐳪', '𐲫' => '𐳫', '𐲬' => '𐳬', '𐲭' => '𐳭', '𐲮' => '𐳮', '𐲯' => '𐳯', '𐲰' => '𐳰', '𐲱' => '𐳱', '𐲲' => '𐳲', '𑢠' => '𑣀', '𑢡' => '𑣁', '𑢢' => '𑣂', '𑢣' => '𑣃', '𑢤' => '𑣄', '𑢥' => '𑣅', '𑢦' => '𑣆', '𑢧' => '𑣇', '𑢨' => '𑣈', '𑢩' => '𑣉', '𑢪' => '𑣊', '𑢫' => '𑣋', '𑢬' => '𑣌', '𑢭' => '𑣍', '𑢮' => '𑣎', '𑢯' => '𑣏', '𑢰' => '𑣐', '𑢱' => '𑣑', '𑢲' => '𑣒', '𑢳' => '𑣓', '𑢴' => '𑣔', '𑢵' => '𑣕', '𑢶' => '𑣖', '𑢷' => '𑣗', '𑢸' => '𑣘', '𑢹' => '𑣙', '𑢺' => '𑣚', '𑢻' => '𑣛', '𑢼' => '𑣜', '𑢽' => '𑣝', '𑢾' => '𑣞', '𑢿' => '𑣟', '𖹀' => '𖹠', '𖹁' => '𖹡', '𖹂' => '𖹢', '𖹃' => '𖹣', '𖹄' => '𖹤', '𖹅' => '𖹥', '𖹆' => '𖹦', '𖹇' => '𖹧', '𖹈' => '𖹨', '𖹉' => '𖹩', '𖹊' => '𖹪', '𖹋' => '𖹫', '𖹌' => '𖹬', '𖹍' => '𖹭', '𖹎' => '𖹮', '𖹏' => '𖹯', '𖹐' => '𖹰', '𖹑' => '𖹱', '𖹒' => '𖹲', '𖹓' => '𖹳', '𖹔' => '𖹴', '𖹕' => '𖹵', '𖹖' => '𖹶', '𖹗' => '𖹷', '𖹘' => '𖹸', '𖹙' => '𖹹', '𖹚' => '𖹺', '𖹛' => '𖹻', '𖹜' => '𖹼', '𖹝' => '𖹽', '𖹞' => '𖹾', '𖹟' => '𖹿', '𞤀' => '𞤢', '𞤁' => '𞤣', '𞤂' => '𞤤', '𞤃' => '𞤥', '𞤄' => '𞤦', '𞤅' => '𞤧', '𞤆' => '𞤨', '𞤇' => '𞤩', '𞤈' => '𞤪', '𞤉' => '𞤫', '𞤊' => '𞤬', '𞤋' => '𞤭', '𞤌' => '𞤮', '𞤍' => '𞤯', '𞤎' => '𞤰', '𞤏' => '𞤱', '𞤐' => '𞤲', '𞤑' => '𞤳', '𞤒' => '𞤴', '𞤓' => '𞤵', '𞤔' => '𞤶', '𞤕' => '𞤷', '𞤖' => '𞤸', '𞤗' => '𞤹', '𞤘' => '𞤺', '𞤙' => '𞤻', '𞤚' => '𞤼', '𞤛' => '𞤽', '𞤜' => '𞤾', '𞤝' => '𞤿', '𞤞' => '𞥀', '𞤟' => '𞥁', '𞤠' => '𞥂', '𞤡' => '𞥃'); diff --git a/vendor/symfony/polyfill-mbstring/Resources/unidata/titleCaseRegexp.php b/vendor/symfony/polyfill-mbstring/Resources/unidata/titleCaseRegexp.php index 03b9ca33d7e..f71c43fdf6d 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ž' => 'DŽ', 'dž' => 'DŽ', 'Lj' => 'LJ', 'lj' => 'LJ', 'Nj' => 'NJ', 'nj' => 'NJ', 'ǎ' => 'Ǎ', 'ǐ' => 'Ǐ', 'ǒ' => 'Ǒ', 'ǔ' => 'Ǔ', 'ǖ' => 'Ǖ', 'ǘ' => 'Ǘ', 'ǚ' => 'Ǚ', 'ǜ' => 'Ǜ', 'ǝ' => 'Ǝ', 'ǟ' => 'Ǟ', 'ǡ' => 'Ǡ', 'ǣ' => 'Ǣ', 'ǥ' => 'Ǥ', 'ǧ' => 'Ǧ', 'ǩ' => 'Ǩ', 'ǫ' => 'Ǫ', 'ǭ' => 'Ǭ', 'ǯ' => 'Ǯ', 'Dz' => 'DZ', 'dz' => 'DZ', 'ǵ' => 'Ǵ', 'ǹ' => 'Ǹ', 'ǻ' => 'Ǻ', 'ǽ' => 'Ǽ', 'ǿ' => 'Ǿ', 'ȁ' => 'Ȁ', 'ȃ' => 'Ȃ', 'ȅ' => 'Ȅ', 'ȇ' => 'Ȇ', 'ȉ' => 'Ȉ', 'ȋ' => 'Ȋ', 'ȍ' => 'Ȍ', 'ȏ' => 'Ȏ', 'ȑ' => 'Ȑ', 'ȓ' => 'Ȓ', 'ȕ' => 'Ȕ', 'ȗ' => 'Ȗ', 'ș' => 'Ș', 'ț' => 'Ț', 'ȝ' => 'Ȝ', 'ȟ' => 'Ȟ', 'ȣ' => 'Ȣ', 'ȥ' => 'Ȥ', 'ȧ' => 'Ȧ', 'ȩ' => 'Ȩ', 'ȫ' => 'Ȫ', 'ȭ' => 'Ȭ', 'ȯ' => 'Ȯ', 'ȱ' => 'Ȱ', 'ȳ' => 'Ȳ', 'ȼ' => 'Ȼ', 'ȿ' => 'Ȿ', 'ɀ' => 'Ɀ', 'ɂ' => 'Ɂ', 'ɇ' => 'Ɇ', 'ɉ' => 'Ɉ', 'ɋ' => 'Ɋ', 'ɍ' => 'Ɍ', 'ɏ' => 'Ɏ', 'ɐ' => 'Ɐ', 'ɑ' => 'Ɑ', 'ɒ' => 'Ɒ', 'ɓ' => 'Ɓ', 'ɔ' => 'Ɔ', 'ɖ' => 'Ɖ', 'ɗ' => 'Ɗ', 'ə' => 'Ə', 'ɛ' => 'Ɛ', 'ɜ' => 'Ɜ', 'ɠ' => 'Ɠ', 'ɡ' => 'Ɡ', 'ɣ' => 'Ɣ', 'ɥ' => 'Ɥ', 'ɦ' => 'Ɦ', 'ɨ' => 'Ɨ', 'ɩ' => 'Ɩ', 'ɪ' => 'Ɪ', 'ɫ' => 'Ɫ', 'ɬ' => 'Ɬ', 'ɯ' => 'Ɯ', 'ɱ' => 'Ɱ', 'ɲ' => 'Ɲ', 'ɵ' => 'Ɵ', 'ɽ' => 'Ɽ', 'ʀ' => 'Ʀ', 'ʂ' => 'Ʂ', 'ʃ' => 'Ʃ', 'ʇ' => 'Ʇ', 'ʈ' => 'Ʈ', 'ʉ' => 'Ʉ', 'ʊ' => 'Ʊ', 'ʋ' => 'Ʋ', 'ʌ' => 'Ʌ', 'ʒ' => 'Ʒ', 'ʝ' => 'Ʝ', 'ʞ' => 'Ʞ', 'ͅ' => 'Ι', 'ͱ' => 'Ͱ', 'ͳ' => 'Ͳ', 'ͷ' => 'Ͷ', 'ͻ' => 'Ͻ', 'ͼ' => 'Ͼ', 'ͽ' => 'Ͽ', 'ά' => 'Ά', 'έ' => 'Έ', 'ή' => 'Ή', 'ί' => 'Ί', 'α' => 'Α', 'β' => 'Β', 'γ' => 'Γ', 'δ' => 'Δ', 'ε' => 'Ε', 'ζ' => 'Ζ', 'η' => 'Η', 'θ' => 'Θ', 'ι' => 'Ι', 'κ' => 'Κ', 'λ' => 'Λ', 'μ' => 'Μ', 'ν' => 'Ν', 'ξ' => 'Ξ', 'ο' => 'Ο', 'π' => 'Π', 'ρ' => 'Ρ', 'ς' => 'Σ', 'σ' => 'Σ', 'τ' => 'Τ', 'υ' => 'Υ', 'φ' => 'Φ', 'χ' => 'Χ', 'ψ' => 'Ψ', 'ω' => 'Ω', 'ϊ' => 'Ϊ', 'ϋ' => 'Ϋ', 'ό' => 'Ό', 'ύ' => 'Ύ', 'ώ' => 'Ώ', 'ϐ' => 'Β', 'ϑ' => 'Θ', 'ϕ' => 'Φ', 'ϖ' => 'Π', 'ϗ' => 'Ϗ', 'ϙ' => 'Ϙ', 'ϛ' => 'Ϛ', 'ϝ' => 'Ϝ', 'ϟ' => 'Ϟ', 'ϡ' => 'Ϡ', 'ϣ' => 'Ϣ', 'ϥ' => 'Ϥ', 'ϧ' => 'Ϧ', 'ϩ' => 'Ϩ', 'ϫ' => 'Ϫ', 'ϭ' => 'Ϭ', 'ϯ' => 'Ϯ', 'ϰ' => 'Κ', 'ϱ' => 'Ρ', 'ϲ' => 'Ϲ', 'ϳ' => 'Ϳ', 'ϵ' => 'Ε', 'ϸ' => 'Ϸ', 'ϻ' => 'Ϻ', 'а' => 'А', 'б' => 'Б', 'в' => 'В', 'г' => 'Г', 'д' => 'Д', 'е' => 'Е', 'ж' => 'Ж', 'з' => 'З', 'и' => 'И', 'й' => 'Й', 'к' => 'К', 'л' => 'Л', 'м' => 'М', 'н' => 'Н', 'о' => 'О', 'п' => 'П', 'р' => 'Р', 'с' => 'С', 'т' => 'Т', 'у' => 'У', 'ф' => 'Ф', 'х' => 'Х', 'ц' => 'Ц', 'ч' => 'Ч', 'ш' => 'Ш', 'щ' => 'Щ', 'ъ' => 'Ъ', 'ы' => 'Ы', 'ь' => 'Ь', 'э' => 'Э', 'ю' => 'Ю', 'я' => 'Я', 'ѐ' => 'Ѐ', 'ё' => 'Ё', 'ђ' => 'Ђ', 'ѓ' => 'Ѓ', 'є' => 'Є', 'ѕ' => 'Ѕ', 'і' => 'І', 'ї' => 'Ї', 'ј' => 'Ј', 'љ' => 'Љ', 'њ' => 'Њ', 'ћ' => 'Ћ', 'ќ' => 'Ќ', 'ѝ' => 'Ѝ', 'ў' => 'Ў', 'џ' => 'Џ', 'ѡ' => 'Ѡ', 'ѣ' => 'Ѣ', 'ѥ' => 'Ѥ', 'ѧ' => 'Ѧ', 'ѩ' => 'Ѩ', 'ѫ' => 'Ѫ', 'ѭ' => 'Ѭ', 'ѯ' => 'Ѯ', 'ѱ' => 'Ѱ', 'ѳ' => 'Ѳ', 'ѵ' => 'Ѵ', 'ѷ' => 'Ѷ', 'ѹ' => 'Ѹ', 'ѻ' => 'Ѻ', 'ѽ' => 'Ѽ', 'ѿ' => 'Ѿ', 'ҁ' => 'Ҁ', 'ҋ' => 'Ҋ', 'ҍ' => 'Ҍ', 'ҏ' => 'Ҏ', 'ґ' => 'Ґ', 'ғ' => 'Ғ', 'ҕ' => 'Ҕ', 'җ' => 'Җ', 'ҙ' => 'Ҙ', 'қ' => 'Қ', 'ҝ' => 'Ҝ', 'ҟ' => 'Ҟ', 'ҡ' => 'Ҡ', 'ң' => 'Ң', 'ҥ' => 'Ҥ', 'ҧ' => 'Ҧ', 'ҩ' => 'Ҩ', 'ҫ' => 'Ҫ', 'ҭ' => 'Ҭ', 'ү' => 'Ү', 'ұ' => 'Ұ', 'ҳ' => 'Ҳ', 'ҵ' => 'Ҵ', 'ҷ' => 'Ҷ', 'ҹ' => 'Ҹ', 'һ' => 'Һ', 'ҽ' => 'Ҽ', 'ҿ' => 'Ҿ', 'ӂ' => 'Ӂ', 'ӄ' => 'Ӄ', 'ӆ' => 'Ӆ', 'ӈ' => 'Ӈ', 'ӊ' => 'Ӊ', 'ӌ' => 'Ӌ', 'ӎ' => 'Ӎ', 'ӏ' => 'Ӏ', 'ӑ' => 'Ӑ', 'ӓ' => 'Ӓ', 'ӕ' => 'Ӕ', 'ӗ' => 'Ӗ', 'ә' => 'Ә', 'ӛ' => 'Ӛ', 'ӝ' => 'Ӝ', 'ӟ' => 'Ӟ', 'ӡ' => 'Ӡ', 'ӣ' => 'Ӣ', 'ӥ' => 'Ӥ', 'ӧ' => 'Ӧ', 'ө' => 'Ө', 'ӫ' => 'Ӫ', 'ӭ' => 'Ӭ', 'ӯ' => 'Ӯ', 'ӱ' => 'Ӱ', 'ӳ' => 'Ӳ', 'ӵ' => 'Ӵ', 'ӷ' => 'Ӷ', 'ӹ' => 'Ӹ', 'ӻ' => 'Ӻ', 'ӽ' => 'Ӽ', 'ӿ' => 'Ӿ', 'ԁ' => 'Ԁ', 'ԃ' => 'Ԃ', 'ԅ' => 'Ԅ', 'ԇ' => 'Ԇ', 'ԉ' => 'Ԉ', 'ԋ' => 'Ԋ', 'ԍ' => 'Ԍ', 'ԏ' => 'Ԏ', 'ԑ' => 'Ԑ', 'ԓ' => 'Ԓ', 'ԕ' => 'Ԕ', 'ԗ' => 'Ԗ', 'ԙ' => 'Ԙ', 'ԛ' => 'Ԛ', 'ԝ' => 'Ԝ', 'ԟ' => 'Ԟ', 'ԡ' => 'Ԡ', 'ԣ' => 'Ԣ', 'ԥ' => 'Ԥ', 'ԧ' => 'Ԧ', 'ԩ' => 'Ԩ', 'ԫ' => 'Ԫ', 'ԭ' => 'Ԭ', 'ԯ' => 'Ԯ', 'ա' => 'Ա', 'բ' => 'Բ', 'գ' => 'Գ', 'դ' => 'Դ', 'ե' => 'Ե', 'զ' => 'Զ', 'է' => 'Է', 'ը' => 'Ը', 'թ' => 'Թ', 'ժ' => 'Ժ', 'ի' => 'Ի', 'լ' => 'Լ', 'խ' => 'Խ', 'ծ' => 'Ծ', 'կ' => 'Կ', 'հ' => 'Հ', 'ձ' => 'Ձ', 'ղ' => 'Ղ', 'ճ' => 'Ճ', 'մ' => 'Մ', 'յ' => 'Յ', 'ն' => 'Ն', 'շ' => 'Շ', 'ո' => 'Ո', 'չ' => 'Չ', 'պ' => 'Պ', 'ջ' => 'Ջ', 'ռ' => 'Ռ', 'ս' => 'Ս', 'վ' => 'Վ', 'տ' => 'Տ', 'ր' => 'Ր', 'ց' => 'Ց', 'ւ' => 'Ւ', 'փ' => 'Փ', 'ք' => 'Ք', 'օ' => 'Օ', 'ֆ' => 'Ֆ', 'ა' => 'Ა', 'ბ' => 'Ბ', 'გ' => 'Გ', 'დ' => 'Დ', 'ე' => 'Ე', 'ვ' => 'Ვ', 'ზ' => 'Ზ', 'თ' => 'Თ', 'ი' => 'Ი', 'კ' => 'Კ', 'ლ' => 'Ლ', 'მ' => 'Მ', 'ნ' => 'Ნ', 'ო' => 'Ო', 'პ' => 'Პ', 'ჟ' => 'Ჟ', 'რ' => 'Რ', 'ს' => 'Ს', 'ტ' => 'Ტ', 'უ' => 'Უ', 'ფ' => 'Ფ', 'ქ' => 'Ქ', 'ღ' => 'Ღ', 'ყ' => 'Ყ', 'შ' => 'Შ', 'ჩ' => 'Ჩ', 'ც' => 'Ც', 'ძ' => 'Ძ', 'წ' => 'Წ', 'ჭ' => 'Ჭ', 'ხ' => 'Ხ', 'ჯ' => 'Ჯ', 'ჰ' => 'Ჰ', 'ჱ' => 'Ჱ', 'ჲ' => 'Ჲ', 'ჳ' => 'Ჳ', 'ჴ' => 'Ჴ', 'ჵ' => 'Ჵ', 'ჶ' => 'Ჶ', 'ჷ' => 'Ჷ', 'ჸ' => 'Ჸ', 'ჹ' => 'Ჹ', 'ჺ' => 'Ჺ', 'ჽ' => 'Ჽ', 'ჾ' => 'Ჾ', 'ჿ' => 'Ჿ', 'ᏸ' => 'Ᏸ', 'ᏹ' => 'Ᏹ', 'ᏺ' => 'Ᏺ', 'ᏻ' => 'Ᏻ', 'ᏼ' => 'Ᏼ', 'ᏽ' => 'Ᏽ', 'ᲀ' => 'В', 'ᲁ' => 'Д', 'ᲂ' => 'О', 'ᲃ' => 'С', 'ᲄ' => 'Т', 'ᲅ' => 'Т', 'ᲆ' => 'Ъ', 'ᲇ' => 'Ѣ', 'ᲈ' => 'Ꙋ', 'ᵹ' => 'Ᵹ', 'ᵽ' => 'Ᵽ', 'ᶎ' => 'Ᶎ', 'ḁ' => 'Ḁ', 'ḃ' => 'Ḃ', 'ḅ' => 'Ḅ', 'ḇ' => 'Ḇ', 'ḉ' => 'Ḉ', 'ḋ' => 'Ḋ', 'ḍ' => 'Ḍ', 'ḏ' => 'Ḏ', 'ḑ' => 'Ḑ', 'ḓ' => 'Ḓ', 'ḕ' => 'Ḕ', 'ḗ' => 'Ḗ', 'ḙ' => 'Ḙ', 'ḛ' => 'Ḛ', 'ḝ' => 'Ḝ', 'ḟ' => 'Ḟ', 'ḡ' => 'Ḡ', 'ḣ' => 'Ḣ', 'ḥ' => 'Ḥ', 'ḧ' => 'Ḧ', 'ḩ' => 'Ḩ', 'ḫ' => 'Ḫ', 'ḭ' => 'Ḭ', 'ḯ' => 'Ḯ', 'ḱ' => 'Ḱ', 'ḳ' => 'Ḳ', 'ḵ' => 'Ḵ', 'ḷ' => 'Ḷ', 'ḹ' => 'Ḹ', 'ḻ' => 'Ḻ', 'ḽ' => 'Ḽ', 'ḿ' => 'Ḿ', 'ṁ' => 'Ṁ', 'ṃ' => 'Ṃ', 'ṅ' => 'Ṅ', 'ṇ' => 'Ṇ', 'ṉ' => 'Ṉ', 'ṋ' => 'Ṋ', 'ṍ' => 'Ṍ', 'ṏ' => 'Ṏ', 'ṑ' => 'Ṑ', 'ṓ' => 'Ṓ', 'ṕ' => 'Ṕ', 'ṗ' => 'Ṗ', 'ṙ' => 'Ṙ', 'ṛ' => 'Ṛ', 'ṝ' => 'Ṝ', 'ṟ' => 'Ṟ', 'ṡ' => 'Ṡ', 'ṣ' => 'Ṣ', 'ṥ' => 'Ṥ', 'ṧ' => 'Ṧ', 'ṩ' => 'Ṩ', 'ṫ' => 'Ṫ', 'ṭ' => 'Ṭ', 'ṯ' => 'Ṯ', 'ṱ' => 'Ṱ', 'ṳ' => 'Ṳ', 'ṵ' => 'Ṵ', 'ṷ' => 'Ṷ', 'ṹ' => 'Ṹ', 'ṻ' => 'Ṻ', 'ṽ' => 'Ṽ', 'ṿ' => 'Ṿ', 'ẁ' => 'Ẁ', 'ẃ' => 'Ẃ', 'ẅ' => 'Ẅ', 'ẇ' => 'Ẇ', 'ẉ' => 'Ẉ', 'ẋ' => 'Ẋ', 'ẍ' => 'Ẍ', 'ẏ' => 'Ẏ', 'ẑ' => 'Ẑ', 'ẓ' => 'Ẓ', 'ẕ' => 'Ẕ', 'ẛ' => 'Ṡ', 'ạ' => 'Ạ', 'ả' => 'Ả', 'ấ' => 'Ấ', 'ầ' => 'Ầ', 'ẩ' => 'Ẩ', 'ẫ' => 'Ẫ', 'ậ' => 'Ậ', 'ắ' => 'Ắ', 'ằ' => 'Ằ', 'ẳ' => 'Ẳ', 'ẵ' => 'Ẵ', 'ặ' => 'Ặ', 'ẹ' => 'Ẹ', 'ẻ' => 'Ẻ', 'ẽ' => 'Ẽ', 'ế' => 'Ế', 'ề' => 'Ề', 'ể' => 'Ể', 'ễ' => 'Ễ', 'ệ' => 'Ệ', 'ỉ' => 'Ỉ', 'ị' => 'Ị', 'ọ' => 'Ọ', 'ỏ' => 'Ỏ', 'ố' => 'Ố', 'ồ' => 'Ồ', 'ổ' => 'Ổ', 'ỗ' => 'Ỗ', 'ộ' => 'Ộ', 'ớ' => 'Ớ', 'ờ' => 'Ờ', 'ở' => 'Ở', 'ỡ' => 'Ỡ', 'ợ' => 'Ợ', 'ụ' => 'Ụ', 'ủ' => 'Ủ', 'ứ' => 'Ứ', 'ừ' => 'Ừ', 'ử' => 'Ử', 'ữ' => 'Ữ', 'ự' => 'Ự', 'ỳ' => 'Ỳ', 'ỵ' => 'Ỵ', 'ỷ' => 'Ỷ', 'ỹ' => 'Ỹ', 'ỻ' => 'Ỻ', 'ỽ' => 'Ỽ', 'ỿ' => 'Ỿ', 'ἀ' => 'Ἀ', 'ἁ' => 'Ἁ', 'ἂ' => 'Ἂ', 'ἃ' => 'Ἃ', 'ἄ' => 'Ἄ', 'ἅ' => 'Ἅ', 'ἆ' => 'Ἆ', 'ἇ' => 'Ἇ', 'ἐ' => 'Ἐ', 'ἑ' => 'Ἑ', 'ἒ' => 'Ἒ', 'ἓ' => 'Ἓ', 'ἔ' => 'Ἔ', 'ἕ' => 'Ἕ', 'ἠ' => 'Ἠ', 'ἡ' => 'Ἡ', 'ἢ' => 'Ἢ', 'ἣ' => 'Ἣ', 'ἤ' => 'Ἤ', 'ἥ' => 'Ἥ', 'ἦ' => 'Ἦ', 'ἧ' => 'Ἧ', 'ἰ' => 'Ἰ', 'ἱ' => 'Ἱ', 'ἲ' => 'Ἲ', 'ἳ' => 'Ἳ', 'ἴ' => 'Ἴ', 'ἵ' => 'Ἵ', 'ἶ' => 'Ἶ', 'ἷ' => 'Ἷ', 'ὀ' => 'Ὀ', 'ὁ' => 'Ὁ', 'ὂ' => 'Ὂ', 'ὃ' => 'Ὃ', 'ὄ' => 'Ὄ', 'ὅ' => 'Ὅ', 'ὑ' => 'Ὑ', 'ὓ' => 'Ὓ', 'ὕ' => 'Ὕ', 'ὗ' => 'Ὗ', 'ὠ' => 'Ὠ', 'ὡ' => 'Ὡ', 'ὢ' => 'Ὢ', 'ὣ' => 'Ὣ', 'ὤ' => 'Ὤ', 'ὥ' => 'Ὥ', 'ὦ' => 'Ὦ', 'ὧ' => 'Ὧ', 'ὰ' => 'Ὰ', 'ά' => 'Ά', 'ὲ' => 'Ὲ', 'έ' => 'Έ', 'ὴ' => 'Ὴ', 'ή' => 'Ή', 'ὶ' => 'Ὶ', 'ί' => 'Ί', 'ὸ' => 'Ὸ', 'ό' => 'Ό', 'ὺ' => 'Ὺ', 'ύ' => 'Ύ', 'ὼ' => 'Ὼ', 'ώ' => 'Ώ', 'ᾀ' => 'ἈΙ', 'ᾁ' => 'ἉΙ', 'ᾂ' => 'ἊΙ', 'ᾃ' => 'ἋΙ', 'ᾄ' => 'ἌΙ', 'ᾅ' => 'ἍΙ', 'ᾆ' => 'ἎΙ', 'ᾇ' => 'ἏΙ', 'ᾐ' => 'ἨΙ', 'ᾑ' => 'ἩΙ', 'ᾒ' => 'ἪΙ', 'ᾓ' => 'ἫΙ', 'ᾔ' => 'ἬΙ', 'ᾕ' => 'ἭΙ', 'ᾖ' => 'ἮΙ', 'ᾗ' => 'ἯΙ', 'ᾠ' => 'ὨΙ', 'ᾡ' => 'ὩΙ', 'ᾢ' => 'ὪΙ', 'ᾣ' => 'ὫΙ', 'ᾤ' => 'ὬΙ', 'ᾥ' => 'ὭΙ', 'ᾦ' => 'ὮΙ', 'ᾧ' => 'ὯΙ', 'ᾰ' => 'Ᾰ', 'ᾱ' => 'Ᾱ', 'ᾳ' => 'ΑΙ', 'ι' => 'Ι', 'ῃ' => 'ΗΙ', 'ῐ' => 'Ῐ', 'ῑ' => 'Ῑ', 'ῠ' => 'Ῠ', 'ῡ' => 'Ῡ', 'ῥ' => 'Ῥ', 'ῳ' => 'ΩΙ', 'ⅎ' => 'Ⅎ', 'ⅰ' => 'Ⅰ', 'ⅱ' => 'Ⅱ', 'ⅲ' => 'Ⅲ', 'ⅳ' => 'Ⅳ', 'ⅴ' => 'Ⅴ', 'ⅵ' => 'Ⅵ', 'ⅶ' => 'Ⅶ', 'ⅷ' => 'Ⅷ', 'ⅸ' => 'Ⅸ', 'ⅹ' => 'Ⅹ', 'ⅺ' => 'Ⅺ', 'ⅻ' => 'Ⅻ', 'ⅼ' => 'Ⅼ', 'ⅽ' => 'Ⅽ', 'ⅾ' => 'Ⅾ', 'ⅿ' => 'Ⅿ', 'ↄ' => 'Ↄ', 'ⓐ' => 'Ⓐ', 'ⓑ' => 'Ⓑ', 'ⓒ' => 'Ⓒ', 'ⓓ' => 'Ⓓ', 'ⓔ' => 'Ⓔ', 'ⓕ' => 'Ⓕ', 'ⓖ' => 'Ⓖ', 'ⓗ' => 'Ⓗ', 'ⓘ' => 'Ⓘ', 'ⓙ' => 'Ⓙ', 'ⓚ' => 'Ⓚ', 'ⓛ' => 'Ⓛ', 'ⓜ' => 'Ⓜ', 'ⓝ' => 'Ⓝ', 'ⓞ' => 'Ⓞ', 'ⓟ' => 'Ⓟ', 'ⓠ' => 'Ⓠ', 'ⓡ' => 'Ⓡ', 'ⓢ' => 'Ⓢ', 'ⓣ' => 'Ⓣ', 'ⓤ' => 'Ⓤ', 'ⓥ' => 'Ⓥ', 'ⓦ' => 'Ⓦ', 'ⓧ' => 'Ⓧ', 'ⓨ' => 'Ⓨ', 'ⓩ' => 'Ⓩ', 'ⰰ' => 'Ⰰ', 'ⰱ' => 'Ⰱ', 'ⰲ' => 'Ⰲ', 'ⰳ' => 'Ⰳ', 'ⰴ' => 'Ⰴ', 'ⰵ' => 'Ⰵ', 'ⰶ' => 'Ⰶ', 'ⰷ' => 'Ⰷ', 'ⰸ' => 'Ⰸ', 'ⰹ' => 'Ⰹ', 'ⰺ' => 'Ⰺ', 'ⰻ' => 'Ⰻ', 'ⰼ' => 'Ⰼ', 'ⰽ' => 'Ⰽ', 'ⰾ' => 'Ⰾ', 'ⰿ' => 'Ⰿ', 'ⱀ' => 'Ⱀ', 'ⱁ' => 'Ⱁ', 'ⱂ' => 'Ⱂ', 'ⱃ' => 'Ⱃ', 'ⱄ' => 'Ⱄ', 'ⱅ' => 'Ⱅ', 'ⱆ' => 'Ⱆ', 'ⱇ' => 'Ⱇ', 'ⱈ' => 'Ⱈ', 'ⱉ' => 'Ⱉ', 'ⱊ' => 'Ⱊ', 'ⱋ' => 'Ⱋ', 'ⱌ' => 'Ⱌ', 'ⱍ' => 'Ⱍ', 'ⱎ' => 'Ⱎ', 'ⱏ' => 'Ⱏ', 'ⱐ' => 'Ⱐ', 'ⱑ' => 'Ⱑ', 'ⱒ' => 'Ⱒ', 'ⱓ' => 'Ⱓ', 'ⱔ' => 'Ⱔ', 'ⱕ' => 'Ⱕ', 'ⱖ' => 'Ⱖ', 'ⱗ' => 'Ⱗ', 'ⱘ' => 'Ⱘ', 'ⱙ' => 'Ⱙ', 'ⱚ' => 'Ⱚ', 'ⱛ' => 'Ⱛ', 'ⱜ' => 'Ⱜ', 'ⱝ' => 'Ⱝ', 'ⱞ' => 'Ⱞ', 'ⱡ' => 'Ⱡ', 'ⱥ' => 'Ⱥ', 'ⱦ' => 'Ⱦ', 'ⱨ' => 'Ⱨ', 'ⱪ' => 'Ⱪ', 'ⱬ' => 'Ⱬ', 'ⱳ' => 'Ⱳ', 'ⱶ' => 'Ⱶ', 'ⲁ' => 'Ⲁ', 'ⲃ' => 'Ⲃ', 'ⲅ' => 'Ⲅ', 'ⲇ' => 'Ⲇ', 'ⲉ' => 'Ⲉ', 'ⲋ' => 'Ⲋ', 'ⲍ' => 'Ⲍ', 'ⲏ' => 'Ⲏ', 'ⲑ' => 'Ⲑ', 'ⲓ' => 'Ⲓ', 'ⲕ' => 'Ⲕ', 'ⲗ' => 'Ⲗ', 'ⲙ' => 'Ⲙ', 'ⲛ' => 'Ⲛ', 'ⲝ' => 'Ⲝ', 'ⲟ' => 'Ⲟ', 'ⲡ' => 'Ⲡ', 'ⲣ' => 'Ⲣ', 'ⲥ' => 'Ⲥ', 'ⲧ' => 'Ⲧ', 'ⲩ' => 'Ⲩ', 'ⲫ' => 'Ⲫ', 'ⲭ' => 'Ⲭ', 'ⲯ' => 'Ⲯ', 'ⲱ' => 'Ⲱ', 'ⲳ' => 'Ⲳ', 'ⲵ' => 'Ⲵ', 'ⲷ' => 'Ⲷ', 'ⲹ' => 'Ⲹ', 'ⲻ' => 'Ⲻ', 'ⲽ' => 'Ⲽ', 'ⲿ' => 'Ⲿ', 'ⳁ' => 'Ⳁ', 'ⳃ' => 'Ⳃ', 'ⳅ' => 'Ⳅ', 'ⳇ' => 'Ⳇ', 'ⳉ' => 'Ⳉ', 'ⳋ' => 'Ⳋ', 'ⳍ' => 'Ⳍ', 'ⳏ' => 'Ⳏ', 'ⳑ' => 'Ⳑ', 'ⳓ' => 'Ⳓ', 'ⳕ' => 'Ⳕ', 'ⳗ' => 'Ⳗ', 'ⳙ' => 'Ⳙ', 'ⳛ' => 'Ⳛ', 'ⳝ' => 'Ⳝ', 'ⳟ' => 'Ⳟ', 'ⳡ' => 'Ⳡ', 'ⳣ' => 'Ⳣ', 'ⳬ' => 'Ⳬ', 'ⳮ' => 'Ⳮ', 'ⳳ' => 'Ⳳ', 'ⴀ' => 'Ⴀ', 'ⴁ' => 'Ⴁ', 'ⴂ' => 'Ⴂ', 'ⴃ' => 'Ⴃ', 'ⴄ' => 'Ⴄ', 'ⴅ' => 'Ⴅ', 'ⴆ' => 'Ⴆ', 'ⴇ' => 'Ⴇ', 'ⴈ' => 'Ⴈ', 'ⴉ' => 'Ⴉ', 'ⴊ' => 'Ⴊ', 'ⴋ' => 'Ⴋ', 'ⴌ' => 'Ⴌ', 'ⴍ' => 'Ⴍ', 'ⴎ' => 'Ⴎ', 'ⴏ' => 'Ⴏ', 'ⴐ' => 'Ⴐ', 'ⴑ' => 'Ⴑ', 'ⴒ' => 'Ⴒ', 'ⴓ' => 'Ⴓ', 'ⴔ' => 'Ⴔ', 'ⴕ' => 'Ⴕ', 'ⴖ' => 'Ⴖ', 'ⴗ' => 'Ⴗ', 'ⴘ' => 'Ⴘ', 'ⴙ' => 'Ⴙ', 'ⴚ' => 'Ⴚ', 'ⴛ' => 'Ⴛ', 'ⴜ' => 'Ⴜ', 'ⴝ' => 'Ⴝ', 'ⴞ' => 'Ⴞ', 'ⴟ' => 'Ⴟ', 'ⴠ' => 'Ⴠ', 'ⴡ' => 'Ⴡ', 'ⴢ' => 'Ⴢ', 'ⴣ' => 'Ⴣ', 'ⴤ' => 'Ⴤ', 'ⴥ' => 'Ⴥ', 'ⴧ' => 'Ⴧ', 'ⴭ' => 'Ⴭ', 'ꙁ' => 'Ꙁ', 'ꙃ' => 'Ꙃ', 'ꙅ' => 'Ꙅ', 'ꙇ' => 'Ꙇ', 'ꙉ' => 'Ꙉ', 'ꙋ' => 'Ꙋ', 'ꙍ' => 'Ꙍ', 'ꙏ' => 'Ꙏ', 'ꙑ' => 'Ꙑ', 'ꙓ' => 'Ꙓ', 'ꙕ' => 'Ꙕ', 'ꙗ' => 'Ꙗ', 'ꙙ' => 'Ꙙ', 'ꙛ' => 'Ꙛ', 'ꙝ' => 'Ꙝ', 'ꙟ' => 'Ꙟ', 'ꙡ' => 'Ꙡ', 'ꙣ' => 'Ꙣ', 'ꙥ' => 'Ꙥ', 'ꙧ' => 'Ꙧ', 'ꙩ' => 'Ꙩ', 'ꙫ' => 'Ꙫ', 'ꙭ' => 'Ꙭ', 'ꚁ' => 'Ꚁ', 'ꚃ' => 'Ꚃ', 'ꚅ' => 'Ꚅ', 'ꚇ' => 'Ꚇ', 'ꚉ' => 'Ꚉ', 'ꚋ' => 'Ꚋ', 'ꚍ' => 'Ꚍ', 'ꚏ' => 'Ꚏ', 'ꚑ' => 'Ꚑ', 'ꚓ' => 'Ꚓ', 'ꚕ' => 'Ꚕ', 'ꚗ' => 'Ꚗ', 'ꚙ' => 'Ꚙ', 'ꚛ' => 'Ꚛ', 'ꜣ' => 'Ꜣ', 'ꜥ' => 'Ꜥ', 'ꜧ' => 'Ꜧ', 'ꜩ' => 'Ꜩ', 'ꜫ' => 'Ꜫ', 'ꜭ' => 'Ꜭ', 'ꜯ' => 'Ꜯ', 'ꜳ' => 'Ꜳ', 'ꜵ' => 'Ꜵ', 'ꜷ' => 'Ꜷ', 'ꜹ' => 'Ꜹ', 'ꜻ' => 'Ꜻ', 'ꜽ' => 'Ꜽ', 'ꜿ' => 'Ꜿ', 'ꝁ' => 'Ꝁ', 'ꝃ' => 'Ꝃ', 'ꝅ' => 'Ꝅ', 'ꝇ' => 'Ꝇ', 'ꝉ' => 'Ꝉ', 'ꝋ' => 'Ꝋ', 'ꝍ' => 'Ꝍ', 'ꝏ' => 'Ꝏ', 'ꝑ' => 'Ꝑ', 'ꝓ' => 'Ꝓ', 'ꝕ' => 'Ꝕ', 'ꝗ' => 'Ꝗ', 'ꝙ' => 'Ꝙ', 'ꝛ' => 'Ꝛ', 'ꝝ' => 'Ꝝ', 'ꝟ' => 'Ꝟ', 'ꝡ' => 'Ꝡ', 'ꝣ' => 'Ꝣ', 'ꝥ' => 'Ꝥ', 'ꝧ' => 'Ꝧ', 'ꝩ' => 'Ꝩ', 'ꝫ' => 'Ꝫ', 'ꝭ' => 'Ꝭ', 'ꝯ' => 'Ꝯ', 'ꝺ' => 'Ꝺ', 'ꝼ' => 'Ꝼ', 'ꝿ' => 'Ꝿ', 'ꞁ' => 'Ꞁ', 'ꞃ' => 'Ꞃ', 'ꞅ' => 'Ꞅ', 'ꞇ' => 'Ꞇ', 'ꞌ' => 'Ꞌ', 'ꞑ' => 'Ꞑ', 'ꞓ' => 'Ꞓ', 'ꞔ' => 'Ꞔ', 'ꞗ' => 'Ꞗ', 'ꞙ' => 'Ꞙ', 'ꞛ' => 'Ꞛ', 'ꞝ' => 'Ꞝ', 'ꞟ' => 'Ꞟ', 'ꞡ' => 'Ꞡ', 'ꞣ' => 'Ꞣ', 'ꞥ' => 'Ꞥ', 'ꞧ' => 'Ꞧ', 'ꞩ' => 'Ꞩ', 'ꞵ' => 'Ꞵ', 'ꞷ' => 'Ꞷ', 'ꞹ' => 'Ꞹ', 'ꞻ' => 'Ꞻ', 'ꞽ' => 'Ꞽ', 'ꞿ' => 'Ꞿ', 'ꟃ' => 'Ꟃ', 'ꟈ' => 'Ꟈ', 'ꟊ' => 'Ꟊ', 'ꟶ' => 'Ꟶ', 'ꭓ' => 'Ꭓ', 'ꭰ' => 'Ꭰ', 'ꭱ' => 'Ꭱ', 'ꭲ' => 'Ꭲ', 'ꭳ' => 'Ꭳ', 'ꭴ' => 'Ꭴ', 'ꭵ' => 'Ꭵ', 'ꭶ' => 'Ꭶ', 'ꭷ' => 'Ꭷ', 'ꭸ' => 'Ꭸ', 'ꭹ' => 'Ꭹ', 'ꭺ' => 'Ꭺ', 'ꭻ' => 'Ꭻ', 'ꭼ' => 'Ꭼ', 'ꭽ' => 'Ꭽ', 'ꭾ' => 'Ꭾ', 'ꭿ' => 'Ꭿ', 'ꮀ' => 'Ꮀ', 'ꮁ' => 'Ꮁ', 'ꮂ' => 'Ꮂ', 'ꮃ' => 'Ꮃ', 'ꮄ' => 'Ꮄ', 'ꮅ' => 'Ꮅ', 'ꮆ' => 'Ꮆ', 'ꮇ' => 'Ꮇ', 'ꮈ' => 'Ꮈ', 'ꮉ' => 'Ꮉ', 'ꮊ' => 'Ꮊ', 'ꮋ' => 'Ꮋ', 'ꮌ' => 'Ꮌ', 'ꮍ' => 'Ꮍ', 'ꮎ' => 'Ꮎ', 'ꮏ' => 'Ꮏ', 'ꮐ' => 'Ꮐ', 'ꮑ' => 'Ꮑ', 'ꮒ' => 'Ꮒ', 'ꮓ' => 'Ꮓ', 'ꮔ' => 'Ꮔ', 'ꮕ' => 'Ꮕ', 'ꮖ' => 'Ꮖ', 'ꮗ' => 'Ꮗ', 'ꮘ' => 'Ꮘ', 'ꮙ' => 'Ꮙ', 'ꮚ' => 'Ꮚ', 'ꮛ' => 'Ꮛ', 'ꮜ' => 'Ꮜ', 'ꮝ' => 'Ꮝ', 'ꮞ' => 'Ꮞ', 'ꮟ' => 'Ꮟ', 'ꮠ' => 'Ꮠ', 'ꮡ' => 'Ꮡ', 'ꮢ' => 'Ꮢ', 'ꮣ' => 'Ꮣ', 'ꮤ' => 'Ꮤ', 'ꮥ' => 'Ꮥ', 'ꮦ' => 'Ꮦ', 'ꮧ' => 'Ꮧ', 'ꮨ' => 'Ꮨ', 'ꮩ' => 'Ꮩ', 'ꮪ' => 'Ꮪ', 'ꮫ' => 'Ꮫ', 'ꮬ' => 'Ꮬ', 'ꮭ' => 'Ꮭ', 'ꮮ' => 'Ꮮ', 'ꮯ' => 'Ꮯ', 'ꮰ' => 'Ꮰ', 'ꮱ' => 'Ꮱ', 'ꮲ' => 'Ꮲ', 'ꮳ' => 'Ꮳ', 'ꮴ' => 'Ꮴ', 'ꮵ' => 'Ꮵ', 'ꮶ' => 'Ꮶ', 'ꮷ' => 'Ꮷ', 'ꮸ' => 'Ꮸ', 'ꮹ' => 'Ꮹ', 'ꮺ' => 'Ꮺ', 'ꮻ' => 'Ꮻ', 'ꮼ' => 'Ꮼ', 'ꮽ' => 'Ꮽ', 'ꮾ' => 'Ꮾ', 'ꮿ' => 'Ꮿ', 'a' => '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', '𐐨' => '𐐀', '𐐩' => '𐐁', '𐐪' => '𐐂', '𐐫' => '𐐃', '𐐬' => '𐐄', '𐐭' => '𐐅', '𐐮' => '𐐆', '𐐯' => '𐐇', '𐐰' => '𐐈', '𐐱' => '𐐉', '𐐲' => '𐐊', '𐐳' => '𐐋', '𐐴' => '𐐌', '𐐵' => '𐐍', '𐐶' => '𐐎', '𐐷' => '𐐏', '𐐸' => '𐐐', '𐐹' => '𐐑', '𐐺' => '𐐒', '𐐻' => '𐐓', '𐐼' => '𐐔', '𐐽' => '𐐕', '𐐾' => '𐐖', '𐐿' => '𐐗', '𐑀' => '𐐘', '𐑁' => '𐐙', '𐑂' => '𐐚', '𐑃' => '𐐛', '𐑄' => '𐐜', '𐑅' => '𐐝', '𐑆' => '𐐞', '𐑇' => '𐐟', '𐑈' => '𐐠', '𐑉' => '𐐡', '𐑊' => '𐐢', '𐑋' => '𐐣', '𐑌' => '𐐤', '𐑍' => '𐐥', '𐑎' => '𐐦', '𐑏' => '𐐧', '𐓘' => '𐒰', '𐓙' => '𐒱', '𐓚' => '𐒲', '𐓛' => '𐒳', '𐓜' => '𐒴', '𐓝' => '𐒵', '𐓞' => '𐒶', '𐓟' => '𐒷', '𐓠' => '𐒸', '𐓡' => '𐒹', '𐓢' => '𐒺', '𐓣' => '𐒻', '𐓤' => '𐒼', '𐓥' => '𐒽', '𐓦' => '𐒾', '𐓧' => '𐒿', '𐓨' => '𐓀', '𐓩' => '𐓁', '𐓪' => '𐓂', '𐓫' => '𐓃', '𐓬' => '𐓄', '𐓭' => '𐓅', '𐓮' => '𐓆', '𐓯' => '𐓇', '𐓰' => '𐓈', '𐓱' => '𐓉', '𐓲' => '𐓊', '𐓳' => '𐓋', '𐓴' => '𐓌', '𐓵' => '𐓍', '𐓶' => '𐓎', '𐓷' => '𐓏', '𐓸' => '𐓐', '𐓹' => '𐓑', '𐓺' => '𐓒', '𐓻' => '𐓓', '𐳀' => '𐲀', '𐳁' => '𐲁', '𐳂' => '𐲂', '𐳃' => '𐲃', '𐳄' => '𐲄', '𐳅' => '𐲅', '𐳆' => '𐲆', '𐳇' => '𐲇', '𐳈' => '𐲈', '𐳉' => '𐲉', '𐳊' => '𐲊', '𐳋' => '𐲋', '𐳌' => '𐲌', '𐳍' => '𐲍', '𐳎' => '𐲎', '𐳏' => '𐲏', '𐳐' => '𐲐', '𐳑' => '𐲑', '𐳒' => '𐲒', '𐳓' => '𐲓', '𐳔' => '𐲔', '𐳕' => '𐲕', '𐳖' => '𐲖', '𐳗' => '𐲗', '𐳘' => '𐲘', '𐳙' => '𐲙', '𐳚' => '𐲚', '𐳛' => '𐲛', '𐳜' => '𐲜', '𐳝' => '𐲝', '𐳞' => '𐲞', '𐳟' => '𐲟', '𐳠' => '𐲠', '𐳡' => '𐲡', '𐳢' => '𐲢', '𐳣' => '𐲣', '𐳤' => '𐲤', '𐳥' => '𐲥', '𐳦' => '𐲦', '𐳧' => '𐲧', '𐳨' => '𐲨', '𐳩' => '𐲩', '𐳪' => '𐲪', '𐳫' => '𐲫', '𐳬' => '𐲬', '𐳭' => '𐲭', '𐳮' => '𐲮', '𐳯' => '𐲯', '𐳰' => '𐲰', '𐳱' => '𐲱', '𐳲' => '𐲲', '𑣀' => '𑢠', '𑣁' => '𑢡', '𑣂' => '𑢢', '𑣃' => '𑢣', '𑣄' => '𑢤', '𑣅' => '𑢥', '𑣆' => '𑢦', '𑣇' => '𑢧', '𑣈' => '𑢨', '𑣉' => '𑢩', '𑣊' => '𑢪', '𑣋' => '𑢫', '𑣌' => '𑢬', '𑣍' => '𑢭', '𑣎' => '𑢮', '𑣏' => '𑢯', '𑣐' => '𑢰', '𑣑' => '𑢱', '𑣒' => '𑢲', '𑣓' => '𑢳', '𑣔' => '𑢴', '𑣕' => '𑢵', '𑣖' => '𑢶', '𑣗' => '𑢷', '𑣘' => '𑢸', '𑣙' => '𑢹', '𑣚' => '𑢺', '𑣛' => '𑢻', '𑣜' => '𑢼', '𑣝' => '𑢽', '𑣞' => '𑢾', '𑣟' => '𑢿', '𖹠' => '𖹀', '𖹡' => '𖹁', '𖹢' => '𖹂', '𖹣' => '𖹃', '𖹤' => '𖹄', '𖹥' => '𖹅', '𖹦' => '𖹆', '𖹧' => '𖹇', '𖹨' => '𖹈', '𖹩' => '𖹉', '𖹪' => '𖹊', '𖹫' => '𖹋', '𖹬' => '𖹌', '𖹭' => '𖹍', '𖹮' => '𖹎', '𖹯' => '𖹏', '𖹰' => '𖹐', '𖹱' => '𖹑', '𖹲' => '𖹒', '𖹳' => '𖹓', '𖹴' => '𖹔', '𖹵' => '𖹕', '𖹶' => '𖹖', '𖹷' => '𖹗', '𖹸' => '𖹘', '𖹹' => '𖹙', '𖹺' => '𖹚', '𖹻' => '𖹛', '𖹼' => '𖹜', '𖹽' => '𖹝', '𖹾' => '𖹞', '𖹿' => '𖹟', '𞤢' => '𞤀', '𞤣' => '𞤁', '𞤤' => '𞤂', '𞤥' => '𞤃', '𞤦' => '𞤄', '𞤧' => '𞤅', '𞤨' => '𞤆', '𞤩' => '𞤇', '𞤪' => '𞤈', '𞤫' => '𞤉', '𞤬' => '𞤊', '𞤭' => '𞤋', '𞤮' => '𞤌', '𞤯' => '𞤍', '𞤰' => '𞤎', '𞤱' => '𞤏', '𞤲' => '𞤐', '𞤳' => '𞤑', '𞤴' => '𞤒', '𞤵' => '𞤓', '𞤶' => '𞤔', '𞤷' => '𞤕', '𞤸' => '𞤖', '𞤹' => '𞤗', '𞤺' => '𞤘', '𞤻' => '𞤙', '𞤼' => '𞤚', '𞤽' => '𞤛', '𞤾' => '𞤜', '𞤿' => '𞤝', '𞥀' => '𞤞', '𞥁' => '𞤟', '𞥂' => '𞤠', '𞥃' => '𞤡', 'ß' => 'SS', 'ff' => 'FF', 'fi' => '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 2f9be79e3a3..f8790d80be7 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 RectorPrefix20220519\Symfony\Polyfill\Mbstring as p; +use RectorPrefix20220520\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 \RectorPrefix20220519\Symfony\Polyfill\Mbstring\Mbstring::mb_convert_encoding($string, $to_encoding, $from_encoding); + return \RectorPrefix20220520\Symfony\Polyfill\Mbstring\Mbstring::mb_convert_encoding($string, $to_encoding, $from_encoding); } } if (!\function_exists('mb_decode_mimeheader')) { function mb_decode_mimeheader($string) { - return \RectorPrefix20220519\Symfony\Polyfill\Mbstring\Mbstring::mb_decode_mimeheader($string); + return \RectorPrefix20220520\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 \RectorPrefix20220519\Symfony\Polyfill\Mbstring\Mbstring::mb_encode_mimeheader($string, $charset, $transfer_encoding, $newline, $indent); + return \RectorPrefix20220520\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 \RectorPrefix20220519\Symfony\Polyfill\Mbstring\Mbstring::mb_decode_numericentity($string, $map, $encoding); + return \RectorPrefix20220520\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 \RectorPrefix20220519\Symfony\Polyfill\Mbstring\Mbstring::mb_encode_numericentity($string, $map, $encoding, $hex); + return \RectorPrefix20220520\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 \RectorPrefix20220519\Symfony\Polyfill\Mbstring\Mbstring::mb_convert_case($string, $mode, $encoding); + return \RectorPrefix20220520\Symfony\Polyfill\Mbstring\Mbstring::mb_convert_case($string, $mode, $encoding); } } if (!\function_exists('mb_internal_encoding')) { function mb_internal_encoding($encoding = null) { - return \RectorPrefix20220519\Symfony\Polyfill\Mbstring\Mbstring::mb_internal_encoding($encoding); + return \RectorPrefix20220520\Symfony\Polyfill\Mbstring\Mbstring::mb_internal_encoding($encoding); } } if (!\function_exists('mb_language')) { function mb_language($language = null) { - return \RectorPrefix20220519\Symfony\Polyfill\Mbstring\Mbstring::mb_language($language); + return \RectorPrefix20220520\Symfony\Polyfill\Mbstring\Mbstring::mb_language($language); } } if (!\function_exists('mb_list_encodings')) { function mb_list_encodings() { - return \RectorPrefix20220519\Symfony\Polyfill\Mbstring\Mbstring::mb_list_encodings(); + return \RectorPrefix20220520\Symfony\Polyfill\Mbstring\Mbstring::mb_list_encodings(); } } if (!\function_exists('mb_encoding_aliases')) { function mb_encoding_aliases($encoding) { - return \RectorPrefix20220519\Symfony\Polyfill\Mbstring\Mbstring::mb_encoding_aliases($encoding); + return \RectorPrefix20220520\Symfony\Polyfill\Mbstring\Mbstring::mb_encoding_aliases($encoding); } } if (!\function_exists('mb_check_encoding')) { function mb_check_encoding($value = null, $encoding = null) { - return \RectorPrefix20220519\Symfony\Polyfill\Mbstring\Mbstring::mb_check_encoding($value, $encoding); + return \RectorPrefix20220520\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 \RectorPrefix20220519\Symfony\Polyfill\Mbstring\Mbstring::mb_detect_encoding($string, $encodings, $strict); + return \RectorPrefix20220520\Symfony\Polyfill\Mbstring\Mbstring::mb_detect_encoding($string, $encodings, $strict); } } if (!\function_exists('mb_detect_order')) { function mb_detect_order($encoding = null) { - return \RectorPrefix20220519\Symfony\Polyfill\Mbstring\Mbstring::mb_detect_order($encoding); + return \RectorPrefix20220520\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 \RectorPrefix20220519\Symfony\Polyfill\Mbstring\Mbstring::mb_strlen($string, $encoding); + return \RectorPrefix20220520\Symfony\Polyfill\Mbstring\Mbstring::mb_strlen($string, $encoding); } } if (!\function_exists('mb_strpos')) { function mb_strpos($haystack, $needle, $offset = 0, $encoding = null) { - return \RectorPrefix20220519\Symfony\Polyfill\Mbstring\Mbstring::mb_strpos($haystack, $needle, $offset, $encoding); + return \RectorPrefix20220520\Symfony\Polyfill\Mbstring\Mbstring::mb_strpos($haystack, $needle, $offset, $encoding); } } if (!\function_exists('mb_strtolower')) { function mb_strtolower($string, $encoding = null) { - return \RectorPrefix20220519\Symfony\Polyfill\Mbstring\Mbstring::mb_strtolower($string, $encoding); + return \RectorPrefix20220520\Symfony\Polyfill\Mbstring\Mbstring::mb_strtolower($string, $encoding); } } if (!\function_exists('mb_strtoupper')) { function mb_strtoupper($string, $encoding = null) { - return \RectorPrefix20220519\Symfony\Polyfill\Mbstring\Mbstring::mb_strtoupper($string, $encoding); + return \RectorPrefix20220520\Symfony\Polyfill\Mbstring\Mbstring::mb_strtoupper($string, $encoding); } } if (!\function_exists('mb_substitute_character')) { function mb_substitute_character($substitute_character = null) { - return \RectorPrefix20220519\Symfony\Polyfill\Mbstring\Mbstring::mb_substitute_character($substitute_character); + return \RectorPrefix20220520\Symfony\Polyfill\Mbstring\Mbstring::mb_substitute_character($substitute_character); } } if (!\function_exists('mb_substr')) { function mb_substr($string, $start, $length = 2147483647, $encoding = null) { - return \RectorPrefix20220519\Symfony\Polyfill\Mbstring\Mbstring::mb_substr($string, $start, $length, $encoding); + return \RectorPrefix20220520\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 \RectorPrefix20220519\Symfony\Polyfill\Mbstring\Mbstring::mb_stripos($haystack, $needle, $offset, $encoding); + return \RectorPrefix20220520\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 \RectorPrefix20220519\Symfony\Polyfill\Mbstring\Mbstring::mb_stristr($haystack, $needle, $before_needle, $encoding); + return \RectorPrefix20220520\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 \RectorPrefix20220519\Symfony\Polyfill\Mbstring\Mbstring::mb_strrchr($haystack, $needle, $before_needle, $encoding); + return \RectorPrefix20220520\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 \RectorPrefix20220519\Symfony\Polyfill\Mbstring\Mbstring::mb_strrichr($haystack, $needle, $before_needle, $encoding); + return \RectorPrefix20220520\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 \RectorPrefix20220519\Symfony\Polyfill\Mbstring\Mbstring::mb_strripos($haystack, $needle, $offset, $encoding); + return \RectorPrefix20220520\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 \RectorPrefix20220519\Symfony\Polyfill\Mbstring\Mbstring::mb_strrpos($haystack, $needle, $offset, $encoding); + return \RectorPrefix20220520\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 \RectorPrefix20220519\Symfony\Polyfill\Mbstring\Mbstring::mb_strstr($haystack, $needle, $before_needle, $encoding); + return \RectorPrefix20220520\Symfony\Polyfill\Mbstring\Mbstring::mb_strstr($haystack, $needle, $before_needle, $encoding); } } if (!\function_exists('mb_get_info')) { function mb_get_info($type = 'all') { - return \RectorPrefix20220519\Symfony\Polyfill\Mbstring\Mbstring::mb_get_info($type); + return \RectorPrefix20220520\Symfony\Polyfill\Mbstring\Mbstring::mb_get_info($type); } } if (!\function_exists('mb_http_output')) { function mb_http_output($encoding = null) { - return \RectorPrefix20220519\Symfony\Polyfill\Mbstring\Mbstring::mb_http_output($encoding); + return \RectorPrefix20220520\Symfony\Polyfill\Mbstring\Mbstring::mb_http_output($encoding); } } if (!\function_exists('mb_strwidth')) { function mb_strwidth($string, $encoding = null) { - return \RectorPrefix20220519\Symfony\Polyfill\Mbstring\Mbstring::mb_strwidth($string, $encoding); + return \RectorPrefix20220520\Symfony\Polyfill\Mbstring\Mbstring::mb_strwidth($string, $encoding); } } if (!\function_exists('mb_substr_count')) { function mb_substr_count($haystack, $needle, $encoding = null) { - return \RectorPrefix20220519\Symfony\Polyfill\Mbstring\Mbstring::mb_substr_count($haystack, $needle, $encoding); + return \RectorPrefix20220520\Symfony\Polyfill\Mbstring\Mbstring::mb_substr_count($haystack, $needle, $encoding); } } if (!\function_exists('mb_output_handler')) { function mb_output_handler($string, $status) { - return \RectorPrefix20220519\Symfony\Polyfill\Mbstring\Mbstring::mb_output_handler($string, $status); + return \RectorPrefix20220520\Symfony\Polyfill\Mbstring\Mbstring::mb_output_handler($string, $status); } } if (!\function_exists('mb_http_input')) { function mb_http_input($type = null) { - return \RectorPrefix20220519\Symfony\Polyfill\Mbstring\Mbstring::mb_http_input($type); + return \RectorPrefix20220520\Symfony\Polyfill\Mbstring\Mbstring::mb_http_input($type); } } if (!\function_exists('mb_convert_variables')) { function mb_convert_variables($to_encoding, $from_encoding, &...$vars) { - return \RectorPrefix20220519\Symfony\Polyfill\Mbstring\Mbstring::mb_convert_variables($to_encoding, $from_encoding, ...$vars); + return \RectorPrefix20220520\Symfony\Polyfill\Mbstring\Mbstring::mb_convert_variables($to_encoding, $from_encoding, ...$vars); } } if (!\function_exists('mb_ord')) { function mb_ord($string, $encoding = null) { - return \RectorPrefix20220519\Symfony\Polyfill\Mbstring\Mbstring::mb_ord($string, $encoding); + return \RectorPrefix20220520\Symfony\Polyfill\Mbstring\Mbstring::mb_ord($string, $encoding); } } if (!\function_exists('mb_chr')) { function mb_chr($codepoint, $encoding = null) { - return \RectorPrefix20220519\Symfony\Polyfill\Mbstring\Mbstring::mb_chr($codepoint, $encoding); + return \RectorPrefix20220520\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 \RectorPrefix20220519\Symfony\Polyfill\Mbstring\Mbstring::mb_str_split($string, $length, $encoding); + return \RectorPrefix20220520\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 93b0235fcb3..52306b7e5e9 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 RectorPrefix20220519\Symfony\Polyfill\Mbstring as p; +use RectorPrefix20220520\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 \RectorPrefix20220519\Symfony\Polyfill\Mbstring\Mbstring::mb_convert_encoding($string ?? '', (string) $to_encoding, $from_encoding); + return \RectorPrefix20220520\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 \RectorPrefix20220519\Symfony\Polyfill\Mbstring\Mbstring::mb_decode_mimeheader((string) $string); + return \RectorPrefix20220520\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 \RectorPrefix20220519\Symfony\Polyfill\Mbstring\Mbstring::mb_encode_mimeheader((string) $string, $charset, $transfer_encoding, (string) $newline, (int) $indent); + return \RectorPrefix20220520\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 \RectorPrefix20220519\Symfony\Polyfill\Mbstring\Mbstring::mb_decode_numericentity((string) $string, $map, $encoding); + return \RectorPrefix20220520\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 \RectorPrefix20220519\Symfony\Polyfill\Mbstring\Mbstring::mb_encode_numericentity((string) $string, $map, $encoding, (bool) $hex); + return \RectorPrefix20220520\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 \RectorPrefix20220519\Symfony\Polyfill\Mbstring\Mbstring::mb_convert_case((string) $string, (int) $mode, $encoding); + return \RectorPrefix20220520\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 \RectorPrefix20220519\Symfony\Polyfill\Mbstring\Mbstring::mb_internal_encoding($encoding); + return \RectorPrefix20220520\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 \RectorPrefix20220519\Symfony\Polyfill\Mbstring\Mbstring::mb_language($language); + return \RectorPrefix20220520\Symfony\Polyfill\Mbstring\Mbstring::mb_language($language); } } if (!\function_exists('mb_list_encodings')) { function mb_list_encodings() : array { - return \RectorPrefix20220519\Symfony\Polyfill\Mbstring\Mbstring::mb_list_encodings(); + return \RectorPrefix20220520\Symfony\Polyfill\Mbstring\Mbstring::mb_list_encodings(); } } if (!\function_exists('mb_encoding_aliases')) { function mb_encoding_aliases(?string $encoding) : array { - return \RectorPrefix20220519\Symfony\Polyfill\Mbstring\Mbstring::mb_encoding_aliases((string) $encoding); + return \RectorPrefix20220520\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 \RectorPrefix20220519\Symfony\Polyfill\Mbstring\Mbstring::mb_check_encoding($value, $encoding); + return \RectorPrefix20220520\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 \RectorPrefix20220519\Symfony\Polyfill\Mbstring\Mbstring::mb_detect_encoding((string) $string, $encodings, (bool) $strict); + return \RectorPrefix20220520\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 \RectorPrefix20220519\Symfony\Polyfill\Mbstring\Mbstring::mb_detect_order($encoding); + return \RectorPrefix20220520\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 \RectorPrefix20220519\Symfony\Polyfill\Mbstring\Mbstring::mb_strlen((string) $string, $encoding); + return \RectorPrefix20220520\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 \RectorPrefix20220519\Symfony\Polyfill\Mbstring\Mbstring::mb_strpos((string) $haystack, (string) $needle, (int) $offset, $encoding); + return \RectorPrefix20220520\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 \RectorPrefix20220519\Symfony\Polyfill\Mbstring\Mbstring::mb_strtolower((string) $string, $encoding); + return \RectorPrefix20220520\Symfony\Polyfill\Mbstring\Mbstring::mb_strtolower((string) $string, $encoding); } } if (!\function_exists('mb_strtoupper')) { function mb_strtoupper(?string $string, ?string $encoding = null) : string { - return \RectorPrefix20220519\Symfony\Polyfill\Mbstring\Mbstring::mb_strtoupper((string) $string, $encoding); + return \RectorPrefix20220520\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 \RectorPrefix20220519\Symfony\Polyfill\Mbstring\Mbstring::mb_substitute_character($substitute_character); + return \RectorPrefix20220520\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 \RectorPrefix20220519\Symfony\Polyfill\Mbstring\Mbstring::mb_substr((string) $string, (int) $start, $length, $encoding); + return \RectorPrefix20220520\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 \RectorPrefix20220519\Symfony\Polyfill\Mbstring\Mbstring::mb_stripos((string) $haystack, (string) $needle, (int) $offset, $encoding); + return \RectorPrefix20220520\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 \RectorPrefix20220519\Symfony\Polyfill\Mbstring\Mbstring::mb_stristr((string) $haystack, (string) $needle, (bool) $before_needle, $encoding); + return \RectorPrefix20220520\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 \RectorPrefix20220519\Symfony\Polyfill\Mbstring\Mbstring::mb_strrchr((string) $haystack, (string) $needle, (bool) $before_needle, $encoding); + return \RectorPrefix20220520\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 \RectorPrefix20220519\Symfony\Polyfill\Mbstring\Mbstring::mb_strrichr((string) $haystack, (string) $needle, (bool) $before_needle, $encoding); + return \RectorPrefix20220520\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 \RectorPrefix20220519\Symfony\Polyfill\Mbstring\Mbstring::mb_strripos((string) $haystack, (string) $needle, (int) $offset, $encoding); + return \RectorPrefix20220520\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 \RectorPrefix20220519\Symfony\Polyfill\Mbstring\Mbstring::mb_strrpos((string) $haystack, (string) $needle, (int) $offset, $encoding); + return \RectorPrefix20220520\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 \RectorPrefix20220519\Symfony\Polyfill\Mbstring\Mbstring::mb_strstr((string) $haystack, (string) $needle, (bool) $before_needle, $encoding); + return \RectorPrefix20220520\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 \RectorPrefix20220519\Symfony\Polyfill\Mbstring\Mbstring::mb_get_info((string) $type); + return \RectorPrefix20220520\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 \RectorPrefix20220519\Symfony\Polyfill\Mbstring\Mbstring::mb_http_output($encoding); + return \RectorPrefix20220520\Symfony\Polyfill\Mbstring\Mbstring::mb_http_output($encoding); } } if (!\function_exists('mb_strwidth')) { function mb_strwidth(?string $string, ?string $encoding = null) : int { - return \RectorPrefix20220519\Symfony\Polyfill\Mbstring\Mbstring::mb_strwidth((string) $string, $encoding); + return \RectorPrefix20220520\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 \RectorPrefix20220519\Symfony\Polyfill\Mbstring\Mbstring::mb_substr_count((string) $haystack, (string) $needle, $encoding); + return \RectorPrefix20220520\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 \RectorPrefix20220519\Symfony\Polyfill\Mbstring\Mbstring::mb_output_handler((string) $string, (int) $status); + return \RectorPrefix20220520\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 \RectorPrefix20220519\Symfony\Polyfill\Mbstring\Mbstring::mb_http_input($type); + return \RectorPrefix20220520\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 \RectorPrefix20220519\Symfony\Polyfill\Mbstring\Mbstring::mb_convert_variables((string) $to_encoding, $from_encoding ?? '', $var, ...$vars); + return \RectorPrefix20220520\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 \RectorPrefix20220519\Symfony\Polyfill\Mbstring\Mbstring::mb_ord((string) $string, $encoding); + return \RectorPrefix20220520\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 \RectorPrefix20220519\Symfony\Polyfill\Mbstring\Mbstring::mb_chr((int) $codepoint, $encoding); + return \RectorPrefix20220520\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 \RectorPrefix20220519\Symfony\Polyfill\Mbstring\Mbstring::mb_str_split((string) $string, (int) $length, $encoding); + return \RectorPrefix20220520\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 8ab64f2d591..3168d95f07d 100644 --- a/vendor/symfony/polyfill-mbstring/composer.json +++ b/vendor/symfony/polyfill-mbstring/composer.json @@ -29,7 +29,7 @@ }, "autoload": { "psr-4": { - "RectorPrefix20220519\\Symfony\\Polyfill\\Mbstring\\": "" + "RectorPrefix20220520\\Symfony\\Polyfill\\Mbstring\\": "" }, "files": [ "bootstrap.php" diff --git a/vendor/symfony/polyfill-php81/Php81.php b/vendor/symfony/polyfill-php81/Php81.php index 8c6fbf9d2d0..33d22b98d6c 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 RectorPrefix20220519\Symfony\Polyfill\Php81; +namespace RectorPrefix20220520\Symfony\Polyfill\Php81; /** * @author Nicolas Grekas diff --git a/vendor/symfony/polyfill-php81/bootstrap.php b/vendor/symfony/polyfill-php81/bootstrap.php index 5ef9e152368..cd61330ed4b 100644 --- a/vendor/symfony/polyfill-php81/bootstrap.php +++ b/vendor/symfony/polyfill-php81/bootstrap.php @@ -10,20 +10,20 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -use RectorPrefix20220519\Symfony\Polyfill\Php81 as p; +use RectorPrefix20220520\Symfony\Polyfill\Php81 as p; if (\PHP_VERSION_ID >= 80100) { return; } if (\defined('MYSQLI_REFRESH_SLAVE') && !\defined('MYSQLI_REFRESH_REPLICA')) { \define('MYSQLI_REFRESH_REPLICA', 64); } -if (!\function_exists('RectorPrefix20220519\\array_is_list')) { +if (!\function_exists('RectorPrefix20220520\\array_is_list')) { function array_is_list(array $array) : bool { - return \RectorPrefix20220519\Symfony\Polyfill\Php81\Php81::array_is_list($array); + return \RectorPrefix20220520\Symfony\Polyfill\Php81\Php81::array_is_list($array); } } -if (!\function_exists('RectorPrefix20220519\\enum_exists')) { +if (!\function_exists('RectorPrefix20220520\\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 d9323c8ec5e..07e851e6c2a 100644 --- a/vendor/symfony/polyfill-php81/composer.json +++ b/vendor/symfony/polyfill-php81/composer.json @@ -25,7 +25,7 @@ }, "autoload": { "psr-4": { - "RectorPrefix20220519\\Symfony\\Polyfill\\Php81\\": "" + "RectorPrefix20220520\\Symfony\\Polyfill\\Php81\\": "" }, "files": [ "bootstrap.php" diff --git a/vendor/symfony/process/Exception/ExceptionInterface.php b/vendor/symfony/process/Exception/ExceptionInterface.php index 4b8c6552ac2..efb56a00356 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 RectorPrefix20220519\Symfony\Component\Process\Exception; +namespace RectorPrefix20220520\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 0488be0dbf8..a0bab8d8d83 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 RectorPrefix20220519\Symfony\Component\Process\Exception; +namespace RectorPrefix20220520\Symfony\Component\Process\Exception; /** * InvalidArgumentException for the Process Component. * * @author Romain Neutron */ -class InvalidArgumentException extends \InvalidArgumentException implements \RectorPrefix20220519\Symfony\Component\Process\Exception\ExceptionInterface +class InvalidArgumentException extends \InvalidArgumentException implements \RectorPrefix20220520\Symfony\Component\Process\Exception\ExceptionInterface { } diff --git a/vendor/symfony/process/Exception/LogicException.php b/vendor/symfony/process/Exception/LogicException.php index 9f38df6b22b..1425c94e235 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 RectorPrefix20220519\Symfony\Component\Process\Exception; +namespace RectorPrefix20220520\Symfony\Component\Process\Exception; /** * LogicException for the Process Component. * * @author Romain Neutron */ -class LogicException extends \LogicException implements \RectorPrefix20220519\Symfony\Component\Process\Exception\ExceptionInterface +class LogicException extends \LogicException implements \RectorPrefix20220520\Symfony\Component\Process\Exception\ExceptionInterface { } diff --git a/vendor/symfony/process/Exception/ProcessFailedException.php b/vendor/symfony/process/Exception/ProcessFailedException.php index 596e4f3da6d..de941b4756a 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 RectorPrefix20220519\Symfony\Component\Process\Exception; +namespace RectorPrefix20220520\Symfony\Component\Process\Exception; -use RectorPrefix20220519\Symfony\Component\Process\Process; +use RectorPrefix20220520\Symfony\Component\Process\Process; /** * Exception for failed processes. * * @author Johannes M. Schmitt */ -class ProcessFailedException extends \RectorPrefix20220519\Symfony\Component\Process\Exception\RuntimeException +class ProcessFailedException extends \RectorPrefix20220520\Symfony\Component\Process\Exception\RuntimeException { private $process; - public function __construct(\RectorPrefix20220519\Symfony\Component\Process\Process $process) + public function __construct(\RectorPrefix20220520\Symfony\Component\Process\Process $process) { if ($process->isSuccessful()) { - throw new \RectorPrefix20220519\Symfony\Component\Process\Exception\InvalidArgumentException('Expected a failed process, but the given process was successful.'); + throw new \RectorPrefix20220520\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 c4be7f6be88..3afea525cb1 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 RectorPrefix20220519\Symfony\Component\Process\Exception; +namespace RectorPrefix20220520\Symfony\Component\Process\Exception; -use RectorPrefix20220519\Symfony\Component\Process\Process; +use RectorPrefix20220520\Symfony\Component\Process\Process; /** * Exception that is thrown when a process has been signaled. * * @author Sullivan Senechal */ -final class ProcessSignaledException extends \RectorPrefix20220519\Symfony\Component\Process\Exception\RuntimeException +final class ProcessSignaledException extends \RectorPrefix20220520\Symfony\Component\Process\Exception\RuntimeException { private $process; - public function __construct(\RectorPrefix20220519\Symfony\Component\Process\Process $process) + public function __construct(\RectorPrefix20220520\Symfony\Component\Process\Process $process) { $this->process = $process; parent::__construct(\sprintf('The process has been signaled with signal "%s".', $process->getTermSignal())); } - public function getProcess() : \RectorPrefix20220519\Symfony\Component\Process\Process + public function getProcess() : \RectorPrefix20220520\Symfony\Component\Process\Process { return $this->process; } diff --git a/vendor/symfony/process/Exception/ProcessTimedOutException.php b/vendor/symfony/process/Exception/ProcessTimedOutException.php index e85bdb0fbbb..b5670d69431 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 RectorPrefix20220519\Symfony\Component\Process\Exception; +namespace RectorPrefix20220520\Symfony\Component\Process\Exception; -use RectorPrefix20220519\Symfony\Component\Process\Process; +use RectorPrefix20220520\Symfony\Component\Process\Process; /** * Exception that is thrown when a process times out. * * @author Johannes M. Schmitt */ -class ProcessTimedOutException extends \RectorPrefix20220519\Symfony\Component\Process\Exception\RuntimeException +class ProcessTimedOutException extends \RectorPrefix20220520\Symfony\Component\Process\Exception\RuntimeException { public const TYPE_GENERAL = 1; public const TYPE_IDLE = 2; private $process; private $timeoutType; - public function __construct(\RectorPrefix20220519\Symfony\Component\Process\Process $process, int $timeoutType) + public function __construct(\RectorPrefix20220520\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 44f00fe3a48..365194c615b 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 RectorPrefix20220519\Symfony\Component\Process\Exception; +namespace RectorPrefix20220520\Symfony\Component\Process\Exception; /** * RuntimeException for the Process Component. * * @author Johannes M. Schmitt */ -class RuntimeException extends \RuntimeException implements \RectorPrefix20220519\Symfony\Component\Process\Exception\ExceptionInterface +class RuntimeException extends \RuntimeException implements \RectorPrefix20220520\Symfony\Component\Process\Exception\ExceptionInterface { } diff --git a/vendor/symfony/process/ExecutableFinder.php b/vendor/symfony/process/ExecutableFinder.php index 185c0b113ea..27209de0718 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 RectorPrefix20220519\Symfony\Component\Process; +namespace RectorPrefix20220520\Symfony\Component\Process; /** * Generic executable finder. diff --git a/vendor/symfony/process/InputStream.php b/vendor/symfony/process/InputStream.php index 820f34fb3c1..e0e8077b597 100644 --- a/vendor/symfony/process/InputStream.php +++ b/vendor/symfony/process/InputStream.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 RectorPrefix20220519\Symfony\Component\Process; +namespace RectorPrefix20220520\Symfony\Component\Process; -use RectorPrefix20220519\Symfony\Component\Process\Exception\RuntimeException; +use RectorPrefix20220520\Symfony\Component\Process\Exception\RuntimeException; /** * Provides a way to continuously write to the input of a Process until the InputStream is closed. * @@ -43,9 +43,9 @@ class InputStream implements \IteratorAggregate return; } if ($this->isClosed()) { - throw new \RectorPrefix20220519\Symfony\Component\Process\Exception\RuntimeException(\sprintf('"%s" is closed.', static::class)); + throw new \RectorPrefix20220520\Symfony\Component\Process\Exception\RuntimeException(\sprintf('"%s" is closed.', static::class)); } - $this->input[] = \RectorPrefix20220519\Symfony\Component\Process\ProcessUtils::validateInput(__METHOD__, $input); + $this->input[] = \RectorPrefix20220520\Symfony\Component\Process\ProcessUtils::validateInput(__METHOD__, $input); } /** * Closes the write buffer. diff --git a/vendor/symfony/process/PhpExecutableFinder.php b/vendor/symfony/process/PhpExecutableFinder.php index ecaf7c35a9f..e19cd115171 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 RectorPrefix20220519\Symfony\Component\Process; +namespace RectorPrefix20220520\Symfony\Component\Process; /** * An executable finder specifically designed for the PHP executable. @@ -21,7 +21,7 @@ class PhpExecutableFinder private $executableFinder; public function __construct() { - $this->executableFinder = new \RectorPrefix20220519\Symfony\Component\Process\ExecutableFinder(); + $this->executableFinder = new \RectorPrefix20220520\Symfony\Component\Process\ExecutableFinder(); } /** * Finds The PHP executable. diff --git a/vendor/symfony/process/PhpProcess.php b/vendor/symfony/process/PhpProcess.php index 26222fe39ce..a40bbe8dd79 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 RectorPrefix20220519\Symfony\Component\Process; +namespace RectorPrefix20220520\Symfony\Component\Process; -use RectorPrefix20220519\Symfony\Component\Process\Exception\LogicException; -use RectorPrefix20220519\Symfony\Component\Process\Exception\RuntimeException; +use RectorPrefix20220520\Symfony\Component\Process\Exception\LogicException; +use RectorPrefix20220520\Symfony\Component\Process\Exception\RuntimeException; /** * PhpProcess runs a PHP script in an independent process. * @@ -21,7 +21,7 @@ use RectorPrefix20220519\Symfony\Component\Process\Exception\RuntimeException; * * @author Fabien Potencier */ -class PhpProcess extends \RectorPrefix20220519\Symfony\Component\Process\Process +class PhpProcess extends \RectorPrefix20220520\Symfony\Component\Process\Process { /** * @param string $script The PHP script to run (as a string) @@ -33,7 +33,7 @@ class PhpProcess extends \RectorPrefix20220519\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 \RectorPrefix20220519\Symfony\Component\Process\PhpExecutableFinder(); + $executableFinder = new \RectorPrefix20220520\Symfony\Component\Process\PhpExecutableFinder(); $php = $executableFinder->find(\false); $php = \false === $php ? null : \array_merge([$php], $executableFinder->findArguments()); } @@ -53,7 +53,7 @@ class PhpProcess extends \RectorPrefix20220519\Symfony\Component\Process\Process */ public static function fromShellCommandline(string $command, string $cwd = null, array $env = null, $input = null, ?float $timeout = 60) { - throw new \RectorPrefix20220519\Symfony\Component\Process\Exception\LogicException(\sprintf('The "%s()" method cannot be called when using "%s".', __METHOD__, self::class)); + throw new \RectorPrefix20220520\Symfony\Component\Process\Exception\LogicException(\sprintf('The "%s()" method cannot be called when using "%s".', __METHOD__, self::class)); } /** * {@inheritdoc} @@ -61,7 +61,7 @@ class PhpProcess extends \RectorPrefix20220519\Symfony\Component\Process\Process public function start(callable $callback = null, array $env = []) { if (null === $this->getCommandLine()) { - throw new \RectorPrefix20220519\Symfony\Component\Process\Exception\RuntimeException('Unable to find the PHP executable.'); + throw new \RectorPrefix20220520\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 fac8106ea8d..58609b3496e 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 RectorPrefix20220519\Symfony\Component\Process\Pipes; +namespace RectorPrefix20220520\Symfony\Component\Process\Pipes; -use RectorPrefix20220519\Symfony\Component\Process\Exception\InvalidArgumentException; +use RectorPrefix20220520\Symfony\Component\Process\Exception\InvalidArgumentException; /** * @author Romain Neutron * * @internal */ -abstract class AbstractPipes implements \RectorPrefix20220519\Symfony\Component\Process\Pipes\PipesInterface +abstract class AbstractPipes implements \RectorPrefix20220520\Symfony\Component\Process\Pipes\PipesInterface { /** * @var mixed[] @@ -96,7 +96,7 @@ abstract class AbstractPipes implements \RectorPrefix20220519\Symfony\Component\ } elseif (!isset($this->inputBuffer[0])) { if (!\is_string($input)) { if (!\is_scalar($input)) { - throw new \RectorPrefix20220519\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 \RectorPrefix20220520\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 58cc9e93427..6177cbfb03f 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 RectorPrefix20220519\Symfony\Component\Process\Pipes; +namespace RectorPrefix20220520\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 2343c8f1910..38f2ad76c67 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 RectorPrefix20220519\Symfony\Component\Process\Pipes; +namespace RectorPrefix20220520\Symfony\Component\Process\Pipes; -use RectorPrefix20220519\Symfony\Component\Process\Process; +use RectorPrefix20220520\Symfony\Component\Process\Process; /** * UnixPipes implementation uses unix pipes as handles. * @@ -18,7 +18,7 @@ use RectorPrefix20220519\Symfony\Component\Process\Process; * * @internal */ -class UnixPipes extends \RectorPrefix20220519\Symfony\Component\Process\Pipes\AbstractPipes +class UnixPipes extends \RectorPrefix20220520\Symfony\Component\Process\Pipes\AbstractPipes { private $ttyMode; private $ptyMode; @@ -57,7 +57,7 @@ class UnixPipes extends \RectorPrefix20220519\Symfony\Component\Process\Pipes\Ab if ($this->ttyMode) { return [['file', '/dev/tty', 'r'], ['file', '/dev/tty', 'w'], ['file', '/dev/tty', 'w']]; } - if ($this->ptyMode && \RectorPrefix20220519\Symfony\Component\Process\Process::isPtySupported()) { + if ($this->ptyMode && \RectorPrefix20220520\Symfony\Component\Process\Process::isPtySupported()) { return [['pty'], ['pty'], ['pty']]; } return [ @@ -86,7 +86,7 @@ class UnixPipes extends \RectorPrefix20220519\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 ? \RectorPrefix20220519\Symfony\Component\Process\Process::TIMEOUT_PRECISION * 1000000.0 : 0)) { + if (($r || $w) && \false === \stream_select($r, $w, $e, 0, $blocking ? \RectorPrefix20220520\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 0514e6d8555..d9e78aa138c 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 RectorPrefix20220519\Symfony\Component\Process\Pipes; +namespace RectorPrefix20220520\Symfony\Component\Process\Pipes; -use RectorPrefix20220519\Symfony\Component\Process\Exception\RuntimeException; -use RectorPrefix20220519\Symfony\Component\Process\Process; +use RectorPrefix20220520\Symfony\Component\Process\Exception\RuntimeException; +use RectorPrefix20220520\Symfony\Component\Process\Process; /** * WindowsPipes implementation uses temporary files as handles. * @@ -22,12 +22,12 @@ use RectorPrefix20220519\Symfony\Component\Process\Process; * * @internal */ -class WindowsPipes extends \RectorPrefix20220519\Symfony\Component\Process\Pipes\AbstractPipes +class WindowsPipes extends \RectorPrefix20220520\Symfony\Component\Process\Pipes\AbstractPipes { private $files = []; private $fileHandles = []; private $lockHandles = []; - private $readBytes = [\RectorPrefix20220519\Symfony\Component\Process\Process::STDOUT => 0, \RectorPrefix20220519\Symfony\Component\Process\Process::STDERR => 0]; + private $readBytes = [\RectorPrefix20220520\Symfony\Component\Process\Process::STDOUT => 0, \RectorPrefix20220520\Symfony\Component\Process\Process::STDERR => 0]; private $haveReadSupport; /** * @param mixed $input @@ -40,7 +40,7 @@ class WindowsPipes extends \RectorPrefix20220519\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 = [\RectorPrefix20220519\Symfony\Component\Process\Process::STDOUT => \RectorPrefix20220519\Symfony\Component\Process\Process::OUT, \RectorPrefix20220519\Symfony\Component\Process\Process::STDERR => \RectorPrefix20220519\Symfony\Component\Process\Process::ERR]; + $pipes = [\RectorPrefix20220520\Symfony\Component\Process\Process::STDOUT => \RectorPrefix20220520\Symfony\Component\Process\Process::OUT, \RectorPrefix20220520\Symfony\Component\Process\Process::STDERR => \RectorPrefix20220520\Symfony\Component\Process\Process::ERR]; $tmpDir = \sys_get_temp_dir(); $lastError = 'unknown reason'; \set_error_handler(function ($type, $msg) use(&$lastError) { @@ -54,7 +54,7 @@ class WindowsPipes extends \RectorPrefix20220519\Symfony\Component\Process\Pipes continue 2; } \restore_error_handler(); - throw new \RectorPrefix20220519\Symfony\Component\Process\Exception\RuntimeException('A temporary file could not be opened to write the process output: ' . $lastError); + throw new \RectorPrefix20220520\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; @@ -122,9 +122,9 @@ class WindowsPipes extends \RectorPrefix20220519\Symfony\Component\Process\Pipes $read = $r = $e = []; if ($blocking) { if ($w) { - @\stream_select($r, $w, $e, 0, \RectorPrefix20220519\Symfony\Component\Process\Process::TIMEOUT_PRECISION * 1000000.0); + @\stream_select($r, $w, $e, 0, \RectorPrefix20220520\Symfony\Component\Process\Process::TIMEOUT_PRECISION * 1000000.0); } elseif ($this->fileHandles) { - \usleep(\RectorPrefix20220519\Symfony\Component\Process\Process::TIMEOUT_PRECISION * 1000000.0); + \usleep(\RectorPrefix20220520\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 c54fb5244ba..2440b376449 100644 --- a/vendor/symfony/process/Process.php +++ b/vendor/symfony/process/Process.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 RectorPrefix20220519\Symfony\Component\Process; +namespace RectorPrefix20220520\Symfony\Component\Process; -use RectorPrefix20220519\Symfony\Component\Process\Exception\InvalidArgumentException; -use RectorPrefix20220519\Symfony\Component\Process\Exception\LogicException; -use RectorPrefix20220519\Symfony\Component\Process\Exception\ProcessFailedException; -use RectorPrefix20220519\Symfony\Component\Process\Exception\ProcessSignaledException; -use RectorPrefix20220519\Symfony\Component\Process\Exception\ProcessTimedOutException; -use RectorPrefix20220519\Symfony\Component\Process\Exception\RuntimeException; -use RectorPrefix20220519\Symfony\Component\Process\Pipes\PipesInterface; -use RectorPrefix20220519\Symfony\Component\Process\Pipes\UnixPipes; -use RectorPrefix20220519\Symfony\Component\Process\Pipes\WindowsPipes; +use RectorPrefix20220520\Symfony\Component\Process\Exception\InvalidArgumentException; +use RectorPrefix20220520\Symfony\Component\Process\Exception\LogicException; +use RectorPrefix20220520\Symfony\Component\Process\Exception\ProcessFailedException; +use RectorPrefix20220520\Symfony\Component\Process\Exception\ProcessSignaledException; +use RectorPrefix20220520\Symfony\Component\Process\Exception\ProcessTimedOutException; +use RectorPrefix20220520\Symfony\Component\Process\Exception\RuntimeException; +use RectorPrefix20220520\Symfony\Component\Process\Pipes\PipesInterface; +use RectorPrefix20220520\Symfony\Component\Process\Pipes\UnixPipes; +use RectorPrefix20220520\Symfony\Component\Process\Pipes\WindowsPipes; /** * Process is a thin wrapper around proc_* functions to easily * start independent PHP processes. @@ -133,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 \RectorPrefix20220519\Symfony\Component\Process\Exception\LogicException('The Process class relies on proc_open, which is not available on your PHP installation.'); + throw new \RectorPrefix20220520\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; @@ -243,7 +243,7 @@ class Process implements \IteratorAggregate public function mustRun(callable $callback = null, array $env = []) { if (0 !== $this->run($callback, $env)) { - throw new \RectorPrefix20220519\Symfony\Component\Process\Exception\ProcessFailedException($this); + throw new \RectorPrefix20220520\Symfony\Component\Process\Exception\ProcessFailedException($this); } return $this; } @@ -269,7 +269,7 @@ class Process implements \IteratorAggregate public function start(callable $callback = null, array $env = []) { if ($this->isRunning()) { - throw new \RectorPrefix20220519\Symfony\Component\Process\Exception\RuntimeException('Process is already running.'); + throw new \RectorPrefix20220520\Symfony\Component\Process\Exception\RuntimeException('Process is already running.'); } $this->resetProcessData(); $this->starttime = $this->lastOutputTime = \microtime(\true); @@ -308,11 +308,11 @@ class Process implements \IteratorAggregate } } if (!\is_dir($this->cwd)) { - throw new \RectorPrefix20220519\Symfony\Component\Process\Exception\RuntimeException(\sprintf('The provided cwd "%s" does not exist.', $this->cwd)); + throw new \RectorPrefix20220520\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 \RectorPrefix20220519\Symfony\Component\Process\Exception\RuntimeException('Unable to launch a new process.'); + throw new \RectorPrefix20220520\Symfony\Component\Process\Exception\RuntimeException('Unable to launch a new process.'); } $this->status = self::STATUS_STARTED; if (isset($descriptors[3])) { @@ -343,7 +343,7 @@ class Process implements \IteratorAggregate public function restart(callable $callback = null, array $env = []) { if ($this->isRunning()) { - throw new \RectorPrefix20220519\Symfony\Component\Process\Exception\RuntimeException('Process is already running.'); + throw new \RectorPrefix20220520\Symfony\Component\Process\Exception\RuntimeException('Process is already running.'); } $process = clone $this; $process->start($callback, $env); @@ -371,7 +371,7 @@ class Process implements \IteratorAggregate if (null !== $callback) { if (!$this->processPipes->haveReadSupport()) { $this->stop(0); - throw new \RectorPrefix20220519\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 \RectorPrefix20220520\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); } @@ -385,7 +385,7 @@ class Process implements \IteratorAggregate \usleep(1000); } if ($this->processInformation['signaled'] && $this->processInformation['termsig'] !== $this->latestSignal) { - throw new \RectorPrefix20220519\Symfony\Component\Process\Exception\ProcessSignaledException($this); + throw new \RectorPrefix20220520\Symfony\Component\Process\Exception\ProcessSignaledException($this); } return $this->exitcode; } @@ -406,7 +406,7 @@ class Process implements \IteratorAggregate $this->updateStatus(\false); if (!$this->processPipes->haveReadSupport()) { $this->stop(0); - throw new \RectorPrefix20220519\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 \RectorPrefix20220520\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; @@ -466,10 +466,10 @@ class Process implements \IteratorAggregate public function disableOutput() { if ($this->isRunning()) { - throw new \RectorPrefix20220519\Symfony\Component\Process\Exception\RuntimeException('Disabling output while the process is running is not possible.'); + throw new \RectorPrefix20220520\Symfony\Component\Process\Exception\RuntimeException('Disabling output while the process is running is not possible.'); } if (null !== $this->idleTimeout) { - throw new \RectorPrefix20220519\Symfony\Component\Process\Exception\LogicException('Output cannot be disabled while an idle timeout is set.'); + throw new \RectorPrefix20220520\Symfony\Component\Process\Exception\LogicException('Output cannot be disabled while an idle timeout is set.'); } $this->outputDisabled = \true; return $this; @@ -484,7 +484,7 @@ class Process implements \IteratorAggregate public function enableOutput() { if ($this->isRunning()) { - throw new \RectorPrefix20220519\Symfony\Component\Process\Exception\RuntimeException('Enabling output while the process is running is not possible.'); + throw new \RectorPrefix20220520\Symfony\Component\Process\Exception\RuntimeException('Enabling output while the process is running is not possible.'); } $this->outputDisabled = \false; return $this; @@ -691,7 +691,7 @@ class Process implements \IteratorAggregate { $this->requireProcessIsTerminated(__FUNCTION__); if ($this->isSigchildEnabled() && -1 === $this->processInformation['termsig']) { - throw new \RectorPrefix20220519\Symfony\Component\Process\Exception\RuntimeException('This PHP has been compiled with --enable-sigchild. Term signal cannot be retrieved.'); + throw new \RectorPrefix20220520\Symfony\Component\Process\Exception\RuntimeException('This PHP has been compiled with --enable-sigchild. Term signal cannot be retrieved.'); } return $this->processInformation['termsig']; } @@ -866,7 +866,7 @@ class Process implements \IteratorAggregate public function setIdleTimeout(?float $timeout) { if (null !== $timeout && $this->outputDisabled) { - throw new \RectorPrefix20220519\Symfony\Component\Process\Exception\LogicException('Idle timeout cannot be set while the output is disabled.'); + throw new \RectorPrefix20220520\Symfony\Component\Process\Exception\LogicException('Idle timeout cannot be set while the output is disabled.'); } $this->idleTimeout = $this->validateTimeout($timeout); return $this; @@ -881,10 +881,10 @@ class Process implements \IteratorAggregate public function setTty(bool $tty) { if ('\\' === \DIRECTORY_SEPARATOR && $tty) { - throw new \RectorPrefix20220519\Symfony\Component\Process\Exception\RuntimeException('TTY mode is not supported on Windows platform.'); + throw new \RectorPrefix20220520\Symfony\Component\Process\Exception\RuntimeException('TTY mode is not supported on Windows platform.'); } if ($tty && !self::isTtySupported()) { - throw new \RectorPrefix20220519\Symfony\Component\Process\Exception\RuntimeException('TTY mode requires /dev/tty to be read/writable.'); + throw new \RectorPrefix20220520\Symfony\Component\Process\Exception\RuntimeException('TTY mode requires /dev/tty to be read/writable.'); } $this->tty = $tty; return $this; @@ -977,9 +977,9 @@ class Process implements \IteratorAggregate public function setInput($input) { if ($this->isRunning()) { - throw new \RectorPrefix20220519\Symfony\Component\Process\Exception\LogicException('Input cannot be set while the process is running.'); + throw new \RectorPrefix20220520\Symfony\Component\Process\Exception\LogicException('Input cannot be set while the process is running.'); } - $this->input = \RectorPrefix20220519\Symfony\Component\Process\ProcessUtils::validateInput(__METHOD__, $input); + $this->input = \RectorPrefix20220520\Symfony\Component\Process\ProcessUtils::validateInput(__METHOD__, $input); return $this; } /** @@ -997,11 +997,11 @@ class Process implements \IteratorAggregate } if (null !== $this->timeout && $this->timeout < \microtime(\true) - $this->starttime) { $this->stop(0); - throw new \RectorPrefix20220519\Symfony\Component\Process\Exception\ProcessTimedOutException($this, \RectorPrefix20220519\Symfony\Component\Process\Exception\ProcessTimedOutException::TYPE_GENERAL); + throw new \RectorPrefix20220520\Symfony\Component\Process\Exception\ProcessTimedOutException($this, \RectorPrefix20220520\Symfony\Component\Process\Exception\ProcessTimedOutException::TYPE_GENERAL); } if (null !== $this->idleTimeout && $this->idleTimeout < \microtime(\true) - $this->lastOutputTime) { $this->stop(0); - throw new \RectorPrefix20220519\Symfony\Component\Process\Exception\ProcessTimedOutException($this, \RectorPrefix20220519\Symfony\Component\Process\Exception\ProcessTimedOutException::TYPE_IDLE); + throw new \RectorPrefix20220520\Symfony\Component\Process\Exception\ProcessTimedOutException($this, \RectorPrefix20220520\Symfony\Component\Process\Exception\ProcessTimedOutException::TYPE_IDLE); } } /** @@ -1010,7 +1010,7 @@ class Process implements \IteratorAggregate public function getStartTime() : float { if (!$this->isStarted()) { - throw new \RectorPrefix20220519\Symfony\Component\Process\Exception\LogicException('Start time is only available after process start.'); + throw new \RectorPrefix20220520\Symfony\Component\Process\Exception\LogicException('Start time is only available after process start.'); } return $this->starttime; } @@ -1025,14 +1025,14 @@ class Process implements \IteratorAggregate public function setOptions(array $options) { if ($this->isRunning()) { - throw new \RectorPrefix20220519\Symfony\Component\Process\Exception\RuntimeException('Setting options while the process is running is not possible.'); + throw new \RectorPrefix20220520\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 \RectorPrefix20220519\Symfony\Component\Process\Exception\LogicException(\sprintf('Invalid option "%s" passed to "%s()". Supported options are "%s".', $key, __METHOD__, \implode('", "', $existingOptions))); + throw new \RectorPrefix20220520\Symfony\Component\Process\Exception\LogicException(\sprintf('Invalid option "%s" passed to "%s()". Supported options are "%s".', $key, __METHOD__, \implode('", "', $existingOptions))); } $this->options[$key] = $value; } @@ -1071,9 +1071,9 @@ class Process implements \IteratorAggregate $this->input->rewind(); } if ('\\' === \DIRECTORY_SEPARATOR) { - $this->processPipes = new \RectorPrefix20220519\Symfony\Component\Process\Pipes\WindowsPipes($this->input, !$this->outputDisabled || $this->hasCallback); + $this->processPipes = new \RectorPrefix20220520\Symfony\Component\Process\Pipes\WindowsPipes($this->input, !$this->outputDisabled || $this->hasCallback); } else { - $this->processPipes = new \RectorPrefix20220519\Symfony\Component\Process\Pipes\UnixPipes($this->isTty(), $this->isPty(), $this->input, !$this->outputDisabled || $this->hasCallback); + $this->processPipes = new \RectorPrefix20220520\Symfony\Component\Process\Pipes\UnixPipes($this->isTty(), $this->isPty(), $this->input, !$this->outputDisabled || $this->hasCallback); } return $this->processPipes->getDescriptors(); } @@ -1148,7 +1148,7 @@ class Process implements \IteratorAggregate private function readPipesForOutput(string $caller, bool $blocking = \false) { if ($this->outputDisabled) { - throw new \RectorPrefix20220519\Symfony\Component\Process\Exception\LogicException('Output has been disabled.'); + throw new \RectorPrefix20220520\Symfony\Component\Process\Exception\LogicException('Output has been disabled.'); } $this->requireProcessIsStarted($caller); $this->updateStatus($blocking); @@ -1164,7 +1164,7 @@ class Process implements \IteratorAggregate if (0.0 === $timeout) { $timeout = null; } elseif ($timeout < 0) { - throw new \RectorPrefix20220519\Symfony\Component\Process\Exception\InvalidArgumentException('The timeout value must be a valid positive integer or float number.'); + throw new \RectorPrefix20220520\Symfony\Component\Process\Exception\InvalidArgumentException('The timeout value must be a valid positive integer or float number.'); } return $timeout; } @@ -1246,7 +1246,7 @@ class Process implements \IteratorAggregate { if (null === ($pid = $this->getPid())) { if ($throwException) { - throw new \RectorPrefix20220519\Symfony\Component\Process\Exception\LogicException('Cannot send signal on a non running process.'); + throw new \RectorPrefix20220520\Symfony\Component\Process\Exception\LogicException('Cannot send signal on a non running process.'); } return \false; } @@ -1254,7 +1254,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 \RectorPrefix20220519\Symfony\Component\Process\Exception\RuntimeException(\sprintf('Unable to kill the process (%s).', \implode(' ', $output))); + throw new \RectorPrefix20220520\Symfony\Component\Process\Exception\RuntimeException(\sprintf('Unable to kill the process (%s).', \implode(' ', $output))); } return \false; } @@ -1268,7 +1268,7 @@ class Process implements \IteratorAggregate } if (!$ok) { if ($throwException) { - throw new \RectorPrefix20220519\Symfony\Component\Process\Exception\RuntimeException(\sprintf('Error while sending signal "%s".', $signal)); + throw new \RectorPrefix20220520\Symfony\Component\Process\Exception\RuntimeException(\sprintf('Error while sending signal "%s".', $signal)); } return \false; } @@ -1323,7 +1323,7 @@ class Process implements \IteratorAggregate private function requireProcessIsStarted(string $functionName) { if (!$this->isStarted()) { - throw new \RectorPrefix20220519\Symfony\Component\Process\Exception\LogicException(\sprintf('Process must be started before calling "%s()".', $functionName)); + throw new \RectorPrefix20220520\Symfony\Component\Process\Exception\LogicException(\sprintf('Process must be started before calling "%s()".', $functionName)); } } /** @@ -1334,7 +1334,7 @@ class Process implements \IteratorAggregate private function requireProcessIsTerminated(string $functionName) { if (!$this->isTerminated()) { - throw new \RectorPrefix20220519\Symfony\Component\Process\Exception\LogicException(\sprintf('Process must be terminated before calling "%s()".', $functionName)); + throw new \RectorPrefix20220520\Symfony\Component\Process\Exception\LogicException(\sprintf('Process must be terminated before calling "%s()".', $functionName)); } } /** @@ -1361,7 +1361,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 \RectorPrefix20220519\Symfony\Component\Process\Exception\InvalidArgumentException(\sprintf('Command line is missing a value for parameter "%s": ', $matches[1]) . $commandline); + throw new \RectorPrefix20220520\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); diff --git a/vendor/symfony/process/ProcessUtils.php b/vendor/symfony/process/ProcessUtils.php index 4707dcf1eea..45b7718cf16 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 RectorPrefix20220519\Symfony\Component\Process; +namespace RectorPrefix20220520\Symfony\Component\Process; -use RectorPrefix20220519\Symfony\Component\Process\Exception\InvalidArgumentException; +use RectorPrefix20220520\Symfony\Component\Process\Exception\InvalidArgumentException; /** * ProcessUtils is a bunch of utility methods. * @@ -47,7 +47,7 @@ class ProcessUtils if (\is_scalar($input)) { return (string) $input; } - if ($input instanceof \RectorPrefix20220519\Symfony\Component\Process\Process) { + if ($input instanceof \RectorPrefix20220520\Symfony\Component\Process\Process) { return $input->getIterator($input::ITER_SKIP_ERR); } if ($input instanceof \Iterator) { @@ -56,7 +56,7 @@ class ProcessUtils if ($input instanceof \Traversable) { return new \IteratorIterator($input); } - throw new \RectorPrefix20220519\Symfony\Component\Process\Exception\InvalidArgumentException(\sprintf('"%s" only accepts strings, Traversable objects or stream resources.', $caller)); + throw new \RectorPrefix20220520\Symfony\Component\Process\Exception\InvalidArgumentException(\sprintf('"%s" only accepts strings, Traversable objects or stream resources.', $caller)); } return $input; } diff --git a/vendor/symfony/process/composer.json b/vendor/symfony/process/composer.json index b5b0c49d159..9702e5fedf1 100644 --- a/vendor/symfony/process/composer.json +++ b/vendor/symfony/process/composer.json @@ -20,7 +20,7 @@ }, "autoload": { "psr-4": { - "RectorPrefix20220519\\Symfony\\Component\\Process\\": "" + "RectorPrefix20220520\\Symfony\\Component\\Process\\": "" }, "exclude-from-classmap": [ "\/Tests\/" diff --git a/vendor/symfony/string/AbstractString.php b/vendor/symfony/string/AbstractString.php index 02c3c423fb3..2d321008e9f 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 RectorPrefix20220519\Symfony\Component\String; +namespace RectorPrefix20220520\Symfony\Component\String; -use RectorPrefix20220519\Symfony\Component\String\Exception\ExceptionInterface; -use RectorPrefix20220519\Symfony\Component\String\Exception\InvalidArgumentException; -use RectorPrefix20220519\Symfony\Component\String\Exception\RuntimeException; +use RectorPrefix20220520\Symfony\Component\String\Exception\ExceptionInterface; +use RectorPrefix20220520\Symfony\Component\String\Exception\InvalidArgumentException; +use RectorPrefix20220520\Symfony\Component\String\Exception\RuntimeException; /** * Represents a string of abstract characters. * @@ -374,7 +374,7 @@ abstract class AbstractString implements \JsonSerializable public function repeat(int $multiplier) { if (0 > $multiplier) { - throw new \RectorPrefix20220519\Symfony\Component\String\Exception\InvalidArgumentException(\sprintf('Multiplier must be positive, %d given.', $multiplier)); + throw new \RectorPrefix20220520\Symfony\Component\String\Exception\InvalidArgumentException(\sprintf('Multiplier must be positive, %d given.', $multiplier)); } $str = clone $this; $str->string = \str_repeat($str->string, $multiplier); @@ -417,17 +417,17 @@ abstract class AbstractString implements \JsonSerializable $delimiter .= 'i'; } \set_error_handler(static function ($t, $m) { - throw new \RectorPrefix20220519\Symfony\Component\String\Exception\InvalidArgumentException($m); + throw new \RectorPrefix20220520\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 \RectorPrefix20220519\Symfony\Component\String\Exception\RuntimeException('Splitting failed with ' . $k . '.'); + throw new \RectorPrefix20220520\Symfony\Component\String\Exception\RuntimeException('Splitting failed with ' . $k . '.'); } } - throw new \RectorPrefix20220519\Symfony\Component\String\Exception\RuntimeException('Splitting failed with unknown error code.'); + throw new \RectorPrefix20220520\Symfony\Component\String\Exception\RuntimeException('Splitting failed with unknown error code.'); } } finally { \restore_error_handler(); @@ -465,21 +465,21 @@ abstract class AbstractString implements \JsonSerializable * @return $this */ public abstract function title(bool $allWords = \false); - public function toByteString(string $toEncoding = null) : \RectorPrefix20220519\Symfony\Component\String\ByteString + public function toByteString(string $toEncoding = null) : \RectorPrefix20220520\Symfony\Component\String\ByteString { - $b = new \RectorPrefix20220519\Symfony\Component\String\ByteString(); + $b = new \RectorPrefix20220520\Symfony\Component\String\ByteString(); $toEncoding = \in_array($toEncoding, ['utf8', 'utf-8', 'UTF8'], \true) ? 'UTF-8' : $toEncoding; - if (null === $toEncoding || $toEncoding === ($fromEncoding = $this instanceof \RectorPrefix20220519\Symfony\Component\String\AbstractUnicodeString || \preg_match('//u', $b->string) ? 'UTF-8' : 'Windows-1252')) { + if (null === $toEncoding || $toEncoding === ($fromEncoding = $this instanceof \RectorPrefix20220520\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 \RectorPrefix20220519\Symfony\Component\String\Exception\InvalidArgumentException($m); + throw new \RectorPrefix20220520\Symfony\Component\String\Exception\InvalidArgumentException($m); }); try { try { $b->string = \mb_convert_encoding($this->string, $toEncoding, 'UTF-8'); - } catch (\RectorPrefix20220519\Symfony\Component\String\Exception\InvalidArgumentException $e) { + } catch (\RectorPrefix20220520\Symfony\Component\String\Exception\InvalidArgumentException $e) { if (!\function_exists('iconv')) { throw $e; } @@ -490,17 +490,17 @@ abstract class AbstractString implements \JsonSerializable } return $b; } - public function toCodePointString() : \RectorPrefix20220519\Symfony\Component\String\CodePointString + public function toCodePointString() : \RectorPrefix20220520\Symfony\Component\String\CodePointString { - return new \RectorPrefix20220519\Symfony\Component\String\CodePointString($this->string); + return new \RectorPrefix20220520\Symfony\Component\String\CodePointString($this->string); } public function toString() : string { return $this->string; } - public function toUnicodeString() : \RectorPrefix20220519\Symfony\Component\String\UnicodeString + public function toUnicodeString() : \RectorPrefix20220520\Symfony\Component\String\UnicodeString { - return new \RectorPrefix20220519\Symfony\Component\String\UnicodeString($this->string); + return new \RectorPrefix20220520\Symfony\Component\String\UnicodeString($this->string); } /** * @return $this diff --git a/vendor/symfony/string/AbstractUnicodeString.php b/vendor/symfony/string/AbstractUnicodeString.php index 1c11c980457..637055b4f3b 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 RectorPrefix20220519\Symfony\Component\String; +namespace RectorPrefix20220520\Symfony\Component\String; -use RectorPrefix20220519\Symfony\Component\String\Exception\ExceptionInterface; -use RectorPrefix20220519\Symfony\Component\String\Exception\InvalidArgumentException; -use RectorPrefix20220519\Symfony\Component\String\Exception\RuntimeException; +use RectorPrefix20220520\Symfony\Component\String\Exception\ExceptionInterface; +use RectorPrefix20220520\Symfony\Component\String\Exception\InvalidArgumentException; +use RectorPrefix20220520\Symfony\Component\String\Exception\RuntimeException; /** * Represents a string of abstract Unicode characters. * @@ -24,7 +24,7 @@ use RectorPrefix20220519\Symfony\Component\String\Exception\RuntimeException; * * @throws ExceptionInterface */ -abstract class AbstractUnicodeString extends \RectorPrefix20220519\Symfony\Component\String\AbstractString +abstract class AbstractUnicodeString extends \RectorPrefix20220520\Symfony\Component\String\AbstractString { public const NFC = \Normalizer::NFC; public const NFD = \Normalizer::NFD; @@ -114,7 +114,7 @@ abstract class AbstractUnicodeString extends \RectorPrefix20220519\Symfony\Compo $transliterator = self::$transliterators[$rule] ?? (self::$transliterators[$rule] = \Transliterator::create($rule)); } if (null === $transliterator) { - throw new \RectorPrefix20220519\Symfony\Component\String\Exception\InvalidArgumentException(\sprintf('Unknown transliteration rule "%s".', $rule)); + throw new \RectorPrefix20220520\Symfony\Component\String\Exception\InvalidArgumentException(\sprintf('Unknown transliteration rule "%s".', $rule)); } self::$transliterators['any-latin/bgn'] = $transliterator; } @@ -184,7 +184,7 @@ abstract class AbstractUnicodeString extends \RectorPrefix20220519\Symfony\Compo $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 \RectorPrefix20220519\Symfony\Component\String\Exception\InvalidArgumentException('Invalid UTF-8 string.'); + throw new \RectorPrefix20220520\Symfony\Component\String\Exception\InvalidArgumentException('Invalid UTF-8 string.'); } return $str; } @@ -204,17 +204,17 @@ abstract class AbstractUnicodeString extends \RectorPrefix20220519\Symfony\Compo $regexp .= 'i'; } \set_error_handler(static function ($t, $m) { - throw new \RectorPrefix20220519\Symfony\Component\String\Exception\InvalidArgumentException($m); + throw new \RectorPrefix20220520\Symfony\Component\String\Exception\InvalidArgumentException($m); }); try { if (\false === $match($regexp . 'u', $this->string, $matches, $flags | \PREG_UNMATCHED_AS_NULL, $offset)) { $lastError = \preg_last_error(); foreach (\get_defined_constants(\true)['pcre'] as $k => $v) { if ($lastError === $v && '_ERROR' === \substr($k, -6)) { - throw new \RectorPrefix20220519\Symfony\Component\String\Exception\RuntimeException('Matching failed with ' . $k . '.'); + throw new \RectorPrefix20220520\Symfony\Component\String\Exception\RuntimeException('Matching failed with ' . $k . '.'); } } - throw new \RectorPrefix20220519\Symfony\Component\String\Exception\RuntimeException('Matching failed with unknown error code.'); + throw new \RectorPrefix20220520\Symfony\Component\String\Exception\RuntimeException('Matching failed with unknown error code.'); } } finally { \restore_error_handler(); @@ -227,7 +227,7 @@ abstract class AbstractUnicodeString extends \RectorPrefix20220519\Symfony\Compo public function normalize(int $form = self::NFC) { if (!\in_array($form, [self::NFC, self::NFD, self::NFKC, self::NFKD])) { - throw new \RectorPrefix20220519\Symfony\Component\String\Exception\InvalidArgumentException('Unsupported normalization form.'); + throw new \RectorPrefix20220520\Symfony\Component\String\Exception\InvalidArgumentException('Unsupported normalization form.'); } $str = clone $this; \normalizer_is_normalized($str->string, $form) ?: ($str->string = \normalizer_normalize($str->string, $form)); @@ -239,7 +239,7 @@ abstract class AbstractUnicodeString extends \RectorPrefix20220519\Symfony\Compo public function padBoth(int $length, string $padStr = ' ') { if ('' === $padStr || !\preg_match('//u', $padStr)) { - throw new \RectorPrefix20220519\Symfony\Component\String\Exception\InvalidArgumentException('Invalid UTF-8 string.'); + throw new \RectorPrefix20220520\Symfony\Component\String\Exception\InvalidArgumentException('Invalid UTF-8 string.'); } $pad = clone $this; $pad->string = $padStr; @@ -251,7 +251,7 @@ abstract class AbstractUnicodeString extends \RectorPrefix20220519\Symfony\Compo public function padEnd(int $length, string $padStr = ' ') { if ('' === $padStr || !\preg_match('//u', $padStr)) { - throw new \RectorPrefix20220519\Symfony\Component\String\Exception\InvalidArgumentException('Invalid UTF-8 string.'); + throw new \RectorPrefix20220520\Symfony\Component\String\Exception\InvalidArgumentException('Invalid UTF-8 string.'); } $pad = clone $this; $pad->string = $padStr; @@ -263,7 +263,7 @@ abstract class AbstractUnicodeString extends \RectorPrefix20220519\Symfony\Compo public function padStart(int $length, string $padStr = ' ') { if ('' === $padStr || !\preg_match('//u', $padStr)) { - throw new \RectorPrefix20220519\Symfony\Component\String\Exception\InvalidArgumentException('Invalid UTF-8 string.'); + throw new \RectorPrefix20220520\Symfony\Component\String\Exception\InvalidArgumentException('Invalid UTF-8 string.'); } $pad = clone $this; $pad->string = $padStr; @@ -283,27 +283,27 @@ abstract class AbstractUnicodeString extends \RectorPrefix20220519\Symfony\Compo $to = static function (array $m) use($to) : string { $to = $to($m); if ('' !== $to && (!\is_string($to) || !\preg_match('//u', $to))) { - throw new \RectorPrefix20220519\Symfony\Component\String\Exception\InvalidArgumentException('Replace callback must return a valid UTF-8 string.'); + throw new \RectorPrefix20220520\Symfony\Component\String\Exception\InvalidArgumentException('Replace callback must return a valid UTF-8 string.'); } return $to; }; } elseif ('' !== $to && !\preg_match('//u', $to)) { - throw new \RectorPrefix20220519\Symfony\Component\String\Exception\InvalidArgumentException('Invalid UTF-8 string.'); + throw new \RectorPrefix20220520\Symfony\Component\String\Exception\InvalidArgumentException('Invalid UTF-8 string.'); } else { $replace = 'preg_replace'; } \set_error_handler(static function ($t, $m) { - throw new \RectorPrefix20220519\Symfony\Component\String\Exception\InvalidArgumentException($m); + throw new \RectorPrefix20220520\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 \RectorPrefix20220519\Symfony\Component\String\Exception\RuntimeException('Matching failed with ' . $k . '.'); + throw new \RectorPrefix20220520\Symfony\Component\String\Exception\RuntimeException('Matching failed with ' . $k . '.'); } } - throw new \RectorPrefix20220519\Symfony\Component\String\Exception\RuntimeException('Matching failed with unknown error code.'); + throw new \RectorPrefix20220520\Symfony\Component\String\Exception\RuntimeException('Matching failed with unknown error code.'); } } finally { \restore_error_handler(); @@ -348,7 +348,7 @@ abstract class AbstractUnicodeString extends \RectorPrefix20220519\Symfony\Compo public function trim(string $chars = " \t\n\r\0\v\f ") { if (" \t\n\r\0\v\f " !== $chars && !\preg_match('//u', $chars)) { - throw new \RectorPrefix20220519\Symfony\Component\String\Exception\InvalidArgumentException('Invalid UTF-8 chars.'); + throw new \RectorPrefix20220520\Symfony\Component\String\Exception\InvalidArgumentException('Invalid UTF-8 chars.'); } $chars = \preg_quote($chars); $str = clone $this; @@ -361,7 +361,7 @@ abstract class AbstractUnicodeString extends \RectorPrefix20220519\Symfony\Compo public function trimEnd(string $chars = " \t\n\r\0\v\f ") { if (" \t\n\r\0\v\f " !== $chars && !\preg_match('//u', $chars)) { - throw new \RectorPrefix20220519\Symfony\Component\String\Exception\InvalidArgumentException('Invalid UTF-8 chars.'); + throw new \RectorPrefix20220520\Symfony\Component\String\Exception\InvalidArgumentException('Invalid UTF-8 chars.'); } $chars = \preg_quote($chars); $str = clone $this; @@ -392,7 +392,7 @@ abstract class AbstractUnicodeString extends \RectorPrefix20220519\Symfony\Compo public function trimStart(string $chars = " \t\n\r\0\v\f ") { if (" \t\n\r\0\v\f " !== $chars && !\preg_match('//u', $chars)) { - throw new \RectorPrefix20220519\Symfony\Component\String\Exception\InvalidArgumentException('Invalid UTF-8 chars.'); + throw new \RectorPrefix20220520\Symfony\Component\String\Exception\InvalidArgumentException('Invalid UTF-8 chars.'); } $chars = \preg_quote($chars); $str = clone $this; @@ -475,7 +475,7 @@ abstract class AbstractUnicodeString extends \RectorPrefix20220519\Symfony\Compo $len = $leftLen % $padLen; return $str->prepend(\str_repeat($pad->string, \intdiv($leftLen, $padLen)) . ($len ? $pad->slice(0, $len) : '')); default: - throw new \RectorPrefix20220519\Symfony\Component\String\Exception\InvalidArgumentException('Invalid padding type.'); + throw new \RectorPrefix20220520\Symfony\Component\String\Exception\InvalidArgumentException('Invalid padding type.'); } } /** diff --git a/vendor/symfony/string/ByteString.php b/vendor/symfony/string/ByteString.php index 7994032a69e..99d67843ad3 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 RectorPrefix20220519\Symfony\Component\String; +namespace RectorPrefix20220520\Symfony\Component\String; -use RectorPrefix20220519\Symfony\Component\String\Exception\ExceptionInterface; -use RectorPrefix20220519\Symfony\Component\String\Exception\InvalidArgumentException; -use RectorPrefix20220519\Symfony\Component\String\Exception\RuntimeException; +use RectorPrefix20220520\Symfony\Component\String\Exception\ExceptionInterface; +use RectorPrefix20220520\Symfony\Component\String\Exception\InvalidArgumentException; +use RectorPrefix20220520\Symfony\Component\String\Exception\RuntimeException; /** * Represents a binary-safe string of bytes. * @@ -21,7 +21,7 @@ use RectorPrefix20220519\Symfony\Component\String\Exception\RuntimeException; * * @throws ExceptionInterface */ -class ByteString extends \RectorPrefix20220519\Symfony\Component\String\AbstractString +class ByteString extends \RectorPrefix20220520\Symfony\Component\String\AbstractString { private const ALPHABET_ALPHANUMERIC = '123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz'; public function __construct(string $string = '') @@ -40,13 +40,13 @@ class ByteString extends \RectorPrefix20220519\Symfony\Component\String\Abstract public static function fromRandom(int $length = 16, string $alphabet = null) : self { if ($length <= 0) { - throw new \RectorPrefix20220519\Symfony\Component\String\Exception\InvalidArgumentException(\sprintf('A strictly positive length is expected, "%d" given.', $length)); + throw new \RectorPrefix20220520\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 \RectorPrefix20220519\Symfony\Component\String\Exception\InvalidArgumentException('The length of the alphabet must in the [2^1, 2^56] range.'); + throw new \RectorPrefix20220520\Symfony\Component\String\Exception\InvalidArgumentException('The length of the alphabet must in the [2^1, 2^56] range.'); } $ret = ''; while ($length > 0) { @@ -101,7 +101,7 @@ class ByteString extends \RectorPrefix20220519\Symfony\Component\String\Abstract public function chunk(int $length = 1) : array { if (1 > $length) { - throw new \RectorPrefix20220519\Symfony\Component\String\Exception\InvalidArgumentException('The chunk length must be greater than zero.'); + throw new \RectorPrefix20220520\Symfony\Component\String\Exception\InvalidArgumentException('The chunk length must be greater than zero.'); } if ('' === $this->string) { return []; @@ -119,7 +119,7 @@ class ByteString extends \RectorPrefix20220519\Symfony\Component\String\Abstract */ public function endsWith($suffix) : bool { - if ($suffix instanceof \RectorPrefix20220519\Symfony\Component\String\AbstractString) { + if ($suffix instanceof \RectorPrefix20220520\Symfony\Component\String\AbstractString) { $suffix = $suffix->string; } elseif (!\is_string($suffix)) { return parent::endsWith($suffix); @@ -131,7 +131,7 @@ class ByteString extends \RectorPrefix20220519\Symfony\Component\String\Abstract */ public function equalsTo($string) : bool { - if ($string instanceof \RectorPrefix20220519\Symfony\Component\String\AbstractString) { + if ($string instanceof \RectorPrefix20220520\Symfony\Component\String\AbstractString) { $string = $string->string; } elseif (!\is_string($string)) { return parent::equalsTo($string); @@ -155,7 +155,7 @@ class ByteString extends \RectorPrefix20220519\Symfony\Component\String\Abstract */ public function indexOf($needle, int $offset = 0) : ?int { - if ($needle instanceof \RectorPrefix20220519\Symfony\Component\String\AbstractString) { + if ($needle instanceof \RectorPrefix20220520\Symfony\Component\String\AbstractString) { $needle = $needle->string; } elseif (!\is_string($needle)) { return parent::indexOf($needle, $offset); @@ -171,7 +171,7 @@ class ByteString extends \RectorPrefix20220519\Symfony\Component\String\Abstract */ public function indexOfLast($needle, int $offset = 0) : ?int { - if ($needle instanceof \RectorPrefix20220519\Symfony\Component\String\AbstractString) { + if ($needle instanceof \RectorPrefix20220520\Symfony\Component\String\AbstractString) { $needle = $needle->string; } elseif (!\is_string($needle)) { return parent::indexOfLast($needle, $offset); @@ -216,17 +216,17 @@ class ByteString extends \RectorPrefix20220519\Symfony\Component\String\Abstract $regexp .= 'i'; } \set_error_handler(static function ($t, $m) { - throw new \RectorPrefix20220519\Symfony\Component\String\Exception\InvalidArgumentException($m); + throw new \RectorPrefix20220520\Symfony\Component\String\Exception\InvalidArgumentException($m); }); try { if (\false === $match($regexp, $this->string, $matches, $flags | \PREG_UNMATCHED_AS_NULL, $offset)) { $lastError = \preg_last_error(); foreach (\get_defined_constants(\true)['pcre'] as $k => $v) { if ($lastError === $v && '_ERROR' === \substr($k, -6)) { - throw new \RectorPrefix20220519\Symfony\Component\String\Exception\RuntimeException('Matching failed with ' . $k . '.'); + throw new \RectorPrefix20220520\Symfony\Component\String\Exception\RuntimeException('Matching failed with ' . $k . '.'); } } - throw new \RectorPrefix20220519\Symfony\Component\String\Exception\RuntimeException('Matching failed with unknown error code.'); + throw new \RectorPrefix20220520\Symfony\Component\String\Exception\RuntimeException('Matching failed with unknown error code.'); } } finally { \restore_error_handler(); @@ -291,17 +291,17 @@ class ByteString extends \RectorPrefix20220519\Symfony\Component\String\Abstract } $replace = \is_array($to) || $to instanceof \Closure ? 'preg_replace_callback' : 'preg_replace'; \set_error_handler(static function ($t, $m) { - throw new \RectorPrefix20220519\Symfony\Component\String\Exception\InvalidArgumentException($m); + throw new \RectorPrefix20220520\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 \RectorPrefix20220519\Symfony\Component\String\Exception\RuntimeException('Matching failed with ' . $k . '.'); + throw new \RectorPrefix20220520\Symfony\Component\String\Exception\RuntimeException('Matching failed with ' . $k . '.'); } } - throw new \RectorPrefix20220519\Symfony\Component\String\Exception\RuntimeException('Matching failed with unknown error code.'); + throw new \RectorPrefix20220520\Symfony\Component\String\Exception\RuntimeException('Matching failed with unknown error code.'); } } finally { \restore_error_handler(); @@ -349,10 +349,10 @@ class ByteString extends \RectorPrefix20220519\Symfony\Component\String\Abstract public function split(string $delimiter, int $limit = null, int $flags = null) : array { if (1 > ($limit = $limit ?? \PHP_INT_MAX)) { - throw new \RectorPrefix20220519\Symfony\Component\String\Exception\InvalidArgumentException('Split limit must be a positive integer.'); + throw new \RectorPrefix20220520\Symfony\Component\String\Exception\InvalidArgumentException('Split limit must be a positive integer.'); } if ('' === $delimiter) { - throw new \RectorPrefix20220519\Symfony\Component\String\Exception\InvalidArgumentException('Split delimiter is empty.'); + throw new \RectorPrefix20220520\Symfony\Component\String\Exception\InvalidArgumentException('Split delimiter is empty.'); } if (null !== $flags) { return parent::split($delimiter, $limit, $flags); @@ -370,7 +370,7 @@ class ByteString extends \RectorPrefix20220519\Symfony\Component\String\Abstract */ public function startsWith($prefix) : bool { - if ($prefix instanceof \RectorPrefix20220519\Symfony\Component\String\AbstractString) { + if ($prefix instanceof \RectorPrefix20220520\Symfony\Component\String\AbstractString) { $prefix = $prefix->string; } elseif (!\is_string($prefix)) { return parent::startsWith($prefix); @@ -386,24 +386,24 @@ class ByteString extends \RectorPrefix20220519\Symfony\Component\String\Abstract $str->string = $allWords ? \ucwords($str->string) : \ucfirst($str->string); return $str; } - public function toUnicodeString(string $fromEncoding = null) : \RectorPrefix20220519\Symfony\Component\String\UnicodeString + public function toUnicodeString(string $fromEncoding = null) : \RectorPrefix20220520\Symfony\Component\String\UnicodeString { - return new \RectorPrefix20220519\Symfony\Component\String\UnicodeString($this->toCodePointString($fromEncoding)->string); + return new \RectorPrefix20220520\Symfony\Component\String\UnicodeString($this->toCodePointString($fromEncoding)->string); } - public function toCodePointString(string $fromEncoding = null) : \RectorPrefix20220519\Symfony\Component\String\CodePointString + public function toCodePointString(string $fromEncoding = null) : \RectorPrefix20220520\Symfony\Component\String\CodePointString { - $u = new \RectorPrefix20220519\Symfony\Component\String\CodePointString(); + $u = new \RectorPrefix20220520\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 \RectorPrefix20220519\Symfony\Component\String\Exception\InvalidArgumentException($m); + throw new \RectorPrefix20220520\Symfony\Component\String\Exception\InvalidArgumentException($m); }); try { try { $validEncoding = \false !== \mb_detect_encoding($this->string, $fromEncoding ?? 'Windows-1252', \true); - } catch (\RectorPrefix20220519\Symfony\Component\String\Exception\InvalidArgumentException $e) { + } catch (\RectorPrefix20220520\Symfony\Component\String\Exception\InvalidArgumentException $e) { if (!\function_exists('iconv')) { throw $e; } @@ -414,7 +414,7 @@ class ByteString extends \RectorPrefix20220519\Symfony\Component\String\Abstract \restore_error_handler(); } if (!$validEncoding) { - throw new \RectorPrefix20220519\Symfony\Component\String\Exception\InvalidArgumentException(\sprintf('Invalid "%s" string.', $fromEncoding ?? 'Windows-1252')); + throw new \RectorPrefix20220520\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; @@ -458,6 +458,6 @@ class ByteString extends \RectorPrefix20220519\Symfony\Component\String\Abstract public function width(bool $ignoreAnsiDecoration = \true) : int { $string = \preg_match('//u', $this->string) ? $this->string : \preg_replace('/[\\x80-\\xFF]/', '?', $this->string); - return (new \RectorPrefix20220519\Symfony\Component\String\CodePointString($string))->width($ignoreAnsiDecoration); + return (new \RectorPrefix20220520\Symfony\Component\String\CodePointString($string))->width($ignoreAnsiDecoration); } } diff --git a/vendor/symfony/string/CodePointString.php b/vendor/symfony/string/CodePointString.php index af1dde86606..7f7d23d5434 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 RectorPrefix20220519\Symfony\Component\String; +namespace RectorPrefix20220520\Symfony\Component\String; -use RectorPrefix20220519\Symfony\Component\String\Exception\ExceptionInterface; -use RectorPrefix20220519\Symfony\Component\String\Exception\InvalidArgumentException; +use RectorPrefix20220520\Symfony\Component\String\Exception\ExceptionInterface; +use RectorPrefix20220520\Symfony\Component\String\Exception\InvalidArgumentException; /** * Represents a string of Unicode code points encoded as UTF-8. * @@ -20,12 +20,12 @@ use RectorPrefix20220519\Symfony\Component\String\Exception\InvalidArgumentExcep * * @throws ExceptionInterface */ -class CodePointString extends \RectorPrefix20220519\Symfony\Component\String\AbstractUnicodeString +class CodePointString extends \RectorPrefix20220520\Symfony\Component\String\AbstractUnicodeString { public function __construct(string $string = '') { if ('' !== $string && !\preg_match('//u', $string)) { - throw new \RectorPrefix20220519\Symfony\Component\String\Exception\InvalidArgumentException('Invalid UTF-8 string.'); + throw new \RectorPrefix20220520\Symfony\Component\String\Exception\InvalidArgumentException('Invalid UTF-8 string.'); } $this->string = $string; } @@ -37,14 +37,14 @@ class CodePointString extends \RectorPrefix20220519\Symfony\Component\String\Abs $str = clone $this; $str->string .= 1 >= \count($suffix) ? $suffix[0] ?? '' : \implode('', $suffix); if (!\preg_match('//u', $str->string)) { - throw new \RectorPrefix20220519\Symfony\Component\String\Exception\InvalidArgumentException('Invalid UTF-8 string.'); + throw new \RectorPrefix20220520\Symfony\Component\String\Exception\InvalidArgumentException('Invalid UTF-8 string.'); } return $str; } public function chunk(int $length = 1) : array { if (1 > $length) { - throw new \RectorPrefix20220519\Symfony\Component\String\Exception\InvalidArgumentException('The chunk length must be greater than zero.'); + throw new \RectorPrefix20220520\Symfony\Component\String\Exception\InvalidArgumentException('The chunk length must be greater than zero.'); } if ('' === $this->string) { return []; @@ -73,7 +73,7 @@ class CodePointString extends \RectorPrefix20220519\Symfony\Component\String\Abs */ public function endsWith($suffix) : bool { - if ($suffix instanceof \RectorPrefix20220519\Symfony\Component\String\AbstractString) { + if ($suffix instanceof \RectorPrefix20220520\Symfony\Component\String\AbstractString) { $suffix = $suffix->string; } elseif (!\is_string($suffix)) { return parent::endsWith($suffix); @@ -91,7 +91,7 @@ class CodePointString extends \RectorPrefix20220519\Symfony\Component\String\Abs */ public function equalsTo($string) : bool { - if ($string instanceof \RectorPrefix20220519\Symfony\Component\String\AbstractString) { + if ($string instanceof \RectorPrefix20220520\Symfony\Component\String\AbstractString) { $string = $string->string; } elseif (!\is_string($string)) { return parent::equalsTo($string); @@ -106,7 +106,7 @@ class CodePointString extends \RectorPrefix20220519\Symfony\Component\String\Abs */ public function indexOf($needle, int $offset = 0) : ?int { - if ($needle instanceof \RectorPrefix20220519\Symfony\Component\String\AbstractString) { + if ($needle instanceof \RectorPrefix20220520\Symfony\Component\String\AbstractString) { $needle = $needle->string; } elseif (!\is_string($needle)) { return parent::indexOf($needle, $offset); @@ -122,7 +122,7 @@ class CodePointString extends \RectorPrefix20220519\Symfony\Component\String\Abs */ public function indexOfLast($needle, int $offset = 0) : ?int { - if ($needle instanceof \RectorPrefix20220519\Symfony\Component\String\AbstractString) { + if ($needle instanceof \RectorPrefix20220520\Symfony\Component\String\AbstractString) { $needle = $needle->string; } elseif (!\is_string($needle)) { return parent::indexOfLast($needle, $offset); @@ -145,7 +145,7 @@ class CodePointString extends \RectorPrefix20220519\Symfony\Component\String\Abs $str = clone $this; $str->string = (1 >= \count($prefix) ? $prefix[0] ?? '' : \implode('', $prefix)) . $this->string; if (!\preg_match('//u', $str->string)) { - throw new \RectorPrefix20220519\Symfony\Component\String\Exception\InvalidArgumentException('Invalid UTF-8 string.'); + throw new \RectorPrefix20220520\Symfony\Component\String\Exception\InvalidArgumentException('Invalid UTF-8 string.'); } return $str; } @@ -159,7 +159,7 @@ class CodePointString extends \RectorPrefix20220519\Symfony\Component\String\Abs return $str; } if ('' !== $to && !\preg_match('//u', $to)) { - throw new \RectorPrefix20220519\Symfony\Component\String\Exception\InvalidArgumentException('Invalid UTF-8 string.'); + throw new \RectorPrefix20220520\Symfony\Component\String\Exception\InvalidArgumentException('Invalid UTF-8 string.'); } if ($this->ignoreCase) { $str->string = \implode($to, \preg_split('{' . \preg_quote($from) . '}iuD', $this->string)); @@ -183,7 +183,7 @@ class CodePointString extends \RectorPrefix20220519\Symfony\Component\String\Abs public function splice(string $replacement, int $start = 0, int $length = null) { if (!\preg_match('//u', $replacement)) { - throw new \RectorPrefix20220519\Symfony\Component\String\Exception\InvalidArgumentException('Invalid UTF-8 string.'); + throw new \RectorPrefix20220520\Symfony\Component\String\Exception\InvalidArgumentException('Invalid UTF-8 string.'); } $str = clone $this; $start = $start ? \strlen(\mb_substr($this->string, 0, $start, 'UTF-8')) : 0; @@ -194,16 +194,16 @@ class CodePointString extends \RectorPrefix20220519\Symfony\Component\String\Abs public function split(string $delimiter, int $limit = null, int $flags = null) : array { if (1 > ($limit = $limit ?? \PHP_INT_MAX)) { - throw new \RectorPrefix20220519\Symfony\Component\String\Exception\InvalidArgumentException('Split limit must be a positive integer.'); + throw new \RectorPrefix20220520\Symfony\Component\String\Exception\InvalidArgumentException('Split limit must be a positive integer.'); } if ('' === $delimiter) { - throw new \RectorPrefix20220519\Symfony\Component\String\Exception\InvalidArgumentException('Split delimiter is empty.'); + throw new \RectorPrefix20220520\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 \RectorPrefix20220519\Symfony\Component\String\Exception\InvalidArgumentException('Split delimiter is not a valid UTF-8 string.'); + throw new \RectorPrefix20220520\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); @@ -218,7 +218,7 @@ class CodePointString extends \RectorPrefix20220519\Symfony\Component\String\Abs */ public function startsWith($prefix) : bool { - if ($prefix instanceof \RectorPrefix20220519\Symfony\Component\String\AbstractString) { + if ($prefix instanceof \RectorPrefix20220520\Symfony\Component\String\AbstractString) { $prefix = $prefix->string; } elseif (!\is_string($prefix)) { return parent::startsWith($prefix); diff --git a/vendor/symfony/string/Exception/ExceptionInterface.php b/vendor/symfony/string/Exception/ExceptionInterface.php index 395b963e33f..75a10c27742 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 RectorPrefix20220519\Symfony\Component\String\Exception; +namespace RectorPrefix20220520\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 8f8d62428ca..d6a396d98c2 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 RectorPrefix20220519\Symfony\Component\String\Exception; +namespace RectorPrefix20220520\Symfony\Component\String\Exception; -class InvalidArgumentException extends \InvalidArgumentException implements \RectorPrefix20220519\Symfony\Component\String\Exception\ExceptionInterface +class InvalidArgumentException extends \InvalidArgumentException implements \RectorPrefix20220520\Symfony\Component\String\Exception\ExceptionInterface { } diff --git a/vendor/symfony/string/Exception/RuntimeException.php b/vendor/symfony/string/Exception/RuntimeException.php index 0bc7bd76b04..488eee424cb 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 RectorPrefix20220519\Symfony\Component\String\Exception; +namespace RectorPrefix20220520\Symfony\Component\String\Exception; -class RuntimeException extends \RuntimeException implements \RectorPrefix20220519\Symfony\Component\String\Exception\ExceptionInterface +class RuntimeException extends \RuntimeException implements \RectorPrefix20220520\Symfony\Component\String\Exception\ExceptionInterface { } diff --git a/vendor/symfony/string/Inflector/EnglishInflector.php b/vendor/symfony/string/Inflector/EnglishInflector.php index b9e3f42c4b1..1cd237230b2 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 RectorPrefix20220519\Symfony\Component\String\Inflector; +namespace RectorPrefix20220520\Symfony\Component\String\Inflector; -final class EnglishInflector implements \RectorPrefix20220519\Symfony\Component\String\Inflector\InflectorInterface +final class EnglishInflector implements \RectorPrefix20220520\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 5d2f3784727..d22fc2a7025 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 RectorPrefix20220519\Symfony\Component\String\Inflector; +namespace RectorPrefix20220520\Symfony\Component\String\Inflector; /** * French inflector. * * This class does only inflect nouns; not adjectives nor composed words like "soixante-dix". */ -final class FrenchInflector implements \RectorPrefix20220519\Symfony\Component\String\Inflector\InflectorInterface +final class FrenchInflector implements \RectorPrefix20220520\Symfony\Component\String\Inflector\InflectorInterface { /** * A list of all rules for pluralise. @@ -50,8 +50,8 @@ final class FrenchInflector implements \RectorPrefix20220519\Symfony\Component\S // Invariable words ['/^(cinquante|soixante|mille)$/i', '\\1'], // French titles - ['/^(mon|ma)(sieur|dame|demoiselle|seigneur)$/', 'RectorPrefix20220519\\mes\\2s'], - ['/^(Mon|Ma)(sieur|dame|demoiselle|seigneur)$/', 'RectorPrefix20220519\\Mes\\2s'], + ['/^(mon|ma)(sieur|dame|demoiselle|seigneur)$/', 'RectorPrefix20220520\\mes\\2s'], + ['/^(Mon|Ma)(sieur|dame|demoiselle|seigneur)$/', 'RectorPrefix20220520\\Mes\\2s'], ]; /** * A list of all rules for singularize. @@ -77,10 +77,10 @@ final class FrenchInflector implements \RectorPrefix20220519\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$/', 'RectorPrefix20220519\\ma\\1'], - ['/^Mes(dame|demoiselle)s$/', 'RectorPrefix20220519\\Ma\\1'], - ['/^mes(sieur|seigneur)s$/', 'RectorPrefix20220519\\mon\\1'], - ['/^Mes(sieur|seigneur)s$/', 'RectorPrefix20220519\\Mon\\1'], + ['/^mes(dame|demoiselle)s$/', 'RectorPrefix20220520\\ma\\1'], + ['/^Mes(dame|demoiselle)s$/', 'RectorPrefix20220520\\Ma\\1'], + ['/^mes(sieur|seigneur)s$/', 'RectorPrefix20220520\\mon\\1'], + ['/^Mes(sieur|seigneur)s$/', 'RectorPrefix20220520\\Mon\\1'], //Default rule ['/s$/i', ''], ]; diff --git a/vendor/symfony/string/Inflector/InflectorInterface.php b/vendor/symfony/string/Inflector/InflectorInterface.php index df8e028290e..642a78e5355 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 RectorPrefix20220519\Symfony\Component\String\Inflector; +namespace RectorPrefix20220520\Symfony\Component\String\Inflector; interface InflectorInterface { diff --git a/vendor/symfony/string/LazyString.php b/vendor/symfony/string/LazyString.php index 8c83ef1f874..8622a4fe847 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 RectorPrefix20220519\Symfony\Component\String; +namespace RectorPrefix20220520\Symfony\Component\String; /** * A string whose value is computed lazily by a callback. diff --git a/vendor/symfony/string/Resources/data/wcswidth_table_wide.php b/vendor/symfony/string/Resources/data/wcswidth_table_wide.php index 64d3f18de5b..77b86c9fc51 100644 --- a/vendor/symfony/string/Resources/data/wcswidth_table_wide.php +++ b/vendor/symfony/string/Resources/data/wcswidth_table_wide.php @@ -1,6 +1,6 @@ */ -class AsciiSlugger implements \RectorPrefix20220519\Symfony\Component\String\Slugger\SluggerInterface, \RectorPrefix20220519\Symfony\Contracts\Translation\LocaleAwareInterface +class AsciiSlugger implements \RectorPrefix20220520\Symfony\Component\String\Slugger\SluggerInterface, \RectorPrefix20220520\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']; /** @@ -61,7 +61,7 @@ class AsciiSlugger implements \RectorPrefix20220519\Symfony\Component\String\Slu /** * {@inheritdoc} */ - public function slug(string $string, string $separator = '-', string $locale = null) : \RectorPrefix20220519\Symfony\Component\String\AbstractUnicodeString + public function slug(string $string, string $separator = '-', string $locale = null) : \RectorPrefix20220520\Symfony\Component\String\AbstractUnicodeString { $locale = $locale ?? $this->defaultLocale; $transliterator = []; @@ -79,7 +79,7 @@ class AsciiSlugger implements \RectorPrefix20220519\Symfony\Component\String\Slu return $symbolsMap($s, $locale); }); } - $unicodeString = (new \RectorPrefix20220519\Symfony\Component\String\UnicodeString($string))->ascii($transliterator); + $unicodeString = (new \RectorPrefix20220520\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 238adc72b11..9fa074d0780 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 RectorPrefix20220519\Symfony\Component\String\Slugger; +namespace RectorPrefix20220520\Symfony\Component\String\Slugger; -use RectorPrefix20220519\Symfony\Component\String\AbstractUnicodeString; +use RectorPrefix20220520\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) : \RectorPrefix20220519\Symfony\Component\String\AbstractUnicodeString; + public function slug(string $string, string $separator = '-', string $locale = null) : \RectorPrefix20220520\Symfony\Component\String\AbstractUnicodeString; } diff --git a/vendor/symfony/string/UnicodeString.php b/vendor/symfony/string/UnicodeString.php index a31707dacce..10ff38891c4 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 RectorPrefix20220519\Symfony\Component\String; +namespace RectorPrefix20220520\Symfony\Component\String; -use RectorPrefix20220519\Symfony\Component\String\Exception\ExceptionInterface; -use RectorPrefix20220519\Symfony\Component\String\Exception\InvalidArgumentException; +use RectorPrefix20220520\Symfony\Component\String\Exception\ExceptionInterface; +use RectorPrefix20220520\Symfony\Component\String\Exception\InvalidArgumentException; /** * Represents a string of Unicode grapheme clusters encoded as UTF-8. * @@ -28,13 +28,13 @@ use RectorPrefix20220519\Symfony\Component\String\Exception\InvalidArgumentExcep * * @throws ExceptionInterface */ -class UnicodeString extends \RectorPrefix20220519\Symfony\Component\String\AbstractUnicodeString +class UnicodeString extends \RectorPrefix20220520\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 \RectorPrefix20220519\Symfony\Component\String\Exception\InvalidArgumentException('Invalid UTF-8 string.'); + throw new \RectorPrefix20220520\Symfony\Component\String\Exception\InvalidArgumentException('Invalid UTF-8 string.'); } } /** @@ -46,14 +46,14 @@ class UnicodeString extends \RectorPrefix20220519\Symfony\Component\String\Abstr $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 \RectorPrefix20220519\Symfony\Component\String\Exception\InvalidArgumentException('Invalid UTF-8 string.'); + throw new \RectorPrefix20220520\Symfony\Component\String\Exception\InvalidArgumentException('Invalid UTF-8 string.'); } return $str; } public function chunk(int $length = 1) : array { if (1 > $length) { - throw new \RectorPrefix20220519\Symfony\Component\String\Exception\InvalidArgumentException('The chunk length must be greater than zero.'); + throw new \RectorPrefix20220520\Symfony\Component\String\Exception\InvalidArgumentException('The chunk length must be greater than zero.'); } if ('' === $this->string) { return []; @@ -77,7 +77,7 @@ class UnicodeString extends \RectorPrefix20220519\Symfony\Component\String\Abstr */ public function endsWith($suffix) : bool { - if ($suffix instanceof \RectorPrefix20220519\Symfony\Component\String\AbstractString) { + if ($suffix instanceof \RectorPrefix20220520\Symfony\Component\String\AbstractString) { $suffix = $suffix->string; } elseif (!\is_string($suffix)) { return parent::endsWith($suffix); @@ -97,7 +97,7 @@ class UnicodeString extends \RectorPrefix20220519\Symfony\Component\String\Abstr */ public function equalsTo($string) : bool { - if ($string instanceof \RectorPrefix20220519\Symfony\Component\String\AbstractString) { + if ($string instanceof \RectorPrefix20220520\Symfony\Component\String\AbstractString) { $string = $string->string; } elseif (!\is_string($string)) { return parent::equalsTo($string); @@ -114,7 +114,7 @@ class UnicodeString extends \RectorPrefix20220519\Symfony\Component\String\Abstr */ public function indexOf($needle, int $offset = 0) : ?int { - if ($needle instanceof \RectorPrefix20220519\Symfony\Component\String\AbstractString) { + if ($needle instanceof \RectorPrefix20220520\Symfony\Component\String\AbstractString) { $needle = $needle->string; } elseif (!\is_string($needle)) { return parent::indexOf($needle, $offset); @@ -136,7 +136,7 @@ class UnicodeString extends \RectorPrefix20220519\Symfony\Component\String\Abstr */ public function indexOfLast($needle, int $offset = 0) : ?int { - if ($needle instanceof \RectorPrefix20220519\Symfony\Component\String\AbstractString) { + if ($needle instanceof \RectorPrefix20220520\Symfony\Component\String\AbstractString) { $needle = $needle->string; } elseif (!\is_string($needle)) { return parent::indexOfLast($needle, $offset); @@ -179,7 +179,7 @@ class UnicodeString extends \RectorPrefix20220519\Symfony\Component\String\Abstr 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 \RectorPrefix20220519\Symfony\Component\String\Exception\InvalidArgumentException('Unsupported normalization form.'); + throw new \RectorPrefix20220520\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; @@ -195,7 +195,7 @@ class UnicodeString extends \RectorPrefix20220519\Symfony\Component\String\Abstr $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 \RectorPrefix20220519\Symfony\Component\String\Exception\InvalidArgumentException('Invalid UTF-8 string.'); + throw new \RectorPrefix20220520\Symfony\Component\String\Exception\InvalidArgumentException('Invalid UTF-8 string.'); } return $str; } @@ -218,7 +218,7 @@ class UnicodeString extends \RectorPrefix20220519\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 \RectorPrefix20220519\Symfony\Component\String\Exception\InvalidArgumentException('Invalid UTF-8 string.'); + throw new \RectorPrefix20220520\Symfony\Component\String\Exception\InvalidArgumentException('Invalid UTF-8 string.'); } } return $str; @@ -253,24 +253,24 @@ class UnicodeString extends \RectorPrefix20220519\Symfony\Component\String\Abstr $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 \RectorPrefix20220519\Symfony\Component\String\Exception\InvalidArgumentException('Invalid UTF-8 string.'); + throw new \RectorPrefix20220520\Symfony\Component\String\Exception\InvalidArgumentException('Invalid UTF-8 string.'); } return $str; } public function split(string $delimiter, int $limit = null, int $flags = null) : array { if (1 > ($limit = $limit ?? 2147483647)) { - throw new \RectorPrefix20220519\Symfony\Component\String\Exception\InvalidArgumentException('Split limit must be a positive integer.'); + throw new \RectorPrefix20220520\Symfony\Component\String\Exception\InvalidArgumentException('Split limit must be a positive integer.'); } if ('' === $delimiter) { - throw new \RectorPrefix20220519\Symfony\Component\String\Exception\InvalidArgumentException('Split delimiter is empty.'); + throw new \RectorPrefix20220520\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 \RectorPrefix20220519\Symfony\Component\String\Exception\InvalidArgumentException('Split delimiter is not a valid UTF-8 string.'); + throw new \RectorPrefix20220520\Symfony\Component\String\Exception\InvalidArgumentException('Split delimiter is not a valid UTF-8 string.'); } $str = clone $this; $tail = $this->string; @@ -291,7 +291,7 @@ class UnicodeString extends \RectorPrefix20220519\Symfony\Component\String\Abstr */ public function startsWith($prefix) : bool { - if ($prefix instanceof \RectorPrefix20220519\Symfony\Component\String\AbstractString) { + if ($prefix instanceof \RectorPrefix20220520\Symfony\Component\String\AbstractString) { $prefix = $prefix->string; } elseif (!\is_string($prefix)) { return parent::startsWith($prefix); diff --git a/vendor/symfony/string/composer.json b/vendor/symfony/string/composer.json index bb06afdf7eb..d370f6216ff 100644 --- a/vendor/symfony/string/composer.json +++ b/vendor/symfony/string/composer.json @@ -40,7 +40,7 @@ }, "autoload": { "psr-4": { - "RectorPrefix20220519\\Symfony\\Component\\String\\": "" + "RectorPrefix20220520\\Symfony\\Component\\String\\": "" }, "files": [ "Resources\/functions.php" diff --git a/vendor/symfony/yaml/Command/LintCommand.php b/vendor/symfony/yaml/Command/LintCommand.php index d5557b58ea2..67831444f78 100644 --- a/vendor/symfony/yaml/Command/LintCommand.php +++ b/vendor/symfony/yaml/Command/LintCommand.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 RectorPrefix20220519\Symfony\Component\Yaml\Command; +namespace RectorPrefix20220520\Symfony\Component\Yaml\Command; -use RectorPrefix20220519\Symfony\Component\Console\Attribute\AsCommand; -use RectorPrefix20220519\Symfony\Component\Console\CI\GithubActionReporter; -use RectorPrefix20220519\Symfony\Component\Console\Command\Command; -use RectorPrefix20220519\Symfony\Component\Console\Completion\CompletionInput; -use RectorPrefix20220519\Symfony\Component\Console\Completion\CompletionSuggestions; -use RectorPrefix20220519\Symfony\Component\Console\Exception\InvalidArgumentException; -use RectorPrefix20220519\Symfony\Component\Console\Exception\RuntimeException; -use RectorPrefix20220519\Symfony\Component\Console\Input\InputArgument; -use RectorPrefix20220519\Symfony\Component\Console\Input\InputInterface; -use RectorPrefix20220519\Symfony\Component\Console\Input\InputOption; -use RectorPrefix20220519\Symfony\Component\Console\Output\OutputInterface; -use RectorPrefix20220519\Symfony\Component\Console\Style\SymfonyStyle; -use RectorPrefix20220519\Symfony\Component\Yaml\Exception\ParseException; -use RectorPrefix20220519\Symfony\Component\Yaml\Parser; -use RectorPrefix20220519\Symfony\Component\Yaml\Yaml; +use RectorPrefix20220520\Symfony\Component\Console\Attribute\AsCommand; +use RectorPrefix20220520\Symfony\Component\Console\CI\GithubActionReporter; +use RectorPrefix20220520\Symfony\Component\Console\Command\Command; +use RectorPrefix20220520\Symfony\Component\Console\Completion\CompletionInput; +use RectorPrefix20220520\Symfony\Component\Console\Completion\CompletionSuggestions; +use RectorPrefix20220520\Symfony\Component\Console\Exception\InvalidArgumentException; +use RectorPrefix20220520\Symfony\Component\Console\Exception\RuntimeException; +use RectorPrefix20220520\Symfony\Component\Console\Input\InputArgument; +use RectorPrefix20220520\Symfony\Component\Console\Input\InputInterface; +use RectorPrefix20220520\Symfony\Component\Console\Input\InputOption; +use RectorPrefix20220520\Symfony\Component\Console\Output\OutputInterface; +use RectorPrefix20220520\Symfony\Component\Console\Style\SymfonyStyle; +use RectorPrefix20220520\Symfony\Component\Yaml\Exception\ParseException; +use RectorPrefix20220520\Symfony\Component\Yaml\Parser; +use RectorPrefix20220520\Symfony\Component\Yaml\Yaml; /** * Validates YAML files syntax and outputs encountered errors. * @@ -32,7 +32,7 @@ use RectorPrefix20220519\Symfony\Component\Yaml\Yaml; * @author Robin Chalas */ #[AsCommand(name: 'lint:yaml', description: 'Lint a YAML file and outputs encountered errors')] -class LintCommand extends \RectorPrefix20220519\Symfony\Component\Console\Command\Command +class LintCommand extends \RectorPrefix20220520\Symfony\Component\Console\Command\Command { private $parser; /** @@ -62,7 +62,7 @@ class LintCommand extends \RectorPrefix20220519\Symfony\Component\Console\Comman */ protected function configure() { - $this->addArgument('filename', \RectorPrefix20220519\Symfony\Component\Console\Input\InputArgument::IS_ARRAY, 'A file, a directory or "-" for reading from STDIN')->addOption('format', null, \RectorPrefix20220519\Symfony\Component\Console\Input\InputOption::VALUE_REQUIRED, 'The output format')->addOption('exclude', null, \RectorPrefix20220519\Symfony\Component\Console\Input\InputOption::VALUE_REQUIRED | \RectorPrefix20220519\Symfony\Component\Console\Input\InputOption::VALUE_IS_ARRAY, 'Path(s) to exclude')->addOption('parse-tags', null, \RectorPrefix20220519\Symfony\Component\Console\Input\InputOption::VALUE_NEGATABLE, 'Parse custom tags', null)->setHelp(<<addArgument('filename', \RectorPrefix20220520\Symfony\Component\Console\Input\InputArgument::IS_ARRAY, 'A file, a directory or "-" for reading from STDIN')->addOption('format', null, \RectorPrefix20220520\Symfony\Component\Console\Input\InputOption::VALUE_REQUIRED, 'The output format')->addOption('exclude', null, \RectorPrefix20220520\Symfony\Component\Console\Input\InputOption::VALUE_REQUIRED | \RectorPrefix20220520\Symfony\Component\Console\Input\InputOption::VALUE_IS_ARRAY, 'Path(s) to exclude')->addOption('parse-tags', null, \RectorPrefix20220520\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. @@ -86,32 +86,32 @@ You can also exclude one or more specific files: EOF ); } - protected function execute(\RectorPrefix20220519\Symfony\Component\Console\Input\InputInterface $input, \RectorPrefix20220519\Symfony\Component\Console\Output\OutputInterface $output) : int + protected function execute(\RectorPrefix20220520\Symfony\Component\Console\Input\InputInterface $input, \RectorPrefix20220520\Symfony\Component\Console\Output\OutputInterface $output) : int { - $io = new \RectorPrefix20220519\Symfony\Component\Console\Style\SymfonyStyle($input, $output); + $io = new \RectorPrefix20220520\Symfony\Component\Console\Style\SymfonyStyle($input, $output); $filenames = (array) $input->getArgument('filename'); $excludes = $input->getOption('exclude'); $this->format = $input->getOption('format'); $flags = $input->getOption('parse-tags'); - if ('github' === $this->format && !\class_exists(\RectorPrefix20220519\Symfony\Component\Console\CI\GithubActionReporter::class)) { + if ('github' === $this->format && !\class_exists(\RectorPrefix20220520\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(\RectorPrefix20220519\Symfony\Component\Console\CI\GithubActionReporter::class) && \RectorPrefix20220519\Symfony\Component\Console\CI\GithubActionReporter::isGithubActionEnvironment() ? 'github' : 'txt'; + $this->format = \class_exists(\RectorPrefix20220520\Symfony\Component\Console\CI\GithubActionReporter::class) && \RectorPrefix20220520\Symfony\Component\Console\CI\GithubActionReporter::isGithubActionEnvironment() ? 'github' : 'txt'; } - $flags = $flags ? \RectorPrefix20220519\Symfony\Component\Yaml\Yaml::PARSE_CUSTOM_TAGS : 0; + $flags = $flags ? \RectorPrefix20220520\Symfony\Component\Yaml\Yaml::PARSE_CUSTOM_TAGS : 0; $this->displayCorrectFiles = $output->isVerbose(); if (['-'] === $filenames) { return $this->display($io, [$this->validate(\file_get_contents('php://stdin'), $flags)]); } if (!$filenames) { - throw new \RectorPrefix20220519\Symfony\Component\Console\Exception\RuntimeException('Please provide a filename or pipe file content to STDIN.'); + throw new \RectorPrefix20220520\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 \RectorPrefix20220519\Symfony\Component\Console\Exception\RuntimeException(\sprintf('File or directory "%s" is not readable.', $filename)); + throw new \RectorPrefix20220520\Symfony\Component\Console\Exception\RuntimeException(\sprintf('File or directory "%s" is not readable.', $filename)); } foreach ($this->getFiles($filename) as $file) { if (!\in_array($file->getPathname(), $excludes, \true)) { @@ -125,20 +125,20 @@ EOF { $prevErrorHandler = \set_error_handler(function ($level, $message, $file, $line) use(&$prevErrorHandler) { if (\E_USER_DEPRECATED === $level) { - throw new \RectorPrefix20220519\Symfony\Component\Yaml\Exception\ParseException($message, $this->getParser()->getRealCurrentLineNb() + 1); + throw new \RectorPrefix20220520\Symfony\Component\Yaml\Exception\ParseException($message, $this->getParser()->getRealCurrentLineNb() + 1); } return $prevErrorHandler ? $prevErrorHandler($level, $message, $file, $line) : \false; }); try { - $this->getParser()->parse($content, \RectorPrefix20220519\Symfony\Component\Yaml\Yaml::PARSE_CONSTANT | $flags); - } catch (\RectorPrefix20220519\Symfony\Component\Yaml\Exception\ParseException $e) { + $this->getParser()->parse($content, \RectorPrefix20220520\Symfony\Component\Yaml\Yaml::PARSE_CONSTANT | $flags); + } catch (\RectorPrefix20220520\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(\RectorPrefix20220519\Symfony\Component\Console\Style\SymfonyStyle $io, array $files) : int + private function display(\RectorPrefix20220520\Symfony\Component\Console\Style\SymfonyStyle $io, array $files) : int { switch ($this->format) { case 'txt': @@ -148,16 +148,16 @@ EOF case 'github': return $this->displayTxt($io, $files, \true); default: - throw new \RectorPrefix20220519\Symfony\Component\Console\Exception\InvalidArgumentException(\sprintf('The format "%s" is not supported.', $this->format)); + throw new \RectorPrefix20220520\Symfony\Component\Console\Exception\InvalidArgumentException(\sprintf('The format "%s" is not supported.', $this->format)); } } - private function displayTxt(\RectorPrefix20220519\Symfony\Component\Console\Style\SymfonyStyle $io, array $filesInfo, bool $errorAsGithubAnnotations = \false) : int + private function displayTxt(\RectorPrefix20220520\Symfony\Component\Console\Style\SymfonyStyle $io, array $filesInfo, bool $errorAsGithubAnnotations = \false) : int { $countFiles = \count($filesInfo); $erroredFiles = 0; $suggestTagOption = \false; if ($errorAsGithubAnnotations) { - $githubReporter = new \RectorPrefix20220519\Symfony\Component\Console\CI\GithubActionReporter($io); + $githubReporter = new \RectorPrefix20220520\Symfony\Component\Console\CI\GithubActionReporter($io); } foreach ($filesInfo as $info) { if ($info['valid'] && $this->displayCorrectFiles) { @@ -181,7 +181,7 @@ EOF } return \min($erroredFiles, 1); } - private function displayJson(\RectorPrefix20220519\Symfony\Component\Console\Style\SymfonyStyle $io, array $filesInfo) : int + private function displayJson(\RectorPrefix20220520\Symfony\Component\Console\Style\SymfonyStyle $io, array $filesInfo) : int { $errors = 0; \array_walk($filesInfo, function (&$v) use(&$errors) { @@ -209,9 +209,9 @@ EOF (yield $file); } } - private function getParser() : \RectorPrefix20220519\Symfony\Component\Yaml\Parser + private function getParser() : \RectorPrefix20220520\Symfony\Component\Yaml\Parser { - return $this->parser = $this->parser ?? new \RectorPrefix20220519\Symfony\Component\Yaml\Parser(); + return $this->parser = $this->parser ?? new \RectorPrefix20220520\Symfony\Component\Yaml\Parser(); } private function getDirectoryIterator(string $directory) : iterable { @@ -233,7 +233,7 @@ EOF } return $default($fileOrDirectory); } - public function complete(\RectorPrefix20220519\Symfony\Component\Console\Completion\CompletionInput $input, \RectorPrefix20220519\Symfony\Component\Console\Completion\CompletionSuggestions $suggestions) : void + public function complete(\RectorPrefix20220520\Symfony\Component\Console\Completion\CompletionInput $input, \RectorPrefix20220520\Symfony\Component\Console\Completion\CompletionSuggestions $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 fa95efd651c..00b3cdae282 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 RectorPrefix20220519\Symfony\Component\Yaml; +namespace RectorPrefix20220520\Symfony\Component\Yaml; -use RectorPrefix20220519\Symfony\Component\Yaml\Tag\TaggedValue; +use RectorPrefix20220520\Symfony\Component\Yaml\Tag\TaggedValue; /** * Dumper dumps PHP variables to YAML strings. * @@ -45,18 +45,18 @@ class Dumper $output = ''; $prefix = $indent ? \str_repeat(' ', $indent) : ''; $dumpObjectAsInlineMap = \true; - if (\RectorPrefix20220519\Symfony\Component\Yaml\Yaml::DUMP_OBJECT_AS_MAP & $flags && ($input instanceof \ArrayObject || $input instanceof \stdClass)) { + if (\RectorPrefix20220520\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 \RectorPrefix20220519\Symfony\Component\Yaml\Tag\TaggedValue && $dumpObjectAsInlineMap || empty($input)) { - $output .= $prefix . \RectorPrefix20220519\Symfony\Component\Yaml\Inline::dump($input, $flags); + if ($inline <= 0 || !\is_array($input) && !$input instanceof \RectorPrefix20220520\Symfony\Component\Yaml\Tag\TaggedValue && $dumpObjectAsInlineMap || empty($input)) { + $output .= $prefix . \RectorPrefix20220520\Symfony\Component\Yaml\Inline::dump($input, $flags); } else { - $dumpAsMap = \RectorPrefix20220519\Symfony\Component\Yaml\Inline::isHash($input); + $dumpAsMap = \RectorPrefix20220520\Symfony\Component\Yaml\Inline::isHash($input); foreach ($input as $key => $value) { if ('' !== $output && "\n" !== $output[-1]) { $output .= "\n"; } - if (\RectorPrefix20220519\Symfony\Component\Yaml\Yaml::DUMP_MULTI_LINE_LITERAL_BLOCK & $flags && \is_string($value) && \false !== \strpos($value, "\n") && \false === \strpos($value, "\r")) { + if (\RectorPrefix20220520\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 : ''; @@ -67,7 +67,7 @@ class Dumper } else { $blockChompingIndicator = '-'; } - $output .= \sprintf('%s%s%s |%s%s', $prefix, $dumpAsMap ? \RectorPrefix20220519\Symfony\Component\Yaml\Inline::dump($key, $flags) . ':' : '-', '', $blockIndentationIndicator, $blockChompingIndicator); + $output .= \sprintf('%s%s%s |%s%s', $prefix, $dumpAsMap ? \RectorPrefix20220520\Symfony\Component\Yaml\Inline::dump($key, $flags) . ':' : '-', '', $blockIndentationIndicator, $blockChompingIndicator); foreach (\explode("\n", $value) as $row) { if ('' === $row) { $output .= "\n"; @@ -77,9 +77,9 @@ class Dumper } continue; } - if ($value instanceof \RectorPrefix20220519\Symfony\Component\Yaml\Tag\TaggedValue) { - $output .= \sprintf('%s%s !%s', $prefix, $dumpAsMap ? \RectorPrefix20220519\Symfony\Component\Yaml\Inline::dump($key, $flags) . ':' : '-', $value->getTag()); - if (\RectorPrefix20220519\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 \RectorPrefix20220520\Symfony\Component\Yaml\Tag\TaggedValue) { + $output .= \sprintf('%s%s !%s', $prefix, $dumpAsMap ? \RectorPrefix20220520\Symfony\Component\Yaml\Inline::dump($key, $flags) . ':' : '-', $value->getTag()); + if (\RectorPrefix20220520\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 : ''; @@ -98,11 +98,11 @@ class Dumper continue; } $dumpObjectAsInlineMap = \true; - if (\RectorPrefix20220519\Symfony\Component\Yaml\Yaml::DUMP_OBJECT_AS_MAP & $flags && ($value instanceof \ArrayObject || $value instanceof \stdClass)) { + if (\RectorPrefix20220520\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 ? \RectorPrefix20220519\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 ? \RectorPrefix20220520\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 cff69661720..d7b697e8923 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 RectorPrefix20220519\Symfony\Component\Yaml; +namespace RectorPrefix20220520\Symfony\Component\Yaml; /** * Escaper encapsulates escaping rules for single and double-quoted diff --git a/vendor/symfony/yaml/Exception/DumpException.php b/vendor/symfony/yaml/Exception/DumpException.php index db440de8375..48cb23e9999 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 RectorPrefix20220519\Symfony\Component\Yaml\Exception; +namespace RectorPrefix20220520\Symfony\Component\Yaml\Exception; /** * Exception class thrown when an error occurs during dumping. * * @author Fabien Potencier */ -class DumpException extends \RectorPrefix20220519\Symfony\Component\Yaml\Exception\RuntimeException +class DumpException extends \RectorPrefix20220520\Symfony\Component\Yaml\Exception\RuntimeException { } diff --git a/vendor/symfony/yaml/Exception/ExceptionInterface.php b/vendor/symfony/yaml/Exception/ExceptionInterface.php index 620293cc8ed..0731fee640d 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 RectorPrefix20220519\Symfony\Component\Yaml\Exception; +namespace RectorPrefix20220520\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 b4ae7fe0ab9..069050b6a02 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 RectorPrefix20220519\Symfony\Component\Yaml\Exception; +namespace RectorPrefix20220520\Symfony\Component\Yaml\Exception; /** * Exception class thrown when an error occurs during parsing. * * @author Fabien Potencier */ -class ParseException extends \RectorPrefix20220519\Symfony\Component\Yaml\Exception\RuntimeException +class ParseException extends \RectorPrefix20220520\Symfony\Component\Yaml\Exception\RuntimeException { /** * @var string|null diff --git a/vendor/symfony/yaml/Exception/RuntimeException.php b/vendor/symfony/yaml/Exception/RuntimeException.php index 2ad7d9cdcdf..35ef101ee27 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 RectorPrefix20220519\Symfony\Component\Yaml\Exception; +namespace RectorPrefix20220520\Symfony\Component\Yaml\Exception; /** * Exception class thrown when an error occurs during parsing. * * @author Romain Neutron */ -class RuntimeException extends \RuntimeException implements \RectorPrefix20220519\Symfony\Component\Yaml\Exception\ExceptionInterface +class RuntimeException extends \RuntimeException implements \RectorPrefix20220520\Symfony\Component\Yaml\Exception\ExceptionInterface { } diff --git a/vendor/symfony/yaml/Inline.php b/vendor/symfony/yaml/Inline.php index db3a3bdefce..e0e9a7c48ed 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 RectorPrefix20220519\Symfony\Component\Yaml; +namespace RectorPrefix20220520\Symfony\Component\Yaml; -use RectorPrefix20220519\Symfony\Component\Yaml\Exception\DumpException; -use RectorPrefix20220519\Symfony\Component\Yaml\Exception\ParseException; -use RectorPrefix20220519\Symfony\Component\Yaml\Tag\TaggedValue; +use RectorPrefix20220520\Symfony\Component\Yaml\Exception\DumpException; +use RectorPrefix20220520\Symfony\Component\Yaml\Exception\ParseException; +use RectorPrefix20220520\Symfony\Component\Yaml\Tag\TaggedValue; /** * Inline implements a YAML parser/dumper for the YAML inline syntax. * @@ -49,10 +49,10 @@ class Inline private static $constantSupport = \false; public static function initialize(int $flags, int $parsedLineNumber = null, string $parsedFilename = null) { - self::$exceptionOnInvalidType = (bool) (\RectorPrefix20220519\Symfony\Component\Yaml\Yaml::PARSE_EXCEPTION_ON_INVALID_TYPE & $flags); - self::$objectSupport = (bool) (\RectorPrefix20220519\Symfony\Component\Yaml\Yaml::PARSE_OBJECT & $flags); - self::$objectForMap = (bool) (\RectorPrefix20220519\Symfony\Component\Yaml\Yaml::PARSE_OBJECT_FOR_MAP & $flags); - self::$constantSupport = (bool) (\RectorPrefix20220519\Symfony\Component\Yaml\Yaml::PARSE_CONSTANT & $flags); + self::$exceptionOnInvalidType = (bool) (\RectorPrefix20220520\Symfony\Component\Yaml\Yaml::PARSE_EXCEPTION_ON_INVALID_TYPE & $flags); + self::$objectSupport = (bool) (\RectorPrefix20220520\Symfony\Component\Yaml\Yaml::PARSE_OBJECT & $flags); + self::$objectForMap = (bool) (\RectorPrefix20220520\Symfony\Component\Yaml\Yaml::PARSE_OBJECT_FOR_MAP & $flags); + self::$constantSupport = (bool) (\RectorPrefix20220520\Symfony\Component\Yaml\Yaml::PARSE_CONSTANT & $flags); self::$parsedFilename = $parsedFilename; if (null !== $parsedLineNumber) { self::$parsedLineNumber = $parsedLineNumber; @@ -90,10 +90,10 @@ class Inline } // some comments are allowed at the end if (\preg_replace('/\\s*#.*$/A', '', \substr($value, $i))) { - throw new \RectorPrefix20220519\Symfony\Component\Yaml\Exception\ParseException(\sprintf('Unexpected characters near "%s".', \substr($value, $i)), self::$parsedLineNumber + 1, $value, self::$parsedFilename); + throw new \RectorPrefix20220520\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 \RectorPrefix20220519\Symfony\Component\Yaml\Tag\TaggedValue($tag, $result); + return new \RectorPrefix20220520\Symfony\Component\Yaml\Tag\TaggedValue($tag, $result); } return $result; } @@ -109,30 +109,30 @@ class Inline { switch (\true) { case \is_resource($value): - if (\RectorPrefix20220519\Symfony\Component\Yaml\Yaml::DUMP_EXCEPTION_ON_INVALID_TYPE & $flags) { - throw new \RectorPrefix20220519\Symfony\Component\Yaml\Exception\DumpException(\sprintf('Unable to dump PHP resources in a YAML file ("%s").', \get_resource_type($value))); + if (\RectorPrefix20220520\Symfony\Component\Yaml\Yaml::DUMP_EXCEPTION_ON_INVALID_TYPE & $flags) { + throw new \RectorPrefix20220520\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 \RectorPrefix20220519\UnitEnum: + case $value instanceof \RectorPrefix20220520\UnitEnum: return \sprintf('!php/const %s::%s', \get_class($value), $value->name); case \is_object($value): - if ($value instanceof \RectorPrefix20220519\Symfony\Component\Yaml\Tag\TaggedValue) { + if ($value instanceof \RectorPrefix20220520\Symfony\Component\Yaml\Tag\TaggedValue) { return '!' . $value->getTag() . ' ' . self::dump($value->getValue(), $flags); } - if (\RectorPrefix20220519\Symfony\Component\Yaml\Yaml::DUMP_OBJECT & $flags) { + if (\RectorPrefix20220520\Symfony\Component\Yaml\Yaml::DUMP_OBJECT & $flags) { return '!php/object ' . self::dump(\serialize($value)); } - if (\RectorPrefix20220519\Symfony\Component\Yaml\Yaml::DUMP_OBJECT_AS_MAP & $flags && ($value instanceof \stdClass || $value instanceof \ArrayObject)) { + if (\RectorPrefix20220520\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 (\RectorPrefix20220519\Symfony\Component\Yaml\Yaml::DUMP_EXCEPTION_ON_INVALID_TYPE & $flags) { - throw new \RectorPrefix20220519\Symfony\Component\Yaml\Exception\DumpException('Object support when dumping a YAML file has been disabled.'); + if (\RectorPrefix20220520\Symfony\Component\Yaml\Yaml::DUMP_EXCEPTION_ON_INVALID_TYPE & $flags) { + throw new \RectorPrefix20220520\Symfony\Component\Yaml\Exception\DumpException('Object support when dumping a YAML file has been disabled.'); } return self::dumpNull($flags); case \is_array($value): @@ -171,13 +171,13 @@ class Inline return "''"; case self::isBinaryString($value): return '!!binary ' . \base64_encode($value); - case \RectorPrefix20220519\Symfony\Component\Yaml\Escaper::requiresDoubleQuoting($value): - return \RectorPrefix20220519\Symfony\Component\Yaml\Escaper::escapeWithDoubleQuotes($value); - case \RectorPrefix20220519\Symfony\Component\Yaml\Escaper::requiresSingleQuoting($value): - case \RectorPrefix20220519\Symfony\Component\Yaml\Parser::preg_match('{^[0-9]+[_0-9]*$}', $value): - case \RectorPrefix20220519\Symfony\Component\Yaml\Parser::preg_match(self::getHexRegex(), $value): - case \RectorPrefix20220519\Symfony\Component\Yaml\Parser::preg_match(self::getTimestampRegex(), $value): - return \RectorPrefix20220519\Symfony\Component\Yaml\Escaper::escapeWithSingleQuotes($value); + case \RectorPrefix20220520\Symfony\Component\Yaml\Escaper::requiresDoubleQuoting($value): + return \RectorPrefix20220520\Symfony\Component\Yaml\Escaper::escapeWithDoubleQuotes($value); + case \RectorPrefix20220520\Symfony\Component\Yaml\Escaper::requiresSingleQuoting($value): + case \RectorPrefix20220520\Symfony\Component\Yaml\Parser::preg_match('{^[0-9]+[_0-9]*$}', $value): + case \RectorPrefix20220520\Symfony\Component\Yaml\Parser::preg_match(self::getHexRegex(), $value): + case \RectorPrefix20220520\Symfony\Component\Yaml\Parser::preg_match(self::getTimestampRegex(), $value): + return \RectorPrefix20220520\Symfony\Component\Yaml\Escaper::escapeWithSingleQuotes($value); default: return $value; } @@ -208,7 +208,7 @@ class Inline private static function dumpArray(array $value, int $flags) : string { // array - if (($value || \RectorPrefix20220519\Symfony\Component\Yaml\Yaml::DUMP_EMPTY_ARRAY_AS_SEQUENCE & $flags) && !self::isHash($value)) { + if (($value || \RectorPrefix20220520\Symfony\Component\Yaml\Yaml::DUMP_EMPTY_ARRAY_AS_SEQUENCE & $flags) && !self::isHash($value)) { $output = []; foreach ($value as $val) { $output[] = self::dump($val, $flags); @@ -224,7 +224,7 @@ class Inline } private static function dumpNull(int $flags) : string { - if (\RectorPrefix20220519\Symfony\Component\Yaml\Yaml::DUMP_NULL_AS_TILDE & $flags) { + if (\RectorPrefix20220520\Symfony\Component\Yaml\Yaml::DUMP_NULL_AS_TILDE & $flags) { return '~'; } return 'null'; @@ -244,10 +244,10 @@ class Inline if (null !== $delimiters) { $tmp = \ltrim(\substr($scalar, $i), " \n"); if ('' === $tmp) { - throw new \RectorPrefix20220519\Symfony\Component\Yaml\Exception\ParseException(\sprintf('Unexpected end of line, expected one of "%s".', \implode('', $delimiters)), self::$parsedLineNumber + 1, $scalar, self::$parsedFilename); + throw new \RectorPrefix20220520\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 \RectorPrefix20220519\Symfony\Component\Yaml\Exception\ParseException(\sprintf('Unexpected characters (%s).', \substr($scalar, $i)), self::$parsedLineNumber + 1, $scalar, self::$parsedFilename); + throw new \RectorPrefix20220520\Symfony\Component\Yaml\Exception\ParseException(\sprintf('Unexpected characters (%s).', \substr($scalar, $i)), self::$parsedLineNumber + 1, $scalar, self::$parsedFilename); } } } else { @@ -257,19 +257,19 @@ class Inline $output = \substr($scalar, $i); $i += \strlen($output); // remove comments - if (\RectorPrefix20220519\Symfony\Component\Yaml\Parser::preg_match('/[ \\t]+#/', $output, $match, \PREG_OFFSET_CAPTURE)) { + if (\RectorPrefix20220520\Symfony\Component\Yaml\Parser::preg_match('/[ \\t]+#/', $output, $match, \PREG_OFFSET_CAPTURE)) { $output = \substr($output, 0, $match[0][1]); } - } elseif (\RectorPrefix20220519\Symfony\Component\Yaml\Parser::preg_match('/^(.*?)(' . \implode('|', $delimiters) . ')/', \substr($scalar, $i), $match)) { + } elseif (\RectorPrefix20220520\Symfony\Component\Yaml\Parser::preg_match('/^(.*?)(' . \implode('|', $delimiters) . ')/', \substr($scalar, $i), $match)) { $output = $match[1]; $i += \strlen($output); $output = \trim($output); } else { - throw new \RectorPrefix20220519\Symfony\Component\Yaml\Exception\ParseException(\sprintf('Malformed inline YAML string: "%s".', $scalar), self::$parsedLineNumber + 1, null, self::$parsedFilename); + throw new \RectorPrefix20220520\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 \RectorPrefix20220519\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 \RectorPrefix20220520\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); @@ -284,11 +284,11 @@ class Inline */ private static function parseQuotedScalar(string $scalar, int &$i = 0) : string { - if (!\RectorPrefix20220519\Symfony\Component\Yaml\Parser::preg_match('/' . self::REGEX_QUOTED_STRING . '/Au', \substr($scalar, $i), $match)) { - throw new \RectorPrefix20220519\Symfony\Component\Yaml\Exception\ParseException(\sprintf('Malformed inline YAML string: "%s".', \substr($scalar, $i)), self::$parsedLineNumber + 1, $scalar, self::$parsedFilename); + if (!\RectorPrefix20220520\Symfony\Component\Yaml\Parser::preg_match('/' . self::REGEX_QUOTED_STRING . '/Au', \substr($scalar, $i), $match)) { + throw new \RectorPrefix20220520\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 \RectorPrefix20220519\Symfony\Component\Yaml\Unescaper(); + $unescaper = new \RectorPrefix20220520\Symfony\Component\Yaml\Unescaper(); if ('"' == $scalar[$i]) { $output = $unescaper->unescapeDoubleQuotedString($output); } else { @@ -338,19 +338,19 @@ class Inline // no, it's not } } - if (!$isQuoted && \is_string($value) && '' !== $value && '&' === $value[0] && \RectorPrefix20220519\Symfony\Component\Yaml\Parser::preg_match(\RectorPrefix20220519\Symfony\Component\Yaml\Parser::REFERENCE_PATTERN, $value, $matches)) { + if (!$isQuoted && \is_string($value) && '' !== $value && '&' === $value[0] && \RectorPrefix20220520\Symfony\Component\Yaml\Parser::preg_match(\RectorPrefix20220520\Symfony\Component\Yaml\Parser::REFERENCE_PATTERN, $value, $matches)) { $references[$matches['ref']] = $matches['value']; $value = $matches['value']; } --$i; } if (null !== $tag && '' !== $tag) { - $value = new \RectorPrefix20220519\Symfony\Component\Yaml\Tag\TaggedValue($tag, $value); + $value = new \RectorPrefix20220520\Symfony\Component\Yaml\Tag\TaggedValue($tag, $value); } $output[] = $value; ++$i; } - throw new \RectorPrefix20220519\Symfony\Component\Yaml\Exception\ParseException(\sprintf('Malformed inline YAML string: "%s".', $sequence), self::$parsedLineNumber + 1, null, self::$parsedFilename); + throw new \RectorPrefix20220520\Symfony\Component\Yaml\Exception\ParseException(\sprintf('Malformed inline YAML string: "%s".', $sequence), self::$parsedLineNumber + 1, null, self::$parsedFilename); } /** * Parses a YAML mapping. @@ -383,7 +383,7 @@ class Inline $isKeyQuoted = \in_array($mapping[$i], ['"', "'"], \true); $key = self::parseScalar($mapping, $flags, [':', ' '], $i, \false); if ($offsetBeforeKeyParsing === $i) { - throw new \RectorPrefix20220519\Symfony\Component\Yaml\Exception\ParseException('Missing mapping key.', self::$parsedLineNumber + 1, $mapping); + throw new \RectorPrefix20220520\Symfony\Component\Yaml\Exception\ParseException('Missing mapping key.', self::$parsedLineNumber + 1, $mapping); } if ('!php/const' === $key) { $key .= ' ' . self::parseScalar($mapping, $flags, [':'], $i, \false); @@ -395,11 +395,11 @@ class Inline if (!$isKeyQuoted) { $evaluatedKey = self::evaluateScalar($key, $flags, $references); if ('' !== $key && $evaluatedKey !== $key && !\is_string($evaluatedKey) && !\is_int($evaluatedKey)) { - throw new \RectorPrefix20220519\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 \RectorPrefix20220520\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 \RectorPrefix20220519\Symfony\Component\Yaml\Exception\ParseException('Colons must be followed by a space or an indication character (i.e. " ", ",", "[", "]", "{", "}").', self::$parsedLineNumber + 1, $mapping); + throw new \RectorPrefix20220520\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; @@ -424,12 +424,12 @@ class Inline } } elseif ($allowOverwrite || !isset($output[$key])) { if (null !== $tag) { - $output[$key] = new \RectorPrefix20220519\Symfony\Component\Yaml\Tag\TaggedValue($tag, $value); + $output[$key] = new \RectorPrefix20220520\Symfony\Component\Yaml\Tag\TaggedValue($tag, $value); } else { $output[$key] = $value; } } elseif (isset($output[$key])) { - throw new \RectorPrefix20220519\Symfony\Component\Yaml\Exception\ParseException(\sprintf('Duplicate key "%s" detected.', $key), self::$parsedLineNumber + 1, $mapping); + throw new \RectorPrefix20220520\Symfony\Component\Yaml\Exception\ParseException(\sprintf('Duplicate key "%s" detected.', $key), self::$parsedLineNumber + 1, $mapping); } break; case '{': @@ -443,12 +443,12 @@ class Inline $output += $value; } elseif ($allowOverwrite || !isset($output[$key])) { if (null !== $tag) { - $output[$key] = new \RectorPrefix20220519\Symfony\Component\Yaml\Tag\TaggedValue($tag, $value); + $output[$key] = new \RectorPrefix20220520\Symfony\Component\Yaml\Tag\TaggedValue($tag, $value); } else { $output[$key] = $value; } } elseif (isset($output[$key])) { - throw new \RectorPrefix20220519\Symfony\Component\Yaml\Exception\ParseException(\sprintf('Duplicate key "%s" detected.', $key), self::$parsedLineNumber + 1, $mapping); + throw new \RectorPrefix20220520\Symfony\Component\Yaml\Exception\ParseException(\sprintf('Duplicate key "%s" detected.', $key), self::$parsedLineNumber + 1, $mapping); } break; default: @@ -460,17 +460,17 @@ class Inline if ('<<' === $key) { $output += $value; } elseif ($allowOverwrite || !isset($output[$key])) { - if (!$isValueQuoted && \is_string($value) && '' !== $value && '&' === $value[0] && \RectorPrefix20220519\Symfony\Component\Yaml\Parser::preg_match(\RectorPrefix20220519\Symfony\Component\Yaml\Parser::REFERENCE_PATTERN, $value, $matches)) { + if (!$isValueQuoted && \is_string($value) && '' !== $value && '&' === $value[0] && \RectorPrefix20220520\Symfony\Component\Yaml\Parser::preg_match(\RectorPrefix20220520\Symfony\Component\Yaml\Parser::REFERENCE_PATTERN, $value, $matches)) { $references[$matches['ref']] = $matches['value']; $value = $matches['value']; } if (null !== $tag) { - $output[$key] = new \RectorPrefix20220519\Symfony\Component\Yaml\Tag\TaggedValue($tag, $value); + $output[$key] = new \RectorPrefix20220520\Symfony\Component\Yaml\Tag\TaggedValue($tag, $value); } else { $output[$key] = $value; } } elseif (isset($output[$key])) { - throw new \RectorPrefix20220519\Symfony\Component\Yaml\Exception\ParseException(\sprintf('Duplicate key "%s" detected.', $key), self::$parsedLineNumber + 1, $mapping); + throw new \RectorPrefix20220520\Symfony\Component\Yaml\Exception\ParseException(\sprintf('Duplicate key "%s" detected.', $key), self::$parsedLineNumber + 1, $mapping); } --$i; } @@ -478,7 +478,7 @@ class Inline continue 2; } } - throw new \RectorPrefix20220519\Symfony\Component\Yaml\Exception\ParseException(\sprintf('Malformed inline YAML string: "%s".', $mapping), self::$parsedLineNumber + 1, null, self::$parsedFilename); + throw new \RectorPrefix20220520\Symfony\Component\Yaml\Exception\ParseException(\sprintf('Malformed inline YAML string: "%s".', $mapping), self::$parsedLineNumber + 1, null, self::$parsedFilename); } /** * Evaluates scalars and replaces magic values. @@ -498,10 +498,10 @@ class Inline } // an unquoted * if (\false === $value || '' === $value) { - throw new \RectorPrefix20220519\Symfony\Component\Yaml\Exception\ParseException('A reference must contain at least one character.', self::$parsedLineNumber + 1, $value, self::$parsedFilename); + throw new \RectorPrefix20220520\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 \RectorPrefix20220519\Symfony\Component\Yaml\Exception\ParseException(\sprintf('Reference "%s" does not exist.', $value), self::$parsedLineNumber + 1, $value, self::$parsedFilename); + throw new \RectorPrefix20220520\Symfony\Component\Yaml\Exception\ParseException(\sprintf('Reference "%s" does not exist.', $value), self::$parsedLineNumber + 1, $value, self::$parsedFilename); } return $references[$value]; } @@ -529,27 +529,27 @@ class Inline case 0 === \strpos($scalar, '!php/object'): if (self::$objectSupport) { if (!isset($scalar[12])) { - throw new \RectorPrefix20220519\Symfony\Component\Yaml\Exception\ParseException('Missing value for tag "!php/object".', self::$parsedLineNumber + 1, $scalar, self::$parsedFilename); + throw new \RectorPrefix20220520\Symfony\Component\Yaml\Exception\ParseException('Missing value for tag "!php/object".', self::$parsedLineNumber + 1, $scalar, self::$parsedFilename); } return \unserialize(self::parseScalar(\substr($scalar, 12))); } if (self::$exceptionOnInvalidType) { - throw new \RectorPrefix20220519\Symfony\Component\Yaml\Exception\ParseException('Object support when parsing a YAML file has been disabled.', self::$parsedLineNumber + 1, $scalar, self::$parsedFilename); + throw new \RectorPrefix20220520\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'): if (self::$constantSupport) { if (!isset($scalar[11])) { - throw new \RectorPrefix20220519\Symfony\Component\Yaml\Exception\ParseException('Missing value for tag "!php/const".', self::$parsedLineNumber + 1, $scalar, self::$parsedFilename); + throw new \RectorPrefix20220520\Symfony\Component\Yaml\Exception\ParseException('Missing value for tag "!php/const".', self::$parsedLineNumber + 1, $scalar, self::$parsedFilename); } $i = 0; if (\defined($const = self::parseScalar(\substr($scalar, 11), 0, null, $i, \false))) { return \constant($const); } - throw new \RectorPrefix20220519\Symfony\Component\Yaml\Exception\ParseException(\sprintf('The constant "%s" is not defined.', $const), self::$parsedLineNumber + 1, $scalar, self::$parsedFilename); + throw new \RectorPrefix20220520\Symfony\Component\Yaml\Exception\ParseException(\sprintf('The constant "%s" is not defined.', $const), self::$parsedLineNumber + 1, $scalar, self::$parsedFilename); } if (self::$exceptionOnInvalidType) { - throw new \RectorPrefix20220519\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 \RectorPrefix20220520\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 '): @@ -557,7 +557,7 @@ class Inline case 0 === \strpos($scalar, '!!binary '): return self::evaluateBinaryScalar(\substr($scalar, 9)); } - throw new \RectorPrefix20220519\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 \RectorPrefix20220520\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); case \preg_match('/^(?:\\+|-)?0o(?P[0-7_]++)$/', $scalar, $matches): $value = \str_replace('_', '', $matches['value']); if ('-' === $scalar[0]) { @@ -566,7 +566,7 @@ class Inline return \octdec($value); // Optimize for returning strings. case \in_array($scalar[0], ['+', '-', '.'], \true) || \is_numeric($scalar[0]): - if (\RectorPrefix20220519\Symfony\Component\Yaml\Parser::preg_match('{^[+-]?[0-9][0-9_]*$}', $scalar)) { + if (\RectorPrefix20220520\Symfony\Component\Yaml\Parser::preg_match('{^[+-]?[0-9][0-9_]*$}', $scalar)) { $scalar = \str_replace('_', '', $scalar); } switch (\true) { @@ -575,7 +575,7 @@ class Inline $cast = (int) $scalar; return $scalar === (string) $cast ? $cast : $scalar; case \is_numeric($scalar): - case \RectorPrefix20220519\Symfony\Component\Yaml\Parser::preg_match(self::getHexRegex(), $scalar): + case \RectorPrefix20220520\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: @@ -583,12 +583,12 @@ class Inline return -\log(0); case '-.inf' === $scalarLower: return \log(0); - case \RectorPrefix20220519\Symfony\Component\Yaml\Parser::preg_match('/^(-|\\+)?[0-9][0-9_]*(\\.[0-9_]+)?$/', $scalar): + case \RectorPrefix20220520\Symfony\Component\Yaml\Parser::preg_match('/^(-|\\+)?[0-9][0-9_]*(\\.[0-9_]+)?$/', $scalar): return (float) \str_replace('_', '', $scalar); - case \RectorPrefix20220519\Symfony\Component\Yaml\Parser::preg_match(self::getTimestampRegex(), $scalar): + case \RectorPrefix20220520\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 (\RectorPrefix20220519\Symfony\Component\Yaml\Yaml::PARSE_DATETIME & $flags) { + if (\RectorPrefix20220520\Symfony\Component\Yaml\Yaml::PARSE_DATETIME & $flags) { return $time; } try { @@ -613,7 +613,7 @@ class Inline $nextOffset = $i + $tagLength + 1; $nextOffset += \strspn($value, ' ', $nextOffset); if ('' === $tag && (!isset($value[$nextOffset]) || \in_array($value[$nextOffset], [']', '}', ','], \true))) { - throw new \RectorPrefix20220519\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 \RectorPrefix20220520\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)) { @@ -623,24 +623,24 @@ class Inline $i = $nextOffset; // Built-in tags if ('' !== $tag && '!' === $tag[0]) { - throw new \RectorPrefix20220519\Symfony\Component\Yaml\Exception\ParseException(\sprintf('The built-in tag "!%s" is not implemented.', $tag), self::$parsedLineNumber + 1, $value, self::$parsedFilename); + throw new \RectorPrefix20220520\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 \RectorPrefix20220519\Symfony\Component\Yaml\Exception\ParseException(\sprintf('Missing value for tag "%s".', $tag), self::$parsedLineNumber + 1, $value, self::$parsedFilename); + throw new \RectorPrefix20220520\Symfony\Component\Yaml\Exception\ParseException(\sprintf('Missing value for tag "%s".', $tag), self::$parsedLineNumber + 1, $value, self::$parsedFilename); } - if ('' === $tag || \RectorPrefix20220519\Symfony\Component\Yaml\Yaml::PARSE_CUSTOM_TAGS & $flags) { + if ('' === $tag || \RectorPrefix20220520\Symfony\Component\Yaml\Yaml::PARSE_CUSTOM_TAGS & $flags) { return $tag; } - throw new \RectorPrefix20220519\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 \RectorPrefix20220520\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); } public static function evaluateBinaryScalar(string $scalar) : string { $parsedBinaryData = self::parseScalar(\preg_replace('/\\s/', '', $scalar)); if (0 !== \strlen($parsedBinaryData) % 4) { - throw new \RectorPrefix20220519\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 \RectorPrefix20220520\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 (!\RectorPrefix20220519\Symfony\Component\Yaml\Parser::preg_match('#^[A-Z0-9+/]+={0,2}$#i', $parsedBinaryData)) { - throw new \RectorPrefix20220519\Symfony\Component\Yaml\Exception\ParseException(\sprintf('The base64 encoded data (%s) contains invalid characters.', $parsedBinaryData), self::$parsedLineNumber + 1, $scalar, self::$parsedFilename); + if (!\RectorPrefix20220520\Symfony\Component\Yaml\Parser::preg_match('#^[A-Z0-9+/]+={0,2}$#i', $parsedBinaryData)) { + throw new \RectorPrefix20220520\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); } diff --git a/vendor/symfony/yaml/Parser.php b/vendor/symfony/yaml/Parser.php index 4c474f654a2..1181b416f83 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 RectorPrefix20220519\Symfony\Component\Yaml; +namespace RectorPrefix20220520\Symfony\Component\Yaml; -use RectorPrefix20220519\Symfony\Component\Yaml\Exception\ParseException; -use RectorPrefix20220519\Symfony\Component\Yaml\Tag\TaggedValue; +use RectorPrefix20220520\Symfony\Component\Yaml\Exception\ParseException; +use RectorPrefix20220520\Symfony\Component\Yaml\Tag\TaggedValue; /** * Parser parses YAML strings to convert them to PHP arrays. * @@ -80,10 +80,10 @@ class Parser public function parseFile(string $filename, int $flags = 0) { if (!\is_file($filename)) { - throw new \RectorPrefix20220519\Symfony\Component\Yaml\Exception\ParseException(\sprintf('File "%s" does not exist.', $filename)); + throw new \RectorPrefix20220520\Symfony\Component\Yaml\Exception\ParseException(\sprintf('File "%s" does not exist.', $filename)); } if (!\is_readable($filename)) { - throw new \RectorPrefix20220519\Symfony\Component\Yaml\Exception\ParseException(\sprintf('File "%s" cannot be read.', $filename)); + throw new \RectorPrefix20220520\Symfony\Component\Yaml\Exception\ParseException(\sprintf('File "%s" cannot be read.', $filename)); } $this->filename = $filename; try { @@ -104,7 +104,7 @@ class Parser public function parse(string $value, int $flags = 0) { if (\false === \preg_match('//u', $value)) { - throw new \RectorPrefix20220519\Symfony\Component\Yaml\Exception\ParseException('The YAML value does not appear to be valid UTF-8.', -1, null, $this->filename); + throw new \RectorPrefix20220520\Symfony\Component\Yaml\Exception\ParseException('The YAML value does not appear to be valid UTF-8.', -1, null, $this->filename); } $this->refs = []; try { @@ -146,7 +146,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 \RectorPrefix20220519\Symfony\Component\Yaml\Tag\TaggedValue($tag, ''); + return new \RectorPrefix20220520\Symfony\Component\Yaml\Tag\TaggedValue($tag, ''); } do { if ($this->isCurrentLineEmpty()) { @@ -154,13 +154,13 @@ class Parser } // tab? if ("\t" === $this->currentLine[0]) { - throw new \RectorPrefix20220519\Symfony\Component\Yaml\Exception\ParseException('A YAML file cannot contain tabs as indentation.', $this->getRealCurrentLineNb() + 1, $this->currentLine, $this->filename); + throw new \RectorPrefix20220520\Symfony\Component\Yaml\Exception\ParseException('A YAML file cannot contain tabs as indentation.', $this->getRealCurrentLineNb() + 1, $this->currentLine, $this->filename); } - \RectorPrefix20220519\Symfony\Component\Yaml\Inline::initialize($flags, $this->getRealCurrentLineNb(), $this->filename); + \RectorPrefix20220520\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 \RectorPrefix20220519\Symfony\Component\Yaml\Exception\ParseException('You cannot define a sequence item when in a mapping.', $this->getRealCurrentLineNb() + 1, $this->currentLine, $this->filename); + throw new \RectorPrefix20220520\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)) { @@ -169,7 +169,7 @@ class Parser $values['value'] = $matches['value']; } if (isset($values['value'][1]) && '?' === $values['value'][0] && ' ' === $values['value'][1]) { - throw new \RectorPrefix20220519\Symfony\Component\Yaml\Exception\ParseException('Complex mappings are not supported.', $this->getRealCurrentLineNb() + 1, $this->currentLine); + throw new \RectorPrefix20220520\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'], ' '), '-')) { @@ -182,9 +182,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 \RectorPrefix20220519\Symfony\Component\Yaml\Tag\TaggedValue($subTag, $this->parseBlock($this->getRealCurrentLineNb() + 1, $this->getNextEmbedBlock(null, \true), $flags)); + $data[] = new \RectorPrefix20220520\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' . \RectorPrefix20220519\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' . \RectorPrefix20220520\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()) { @@ -199,20 +199,20 @@ class Parser $this->refs[$isRef] = \end($data); \array_pop($this->refsBeingParsed); } - } elseif (self::preg_match('#^(?P(?:![^\\s]++\\s++)?(?:' . \RectorPrefix20220519\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++)?(?:' . \RectorPrefix20220520\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 \RectorPrefix20220519\Symfony\Component\Yaml\Exception\ParseException('You cannot define a mapping item when in a sequence.', $this->currentLineNb + 1, $this->currentLine, $this->filename); + throw new \RectorPrefix20220520\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 = \RectorPrefix20220519\Symfony\Component\Yaml\Inline::parseScalar($values['key']); - } catch (\RectorPrefix20220519\Symfony\Component\Yaml\Exception\ParseException $e) { + $key = \RectorPrefix20220520\Symfony\Component\Yaml\Inline::parseScalar($values['key']); + } catch (\RectorPrefix20220520\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 \RectorPrefix20220519\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 \RectorPrefix20220520\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)) { @@ -225,16 +225,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 \RectorPrefix20220519\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 \RectorPrefix20220520\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 \RectorPrefix20220519\Symfony\Component\Yaml\Exception\ParseException(\sprintf('Reference "%s" does not exist.', $refName), $this->getRealCurrentLineNb() + 1, $this->currentLine, $this->filename); + throw new \RectorPrefix20220520\Symfony\Component\Yaml\Exception\ParseException(\sprintf('Reference "%s" does not exist.', $refName), $this->getRealCurrentLineNb() + 1, $this->currentLine, $this->filename); } $refValue = $this->refs[$refName]; - if (\RectorPrefix20220519\Symfony\Component\Yaml\Yaml::PARSE_OBJECT_FOR_MAP & $flags && $refValue instanceof \stdClass) { + if (\RectorPrefix20220520\Symfony\Component\Yaml\Yaml::PARSE_OBJECT_FOR_MAP & $flags && $refValue instanceof \stdClass) { $refValue = (array) $refValue; } if (!\is_array($refValue)) { - throw new \RectorPrefix20220519\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 \RectorPrefix20220520\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 @@ -245,22 +245,22 @@ class Parser $value = $this->getNextEmbedBlock(); } $parsed = $this->parseBlock($this->getRealCurrentLineNb() + 1, $value, $flags); - if (\RectorPrefix20220519\Symfony\Component\Yaml\Yaml::PARSE_OBJECT_FOR_MAP & $flags && $parsed instanceof \stdClass) { + if (\RectorPrefix20220520\Symfony\Component\Yaml\Yaml::PARSE_OBJECT_FOR_MAP & $flags && $parsed instanceof \stdClass) { $parsed = (array) $parsed; } if (!\is_array($parsed)) { - throw new \RectorPrefix20220519\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 \RectorPrefix20220520\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 (\RectorPrefix20220519\Symfony\Component\Yaml\Yaml::PARSE_OBJECT_FOR_MAP & $flags && $parsedItem instanceof \stdClass) { + if (\RectorPrefix20220520\Symfony\Component\Yaml\Yaml::PARSE_OBJECT_FOR_MAP & $flags && $parsedItem instanceof \stdClass) { $parsedItem = (array) $parsedItem; } if (!\is_array($parsedItem)) { - throw new \RectorPrefix20220519\Symfony\Component\Yaml\Exception\ParseException('Merge items must be arrays.', $this->getRealCurrentLineNb() + 1, $parsedItem, $this->filename); + throw new \RectorPrefix20220520\Symfony\Component\Yaml\Exception\ParseException('Merge items must be arrays.', $this->getRealCurrentLineNb() + 1, $parsedItem, $this->filename); } $data += $parsedItem; // array union @@ -288,12 +288,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 \RectorPrefix20220519\Symfony\Component\Yaml\Tag\TaggedValue($subTag, ''); + $data[$key] = new \RectorPrefix20220520\Symfony\Component\Yaml\Tag\TaggedValue($subTag, ''); } else { $data[$key] = null; } } else { - throw new \RectorPrefix20220519\Symfony\Component\Yaml\Exception\ParseException(\sprintf('Duplicate key "%s" detected.', $key), $this->getRealCurrentLineNb() + 1, $this->currentLine); + throw new \RectorPrefix20220520\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 @@ -301,7 +301,7 @@ class Parser $value = $this->parseBlock($this->getRealCurrentLineNb() + 1, $this->getNextEmbedBlock(), $flags); if ('<<' === $key) { $this->refs[$refMatches['ref']] = $value; - if (\RectorPrefix20220519\Symfony\Component\Yaml\Yaml::PARSE_OBJECT_FOR_MAP & $flags && $value instanceof \stdClass) { + if (\RectorPrefix20220520\Symfony\Component\Yaml\Yaml::PARSE_OBJECT_FOR_MAP & $flags && $value instanceof \stdClass) { $value = (array) $value; } $data += $value; @@ -309,12 +309,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 \RectorPrefix20220519\Symfony\Component\Yaml\Tag\TaggedValue($subTag, $value); + $data[$key] = new \RectorPrefix20220520\Symfony\Component\Yaml\Tag\TaggedValue($subTag, $value); } else { $data[$key] = $value; } } else { - throw new \RectorPrefix20220519\Symfony\Component\Yaml\Exception\ParseException(\sprintf('Duplicate key "%s" detected.', $key), $realCurrentLineNbKey + 1, $this->currentLine); + throw new \RectorPrefix20220520\Symfony\Component\Yaml\Exception\ParseException(\sprintf('Duplicate key "%s" detected.', $key), $realCurrentLineNbKey + 1, $this->currentLine); } } } else { @@ -324,7 +324,7 @@ class Parser if ($allowOverwrite || !isset($data[$key])) { $data[$key] = $value; } else { - throw new \RectorPrefix20220519\Symfony\Component\Yaml\Exception\ParseException(\sprintf('Duplicate key "%s" detected.', $key), $this->getRealCurrentLineNb() + 1, $this->currentLine); + throw new \RectorPrefix20220520\Symfony\Component\Yaml\Exception\ParseException(\sprintf('Duplicate key "%s" detected.', $key), $this->getRealCurrentLineNb() + 1, $this->currentLine); } } if ($isRef) { @@ -333,45 +333,45 @@ class Parser } } elseif ('"' === $this->currentLine[0] || "'" === $this->currentLine[0]) { if (null !== $context) { - throw new \RectorPrefix20220519\Symfony\Component\Yaml\Exception\ParseException('Unable to parse.', $this->getRealCurrentLineNb() + 1, $this->currentLine, $this->filename); + throw new \RectorPrefix20220520\Symfony\Component\Yaml\Exception\ParseException('Unable to parse.', $this->getRealCurrentLineNb() + 1, $this->currentLine, $this->filename); } try { - return \RectorPrefix20220519\Symfony\Component\Yaml\Inline::parse($this->lexInlineQuotedString(), $flags, $this->refs); - } catch (\RectorPrefix20220519\Symfony\Component\Yaml\Exception\ParseException $e) { + return \RectorPrefix20220520\Symfony\Component\Yaml\Inline::parse($this->lexInlineQuotedString(), $flags, $this->refs); + } catch (\RectorPrefix20220520\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 \RectorPrefix20220519\Symfony\Component\Yaml\Exception\ParseException('Unable to parse.', $this->getRealCurrentLineNb() + 1, $this->currentLine, $this->filename); + throw new \RectorPrefix20220520\Symfony\Component\Yaml\Exception\ParseException('Unable to parse.', $this->getRealCurrentLineNb() + 1, $this->currentLine, $this->filename); } try { - $parsedMapping = \RectorPrefix20220519\Symfony\Component\Yaml\Inline::parse($this->lexInlineMapping(), $flags, $this->refs); + $parsedMapping = \RectorPrefix20220520\Symfony\Component\Yaml\Inline::parse($this->lexInlineMapping(), $flags, $this->refs); while ($this->moveToNextLine()) { if (!$this->isCurrentLineEmpty()) { - throw new \RectorPrefix20220519\Symfony\Component\Yaml\Exception\ParseException('Unable to parse.', $this->getRealCurrentLineNb() + 1, $this->currentLine, $this->filename); + throw new \RectorPrefix20220520\Symfony\Component\Yaml\Exception\ParseException('Unable to parse.', $this->getRealCurrentLineNb() + 1, $this->currentLine, $this->filename); } } return $parsedMapping; - } catch (\RectorPrefix20220519\Symfony\Component\Yaml\Exception\ParseException $e) { + } catch (\RectorPrefix20220520\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 \RectorPrefix20220519\Symfony\Component\Yaml\Exception\ParseException('Unable to parse.', $this->getRealCurrentLineNb() + 1, $this->currentLine, $this->filename); + throw new \RectorPrefix20220520\Symfony\Component\Yaml\Exception\ParseException('Unable to parse.', $this->getRealCurrentLineNb() + 1, $this->currentLine, $this->filename); } try { - $parsedSequence = \RectorPrefix20220519\Symfony\Component\Yaml\Inline::parse($this->lexInlineSequence(), $flags, $this->refs); + $parsedSequence = \RectorPrefix20220520\Symfony\Component\Yaml\Inline::parse($this->lexInlineSequence(), $flags, $this->refs); while ($this->moveToNextLine()) { if (!$this->isCurrentLineEmpty()) { - throw new \RectorPrefix20220519\Symfony\Component\Yaml\Exception\ParseException('Unable to parse.', $this->getRealCurrentLineNb() + 1, $this->currentLine, $this->filename); + throw new \RectorPrefix20220520\Symfony\Component\Yaml\Exception\ParseException('Unable to parse.', $this->getRealCurrentLineNb() + 1, $this->currentLine, $this->filename); } } return $parsedSequence; - } catch (\RectorPrefix20220519\Symfony\Component\Yaml\Exception\ParseException $e) { + } catch (\RectorPrefix20220520\Symfony\Component\Yaml\Exception\ParseException $e) { $e->setParsedLine($this->getRealCurrentLineNb() + 1); $e->setSnippet($this->currentLine); throw $e; @@ -379,16 +379,16 @@ class Parser } else { // multiple documents are not supported if ('---' === $this->currentLine) { - throw new \RectorPrefix20220519\Symfony\Component\Yaml\Exception\ParseException('Multiple documents are not supported.', $this->currentLineNb + 1, $this->currentLine, $this->filename); + throw new \RectorPrefix20220520\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 \RectorPrefix20220519\Symfony\Component\Yaml\Exception\ParseException('Complex mappings are not supported.', $this->getRealCurrentLineNb() + 1, $this->currentLine); + throw new \RectorPrefix20220520\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 = \RectorPrefix20220519\Symfony\Component\Yaml\Inline::parse($this->lines[0], $flags, $this->refs); - } catch (\RectorPrefix20220519\Symfony\Component\Yaml\Exception\ParseException $e) { + $value = \RectorPrefix20220520\Symfony\Component\Yaml\Inline::parse($this->lines[0], $flags, $this->refs); + } catch (\RectorPrefix20220520\Symfony\Component\Yaml\Exception\ParseException $e) { $e->setParsedLine($this->getRealCurrentLineNb() + 1); $e->setSnippet($this->currentLine); throw $e; @@ -407,10 +407,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 \RectorPrefix20220519\Symfony\Component\Yaml\Exception\ParseException('Unable to parse.', $this->getRealCurrentLineNb() + 1, $this->currentLine, $this->filename); + throw new \RectorPrefix20220520\Symfony\Component\Yaml\Exception\ParseException('Unable to parse.', $this->getRealCurrentLineNb() + 1, $this->currentLine, $this->filename); } if (\false !== \strpos($line, ': ')) { - throw new \RectorPrefix20220519\Symfony\Component\Yaml\Exception\ParseException('Mapping values are not allowed in multi-line blocks.', $this->getRealCurrentLineNb() + 1, $this->currentLine, $this->filename); + throw new \RectorPrefix20220520\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"; @@ -434,18 +434,18 @@ class Parser } } try { - return \RectorPrefix20220519\Symfony\Component\Yaml\Inline::parse(\trim($value)); - } catch (\RectorPrefix20220519\Symfony\Component\Yaml\Exception\ParseException $e) { + return \RectorPrefix20220520\Symfony\Component\Yaml\Inline::parse(\trim($value)); + } catch (\RectorPrefix20220520\Symfony\Component\Yaml\Exception\ParseException $e) { // fall-through to the ParseException thrown below } } - throw new \RectorPrefix20220519\Symfony\Component\Yaml\Exception\ParseException('Unable to parse.', $this->getRealCurrentLineNb() + 1, $this->currentLine, $this->filename); + throw new \RectorPrefix20220520\Symfony\Component\Yaml\Exception\ParseException('Unable to parse.', $this->getRealCurrentLineNb() + 1, $this->currentLine, $this->filename); } } while ($this->moveToNextLine()); if (null !== $tag) { - $data = new \RectorPrefix20220519\Symfony\Component\Yaml\Tag\TaggedValue($tag, $data); + $data = new \RectorPrefix20220520\Symfony\Component\Yaml\Tag\TaggedValue($tag, $data); } - if (\RectorPrefix20220519\Symfony\Component\Yaml\Yaml::PARSE_OBJECT_FOR_MAP & $flags && 'mapping' === $context && !\is_object($data)) { + if (\RectorPrefix20220520\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; @@ -528,7 +528,7 @@ class Parser } $unindentedEmbedBlock = $this->isStringUnIndentedCollectionItem(); if (!$this->isCurrentLineEmpty() && 0 === $newIndent && !$unindentedEmbedBlock) { - throw new \RectorPrefix20220519\Symfony\Component\Yaml\Exception\ParseException('Indentation problem.', $this->getRealCurrentLineNb() + 1, $this->currentLine, $this->filename); + throw new \RectorPrefix20220520\Symfony\Component\Yaml\Exception\ParseException('Indentation problem.', $this->getRealCurrentLineNb() + 1, $this->currentLine, $this->filename); } } else { $newIndent = $indentation; @@ -572,7 +572,7 @@ class Parser $this->moveToPreviousLine(); break; } else { - throw new \RectorPrefix20220519\Symfony\Component\Yaml\Exception\ParseException('Indentation problem.', $this->getRealCurrentLineNb() + 1, $this->currentLine, $this->filename); + throw new \RectorPrefix20220520\Symfony\Component\Yaml\Exception\ParseException('Indentation problem.', $this->getRealCurrentLineNb() + 1, $this->currentLine, $this->filename); } } return \implode("\n", $data); @@ -623,9 +623,9 @@ class Parser } if (!\array_key_exists($value, $this->refs)) { if (\false !== ($pos = \array_search($value, $this->refsBeingParsed, \true))) { - throw new \RectorPrefix20220519\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 \RectorPrefix20220520\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 \RectorPrefix20220519\Symfony\Component\Yaml\Exception\ParseException(\sprintf('Reference "%s" does not exist.', $value), $this->currentLineNb + 1, $this->currentLine, $this->filename); + throw new \RectorPrefix20220520\Symfony\Component\Yaml\Exception\ParseException(\sprintf('Reference "%s" does not exist.', $value), $this->currentLineNb + 1, $this->currentLine, $this->filename); } return $this->refs[$value]; } @@ -634,27 +634,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 \RectorPrefix20220519\Symfony\Component\Yaml\Inline::evaluateBinaryScalar($data); + return \RectorPrefix20220520\Symfony\Component\Yaml\Inline::evaluateBinaryScalar($data); } - return new \RectorPrefix20220519\Symfony\Component\Yaml\Tag\TaggedValue(\substr($matches['tag'], 1), $data); + return new \RectorPrefix20220520\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 \RectorPrefix20220519\Symfony\Component\Yaml\Inline::parse($this->lexInlineMapping($cursor), $flags, $this->refs); + return \RectorPrefix20220520\Symfony\Component\Yaml\Inline::parse($this->lexInlineMapping($cursor), $flags, $this->refs); } elseif ('' !== $value && '[' === $value[0]) { $cursor = \strlen(\rtrim($this->currentLine)) - \strlen(\rtrim($value)); - return \RectorPrefix20220519\Symfony\Component\Yaml\Inline::parse($this->lexInlineSequence($cursor), $flags, $this->refs); + return \RectorPrefix20220520\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 = \RectorPrefix20220519\Symfony\Component\Yaml\Inline::parse($this->lexInlineQuotedString($cursor), $flags, $this->refs); + $parsedValue = \RectorPrefix20220520\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 \RectorPrefix20220519\Symfony\Component\Yaml\Exception\ParseException(\sprintf('Unexpected characters near "%s".', \substr($this->currentLine, $cursor))); + throw new \RectorPrefix20220520\Symfony\Component\Yaml\Exception\ParseException(\sprintf('Unexpected characters near "%s".', \substr($this->currentLine, $cursor))); } return $parsedValue; default: @@ -679,14 +679,14 @@ class Parser $previousLineBlank = \false; } } - \RectorPrefix20220519\Symfony\Component\Yaml\Inline::$parsedLineNumber = $this->getRealCurrentLineNb(); - $parsedValue = \RectorPrefix20220519\Symfony\Component\Yaml\Inline::parse($value, $flags, $this->refs); + \RectorPrefix20220520\Symfony\Component\Yaml\Inline::$parsedLineNumber = $this->getRealCurrentLineNb(); + $parsedValue = \RectorPrefix20220520\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 \RectorPrefix20220519\Symfony\Component\Yaml\Exception\ParseException('A colon cannot be used in an unquoted mapping value.', $this->getRealCurrentLineNb() + 1, $value, $this->filename); + throw new \RectorPrefix20220520\Symfony\Component\Yaml\Exception\ParseException('A colon cannot be used in an unquoted mapping value.', $this->getRealCurrentLineNb() + 1, $value, $this->filename); } return $parsedValue; } - } catch (\RectorPrefix20220519\Symfony\Component\Yaml\Exception\ParseException $e) { + } catch (\RectorPrefix20220520\Symfony\Component\Yaml\Exception\ParseException $e) { $e->setParsedLine($this->getRealCurrentLineNb() + 1); $e->setSnippet($this->currentLine); throw $e; @@ -908,7 +908,7 @@ class Parser default: $error = 'Error.'; } - throw new \RectorPrefix20220519\Symfony\Component\Yaml\Exception\ParseException($error); + throw new \RectorPrefix20220520\Symfony\Component\Yaml\Exception\ParseException($error); } return $ret; } @@ -936,12 +936,12 @@ class Parser $tag = \substr($matches['tag'], 1); // Built-in tags if ($tag && '!' === $tag[0]) { - throw new \RectorPrefix20220519\Symfony\Component\Yaml\Exception\ParseException(\sprintf('The built-in tag "!%s" is not implemented.', $tag), $this->getRealCurrentLineNb() + 1, $value, $this->filename); + throw new \RectorPrefix20220520\Symfony\Component\Yaml\Exception\ParseException(\sprintf('The built-in tag "!%s" is not implemented.', $tag), $this->getRealCurrentLineNb() + 1, $value, $this->filename); } - if (\RectorPrefix20220519\Symfony\Component\Yaml\Yaml::PARSE_CUSTOM_TAGS & $flags) { + if (\RectorPrefix20220520\Symfony\Component\Yaml\Yaml::PARSE_CUSTOM_TAGS & $flags) { return $tag; } - throw new \RectorPrefix20220519\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 \RectorPrefix20220520\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 { @@ -994,14 +994,14 @@ class Parser $cursor = 0; } } while ($this->moveToNextLine()); - throw new \RectorPrefix20220519\Symfony\Component\Yaml\Exception\ParseException('Malformed inline YAML string.'); + throw new \RectorPrefix20220520\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 \RectorPrefix20220519\Symfony\Component\Yaml\Exception\ParseException('Malformed unquoted YAML string.'); + throw new \RectorPrefix20220520\Symfony\Component\Yaml\Exception\ParseException('Malformed unquoted YAML string.'); } return \substr($this->currentLine, $offset, $cursor - $offset); } @@ -1053,7 +1053,7 @@ class Parser $cursor = 0; } } while ($this->moveToNextLine()); - throw new \RectorPrefix20220519\Symfony\Component\Yaml\Exception\ParseException('Malformed inline YAML string.'); + throw new \RectorPrefix20220520\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 665491315bd..c5e2855f6da 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 RectorPrefix20220519\Symfony\Component\Console\Application; -use RectorPrefix20220519\Symfony\Component\Yaml\Command\LintCommand; +use RectorPrefix20220520\Symfony\Component\Console\Application; +use RectorPrefix20220520\Symfony\Component\Yaml\Command\LintCommand; function includeIfExists(string $file) : bool { return \file_exists($file) && (include $file); } -if (!\RectorPrefix20220519\includeIfExists(__DIR__ . '/../../../../autoload.php') && !\RectorPrefix20220519\includeIfExists(__DIR__ . '/../../vendor/autoload.php') && !\RectorPrefix20220519\includeIfExists(__DIR__ . '/../../../../../../vendor/autoload.php')) { +if (!\RectorPrefix20220520\includeIfExists(__DIR__ . '/../../../../autoload.php') && !\RectorPrefix20220520\includeIfExists(__DIR__ . '/../../vendor/autoload.php') && !\RectorPrefix20220520\includeIfExists(__DIR__ . '/../../../../../../vendor/autoload.php')) { \fwrite(\STDERR, 'Install dependencies using Composer.' . \PHP_EOL); exit(1); } -if (!\class_exists(\RectorPrefix20220519\Symfony\Component\Console\Application::class)) { +if (!\class_exists(\RectorPrefix20220520\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 \RectorPrefix20220519\Symfony\Component\Console\Application())->add($command = new \RectorPrefix20220519\Symfony\Component\Yaml\Command\LintCommand())->getApplication()->setDefaultCommand($command->getName(), \true)->run(); +(new \RectorPrefix20220520\Symfony\Component\Console\Application())->add($command = new \RectorPrefix20220520\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 db0d06a4904..a87e3d33f1f 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 RectorPrefix20220519\Symfony\Component\Yaml\Tag; +namespace RectorPrefix20220520\Symfony\Component\Yaml\Tag; /** * @author Nicolas Grekas diff --git a/vendor/symfony/yaml/Unescaper.php b/vendor/symfony/yaml/Unescaper.php index 37bd25b73db..e33f6b82bca 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 RectorPrefix20220519\Symfony\Component\Yaml; +namespace RectorPrefix20220520\Symfony\Component\Yaml; -use RectorPrefix20220519\Symfony\Component\Yaml\Exception\ParseException; +use RectorPrefix20220520\Symfony\Component\Yaml\Exception\ParseException; /** * Unescaper encapsulates unescaping rules for single and double-quoted * YAML strings. @@ -102,7 +102,7 @@ class Unescaper case 'U': return self::utf8chr(\hexdec(\substr($value, 2, 8))); default: - throw new \RectorPrefix20220519\Symfony\Component\Yaml\Exception\ParseException(\sprintf('Found unknown escape character "%s".', $value)); + throw new \RectorPrefix20220520\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 aaad509e131..4809cee19fc 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 RectorPrefix20220519\Symfony\Component\Yaml; +namespace RectorPrefix20220520\Symfony\Component\Yaml; -use RectorPrefix20220519\Symfony\Component\Yaml\Exception\ParseException; +use RectorPrefix20220520\Symfony\Component\Yaml\Exception\ParseException; /** * Yaml offers convenience methods to load and dump YAML. * @@ -48,7 +48,7 @@ class Yaml */ public static function parseFile(string $filename, int $flags = 0) { - $yaml = new \RectorPrefix20220519\Symfony\Component\Yaml\Parser(); + $yaml = new \RectorPrefix20220520\Symfony\Component\Yaml\Parser(); return $yaml->parseFile($filename, $flags); } /** @@ -68,7 +68,7 @@ class Yaml */ public static function parse(string $input, int $flags = 0) { - $yaml = new \RectorPrefix20220519\Symfony\Component\Yaml\Parser(); + $yaml = new \RectorPrefix20220520\Symfony\Component\Yaml\Parser(); return $yaml->parse($input, $flags); } /** @@ -84,7 +84,7 @@ class Yaml */ public static function dump($input, int $inline = 2, int $indent = 4, int $flags = 0) : string { - $yaml = new \RectorPrefix20220519\Symfony\Component\Yaml\Dumper($indent); + $yaml = new \RectorPrefix20220520\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 5630b0e48c2..078d2a9c11c 100644 --- a/vendor/symfony/yaml/composer.json +++ b/vendor/symfony/yaml/composer.json @@ -30,7 +30,7 @@ }, "autoload": { "psr-4": { - "RectorPrefix20220519\\Symfony\\Component\\Yaml\\": "" + "RectorPrefix20220520\\Symfony\\Component\\Yaml\\": "" }, "exclude-from-classmap": [ "\/Tests\/" diff --git a/vendor/symplify/astral/composer.json b/vendor/symplify/astral/composer.json index 276f5becb56..6ec8ccb9640 100644 --- a/vendor/symplify/astral/composer.json +++ b/vendor/symplify/astral/composer.json @@ -21,12 +21,12 @@ }, "autoload": { "psr-4": { - "RectorPrefix20220519\\Symplify\\Astral\\": "src" + "RectorPrefix20220520\\Symplify\\Astral\\": "src" } }, "autoload-dev": { "psr-4": { - "RectorPrefix20220519\\Symplify\\Astral\\Tests\\": "tests" + "RectorPrefix20220520\\Symplify\\Astral\\Tests\\": "tests" } }, "extra": { diff --git a/vendor/symplify/astral/config/config.php b/vendor/symplify/astral/config/config.php index 8da0cca92e9..fab0da30544 100644 --- a/vendor/symplify/astral/config/config.php +++ b/vendor/symplify/astral/config/config.php @@ -1,7 +1,7 @@ services(); $services->defaults()->autowire()->autoconfigure()->public(); - $services->load('RectorPrefix20220519\Symplify\\Astral\\', __DIR__ . '/../src')->exclude([__DIR__ . '/../src/StaticFactory', __DIR__ . '/../src/ValueObject', __DIR__ . '/../src/NodeVisitor', __DIR__ . '/../src/PhpParser/SmartPhpParser.php', __DIR__ . '/../src/PhpDocParser/PhpDocNodeVisitor/CallablePhpDocNodeVisitor.php']); - $services->set(\RectorPrefix20220519\Symplify\Astral\PhpParser\SmartPhpParser::class)->factory([\RectorPrefix20220519\Symfony\Component\DependencyInjection\Loader\Configurator\service(\RectorPrefix20220519\Symplify\Astral\PhpParser\SmartPhpParserFactory::class), 'create']); + $services->load('RectorPrefix20220520\Symplify\\Astral\\', __DIR__ . '/../src')->exclude([__DIR__ . '/../src/StaticFactory', __DIR__ . '/../src/ValueObject', __DIR__ . '/../src/NodeVisitor', __DIR__ . '/../src/PhpParser/SmartPhpParser.php', __DIR__ . '/../src/PhpDocParser/PhpDocNodeVisitor/CallablePhpDocNodeVisitor.php']); + $services->set(\RectorPrefix20220520\Symplify\Astral\PhpParser\SmartPhpParser::class)->factory([\RectorPrefix20220520\Symfony\Component\DependencyInjection\Loader\Configurator\service(\RectorPrefix20220520\Symplify\Astral\PhpParser\SmartPhpParserFactory::class), 'create']); $services->set(\PhpParser\ConstExprEvaluator::class); - $services->set(\RectorPrefix20220519\Symplify\PackageBuilder\Php\TypeChecker::class); + $services->set(\RectorPrefix20220520\Symplify\PackageBuilder\Php\TypeChecker::class); $services->set(\PhpParser\NodeFinder::class); // phpdoc parser $services->set(\PHPStan\PhpDocParser\Parser\PhpDocParser::class); diff --git a/vendor/symplify/astral/src/Contract/NodeNameResolverInterface.php b/vendor/symplify/astral/src/Contract/NodeNameResolverInterface.php index e78c6963fba..cb0dfe0e2b0 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) \RectorPrefix20220519\Nette\Utils\Strings::match($name, $desiredNameRegex); + return (bool) \RectorPrefix20220520\Nette\Utils\Strings::match($name, $desiredNameRegex); } public function resolveShortName(string $className) : string { if (\strpos($className, '\\') === \false) { return $className; } - return (string) \RectorPrefix20220519\Nette\Utils\Strings::after($className, '\\', -1); + return (string) \RectorPrefix20220520\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 ba50cdd78ba..a5274473f25 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 = ['RectorPrefix20220519\\Nette\\Application\\UI\\Template', 'RectorPrefix20220519\\Nette\\Application\\UI\\ITemplate', 'RectorPrefix20220519\\Nette\\Bridges\\ApplicationLatte\\Template', 'RectorPrefix20220519\\Nette\\Bridges\\ApplicationLatte\\DefaultTemplate']; + private const TEMPLATE_TYPES = ['RectorPrefix20220520\\Nette\\Application\\UI\\Template', 'RectorPrefix20220520\\Nette\\Application\\UI\\ITemplate', 'RectorPrefix20220520\\Nette\\Bridges\\ApplicationLatte\\Template', 'RectorPrefix20220520\\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(\RectorPrefix20220519\Symplify\Astral\Naming\SimpleNameResolver $simpleNameResolver, \RectorPrefix20220519\Symplify\Astral\TypeAnalyzer\ContainsTypeAnalyser $containsTypeAnalyser) + public function __construct(\RectorPrefix20220520\Symplify\Astral\Naming\SimpleNameResolver $simpleNameResolver, \RectorPrefix20220520\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, 'RectorPrefix20220519\\Nette\\ComponentModel\\Container', \true); + return \is_a($className, 'RectorPrefix20220520\\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, 'RectorPrefix20220519\\Nette\\Application\\UI\\Control', \true); + return \is_a($className, 'RectorPrefix20220520\\Nette\\Application\\UI\\Control', \true); } } diff --git a/vendor/symplify/astral/src/NodeFinder/SimpleNodeFinder.php b/vendor/symplify/astral/src/NodeFinder/SimpleNodeFinder.php index 2f087a3e715..64fb90a2d97 100644 --- a/vendor/symplify/astral/src/NodeFinder/SimpleNodeFinder.php +++ b/vendor/symplify/astral/src/NodeFinder/SimpleNodeFinder.php @@ -1,11 +1,11 @@ getAttribute(\RectorPrefix20220519\Symplify\Astral\ValueObject\AttributeKey::PARENT); + $node = $node->getAttribute(\RectorPrefix20220520\Symplify\Astral\ValueObject\AttributeKey::PARENT); while ($node instanceof \PhpParser\Node) { if (\is_a($node, $nodeClass, \true)) { return $node; } - $node = $node->getAttribute(\RectorPrefix20220519\Symplify\Astral\ValueObject\AttributeKey::PARENT); + $node = $node->getAttribute(\RectorPrefix20220520\Symplify\Astral\ValueObject\AttributeKey::PARENT); } return null; } @@ -73,14 +73,14 @@ final class SimpleNodeFinder */ public function findFirstParentByTypes(\PhpParser\Node $node, array $nodeTypes) : ?\PhpParser\Node { - $node = $node->getAttribute(\RectorPrefix20220519\Symplify\Astral\ValueObject\AttributeKey::PARENT); + $node = $node->getAttribute(\RectorPrefix20220520\Symplify\Astral\ValueObject\AttributeKey::PARENT); while ($node instanceof \PhpParser\Node) { foreach ($nodeTypes as $nodeType) { if (\is_a($node, $nodeType)) { return $node; } } - $node = $node->getAttribute(\RectorPrefix20220519\Symplify\Astral\ValueObject\AttributeKey::PARENT); + $node = $node->getAttribute(\RectorPrefix20220520\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 44f2755a302..2280405714f 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 15e8a6bf952..57c982346be 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 \RectorPrefix20220519\Symplify\Astral\NodeValue\UnionTypeValueResolver(); - $this->nodeValueResolvers[] = new \RectorPrefix20220519\Symplify\Astral\NodeValue\NodeValueResolver\ClassConstFetchValueResolver($this->simpleNameResolver, $simpleNodeFinder); - $this->nodeValueResolvers[] = new \RectorPrefix20220519\Symplify\Astral\NodeValue\NodeValueResolver\ConstFetchValueResolver($this->simpleNameResolver); - $this->nodeValueResolvers[] = new \RectorPrefix20220519\Symplify\Astral\NodeValue\NodeValueResolver\MagicConstValueResolver(); - $this->nodeValueResolvers[] = new \RectorPrefix20220519\Symplify\Astral\NodeValue\NodeValueResolver\FuncCallValueResolver($this->simpleNameResolver, $this->constExprEvaluator); + $this->unionTypeValueResolver = new \RectorPrefix20220520\Symplify\Astral\NodeValue\UnionTypeValueResolver(); + $this->nodeValueResolvers[] = new \RectorPrefix20220520\Symplify\Astral\NodeValue\NodeValueResolver\ClassConstFetchValueResolver($this->simpleNameResolver, $simpleNodeFinder); + $this->nodeValueResolvers[] = new \RectorPrefix20220520\Symplify\Astral\NodeValue\NodeValueResolver\ConstFetchValueResolver($this->simpleNameResolver); + $this->nodeValueResolvers[] = new \RectorPrefix20220520\Symplify\Astral\NodeValue\NodeValueResolver\MagicConstValueResolver(); + $this->nodeValueResolvers[] = new \RectorPrefix20220520\Symplify\Astral\NodeValue\NodeValueResolver\FuncCallValueResolver($this->simpleNameResolver, $this->constExprEvaluator); } /** * @return mixed @@ -102,7 +102,7 @@ final class NodeValueResolver private function resolveByNode(\PhpParser\Node\Expr $expr) { if ($this->currentFilePath === null) { - throw new \RectorPrefix20220519\Symplify\Astral\Exception\ShouldNotHappenException(); + throw new \RectorPrefix20220520\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 23790c5d7b9..a6cafa98594 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 \RectorPrefix20220519\Symplify\Astral\Contract\NodeValueResolver\NodeValueResolverInterface +final class ClassConstFetchValueResolver implements \RectorPrefix20220520\Symplify\Astral\Contract\NodeValueResolver\NodeValueResolverInterface { /** * @var \Symplify\Astral\Naming\SimpleNameResolver @@ -25,7 +25,7 @@ final class ClassConstFetchValueResolver implements \RectorPrefix20220519\Sympli * @var \Symplify\Astral\NodeFinder\SimpleNodeFinder */ private $simpleNodeFinder; - public function __construct(\RectorPrefix20220519\Symplify\Astral\Naming\SimpleNameResolver $simpleNameResolver, \RectorPrefix20220519\Symplify\Astral\NodeFinder\SimpleNodeFinder $simpleNodeFinder) + public function __construct(\RectorPrefix20220520\Symplify\Astral\Naming\SimpleNameResolver $simpleNameResolver, \RectorPrefix20220520\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 1e6e74338fb..998a00a591d 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 \RectorPrefix20220519\Symplify\Astral\Contract\NodeValueResolver\NodeValueResolverInterface +final class ConstFetchValueResolver implements \RectorPrefix20220520\Symplify\Astral\Contract\NodeValueResolver\NodeValueResolverInterface { /** * @var \Symplify\Astral\Naming\SimpleNameResolver */ private $simpleNameResolver; - public function __construct(\RectorPrefix20220519\Symplify\Astral\Naming\SimpleNameResolver $simpleNameResolver) + public function __construct(\RectorPrefix20220520\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 8576c45863a..3a5b461ba90 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 \RectorPrefix20220519\Symplify\Astral\Contract\NodeValueResolver\NodeValueResolverInterface +final class FuncCallValueResolver implements \RectorPrefix20220520\Symplify\Astral\Contract\NodeValueResolver\NodeValueResolverInterface { /** * @var string[] @@ -29,7 +29,7 @@ final class FuncCallValueResolver implements \RectorPrefix20220519\Symplify\Astr * @var \PhpParser\ConstExprEvaluator */ private $constExprEvaluator; - public function __construct(\RectorPrefix20220519\Symplify\Astral\Naming\SimpleNameResolver $simpleNameResolver, \PhpParser\ConstExprEvaluator $constExprEvaluator) + public function __construct(\RectorPrefix20220520\Symplify\Astral\Naming\SimpleNameResolver $simpleNameResolver, \PhpParser\ConstExprEvaluator $constExprEvaluator) { $this->simpleNameResolver = $simpleNameResolver; $this->constExprEvaluator = $constExprEvaluator; @@ -60,7 +60,7 @@ final class FuncCallValueResolver implements \RectorPrefix20220519\Symplify\Astr if (\function_exists($functionName)) { return $functionName(...$arguments); } - throw new \RectorPrefix20220519\Symplify\Astral\Exception\ShouldNotHappenException(); + throw new \RectorPrefix20220520\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 6d994f949d6..da108ad38a3 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 \RectorPrefix20220519\Symplify\Astral\Contract\NodeValueResolver\NodeValueResolverInterface +final class MagicConstValueResolver implements \RectorPrefix20220520\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 e88f69036eb..49c672618b1 100644 --- a/vendor/symplify/astral/src/NodeValue/UnionTypeValueResolver.php +++ b/vendor/symplify/astral/src/NodeValue/UnionTypeValueResolver.php @@ -1,7 +1,7 @@ phpDocNodeVisitors[] = $phpDocNodeVisitor; } @@ -81,7 +81,7 @@ final class PhpDocNodeTraverser */ public function traverseWithCallable(\PHPStan\PhpDocParser\Ast\Node $node, string $docContent, callable $callable) : \PHPStan\PhpDocParser\Ast\Node { - $callablePhpDocNodeVisitor = new \RectorPrefix20220519\Symplify\Astral\PhpDocParser\PhpDocNodeVisitor\CallablePhpDocNodeVisitor($callable, $docContent); + $callablePhpDocNodeVisitor = new \RectorPrefix20220520\Symplify\Astral\PhpDocParser\PhpDocNodeVisitor\CallablePhpDocNodeVisitor($callable, $docContent); $this->addPhpDocNodeVisitor($callablePhpDocNodeVisitor); $this->traverse($node); return $node; @@ -118,7 +118,7 @@ final class PhpDocNodeTraverser $subNode = null; continue 2; } else { - throw new \RectorPrefix20220519\Symplify\Astral\PhpDocParser\Exception\InvalidTraverseException('enterNode() returned invalid value of type ' . \gettype($return)); + throw new \RectorPrefix20220520\Symplify\Astral\PhpDocParser\Exception\InvalidTraverseException('enterNode() returned invalid value of type ' . \gettype($return)); } } } @@ -169,7 +169,7 @@ final class PhpDocNodeTraverser unset($nodes[$key]); continue 2; } else { - throw new \RectorPrefix20220519\Symplify\Astral\PhpDocParser\Exception\InvalidTraverseException('enterNode() returned invalid value of type ' . \gettype($return)); + throw new \RectorPrefix20220520\Symplify\Astral\PhpDocParser\Exception\InvalidTraverseException('enterNode() returned invalid value of type ' . \gettype($return)); } } } @@ -195,7 +195,7 @@ final class PhpDocNodeTraverser $this->stopTraversal = \true; break 2; } else { - throw new \RectorPrefix20220519\Symplify\Astral\PhpDocParser\Exception\InvalidTraverseException('leaveNode() returned invalid value of type ' . \gettype($return)); + throw new \RectorPrefix20220520\Symplify\Astral\PhpDocParser\Exception\InvalidTraverseException('leaveNode() returned invalid value of type ' . \gettype($return)); } } if ($breakVisitorIndex === $visitorIndex) { diff --git a/vendor/symplify/astral/src/PhpDocParser/PhpDocNodeVisitor/AbstractPhpDocNodeVisitor.php b/vendor/symplify/astral/src/PhpDocParser/PhpDocNodeVisitor/AbstractPhpDocNodeVisitor.php index e15e131620d..565731f6332 100644 --- a/vendor/symplify/astral/src/PhpDocParser/PhpDocNodeVisitor/AbstractPhpDocNodeVisitor.php +++ b/vendor/symplify/astral/src/PhpDocParser/PhpDocNodeVisitor/AbstractPhpDocNodeVisitor.php @@ -1,14 +1,14 @@ setAttribute(\RectorPrefix20220519\Symplify\Astral\PhpDocParser\ValueObject\PhpDocAttributeKey::ORIG_NODE, $node); + $clonedNode->setAttribute(\RectorPrefix20220520\Symplify\Astral\PhpDocParser\ValueObject\PhpDocAttributeKey::ORIG_NODE, $node); return $clonedNode; } } diff --git a/vendor/symplify/astral/src/PhpDocParser/PhpDocNodeVisitor/ParentConnectingPhpDocNodeVisitor.php b/vendor/symplify/astral/src/PhpDocParser/PhpDocNodeVisitor/ParentConnectingPhpDocNodeVisitor.php index 734351a6e44..fc34e154804 100644 --- a/vendor/symplify/astral/src/PhpDocParser/PhpDocNodeVisitor/ParentConnectingPhpDocNodeVisitor.php +++ b/vendor/symplify/astral/src/PhpDocParser/PhpDocNodeVisitor/ParentConnectingPhpDocNodeVisitor.php @@ -1,10 +1,10 @@ stack !== []) { $parentNode = $this->stack[\count($this->stack) - 1]; - $node->setAttribute(\RectorPrefix20220519\Symplify\Astral\PhpDocParser\ValueObject\PhpDocAttributeKey::PARENT, $parentNode); + $node->setAttribute(\RectorPrefix20220520\Symplify\Astral\PhpDocParser\ValueObject\PhpDocAttributeKey::PARENT, $parentNode); } $this->stack[] = $node; return $node; diff --git a/vendor/symplify/astral/src/PhpDocParser/SimplePhpDocParser.php b/vendor/symplify/astral/src/PhpDocParser/SimplePhpDocParser.php index 8150d1ccf3a..51fb2cd16a3 100644 --- a/vendor/symplify/astral/src/PhpDocParser/SimplePhpDocParser.php +++ b/vendor/symplify/astral/src/PhpDocParser/SimplePhpDocParser.php @@ -1,14 +1,14 @@ phpDocParser = $phpDocParser; $this->lexer = $lexer; } - public function parseNode(\PhpParser\Node $node) : ?\RectorPrefix20220519\Symplify\Astral\PhpDocParser\ValueObject\Ast\PhpDoc\SimplePhpDocNode + public function parseNode(\PhpParser\Node $node) : ?\RectorPrefix20220520\Symplify\Astral\PhpDocParser\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) : \RectorPrefix20220519\Symplify\Astral\PhpDocParser\ValueObject\Ast\PhpDoc\SimplePhpDocNode + public function parseDocBlock(string $docBlock) : \RectorPrefix20220520\Symplify\Astral\PhpDocParser\ValueObject\Ast\PhpDoc\SimplePhpDocNode { $tokens = $this->lexer->tokenize($docBlock); $tokenIterator = new \PHPStan\PhpDocParser\Parser\TokenIterator($tokens); $phpDocNode = $this->phpDocParser->parse($tokenIterator); - return new \RectorPrefix20220519\Symplify\Astral\PhpDocParser\ValueObject\Ast\PhpDoc\SimplePhpDocNode($phpDocNode->children); + return new \RectorPrefix20220520\Symplify\Astral\PhpDocParser\ValueObject\Ast\PhpDoc\SimplePhpDocNode($phpDocNode->children); } } diff --git a/vendor/symplify/astral/src/PhpDocParser/StaticFactory/SimplePhpDocParserStaticFactory.php b/vendor/symplify/astral/src/PhpDocParser/StaticFactory/SimplePhpDocParserStaticFactory.php index 7ed0dc3dede..696f338b0c8 100644 --- a/vendor/symplify/astral/src/PhpDocParser/StaticFactory/SimplePhpDocParserStaticFactory.php +++ b/vendor/symplify/astral/src/PhpDocParser/StaticFactory/SimplePhpDocParserStaticFactory.php @@ -1,21 +1,21 @@ createNativePhpParser(); $cachedParser = $this->createPHPStanParser($nativePhpParser); - return new \RectorPrefix20220519\Symplify\Astral\PhpParser\SmartPhpParser($cachedParser); + return new \RectorPrefix20220520\Symplify\Astral\PhpParser\SmartPhpParser($cachedParser); } private function createNativePhpParser() : \PhpParser\Parser { diff --git a/vendor/symplify/astral/src/Reflection/MethodCallParser.php b/vendor/symplify/astral/src/Reflection/MethodCallParser.php index ff260d0fcf6..5cd35714f17 100644 --- a/vendor/symplify/astral/src/Reflection/MethodCallParser.php +++ b/vendor/symplify/astral/src/Reflection/MethodCallParser.php @@ -1,7 +1,7 @@ simpleNameResolver = $simpleNameResolver; $this->reflectionParser = $reflectionParser; diff --git a/vendor/symplify/astral/src/Reflection/ReflectionParser.php b/vendor/symplify/astral/src/Reflection/ReflectionParser.php index 5e466d3b9b6..f409afb32bd 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 4f59a880625..2bd3f11930f 100644 --- a/vendor/symplify/astral/src/StaticFactory/NodeValueResolverStaticFactory.php +++ b/vendor/symplify/astral/src/StaticFactory/NodeValueResolverStaticFactory.php @@ -1,21 +1,21 @@ simpleNameResolver = $simpleNameResolver; } @@ -29,7 +29,7 @@ final class ClassMethodReturnTypeResolver { $methodName = $this->simpleNameResolver->getName($classMethod); if (!\is_string($methodName)) { - throw new \RectorPrefix20220519\Symplify\Astral\Exception\ShouldNotHappenException(); + throw new \RectorPrefix20220520\Symplify\Astral\Exception\ShouldNotHappenException(); } $classReflection = $scope->getClassReflection(); if (!$classReflection instanceof \PHPStan\Reflection\ClassReflection) { diff --git a/vendor/symplify/astral/src/TypeAnalyzer/ContainsTypeAnalyser.php b/vendor/symplify/astral/src/TypeAnalyzer/ContainsTypeAnalyser.php index c87bbb3e825..e363eb8e0c5 100644 --- a/vendor/symplify/astral/src/TypeAnalyzer/ContainsTypeAnalyser.php +++ b/vendor/symplify/astral/src/TypeAnalyzer/ContainsTypeAnalyser.php @@ -1,7 +1,7 @@ definitionFinder = new \RectorPrefix20220519\Symplify\AutowireArrayParameter\DependencyInjection\DefinitionFinder(); - $paramTypeDocBlockResolver = new \RectorPrefix20220519\Symplify\AutowireArrayParameter\DocBlock\ParamTypeDocBlockResolver(); - $this->parameterTypeResolver = new \RectorPrefix20220519\Symplify\AutowireArrayParameter\TypeResolver\ParameterTypeResolver($paramTypeDocBlockResolver); - $this->parameterSkipper = new \RectorPrefix20220519\Symplify\AutowireArrayParameter\Skipper\ParameterSkipper($this->parameterTypeResolver, $excludedFatalClasses); + $this->definitionFinder = new \RectorPrefix20220520\Symplify\AutowireArrayParameter\DependencyInjection\DefinitionFinder(); + $paramTypeDocBlockResolver = new \RectorPrefix20220520\Symplify\AutowireArrayParameter\DocBlock\ParamTypeDocBlockResolver(); + $this->parameterTypeResolver = new \RectorPrefix20220520\Symplify\AutowireArrayParameter\TypeResolver\ParameterTypeResolver($paramTypeDocBlockResolver); + $this->parameterSkipper = new \RectorPrefix20220520\Symplify\AutowireArrayParameter\Skipper\ParameterSkipper($this->parameterTypeResolver, $excludedFatalClasses); } - public function process(\RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerBuilder $containerBuilder) : void + public function process(\RectorPrefix20220520\Symfony\Component\DependencyInjection\ContainerBuilder $containerBuilder) : void { $definitions = $containerBuilder->getDefinitions(); foreach ($definitions as $definition) { @@ -70,7 +70,7 @@ final class AutowireArrayParameterCompilerPass implements \RectorPrefix20220519\ $this->processParameters($containerBuilder, $constructorReflectionMethod, $definition); } } - private function shouldSkipDefinition(\RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerBuilder $containerBuilder, \RectorPrefix20220519\Symfony\Component\DependencyInjection\Definition $definition) : bool + private function shouldSkipDefinition(\RectorPrefix20220520\Symfony\Component\DependencyInjection\ContainerBuilder $containerBuilder, \RectorPrefix20220520\Symfony\Component\DependencyInjection\Definition $definition) : bool { if ($definition->isAbstract()) { return \true; @@ -83,7 +83,7 @@ final class AutowireArrayParameterCompilerPass implements \RectorPrefix20220519\ $resolvedClassName = $parameterBag->resolveValue($definition->getClass()); // skip 3rd party classes, they're autowired by own config $excludedNamespacePattern = '#^(' . \implode('|', self::EXCLUDED_NAMESPACES) . ')\\\\#'; - if (\RectorPrefix20220519\Nette\Utils\Strings::match($resolvedClassName, $excludedNamespacePattern)) { + if (\RectorPrefix20220520\Nette\Utils\Strings::match($resolvedClassName, $excludedNamespacePattern)) { return \true; } if (\in_array($resolvedClassName, $this->excludedFatalClasses, \true)) { @@ -99,14 +99,14 @@ final class AutowireArrayParameterCompilerPass implements \RectorPrefix20220519\ if (!$reflectionClass instanceof \ReflectionClass) { return \true; } - if (!$reflectionClass->hasMethod(\RectorPrefix20220519\Symplify\PackageBuilder\ValueObject\MethodName::CONSTRUCTOR)) { + if (!$reflectionClass->hasMethod(\RectorPrefix20220520\Symplify\PackageBuilder\ValueObject\MethodName::CONSTRUCTOR)) { return \true; } /** @var ReflectionMethod $constructorReflectionMethod */ $constructorReflectionMethod = $reflectionClass->getConstructor(); return !$constructorReflectionMethod->getParameters(); } - private function processParameters(\RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerBuilder $containerBuilder, \ReflectionMethod $reflectionMethod, \RectorPrefix20220519\Symfony\Component\DependencyInjection\Definition $definition) : void + private function processParameters(\RectorPrefix20220520\Symfony\Component\DependencyInjection\ContainerBuilder $containerBuilder, \ReflectionMethod $reflectionMethod, \RectorPrefix20220520\Symfony\Component\DependencyInjection\Definition $definition) : void { $reflectionParameters = $reflectionMethod->getParameters(); foreach ($reflectionParameters as $reflectionParameter) { @@ -147,7 +147,7 @@ final class AutowireArrayParameterCompilerPass implements \RectorPrefix20220519\ $references = []; $definitionOfTypeNames = \array_keys($definitions); foreach ($definitionOfTypeNames as $definitionOfTypeName) { - $references[] = new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Reference($definitionOfTypeName); + $references[] = new \RectorPrefix20220520\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 54304bf7721..a5952980746 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(\RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerBuilder $containerBuilder, string $type) : \RectorPrefix20220519\Symfony\Component\DependencyInjection\Definition + public function getByType(\RectorPrefix20220520\Symfony\Component\DependencyInjection\ContainerBuilder $containerBuilder, string $type) : \RectorPrefix20220520\Symfony\Component\DependencyInjection\Definition { $definition = $this->getByTypeIfExists($containerBuilder, $type); if ($definition !== null) { return $definition; } - throw new \RectorPrefix20220519\Symplify\AutowireArrayParameter\Exception\DependencyInjection\DefinitionForTypeNotFoundException(\sprintf('Definition for type "%s" was not found.', $type)); + throw new \RectorPrefix20220520\Symplify\AutowireArrayParameter\Exception\DependencyInjection\DefinitionForTypeNotFoundException(\sprintf('Definition for type "%s" was not found.', $type)); } - private function getByTypeIfExists(\RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerBuilder $containerBuilder, string $type) : ?\RectorPrefix20220519\Symfony\Component\DependencyInjection\Definition + private function getByTypeIfExists(\RectorPrefix20220520\Symfony\Component\DependencyInjection\ContainerBuilder $containerBuilder, string $type) : ?\RectorPrefix20220520\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 2cb2dcee446..5c1eb936f6c 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, \RectorPrefix20220519\Symfony\Component\DependencyInjection\Definition $definition, \ReflectionParameter $reflectionParameter) : bool + public function shouldSkipParameter(\ReflectionMethod $reflectionMethod, \RectorPrefix20220520\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 08e9f6e7578..2262ddda8df 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 = \RectorPrefix20220519\Nette\Utils\Reflection::expandClassName($resolvedType, $declaringReflectionClass); + $resolvedClass = \RectorPrefix20220520\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 f3e5f7963b3..0a625cadec9 100644 --- a/vendor/symplify/composer-json-manipulator/composer.json +++ b/vendor/symplify/composer-json-manipulator/composer.json @@ -18,12 +18,12 @@ }, "autoload": { "psr-4": { - "RectorPrefix20220519\\Symplify\\ComposerJsonManipulator\\": "src" + "RectorPrefix20220520\\Symplify\\ComposerJsonManipulator\\": "src" } }, "autoload-dev": { "psr-4": { - "RectorPrefix20220519\\Symplify\\ComposerJsonManipulator\\Tests\\": "tests" + "RectorPrefix20220520\\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 bffe35a03c8..f52bcf981cd 100644 --- a/vendor/symplify/composer-json-manipulator/config/config.php +++ b/vendor/symplify/composer-json-manipulator/config/config.php @@ -1,25 +1,25 @@ parameters(); - $parameters->set(\RectorPrefix20220519\Symplify\ComposerJsonManipulator\ValueObject\Option::INLINE_SECTIONS, ['keywords']); + $parameters->set(\RectorPrefix20220520\Symplify\ComposerJsonManipulator\ValueObject\Option::INLINE_SECTIONS, ['keywords']); $services = $containerConfigurator->services(); $services->defaults()->public()->autowire()->autoconfigure(); - $services->load('RectorPrefix20220519\Symplify\\ComposerJsonManipulator\\', __DIR__ . '/../src'); - $services->set(\RectorPrefix20220519\Symplify\SmartFileSystem\SmartFileSystem::class); - $services->set(\RectorPrefix20220519\Symplify\PackageBuilder\Reflection\PrivatesCaller::class); - $services->set(\RectorPrefix20220519\Symplify\PackageBuilder\Parameter\ParameterProvider::class)->args([\RectorPrefix20220519\Symfony\Component\DependencyInjection\Loader\Configurator\service('service_container')]); - $services->set(\RectorPrefix20220519\Symplify\PackageBuilder\Console\Style\SymfonyStyleFactory::class); - $services->set(\RectorPrefix20220519\Symfony\Component\Console\Style\SymfonyStyle::class)->factory([\RectorPrefix20220519\Symfony\Component\DependencyInjection\Loader\Configurator\service(\RectorPrefix20220519\Symplify\PackageBuilder\Console\Style\SymfonyStyleFactory::class), 'create']); + $services->load('RectorPrefix20220520\Symplify\\ComposerJsonManipulator\\', __DIR__ . '/../src'); + $services->set(\RectorPrefix20220520\Symplify\SmartFileSystem\SmartFileSystem::class); + $services->set(\RectorPrefix20220520\Symplify\PackageBuilder\Reflection\PrivatesCaller::class); + $services->set(\RectorPrefix20220520\Symplify\PackageBuilder\Parameter\ParameterProvider::class)->args([\RectorPrefix20220520\Symfony\Component\DependencyInjection\Loader\Configurator\service('service_container')]); + $services->set(\RectorPrefix20220520\Symplify\PackageBuilder\Console\Style\SymfonyStyleFactory::class); + $services->set(\RectorPrefix20220520\Symfony\Component\Console\Style\SymfonyStyle::class)->factory([\RectorPrefix20220520\Symfony\Component\DependencyInjection\Loader\Configurator\service(\RectorPrefix20220520\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 3f7069ebada..4bbc9e5883d 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) : \RectorPrefix20220519\Symplify\ComposerJsonManipulator\ValueObject\ComposerJson + public function createFromString(string $jsonString) : \RectorPrefix20220520\Symplify\ComposerJsonManipulator\ValueObject\ComposerJson { - $jsonArray = \RectorPrefix20220519\Nette\Utils\Json::decode($jsonString, \RectorPrefix20220519\Nette\Utils\Json::FORCE_ARRAY); + $jsonArray = \RectorPrefix20220520\Nette\Utils\Json::decode($jsonString, \RectorPrefix20220520\Nette\Utils\Json::FORCE_ARRAY); return $this->createFromArray($jsonArray); } - public function createFromFileInfo(\Symplify\SmartFileSystem\SmartFileInfo $smartFileInfo) : \RectorPrefix20220519\Symplify\ComposerJsonManipulator\ValueObject\ComposerJson + public function createFromFileInfo(\Symplify\SmartFileSystem\SmartFileInfo $smartFileInfo) : \RectorPrefix20220520\Symplify\ComposerJsonManipulator\ValueObject\ComposerJson { $jsonArray = $this->jsonFileManager->loadFromFilePath($smartFileInfo->getRealPath()); $composerJson = $this->createFromArray($jsonArray); $composerJson->setOriginalFileInfo($smartFileInfo); return $composerJson; } - public function createFromFilePath(string $filePath) : \RectorPrefix20220519\Symplify\ComposerJsonManipulator\ValueObject\ComposerJson + public function createFromFilePath(string $filePath) : \RectorPrefix20220520\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() : \RectorPrefix20220519\Symplify\ComposerJsonManipulator\ValueObject\ComposerJson + public function createEmpty() : \RectorPrefix20220520\Symplify\ComposerJsonManipulator\ValueObject\ComposerJson { - return new \RectorPrefix20220519\Symplify\ComposerJsonManipulator\ValueObject\ComposerJson(); + return new \RectorPrefix20220520\Symplify\ComposerJsonManipulator\ValueObject\ComposerJson(); } /** * @param mixed[] $jsonArray */ - public function createFromArray(array $jsonArray) : \RectorPrefix20220519\Symplify\ComposerJsonManipulator\ValueObject\ComposerJson + public function createFromArray(array $jsonArray) : \RectorPrefix20220520\Symplify\ComposerJsonManipulator\ValueObject\ComposerJson { - $composerJson = new \RectorPrefix20220519\Symplify\ComposerJsonManipulator\ValueObject\ComposerJson(); - if (isset($jsonArray[\RectorPrefix20220519\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::CONFIG])) { - $composerJson->setConfig($jsonArray[\RectorPrefix20220519\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::CONFIG]); + $composerJson = new \RectorPrefix20220520\Symplify\ComposerJsonManipulator\ValueObject\ComposerJson(); + if (isset($jsonArray[\RectorPrefix20220520\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::CONFIG])) { + $composerJson->setConfig($jsonArray[\RectorPrefix20220520\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::CONFIG]); } - if (isset($jsonArray[\RectorPrefix20220519\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::NAME])) { - $composerJson->setName($jsonArray[\RectorPrefix20220519\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::NAME]); + if (isset($jsonArray[\RectorPrefix20220520\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::NAME])) { + $composerJson->setName($jsonArray[\RectorPrefix20220520\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::NAME]); } - if (isset($jsonArray[\RectorPrefix20220519\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::TYPE])) { - $composerJson->setType($jsonArray[\RectorPrefix20220519\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::TYPE]); + if (isset($jsonArray[\RectorPrefix20220520\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::TYPE])) { + $composerJson->setType($jsonArray[\RectorPrefix20220520\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::TYPE]); } - if (isset($jsonArray[\RectorPrefix20220519\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::AUTHORS])) { - $composerJson->setAuthors($jsonArray[\RectorPrefix20220519\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::AUTHORS]); + if (isset($jsonArray[\RectorPrefix20220520\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::AUTHORS])) { + $composerJson->setAuthors($jsonArray[\RectorPrefix20220520\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::AUTHORS]); } - if (isset($jsonArray[\RectorPrefix20220519\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::DESCRIPTION])) { - $composerJson->setDescription($jsonArray[\RectorPrefix20220519\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::DESCRIPTION]); + if (isset($jsonArray[\RectorPrefix20220520\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::DESCRIPTION])) { + $composerJson->setDescription($jsonArray[\RectorPrefix20220520\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::DESCRIPTION]); } - if (isset($jsonArray[\RectorPrefix20220519\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::KEYWORDS])) { - $composerJson->setKeywords($jsonArray[\RectorPrefix20220519\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::KEYWORDS]); + if (isset($jsonArray[\RectorPrefix20220520\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::KEYWORDS])) { + $composerJson->setKeywords($jsonArray[\RectorPrefix20220520\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::KEYWORDS]); } - if (isset($jsonArray[\RectorPrefix20220519\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::HOMEPAGE])) { - $composerJson->setHomepage($jsonArray[\RectorPrefix20220519\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::HOMEPAGE]); + if (isset($jsonArray[\RectorPrefix20220520\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::HOMEPAGE])) { + $composerJson->setHomepage($jsonArray[\RectorPrefix20220520\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::HOMEPAGE]); } - if (isset($jsonArray[\RectorPrefix20220519\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::LICENSE])) { - $composerJson->setLicense($jsonArray[\RectorPrefix20220519\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::LICENSE]); + if (isset($jsonArray[\RectorPrefix20220520\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::LICENSE])) { + $composerJson->setLicense($jsonArray[\RectorPrefix20220520\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::LICENSE]); } - if (isset($jsonArray[\RectorPrefix20220519\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::BIN])) { - $composerJson->setBin($jsonArray[\RectorPrefix20220519\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::BIN]); + if (isset($jsonArray[\RectorPrefix20220520\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::BIN])) { + $composerJson->setBin($jsonArray[\RectorPrefix20220520\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::BIN]); } - if (isset($jsonArray[\RectorPrefix20220519\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::REQUIRE])) { - $composerJson->setRequire($jsonArray[\RectorPrefix20220519\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::REQUIRE]); + if (isset($jsonArray[\RectorPrefix20220520\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::REQUIRE])) { + $composerJson->setRequire($jsonArray[\RectorPrefix20220520\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::REQUIRE]); } - if (isset($jsonArray[\RectorPrefix20220519\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::REQUIRE_DEV])) { - $composerJson->setRequireDev($jsonArray[\RectorPrefix20220519\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::REQUIRE_DEV]); + if (isset($jsonArray[\RectorPrefix20220520\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::REQUIRE_DEV])) { + $composerJson->setRequireDev($jsonArray[\RectorPrefix20220520\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::REQUIRE_DEV]); } - if (isset($jsonArray[\RectorPrefix20220519\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::AUTOLOAD])) { - $composerJson->setAutoload($jsonArray[\RectorPrefix20220519\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::AUTOLOAD]); + if (isset($jsonArray[\RectorPrefix20220520\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::AUTOLOAD])) { + $composerJson->setAutoload($jsonArray[\RectorPrefix20220520\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::AUTOLOAD]); } - if (isset($jsonArray[\RectorPrefix20220519\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::AUTOLOAD_DEV])) { - $composerJson->setAutoloadDev($jsonArray[\RectorPrefix20220519\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::AUTOLOAD_DEV]); + if (isset($jsonArray[\RectorPrefix20220520\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::AUTOLOAD_DEV])) { + $composerJson->setAutoloadDev($jsonArray[\RectorPrefix20220520\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::AUTOLOAD_DEV]); } - if (isset($jsonArray[\RectorPrefix20220519\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::REPLACE])) { - $composerJson->setReplace($jsonArray[\RectorPrefix20220519\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::REPLACE]); + if (isset($jsonArray[\RectorPrefix20220520\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::REPLACE])) { + $composerJson->setReplace($jsonArray[\RectorPrefix20220520\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::REPLACE]); } - if (isset($jsonArray[\RectorPrefix20220519\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::EXTRA])) { - $composerJson->setExtra($jsonArray[\RectorPrefix20220519\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::EXTRA]); + if (isset($jsonArray[\RectorPrefix20220520\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::EXTRA])) { + $composerJson->setExtra($jsonArray[\RectorPrefix20220520\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::EXTRA]); } - if (isset($jsonArray[\RectorPrefix20220519\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::SCRIPTS])) { - $composerJson->setScripts($jsonArray[\RectorPrefix20220519\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::SCRIPTS]); + if (isset($jsonArray[\RectorPrefix20220520\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::SCRIPTS])) { + $composerJson->setScripts($jsonArray[\RectorPrefix20220520\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::SCRIPTS]); } - if (isset($jsonArray[\RectorPrefix20220519\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::SCRIPTS_DESCRIPTIONS])) { - $composerJson->setScriptsDescriptions($jsonArray[\RectorPrefix20220519\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::SCRIPTS_DESCRIPTIONS]); + if (isset($jsonArray[\RectorPrefix20220520\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::SCRIPTS_DESCRIPTIONS])) { + $composerJson->setScriptsDescriptions($jsonArray[\RectorPrefix20220520\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::SCRIPTS_DESCRIPTIONS]); } - if (isset($jsonArray[\RectorPrefix20220519\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::SUGGEST])) { - $composerJson->setSuggest($jsonArray[\RectorPrefix20220519\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::SUGGEST]); + if (isset($jsonArray[\RectorPrefix20220520\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::SUGGEST])) { + $composerJson->setSuggest($jsonArray[\RectorPrefix20220520\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::SUGGEST]); } - if (isset($jsonArray[\RectorPrefix20220519\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::MINIMUM_STABILITY])) { - $composerJson->setMinimumStability($jsonArray[\RectorPrefix20220519\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::MINIMUM_STABILITY]); + if (isset($jsonArray[\RectorPrefix20220520\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::MINIMUM_STABILITY])) { + $composerJson->setMinimumStability($jsonArray[\RectorPrefix20220520\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::MINIMUM_STABILITY]); } - if (isset($jsonArray[\RectorPrefix20220519\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::PREFER_STABLE])) { - $composerJson->setPreferStable($jsonArray[\RectorPrefix20220519\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::PREFER_STABLE]); + if (isset($jsonArray[\RectorPrefix20220520\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::PREFER_STABLE])) { + $composerJson->setPreferStable($jsonArray[\RectorPrefix20220520\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::PREFER_STABLE]); } - if (isset($jsonArray[\RectorPrefix20220519\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::CONFLICT])) { - $composerJson->setConflicts($jsonArray[\RectorPrefix20220519\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::CONFLICT]); + if (isset($jsonArray[\RectorPrefix20220520\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::CONFLICT])) { + $composerJson->setConflicts($jsonArray[\RectorPrefix20220520\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::CONFLICT]); } - if (isset($jsonArray[\RectorPrefix20220519\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::REPOSITORIES])) { - $composerJson->setRepositories($jsonArray[\RectorPrefix20220519\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::REPOSITORIES]); + if (isset($jsonArray[\RectorPrefix20220520\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::REPOSITORIES])) { + $composerJson->setRepositories($jsonArray[\RectorPrefix20220520\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::REPOSITORIES]); } - if (isset($jsonArray[\RectorPrefix20220519\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::VERSION])) { - $composerJson->setVersion($jsonArray[\RectorPrefix20220519\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::VERSION]); + if (isset($jsonArray[\RectorPrefix20220520\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::VERSION])) { + $composerJson->setVersion($jsonArray[\RectorPrefix20220520\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 1a0cf69de6a..62c7b3dc742 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] = \RectorPrefix20220519\Nette\Utils\Json::decode($smartFileInfo->getContents(), \RectorPrefix20220519\Nette\Utils\Json::FORCE_ARRAY); + $this->cachedJSONFiles[$realPath] = \RectorPrefix20220520\Nette\Utils\Json::decode($smartFileInfo->getContents(), \RectorPrefix20220520\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 \RectorPrefix20220519\Nette\Utils\Json::decode($fileContent, \RectorPrefix20220519\Nette\Utils\Json::FORCE_ARRAY); + return \RectorPrefix20220520\Nette\Utils\Json::decode($fileContent, \RectorPrefix20220520\Nette\Utils\Json::FORCE_ARRAY); } /** * @param mixed[] $json @@ -67,7 +67,7 @@ final class JsonFileManager unset($this->cachedJSONFiles[$realPath]); return $jsonString; } - public function printComposerJsonToFilePath(\RectorPrefix20220519\Symplify\ComposerJsonManipulator\ValueObject\ComposerJson $composerJson, string $filePath) : string + public function printComposerJsonToFilePath(\RectorPrefix20220520\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 = \RectorPrefix20220519\Nette\Utils\Json::encode($json, \RectorPrefix20220519\Nette\Utils\Json::PRETTY) . \RectorPrefix20220519\Symplify\PackageBuilder\Configuration\StaticEolConfiguration::getEolChar(); + $jsonContent = \RectorPrefix20220520\Nette\Utils\Json::encode($json, \RectorPrefix20220520\Nette\Utils\Json::PRETTY) . \RectorPrefix20220520\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 6599b516283..2b550d38b0a 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(\RectorPrefix20220519\Symplify\ComposerJsonManipulator\ValueObject\Option::INLINE_SECTIONS)) { + if (!$this->parameterProvider->hasParameter(\RectorPrefix20220520\Symplify\ComposerJsonManipulator\ValueObject\Option::INLINE_SECTIONS)) { return $jsonContent; } - $inlineSections = $this->parameterProvider->provideArrayParameter(\RectorPrefix20220519\Symplify\ComposerJsonManipulator\ValueObject\Option::INLINE_SECTIONS); + $inlineSections = $this->parameterProvider->provideArrayParameter(\RectorPrefix20220520\Symplify\ComposerJsonManipulator\ValueObject\Option::INLINE_SECTIONS); foreach ($inlineSections as $inlineSection) { $pattern = '#("' . \preg_quote($inlineSection, '#') . '": )\\[(.*?)\\](,)#ms'; - $jsonContent = \RectorPrefix20220519\Nette\Utils\Strings::replace($jsonContent, $pattern, function (array $match) : string { - $inlined = \RectorPrefix20220519\Nette\Utils\Strings::replace($match[2], self::SPACE_REGEX, ' '); + $jsonContent = \RectorPrefix20220520\Nette\Utils\Strings::replace($jsonContent, $pattern, function (array $match) : string { + $inlined = \RectorPrefix20220520\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 926d0913f5f..7b7b443bf7c 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(\RectorPrefix20220519\Symplify\ComposerJsonManipulator\ValueObject\ComposerJson $composerJson) : string + public function printToString(\RectorPrefix20220520\Symplify\ComposerJsonManipulator\ValueObject\ComposerJson $composerJson) : string { return $this->jsonFileManager->encodeJsonToFileContent($composerJson->getJsonArray()); } /** * @param string|\Symplify\SmartFileSystem\SmartFileInfo $targetFile */ - public function print(\RectorPrefix20220519\Symplify\ComposerJsonManipulator\ValueObject\ComposerJson $composerJson, $targetFile) : string + public function print(\RectorPrefix20220520\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 2d612b41735..b512479925b 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 \RectorPrefix20220519\Nette\Utils\Strings::replace($requirementName, self::REQUIREMENT_TYPE_REGEX, function (array $match) : string { + return \RectorPrefix20220520\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) \RectorPrefix20220519\Nette\Utils\Strings::match($name, self::PLATFORM_PACKAGE_REGEX); + return (bool) \RectorPrefix20220520\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 dd52ef518e9..e8125885d6e 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 \RectorPrefix20220519\Symplify\ComposerJsonManipulator\Sorter\ComposerPackageSorter(); + $this->composerPackageSorter = new \RectorPrefix20220520\Symplify\ComposerJsonManipulator\Sorter\ComposerPackageSorter(); } public function setOriginalFileInfo(\Symplify\SmartFileSystem\SmartFileInfo $fileInfo) : void { @@ -209,7 +209,7 @@ final class ComposerJson public function getAbsoluteAutoloadDirectories() : array { if ($this->fileInfo === null) { - throw new \RectorPrefix20220519\Symplify\SymplifyKernel\Exception\ShouldNotHappenException(); + throw new \RectorPrefix20220520\Symplify\SymplifyKernel\Exception\ShouldNotHappenException(); } $autoloadDirectories = $this->getAutoloadDirectories(); $absoluteAutoloadDirectories = []; @@ -312,7 +312,7 @@ final class ComposerJson if ($this->name === null) { return null; } - return \RectorPrefix20220519\Nette\Utils\Strings::after($this->name, '/', -1); + return \RectorPrefix20220520\Nette\Utils\Strings::after($this->name, '/', -1); } /** * @return string[] @@ -342,14 +342,14 @@ final class ComposerJson */ public function getJsonArray() : array { - $array = \array_filter([\RectorPrefix20220519\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::NAME => $this->name, \RectorPrefix20220519\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::DESCRIPTION => $this->description, \RectorPrefix20220519\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::KEYWORDS => $this->keywords, \RectorPrefix20220519\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::HOMEPAGE => $this->homepage, \RectorPrefix20220519\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::LICENSE => $this->license, \RectorPrefix20220519\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::AUTHORS => $this->authors, \RectorPrefix20220519\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::TYPE => $this->type, \RectorPrefix20220519\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::REQUIRE => $this->require, \RectorPrefix20220519\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::REQUIRE_DEV => $this->requireDev, \RectorPrefix20220519\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::AUTOLOAD => $this->autoload, \RectorPrefix20220519\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::AUTOLOAD_DEV => $this->autoloadDev, \RectorPrefix20220519\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::REPOSITORIES => $this->repositories, \RectorPrefix20220519\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::EXTRA => $this->extra, \RectorPrefix20220519\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::BIN => $this->bin, \RectorPrefix20220519\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::SCRIPTS => $this->scripts, \RectorPrefix20220519\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::SCRIPTS_DESCRIPTIONS => $this->scriptsDescriptions, \RectorPrefix20220519\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::SUGGEST => $this->suggest, \RectorPrefix20220519\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::CONFIG => $this->config, \RectorPrefix20220519\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::REPLACE => $this->replace, \RectorPrefix20220519\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::CONFLICT => $this->conflicts, \RectorPrefix20220519\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::VERSION => $this->version]); + $array = \array_filter([\RectorPrefix20220520\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::NAME => $this->name, \RectorPrefix20220520\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::DESCRIPTION => $this->description, \RectorPrefix20220520\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::KEYWORDS => $this->keywords, \RectorPrefix20220520\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::HOMEPAGE => $this->homepage, \RectorPrefix20220520\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::LICENSE => $this->license, \RectorPrefix20220520\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::AUTHORS => $this->authors, \RectorPrefix20220520\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::TYPE => $this->type, \RectorPrefix20220520\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::REQUIRE => $this->require, \RectorPrefix20220520\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::REQUIRE_DEV => $this->requireDev, \RectorPrefix20220520\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::AUTOLOAD => $this->autoload, \RectorPrefix20220520\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::AUTOLOAD_DEV => $this->autoloadDev, \RectorPrefix20220520\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::REPOSITORIES => $this->repositories, \RectorPrefix20220520\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::EXTRA => $this->extra, \RectorPrefix20220520\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::BIN => $this->bin, \RectorPrefix20220520\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::SCRIPTS => $this->scripts, \RectorPrefix20220520\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::SCRIPTS_DESCRIPTIONS => $this->scriptsDescriptions, \RectorPrefix20220520\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::SUGGEST => $this->suggest, \RectorPrefix20220520\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::CONFIG => $this->config, \RectorPrefix20220520\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::REPLACE => $this->replace, \RectorPrefix20220520\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::CONFLICT => $this->conflicts, \RectorPrefix20220520\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::VERSION => $this->version]); if ($this->minimumStability !== null) { - $array[\RectorPrefix20220519\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::MINIMUM_STABILITY] = $this->minimumStability; - $this->moveValueToBack(\RectorPrefix20220519\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::MINIMUM_STABILITY); + $array[\RectorPrefix20220520\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::MINIMUM_STABILITY] = $this->minimumStability; + $this->moveValueToBack(\RectorPrefix20220520\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::MINIMUM_STABILITY); } if ($this->preferStable !== null) { - $array[\RectorPrefix20220519\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::PREFER_STABLE] = $this->preferStable; - $this->moveValueToBack(\RectorPrefix20220519\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::PREFER_STABLE); + $array[\RectorPrefix20220520\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::PREFER_STABLE] = $this->preferStable; + $this->moveValueToBack(\RectorPrefix20220520\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::PREFER_STABLE); } return $this->sortItemsByOrderedListOfKeys($array, $this->orderedKeys); } @@ -587,7 +587,7 @@ final class ComposerJson public function getAutoloadDirectories() : array { $autoloadDirectories = \array_merge($this->getPsr4AndClassmapDirectories(), $this->getPsr4AndClassmapDevDirectories()); - return \RectorPrefix20220519\Nette\Utils\Arrays::flatten($autoloadDirectories); + return \RectorPrefix20220520\Nette\Utils\Arrays::flatten($autoloadDirectories); } /** * @return string[] @@ -664,7 +664,7 @@ final class ComposerJson private function resolveExistingAutoloadDirectory(string $autoloadDirectory) : string { if ($this->fileInfo === null) { - throw new \RectorPrefix20220519\Symplify\SymplifyKernel\Exception\ShouldNotHappenException(); + throw new \RectorPrefix20220520\Symplify\SymplifyKernel\Exception\ShouldNotHappenException(); } $filePathCandidates = [ $this->fileInfo->getPath() . \DIRECTORY_SEPARATOR . $autoloadDirectory, @@ -703,4 +703,4 @@ final class ComposerJson * @api * @see \Symplify\ComposerJsonManipulator\Tests\ValueObject\ComposerJsonTest */ -\class_alias('RectorPrefix20220519\\Symplify\\ComposerJsonManipulator\\ValueObject\\ComposerJson', 'Symplify\\ComposerJsonManipulator\\ValueObject\\ComposerJson', \false); +\class_alias('RectorPrefix20220520\\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 fdd2a200986..7e918e1143d 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('RectorPrefix20220519\Symplify\\EasyParallel\\', __DIR__ . '/../src')->exclude([__DIR__ . '/../src/ValueObject']); + $services->load('RectorPrefix20220520\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 bc195cf45f8..53c6d8c2ac0 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 \RectorPrefix20220519\Symplify\EasyParallel\Reflection\CommandFromReflectionFactory(); + $this->commandFromReflectionFactory = new \RectorPrefix20220520\Symplify\EasyParallel\Reflection\CommandFromReflectionFactory(); } /** * @param class-string $mainCommandClass */ - public function create(string $baseScript, string $mainCommandClass, string $workerCommandName, string $pathsOptionName, ?string $projectConfigFile, \RectorPrefix20220519\Symfony\Component\Console\Input\InputInterface $input, string $identifier, int $port) : string + public function create(string $baseScript, string $mainCommandClass, string $workerCommandName, string $pathsOptionName, ?string $projectConfigFile, \RectorPrefix20220520\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 \RectorPrefix20220519\Symplify\EasyParallel\Exception\ParallelShouldNotHappenException($errorMessage); + throw new \RectorPrefix20220520\Symplify\EasyParallel\Exception\ParallelShouldNotHappenException($errorMessage); } $mainCommandName = $mainCommand->getName(); $processCommandArray = []; @@ -80,7 +80,7 @@ final class WorkerCommandLineFactory /** * @return string[] */ - private function getCommandOptionNames(\RectorPrefix20220519\Symfony\Component\Console\Command\Command $command) : array + private function getCommandOptionNames(\RectorPrefix20220520\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(\RectorPrefix20220519\Symfony\Component\Console\Input\InputInterface $input, array $mainCommandOptionNames) : array + private function mirrorCommandOptions(\RectorPrefix20220520\Symfony\Component\Console\Input\InputInterface $input, array $mainCommandOptionNames) : array { $processCommandOptions = []; foreach ($mainCommandOptionNames as $mainCommandOptionName) { @@ -124,7 +124,7 @@ final class WorkerCommandLineFactory } return $processCommandOptions; } - private function shouldSkipOption(\RectorPrefix20220519\Symfony\Component\Console\Input\InputInterface $input, string $optionName) : bool + private function shouldSkipOption(\RectorPrefix20220520\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 e7dea02494c..e2a763d7cfc 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) : \RectorPrefix20220519\Symfony\Component\Console\Command\Command + public function create(string $className) : \RectorPrefix20220520\Symfony\Component\Console\Command\Command { $commandReflectionClass = new \ReflectionClass($className); $command = $commandReflectionClass->newInstanceWithoutConstructor(); $parentClassReflection = $commandReflectionClass->getParentClass(); if (!$parentClassReflection instanceof \ReflectionClass) { - throw new \RectorPrefix20220519\Symplify\EasyParallel\Exception\ParallelShouldNotHappenException(); + throw new \RectorPrefix20220520\Symplify\EasyParallel\Exception\ParallelShouldNotHappenException(); } $parentConstructorReflectionMethod = $parentClassReflection->getConstructor(); if (!$parentConstructorReflectionMethod instanceof \ReflectionMethod) { - throw new \RectorPrefix20220519\Symplify\EasyParallel\Exception\ParallelShouldNotHappenException(); + throw new \RectorPrefix20220520\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 aa409f84257..ef4a8f48ef7 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) : \RectorPrefix20220519\Symplify\EasyParallel\ValueObject\Schedule + public function create(int $cpuCores, int $jobSize, int $maxNumberOfProcesses, array $files) : \RectorPrefix20220520\Symplify\EasyParallel\ValueObject\Schedule { $jobs = \array_chunk($files, $jobSize); $numberOfProcesses = \min(\count($jobs), $cpuCores); $numberOfProcesses = \min($maxNumberOfProcesses, $numberOfProcesses); - return new \RectorPrefix20220519\Symplify\EasyParallel\ValueObject\Schedule($numberOfProcesses, $jobs); + return new \RectorPrefix20220520\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 9ccfbbe606e..1dac76ac7c9 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,16 +71,16 @@ final class ParallelProcess { $tmp = \tmpfile(); if ($tmp === \false) { - throw new \RectorPrefix20220519\Symplify\EasyParallel\Exception\ParallelShouldNotHappenException('Failed creating temp file.'); + throw new \RectorPrefix20220520\Symplify\EasyParallel\Exception\ParallelShouldNotHappenException('Failed creating temp file.'); } $this->stdErr = $tmp; - $this->process = new \RectorPrefix20220519\React\ChildProcess\Process($this->command, null, null, [2 => $this->stdErr]); + $this->process = new \RectorPrefix20220520\React\ChildProcess\Process($this->command, null, null, [2 => $this->stdErr]); $this->process->start($this->loop); $this->onData = $onData; $this->onError = $onError; - $this->process->on(\RectorPrefix20220519\Symplify\EasyParallel\Enum\ReactEvent::EXIT, function ($exitCode) use($onExit) : void { + $this->process->on(\RectorPrefix20220520\Symplify\EasyParallel\Enum\ReactEvent::EXIT, function ($exitCode) use($onExit) : void { if ($this->stdErr === null) { - throw new \RectorPrefix20220519\Symplify\EasyParallel\Exception\ParallelShouldNotHappenException(); + throw new \RectorPrefix20220520\Symplify\EasyParallel\Exception\ParallelShouldNotHappenException(); } $this->cancelTimer(); \rewind($this->stdErr); @@ -115,22 +115,22 @@ final class ParallelProcess $this->encoder->end(); $this->process->terminate(); } - public function bindConnection(\RectorPrefix20220519\Clue\React\NDJson\Decoder $decoder, \RectorPrefix20220519\Clue\React\NDJson\Encoder $encoder) : void + public function bindConnection(\RectorPrefix20220520\Clue\React\NDJson\Decoder $decoder, \RectorPrefix20220520\Clue\React\NDJson\Encoder $encoder) : void { - $decoder->on(\RectorPrefix20220519\Symplify\EasyParallel\Enum\ReactEvent::DATA, function (array $json) : void { + $decoder->on(\RectorPrefix20220520\Symplify\EasyParallel\Enum\ReactEvent::DATA, function (array $json) : void { $this->cancelTimer(); - if ($json[\RectorPrefix20220519\Symplify\EasyParallel\Enum\ReactCommand::ACTION] !== \RectorPrefix20220519\Symplify\EasyParallel\Enum\Action::RESULT) { + if ($json[\RectorPrefix20220520\Symplify\EasyParallel\Enum\ReactCommand::ACTION] !== \RectorPrefix20220520\Symplify\EasyParallel\Enum\Action::RESULT) { return; } $onData = $this->onData; - $onData($json[\RectorPrefix20220519\Symplify\EasyParallel\Enum\Content::RESULT]); + $onData($json[\RectorPrefix20220520\Symplify\EasyParallel\Enum\Content::RESULT]); }); $this->encoder = $encoder; - $decoder->on(\RectorPrefix20220519\Symplify\EasyParallel\Enum\ReactEvent::ERROR, function (\Throwable $throwable) : void { + $decoder->on(\RectorPrefix20220520\Symplify\EasyParallel\Enum\ReactEvent::ERROR, function (\Throwable $throwable) : void { $onError = $this->onError; $onError($throwable); }); - $encoder->on(\RectorPrefix20220519\Symplify\EasyParallel\Enum\ReactEvent::ERROR, function (\Throwable $throwable) : void { + $encoder->on(\RectorPrefix20220520\Symplify\EasyParallel\Enum\ReactEvent::ERROR, function (\Throwable $throwable) : void { $onError = $this->onError; $onError($throwable); }); diff --git a/vendor/symplify/easy-parallel/src/ValueObject/ProcessPool.php b/vendor/symplify/easy-parallel/src/ValueObject/ProcessPool.php index 758adf79261..0b506110dc6 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) : \RectorPrefix20220519\Symplify\EasyParallel\ValueObject\ParallelProcess + public function getProcess(string $identifier) : \RectorPrefix20220520\Symplify\EasyParallel\ValueObject\ParallelProcess { if (!\array_key_exists($identifier, $this->processes)) { - throw new \RectorPrefix20220519\Symplify\EasyParallel\Exception\ParallelShouldNotHappenException(\sprintf('Process "%s" not found.', $identifier)); + throw new \RectorPrefix20220520\Symplify\EasyParallel\Exception\ParallelShouldNotHappenException(\sprintf('Process "%s" not found.', $identifier)); } return $this->processes[$identifier]; } - public function attachProcess(string $identifier, \RectorPrefix20220519\Symplify\EasyParallel\ValueObject\ParallelProcess $parallelProcess) : void + public function attachProcess(string $identifier, \RectorPrefix20220520\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 b4612249601..b9c18f51dec 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 541c29b3f3d..9b809af25af 100644 --- a/vendor/symplify/easy-testing/composer.json +++ b/vendor/symplify/easy-testing/composer.json @@ -21,12 +21,12 @@ }, "autoload": { "psr-4": { - "RectorPrefix20220519\\Symplify\\EasyTesting\\": "src" + "RectorPrefix20220520\\Symplify\\EasyTesting\\": "src" } }, "autoload-dev": { "psr-4": { - "RectorPrefix20220519\\Symplify\\EasyTesting\\Tests\\": "tests" + "RectorPrefix20220520\\Symplify\\EasyTesting\\Tests\\": "tests" } }, "extra": { diff --git a/vendor/symplify/easy-testing/config/config.php b/vendor/symplify/easy-testing/config/config.php index 7fa80f5a6ac..c4e2a476e8f 100644 --- a/vendor/symplify/easy-testing/config/config.php +++ b/vendor/symplify/easy-testing/config/config.php @@ -1,16 +1,16 @@ services(); $services->defaults()->public()->autowire()->autoconfigure(); - $services->load('RectorPrefix20220519\Symplify\\EasyTesting\\', __DIR__ . '/../src')->exclude([__DIR__ . '/../src/DataProvider', __DIR__ . '/../src/Kernel', __DIR__ . '/../src/ValueObject']); + $services->load('RectorPrefix20220520\Symplify\\EasyTesting\\', __DIR__ . '/../src')->exclude([__DIR__ . '/../src/DataProvider', __DIR__ . '/../src/Kernel', __DIR__ . '/../src/ValueObject']); // console - $services->set(\RectorPrefix20220519\Symfony\Component\Console\Application::class)->call('add', [\RectorPrefix20220519\Symfony\Component\DependencyInjection\Loader\Configurator\service(\RectorPrefix20220519\Symplify\EasyTesting\Command\ValidateFixtureSkipNamingCommand::class)]); + $services->set(\RectorPrefix20220520\Symfony\Component\Console\Application::class)->call('add', [\RectorPrefix20220520\Symfony\Component\DependencyInjection\Loader\Configurator\service(\RectorPrefix20220520\Symplify\EasyTesting\Command\ValidateFixtureSkipNamingCommand::class)]); }; diff --git a/vendor/symplify/easy-testing/src/Command/ValidateFixtureSkipNamingCommand.php b/vendor/symplify/easy-testing/src/Command/ValidateFixtureSkipNamingCommand.php index ff9e9d6bd53..333a9edffb1 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; @@ -29,12 +29,12 @@ final class ValidateFixtureSkipNamingCommand extends \RectorPrefix20220519\Sympl protected function configure() : void { $this->setName('validate-fixture-skip-naming'); - $this->addArgument(\RectorPrefix20220519\Symplify\EasyTesting\ValueObject\Option::SOURCE, \RectorPrefix20220519\Symfony\Component\Console\Input\InputArgument::REQUIRED | \RectorPrefix20220519\Symfony\Component\Console\Input\InputArgument::IS_ARRAY, 'Paths to analyse'); + $this->addArgument(\RectorPrefix20220520\Symplify\EasyTesting\ValueObject\Option::SOURCE, \RectorPrefix20220520\Symfony\Component\Console\Input\InputArgument::REQUIRED | \RectorPrefix20220520\Symfony\Component\Console\Input\InputArgument::IS_ARRAY, 'Paths to analyse'); $this->setDescription('Check that skipped fixture files (without `-----` separator) have a "skip" prefix'); } - protected function execute(\RectorPrefix20220519\Symfony\Component\Console\Input\InputInterface $input, \RectorPrefix20220519\Symfony\Component\Console\Output\OutputInterface $output) : int + protected function execute(\RectorPrefix20220520\Symfony\Component\Console\Input\InputInterface $input, \RectorPrefix20220520\Symfony\Component\Console\Output\OutputInterface $output) : int { - $source = (array) $input->getArgument(\RectorPrefix20220519\Symplify\EasyTesting\ValueObject\Option::SOURCE); + $source = (array) $input->getArgument(\RectorPrefix20220520\Symplify\EasyTesting\ValueObject\Option::SOURCE); $fixtureFileInfos = $this->fixtureFinder->find($source); $incorrectAndMissingSkips = $this->missplacedSkipPrefixResolver->resolve($fixtureFileInfos); foreach ($incorrectAndMissingSkips->getIncorrectSkipFileInfos() as $incorrectSkipFileInfo) { diff --git a/vendor/symplify/easy-testing/src/DataProvider/StaticFixtureFinder.php b/vendor/symplify/easy-testing/src/DataProvider/StaticFixtureFinder.php index 3dec0253811..d665c6aed1b 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 (\RectorPrefix20220519\Symplify\SmartFileSystem\Exception\FileNotFoundException $exception) { + } catch (\RectorPrefix20220520\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 (\RectorPrefix20220519\Symplify\SmartFileSystem\Exception\FileNotFoundException $exception) { + } catch (\RectorPrefix20220520\Symplify\SmartFileSystem\Exception\FileNotFoundException $exception) { } } } @@ -81,7 +81,7 @@ final class StaticFixtureFinder */ private static function findFilesInDirectory(string $directory, string $suffix) : array { - $finder = \RectorPrefix20220519\Symfony\Component\Finder\Finder::create()->in($directory)->files()->name($suffix); + $finder = \RectorPrefix20220520\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 = \RectorPrefix20220519\Symfony\Component\Finder\Finder::create()->in($directory)->files()->name($suffix); + $finder = \RectorPrefix20220520\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 = \RectorPrefix20220519\Symfony\Component\Finder\Finder::create()->in($directory)->files()->notName($suffix); + $finder = \RectorPrefix20220520\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[] = \RectorPrefix20220519\Nette\Utils\Strings::substring($fileInfo->getRealPath(), \strlen(\getcwd()) + 1); + $relativeFilePaths[] = \RectorPrefix20220520\Nette\Utils\Strings::substring($fileInfo->getRealPath(), \strlen(\getcwd()) + 1); } if ($relativeFilePaths === []) { return; } - throw new \RectorPrefix20220519\Symplify\SymplifyKernel\Exception\ShouldNotHappenException(\sprintf('Files "%s" have invalid suffix, use "%s" suffix instead', \implode('", ', $relativeFilePaths), $suffix)); + throw new \RectorPrefix20220520\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 f64df1c91e5..1d935f82116 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() : \RectorPrefix20220519\Symplify\SmartFileSystem\SmartFileSystem + private static function getSmartFileSystem() : \RectorPrefix20220520\Symplify\SmartFileSystem\SmartFileSystem { - return new \RectorPrefix20220519\Symplify\SmartFileSystem\SmartFileSystem(); + return new \RectorPrefix20220520\Symplify\SmartFileSystem\SmartFileSystem(); } /** * @param \Symplify\SmartFileSystem\SmartFileInfo|string $originalFileInfo diff --git a/vendor/symplify/easy-testing/src/Finder/FixtureFinder.php b/vendor/symplify/easy-testing/src/Finder/FixtureFinder.php index 3b9ad33f23d..8e0285f19b3 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; } @@ -22,7 +22,7 @@ final class FixtureFinder */ public function find(array $sources) : array { - $finder = new \RectorPrefix20220519\Symfony\Component\Finder\Finder(); + $finder = new \RectorPrefix20220520\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 a6a4d9dd47c..c17577b369e 100644 --- a/vendor/symplify/easy-testing/src/FixtureSplitter/TrioFixtureSplitter.php +++ b/vendor/symplify/easy-testing/src/FixtureSplitter/TrioFixtureSplitter.php @@ -1,23 +1,23 @@ getContents(), \RectorPrefix20220519\Symplify\EasyTesting\ValueObject\SplitLine::SPLIT_LINE_REGEX); + $parts = \RectorPrefix20220520\Nette\Utils\Strings::split($smartFileInfo->getContents(), \RectorPrefix20220520\Symplify\EasyTesting\ValueObject\SplitLine::SPLIT_LINE_REGEX); $this->ensureHasThreeParts($parts, $smartFileInfo); - return new \RectorPrefix20220519\Symplify\EasyTesting\ValueObject\FixtureSplit\TrioContent($parts[0], $parts[1], $parts[2]); + return new \RectorPrefix20220520\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 \RectorPrefix20220519\Symplify\SymplifyKernel\Exception\ShouldNotHappenException($message); + throw new \RectorPrefix20220520\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 8da0e871e3d..b872e6e4f25 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 2df3066c2a4..50e3cfc9419 100644 --- a/vendor/symplify/easy-testing/src/MissplacedSkipPrefixResolver.php +++ b/vendor/symplify/easy-testing/src/MissplacedSkipPrefixResolver.php @@ -1,12 +1,12 @@ hasNameSkipStart($fixtureFileInfo); $fileContents = $fixtureFileInfo->getContents(); - $hasSplitLine = (bool) \RectorPrefix20220519\Nette\Utils\Strings::match($fileContents, \RectorPrefix20220519\Symplify\EasyTesting\ValueObject\SplitLine::SPLIT_LINE_REGEX); + $hasSplitLine = (bool) \RectorPrefix20220520\Nette\Utils\Strings::match($fileContents, \RectorPrefix20220520\Symplify\EasyTesting\ValueObject\SplitLine::SPLIT_LINE_REGEX); if ($hasNameSkipStart && $hasSplitLine) { $incorrectSkips[] = $fixtureFileInfo; continue; @@ -32,10 +32,10 @@ final class MissplacedSkipPrefixResolver $missingSkips[] = $fixtureFileInfo; } } - return new \RectorPrefix20220519\Symplify\EasyTesting\ValueObject\IncorrectAndMissingSkips($incorrectSkips, $missingSkips); + return new \RectorPrefix20220520\Symplify\EasyTesting\ValueObject\IncorrectAndMissingSkips($incorrectSkips, $missingSkips); } private function hasNameSkipStart(\Symplify\SmartFileSystem\SmartFileInfo $fixtureFileInfo) : bool { - return (bool) \RectorPrefix20220519\Nette\Utils\Strings::match($fixtureFileInfo->getBasenameWithoutSuffix(), \RectorPrefix20220519\Symplify\EasyTesting\ValueObject\Prefix::SKIP_PREFIX_REGEX); + return (bool) \RectorPrefix20220520\Nette\Utils\Strings::match($fixtureFileInfo->getBasenameWithoutSuffix(), \RectorPrefix20220520\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 42c4fdfc488..0686bc9e92c 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 \RectorPrefix20220519\Symplify\SmartFileSystem\Finder\FinderSanitizer(); + $finderSanitizer = new \RectorPrefix20220520\Symplify\SmartFileSystem\Finder\FinderSanitizer(); return $finderSanitizer->sanitize($firstDirectoryFinder); } /** @@ -54,7 +54,7 @@ trait DirectoryAssertableTrait $relativeFilePath = $expectedFileInfo->getRelativeFilePathFromDirectory($expectedDirectory); // match output file info $outputFileInfo = $this->resolveFileInfoByRelativeFilePath($outputFileInfos, $outputDirectory, $relativeFilePath); - $fileInfosByRelativeFilePath[$relativeFilePath] = new \RectorPrefix20220519\Symplify\EasyTesting\ValueObject\ExpectedAndOutputFileInfoPair($expectedFileInfo, $outputFileInfo); + $fileInfosByRelativeFilePath[$relativeFilePath] = new \RectorPrefix20220520\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 17a6de1c378..895859373b1 100644 --- a/vendor/symplify/easy-testing/src/PHPUnit/StaticPHPUnitEnvironment.php +++ b/vendor/symplify/easy-testing/src/PHPUnit/StaticPHPUnitEnvironment.php @@ -1,7 +1,7 @@ getContents(), \RectorPrefix20220519\Symplify\EasyTesting\ValueObject\SplitLine::SPLIT_LINE_REGEX)); + $splitLineCount = \count(\RectorPrefix20220520\Nette\Utils\Strings::matchAll($smartFileInfo->getContents(), \RectorPrefix20220520\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] = \RectorPrefix20220519\Nette\Utils\Strings::split($smartFileInfo->getContents(), \RectorPrefix20220519\Symplify\EasyTesting\ValueObject\SplitLine::SPLIT_LINE_REGEX); + [$input, $expected] = \RectorPrefix20220520\Nette\Utils\Strings::split($smartFileInfo->getContents(), \RectorPrefix20220520\Symplify\EasyTesting\ValueObject\SplitLine::SPLIT_LINE_REGEX); $expected = self::retypeExpected($expected); - return new \RectorPrefix20220519\Symplify\EasyTesting\ValueObject\InputAndExpected($input, $expected); + return new \RectorPrefix20220520\Symplify\EasyTesting\ValueObject\InputAndExpected($input, $expected); } // no changes - return new \RectorPrefix20220519\Symplify\EasyTesting\ValueObject\InputAndExpected($smartFileInfo->getContents(), $smartFileInfo->getContents()); + return new \RectorPrefix20220520\Symplify\EasyTesting\ValueObject\InputAndExpected($smartFileInfo->getContents(), $smartFileInfo->getContents()); } - public static function splitFileInfoToLocalInputAndExpectedFileInfos(\Symplify\SmartFileSystem\SmartFileInfo $smartFileInfo, bool $autoloadTestFixture = \false) : \RectorPrefix20220519\Symplify\EasyTesting\ValueObject\InputFileInfoAndExpectedFileInfo + public static function splitFileInfoToLocalInputAndExpectedFileInfos(\Symplify\SmartFileSystem\SmartFileInfo $smartFileInfo, bool $autoloadTestFixture = \false) : \RectorPrefix20220520\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 \RectorPrefix20220519\Symplify\EasyTesting\ValueObject\InputFileInfoAndExpectedFileInfo($inputFileInfo, $expectedFileInfo); + return new \RectorPrefix20220520\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) : \RectorPrefix20220519\Symplify\EasyTesting\ValueObject\InputFileInfoAndExpected + public static function splitFileInfoToLocalInputAndExpected(\Symplify\SmartFileSystem\SmartFileInfo $smartFileInfo, bool $autoloadTestFixture = \false) : \RectorPrefix20220520\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 \RectorPrefix20220519\Symplify\EasyTesting\ValueObject\InputFileInfoAndExpected($inputFileInfo, $inputAndExpected->getExpected()); + return new \RectorPrefix20220520\Symplify\EasyTesting\ValueObject\InputFileInfoAndExpected($inputFileInfo, $inputAndExpected->getExpected()); } private static function createTemporaryPathWithPrefix(\Symplify\SmartFileSystem\SmartFileInfo $smartFileInfo, string $prefix) : string { - $hash = \RectorPrefix20220519\Nette\Utils\Strings::substring(\md5($smartFileInfo->getRealPath()), -20); + $hash = \RectorPrefix20220520\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 08dec127ca5..4268a7492fe 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 \RectorPrefix20220519\Symplify\SymplifyKernel\Exception\ShouldNotHappenException(); + throw new \RectorPrefix20220520\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 31324e561a7..f2db61502c2 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 @@ services(); $services->defaults()->public()->autowire()->autoconfigure(); - $services->set(\RectorPrefix20220519\Symplify\PackageBuilder\Console\Formatter\ColorConsoleDiffFormatter::class); - $services->set(\RectorPrefix20220519\Symplify\PackageBuilder\Console\Output\ConsoleDiffer::class); - $services->set(\RectorPrefix20220519\Symplify\PackageBuilder\Diff\Output\CompleteUnifiedDiffOutputBuilderFactory::class); - $services->set(\RectorPrefix20220519\SebastianBergmann\Diff\Differ::class); - $services->set(\RectorPrefix20220519\Symplify\PackageBuilder\Reflection\PrivatesAccessor::class); + $services->set(\RectorPrefix20220520\Symplify\PackageBuilder\Console\Formatter\ColorConsoleDiffFormatter::class); + $services->set(\RectorPrefix20220520\Symplify\PackageBuilder\Console\Output\ConsoleDiffer::class); + $services->set(\RectorPrefix20220520\Symplify\PackageBuilder\Diff\Output\CompleteUnifiedDiffOutputBuilderFactory::class); + $services->set(\RectorPrefix20220520\SebastianBergmann\Diff\Differ::class); + $services->set(\RectorPrefix20220520\Symplify\PackageBuilder\Reflection\PrivatesAccessor::class); }; diff --git a/vendor/symplify/package-builder/src/Composer/VendorDirProvider.php b/vendor/symplify/package-builder/src/Composer/VendorDirProvider.php index 25a430c0bbc..001dfa4c50b 100644 --- a/vendor/symplify/package-builder/src/Composer/VendorDirProvider.php +++ b/vendor/symplify/package-builder/src/Composer/VendorDirProvider.php @@ -1,9 +1,9 @@ getFileName(), 2); } } diff --git a/vendor/symplify/package-builder/src/Configuration/StaticEolConfiguration.php b/vendor/symplify/package-builder/src/Configuration/StaticEolConfiguration.php index bc5f5f476ab..01bf00cedcb 100644 --- a/vendor/symplify/package-builder/src/Configuration/StaticEolConfiguration.php +++ b/vendor/symplify/package-builder/src/Configuration/StaticEolConfiguration.php @@ -1,7 +1,7 @@ addOption(\RectorPrefix20220519\Symplify\PackageBuilder\ValueObject\Option::CONFIG, 'c', \RectorPrefix20220519\Symfony\Component\Console\Input\InputOption::VALUE_REQUIRED, 'Path to config file'); + $this->addOption(\RectorPrefix20220520\Symplify\PackageBuilder\ValueObject\Option::CONFIG, 'c', \RectorPrefix20220520\Symfony\Component\Console\Input\InputOption::VALUE_REQUIRED, 'Path to config file'); } /** * @required */ - public function autowire(\RectorPrefix20220519\Symfony\Component\Console\Style\SymfonyStyle $symfonyStyle, \RectorPrefix20220519\Symplify\SmartFileSystem\SmartFileSystem $smartFileSystem, \RectorPrefix20220519\Symplify\SmartFileSystem\Finder\SmartFinder $smartFinder, \RectorPrefix20220519\Symplify\SmartFileSystem\FileSystemGuard $fileSystemGuard) : void + public function autowire(\RectorPrefix20220520\Symfony\Component\Console\Style\SymfonyStyle $symfonyStyle, \RectorPrefix20220520\Symplify\SmartFileSystem\SmartFileSystem $smartFileSystem, \RectorPrefix20220520\Symplify\SmartFileSystem\Finder\SmartFinder $smartFinder, \RectorPrefix20220520\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 aa7a27ec58e..7ac9461172a 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 \RectorPrefix20220519\Nette\Utils\Strings::replace($lowercasedRawCommandName, self::BIG_LETTER_REGEX, function (array $matches) : string { + return \RectorPrefix20220520\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/Formatter/ColorConsoleDiffFormatter.php b/vendor/symplify/package-builder/src/Console/Formatter/ColorConsoleDiffFormatter.php index 3cd46c8dcee..db46648c22d 100644 --- a/vendor/symplify/package-builder/src/Console/Formatter/ColorConsoleDiffFormatter.php +++ b/vendor/symplify/package-builder/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 = \RectorPrefix20220519\Symfony\Component\Console\Formatter\OutputFormatter::escape(\rtrim($diff)); - $escapedDiffLines = \RectorPrefix20220519\Nette\Utils\Strings::split($escapedDiff, self::NEWLINES_REGEX); + $escapedDiff = \RectorPrefix20220520\Symfony\Component\Console\Formatter\OutputFormatter::escape(\rtrim($diff)); + $escapedDiffLines = \RectorPrefix20220520\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 \RectorPrefix20220519\Nette\Utils\Strings::replace($string, self::PLUS_START_REGEX, '$1'); + return \RectorPrefix20220520\Nette\Utils\Strings::replace($string, self::PLUS_START_REGEX, '$1'); } private function makeMinusLinesRed(string $string) : string { - return \RectorPrefix20220519\Nette\Utils\Strings::replace($string, self::MINUT_START_REGEX, '$1'); + return \RectorPrefix20220520\Nette\Utils\Strings::replace($string, self::MINUT_START_REGEX, '$1'); } private function makeAtNoteCyan(string $string) : string { - return \RectorPrefix20220519\Nette\Utils\Strings::replace($string, self::AT_START_REGEX, '$1'); + return \RectorPrefix20220520\Nette\Utils\Strings::replace($string, self::AT_START_REGEX, '$1'); } } diff --git a/vendor/symplify/package-builder/src/Console/Input/StaticInputDetector.php b/vendor/symplify/package-builder/src/Console/Input/StaticInputDetector.php index 760cdd8a3e5..50e42c54447 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/Output/ConsoleDiffer.php b/vendor/symplify/package-builder/src/Console/Output/ConsoleDiffer.php index f25f370ebd5..98cf65b0985 100644 --- a/vendor/symplify/package-builder/src/Console/Output/ConsoleDiffer.php +++ b/vendor/symplify/package-builder/src/Console/Output/ConsoleDiffer.php @@ -1,10 +1,10 @@ differ = $differ; $this->colorConsoleDiffFormatter = $colorConsoleDiffFormatter; diff --git a/vendor/symplify/package-builder/src/Console/Style/SymfonyStyleFactory.php b/vendor/symplify/package-builder/src/Console/Style/SymfonyStyleFactory.php index ce02dc48da9..7de38b4655b 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 \RectorPrefix20220519\Symplify\PackageBuilder\Reflection\PrivatesCaller(); + $this->privatesCaller = new \RectorPrefix20220520\Symplify\PackageBuilder\Reflection\PrivatesCaller(); } - public function create() : \RectorPrefix20220519\Symfony\Component\Console\Style\SymfonyStyle + public function create() : \RectorPrefix20220520\Symfony\Component\Console\Style\SymfonyStyle { // to prevent missing argv indexes if (!isset($_SERVER['argv'])) { $_SERVER['argv'] = []; } - $argvInput = new \RectorPrefix20220519\Symfony\Component\Console\Input\ArgvInput(); - $consoleOutput = new \RectorPrefix20220519\Symfony\Component\Console\Output\ConsoleOutput(); + $argvInput = new \RectorPrefix20220520\Symfony\Component\Console\Input\ArgvInput(); + $consoleOutput = new \RectorPrefix20220520\Symfony\Component\Console\Output\ConsoleOutput(); // to configure all -v, -vv, -vvv options without memory-lock to Application run() arguments - $this->privatesCaller->callPrivateMethod(new \RectorPrefix20220519\Symfony\Component\Console\Application(), 'configureIO', [$argvInput, $consoleOutput]); + $this->privatesCaller->callPrivateMethod(new \RectorPrefix20220520\Symfony\Component\Console\Application(), 'configureIO', [$argvInput, $consoleOutput]); // --debug is called if ($argvInput->hasParameterOption('--debug')) { - $consoleOutput->setVerbosity(\RectorPrefix20220519\Symfony\Component\Console\Output\OutputInterface::VERBOSITY_DEBUG); + $consoleOutput->setVerbosity(\RectorPrefix20220520\Symfony\Component\Console\Output\OutputInterface::VERBOSITY_DEBUG); } // disable output for tests - if (\RectorPrefix20220519\Symplify\EasyTesting\PHPUnit\StaticPHPUnitEnvironment::isPHPUnitRun()) { - $consoleOutput->setVerbosity(\RectorPrefix20220519\Symfony\Component\Console\Output\OutputInterface::VERBOSITY_QUIET); + if (\RectorPrefix20220520\Symplify\EasyTesting\PHPUnit\StaticPHPUnitEnvironment::isPHPUnitRun()) { + $consoleOutput->setVerbosity(\RectorPrefix20220520\Symfony\Component\Console\Output\OutputInterface::VERBOSITY_QUIET); } - return new \RectorPrefix20220519\Symfony\Component\Console\Style\SymfonyStyle($argvInput, $consoleOutput); + return new \RectorPrefix20220520\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 002390cfe53..93405169c00 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 @@ typesToAutowire = $typesToAutowire; } - public function process(\RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerBuilder $containerBuilder) : void + public function process(\RectorPrefix20220520\Symfony\Component\DependencyInjection\ContainerBuilder $containerBuilder) : void { $definitions = $containerBuilder->getDefinitions(); foreach ($definitions as $definition) { diff --git a/vendor/symplify/package-builder/src/DependencyInjection/FileLoader/ParameterMergingPhpFileLoader.php b/vendor/symplify/package-builder/src/DependencyInjection/FileLoader/ParameterMergingPhpFileLoader.php index eaca8f9bc7f..49042537cc4 100644 --- a/vendor/symplify/package-builder/src/DependencyInjection/FileLoader/ParameterMergingPhpFileLoader.php +++ b/vendor/symplify/package-builder/src/DependencyInjection/FileLoader/ParameterMergingPhpFileLoader.php @@ -1,12 +1,12 @@ parametersMerger = new \RectorPrefix20220519\Symplify\PackageBuilder\Yaml\ParametersMerger(); + $this->parametersMerger = new \RectorPrefix20220520\Symplify\PackageBuilder\Yaml\ParametersMerger(); parent::__construct($containerBuilder, $fileLocator); } /** diff --git a/vendor/symplify/package-builder/src/Diff/Output/CompleteUnifiedDiffOutputBuilderFactory.php b/vendor/symplify/package-builder/src/Diff/Output/CompleteUnifiedDiffOutputBuilderFactory.php index 904285e48e4..91b4e980dc1 100644 --- a/vendor/symplify/package-builder/src/Diff/Output/CompleteUnifiedDiffOutputBuilderFactory.php +++ b/vendor/symplify/package-builder/src/Diff/Output/CompleteUnifiedDiffOutputBuilderFactory.php @@ -1,10 +1,10 @@ privatesAccessor = $privatesAccessor; } /** * @api */ - public function create() : \RectorPrefix20220519\SebastianBergmann\Diff\Output\UnifiedDiffOutputBuilder + public function create() : \RectorPrefix20220520\SebastianBergmann\Diff\Output\UnifiedDiffOutputBuilder { - $unifiedDiffOutputBuilder = new \RectorPrefix20220519\SebastianBergmann\Diff\Output\UnifiedDiffOutputBuilder(''); + $unifiedDiffOutputBuilder = new \RectorPrefix20220520\SebastianBergmann\Diff\Output\UnifiedDiffOutputBuilder(''); $this->privatesAccessor->setPrivateProperty($unifiedDiffOutputBuilder, 'contextLines', 10000); return $unifiedDiffOutputBuilder; } diff --git a/vendor/symplify/package-builder/src/Exception/HttpKernel/MissingInterfaceException.php b/vendor/symplify/package-builder/src/Exception/HttpKernel/MissingInterfaceException.php index 264d1df8b7a..116be73e23f 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 @@ inlineSingleTags($neonContent); $neonContent = $this->fixDoubleSpaceInArguments($neonContent); @@ -34,10 +34,10 @@ final class NeonPrinter } private function inlineSingleTags(string $neonContent) : string { - return \RectorPrefix20220519\Nette\Utils\Strings::replace($neonContent, self::TAGS_REGEX, 'tags: [$1]'); + return \RectorPrefix20220520\Nette\Utils\Strings::replace($neonContent, self::TAGS_REGEX, 'tags: [$1]'); } private function fixDoubleSpaceInArguments(string $neonContent) : string { - return \RectorPrefix20220519\Nette\Utils\Strings::replace($neonContent, self::ARGUMENTS_DOUBLE_SPACE_REGEX, '$1'); + return \RectorPrefix20220520\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 85387766950..9f49a39dd0b 100644 --- a/vendor/symplify/package-builder/src/Parameter/ParameterProvider.php +++ b/vendor/symplify/package-builder/src/Parameter/ParameterProvider.php @@ -1,11 +1,11 @@ */ private $parameters = []; - public function __construct(\RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerInterface $container) + public function __construct(\RectorPrefix20220520\Symfony\Component\DependencyInjection\ContainerInterface $container) { /** @var ParameterBag $parameterBag */ $parameterBag = $container->getParameterBag(); @@ -89,6 +89,6 @@ final class ParameterProvider if (\array_key_exists($name, $this->parameters)) { return; } - throw new \RectorPrefix20220519\Symfony\Component\DependencyInjection\Exception\ParameterNotFoundException($name); + throw new \RectorPrefix20220520\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 f7e0774d741..7e954e1688a 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 \RectorPrefix20220519\Symplify\Astral\Exception\ShouldNotHappenException($errorMessage); + throw new \RectorPrefix20220520\Symplify\Astral\Exception\ShouldNotHappenException($errorMessage); } return $service; } @@ -70,7 +70,7 @@ abstract class AbstractKernelTestCase extends \RectorPrefix20220519\PHPUnit\Fram */ protected function bootKernel(string $kernelClass) : void { - if (\is_a($kernelClass, \RectorPrefix20220519\Symplify\SymplifyKernel\Contract\LightKernelInterface::class, \true)) { + if (\is_a($kernelClass, \RectorPrefix20220520\Symplify\SymplifyKernel\Contract\LightKernelInterface::class, \true)) { /** @var LightKernelInterface $kernel */ $kernel = new $kernelClass(); $kernel->createFromConfigs([]); @@ -80,8 +80,8 @@ abstract class AbstractKernelTestCase extends \RectorPrefix20220519\PHPUnit\Fram } $this->ensureKernelShutdown(); $kernel = new $kernelClass('test', \true); - if (!$kernel instanceof \RectorPrefix20220519\Symfony\Component\HttpKernel\KernelInterface) { - throw new \RectorPrefix20220519\Symplify\SymplifyKernel\Exception\ShouldNotHappenException(); + if (!$kernel instanceof \RectorPrefix20220520\Symfony\Component\HttpKernel\KernelInterface) { + throw new \RectorPrefix20220520\Symplify\SymplifyKernel\Exception\ShouldNotHappenException(); } static::$kernel = $this->bootAndReturnKernel($kernel); } @@ -90,7 +90,7 @@ abstract class AbstractKernelTestCase extends \RectorPrefix20220519\PHPUnit\Fram */ protected function ensureKernelShutdown() : void { - if (static::$kernel !== null && static::$kernel instanceof \RectorPrefix20220519\Symfony\Component\HttpKernel\KernelInterface) { + if (static::$kernel !== null && static::$kernel instanceof \RectorPrefix20220520\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 \RectorPrefix20220519\PHPUnit\Fram if ($kernel !== null) { $container = static::$kernel->getContainer(); static::$kernel->shutdown(); - if ($container instanceof \RectorPrefix20220519\Symfony\Contracts\Service\ResetInterface) { + if ($container instanceof \RectorPrefix20220520\Symfony\Contracts\Service\ResetInterface) { $container->reset(); } } @@ -135,15 +135,15 @@ abstract class AbstractKernelTestCase extends \RectorPrefix20220519\PHPUnit\Fram */ private function ensureIsConfigAwareKernel($kernel) : void { - if ($kernel instanceof \RectorPrefix20220519\Symplify\SymplifyKernel\Contract\LightKernelInterface) { + if ($kernel instanceof \RectorPrefix20220520\Symplify\SymplifyKernel\Contract\LightKernelInterface) { return; } - if ($kernel instanceof \RectorPrefix20220519\Symplify\PackageBuilder\Contract\HttpKernel\ExtraConfigAwareKernelInterface) { + if ($kernel instanceof \RectorPrefix20220520\Symplify\PackageBuilder\Contract\HttpKernel\ExtraConfigAwareKernelInterface) { return; } - throw new \RectorPrefix20220519\Symplify\PackageBuilder\Exception\HttpKernel\MissingInterfaceException(\sprintf('"%s" is missing an "%s" interface', \get_class($kernel), \RectorPrefix20220519\Symplify\PackageBuilder\Contract\HttpKernel\ExtraConfigAwareKernelInterface::class)); + throw new \RectorPrefix20220520\Symplify\PackageBuilder\Exception\HttpKernel\MissingInterfaceException(\sprintf('"%s" is missing an "%s" interface', \get_class($kernel), \RectorPrefix20220520\Symplify\PackageBuilder\Contract\HttpKernel\ExtraConfigAwareKernelInterface::class)); } - private function bootAndReturnKernel(\RectorPrefix20220519\Symfony\Component\HttpKernel\KernelInterface $kernel) : \RectorPrefix20220519\Symfony\Component\HttpKernel\KernelInterface + private function bootAndReturnKernel(\RectorPrefix20220520\Symfony\Component\HttpKernel\KernelInterface $kernel) : \RectorPrefix20220520\Symfony\Component\HttpKernel\KernelInterface { $kernel->boot(); $container = $kernel->getContainer(); @@ -151,13 +151,13 @@ abstract class AbstractKernelTestCase extends \RectorPrefix20220519\PHPUnit\Fram if ($container->has('test.service_container')) { $container = $container->get('test.service_container'); } - if (!$container instanceof \RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerInterface) { - throw new \RectorPrefix20220519\Symplify\SymplifyKernel\Exception\ShouldNotHappenException(); + if (!$container instanceof \RectorPrefix20220520\Symfony\Component\DependencyInjection\ContainerInterface) { + throw new \RectorPrefix20220520\Symplify\SymplifyKernel\Exception\ShouldNotHappenException(); } // has output? keep it silent out of tests - if ($container->has(\RectorPrefix20220519\Symfony\Component\Console\Style\SymfonyStyle::class)) { - $symfonyStyle = $container->get(\RectorPrefix20220519\Symfony\Component\Console\Style\SymfonyStyle::class); - $symfonyStyle->setVerbosity(\RectorPrefix20220519\Symfony\Component\Console\Output\OutputInterface::VERBOSITY_QUIET); + if ($container->has(\RectorPrefix20220520\Symfony\Component\Console\Style\SymfonyStyle::class)) { + $symfonyStyle = $container->get(\RectorPrefix20220520\Symfony\Component\Console\Style\SymfonyStyle::class); + $symfonyStyle->setVerbosity(\RectorPrefix20220520\Symfony\Component\Console\Output\OutputInterface::VERBOSITY_QUIET); } static::$container = $container; return $kernel; @@ -169,7 +169,7 @@ abstract class AbstractKernelTestCase extends \RectorPrefix20220519\PHPUnit\Fram */ private function createBootedKernelFromConfigs(string $kernelClass, string $configsHash, array $configFilePaths) { - if (\is_a($kernelClass, \RectorPrefix20220519\Symplify\SymplifyKernel\Contract\LightKernelInterface::class, \true)) { + if (\is_a($kernelClass, \RectorPrefix20220520\Symplify\SymplifyKernel\Contract\LightKernelInterface::class, \true)) { /** @var LightKernelInterface $kernel */ $kernel = new $kernelClass(); $kernel->createFromConfigs($configFilePaths); diff --git a/vendor/symplify/package-builder/src/ValueObject/ConsoleColorDiffConfig.php b/vendor/symplify/package-builder/src/ValueObject/ConsoleColorDiffConfig.php index 026a4cfd616..fd5a9c7166a 100644 --- a/vendor/symplify/package-builder/src/ValueObject/ConsoleColorDiffConfig.php +++ b/vendor/symplify/package-builder/src/ValueObject/ConsoleColorDiffConfig.php @@ -1,7 +1,7 @@ ruleClass === null) { throw new \Symplify\RuleDocGenerator\Exception\ShouldNotHappenException(); } - return (string) \RectorPrefix20220519\Nette\Utils\Strings::after($this->ruleClass, '\\', -1); + return (string) \RectorPrefix20220520\Nette\Utils\Strings::after($this->ruleClass, '\\', -1); } /** * @return CodeSampleInterface[] diff --git a/vendor/symplify/skipper/composer.json b/vendor/symplify/skipper/composer.json index 3493fefb07d..b11a15a80d8 100644 --- a/vendor/symplify/skipper/composer.json +++ b/vendor/symplify/skipper/composer.json @@ -18,12 +18,12 @@ }, "autoload": { "psr-4": { - "RectorPrefix20220519\\Symplify\\Skipper\\": "src" + "RectorPrefix20220520\\Symplify\\Skipper\\": "src" } }, "autoload-dev": { "psr-4": { - "RectorPrefix20220519\\Symplify\\Skipper\\Tests\\": "tests" + "RectorPrefix20220520\\Symplify\\Skipper\\Tests\\": "tests" } }, "extra": { diff --git a/vendor/symplify/skipper/config/config.php b/vendor/symplify/skipper/config/config.php index 9a57fd13f84..667a504d859 100644 --- a/vendor/symplify/skipper/config/config.php +++ b/vendor/symplify/skipper/config/config.php @@ -1,19 +1,19 @@ parameters(); - $parameters->set(\RectorPrefix20220519\Symplify\Skipper\ValueObject\Option::SKIP, []); - $parameters->set(\RectorPrefix20220519\Symplify\Skipper\ValueObject\Option::ONLY, []); + $parameters->set(\RectorPrefix20220520\Symplify\Skipper\ValueObject\Option::SKIP, []); + $parameters->set(\RectorPrefix20220520\Symplify\Skipper\ValueObject\Option::ONLY, []); $services = $containerConfigurator->services(); $services->defaults()->public()->autowire()->autoconfigure(); - $services->load('RectorPrefix20220519\Symplify\\Skipper\\', __DIR__ . '/../src')->exclude([__DIR__ . '/../src/ValueObject']); - $services->set(\RectorPrefix20220519\Symplify\PackageBuilder\Reflection\ClassLikeExistenceChecker::class); - $services->set(\RectorPrefix20220519\Symplify\SmartFileSystem\Normalizer\PathNormalizer::class); + $services->load('RectorPrefix20220520\Symplify\\Skipper\\', __DIR__ . '/../src')->exclude([__DIR__ . '/../src/ValueObject']); + $services->set(\RectorPrefix20220520\Symplify\PackageBuilder\Reflection\ClassLikeExistenceChecker::class); + $services->set(\RectorPrefix20220520\Symplify\SmartFileSystem\Normalizer\PathNormalizer::class); }; diff --git a/vendor/symplify/skipper/src/Contract/SkipVoterInterface.php b/vendor/symplify/skipper/src/Contract/SkipVoterInterface.php index ec4af2267b0..09bcbd3d76e 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 c50574ac5fe..aa912dc71ef 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(\RectorPrefix20220519\Symplify\Skipper\ValueObject\Option::SKIP); + $skip = $this->parameterProvider->provideArrayParameter(\RectorPrefix20220520\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 457333e42bc..98a06df3a81 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(\RectorPrefix20220519\Symplify\Skipper\ValueObject\Option::SKIP); + $skip = $this->parameterProvider->provideArrayParameter(\RectorPrefix20220520\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 09849ce1f23..08adba3a145 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(\RectorPrefix20220519\Symplify\Skipper\ValueObject\Option::SKIP); + $skip = $this->parameterProvider->provideArrayParameter(\RectorPrefix20220520\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 3e102b24d93..07e97228171 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(\RectorPrefix20220519\Symplify\Skipper\ValueObject\Option::SKIP); + $skip = $this->parameterProvider->provideArrayParameter(\RectorPrefix20220520\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 a2014fb7c3a..4bdf9923941 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 03afc7228af..c2df345250b 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; @@ -56,7 +56,7 @@ final class ClassSkipVoter implements \RectorPrefix20220519\Symplify\Skipper\Con */ public function shouldSkip($element, \Symplify\SmartFileSystem\SmartFileInfo $smartFileInfo) : bool { - $only = $this->parameterProvider->provideArrayParameter(\RectorPrefix20220519\Symplify\Skipper\ValueObject\Option::ONLY); + $only = $this->parameterProvider->provideArrayParameter(\RectorPrefix20220520\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 cd1339d91ec..cee62c8d9da 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 df0e9c75c26..b4a68da7198 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 36da8b13afb..a431cefd4e2 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 35c52e9932f..6d628f6a034 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 df78561bcf3..4dd1fbb9f94 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 \RectorPrefix20220519\Symfony\Component\Finder\Finder(); + $finder = new \RectorPrefix20220520\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 \RectorPrefix20220519\Symfony\Component\Finder\Finder(); + $finder = new \RectorPrefix20220520\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 041e1945248..8d3bafb6ac2 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 \RectorPrefix20220519\Nette\Utils\Json::decode($fileContent, \RectorPrefix20220519\Nette\Utils\Json::FORCE_ARRAY); + return \RectorPrefix20220520\Nette\Utils\Json::decode($fileContent, \RectorPrefix20220520\Nette\Utils\Json::FORCE_ARRAY); } /** * @param array $jsonArray */ public function writeJsonToFilePath(array $jsonArray, string $filePath) : void { - $jsonContent = \RectorPrefix20220519\Nette\Utils\Json::encode($jsonArray, \RectorPrefix20220519\Nette\Utils\Json::PRETTY) . \PHP_EOL; + $jsonContent = \RectorPrefix20220520\Nette\Utils\Json::encode($jsonArray, \RectorPrefix20220520\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 = \RectorPrefix20220519\Nette\Utils\Arrays::mergeTree($jsonArray, $newJsonArray); + $newComposerJsonArray = \RectorPrefix20220520\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 2997b3a11e5..be55bac9af4 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 57cfc70bafa..06ef314d5ce 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 \RectorPrefix20220519\Symplify\SmartFileSystem\SmartFileSystem(); + $this->smartFileSystem = new \RectorPrefix20220520\Symplify\SmartFileSystem\SmartFileSystem(); // accepts also dirs if (!\file_exists($filePath)) { - throw new \RectorPrefix20220519\Symplify\SmartFileSystem\Exception\FileNotFoundException(\sprintf('File path "%s" was not found while creating "%s" object.', $filePath, self::class)); + throw new \RectorPrefix20220520\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 \RectorPrefix20220519\Symfony\Component\Finder } public function getRealPathWithoutSuffix() : string { - return \RectorPrefix20220519\Nette\Utils\Strings::replace($this->getRealPath(), self::LAST_SUFFIX_REGEX, ''); + return \RectorPrefix20220520\Nette\Utils\Strings::replace($this->getRealPath(), self::LAST_SUFFIX_REGEX, ''); } public function getRelativeFilePath() : string { @@ -71,7 +71,7 @@ final class SmartFileInfo extends \RectorPrefix20220519\Symfony\Component\Finder public function getRelativeFilePathFromDirectory(string $directory) : string { if (!\file_exists($directory)) { - throw new \RectorPrefix20220519\Symplify\SmartFileSystem\Exception\DirectoryNotFoundException(\sprintf('Directory "%s" was not found in %s.', $directory, self::class)); + throw new \RectorPrefix20220520\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, '/'); @@ -79,8 +79,8 @@ final class SmartFileInfo extends \RectorPrefix20220519\Symfony\Component\Finder public function getRelativeFilePathFromCwdInTests() : string { // special case for tests - if (\RectorPrefix20220519\Symplify\EasyTesting\PHPUnit\StaticPHPUnitEnvironment::isPHPUnitRun()) { - return $this->getRelativeFilePathFromDirectory(\RectorPrefix20220519\Symplify\EasyTesting\StaticFixtureSplitter::getTemporaryPath()); + if (\RectorPrefix20220520\Symplify\EasyTesting\PHPUnit\StaticPHPUnitEnvironment::isPHPUnitRun()) { + return $this->getRelativeFilePathFromDirectory(\RectorPrefix20220520\Symplify\EasyTesting\StaticFixtureSplitter::getTemporaryPath()); } return $this->getRelativeFilePathFromDirectory(\getcwd()); } @@ -126,4 +126,4 @@ final class SmartFileInfo extends \RectorPrefix20220519\Symfony\Component\Finder /** * @see \Symplify\SmartFileSystem\Tests\SmartFileInfo\SmartFileInfoTest */ -\class_alias('RectorPrefix20220519\\Symplify\\SmartFileSystem\\SmartFileInfo', 'Symplify\\SmartFileSystem\\SmartFileInfo', \false); +\class_alias('RectorPrefix20220520\\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 d0a4ee19618..b5991b7fc89 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 \RectorPrefix20220519\Symfony\Component\Filesystem\Exception\IOException($message, 0, null, $filename); + throw new \RectorPrefix20220520\Symfony\Component\Filesystem\Exception\IOException($message, 0, null, $filename); } return $source; } @@ -63,6 +63,6 @@ final class SmartFileSystem extends \RectorPrefix20220519\Symfony\Component\File { $message = \error_get_last()['message'] ?? ''; $htmlMessage = \ini_get('html_errors') ? $this->htmlToText($message) : $message; - return \RectorPrefix20220519\Nette\Utils\Strings::replace($htmlMessage, self::BEFORE_COLLON_REGEX, ''); + return \RectorPrefix20220520\Nette\Utils\Strings::replace($htmlMessage, self::BEFORE_COLLON_REGEX, ''); } } diff --git a/vendor/symplify/symplify-kernel/composer.json b/vendor/symplify/symplify-kernel/composer.json index c5f2b48ce72..fa61318c5c9 100644 --- a/vendor/symplify/symplify-kernel/composer.json +++ b/vendor/symplify/symplify-kernel/composer.json @@ -17,12 +17,12 @@ }, "autoload": { "psr-4": { - "RectorPrefix20220519\\Symplify\\SymplifyKernel\\": "src" + "RectorPrefix20220520\\Symplify\\SymplifyKernel\\": "src" } }, "autoload-dev": { "psr-4": { - "RectorPrefix20220519\\Symplify\\SymplifyKernel\\Tests\\": "tests" + "RectorPrefix20220520\\Symplify\\SymplifyKernel\\Tests\\": "tests" } }, "extra": { diff --git a/vendor/symplify/symplify-kernel/config/common-config.php b/vendor/symplify/symplify-kernel/config/common-config.php index ee1fd9545ad..b56edcd3363 100644 --- a/vendor/symplify/symplify-kernel/config/common-config.php +++ b/vendor/symplify/symplify-kernel/config/common-config.php @@ -1,31 +1,31 @@ services(); $services->defaults()->public()->autowire()->autoconfigure(); // symfony style - $services->set(\RectorPrefix20220519\Symplify\PackageBuilder\Console\Style\SymfonyStyleFactory::class); - $services->set(\RectorPrefix20220519\Symfony\Component\Console\Style\SymfonyStyle::class)->factory([\RectorPrefix20220519\Symfony\Component\DependencyInjection\Loader\Configurator\service(\RectorPrefix20220519\Symplify\PackageBuilder\Console\Style\SymfonyStyleFactory::class), 'create']); + $services->set(\RectorPrefix20220520\Symplify\PackageBuilder\Console\Style\SymfonyStyleFactory::class); + $services->set(\RectorPrefix20220520\Symfony\Component\Console\Style\SymfonyStyle::class)->factory([\RectorPrefix20220520\Symfony\Component\DependencyInjection\Loader\Configurator\service(\RectorPrefix20220520\Symplify\PackageBuilder\Console\Style\SymfonyStyleFactory::class), 'create']); // filesystem - $services->set(\RectorPrefix20220519\Symplify\SmartFileSystem\Finder\FinderSanitizer::class); - $services->set(\RectorPrefix20220519\Symplify\SmartFileSystem\SmartFileSystem::class); - $services->set(\RectorPrefix20220519\Symplify\SmartFileSystem\Finder\SmartFinder::class); - $services->set(\RectorPrefix20220519\Symplify\SmartFileSystem\FileSystemGuard::class); - $services->set(\RectorPrefix20220519\Symplify\SmartFileSystem\FileSystemFilter::class); - $services->set(\RectorPrefix20220519\Symplify\PackageBuilder\Parameter\ParameterProvider::class)->args([\RectorPrefix20220519\Symfony\Component\DependencyInjection\Loader\Configurator\service('service_container')]); - $services->set(\RectorPrefix20220519\Symplify\PackageBuilder\Reflection\PrivatesAccessor::class); + $services->set(\RectorPrefix20220520\Symplify\SmartFileSystem\Finder\FinderSanitizer::class); + $services->set(\RectorPrefix20220520\Symplify\SmartFileSystem\SmartFileSystem::class); + $services->set(\RectorPrefix20220520\Symplify\SmartFileSystem\Finder\SmartFinder::class); + $services->set(\RectorPrefix20220520\Symplify\SmartFileSystem\FileSystemGuard::class); + $services->set(\RectorPrefix20220520\Symplify\SmartFileSystem\FileSystemFilter::class); + $services->set(\RectorPrefix20220520\Symplify\PackageBuilder\Parameter\ParameterProvider::class)->args([\RectorPrefix20220520\Symfony\Component\DependencyInjection\Loader\Configurator\service('service_container')]); + $services->set(\RectorPrefix20220520\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 64c5809a1e5..61a97094dbd 100644 --- a/vendor/symplify/symplify-kernel/src/Config/Loader/ParameterMergingLoaderFactory.php +++ b/vendor/symplify/symplify-kernel/src/Config/Loader/ParameterMergingLoaderFactory.php @@ -1,22 +1,22 @@ loaderFactory = $loaderFactory; } @@ -27,26 +27,26 @@ final class ContainerBuilderFactory * @param CompilerPassInterface[] $compilerPasses * @param ExtensionInterface[] $extensions */ - public function create(array $configFiles, array $compilerPasses, array $extensions) : \RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerBuilder + public function create(array $configFiles, array $compilerPasses, array $extensions) : \RectorPrefix20220520\Symfony\Component\DependencyInjection\ContainerBuilder { - \RectorPrefix20220519\Webmozart\Assert\Assert::allIsAOf($extensions, \RectorPrefix20220519\Symfony\Component\DependencyInjection\Extension\ExtensionInterface::class); - \RectorPrefix20220519\Webmozart\Assert\Assert::allIsAOf($compilerPasses, \RectorPrefix20220519\Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface::class); - \RectorPrefix20220519\Webmozart\Assert\Assert::allString($configFiles); - \RectorPrefix20220519\Webmozart\Assert\Assert::allFile($configFiles); - $containerBuilder = new \RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerBuilder(); + \RectorPrefix20220520\Webmozart\Assert\Assert::allIsAOf($extensions, \RectorPrefix20220520\Symfony\Component\DependencyInjection\Extension\ExtensionInterface::class); + \RectorPrefix20220520\Webmozart\Assert\Assert::allIsAOf($compilerPasses, \RectorPrefix20220520\Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface::class); + \RectorPrefix20220520\Webmozart\Assert\Assert::allString($configFiles); + \RectorPrefix20220520\Webmozart\Assert\Assert::allFile($configFiles); + $containerBuilder = new \RectorPrefix20220520\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 \RectorPrefix20220519\Symplify\SymplifyKernel\DependencyInjection\LoadExtensionConfigsCompilerPass()); + $compilerPassConfig->setMergePass(new \RectorPrefix20220520\Symplify\SymplifyKernel\DependencyInjection\LoadExtensionConfigsCompilerPass()); return $containerBuilder; } /** * @param ExtensionInterface[] $extensions */ - private function registerExtensions(\RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerBuilder $containerBuilder, array $extensions) : void + private function registerExtensions(\RectorPrefix20220520\Symfony\Component\DependencyInjection\ContainerBuilder $containerBuilder, array $extensions) : void { foreach ($extensions as $extension) { $containerBuilder->registerExtension($extension); @@ -55,7 +55,7 @@ final class ContainerBuilderFactory /** * @param CompilerPassInterface[] $compilerPasses */ - private function registerCompilerPasses(\RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerBuilder $containerBuilder, array $compilerPasses) : void + private function registerCompilerPasses(\RectorPrefix20220520\Symfony\Component\DependencyInjection\ContainerBuilder $containerBuilder, array $compilerPasses) : void { foreach ($compilerPasses as $compilerPass) { $containerBuilder->addCompilerPass($compilerPass); @@ -64,7 +64,7 @@ final class ContainerBuilderFactory /** * @param string[] $configFiles */ - private function registerConfigFiles(\RectorPrefix20220519\Symfony\Component\DependencyInjection\ContainerBuilder $containerBuilder, array $configFiles) : void + private function registerConfigFiles(\RectorPrefix20220520\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 1d82eaf6b41..021f36e9efd 100644 --- a/vendor/symplify/symplify-kernel/src/Contract/Config/LoaderFactoryInterface.php +++ b/vendor/symplify/symplify-kernel/src/Contract/Config/LoaderFactoryInterface.php @@ -1,11 +1,11 @@ getExtensions()); foreach ($extensionNames as $extensionName) { diff --git a/vendor/symplify/symplify-kernel/src/Exception/BootException.php b/vendor/symplify/symplify-kernel/src/Exception/BootException.php index 17d3b8ee3e5..d27b401da5e 100644 --- a/vendor/symplify/symplify-kernel/src/Exception/BootException.php +++ b/vendor/symplify/symplify-kernel/src/Exception/BootException.php @@ -1,7 +1,7 @@ create($configFiles, $compilerPasses, $extensions); $containerBuilder->compile(); $this->container = $containerBuilder; return $containerBuilder; } - public function getContainer() : \RectorPrefix20220519\Psr\Container\ContainerInterface + public function getContainer() : \RectorPrefix20220520\Psr\Container\ContainerInterface { - if (!$this->container instanceof \RectorPrefix20220519\Symfony\Component\DependencyInjection\Container) { - throw new \RectorPrefix20220519\Symplify\SymplifyKernel\Exception\ShouldNotHappenException(); + if (!$this->container instanceof \RectorPrefix20220520\Symfony\Component\DependencyInjection\Container) { + throw new \RectorPrefix20220520\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 23ca445132e..33475429e7c 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 \RectorPrefix20220519\Symplify\PackageBuilder\Console\Style\SymfonyStyleFactory(); + $symfonyStyleFactory = new \RectorPrefix20220520\Symplify\PackageBuilder\Console\Style\SymfonyStyleFactory(); $symfonyStyle = $symfonyStyleFactory->create(); $symfonyStyle->error($throwable->getMessage()); - exit(\RectorPrefix20220519\Symfony\Component\Console\Command\Command::FAILURE); + exit(\RectorPrefix20220520\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, \RectorPrefix20220519\Symplify\SymplifyKernel\Contract\LightKernelInterface::class, \true)) { + if (\is_a($kernelClass, \RectorPrefix20220520\Symplify\SymplifyKernel\Contract\LightKernelInterface::class, \true)) { return new $kernelClass(); } $environment = 'prod' . \random_int(1, 100000); - return new $kernelClass($environment, \RectorPrefix20220519\Symplify\PackageBuilder\Console\Input\StaticInputDetector::isDebug()); + return new $kernelClass($environment, \RectorPrefix20220520\Symplify\PackageBuilder\Console\Input\StaticInputDetector::isDebug()); } private function booKernelAndRunApplication() : void { $kernel = $this->createKernel(); - if ($kernel instanceof \RectorPrefix20220519\Symplify\SymplifyKernel\Contract\LightKernelInterface) { + if ($kernel instanceof \RectorPrefix20220520\Symplify\SymplifyKernel\Contract\LightKernelInterface) { $container = $kernel->createFromConfigs($this->extraConfigs); } else { $kernel->boot(); $container = $kernel->getContainer(); } /** @var Application $application */ - $application = $container->get(\RectorPrefix20220519\Symfony\Component\Console\Application::class); + $application = $container->get(\RectorPrefix20220520\Symfony\Component\Console\Application::class); exit($application->run()); } /** @@ -76,14 +76,14 @@ final class KernelBootAndApplicationRun */ private function validateKernelClass(string $kernelClass) : void { - if (\is_a($kernelClass, \RectorPrefix20220519\Symfony\Component\HttpKernel\KernelInterface::class, \true)) { + if (\is_a($kernelClass, \RectorPrefix20220520\Symfony\Component\HttpKernel\KernelInterface::class, \true)) { return; } - if (\is_a($kernelClass, \RectorPrefix20220519\Symplify\SymplifyKernel\Contract\LightKernelInterface::class, \true)) { + if (\is_a($kernelClass, \RectorPrefix20220520\Symplify\SymplifyKernel\Contract\LightKernelInterface::class, \true)) { return; } $currentValueType = \get_debug_type($kernelClass); - $errorMessage = \sprintf('Class "%s" must by type of "%s" or "%s". "%s" given', $kernelClass, \RectorPrefix20220519\Symfony\Component\HttpKernel\KernelInterface::class, \RectorPrefix20220519\Symplify\SymplifyKernel\Contract\LightKernelInterface::class, $currentValueType); - throw new \RectorPrefix20220519\Symplify\SymplifyKernel\Exception\BootException($errorMessage); + $errorMessage = \sprintf('Class "%s" must by type of "%s" or "%s". "%s" given', $kernelClass, \RectorPrefix20220520\Symfony\Component\HttpKernel\KernelInterface::class, \RectorPrefix20220520\Symplify\SymplifyKernel\Contract\LightKernelInterface::class, $currentValueType); + throw new \RectorPrefix20220520\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 8e1257f3057..77ad9fd2776 100644 --- a/vendor/symplify/symplify-kernel/src/ValueObject/SymplifyKernelConfig.php +++ b/vendor/symplify/symplify-kernel/src/ValueObject/SymplifyKernelConfig.php @@ -1,7 +1,7 @@ create([__DIR__ . '/config/some_services.php'], [], []); - $hasSmartFileSystemService = $containerBuilder->has(\RectorPrefix20220519\Symplify\SmartFileSystem\SmartFileSystem::class); + $hasSmartFileSystemService = $containerBuilder->has(\RectorPrefix20220520\Symplify\SmartFileSystem\SmartFileSystem::class); $this->assertTrue($hasSmartFileSystemService); } } diff --git a/vendor/symplify/symplify-kernel/tests/ContainerBuilderFactory/config/some_services.php b/vendor/symplify/symplify-kernel/tests/ContainerBuilderFactory/config/some_services.php index dc655d234b4..fb2691e895d 100644 --- a/vendor/symplify/symplify-kernel/tests/ContainerBuilderFactory/config/some_services.php +++ b/vendor/symplify/symplify-kernel/tests/ContainerBuilderFactory/config/some_services.php @@ -1,11 +1,11 @@ services(); - $services->set(\RectorPrefix20220519\Symplify\SmartFileSystem\SmartFileSystem::class); + $services->set(\RectorPrefix20220520\Symplify\SmartFileSystem\SmartFileSystem::class); }; diff --git a/vendor/symplify/vendor-patches/bin/vendor-patches b/vendor/symplify/vendor-patches/bin/vendor-patches index 524d3566cae..0467855e99d 100644 --- a/vendor/symplify/vendor-patches/bin/vendor-patches +++ b/vendor/symplify/vendor-patches/bin/vendor-patches @@ -1,5 +1,5 @@ #!/usr/bin/env php run(); diff --git a/vendor/symplify/vendor-patches/composer.json b/vendor/symplify/vendor-patches/composer.json index c2fd728277e..a7dfb69c944 100644 --- a/vendor/symplify/vendor-patches/composer.json +++ b/vendor/symplify/vendor-patches/composer.json @@ -20,12 +20,12 @@ }, "autoload": { "psr-4": { - "RectorPrefix20220519\\Symplify\\VendorPatches\\": "src" + "RectorPrefix20220520\\Symplify\\VendorPatches\\": "src" } }, "autoload-dev": { "psr-4": { - "RectorPrefix20220519\\Symplify\\VendorPatches\\Tests\\": "tests" + "RectorPrefix20220520\\Symplify\\VendorPatches\\Tests\\": "tests" } }, "extra": { diff --git a/vendor/symplify/vendor-patches/config/config.php b/vendor/symplify/vendor-patches/config/config.php index 1d695ba04ca..4bf83ed8faf 100644 --- a/vendor/symplify/vendor-patches/config/config.php +++ b/vendor/symplify/vendor-patches/config/config.php @@ -1,26 +1,26 @@ services(); $services->defaults()->public()->autowire()->autoconfigure(); - $services->load('RectorPrefix20220519\Symplify\\VendorPatches\\', __DIR__ . '/../src')->exclude([__DIR__ . '/../src/Kernel', __DIR__ . '/../src/ValueObject']); - $services->set(\RectorPrefix20220519\SebastianBergmann\Diff\Output\UnifiedDiffOutputBuilder::class)->args(['$addLineNumbers' => \true]); - $services->set(\RectorPrefix20220519\SebastianBergmann\Diff\Differ::class)->args(['$outputBuilder' => \RectorPrefix20220519\Symfony\Component\DependencyInjection\Loader\Configurator\service(\RectorPrefix20220519\SebastianBergmann\Diff\Output\UnifiedDiffOutputBuilder::class)]); - $services->set(\RectorPrefix20220519\Symplify\PackageBuilder\Composer\VendorDirProvider::class); - $services->set(\RectorPrefix20220519\Symplify\SmartFileSystem\Json\JsonFileSystem::class); + $services->load('RectorPrefix20220520\Symplify\\VendorPatches\\', __DIR__ . '/../src')->exclude([__DIR__ . '/../src/Kernel', __DIR__ . '/../src/ValueObject']); + $services->set(\RectorPrefix20220520\SebastianBergmann\Diff\Output\UnifiedDiffOutputBuilder::class)->args(['$addLineNumbers' => \true]); + $services->set(\RectorPrefix20220520\SebastianBergmann\Diff\Differ::class)->args(['$outputBuilder' => \RectorPrefix20220520\Symfony\Component\DependencyInjection\Loader\Configurator\service(\RectorPrefix20220520\SebastianBergmann\Diff\Output\UnifiedDiffOutputBuilder::class)]); + $services->set(\RectorPrefix20220520\Symplify\PackageBuilder\Composer\VendorDirProvider::class); + $services->set(\RectorPrefix20220520\Symplify\SmartFileSystem\Json\JsonFileSystem::class); // for autowired commands - $services->alias(\RectorPrefix20220519\Symfony\Component\Console\Application::class, \RectorPrefix20220519\Symplify\VendorPatches\Console\VendorPatchesApplication::class); - $services->set(\RectorPrefix20220519\Symplify\PackageBuilder\Yaml\ParametersMerger::class); + $services->alias(\RectorPrefix20220520\Symfony\Component\Console\Application::class, \RectorPrefix20220520\Symplify\VendorPatches\Console\VendorPatchesApplication::class); + $services->set(\RectorPrefix20220520\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 f2bbb74896b..13df43dab63 100644 --- a/vendor/symplify/vendor-patches/src/Command/GenerateCommand.php +++ b/vendor/symplify/vendor-patches/src/Command/GenerateCommand.php @@ -1,19 +1,19 @@ oldToNewFilesFinder = $oldToNewFilesFinder; $this->patchDiffer = $patchDiffer; @@ -51,10 +51,10 @@ final class GenerateCommand extends \RectorPrefix20220519\Symplify\PackageBuilde } protected function configure() : void { - $this->setName(\RectorPrefix20220519\Symplify\PackageBuilder\Console\Command\CommandNaming::classToName(self::class)); + $this->setName(\RectorPrefix20220520\Symplify\PackageBuilder\Console\Command\CommandNaming::classToName(self::class)); $this->setDescription('Generate patches from /vendor directory'); } - protected function execute(\RectorPrefix20220519\Symfony\Component\Console\Input\InputInterface $input, \RectorPrefix20220519\Symfony\Component\Console\Output\OutputInterface $output) : int + protected function execute(\RectorPrefix20220520\Symfony\Component\Console\Input\InputInterface $input, \RectorPrefix20220520\Symfony\Component\Console\Output\OutputInterface $output) : int { $vendorDirectory = $this->vendorDirProvider->provide(); $oldAndNewFileInfos = $this->oldToNewFilesFinder->find($vendorDirectory); diff --git a/vendor/symplify/vendor-patches/src/Composer/ComposerPatchesConfigurationUpdater.php b/vendor/symplify/vendor-patches/src/Composer/ComposerPatchesConfigurationUpdater.php index 0fab7b669d9..1fdeb4f7cd8 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) : \RectorPrefix20220519\Symplify\ComposerJsonManipulator\ValueObject\ComposerJson + public function updateComposerJson(string $composerJsonFilePath, array $composerExtraPatches) : \RectorPrefix20220520\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 \RectorPrefix20220519\Symplify\Astral\Exception\ShouldNotHappenException(); + throw new \RectorPrefix20220520\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 915059a1a1d..f031ea6e9b3 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 \RectorPrefix20220519\Symplify\SymplifyKernel\Exception\ShouldNotHappenException(); + throw new \RectorPrefix20220520\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 2c9f5ddcad3..66249b289cc 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(\RectorPrefix20220519\Symplify\VendorPatches\ValueObject\OldAndNewFileInfo $oldAndNewFileInfo) : void + public function reportIdenticalNewAndOldFile(\RectorPrefix20220520\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/VendorPatchesApplication.php b/vendor/symplify/vendor-patches/src/Console/VendorPatchesApplication.php index 98a9b3b24f3..f84bc9dd2c2 100644 --- a/vendor/symplify/vendor-patches/src/Console/VendorPatchesApplication.php +++ b/vendor/symplify/vendor-patches/src/Console/VendorPatchesApplication.php @@ -1,11 +1,11 @@ differ = $differ; } - public function diff(\RectorPrefix20220519\Symplify\VendorPatches\ValueObject\OldAndNewFileInfo $oldAndNewFileInfo) : string + public function diff(\RectorPrefix20220520\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 = \RectorPrefix20220519\Nette\Utils\Strings::replace($diff, self::START_ORIGINAL_REGEX, '--- /dev/null'); - return \RectorPrefix20220519\Nette\Utils\Strings::replace($clearedDiff, self::START_NEW_REGEX, '+++ ' . $patchedFileRelativePath); + $clearedDiff = \RectorPrefix20220520\Nette\Utils\Strings::replace($diff, self::START_ORIGINAL_REGEX, '--- /dev/null'); + return \RectorPrefix20220520\Nette\Utils\Strings::replace($clearedDiff, self::START_NEW_REGEX, '+++ ' . $patchedFileRelativePath); } private function resolveFileInfoPathRelativeFilePath(\Symplify\SmartFileSystem\SmartFileInfo $beforeFileInfo) : string { - $match = \RectorPrefix20220519\Nette\Utils\Strings::match($beforeFileInfo->getRealPath(), self::LOCAL_PATH_REGEX); + $match = \RectorPrefix20220520\Nette\Utils\Strings::match($beforeFileInfo->getRealPath(), self::LOCAL_PATH_REGEX); if (!isset($match['local_path'])) { - throw new \RectorPrefix20220519\Symplify\SymplifyKernel\Exception\ShouldNotHappenException(); + throw new \RectorPrefix20220520\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 ec0c9e101c6..ad30820b4d3 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 = \RectorPrefix20220519\Nette\Utils\Strings::match($fileInfo->getRealPath(), self::VENDOR_PACKAGE_DIRECTORY_REGEX); + $match = \RectorPrefix20220520\Nette\Utils\Strings::match($fileInfo->getRealPath(), self::VENDOR_PACKAGE_DIRECTORY_REGEX); if (!isset($match['vendor_package_directory'])) { - throw new \RectorPrefix20220519\Symplify\SymplifyKernel\Exception\ShouldNotHappenException('Could not resolve vendor package directory'); + throw new \RectorPrefix20220520\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 4b5685e18f3..3696bd2e8cd 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 \RectorPrefix20220519\Symplify\VendorPatches\ValueObject\OldAndNewFileInfo($oldFileInfo, $newFileInfo, $packageName); + $oldAndNewFileInfos[] = new \RectorPrefix20220520\Symplify\VendorPatches\ValueObject\OldAndNewFileInfo($oldFileInfo, $newFileInfo, $packageName); } return $oldAndNewFileInfos; } @@ -51,7 +51,7 @@ final class OldToNewFilesFinder */ private function findSmartFileInfosInDirectory(string $directory) : array { - $finder = \RectorPrefix20220519\Symfony\Component\Finder\Finder::create()->in($directory)->files()->exclude('composer/')->exclude('ocramius/')->name('*.old'); + $finder = \RectorPrefix20220520\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 5d7357b7b88..bb5b655d872 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 1a751e8aaa6..d8d8a14e39b 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 = \RectorPrefix20220519\Nette\Utils\Strings::lower($inVendorRelativeFilePath); - $pathFileName = \RectorPrefix20220519\Nette\Utils\Strings::webalize($relativeFilePathWithoutSuffix) . '.patch'; + $relativeFilePathWithoutSuffix = \RectorPrefix20220520\Nette\Utils\Strings::lower($inVendorRelativeFilePath); + $pathFileName = \RectorPrefix20220520\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 a402a181834..f18e70384c6 100644 --- a/vendor/symplify/vendor-patches/src/ValueObject/OldAndNewFileInfo.php +++ b/vendor/symplify/vendor-patches/src/ValueObject/OldAndNewFileInfo.php @@ -1,7 +1,7 @@ addPanel([self::class, 'renderLatteError']); $blueScreen->addAction([self::class, 'renderLatteUnknownMacro']); $blueScreen->addFileGenerator(function (string $file) { return \substr($file, -6) === '.latte' ? "{block content}\n\$END\$" : null; }); - \RectorPrefix20220519\Tracy\Debugger::addSourceMapper([self::class, 'mapLatteSourceCode']); + \RectorPrefix20220520\Tracy\Debugger::addSourceMapper([self::class, 'mapLatteSourceCode']); } $blueScreen->addAction([self::class, 'renderMemberAccessException']); $blueScreen->addPanel([self::class, 'renderNeonError']); } public static function renderLatteError(?\Throwable $e) : ?array { - if ($e instanceof \RectorPrefix20220519\Latte\CompileException && $e->sourceName) { - return ['tab' => 'Template', 'panel' => (\preg_match('#\\n|\\?#', $e->sourceName) ? '' : '

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

') . \RectorPrefix20220519\Tracy\BlueScreen::highlightFile($e->sourceCode, $e->sourceLine, 15, \false)]; + if ($e instanceof \RectorPrefix20220520\Latte\CompileException && $e->sourceName) { + return ['tab' => 'Template', 'panel' => (\preg_match('#\\n|\\?#', $e->sourceName) ? '' : '

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

') . \RectorPrefix20220520\Tracy\BlueScreen::highlightFile($e->sourceCode, $e->sourceLine, 15, \false)]; } return null; } public static function renderLatteUnknownMacro(?\Throwable $e) : ?array { - if ($e instanceof \RectorPrefix20220519\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' => \RectorPrefix20220519\Tracy\Helpers::editorUri($e->sourceName, $e->sourceLine, 'fix', $m[1], $m[2]), 'label' => 'fix it']; + if ($e instanceof \RectorPrefix20220520\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' => \RectorPrefix20220520\Tracy\Helpers::editorUri($e->sourceName, $e->sourceLine, 'fix', $m[1], $m[2]), 'label' => 'fix it']; } return null; } @@ -61,29 +61,29 @@ class Bridge } public static function renderMemberAccessException(?\Throwable $e) : ?array { - if (!$e instanceof \RectorPrefix20220519\Nette\MemberAccessException && !$e instanceof \LogicException) { + if (!$e instanceof \RectorPrefix20220520\Nette\MemberAccessException && !$e instanceof \LogicException) { return null; } - $loc = $e->getTrace()[$e instanceof \RectorPrefix20220519\Nette\MemberAccessException ? 1 : 0]; + $loc = $e->getTrace()[$e instanceof \RectorPrefix20220520\Nette\MemberAccessException ? 1 : 0]; if (!isset($loc['file'])) { return null; } - $loc = \RectorPrefix20220519\Tracy\Debugger::mapSource($loc['file'], $loc['line']) ?? $loc; + $loc = \RectorPrefix20220520\Tracy\Debugger::mapSource($loc['file'], $loc['line']) ?? $loc; if (\preg_match('#Cannot (?:read|write to) an undeclared property .+::\\$(\\w+), did you mean \\$(\\w+)\\?#A', $e->getMessage(), $m)) { - return ['link' => \RectorPrefix20220519\Tracy\Helpers::editorUri($loc['file'], $loc['line'], 'fix', '->' . $m[1], '->' . $m[2]), 'label' => 'fix it']; + return ['link' => \RectorPrefix20220520\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' => \RectorPrefix20220519\Tracy\Helpers::editorUri($loc['file'], $loc['line'], 'fix', $operator . $m[2] . '(', $operator . $m[3] . '('), 'label' => 'fix it']; + return ['link' => \RectorPrefix20220520\Tracy\Helpers::editorUri($loc['file'], $loc['line'], 'fix', $operator . $m[2] . '(', $operator . $m[3] . '('), 'label' => 'fix it']; } return null; } public static function renderNeonError(?\Throwable $e) : ?array { - if (!$e instanceof \RectorPrefix20220519\Nette\Neon\Exception || !\preg_match('#line (\\d+)#', $e->getMessage(), $m)) { + if (!$e instanceof \RectorPrefix20220520\Nette\Neon\Exception || !\preg_match('#line (\\d+)#', $e->getMessage(), $m)) { return null; - } elseif ($trace = \RectorPrefix20220519\Tracy\Helpers::findTrace($e->getTrace(), [\RectorPrefix20220519\Nette\Neon\Decoder::class, 'decodeFile']) ?? \RectorPrefix20220519\Tracy\Helpers::findTrace($e->getTrace(), [\RectorPrefix20220519\Nette\DI\Config\Adapters\NeonAdapter::class, 'load'])) { - $panel = '

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

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

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

' . self::highlightNeon(\file_get_contents($trace['args'][0]), (int) $m[1]); + } elseif ($trace = \RectorPrefix20220520\Tracy\Helpers::findTrace($e->getTrace(), [\RectorPrefix20220520\Nette\Neon\Decoder::class, 'decode'])) { $panel = self::highlightNeon($trace['args'][0], (int) $m[1]); } return isset($panel) ? ['tab' => 'NEON', 'panel' => $panel] : null; @@ -93,6 +93,6 @@ class Bridge $code = \htmlspecialchars($code, \ENT_IGNORE, 'UTF-8'); $code = \str_replace(' ', "·", $code); $code = \str_replace("\t", "", $code); - return '
' . \RectorPrefix20220519\Tracy\BlueScreen::highlightLine($code, $line) . '
'; + return '
' . \RectorPrefix20220520\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 95e48808696..01ae986ffa1 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 RectorPrefix20220519\Tracy\Bridges\Nette; +namespace RectorPrefix20220520\Tracy\Bridges\Nette; -use RectorPrefix20220519\Nette; -use RectorPrefix20220519\Tracy; +use RectorPrefix20220520\Nette; +use RectorPrefix20220520\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(\RectorPrefix20220519\Nette\Mail\IMailer $mailer, ?string $fromEmail = null) + public function __construct(\RectorPrefix20220520\Nette\Mail\IMailer $mailer, ?string $fromEmail = null) { $this->mailer = $mailer; $this->fromEmail = $fromEmail; @@ -30,16 +30,16 @@ class MailSender public function send($message, string $email) : void { $host = \preg_replace('#[^\\w.-]+#', '', $_SERVER['SERVER_NAME'] ?? \php_uname('n')); - $mail = new \RectorPrefix20220519\Nette\Mail\Message(); + $mail = new \RectorPrefix20220520\Nette\Mail\Message(); $mail->setHeader('X-Mailer', 'Tracy'); - if ($this->fromEmail || \RectorPrefix20220519\Nette\Utils\Validators::isEmail("noreply@{$host}")) { + if ($this->fromEmail || \RectorPrefix20220520\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(\RectorPrefix20220519\Tracy\Logger::formatMessage($message) . "\n\nsource: " . \RectorPrefix20220519\Tracy\Helpers::getSource()); + $mail->setBody(\RectorPrefix20220520\Tracy\Logger::formatMessage($message) . "\n\nsource: " . \RectorPrefix20220520\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 c4a3eafa9c3..69de28f8fbe 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 RectorPrefix20220519\Tracy\Bridges\Nette; +namespace RectorPrefix20220520\Tracy\Bridges\Nette; -use RectorPrefix20220519\Nette; -use RectorPrefix20220519\Nette\Schema\Expect; -use RectorPrefix20220519\Tracy; +use RectorPrefix20220520\Nette; +use RectorPrefix20220520\Nette\Schema\Expect; +use RectorPrefix20220520\Tracy; /** * Tracy extension for Nette DI. */ -class TracyExtension extends \RectorPrefix20220519\Nette\DI\CompilerExtension +class TracyExtension extends \RectorPrefix20220520\Nette\DI\CompilerExtension { private const ErrorSeverityPattern = 'E_(?:ALL|PARSE|STRICT|RECOVERABLE_ERROR|(?:CORE|COMPILE)_(?:ERROR|WARNING)|(?:USER_)?(?:ERROR|WARNING|NOTICE|DEPRECATED))'; /** @var bool */ @@ -25,22 +25,22 @@ class TracyExtension extends \RectorPrefix20220519\Nette\DI\CompilerExtension $this->debugMode = $debugMode; $this->cliMode = $cliMode; } - public function getConfigSchema() : \RectorPrefix20220519\Nette\Schema\Schema + public function getConfigSchema() : \RectorPrefix20220520\Nette\Schema\Schema { - $errorSeverity = \RectorPrefix20220519\Nette\Schema\Expect::string()->pattern(self::ErrorSeverityPattern); - $errorSeverityExpr = \RectorPrefix20220519\Nette\Schema\Expect::string()->pattern('(' . self::ErrorSeverityPattern . '|[ &|~()])+'); - return \RectorPrefix20220519\Nette\Schema\Expect::structure(['email' => \RectorPrefix20220519\Nette\Schema\Expect::anyOf(\RectorPrefix20220519\Nette\Schema\Expect::email(), \RectorPrefix20220519\Nette\Schema\Expect::listOf('email'))->dynamic(), 'fromEmail' => \RectorPrefix20220519\Nette\Schema\Expect::email()->dynamic(), 'emailSnooze' => \RectorPrefix20220519\Nette\Schema\Expect::string()->dynamic(), 'logSeverity' => \RectorPrefix20220519\Nette\Schema\Expect::anyOf(\RectorPrefix20220519\Nette\Schema\Expect::int(), $errorSeverityExpr, \RectorPrefix20220519\Nette\Schema\Expect::listOf($errorSeverity)), 'editor' => \RectorPrefix20220519\Nette\Schema\Expect::type('string|null')->dynamic(), 'browser' => \RectorPrefix20220519\Nette\Schema\Expect::string()->dynamic(), 'errorTemplate' => \RectorPrefix20220519\Nette\Schema\Expect::string()->dynamic(), 'strictMode' => \RectorPrefix20220519\Nette\Schema\Expect::anyOf(\RectorPrefix20220519\Nette\Schema\Expect::bool(), \RectorPrefix20220519\Nette\Schema\Expect::int(), $errorSeverityExpr, \RectorPrefix20220519\Nette\Schema\Expect::listOf($errorSeverity)), 'showBar' => \RectorPrefix20220519\Nette\Schema\Expect::bool()->dynamic(), 'maxLength' => \RectorPrefix20220519\Nette\Schema\Expect::int()->dynamic(), 'maxDepth' => \RectorPrefix20220519\Nette\Schema\Expect::int()->dynamic(), 'maxItems' => \RectorPrefix20220519\Nette\Schema\Expect::int()->dynamic(), 'keysToHide' => \RectorPrefix20220519\Nette\Schema\Expect::array(null)->dynamic(), 'dumpTheme' => \RectorPrefix20220519\Nette\Schema\Expect::string()->dynamic(), 'showLocation' => \RectorPrefix20220519\Nette\Schema\Expect::bool()->dynamic(), 'scream' => \RectorPrefix20220519\Nette\Schema\Expect::anyOf(\RectorPrefix20220519\Nette\Schema\Expect::bool(), \RectorPrefix20220519\Nette\Schema\Expect::int(), $errorSeverityExpr, \RectorPrefix20220519\Nette\Schema\Expect::listOf($errorSeverity)), 'bar' => \RectorPrefix20220519\Nette\Schema\Expect::listOf('RectorPrefix20220519\\string|Nette\\DI\\Definitions\\Statement'), 'blueScreen' => \RectorPrefix20220519\Nette\Schema\Expect::listOf('callable'), 'editorMapping' => \RectorPrefix20220519\Nette\Schema\Expect::arrayOf('string')->dynamic()->default(null), 'netteMailer' => \RectorPrefix20220519\Nette\Schema\Expect::bool(\true)]); + $errorSeverity = \RectorPrefix20220520\Nette\Schema\Expect::string()->pattern(self::ErrorSeverityPattern); + $errorSeverityExpr = \RectorPrefix20220520\Nette\Schema\Expect::string()->pattern('(' . self::ErrorSeverityPattern . '|[ &|~()])+'); + return \RectorPrefix20220520\Nette\Schema\Expect::structure(['email' => \RectorPrefix20220520\Nette\Schema\Expect::anyOf(\RectorPrefix20220520\Nette\Schema\Expect::email(), \RectorPrefix20220520\Nette\Schema\Expect::listOf('email'))->dynamic(), 'fromEmail' => \RectorPrefix20220520\Nette\Schema\Expect::email()->dynamic(), 'emailSnooze' => \RectorPrefix20220520\Nette\Schema\Expect::string()->dynamic(), 'logSeverity' => \RectorPrefix20220520\Nette\Schema\Expect::anyOf(\RectorPrefix20220520\Nette\Schema\Expect::int(), $errorSeverityExpr, \RectorPrefix20220520\Nette\Schema\Expect::listOf($errorSeverity)), 'editor' => \RectorPrefix20220520\Nette\Schema\Expect::type('string|null')->dynamic(), 'browser' => \RectorPrefix20220520\Nette\Schema\Expect::string()->dynamic(), 'errorTemplate' => \RectorPrefix20220520\Nette\Schema\Expect::string()->dynamic(), 'strictMode' => \RectorPrefix20220520\Nette\Schema\Expect::anyOf(\RectorPrefix20220520\Nette\Schema\Expect::bool(), \RectorPrefix20220520\Nette\Schema\Expect::int(), $errorSeverityExpr, \RectorPrefix20220520\Nette\Schema\Expect::listOf($errorSeverity)), 'showBar' => \RectorPrefix20220520\Nette\Schema\Expect::bool()->dynamic(), 'maxLength' => \RectorPrefix20220520\Nette\Schema\Expect::int()->dynamic(), 'maxDepth' => \RectorPrefix20220520\Nette\Schema\Expect::int()->dynamic(), 'maxItems' => \RectorPrefix20220520\Nette\Schema\Expect::int()->dynamic(), 'keysToHide' => \RectorPrefix20220520\Nette\Schema\Expect::array(null)->dynamic(), 'dumpTheme' => \RectorPrefix20220520\Nette\Schema\Expect::string()->dynamic(), 'showLocation' => \RectorPrefix20220520\Nette\Schema\Expect::bool()->dynamic(), 'scream' => \RectorPrefix20220520\Nette\Schema\Expect::anyOf(\RectorPrefix20220520\Nette\Schema\Expect::bool(), \RectorPrefix20220520\Nette\Schema\Expect::int(), $errorSeverityExpr, \RectorPrefix20220520\Nette\Schema\Expect::listOf($errorSeverity)), 'bar' => \RectorPrefix20220520\Nette\Schema\Expect::listOf('RectorPrefix20220520\\string|Nette\\DI\\Definitions\\Statement'), 'blueScreen' => \RectorPrefix20220520\Nette\Schema\Expect::listOf('callable'), 'editorMapping' => \RectorPrefix20220520\Nette\Schema\Expect::arrayOf('string')->dynamic()->default(null), 'netteMailer' => \RectorPrefix20220520\Nette\Schema\Expect::bool(\true)]); } public function loadConfiguration() { $builder = $this->getContainerBuilder(); - $builder->addDefinition($this->prefix('logger'))->setClass(\RectorPrefix20220519\Tracy\ILogger::class)->setFactory([\RectorPrefix20220519\Tracy\Debugger::class, 'getLogger']); - $builder->addDefinition($this->prefix('blueScreen'))->setFactory([\RectorPrefix20220519\Tracy\Debugger::class, 'getBlueScreen']); - $builder->addDefinition($this->prefix('bar'))->setFactory([\RectorPrefix20220519\Tracy\Debugger::class, 'getBar']); + $builder->addDefinition($this->prefix('logger'))->setClass(\RectorPrefix20220520\Tracy\ILogger::class)->setFactory([\RectorPrefix20220520\Tracy\Debugger::class, 'getLogger']); + $builder->addDefinition($this->prefix('blueScreen'))->setFactory([\RectorPrefix20220520\Tracy\Debugger::class, 'getBlueScreen']); + $builder->addDefinition($this->prefix('bar'))->setFactory([\RectorPrefix20220520\Tracy\Debugger::class, 'getBar']); } - public function afterCompile(\RectorPrefix20220519\Nette\PhpGenerator\ClassType $class) + public function afterCompile(\RectorPrefix20220520\Nette\PhpGenerator\ClassType $class) { - $initialize = $this->initialization ?? new \RectorPrefix20220519\Nette\PhpGenerator\Closure(); + $initialize = $this->initialization ?? new \RectorPrefix20220520\Nette\PhpGenerator\Closure(); $initialize->addBody('if (!Tracy\\Debugger::isEnabled()) { return; }'); $builder = $this->getContainerBuilder(); $options = (array) $this->config; @@ -53,38 +53,38 @@ class TracyExtension extends \RectorPrefix20220519\Nette\DI\CompilerExtension foreach ($options as $key => $value) { if ($value !== null) { $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 . ' = ?') . ';', \RectorPrefix20220519\Nette\DI\Helpers::filterArguments([$value]))); + $initialize->addBody($builder->formatPhp(($tbl[$key] ?? 'Tracy\\Debugger::$' . $key . ' = ?') . ';', \RectorPrefix20220520\Nette\DI\Helpers::filterArguments([$value]))); } } $logger = $builder->getDefinition($this->prefix('logger')); - if (!$logger instanceof \RectorPrefix20220519\Nette\DI\ServiceDefinition || $logger->getFactory()->getEntity() !== [\RectorPrefix20220519\Tracy\Debugger::class, 'getLogger']) { + if (!$logger instanceof \RectorPrefix20220520\Nette\DI\ServiceDefinition || $logger->getFactory()->getEntity() !== [\RectorPrefix20220520\Tracy\Debugger::class, 'getLogger']) { $initialize->addBody($builder->formatPhp('Tracy\\Debugger::setLogger(?);', [$logger])); } - if ($this->config->netteMailer && $builder->getByType(\RectorPrefix20220519\Nette\Mail\IMailer::class)) { - $initialize->addBody($builder->formatPhp('Tracy\\Debugger::getLogger()->mailer = ?;', [[new \RectorPrefix20220519\Nette\DI\Statement(\RectorPrefix20220519\Tracy\Bridges\Nette\MailSender::class, ['fromEmail' => $this->config->fromEmail]), 'send']])); + if ($this->config->netteMailer && $builder->getByType(\RectorPrefix20220520\Nette\Mail\IMailer::class)) { + $initialize->addBody($builder->formatPhp('Tracy\\Debugger::getLogger()->mailer = ?;', [[new \RectorPrefix20220520\Nette\DI\Statement(\RectorPrefix20220520\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 \RectorPrefix20220519\Nette\DI\Statement(['@' . $builder::THIS_CONTAINER, 'getService'], [\substr($item, 1)]); + $item = new \RectorPrefix20220520\Nette\DI\Statement(['@' . $builder::THIS_CONTAINER, 'getService'], [\substr($item, 1)]); } elseif (\is_string($item)) { - $item = new \RectorPrefix20220519\Nette\DI\Statement($item); + $item = new \RectorPrefix20220520\Nette\DI\Statement($item); } - $initialize->addBody($builder->formatPhp('$this->getService(?)->addPanel(?);', \RectorPrefix20220519\Nette\DI\Helpers::filterArguments([$this->prefix('bar'), $item]))); + $initialize->addBody($builder->formatPhp('$this->getService(?)->addPanel(?);', \RectorPrefix20220520\Nette\DI\Helpers::filterArguments([$this->prefix('bar'), $item]))); } - if (!$this->cliMode && \RectorPrefix20220519\Tracy\Debugger::getSessionStorage() instanceof \RectorPrefix20220519\Tracy\NativeSession && ($name = $builder->getByType(\RectorPrefix20220519\Nette\Http\Session::class))) { + if (!$this->cliMode && \RectorPrefix20220520\Tracy\Debugger::getSessionStorage() instanceof \RectorPrefix20220520\Tracy\NativeSession && ($name = $builder->getByType(\RectorPrefix20220520\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(?);', \RectorPrefix20220519\Nette\DI\Helpers::filterArguments([$this->prefix('blueScreen'), $item]))); + $initialize->addBody($builder->formatPhp('$this->getService(?)->addPanel(?);', \RectorPrefix20220520\Nette\DI\Helpers::filterArguments([$this->prefix('blueScreen'), $item]))); } if (empty($this->initialization)) { $class->getMethod('initialize')->addBody("({$initialize})();"); } - if (($dir = \RectorPrefix20220519\Tracy\Debugger::$logDirectory) && !\is_writable($dir)) { - throw new \RectorPrefix20220519\Nette\InvalidStateException("Make directory '{$dir}' writable."); + if (($dir = \RectorPrefix20220520\Tracy\Debugger::$logDirectory) && !\is_writable($dir)) { + throw new \RectorPrefix20220520\Nette\InvalidStateException("Make directory '{$dir}' writable."); } } /** @@ -96,7 +96,7 @@ class TracyExtension extends \RectorPrefix20220519\Nette\DI\CompilerExtension $res = (int) @\parse_ini_string('e = ' . $value)['e']; // @ may fail if (!$res) { - throw new \RectorPrefix20220519\Nette\InvalidStateException("Syntax error in expression '{$value}'"); + throw new \RectorPrefix20220520\Nette\InvalidStateException("Syntax error in expression '{$value}'"); } return $res; } diff --git a/vendor/tracy/tracy/src/Bridges/Psr/PsrToTracyLoggerAdapter.php b/vendor/tracy/tracy/src/Bridges/Psr/PsrToTracyLoggerAdapter.php index 1c7dd28beaa..cbf6d9ce127 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 RectorPrefix20220519\Tracy\Bridges\Psr; +namespace RectorPrefix20220520\Tracy\Bridges\Psr; -use RectorPrefix20220519\Psr; -use RectorPrefix20220519\Tracy; +use RectorPrefix20220520\Psr; +use RectorPrefix20220520\Tracy; /** * Psr\Log\LoggerInterface to Tracy\ILogger adapter. */ -class PsrToTracyLoggerAdapter implements \RectorPrefix20220519\Tracy\ILogger +class PsrToTracyLoggerAdapter implements \RectorPrefix20220520\Tracy\ILogger { /** Tracy logger level to PSR-3 log level mapping */ - private const LevelMap = [\RectorPrefix20220519\Tracy\ILogger::DEBUG => \RectorPrefix20220519\Psr\Log\LogLevel::DEBUG, \RectorPrefix20220519\Tracy\ILogger::INFO => \RectorPrefix20220519\Psr\Log\LogLevel::INFO, \RectorPrefix20220519\Tracy\ILogger::WARNING => \RectorPrefix20220519\Psr\Log\LogLevel::WARNING, \RectorPrefix20220519\Tracy\ILogger::ERROR => \RectorPrefix20220519\Psr\Log\LogLevel::ERROR, \RectorPrefix20220519\Tracy\ILogger::EXCEPTION => \RectorPrefix20220519\Psr\Log\LogLevel::ERROR, \RectorPrefix20220519\Tracy\ILogger::CRITICAL => \RectorPrefix20220519\Psr\Log\LogLevel::CRITICAL]; + private const LevelMap = [\RectorPrefix20220520\Tracy\ILogger::DEBUG => \RectorPrefix20220520\Psr\Log\LogLevel::DEBUG, \RectorPrefix20220520\Tracy\ILogger::INFO => \RectorPrefix20220520\Psr\Log\LogLevel::INFO, \RectorPrefix20220520\Tracy\ILogger::WARNING => \RectorPrefix20220520\Psr\Log\LogLevel::WARNING, \RectorPrefix20220520\Tracy\ILogger::ERROR => \RectorPrefix20220520\Psr\Log\LogLevel::ERROR, \RectorPrefix20220520\Tracy\ILogger::EXCEPTION => \RectorPrefix20220520\Psr\Log\LogLevel::ERROR, \RectorPrefix20220520\Tracy\ILogger::CRITICAL => \RectorPrefix20220520\Psr\Log\LogLevel::CRITICAL]; /** @var Psr\Log\LoggerInterface */ private $psrLogger; - public function __construct(\RectorPrefix20220519\Psr\Log\LoggerInterface $psrLogger) + public function __construct(\RectorPrefix20220520\Psr\Log\LoggerInterface $psrLogger) { $this->psrLogger = $psrLogger; } public function log($value, $level = self::INFO) { if ($value instanceof \Throwable) { - $message = \RectorPrefix20220519\Tracy\Helpers::getClass($value) . ': ' . $value->getMessage() . ($value->getCode() ? ' #' . $value->getCode() : '') . ' in ' . $value->getFile() . ':' . $value->getLine(); + $message = \RectorPrefix20220520\Tracy\Helpers::getClass($value) . ': ' . $value->getMessage() . ($value->getCode() ? ' #' . $value->getCode() : '') . ' in ' . $value->getFile() . ':' . $value->getLine(); $context = ['exception' => $value]; } elseif (!\is_string($value)) { - $message = \trim(\RectorPrefix20220519\Tracy\Dumper::toText($value)); + $message = \trim(\RectorPrefix20220520\Tracy\Dumper::toText($value)); $context = []; } else { $message = $value; $context = []; } - $this->psrLogger->log(self::LevelMap[$level] ?? \RectorPrefix20220519\Psr\Log\LogLevel::ERROR, $message, $context); + $this->psrLogger->log(self::LevelMap[$level] ?? \RectorPrefix20220520\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 52e48e980bf..b0363dc4747 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 RectorPrefix20220519\Tracy\Bridges\Psr; +namespace RectorPrefix20220520\Tracy\Bridges\Psr; -use RectorPrefix20220519\Psr; -use RectorPrefix20220519\Tracy; +use RectorPrefix20220520\Psr; +use RectorPrefix20220520\Tracy; /** * Tracy\ILogger to Psr\Log\LoggerInterface adapter. */ -class TracyToPsrLoggerAdapter extends \RectorPrefix20220519\Psr\Log\AbstractLogger +class TracyToPsrLoggerAdapter extends \RectorPrefix20220520\Psr\Log\AbstractLogger { /** PSR-3 log level to Tracy logger level mapping */ - private const LevelMap = [\RectorPrefix20220519\Psr\Log\LogLevel::EMERGENCY => \RectorPrefix20220519\Tracy\ILogger::CRITICAL, \RectorPrefix20220519\Psr\Log\LogLevel::ALERT => \RectorPrefix20220519\Tracy\ILogger::CRITICAL, \RectorPrefix20220519\Psr\Log\LogLevel::CRITICAL => \RectorPrefix20220519\Tracy\ILogger::CRITICAL, \RectorPrefix20220519\Psr\Log\LogLevel::ERROR => \RectorPrefix20220519\Tracy\ILogger::ERROR, \RectorPrefix20220519\Psr\Log\LogLevel::WARNING => \RectorPrefix20220519\Tracy\ILogger::WARNING, \RectorPrefix20220519\Psr\Log\LogLevel::NOTICE => \RectorPrefix20220519\Tracy\ILogger::WARNING, \RectorPrefix20220519\Psr\Log\LogLevel::INFO => \RectorPrefix20220519\Tracy\ILogger::INFO, \RectorPrefix20220519\Psr\Log\LogLevel::DEBUG => \RectorPrefix20220519\Tracy\ILogger::DEBUG]; + private const LevelMap = [\RectorPrefix20220520\Psr\Log\LogLevel::EMERGENCY => \RectorPrefix20220520\Tracy\ILogger::CRITICAL, \RectorPrefix20220520\Psr\Log\LogLevel::ALERT => \RectorPrefix20220520\Tracy\ILogger::CRITICAL, \RectorPrefix20220520\Psr\Log\LogLevel::CRITICAL => \RectorPrefix20220520\Tracy\ILogger::CRITICAL, \RectorPrefix20220520\Psr\Log\LogLevel::ERROR => \RectorPrefix20220520\Tracy\ILogger::ERROR, \RectorPrefix20220520\Psr\Log\LogLevel::WARNING => \RectorPrefix20220520\Tracy\ILogger::WARNING, \RectorPrefix20220520\Psr\Log\LogLevel::NOTICE => \RectorPrefix20220520\Tracy\ILogger::WARNING, \RectorPrefix20220520\Psr\Log\LogLevel::INFO => \RectorPrefix20220520\Tracy\ILogger::INFO, \RectorPrefix20220520\Psr\Log\LogLevel::DEBUG => \RectorPrefix20220520\Tracy\ILogger::DEBUG]; /** @var Tracy\ILogger */ private $tracyLogger; - public function __construct(\RectorPrefix20220519\Tracy\ILogger $tracyLogger) + public function __construct(\RectorPrefix20220520\Tracy\ILogger $tracyLogger) { $this->tracyLogger = $tracyLogger; } public function log($level, $message, array $context = []) : void { - $level = self::LevelMap[$level] ?? \RectorPrefix20220519\Tracy\ILogger::ERROR; + $level = self::LevelMap[$level] ?? \RectorPrefix20220520\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 b7793e54c97..d117c126d1c 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 RectorPrefix20220519\Tracy; +namespace RectorPrefix20220520\Tracy; /** * Debug Bar. @@ -20,7 +20,7 @@ class Bar * Add custom panel. * @return static */ - public function addPanel(\RectorPrefix20220519\Tracy\IBarPanel $panel, ?string $id = null) : self + public function addPanel(\RectorPrefix20220520\Tracy\IBarPanel $panel, ?string $id = null) : self { if ($id === null) { $c = 0; @@ -34,7 +34,7 @@ class Bar /** * Returns panel with given id */ - public function getPanel(string $id) : ?\RectorPrefix20220519\Tracy\IBarPanel + public function getPanel(string $id) : ?\RectorPrefix20220520\Tracy\IBarPanel { return $this->panels[$id] ?? null; } @@ -42,33 +42,33 @@ class Bar * Renders loading \n"; + echo "", \str_replace(['