From 297478ae00bdf831d227485f24edfae04021d256 Mon Sep 17 00:00:00 2001 From: Tomas Votruba Date: Sat, 28 Jan 2023 16:20:41 +0000 Subject: [PATCH] Updated Rector to commit 9e321a11ac21440a33abef87add34945a1490b8f https://github.com/rectorphp/rector-src/commit/9e321a11ac21440a33abef87add34945a1490b8f [TypeDeclaration] Add PropertyTypeFromStrictSetterGetterRector (#3313) --- composer.json | 2 +- config/set/type-declaration.php | 3 +- docs/rector_rules_overview.md | 30 +++- .../ClassMethodAndPropertyAnalyzer.php | 35 ++++- ...opertyTypeFromStrictSetterGetterRector.php | 143 ++++++++++++++++++ ...FromStrictGetterMethodReturnTypeRector.php | 2 +- ...tterTypeDeclarationPropertyTypeInferer.php | 20 +-- ...tterTypeDeclarationPropertyTypeInferer.php | 60 ++++++++ src/Application/VersionResolver.php | 4 +- vendor/autoload.php | 2 +- vendor/composer/autoload_classmap.php | 2 + vendor/composer/autoload_real.php | 10 +- vendor/composer/autoload_static.php | 10 +- vendor/composer/installed.json | 76 +++++----- vendor/composer/installed.php | 2 +- vendor/symplify/easy-parallel/composer.json | 28 ++-- .../CommandLine/WorkerCommandLineFactory.php | 1 + .../src/CpuCoreCountProvider.php | 3 + .../easy-parallel/src/Enum/Action.php | 3 + .../easy-parallel/src/Enum/Content.php | 3 + .../easy-parallel/src/Enum/ReactCommand.php | 3 + .../easy-parallel/src/Enum/ReactEvent.php | 2 +- .../src/FileSystem/FilePathNormalizer.php | 3 + .../CommandFromReflectionFactory.php | 3 + .../easy-parallel/src/ScheduleFactory.php | 2 + .../src/ValueObject/EasyParallelConfig.php | 3 + .../src/ValueObject/ParallelProcess.php | 2 + .../src/ValueObject/ProcessPool.php | 2 + .../src/ValueObject/Schedule.php | 2 + .../composer.json | 24 ++- 30 files changed, 381 insertions(+), 104 deletions(-) create mode 100644 rules/TypeDeclaration/Rector/Class_/PropertyTypeFromStrictSetterGetterRector.php create mode 100644 rules/TypeDeclaration/TypeInferer/PropertyTypeInferer/SetterTypeDeclarationPropertyTypeInferer.php diff --git a/composer.json b/composer.json index 78b9695d308..fdb665bfcd0 100644 --- a/composer.json +++ b/composer.json @@ -7,7 +7,7 @@ ], "require": { "php": "^7.2|^8.0", - "phpstan/phpstan": "^1.9.7" + "phpstan/phpstan": "^1.9.14" }, "autoload": { "files": [ diff --git a/config/set/type-declaration.php b/config/set/type-declaration.php index 71d11b61e87..b0ded43fb18 100644 --- a/config/set/type-declaration.php +++ b/config/set/type-declaration.php @@ -6,6 +6,7 @@ namespace RectorPrefix202301; use Rector\CodeQuality\Rector\ClassMethod\ReturnTypeFromStrictScalarReturnExprRector; use Rector\Config\RectorConfig; use Rector\TypeDeclaration\Rector\ArrowFunction\AddArrowFunctionReturnTypeRector; +use Rector\TypeDeclaration\Rector\Class_\PropertyTypeFromStrictSetterGetterRector; use Rector\TypeDeclaration\Rector\ClassMethod\AddMethodCallBasedStrictParamTypeRector; use Rector\TypeDeclaration\Rector\ClassMethod\AddParamTypeBasedOnPHPUnitDataProviderRector; use Rector\TypeDeclaration\Rector\ClassMethod\AddParamTypeFromPropertyTypeRector; @@ -36,5 +37,5 @@ use Rector\TypeDeclaration\Rector\Property\TypedPropertyFromStrictGetterMethodRe use Rector\TypeDeclaration\Rector\Property\TypedPropertyFromStrictSetUpRector; use Rector\TypeDeclaration\Rector\Property\VarAnnotationIncorrectNullableRector; return static function (RectorConfig $rectorConfig) : void { - $rectorConfig->rules([AddClosureReturnTypeRector::class, AddArrowFunctionReturnTypeRector::class, ParamTypeByMethodCallTypeRector::class, TypedPropertyFromAssignsRector::class, ReturnAnnotationIncorrectNullableRector::class, VarAnnotationIncorrectNullableRector::class, ParamAnnotationIncorrectNullableRector::class, AddReturnTypeDeclarationBasedOnParentClassMethodRector::class, ReturnTypeFromStrictTypedPropertyRector::class, TypedPropertyFromStrictConstructorRector::class, ParamTypeFromStrictTypedPropertyRector::class, AddVoidReturnTypeWhereNoReturnRector::class, ReturnTypeFromReturnNewRector::class, TypedPropertyFromStrictGetterMethodReturnTypeRector::class, AddMethodCallBasedStrictParamTypeRector::class, ArrayShapeFromConstantArrayReturnRector::class, ReturnTypeFromStrictBoolReturnExprRector::class, ReturnTypeFromStrictNativeCallRector::class, ReturnTypeFromStrictNewArrayRector::class, ReturnTypeFromStrictScalarReturnExprRector::class, TypedPropertyFromStrictSetUpRector::class, ParamTypeByParentCallTypeRector::class, AddParamTypeSplFixedArrayRector::class, AddParamTypeBasedOnPHPUnitDataProviderRector::class, AddParamTypeFromPropertyTypeRector::class, AddReturnTypeDeclarationFromYieldsRector::class, ReturnTypeFromReturnDirectArrayRector::class, ReturnTypeFromStrictConstantReturnRector::class, ReturnTypeFromStrictTypedCallRector::class, ReturnNeverTypeRector::class, EmptyOnNullableObjectToInstanceOfRector::class]); + $rectorConfig->rules([AddClosureReturnTypeRector::class, AddArrowFunctionReturnTypeRector::class, ParamTypeByMethodCallTypeRector::class, TypedPropertyFromAssignsRector::class, ReturnAnnotationIncorrectNullableRector::class, VarAnnotationIncorrectNullableRector::class, ParamAnnotationIncorrectNullableRector::class, AddReturnTypeDeclarationBasedOnParentClassMethodRector::class, ReturnTypeFromStrictTypedPropertyRector::class, TypedPropertyFromStrictConstructorRector::class, ParamTypeFromStrictTypedPropertyRector::class, AddVoidReturnTypeWhereNoReturnRector::class, ReturnTypeFromReturnNewRector::class, TypedPropertyFromStrictGetterMethodReturnTypeRector::class, AddMethodCallBasedStrictParamTypeRector::class, ArrayShapeFromConstantArrayReturnRector::class, ReturnTypeFromStrictBoolReturnExprRector::class, ReturnTypeFromStrictNativeCallRector::class, ReturnTypeFromStrictNewArrayRector::class, ReturnTypeFromStrictScalarReturnExprRector::class, TypedPropertyFromStrictSetUpRector::class, ParamTypeByParentCallTypeRector::class, AddParamTypeSplFixedArrayRector::class, AddParamTypeBasedOnPHPUnitDataProviderRector::class, AddParamTypeFromPropertyTypeRector::class, AddReturnTypeDeclarationFromYieldsRector::class, ReturnTypeFromReturnDirectArrayRector::class, ReturnTypeFromStrictConstantReturnRector::class, ReturnTypeFromStrictTypedCallRector::class, ReturnNeverTypeRector::class, EmptyOnNullableObjectToInstanceOfRector::class, PropertyTypeFromStrictSetterGetterRector::class]); }; diff --git a/docs/rector_rules_overview.md b/docs/rector_rules_overview.md index 6bdccc99f89..3325db1d93c 100644 --- a/docs/rector_rules_overview.md +++ b/docs/rector_rules_overview.md @@ -1,4 +1,4 @@ -# 420 Rules Overview +# 421 Rules Overview
@@ -64,7 +64,7 @@ - [Transform](#transform) (34) -- [TypeDeclaration](#typedeclaration) (39) +- [TypeDeclaration](#typedeclaration) (40) - [Visibility](#visibility) (3) @@ -9481,6 +9481,32 @@ Add `@var` to properties that are missing it
+### PropertyTypeFromStrictSetterGetterRector + +Add property type based on strict setter and getter method + +- class: [`Rector\TypeDeclaration\Rector\Class_\PropertyTypeFromStrictSetterGetterRector`](../rules/TypeDeclaration/Rector/Class_/PropertyTypeFromStrictSetterGetterRector.php) + +```diff + final class SomeClass + { +- private $name = 'John'; ++ private string $name = 'John'; + + public function setName(string $name): void + { + $this->name = $name; + } + + public function getName(): string + { + return $this->name; + } + } +``` + +
+ ### ReturnAnnotationIncorrectNullableRector Add or remove null type from `@return` phpdoc typehint based on php return type declaration diff --git a/rules/TypeDeclaration/NodeAnalyzer/ClassMethodAndPropertyAnalyzer.php b/rules/TypeDeclaration/NodeAnalyzer/ClassMethodAndPropertyAnalyzer.php index ecd5f5bd3d8..675cfc51125 100644 --- a/rules/TypeDeclaration/NodeAnalyzer/ClassMethodAndPropertyAnalyzer.php +++ b/rules/TypeDeclaration/NodeAnalyzer/ClassMethodAndPropertyAnalyzer.php @@ -3,8 +3,11 @@ declare (strict_types=1); namespace Rector\TypeDeclaration\NodeAnalyzer; +use PhpParser\Node\Expr\Assign; use PhpParser\Node\Expr\PropertyFetch; +use PhpParser\Node\Expr\Variable; use PhpParser\Node\Stmt\ClassMethod; +use PhpParser\Node\Stmt\Expression; use PhpParser\Node\Stmt\Return_; use Rector\NodeNameResolver\NodeNameResolver; final class ClassMethodAndPropertyAnalyzer @@ -18,7 +21,7 @@ final class ClassMethodAndPropertyAnalyzer { $this->nodeNameResolver = $nodeNameResolver; } - public function hasClassMethodOnlyStatementReturnOfPropertyFetch(ClassMethod $classMethod, string $propertyName) : bool + public function hasPropertyFetchReturn(ClassMethod $classMethod, string $propertyName) : bool { $stmts = (array) $classMethod->stmts; if (\count($stmts) !== 1) { @@ -35,4 +38,34 @@ final class ClassMethodAndPropertyAnalyzer } return $this->nodeNameResolver->isName($return->expr, $propertyName); } + public function hasOnlyPropertyAssign(ClassMethod $classMethod, string $propertyName) : bool + { + $stmts = (array) $classMethod->stmts; + if (\count($stmts) !== 1) { + return \false; + } + $onlyClassMethodStmt = $stmts[0] ?? null; + if (!$onlyClassMethodStmt instanceof Expression) { + return \false; + } + if (!$onlyClassMethodStmt->expr instanceof Assign) { + return \false; + } + $assign = $onlyClassMethodStmt->expr; + if (!$assign->expr instanceof Variable) { + return \false; + } + if (!$this->nodeNameResolver->isName($assign->expr, $propertyName)) { + return \false; + } + $assignVar = $assign->var; + if (!$assignVar instanceof PropertyFetch) { + return \false; + } + $propertyFetch = $assignVar; + if (!$this->nodeNameResolver->isName($propertyFetch->var, 'this')) { + return \false; + } + return $this->nodeNameResolver->isName($propertyFetch->name, $propertyName); + } } diff --git a/rules/TypeDeclaration/Rector/Class_/PropertyTypeFromStrictSetterGetterRector.php b/rules/TypeDeclaration/Rector/Class_/PropertyTypeFromStrictSetterGetterRector.php new file mode 100644 index 00000000000..e61e874218b --- /dev/null +++ b/rules/TypeDeclaration/Rector/Class_/PropertyTypeFromStrictSetterGetterRector.php @@ -0,0 +1,143 @@ +getterTypeDeclarationPropertyTypeInferer = $getterTypeDeclarationPropertyTypeInferer; + $this->setterTypeDeclarationPropertyTypeInferer = $setterTypeDeclarationPropertyTypeInferer; + } + public function getRuleDefinition() : RuleDefinition + { + return new RuleDefinition('Add property type based on strict setter and getter method', [new CodeSample(<<<'CODE_SAMPLE' +final class SomeClass +{ + private $name = 'John'; + + public function setName(string $name): void + { + $this->name = $name; + } + + public function getName(): string + { + return $this->name; + } +} +CODE_SAMPLE +, <<<'CODE_SAMPLE' +final class SomeClass +{ + private string $name = 'John'; + + public function setName(string $name): void + { + $this->name = $name; + } + + public function getName(): string + { + return $this->name; + } +} +CODE_SAMPLE +)]); + } + /** + * @return array> + */ + public function getNodeTypes() : array + { + return [Class_::class]; + } + /** + * @param Class_ $node + */ + public function refactor(Node $node) : ?Node + { + $hasChanged = \false; + foreach ($node->getProperties() as $property) { + if ($property->type instanceof Node) { + continue; + } + if (!$property->isPrivate()) { + continue; + } + $getterSetterPropertyType = $this->matchGetterSetterIdenticalType($property, $node); + if (!$getterSetterPropertyType instanceof Type) { + continue; + } + if (!$this->isDefaultExprTypeCompatible($property, $getterSetterPropertyType)) { + continue; + } + $propertyTypeDclaration = $this->staticTypeMapper->mapPHPStanTypeToPhpParserNode($getterSetterPropertyType, TypeKind::PROPERTY); + if (!$propertyTypeDclaration instanceof Node) { + continue; + } + $property->type = $propertyTypeDclaration; + $hasChanged = \true; + } + if ($hasChanged) { + return $node; + } + return null; + } + public function provideMinPhpVersion() : int + { + return PhpVersionFeature::TYPED_PROPERTIES; + } + private function matchGetterSetterIdenticalType(Property $property, Class_ $class) : ?Type + { + $getterBasedStrictType = $this->getterTypeDeclarationPropertyTypeInferer->inferProperty($property, $class); + if (!$getterBasedStrictType instanceof Type) { + return null; + } + $setterBasedStrictType = $this->setterTypeDeclarationPropertyTypeInferer->inferProperty($property, $class); + if (!$setterBasedStrictType instanceof Type) { + return null; + } + if (!$getterBasedStrictType->equals($setterBasedStrictType)) { + return null; + } + return $getterBasedStrictType; + } + private function isDefaultExprTypeCompatible(Property $property, Type $getterSetterPropertyType) : bool + { + $defaultExpr = $property->props[0]->default ?? null; + // make sure default value is not a conflicting type + if (!$defaultExpr instanceof Node) { + // no value = no problem :) + return \true; + } + $defaultExprType = $this->staticTypeMapper->mapPhpParserNodePHPStanType($defaultExpr); + return $defaultExprType->equals($getterSetterPropertyType); + } +} diff --git a/rules/TypeDeclaration/Rector/Property/TypedPropertyFromStrictGetterMethodReturnTypeRector.php b/rules/TypeDeclaration/Rector/Property/TypedPropertyFromStrictGetterMethodReturnTypeRector.php index 63170e22828..8e83b927446 100644 --- a/rules/TypeDeclaration/Rector/Property/TypedPropertyFromStrictGetterMethodReturnTypeRector.php +++ b/rules/TypeDeclaration/Rector/Property/TypedPropertyFromStrictGetterMethodReturnTypeRector.php @@ -89,7 +89,7 @@ CODE_SAMPLE if ($this->shouldSkipProperty($property, $node)) { continue; } - $getterReturnType = $this->getterTypeDeclarationPropertyTypeInferer->inferProperty($property); + $getterReturnType = $this->getterTypeDeclarationPropertyTypeInferer->inferProperty($property, $node); if (!$getterReturnType instanceof Type) { continue; } diff --git a/rules/TypeDeclaration/TypeInferer/PropertyTypeInferer/GetterTypeDeclarationPropertyTypeInferer.php b/rules/TypeDeclaration/TypeInferer/PropertyTypeInferer/GetterTypeDeclarationPropertyTypeInferer.php index ccd5dbbc20a..a56ea5e2b4c 100644 --- a/rules/TypeDeclaration/TypeInferer/PropertyTypeInferer/GetterTypeDeclarationPropertyTypeInferer.php +++ b/rules/TypeDeclaration/TypeInferer/PropertyTypeInferer/GetterTypeDeclarationPropertyTypeInferer.php @@ -4,7 +4,6 @@ declare (strict_types=1); namespace Rector\TypeDeclaration\TypeInferer\PropertyTypeInferer; use PhpParser\Node\Stmt\Class_; -use PhpParser\Node\Stmt\ClassLike; use PhpParser\Node\Stmt\Property; use PHPStan\Type\MixedType; use PHPStan\Type\Type; @@ -29,29 +28,18 @@ final class GetterTypeDeclarationPropertyTypeInferer * @var \Rector\NodeNameResolver\NodeNameResolver */ private $nodeNameResolver; - /** - * @readonly - * @var \Rector\Core\PhpParser\Node\BetterNodeFinder - */ - private $betterNodeFinder; - public function __construct(FunctionLikeReturnTypeResolver $functionLikeReturnTypeResolver, ClassMethodAndPropertyAnalyzer $classMethodAndPropertyAnalyzer, NodeNameResolver $nodeNameResolver, BetterNodeFinder $betterNodeFinder) + public function __construct(FunctionLikeReturnTypeResolver $functionLikeReturnTypeResolver, ClassMethodAndPropertyAnalyzer $classMethodAndPropertyAnalyzer, NodeNameResolver $nodeNameResolver) { $this->functionLikeReturnTypeResolver = $functionLikeReturnTypeResolver; $this->classMethodAndPropertyAnalyzer = $classMethodAndPropertyAnalyzer; $this->nodeNameResolver = $nodeNameResolver; - $this->betterNodeFinder = $betterNodeFinder; } - public function inferProperty(Property $property) : ?Type + public function inferProperty(Property $property, Class_ $class) : ?Type { - $classLike = $this->betterNodeFinder->findParentType($property, ClassLike::class); - if (!$classLike instanceof Class_) { - // anonymous class - return null; - } /** @var string $propertyName */ $propertyName = $this->nodeNameResolver->getName($property); - foreach ($classLike->getMethods() as $classMethod) { - if (!$this->classMethodAndPropertyAnalyzer->hasClassMethodOnlyStatementReturnOfPropertyFetch($classMethod, $propertyName)) { + foreach ($class->getMethods() as $classMethod) { + if (!$this->classMethodAndPropertyAnalyzer->hasPropertyFetchReturn($classMethod, $propertyName)) { continue; } $returnType = $this->functionLikeReturnTypeResolver->resolveFunctionLikeReturnTypeToPHPStanType($classMethod); diff --git a/rules/TypeDeclaration/TypeInferer/PropertyTypeInferer/SetterTypeDeclarationPropertyTypeInferer.php b/rules/TypeDeclaration/TypeInferer/PropertyTypeInferer/SetterTypeDeclarationPropertyTypeInferer.php new file mode 100644 index 00000000000..82751ec5eb5 --- /dev/null +++ b/rules/TypeDeclaration/TypeInferer/PropertyTypeInferer/SetterTypeDeclarationPropertyTypeInferer.php @@ -0,0 +1,60 @@ +classMethodAndPropertyAnalyzer = $classMethodAndPropertyAnalyzer; + $this->nodeNameResolver = $nodeNameResolver; + $this->staticTypeMapper = $staticTypeMapper; + } + public function inferProperty(Property $property, Class_ $class) : ?Type + { + /** @var string $propertyName */ + $propertyName = $this->nodeNameResolver->getName($property); + foreach ($class->getMethods() as $classMethod) { + if (!$this->classMethodAndPropertyAnalyzer->hasOnlyPropertyAssign($classMethod, $propertyName)) { + continue; + } + $paramTypeNode = $classMethod->params[0]->type ?? null; + if (!$paramTypeNode instanceof Node) { + return null; + } + $paramType = $this->staticTypeMapper->mapPhpParserNodePHPStanType($paramTypeNode); + // let PhpDoc solve that later for more precise type + if ($paramType->isArray()->yes()) { + return new MixedType(); + } + if (!$paramType instanceof MixedType) { + return $paramType; + } + } + return null; + } +} diff --git a/src/Application/VersionResolver.php b/src/Application/VersionResolver.php index 6f4d1a90e0b..a3486c630bb 100644 --- a/src/Application/VersionResolver.php +++ b/src/Application/VersionResolver.php @@ -19,12 +19,12 @@ final class VersionResolver * @api * @var string */ - public const PACKAGE_VERSION = '3555ee38b86510be3f9ccb35fbcc8ac080b02b70'; + public const PACKAGE_VERSION = '9e321a11ac21440a33abef87add34945a1490b8f'; /** * @api * @var string */ - public const RELEASE_DATE = '2023-01-28 16:25:02'; + public const RELEASE_DATE = '2023-01-28 16:15:21'; /** * @var int */ diff --git a/vendor/autoload.php b/vendor/autoload.php index f29752ce4a4..fd30d5fefe7 100644 --- a/vendor/autoload.php +++ b/vendor/autoload.php @@ -22,4 +22,4 @@ if (PHP_VERSION_ID < 50600) { require_once __DIR__ . '/composer/autoload_real.php'; -return ComposerAutoloaderInit616801712b488d000f4f43376ec7e0fb::getLoader(); +return ComposerAutoloaderInit0882b32a2fe25828ad06422731cb8c5b::getLoader(); diff --git a/vendor/composer/autoload_classmap.php b/vendor/composer/autoload_classmap.php index 5267ec534d2..6e535924a7e 100644 --- a/vendor/composer/autoload_classmap.php +++ b/vendor/composer/autoload_classmap.php @@ -2767,6 +2767,7 @@ return array( 'Rector\\TypeDeclaration\\Rector\\ClassMethod\\ReturnTypeFromStrictNewArrayRector' => $baseDir . '/rules/TypeDeclaration/Rector/ClassMethod/ReturnTypeFromStrictNewArrayRector.php', 'Rector\\TypeDeclaration\\Rector\\ClassMethod\\ReturnTypeFromStrictTypedCallRector' => $baseDir . '/rules/TypeDeclaration/Rector/ClassMethod/ReturnTypeFromStrictTypedCallRector.php', 'Rector\\TypeDeclaration\\Rector\\ClassMethod\\ReturnTypeFromStrictTypedPropertyRector' => $baseDir . '/rules/TypeDeclaration/Rector/ClassMethod/ReturnTypeFromStrictTypedPropertyRector.php', + 'Rector\\TypeDeclaration\\Rector\\Class_\\PropertyTypeFromStrictSetterGetterRector' => $baseDir . '/rules/TypeDeclaration/Rector/Class_/PropertyTypeFromStrictSetterGetterRector.php', 'Rector\\TypeDeclaration\\Rector\\Closure\\AddClosureReturnTypeRector' => $baseDir . '/rules/TypeDeclaration/Rector/Closure/AddClosureReturnTypeRector.php', 'Rector\\TypeDeclaration\\Rector\\Empty_\\EmptyOnNullableObjectToInstanceOfRector' => $baseDir . '/rules/TypeDeclaration/Rector/Empty_/EmptyOnNullableObjectToInstanceOfRector.php', 'Rector\\TypeDeclaration\\Rector\\FunctionLike\\AddParamTypeSplFixedArrayRector' => $baseDir . '/rules/TypeDeclaration/Rector/FunctionLike/AddParamTypeSplFixedArrayRector.php', @@ -2789,6 +2790,7 @@ return array( 'Rector\\TypeDeclaration\\TypeInferer\\AssignToPropertyTypeInferer' => $baseDir . '/rules/TypeDeclaration/TypeInferer/AssignToPropertyTypeInferer.php', 'Rector\\TypeDeclaration\\TypeInferer\\PropertyTypeInferer\\AllAssignNodePropertyTypeInferer' => $baseDir . '/rules/TypeDeclaration/TypeInferer/PropertyTypeInferer/AllAssignNodePropertyTypeInferer.php', 'Rector\\TypeDeclaration\\TypeInferer\\PropertyTypeInferer\\GetterTypeDeclarationPropertyTypeInferer' => $baseDir . '/rules/TypeDeclaration/TypeInferer/PropertyTypeInferer/GetterTypeDeclarationPropertyTypeInferer.php', + 'Rector\\TypeDeclaration\\TypeInferer\\PropertyTypeInferer\\SetterTypeDeclarationPropertyTypeInferer' => $baseDir . '/rules/TypeDeclaration/TypeInferer/PropertyTypeInferer/SetterTypeDeclarationPropertyTypeInferer.php', 'Rector\\TypeDeclaration\\TypeInferer\\PropertyTypeInferer\\TrustedClassMethodPropertyTypeInferer' => $baseDir . '/rules/TypeDeclaration/TypeInferer/PropertyTypeInferer/TrustedClassMethodPropertyTypeInferer.php', 'Rector\\TypeDeclaration\\TypeInferer\\ReturnTypeInferer' => $baseDir . '/rules/TypeDeclaration/TypeInferer/ReturnTypeInferer.php', 'Rector\\TypeDeclaration\\TypeInferer\\ReturnTypeInferer\\ReturnedNodesReturnTypeInfererTypeInferer' => $baseDir . '/rules/TypeDeclaration/TypeInferer/ReturnTypeInferer/ReturnedNodesReturnTypeInfererTypeInferer.php', diff --git a/vendor/composer/autoload_real.php b/vendor/composer/autoload_real.php index 16dd8f4095d..a835b29e3a5 100644 --- a/vendor/composer/autoload_real.php +++ b/vendor/composer/autoload_real.php @@ -2,7 +2,7 @@ // autoload_real.php @generated by Composer -class ComposerAutoloaderInit616801712b488d000f4f43376ec7e0fb +class ComposerAutoloaderInit0882b32a2fe25828ad06422731cb8c5b { private static $loader; @@ -22,17 +22,17 @@ class ComposerAutoloaderInit616801712b488d000f4f43376ec7e0fb return self::$loader; } - spl_autoload_register(array('ComposerAutoloaderInit616801712b488d000f4f43376ec7e0fb', 'loadClassLoader'), true, true); + spl_autoload_register(array('ComposerAutoloaderInit0882b32a2fe25828ad06422731cb8c5b', 'loadClassLoader'), true, true); self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__)); - spl_autoload_unregister(array('ComposerAutoloaderInit616801712b488d000f4f43376ec7e0fb', 'loadClassLoader')); + spl_autoload_unregister(array('ComposerAutoloaderInit0882b32a2fe25828ad06422731cb8c5b', 'loadClassLoader')); require __DIR__ . '/autoload_static.php'; - call_user_func(\Composer\Autoload\ComposerStaticInit616801712b488d000f4f43376ec7e0fb::getInitializer($loader)); + call_user_func(\Composer\Autoload\ComposerStaticInit0882b32a2fe25828ad06422731cb8c5b::getInitializer($loader)); $loader->setClassMapAuthoritative(true); $loader->register(true); - $filesToLoad = \Composer\Autoload\ComposerStaticInit616801712b488d000f4f43376ec7e0fb::$files; + $filesToLoad = \Composer\Autoload\ComposerStaticInit0882b32a2fe25828ad06422731cb8c5b::$files; $requireFile = static function ($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 75f2f61fd0b..f85b4a3e123 100644 --- a/vendor/composer/autoload_static.php +++ b/vendor/composer/autoload_static.php @@ -4,7 +4,7 @@ namespace Composer\Autoload; -class ComposerStaticInit616801712b488d000f4f43376ec7e0fb +class ComposerStaticInit0882b32a2fe25828ad06422731cb8c5b { public static $files = array ( 'ad155f8f1cf0d418fe49e248db8c661b' => __DIR__ . '/..' . '/react/promise/src/functions_include.php', @@ -3012,6 +3012,7 @@ class ComposerStaticInit616801712b488d000f4f43376ec7e0fb 'Rector\\TypeDeclaration\\Rector\\ClassMethod\\ReturnTypeFromStrictNewArrayRector' => __DIR__ . '/../..' . '/rules/TypeDeclaration/Rector/ClassMethod/ReturnTypeFromStrictNewArrayRector.php', 'Rector\\TypeDeclaration\\Rector\\ClassMethod\\ReturnTypeFromStrictTypedCallRector' => __DIR__ . '/../..' . '/rules/TypeDeclaration/Rector/ClassMethod/ReturnTypeFromStrictTypedCallRector.php', 'Rector\\TypeDeclaration\\Rector\\ClassMethod\\ReturnTypeFromStrictTypedPropertyRector' => __DIR__ . '/../..' . '/rules/TypeDeclaration/Rector/ClassMethod/ReturnTypeFromStrictTypedPropertyRector.php', + 'Rector\\TypeDeclaration\\Rector\\Class_\\PropertyTypeFromStrictSetterGetterRector' => __DIR__ . '/../..' . '/rules/TypeDeclaration/Rector/Class_/PropertyTypeFromStrictSetterGetterRector.php', 'Rector\\TypeDeclaration\\Rector\\Closure\\AddClosureReturnTypeRector' => __DIR__ . '/../..' . '/rules/TypeDeclaration/Rector/Closure/AddClosureReturnTypeRector.php', 'Rector\\TypeDeclaration\\Rector\\Empty_\\EmptyOnNullableObjectToInstanceOfRector' => __DIR__ . '/../..' . '/rules/TypeDeclaration/Rector/Empty_/EmptyOnNullableObjectToInstanceOfRector.php', 'Rector\\TypeDeclaration\\Rector\\FunctionLike\\AddParamTypeSplFixedArrayRector' => __DIR__ . '/../..' . '/rules/TypeDeclaration/Rector/FunctionLike/AddParamTypeSplFixedArrayRector.php', @@ -3034,6 +3035,7 @@ class ComposerStaticInit616801712b488d000f4f43376ec7e0fb 'Rector\\TypeDeclaration\\TypeInferer\\AssignToPropertyTypeInferer' => __DIR__ . '/../..' . '/rules/TypeDeclaration/TypeInferer/AssignToPropertyTypeInferer.php', 'Rector\\TypeDeclaration\\TypeInferer\\PropertyTypeInferer\\AllAssignNodePropertyTypeInferer' => __DIR__ . '/../..' . '/rules/TypeDeclaration/TypeInferer/PropertyTypeInferer/AllAssignNodePropertyTypeInferer.php', 'Rector\\TypeDeclaration\\TypeInferer\\PropertyTypeInferer\\GetterTypeDeclarationPropertyTypeInferer' => __DIR__ . '/../..' . '/rules/TypeDeclaration/TypeInferer/PropertyTypeInferer/GetterTypeDeclarationPropertyTypeInferer.php', + 'Rector\\TypeDeclaration\\TypeInferer\\PropertyTypeInferer\\SetterTypeDeclarationPropertyTypeInferer' => __DIR__ . '/../..' . '/rules/TypeDeclaration/TypeInferer/PropertyTypeInferer/SetterTypeDeclarationPropertyTypeInferer.php', 'Rector\\TypeDeclaration\\TypeInferer\\PropertyTypeInferer\\TrustedClassMethodPropertyTypeInferer' => __DIR__ . '/../..' . '/rules/TypeDeclaration/TypeInferer/PropertyTypeInferer/TrustedClassMethodPropertyTypeInferer.php', 'Rector\\TypeDeclaration\\TypeInferer\\ReturnTypeInferer' => __DIR__ . '/../..' . '/rules/TypeDeclaration/TypeInferer/ReturnTypeInferer.php', 'Rector\\TypeDeclaration\\TypeInferer\\ReturnTypeInferer\\ReturnedNodesReturnTypeInfererTypeInferer' => __DIR__ . '/../..' . '/rules/TypeDeclaration/TypeInferer/ReturnTypeInferer/ReturnedNodesReturnTypeInfererTypeInferer.php', @@ -3078,9 +3080,9 @@ class ComposerStaticInit616801712b488d000f4f43376ec7e0fb public static function getInitializer(ClassLoader $loader) { return \Closure::bind(function () use ($loader) { - $loader->prefixLengthsPsr4 = ComposerStaticInit616801712b488d000f4f43376ec7e0fb::$prefixLengthsPsr4; - $loader->prefixDirsPsr4 = ComposerStaticInit616801712b488d000f4f43376ec7e0fb::$prefixDirsPsr4; - $loader->classMap = ComposerStaticInit616801712b488d000f4f43376ec7e0fb::$classMap; + $loader->prefixLengthsPsr4 = ComposerStaticInit0882b32a2fe25828ad06422731cb8c5b::$prefixLengthsPsr4; + $loader->prefixDirsPsr4 = ComposerStaticInit0882b32a2fe25828ad06422731cb8c5b::$prefixDirsPsr4; + $loader->classMap = ComposerStaticInit0882b32a2fe25828ad06422731cb8c5b::$classMap; }, null, ClassLoader::class); } diff --git a/vendor/composer/installed.json b/vendor/composer/installed.json index d8c2bef560a..7104168004d 100644 --- a/vendor/composer/installed.json +++ b/vendor/composer/installed.json @@ -3041,21 +3041,21 @@ }, { "name": "symplify\/easy-parallel", - "version": "11.1.24", - "version_normalized": "11.1.24.0", + "version": "11.1.25", + "version_normalized": "11.1.25.0", "source": { "type": "git", "url": "https:\/\/github.com\/symplify\/easy-parallel.git", - "reference": "1a4cb5a7e877257591d41a97384b18754a301e61" + "reference": "9df48fbeafe281fdc3a77f0308e29ce44d9af2c4" }, "dist": { "type": "zip", - "url": "https:\/\/api.github.com\/repos\/symplify\/easy-parallel\/zipball\/1a4cb5a7e877257591d41a97384b18754a301e61", - "reference": "1a4cb5a7e877257591d41a97384b18754a301e61", + "url": "https:\/\/api.github.com\/repos\/symplify\/easy-parallel\/zipball\/9df48fbeafe281fdc3a77f0308e29ce44d9af2c4", + "reference": "9df48fbeafe281fdc3a77f0308e29ce44d9af2c4", "shasum": "" }, "require": { - "clue\/ndjson-react": "^1.2", + "clue\/ndjson-react": "^1.3", "fidry\/cpu-core-counter": "^0.4.0", "php": ">=8.1", "react\/child-process": "^0.6.5", @@ -3064,29 +3064,27 @@ "symfony\/console": "^6.2" }, "conflict": { - "symplify\/autowire-array-parameter": "<11.1.24", + "symplify\/autowire-array-parameter": "<11.1.25", "symplify\/coding-standard": "<11.1.24", "symplify\/config-transformer": "<11.1.24", "symplify\/easy-ci": "<11.1.24", - "symplify\/easy-coding-standard": "<11.1.24", - "symplify\/easy-testing": "<11.1.24", + "symplify\/easy-testing": "<11.1.25", "symplify\/monorepo-builder": "<11.1.24", - "symplify\/package-builder": "<11.1.24", - "symplify\/php-config-printer": "<11.1.24", - "symplify\/phpstan-extensions": "<11.1.24", + "symplify\/package-builder": "<11.1.25", + "symplify\/php-config-printer": "<11.1.25", + "symplify\/phpstan-extensions": "<11.1.25", "symplify\/phpstan-rules": "<11.1.24", - "symplify\/rule-doc-generator": "<11.1.24", - "symplify\/rule-doc-generator-contracts": "<11.1.24", - "symplify\/smart-file-system": "<11.1.24", - "symplify\/symfony-static-dumper": "<11.1.24", - "symplify\/symplify-kernel": "<11.1.24", - "symplify\/vendor-patches": "<11.1.24" + "symplify\/rule-doc-generator": "<11.1.25", + "symplify\/rule-doc-generator-contracts": "<11.1.25", + "symplify\/smart-file-system": "<11.1.25", + "symplify\/symfony-static-dumper": "<11.1.25", + "symplify\/symplify-kernel": "<11.1.25" }, "require-dev": { "phpunit\/phpunit": "^9.5.26", - "symplify\/package-builder": "^11.1.24" + "symplify\/package-builder": "^11.1.25" }, - "time": "2022-12-23T15:00:54+00:00", + "time": "2023-01-28T10:13:28+00:00", "type": "library", "extra": { "branch-alias": { @@ -3106,23 +3104,23 @@ "description": "Helper package for easier CLI project parallelization", "support": { "issues": "https:\/\/github.com\/symplify\/easy-parallel\/issues", - "source": "https:\/\/github.com\/symplify\/easy-parallel\/tree\/11.1.24" + "source": "https:\/\/github.com\/symplify\/easy-parallel\/tree\/11.1.25" }, "install-path": "..\/symplify\/easy-parallel" }, { "name": "symplify\/rule-doc-generator-contracts", - "version": "11.1.24", - "version_normalized": "11.1.24.0", + "version": "11.1.25", + "version_normalized": "11.1.25.0", "source": { "type": "git", "url": "https:\/\/github.com\/symplify\/rule-doc-generator-contracts.git", - "reference": "822896f06a0cdb8effbf5371459d8fffd24a4eab" + "reference": "05b78c1e832bd2427af080368f2b0d886af360f8" }, "dist": { "type": "zip", - "url": "https:\/\/api.github.com\/repos\/symplify\/rule-doc-generator-contracts\/zipball\/822896f06a0cdb8effbf5371459d8fffd24a4eab", - "reference": "822896f06a0cdb8effbf5371459d8fffd24a4eab", + "url": "https:\/\/api.github.com\/repos\/symplify\/rule-doc-generator-contracts\/zipball\/05b78c1e832bd2427af080368f2b0d886af360f8", + "reference": "05b78c1e832bd2427af080368f2b0d886af360f8", "shasum": "" }, "require": { @@ -3130,25 +3128,23 @@ "php": ">=8.1" }, "conflict": { - "symplify\/autowire-array-parameter": "<11.1.24", + "symplify\/autowire-array-parameter": "<11.1.25", "symplify\/coding-standard": "<11.1.24", "symplify\/config-transformer": "<11.1.24", "symplify\/easy-ci": "<11.1.24", - "symplify\/easy-coding-standard": "<11.1.24", - "symplify\/easy-parallel": "<11.1.24", - "symplify\/easy-testing": "<11.1.24", + "symplify\/easy-parallel": "<11.1.25", + "symplify\/easy-testing": "<11.1.25", "symplify\/monorepo-builder": "<11.1.24", - "symplify\/package-builder": "<11.1.24", - "symplify\/php-config-printer": "<11.1.24", - "symplify\/phpstan-extensions": "<11.1.24", + "symplify\/package-builder": "<11.1.25", + "symplify\/php-config-printer": "<11.1.25", + "symplify\/phpstan-extensions": "<11.1.25", "symplify\/phpstan-rules": "<11.1.24", - "symplify\/rule-doc-generator": "<11.1.24", - "symplify\/smart-file-system": "<11.1.24", - "symplify\/symfony-static-dumper": "<11.1.24", - "symplify\/symplify-kernel": "<11.1.24", - "symplify\/vendor-patches": "<11.1.24" + "symplify\/rule-doc-generator": "<11.1.25", + "symplify\/smart-file-system": "<11.1.25", + "symplify\/symfony-static-dumper": "<11.1.25", + "symplify\/symplify-kernel": "<11.1.25" }, - "time": "2022-12-23T15:01:58+00:00", + "time": "2023-01-28T10:13:31+00:00", "type": "library", "extra": { "branch-alias": { @@ -3167,7 +3163,7 @@ ], "description": "Contracts for production code of RuleDocGenerator", "support": { - "source": "https:\/\/github.com\/symplify\/rule-doc-generator-contracts\/tree\/11.1.24" + "source": "https:\/\/github.com\/symplify\/rule-doc-generator-contracts\/tree\/11.1.25" }, "funding": [ { diff --git a/vendor/composer/installed.php b/vendor/composer/installed.php index 515b4c73f9d..fff60d55de1 100644 --- a/vendor/composer/installed.php +++ b/vendor/composer/installed.php @@ -2,4 +2,4 @@ namespace RectorPrefix202301; -return array('root' => array('name' => 'rector/rector-src', 'pretty_version' => 'dev-main', 'version' => 'dev-main', 'reference' => NULL, 'type' => 'library', 'install_path' => __DIR__ . '/../../', 'aliases' => array(0 => '0.14.x-dev'), 'dev' => \false), 'versions' => array('clue/ndjson-react' => array('pretty_version' => 'v1.3.0', 'version' => '1.3.0.0', 'reference' => '392dc165fce93b5bb5c637b67e59619223c931b0', 'type' => 'library', 'install_path' => __DIR__ . '/../clue/ndjson-react', 'aliases' => array(), 'dev_requirement' => \false), 'composer/pcre' => array('pretty_version' => '3.1.0', 'version' => '3.1.0.0', 'reference' => '4bff79ddd77851fe3cdd11616ed3f92841ba5bd2', 'type' => 'library', 'install_path' => __DIR__ . '/./pcre', 'aliases' => array(), 'dev_requirement' => \false), 'composer/semver' => array('pretty_version' => '3.3.2', 'version' => '3.3.2.0', 'reference' => '3953f23262f2bff1919fc82183ad9acb13ff62c9', 'type' => 'library', 'install_path' => __DIR__ . '/./semver', 'aliases' => array(), 'dev_requirement' => \false), 'composer/xdebug-handler' => array('pretty_version' => '3.0.3', 'version' => '3.0.3.0', 'reference' => 'ced299686f41dce890debac69273b47ffe98a40c', 'type' => 'library', 'install_path' => __DIR__ . '/./xdebug-handler', 'aliases' => array(), 'dev_requirement' => \false), 'doctrine/inflector' => array('pretty_version' => '2.0.6', 'version' => '2.0.6.0', 'reference' => 'd9d313a36c872fd6ee06d9a6cbcf713eaa40f024', 'type' => 'library', 'install_path' => __DIR__ . '/../doctrine/inflector', 'aliases' => array(), 'dev_requirement' => \false), 'evenement/evenement' => array('pretty_version' => 'v3.0.1', 'version' => '3.0.1.0', 'reference' => '531bfb9d15f8aa57454f5f0285b18bec903b8fb7', 'type' => 'library', 'install_path' => __DIR__ . '/../evenement/evenement', 'aliases' => array(), 'dev_requirement' => \false), 'fidry/cpu-core-counter' => array('pretty_version' => '0.4.1', 'version' => '0.4.1.0', 'reference' => '79261cc280aded96d098e1b0e0ba0c4881b432c2', 'type' => 'library', 'install_path' => __DIR__ . '/../fidry/cpu-core-counter', 'aliases' => array(), 'dev_requirement' => \false), 'nette/utils' => array('pretty_version' => 'v3.2.9', 'version' => '3.2.9.0', 'reference' => 'c91bac3470c34b2ecd5400f6e6fdf0b64a836a5c', 'type' => 'library', 'install_path' => __DIR__ . '/../nette/utils', 'aliases' => array(), 'dev_requirement' => \false), 'nikic/php-parser' => array('pretty_version' => 'v4.15.3', 'version' => '4.15.3.0', 'reference' => '570e980a201d8ed0236b0a62ddf2c9cbb2034039', 'type' => 'library', 'install_path' => __DIR__ . '/../nikic/php-parser', 'aliases' => array(), 'dev_requirement' => \false), 'ondram/ci-detector' => array('pretty_version' => '4.1.0', 'version' => '4.1.0.0', 'reference' => '8a4b664e916df82ff26a44709942dfd593fa6f30', 'type' => 'library', 'install_path' => __DIR__ . '/../ondram/ci-detector', 'aliases' => array(), 'dev_requirement' => \false), 'phpstan/phpdoc-parser' => array('pretty_version' => '1.15.3', 'version' => '1.15.3.0', 'reference' => '61800f71a5526081d1b5633766aa88341f1ade76', 'type' => 'library', 'install_path' => __DIR__ . '/../phpstan/phpdoc-parser', 'aliases' => array(), 'dev_requirement' => \false), 'phpstan/phpstan' => array('pretty_version' => '1.9.14', 'version' => '1.9.14.0', 'reference' => 'e5fcc96289cf737304286a9b505fbed091f02e58', 'type' => 'library', 'install_path' => __DIR__ . '/../phpstan/phpstan', 'aliases' => array(), 'dev_requirement' => \false), 'phpstan/phpstan-phpunit' => array('pretty_version' => '1.3.3', 'version' => '1.3.3.0', 'reference' => '54a24bd23e9e80ee918cdc24f909d376c2e273f7', 'type' => 'phpstan-extension', 'install_path' => __DIR__ . '/../phpstan/phpstan-phpunit', 'aliases' => array(), 'dev_requirement' => \false), 'psr/cache' => array('pretty_version' => '3.0.0', 'version' => '3.0.0.0', 'reference' => 'aa5030cfa5405eccfdcb1083ce040c2cb8d253bf', 'type' => 'library', 'install_path' => __DIR__ . '/../psr/cache', 'aliases' => array(), 'dev_requirement' => \false), 'psr/container' => array('pretty_version' => '2.0.2', 'version' => '2.0.2.0', 'reference' => 'c71ecc56dfe541dbd90c5360474fbc405f8d5963', 'type' => 'library', 'install_path' => __DIR__ . '/../psr/container', 'aliases' => array(), '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', 'reference' => 'dbefd12671e8a14ec7f180cab83036ed26714bb0', 'type' => 'library', 'install_path' => __DIR__ . '/../psr/event-dispatcher', 'aliases' => array(), 'dev_requirement' => \false), 'psr/log' => array('pretty_version' => '3.0.0', 'version' => '3.0.0.0', 'reference' => 'fe5ea303b0887d5caefd3d431c3e61ad47037001', 'type' => 'library', 'install_path' => __DIR__ . '/../psr/log', 'aliases' => array(), '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.2.0', 'version' => '1.2.0.0', 'reference' => 'd47c472b64aa5608225f47965a484b75c7817d5b', 'type' => 'library', 'install_path' => __DIR__ . '/../react/cache', 'aliases' => array(), 'dev_requirement' => \false), 'react/child-process' => array('pretty_version' => 'v0.6.5', 'version' => '0.6.5.0', 'reference' => 'e71eb1aa55f057c7a4a0d08d06b0b0a484bead43', 'type' => 'library', 'install_path' => __DIR__ . '/../react/child-process', 'aliases' => array(), 'dev_requirement' => \false), 'react/dns' => array('pretty_version' => 'v1.10.0', 'version' => '1.10.0.0', 'reference' => 'a5427e7dfa47713e438016905605819d101f238c', 'type' => 'library', 'install_path' => __DIR__ . '/../react/dns', 'aliases' => array(), 'dev_requirement' => \false), 'react/event-loop' => array('pretty_version' => 'v1.3.0', 'version' => '1.3.0.0', 'reference' => '187fb56f46d424afb6ec4ad089269c72eec2e137', 'type' => 'library', 'install_path' => __DIR__ . '/../react/event-loop', 'aliases' => array(), 'dev_requirement' => \false), 'react/promise' => array('pretty_version' => 'v2.9.0', 'version' => '2.9.0.0', 'reference' => '234f8fd1023c9158e2314fa9d7d0e6a83db42910', 'type' => 'library', 'install_path' => __DIR__ . '/../react/promise', 'aliases' => array(), 'dev_requirement' => \false), 'react/promise-timer' => array('pretty_version' => 'v1.9.0', 'version' => '1.9.0.0', 'reference' => 'aa7a73c74b8d8c0f622f5982ff7b0351bc29e495', 'type' => 'library', 'install_path' => __DIR__ . '/../react/promise-timer', 'aliases' => array(), 'dev_requirement' => \false), 'react/socket' => array('pretty_version' => 'v1.12.0', 'version' => '1.12.0.0', 'reference' => '81e1b4d7f5450ebd8d2e9a95bb008bb15ca95a7b', 'type' => 'library', 'install_path' => __DIR__ . '/../react/socket', 'aliases' => array(), 'dev_requirement' => \false), 'react/stream' => array('pretty_version' => 'v1.2.0', 'version' => '1.2.0.0', 'reference' => '7a423506ee1903e89f1e08ec5f0ed430ff784ae9', 'type' => 'library', 'install_path' => __DIR__ . '/../react/stream', 'aliases' => array(), 'dev_requirement' => \false), 'rector/extension-installer' => array('pretty_version' => '0.11.2', 'version' => '0.11.2.0', 'reference' => '05544e9b195863b8571ae2a3b903cbec7fa062e0', 'type' => 'composer-plugin', 'install_path' => __DIR__ . '/../rector/extension-installer', 'aliases' => array(), 'dev_requirement' => \false), 'rector/rector' => array('dev_requirement' => \false, 'replaced' => array(0 => '0.14.x-dev', 1 => 'dev-main')), 'rector/rector-doctrine' => array('pretty_version' => 'dev-main', 'version' => 'dev-main', 'reference' => 'f0c3c11bedd1030529176625a0f24c8688a60fc3', 'type' => 'rector-extension', 'install_path' => __DIR__ . '/../rector/rector-doctrine', 'aliases' => array(0 => '0.11.x-dev'), 'dev_requirement' => \false), 'rector/rector-downgrade-php' => array('pretty_version' => 'dev-main', 'version' => 'dev-main', 'reference' => '215026f1e63415188b6ac772af65976d8f1af5a7', 'type' => 'rector-extension', 'install_path' => __DIR__ . '/../rector/rector-downgrade-php', 'aliases' => array(0 => '0.11.x-dev'), 'dev_requirement' => \false), 'rector/rector-php-parser' => array('pretty_version' => 'dev-main', 'version' => 'dev-main', 'reference' => '9ea5f622c1ed47addb197ded25a6bac39c39c596', 'type' => 'rector-extension', 'install_path' => __DIR__ . '/../rector/rector-php-parser', 'aliases' => array(0 => '0.11.x-dev'), 'dev_requirement' => \false), 'rector/rector-phpunit' => array('pretty_version' => 'dev-main', 'version' => 'dev-main', 'reference' => '2cfc0a554e0e5e56713a824f66d2322e7bd6eca7', 'type' => 'rector-extension', 'install_path' => __DIR__ . '/../rector/rector-phpunit', 'aliases' => array(0 => '0.11.x-dev'), 'dev_requirement' => \false), 'rector/rector-src' => array('pretty_version' => 'dev-main', 'version' => 'dev-main', 'reference' => NULL, 'type' => 'library', 'install_path' => __DIR__ . '/../../', 'aliases' => array(0 => '0.14.x-dev'), 'dev_requirement' => \false), 'rector/rector-symfony' => array('pretty_version' => 'dev-main', 'version' => 'dev-main', 'reference' => '368c1fa4a386863ef35da60aabbed12c367fe98c', 'type' => 'rector-extension', 'install_path' => __DIR__ . '/../rector/rector-symfony', 'aliases' => array(0 => '0.11.x-dev'), 'dev_requirement' => \false), 'sebastian/diff' => array('pretty_version' => '4.0.4', 'version' => '4.0.4.0', 'reference' => '3461e3fccc7cfdfc2720be910d3bd73c69be590d', 'type' => 'library', 'install_path' => __DIR__ . '/../sebastian/diff', 'aliases' => array(), 'dev_requirement' => \false), 'symfony/cache-contracts' => array('dev_requirement' => \false, 'replaced' => array(0 => 'v3.2.0')), 'symfony/config' => array('pretty_version' => 'v6.2.5', 'version' => '6.2.5.0', 'reference' => 'f31b3c78a3650157188a240695e688d6a182aa91', 'type' => 'library', 'install_path' => __DIR__ . '/../symfony/config', 'aliases' => array(), 'dev_requirement' => \false), 'symfony/console' => array('pretty_version' => 'v6.2.5', 'version' => '6.2.5.0', 'reference' => '3e294254f2191762c1d137aed4b94e966965e985', 'type' => 'library', 'install_path' => __DIR__ . '/../symfony/console', 'aliases' => array(), 'dev_requirement' => \false), 'symfony/contracts' => array('pretty_version' => 'v3.2.0', 'version' => '3.2.0.0', 'reference' => 'c47da22960a1eb5e39c1ad84120734e680265610', 'type' => 'library', 'install_path' => __DIR__ . '/../symfony/contracts', 'aliases' => array(), 'dev_requirement' => \false), 'symfony/dependency-injection' => array('pretty_version' => 'v6.1.11', 'version' => '6.1.11.0', 'reference' => '6ff7b7d4ae33764c3fa100463e431465a0a1551c', 'type' => 'library', 'install_path' => __DIR__ . '/../symfony/dependency-injection', 'aliases' => array(), 'dev_requirement' => \false), 'symfony/deprecation-contracts' => array('dev_requirement' => \false, 'replaced' => array(0 => 'v3.2.0')), 'symfony/event-dispatcher-contracts' => array('dev_requirement' => \false, 'replaced' => array(0 => 'v3.2.0')), 'symfony/filesystem' => array('pretty_version' => 'v6.2.5', 'version' => '6.2.5.0', 'reference' => 'e59e8a4006afd7f5654786a83b4fcb8da98f4593', 'type' => 'library', 'install_path' => __DIR__ . '/../symfony/filesystem', 'aliases' => array(), 'dev_requirement' => \false), 'symfony/finder' => array('pretty_version' => 'v6.2.5', 'version' => '6.2.5.0', 'reference' => 'c90dc446976a612e3312a97a6ec0069ab0c2099c', 'type' => 'library', 'install_path' => __DIR__ . '/../symfony/finder', 'aliases' => array(), 'dev_requirement' => \false), 'symfony/http-client-contracts' => array('dev_requirement' => \false, 'replaced' => array(0 => 'v3.2.0')), 'symfony/polyfill-ctype' => array('dev_requirement' => \false, 'replaced' => array(0 => '*')), 'symfony/polyfill-intl-grapheme' => array('dev_requirement' => \false, 'replaced' => array(0 => '*')), 'symfony/polyfill-intl-normalizer' => array('pretty_version' => 'v1.27.0', 'version' => '1.27.0.0', 'reference' => '19bd1e4fcd5b91116f14d8533c57831ed00571b6', 'type' => 'library', 'install_path' => __DIR__ . '/../symfony/polyfill-intl-normalizer', 'aliases' => array(), 'dev_requirement' => \false), 'symfony/polyfill-mbstring' => array('pretty_version' => 'v1.27.0', 'version' => '1.27.0.0', 'reference' => '8ad114f6b39e2c98a8b0e3bd907732c207c2b534', 'type' => 'library', 'install_path' => __DIR__ . '/../symfony/polyfill-mbstring', 'aliases' => array(), 'dev_requirement' => \false), 'symfony/service-contracts' => array('dev_requirement' => \false, 'replaced' => array(0 => 'v3.2.0')), 'symfony/service-implementation' => array('dev_requirement' => \false, 'provided' => array(0 => '1.1|2.0|3.0')), 'symfony/string' => array('pretty_version' => 'v6.2.5', 'version' => '6.2.5.0', 'reference' => 'b2dac0fa27b1ac0f9c0c0b23b43977f12308d0b0', 'type' => 'library', 'install_path' => __DIR__ . '/../symfony/string', 'aliases' => array(), 'dev_requirement' => \false), 'symfony/translation-contracts' => array('dev_requirement' => \false, 'replaced' => array(0 => 'v3.2.0')), 'symplify/easy-parallel' => array('pretty_version' => '11.1.24', 'version' => '11.1.24.0', 'reference' => '1a4cb5a7e877257591d41a97384b18754a301e61', 'type' => 'library', 'install_path' => __DIR__ . '/../symplify/easy-parallel', 'aliases' => array(), 'dev_requirement' => \false), 'symplify/rule-doc-generator-contracts' => array('pretty_version' => '11.1.24', 'version' => '11.1.24.0', 'reference' => '822896f06a0cdb8effbf5371459d8fffd24a4eab', 'type' => 'library', 'install_path' => __DIR__ . '/../symplify/rule-doc-generator-contracts', 'aliases' => array(), 'dev_requirement' => \false), 'webmozart/assert' => array('pretty_version' => '1.11.0', 'version' => '1.11.0.0', 'reference' => '11cb2199493b2f8a3b53e7f19068fc6aac760991', 'type' => 'library', 'install_path' => __DIR__ . '/../webmozart/assert', 'aliases' => array(), 'dev_requirement' => \false))); +return array('root' => array('name' => 'rector/rector-src', 'pretty_version' => 'dev-main', 'version' => 'dev-main', 'reference' => NULL, 'type' => 'library', 'install_path' => __DIR__ . '/../../', 'aliases' => array(0 => '0.14.x-dev'), 'dev' => \false), 'versions' => array('clue/ndjson-react' => array('pretty_version' => 'v1.3.0', 'version' => '1.3.0.0', 'reference' => '392dc165fce93b5bb5c637b67e59619223c931b0', 'type' => 'library', 'install_path' => __DIR__ . '/../clue/ndjson-react', 'aliases' => array(), 'dev_requirement' => \false), 'composer/pcre' => array('pretty_version' => '3.1.0', 'version' => '3.1.0.0', 'reference' => '4bff79ddd77851fe3cdd11616ed3f92841ba5bd2', 'type' => 'library', 'install_path' => __DIR__ . '/./pcre', 'aliases' => array(), 'dev_requirement' => \false), 'composer/semver' => array('pretty_version' => '3.3.2', 'version' => '3.3.2.0', 'reference' => '3953f23262f2bff1919fc82183ad9acb13ff62c9', 'type' => 'library', 'install_path' => __DIR__ . '/./semver', 'aliases' => array(), 'dev_requirement' => \false), 'composer/xdebug-handler' => array('pretty_version' => '3.0.3', 'version' => '3.0.3.0', 'reference' => 'ced299686f41dce890debac69273b47ffe98a40c', 'type' => 'library', 'install_path' => __DIR__ . '/./xdebug-handler', 'aliases' => array(), 'dev_requirement' => \false), 'doctrine/inflector' => array('pretty_version' => '2.0.6', 'version' => '2.0.6.0', 'reference' => 'd9d313a36c872fd6ee06d9a6cbcf713eaa40f024', 'type' => 'library', 'install_path' => __DIR__ . '/../doctrine/inflector', 'aliases' => array(), 'dev_requirement' => \false), 'evenement/evenement' => array('pretty_version' => 'v3.0.1', 'version' => '3.0.1.0', 'reference' => '531bfb9d15f8aa57454f5f0285b18bec903b8fb7', 'type' => 'library', 'install_path' => __DIR__ . '/../evenement/evenement', 'aliases' => array(), 'dev_requirement' => \false), 'fidry/cpu-core-counter' => array('pretty_version' => '0.4.1', 'version' => '0.4.1.0', 'reference' => '79261cc280aded96d098e1b0e0ba0c4881b432c2', 'type' => 'library', 'install_path' => __DIR__ . '/../fidry/cpu-core-counter', 'aliases' => array(), 'dev_requirement' => \false), 'nette/utils' => array('pretty_version' => 'v3.2.9', 'version' => '3.2.9.0', 'reference' => 'c91bac3470c34b2ecd5400f6e6fdf0b64a836a5c', 'type' => 'library', 'install_path' => __DIR__ . '/../nette/utils', 'aliases' => array(), 'dev_requirement' => \false), 'nikic/php-parser' => array('pretty_version' => 'v4.15.3', 'version' => '4.15.3.0', 'reference' => '570e980a201d8ed0236b0a62ddf2c9cbb2034039', 'type' => 'library', 'install_path' => __DIR__ . '/../nikic/php-parser', 'aliases' => array(), 'dev_requirement' => \false), 'ondram/ci-detector' => array('pretty_version' => '4.1.0', 'version' => '4.1.0.0', 'reference' => '8a4b664e916df82ff26a44709942dfd593fa6f30', 'type' => 'library', 'install_path' => __DIR__ . '/../ondram/ci-detector', 'aliases' => array(), 'dev_requirement' => \false), 'phpstan/phpdoc-parser' => array('pretty_version' => '1.15.3', 'version' => '1.15.3.0', 'reference' => '61800f71a5526081d1b5633766aa88341f1ade76', 'type' => 'library', 'install_path' => __DIR__ . '/../phpstan/phpdoc-parser', 'aliases' => array(), 'dev_requirement' => \false), 'phpstan/phpstan' => array('pretty_version' => '1.9.14', 'version' => '1.9.14.0', 'reference' => 'e5fcc96289cf737304286a9b505fbed091f02e58', 'type' => 'library', 'install_path' => __DIR__ . '/../phpstan/phpstan', 'aliases' => array(), 'dev_requirement' => \false), 'phpstan/phpstan-phpunit' => array('pretty_version' => '1.3.3', 'version' => '1.3.3.0', 'reference' => '54a24bd23e9e80ee918cdc24f909d376c2e273f7', 'type' => 'phpstan-extension', 'install_path' => __DIR__ . '/../phpstan/phpstan-phpunit', 'aliases' => array(), 'dev_requirement' => \false), 'psr/cache' => array('pretty_version' => '3.0.0', 'version' => '3.0.0.0', 'reference' => 'aa5030cfa5405eccfdcb1083ce040c2cb8d253bf', 'type' => 'library', 'install_path' => __DIR__ . '/../psr/cache', 'aliases' => array(), 'dev_requirement' => \false), 'psr/container' => array('pretty_version' => '2.0.2', 'version' => '2.0.2.0', 'reference' => 'c71ecc56dfe541dbd90c5360474fbc405f8d5963', 'type' => 'library', 'install_path' => __DIR__ . '/../psr/container', 'aliases' => array(), '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', 'reference' => 'dbefd12671e8a14ec7f180cab83036ed26714bb0', 'type' => 'library', 'install_path' => __DIR__ . '/../psr/event-dispatcher', 'aliases' => array(), 'dev_requirement' => \false), 'psr/log' => array('pretty_version' => '3.0.0', 'version' => '3.0.0.0', 'reference' => 'fe5ea303b0887d5caefd3d431c3e61ad47037001', 'type' => 'library', 'install_path' => __DIR__ . '/../psr/log', 'aliases' => array(), '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.2.0', 'version' => '1.2.0.0', 'reference' => 'd47c472b64aa5608225f47965a484b75c7817d5b', 'type' => 'library', 'install_path' => __DIR__ . '/../react/cache', 'aliases' => array(), 'dev_requirement' => \false), 'react/child-process' => array('pretty_version' => 'v0.6.5', 'version' => '0.6.5.0', 'reference' => 'e71eb1aa55f057c7a4a0d08d06b0b0a484bead43', 'type' => 'library', 'install_path' => __DIR__ . '/../react/child-process', 'aliases' => array(), 'dev_requirement' => \false), 'react/dns' => array('pretty_version' => 'v1.10.0', 'version' => '1.10.0.0', 'reference' => 'a5427e7dfa47713e438016905605819d101f238c', 'type' => 'library', 'install_path' => __DIR__ . '/../react/dns', 'aliases' => array(), 'dev_requirement' => \false), 'react/event-loop' => array('pretty_version' => 'v1.3.0', 'version' => '1.3.0.0', 'reference' => '187fb56f46d424afb6ec4ad089269c72eec2e137', 'type' => 'library', 'install_path' => __DIR__ . '/../react/event-loop', 'aliases' => array(), 'dev_requirement' => \false), 'react/promise' => array('pretty_version' => 'v2.9.0', 'version' => '2.9.0.0', 'reference' => '234f8fd1023c9158e2314fa9d7d0e6a83db42910', 'type' => 'library', 'install_path' => __DIR__ . '/../react/promise', 'aliases' => array(), 'dev_requirement' => \false), 'react/promise-timer' => array('pretty_version' => 'v1.9.0', 'version' => '1.9.0.0', 'reference' => 'aa7a73c74b8d8c0f622f5982ff7b0351bc29e495', 'type' => 'library', 'install_path' => __DIR__ . '/../react/promise-timer', 'aliases' => array(), 'dev_requirement' => \false), 'react/socket' => array('pretty_version' => 'v1.12.0', 'version' => '1.12.0.0', 'reference' => '81e1b4d7f5450ebd8d2e9a95bb008bb15ca95a7b', 'type' => 'library', 'install_path' => __DIR__ . '/../react/socket', 'aliases' => array(), 'dev_requirement' => \false), 'react/stream' => array('pretty_version' => 'v1.2.0', 'version' => '1.2.0.0', 'reference' => '7a423506ee1903e89f1e08ec5f0ed430ff784ae9', 'type' => 'library', 'install_path' => __DIR__ . '/../react/stream', 'aliases' => array(), 'dev_requirement' => \false), 'rector/extension-installer' => array('pretty_version' => '0.11.2', 'version' => '0.11.2.0', 'reference' => '05544e9b195863b8571ae2a3b903cbec7fa062e0', 'type' => 'composer-plugin', 'install_path' => __DIR__ . '/../rector/extension-installer', 'aliases' => array(), 'dev_requirement' => \false), 'rector/rector' => array('dev_requirement' => \false, 'replaced' => array(0 => '0.14.x-dev', 1 => 'dev-main')), 'rector/rector-doctrine' => array('pretty_version' => 'dev-main', 'version' => 'dev-main', 'reference' => 'f0c3c11bedd1030529176625a0f24c8688a60fc3', 'type' => 'rector-extension', 'install_path' => __DIR__ . '/../rector/rector-doctrine', 'aliases' => array(0 => '0.11.x-dev'), 'dev_requirement' => \false), 'rector/rector-downgrade-php' => array('pretty_version' => 'dev-main', 'version' => 'dev-main', 'reference' => '215026f1e63415188b6ac772af65976d8f1af5a7', 'type' => 'rector-extension', 'install_path' => __DIR__ . '/../rector/rector-downgrade-php', 'aliases' => array(0 => '0.11.x-dev'), 'dev_requirement' => \false), 'rector/rector-php-parser' => array('pretty_version' => 'dev-main', 'version' => 'dev-main', 'reference' => '9ea5f622c1ed47addb197ded25a6bac39c39c596', 'type' => 'rector-extension', 'install_path' => __DIR__ . '/../rector/rector-php-parser', 'aliases' => array(0 => '0.11.x-dev'), 'dev_requirement' => \false), 'rector/rector-phpunit' => array('pretty_version' => 'dev-main', 'version' => 'dev-main', 'reference' => '2cfc0a554e0e5e56713a824f66d2322e7bd6eca7', 'type' => 'rector-extension', 'install_path' => __DIR__ . '/../rector/rector-phpunit', 'aliases' => array(0 => '0.11.x-dev'), 'dev_requirement' => \false), 'rector/rector-src' => array('pretty_version' => 'dev-main', 'version' => 'dev-main', 'reference' => NULL, 'type' => 'library', 'install_path' => __DIR__ . '/../../', 'aliases' => array(0 => '0.14.x-dev'), 'dev_requirement' => \false), 'rector/rector-symfony' => array('pretty_version' => 'dev-main', 'version' => 'dev-main', 'reference' => '368c1fa4a386863ef35da60aabbed12c367fe98c', 'type' => 'rector-extension', 'install_path' => __DIR__ . '/../rector/rector-symfony', 'aliases' => array(0 => '0.11.x-dev'), 'dev_requirement' => \false), 'sebastian/diff' => array('pretty_version' => '4.0.4', 'version' => '4.0.4.0', 'reference' => '3461e3fccc7cfdfc2720be910d3bd73c69be590d', 'type' => 'library', 'install_path' => __DIR__ . '/../sebastian/diff', 'aliases' => array(), 'dev_requirement' => \false), 'symfony/cache-contracts' => array('dev_requirement' => \false, 'replaced' => array(0 => 'v3.2.0')), 'symfony/config' => array('pretty_version' => 'v6.2.5', 'version' => '6.2.5.0', 'reference' => 'f31b3c78a3650157188a240695e688d6a182aa91', 'type' => 'library', 'install_path' => __DIR__ . '/../symfony/config', 'aliases' => array(), 'dev_requirement' => \false), 'symfony/console' => array('pretty_version' => 'v6.2.5', 'version' => '6.2.5.0', 'reference' => '3e294254f2191762c1d137aed4b94e966965e985', 'type' => 'library', 'install_path' => __DIR__ . '/../symfony/console', 'aliases' => array(), 'dev_requirement' => \false), 'symfony/contracts' => array('pretty_version' => 'v3.2.0', 'version' => '3.2.0.0', 'reference' => 'c47da22960a1eb5e39c1ad84120734e680265610', 'type' => 'library', 'install_path' => __DIR__ . '/../symfony/contracts', 'aliases' => array(), 'dev_requirement' => \false), 'symfony/dependency-injection' => array('pretty_version' => 'v6.1.11', 'version' => '6.1.11.0', 'reference' => '6ff7b7d4ae33764c3fa100463e431465a0a1551c', 'type' => 'library', 'install_path' => __DIR__ . '/../symfony/dependency-injection', 'aliases' => array(), 'dev_requirement' => \false), 'symfony/deprecation-contracts' => array('dev_requirement' => \false, 'replaced' => array(0 => 'v3.2.0')), 'symfony/event-dispatcher-contracts' => array('dev_requirement' => \false, 'replaced' => array(0 => 'v3.2.0')), 'symfony/filesystem' => array('pretty_version' => 'v6.2.5', 'version' => '6.2.5.0', 'reference' => 'e59e8a4006afd7f5654786a83b4fcb8da98f4593', 'type' => 'library', 'install_path' => __DIR__ . '/../symfony/filesystem', 'aliases' => array(), 'dev_requirement' => \false), 'symfony/finder' => array('pretty_version' => 'v6.2.5', 'version' => '6.2.5.0', 'reference' => 'c90dc446976a612e3312a97a6ec0069ab0c2099c', 'type' => 'library', 'install_path' => __DIR__ . '/../symfony/finder', 'aliases' => array(), 'dev_requirement' => \false), 'symfony/http-client-contracts' => array('dev_requirement' => \false, 'replaced' => array(0 => 'v3.2.0')), 'symfony/polyfill-ctype' => array('dev_requirement' => \false, 'replaced' => array(0 => '*')), 'symfony/polyfill-intl-grapheme' => array('dev_requirement' => \false, 'replaced' => array(0 => '*')), 'symfony/polyfill-intl-normalizer' => array('pretty_version' => 'v1.27.0', 'version' => '1.27.0.0', 'reference' => '19bd1e4fcd5b91116f14d8533c57831ed00571b6', 'type' => 'library', 'install_path' => __DIR__ . '/../symfony/polyfill-intl-normalizer', 'aliases' => array(), 'dev_requirement' => \false), 'symfony/polyfill-mbstring' => array('pretty_version' => 'v1.27.0', 'version' => '1.27.0.0', 'reference' => '8ad114f6b39e2c98a8b0e3bd907732c207c2b534', 'type' => 'library', 'install_path' => __DIR__ . '/../symfony/polyfill-mbstring', 'aliases' => array(), 'dev_requirement' => \false), 'symfony/service-contracts' => array('dev_requirement' => \false, 'replaced' => array(0 => 'v3.2.0')), 'symfony/service-implementation' => array('dev_requirement' => \false, 'provided' => array(0 => '1.1|2.0|3.0')), 'symfony/string' => array('pretty_version' => 'v6.2.5', 'version' => '6.2.5.0', 'reference' => 'b2dac0fa27b1ac0f9c0c0b23b43977f12308d0b0', 'type' => 'library', 'install_path' => __DIR__ . '/../symfony/string', 'aliases' => array(), 'dev_requirement' => \false), 'symfony/translation-contracts' => array('dev_requirement' => \false, 'replaced' => array(0 => 'v3.2.0')), 'symplify/easy-parallel' => array('pretty_version' => '11.1.25', 'version' => '11.1.25.0', 'reference' => '9df48fbeafe281fdc3a77f0308e29ce44d9af2c4', 'type' => 'library', 'install_path' => __DIR__ . '/../symplify/easy-parallel', 'aliases' => array(), 'dev_requirement' => \false), 'symplify/rule-doc-generator-contracts' => array('pretty_version' => '11.1.25', 'version' => '11.1.25.0', 'reference' => '05b78c1e832bd2427af080368f2b0d886af360f8', 'type' => 'library', 'install_path' => __DIR__ . '/../symplify/rule-doc-generator-contracts', 'aliases' => array(), 'dev_requirement' => \false), 'webmozart/assert' => array('pretty_version' => '1.11.0', 'version' => '1.11.0.0', 'reference' => '11cb2199493b2f8a3b53e7f19068fc6aac760991', 'type' => 'library', 'install_path' => __DIR__ . '/../webmozart/assert', 'aliases' => array(), 'dev_requirement' => \false))); diff --git a/vendor/symplify/easy-parallel/composer.json b/vendor/symplify/easy-parallel/composer.json index 1965f49a2e2..c074b238935 100644 --- a/vendor/symplify/easy-parallel/composer.json +++ b/vendor/symplify/easy-parallel/composer.json @@ -4,7 +4,7 @@ "license": "MIT", "require": { "php": ">=8.1", - "clue\/ndjson-react": "^1.2", + "clue\/ndjson-react": "^1.3", "react\/child-process": "^0.6.5", "react\/event-loop": "^1.3", "react\/socket": "^1.12", @@ -12,7 +12,7 @@ "fidry\/cpu-core-counter": "^0.4.0" }, "require-dev": { - "symplify\/package-builder": "^11.1.24", + "symplify\/package-builder": "^11.1.25", "phpunit\/phpunit": "^9.5.26" }, "autoload": { @@ -35,22 +35,20 @@ }, "conflict": { "symplify\/phpstan-rules": "<11.1.24", - "symplify\/easy-testing": "<11.1.24", - "symplify\/rule-doc-generator-contracts": "<11.1.24", - "symplify\/php-config-printer": "<11.1.24", - "symplify\/autowire-array-parameter": "<11.1.24", - "symplify\/phpstan-extensions": "<11.1.24", - "symplify\/rule-doc-generator": "<11.1.24", - "symplify\/symfony-static-dumper": "<11.1.24", + "symplify\/easy-testing": "<11.1.25", + "symplify\/rule-doc-generator-contracts": "<11.1.25", + "symplify\/php-config-printer": "<11.1.25", + "symplify\/autowire-array-parameter": "<11.1.25", + "symplify\/phpstan-extensions": "<11.1.25", + "symplify\/rule-doc-generator": "<11.1.25", + "symplify\/symfony-static-dumper": "<11.1.25", "symplify\/config-transformer": "<11.1.24", "symplify\/coding-standard": "<11.1.24", - "symplify\/smart-file-system": "<11.1.24", - "symplify\/symplify-kernel": "<11.1.24", - "symplify\/package-builder": "<11.1.24", + "symplify\/smart-file-system": "<11.1.25", + "symplify\/symplify-kernel": "<11.1.25", + "symplify\/package-builder": "<11.1.25", "symplify\/easy-ci": "<11.1.24", - "symplify\/monorepo-builder": "<11.1.24", - "symplify\/vendor-patches": "<11.1.24", - "symplify\/easy-coding-standard": "<11.1.24" + "symplify\/monorepo-builder": "<11.1.24" }, "minimum-stability": "dev", "prefer-stable": true diff --git a/vendor/symplify/easy-parallel/src/CommandLine/WorkerCommandLineFactory.php b/vendor/symplify/easy-parallel/src/CommandLine/WorkerCommandLineFactory.php index 7bd828e5484..fc216796e8e 100644 --- a/vendor/symplify/easy-parallel/src/CommandLine/WorkerCommandLineFactory.php +++ b/vendor/symplify/easy-parallel/src/CommandLine/WorkerCommandLineFactory.php @@ -8,6 +8,7 @@ use RectorPrefix202301\Symfony\Component\Console\Input\InputInterface; use RectorPrefix202301\Symplify\EasyParallel\Exception\ParallelShouldNotHappenException; use RectorPrefix202301\Symplify\EasyParallel\Reflection\CommandFromReflectionFactory; /** + * @api * @see \Symplify\EasyParallel\Tests\CommandLine\WorkerCommandLineFactoryTest */ final class WorkerCommandLineFactory diff --git a/vendor/symplify/easy-parallel/src/CpuCoreCountProvider.php b/vendor/symplify/easy-parallel/src/CpuCoreCountProvider.php index 62bfe61b053..458366d433c 100644 --- a/vendor/symplify/easy-parallel/src/CpuCoreCountProvider.php +++ b/vendor/symplify/easy-parallel/src/CpuCoreCountProvider.php @@ -5,6 +5,9 @@ namespace RectorPrefix202301\Symplify\EasyParallel; use RectorPrefix202301\Fidry\CpuCoreCounter\CpuCoreCounter; use RectorPrefix202301\Fidry\CpuCoreCounter\NumberOfCpuCoreNotFound; +/** + * @api + */ final class CpuCoreCountProvider { /** diff --git a/vendor/symplify/easy-parallel/src/Enum/Action.php b/vendor/symplify/easy-parallel/src/Enum/Action.php index 1db45565089..5b709bdb4e3 100644 --- a/vendor/symplify/easy-parallel/src/Enum/Action.php +++ b/vendor/symplify/easy-parallel/src/Enum/Action.php @@ -3,6 +3,9 @@ declare (strict_types=1); namespace RectorPrefix202301\Symplify\EasyParallel\Enum; +/** + * @api + */ final class Action { /** diff --git a/vendor/symplify/easy-parallel/src/Enum/Content.php b/vendor/symplify/easy-parallel/src/Enum/Content.php index 2134cf500d4..335136b4d13 100644 --- a/vendor/symplify/easy-parallel/src/Enum/Content.php +++ b/vendor/symplify/easy-parallel/src/Enum/Content.php @@ -3,6 +3,9 @@ declare (strict_types=1); namespace RectorPrefix202301\Symplify\EasyParallel\Enum; +/** + * @api + */ final class Content { /** diff --git a/vendor/symplify/easy-parallel/src/Enum/ReactCommand.php b/vendor/symplify/easy-parallel/src/Enum/ReactCommand.php index 1183a419337..5aab8498cce 100644 --- a/vendor/symplify/easy-parallel/src/Enum/ReactCommand.php +++ b/vendor/symplify/easy-parallel/src/Enum/ReactCommand.php @@ -3,6 +3,9 @@ declare (strict_types=1); namespace RectorPrefix202301\Symplify\EasyParallel\Enum; +/** + * @api + */ final class ReactCommand { /** diff --git a/vendor/symplify/easy-parallel/src/Enum/ReactEvent.php b/vendor/symplify/easy-parallel/src/Enum/ReactEvent.php index fb210f242f1..5ba14ad0818 100644 --- a/vendor/symplify/easy-parallel/src/Enum/ReactEvent.php +++ b/vendor/symplify/easy-parallel/src/Enum/ReactEvent.php @@ -4,7 +4,7 @@ declare (strict_types=1); namespace RectorPrefix202301\Symplify\EasyParallel\Enum; /** - * @enum + * @api */ final class ReactEvent { diff --git a/vendor/symplify/easy-parallel/src/FileSystem/FilePathNormalizer.php b/vendor/symplify/easy-parallel/src/FileSystem/FilePathNormalizer.php index ce5342a5ae9..29442714952 100644 --- a/vendor/symplify/easy-parallel/src/FileSystem/FilePathNormalizer.php +++ b/vendor/symplify/easy-parallel/src/FileSystem/FilePathNormalizer.php @@ -4,6 +4,9 @@ declare (strict_types=1); namespace RectorPrefix202301\Symplify\EasyParallel\FileSystem; use RectorPrefix202301\Symplify\SmartFileSystem\SmartFileInfo; +/** + * @api + */ final class FilePathNormalizer { /** diff --git a/vendor/symplify/easy-parallel/src/Reflection/CommandFromReflectionFactory.php b/vendor/symplify/easy-parallel/src/Reflection/CommandFromReflectionFactory.php index 67acb54bacb..97204b3c668 100644 --- a/vendor/symplify/easy-parallel/src/Reflection/CommandFromReflectionFactory.php +++ b/vendor/symplify/easy-parallel/src/Reflection/CommandFromReflectionFactory.php @@ -7,6 +7,9 @@ use ReflectionClass; use ReflectionMethod; use RectorPrefix202301\Symfony\Component\Console\Command\Command; use RectorPrefix202301\Symplify\EasyParallel\Exception\ParallelShouldNotHappenException; +/** + * @api + */ final class CommandFromReflectionFactory { /** diff --git a/vendor/symplify/easy-parallel/src/ScheduleFactory.php b/vendor/symplify/easy-parallel/src/ScheduleFactory.php index 22a36ddde15..fd17e1ebf21 100644 --- a/vendor/symplify/easy-parallel/src/ScheduleFactory.php +++ b/vendor/symplify/easy-parallel/src/ScheduleFactory.php @@ -7,6 +7,8 @@ use RectorPrefix202301\Symplify\EasyParallel\ValueObject\Schedule; /** * Used from * https://github.com/phpstan/phpstan-src/blob/9124c66dcc55a222e21b1717ba5f60771f7dda92/src/Parallel/Scheduler.php + * + * @api */ final class ScheduleFactory { diff --git a/vendor/symplify/easy-parallel/src/ValueObject/EasyParallelConfig.php b/vendor/symplify/easy-parallel/src/ValueObject/EasyParallelConfig.php index f07b34ea775..b469c25e9fb 100644 --- a/vendor/symplify/easy-parallel/src/ValueObject/EasyParallelConfig.php +++ b/vendor/symplify/easy-parallel/src/ValueObject/EasyParallelConfig.php @@ -3,6 +3,9 @@ declare (strict_types=1); namespace RectorPrefix202301\Symplify\EasyParallel\ValueObject; +/** + * @api + */ final class EasyParallelConfig { /** diff --git a/vendor/symplify/easy-parallel/src/ValueObject/ParallelProcess.php b/vendor/symplify/easy-parallel/src/ValueObject/ParallelProcess.php index 0e70492d146..00058bb5c87 100644 --- a/vendor/symplify/easy-parallel/src/ValueObject/ParallelProcess.php +++ b/vendor/symplify/easy-parallel/src/ValueObject/ParallelProcess.php @@ -17,6 +17,8 @@ use RectorPrefix202301\Symplify\EasyParallel\Exception\ParallelShouldNotHappenEx use Throwable; /** * Inspired at @see https://raw.githubusercontent.com/phpstan/phpstan-src/master/src/Parallel/Process.php + * + * @api */ final class ParallelProcess { diff --git a/vendor/symplify/easy-parallel/src/ValueObject/ProcessPool.php b/vendor/symplify/easy-parallel/src/ValueObject/ProcessPool.php index 89e01d3fb71..398b0dfd4b3 100644 --- a/vendor/symplify/easy-parallel/src/ValueObject/ProcessPool.php +++ b/vendor/symplify/easy-parallel/src/ValueObject/ProcessPool.php @@ -7,6 +7,8 @@ use RectorPrefix202301\React\Socket\TcpServer; use RectorPrefix202301\Symplify\EasyParallel\Exception\ParallelShouldNotHappenException; /** * Used from https://github.com/phpstan/phpstan-src/blob/master/src/Parallel/ProcessPool.php + * + * @api */ final class ProcessPool { diff --git a/vendor/symplify/easy-parallel/src/ValueObject/Schedule.php b/vendor/symplify/easy-parallel/src/ValueObject/Schedule.php index 7caa73ce0b8..09770139a15 100644 --- a/vendor/symplify/easy-parallel/src/ValueObject/Schedule.php +++ b/vendor/symplify/easy-parallel/src/ValueObject/Schedule.php @@ -6,6 +6,8 @@ namespace RectorPrefix202301\Symplify\EasyParallel\ValueObject; /** * From * https://github.com/phpstan/phpstan-src/commit/9124c66dcc55a222e21b1717ba5f60771f7dda92#diff-bc84213b079ef3456caece03c00ba34c07886dcae12180cd1192fbb223d65b15 + * + * @api */ final class Schedule { diff --git a/vendor/symplify/rule-doc-generator-contracts/composer.json b/vendor/symplify/rule-doc-generator-contracts/composer.json index f4d0dfbf337..d1c6dc0bb7d 100644 --- a/vendor/symplify/rule-doc-generator-contracts/composer.json +++ b/vendor/symplify/rule-doc-generator-contracts/composer.json @@ -18,22 +18,20 @@ }, "conflict": { "symplify\/phpstan-rules": "<11.1.24", - "symplify\/easy-testing": "<11.1.24", - "symplify\/php-config-printer": "<11.1.24", - "symplify\/autowire-array-parameter": "<11.1.24", - "symplify\/package-builder": "<11.1.24", - "symplify\/phpstan-extensions": "<11.1.24", - "symplify\/rule-doc-generator": "<11.1.24", - "symplify\/smart-file-system": "<11.1.24", - "symplify\/symfony-static-dumper": "<11.1.24", - "symplify\/symplify-kernel": "<11.1.24", + "symplify\/easy-testing": "<11.1.25", + "symplify\/php-config-printer": "<11.1.25", + "symplify\/autowire-array-parameter": "<11.1.25", + "symplify\/package-builder": "<11.1.25", + "symplify\/phpstan-extensions": "<11.1.25", + "symplify\/rule-doc-generator": "<11.1.25", + "symplify\/smart-file-system": "<11.1.25", + "symplify\/symfony-static-dumper": "<11.1.25", + "symplify\/symplify-kernel": "<11.1.25", "symplify\/config-transformer": "<11.1.24", "symplify\/coding-standard": "<11.1.24", - "symplify\/easy-parallel": "<11.1.24", + "symplify\/easy-parallel": "<11.1.25", "symplify\/easy-ci": "<11.1.24", - "symplify\/monorepo-builder": "<11.1.24", - "symplify\/vendor-patches": "<11.1.24", - "symplify\/easy-coding-standard": "<11.1.24" + "symplify\/monorepo-builder": "<11.1.24" }, "minimum-stability": "dev", "prefer-stable": true