Updated Rector to commit e066024702

e066024702 [PHP 8.0] Add annotation removal in case of nested (#403)
This commit is contained in:
Tomas Votruba 2021-07-08 12:36:20 +00:00
parent bd26221db6
commit c3d5e6fe7b
35 changed files with 451 additions and 224 deletions

View File

@ -20,6 +20,10 @@ abstract class AbstractValuesAwareNode implements \PHPStan\PhpDocParser\Ast\PhpD
* @var bool
*/
protected $hasChanged = \false;
/**
* @var mixed[]
*/
private $originalValues = [];
/**
* @var mixed[]
*/
@ -40,6 +44,7 @@ abstract class AbstractValuesAwareNode implements \PHPStan\PhpDocParser\Ast\PhpD
$this->values = $values;
$this->originalContent = $originalContent;
$this->silentKey = $silentKey;
$this->originalValues = $values;
}
public function removeValue(string $key) : void
{
@ -147,6 +152,13 @@ abstract class AbstractValuesAwareNode implements \PHPStan\PhpDocParser\Ast\PhpD
{
$this->hasChanged = \true;
}
/**
* @return mixed[]
*/
public function getOriginalValues() : array
{
return $this->originalValues;
}
/**
* @param mixed|string $value
* @return mixed|string

View File

@ -0,0 +1,33 @@
<?php
declare (strict_types=1);
namespace Rector\Php80\NodeFactory;
use PhpParser\Node\AttributeGroup;
use Rector\Php80\ValueObject\DoctrineTagAndAnnotationToAttribute;
use Rector\PhpAttribute\Printer\PhpAttributeGroupFactory;
final class AttrGroupsFactory
{
/**
* @var \Rector\PhpAttribute\Printer\PhpAttributeGroupFactory
*/
private $phpAttributeGroupFactory;
public function __construct(\Rector\PhpAttribute\Printer\PhpAttributeGroupFactory $phpAttributeGroupFactory)
{
$this->phpAttributeGroupFactory = $phpAttributeGroupFactory;
}
/**
* @param DoctrineTagAndAnnotationToAttribute[] $doctrineTagAndAnnotationToAttributes
* @return AttributeGroup[]
*/
public function create(array $doctrineTagAndAnnotationToAttributes) : array
{
$attributeGroups = [];
foreach ($doctrineTagAndAnnotationToAttributes as $doctrineTagAndAnnotationToAttribute) {
$doctrineAnnotationTagValueNode = $doctrineTagAndAnnotationToAttribute->getDoctrineAnnotationTagValueNode();
// add attributes
$attributeGroups[] = $this->phpAttributeGroupFactory->create($doctrineAnnotationTagValueNode, $doctrineTagAndAnnotationToAttribute->getAnnotationToAttribute());
}
return $attributeGroups;
}
}

View File

@ -0,0 +1,64 @@
<?php
declare (strict_types=1);
namespace Rector\Php80\PhpDocCleaner;
use PHPStan\PhpDocParser\Ast\PhpDoc\PhpDocNode;
use Rector\BetterPhpDocParser\PhpDoc\DoctrineAnnotationTagValueNode;
use Rector\BetterPhpDocParser\ValueObject\PhpDoc\DoctrineAnnotation\CurlyListNode;
use Rector\Php80\ValueObject\AnnotationToAttribute;
use RectorPrefix20210708\Symplify\SimplePhpDocParser\PhpDocNodeTraverser;
final class ConvertedAnnotationToAttributeParentRemover
{
/**
* @param AnnotationToAttribute[] $annotationsToAttributes
*/
public function processPhpDocNode(\PHPStan\PhpDocParser\Ast\PhpDoc\PhpDocNode $phpDocNode, array $annotationsToAttributes) : void
{
$phpDocNodeTraverser = new \RectorPrefix20210708\Symplify\SimplePhpDocParser\PhpDocNodeTraverser();
$phpDocNodeTraverser->traverseWithCallable($phpDocNode, '', function ($node) use($annotationsToAttributes) {
if (!$node instanceof \Rector\BetterPhpDocParser\PhpDoc\DoctrineAnnotationTagValueNode) {
return $node;
}
// has only children of annotation to attribute? it will be removed
if ($this->detect($node, $annotationsToAttributes)) {
return \RectorPrefix20210708\Symplify\SimplePhpDocParser\PhpDocNodeTraverser::NODE_REMOVE;
}
return $node;
});
}
/**
* @param AnnotationToAttribute[] $annotationsToAttributes
*/
private function detect(\Rector\BetterPhpDocParser\PhpDoc\DoctrineAnnotationTagValueNode $doctrineAnnotationTagValueNode, array $annotationsToAttributes) : bool
{
foreach ($doctrineAnnotationTagValueNode->getValues() as $nodeValue) {
if (!$nodeValue instanceof \Rector\BetterPhpDocParser\ValueObject\PhpDoc\DoctrineAnnotation\CurlyListNode) {
return \false;
}
if (!$this->isCurlyListOfDoctrineAnnotationTagValueNodes($nodeValue, $annotationsToAttributes)) {
return \false;
}
}
return \true;
}
/**
* @param AnnotationToAttribute[] $annotationsToAttributes
*/
private function isCurlyListOfDoctrineAnnotationTagValueNodes(\Rector\BetterPhpDocParser\ValueObject\PhpDoc\DoctrineAnnotation\CurlyListNode $curlyListNode, array $annotationsToAttributes) : bool
{
foreach ($curlyListNode->getOriginalValues() as $nodeValueValue) {
foreach ($annotationsToAttributes as $annotationToAttribute) {
if (!$nodeValueValue instanceof \Rector\BetterPhpDocParser\PhpDoc\DoctrineAnnotationTagValueNode) {
return \false;
}
// found it
if ($nodeValueValue->hasClassName($annotationToAttribute->getTag())) {
continue 2;
}
}
return \false;
}
return \true;
}
}

View File

@ -18,7 +18,8 @@ use Rector\BetterPhpDocParser\PhpDocManipulator\PhpDocTagRemover;
use Rector\Core\Contract\Rector\ConfigurableRectorInterface;
use Rector\Core\Rector\AbstractRector;
use Rector\Core\ValueObject\PhpVersionFeature;
use Rector\Php80\PhpDocNodeVisitor\AnnotationToAttributePhpDocNodeVisitor;
use Rector\Php80\NodeFactory\AttrGroupsFactory;
use Rector\Php80\PhpDocCleaner\ConvertedAnnotationToAttributeParentRemover;
use Rector\Php80\ValueObject\AnnotationToAttribute;
use Rector\Php80\ValueObject\DoctrineTagAndAnnotationToAttribute;
use Rector\PhpAttribute\Printer\PhpAttributeGroupFactory;
@ -54,10 +55,20 @@ final class AnnotationToAttributeRector extends \Rector\Core\Rector\AbstractRect
* @var \Rector\BetterPhpDocParser\PhpDocManipulator\PhpDocTagRemover
*/
private $phpDocTagRemover;
public function __construct(\Rector\PhpAttribute\Printer\PhpAttributeGroupFactory $phpAttributeGroupFactory, \Rector\BetterPhpDocParser\PhpDocManipulator\PhpDocTagRemover $phpDocTagRemover)
/**
* @var \Rector\Php80\PhpDocCleaner\ConvertedAnnotationToAttributeParentRemover
*/
private $convertedAnnotationToAttributeParentRemover;
/**
* @var \Rector\Php80\NodeFactory\AttrGroupsFactory
*/
private $attrGroupsFactory;
public function __construct(\Rector\PhpAttribute\Printer\PhpAttributeGroupFactory $phpAttributeGroupFactory, \Rector\BetterPhpDocParser\PhpDocManipulator\PhpDocTagRemover $phpDocTagRemover, \Rector\Php80\PhpDocCleaner\ConvertedAnnotationToAttributeParentRemover $convertedAnnotationToAttributeParentRemover, \Rector\Php80\NodeFactory\AttrGroupsFactory $attrGroupsFactory)
{
$this->phpAttributeGroupFactory = $phpAttributeGroupFactory;
$this->phpDocTagRemover = $phpDocTagRemover;
$this->convertedAnnotationToAttributeParentRemover = $convertedAnnotationToAttributeParentRemover;
$this->attrGroupsFactory = $attrGroupsFactory;
}
public function getRuleDefinition() : \Symplify\RuleDocGenerator\ValueObject\RuleDefinition
{
@ -181,13 +192,12 @@ CODE_SAMPLE
}
return $node;
});
foreach ($doctrineTagAndAnnotationToAttributes as $doctrineTagAndAnnotationToAttribute) {
$doctrineAnnotationTagValueNode = $doctrineTagAndAnnotationToAttribute->getDoctrineAnnotationTagValueNode();
// 1. remove php-doc tag
$this->phpDocTagRemover->removeTagValueFromNode($phpDocInfo, $doctrineAnnotationTagValueNode);
// 2. add attributes
$node->attrGroups[] = $this->phpAttributeGroupFactory->create($doctrineAnnotationTagValueNode, $doctrineTagAndAnnotationToAttribute->getAnnotationToAttribute());
$attrGroups = $this->attrGroupsFactory->create($doctrineTagAndAnnotationToAttributes);
if ($attrGroups === []) {
return;
}
$node->attrGroups = $attrGroups;
$this->convertedAnnotationToAttributeParentRemover->processPhpDocNode($phpDocInfo->getPhpDocNode(), $this->annotationsToAttributes);
}
private function shouldSkip(\Rector\BetterPhpDocParser\PhpDocInfo\PhpDocInfo $phpDocInfo) : bool
{

View File

@ -16,11 +16,11 @@ final class VersionResolver
/**
* @var string
*/
public const PACKAGE_VERSION = '32c0d7d1b7df03065d503d61d6424ebe019bc42b';
public const PACKAGE_VERSION = 'e0660247021b4a6030a9786510259dbcee1c7564';
/**
* @var string
*/
public const RELEASE_DATE = '2021-07-08 02:08:45';
public const RELEASE_DATE = '2021-07-08 14:27:19';
public static function resolvePackageVersion() : string
{
$process = new \RectorPrefix20210708\Symfony\Component\Process\Process(['git', 'log', '--pretty="%H"', '-n1', 'HEAD'], __DIR__);

2
vendor/autoload.php vendored
View File

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

View File

@ -2740,6 +2740,7 @@ return array(
'Rector\\Php80\\NodeAnalyzer\\PromotedPropertyCandidateResolver' => $baseDir . '/rules/Php80/NodeAnalyzer/PromotedPropertyCandidateResolver.php',
'Rector\\Php80\\NodeAnalyzer\\PromotedPropertyResolver' => $baseDir . '/rules/Php80/NodeAnalyzer/PromotedPropertyResolver.php',
'Rector\\Php80\\NodeAnalyzer\\SwitchAnalyzer' => $baseDir . '/rules/Php80/NodeAnalyzer/SwitchAnalyzer.php',
'Rector\\Php80\\NodeFactory\\AttrGroupsFactory' => $baseDir . '/rules/Php80/NodeFactory/AttrGroupsFactory.php',
'Rector\\Php80\\NodeFactory\\AttributeFlagFactory' => $baseDir . '/rules/Php80/NodeFactory/AttributeFlagFactory.php',
'Rector\\Php80\\NodeFactory\\MatchArmsFactory' => $baseDir . '/rules/Php80/NodeFactory/MatchArmsFactory.php',
'Rector\\Php80\\NodeFactory\\MatchFactory' => $baseDir . '/rules/Php80/NodeFactory/MatchFactory.php',
@ -2748,6 +2749,7 @@ return array(
'Rector\\Php80\\NodeResolver\\ArgumentSorter' => $baseDir . '/rules/Php80/NodeResolver/ArgumentSorter.php',
'Rector\\Php80\\NodeResolver\\RequireOptionalParamResolver' => $baseDir . '/rules/Php80/NodeResolver/RequireOptionalParamResolver.php',
'Rector\\Php80\\NodeResolver\\SwitchExprsResolver' => $baseDir . '/rules/Php80/NodeResolver/SwitchExprsResolver.php',
'Rector\\Php80\\PhpDocCleaner\\ConvertedAnnotationToAttributeParentRemover' => $baseDir . '/rules/Php80/PhpDocCleaner/ConvertedAnnotationToAttributeParentRemover.php',
'Rector\\Php80\\Rector\\Catch_\\RemoveUnusedVariableInCatchRector' => $baseDir . '/rules/Php80/Rector/Catch_/RemoveUnusedVariableInCatchRector.php',
'Rector\\Php80\\Rector\\ClassMethod\\FinalPrivateToPrivateVisibilityRector' => $baseDir . '/rules/Php80/Rector/ClassMethod/FinalPrivateToPrivateVisibilityRector.php',
'Rector\\Php80\\Rector\\ClassMethod\\OptionalParametersAfterRequiredRector' => $baseDir . '/rules/Php80/Rector/ClassMethod/OptionalParametersAfterRequiredRector.php',

View File

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

View File

@ -4,7 +4,7 @@
namespace Composer\Autoload;
class ComposerStaticInit8b4cd83fbe1cbaded6914d06ef308b75
class ComposerStaticInitec1756b7016cb728d5c640c220314df9
{
public static $files = array (
'a4a119a56e50fbb293281d9a48007e0e' => __DIR__ . '/..' . '/symfony/polyfill-php80/bootstrap.php',
@ -3105,6 +3105,7 @@ class ComposerStaticInit8b4cd83fbe1cbaded6914d06ef308b75
'Rector\\Php80\\NodeAnalyzer\\PromotedPropertyCandidateResolver' => __DIR__ . '/../..' . '/rules/Php80/NodeAnalyzer/PromotedPropertyCandidateResolver.php',
'Rector\\Php80\\NodeAnalyzer\\PromotedPropertyResolver' => __DIR__ . '/../..' . '/rules/Php80/NodeAnalyzer/PromotedPropertyResolver.php',
'Rector\\Php80\\NodeAnalyzer\\SwitchAnalyzer' => __DIR__ . '/../..' . '/rules/Php80/NodeAnalyzer/SwitchAnalyzer.php',
'Rector\\Php80\\NodeFactory\\AttrGroupsFactory' => __DIR__ . '/../..' . '/rules/Php80/NodeFactory/AttrGroupsFactory.php',
'Rector\\Php80\\NodeFactory\\AttributeFlagFactory' => __DIR__ . '/../..' . '/rules/Php80/NodeFactory/AttributeFlagFactory.php',
'Rector\\Php80\\NodeFactory\\MatchArmsFactory' => __DIR__ . '/../..' . '/rules/Php80/NodeFactory/MatchArmsFactory.php',
'Rector\\Php80\\NodeFactory\\MatchFactory' => __DIR__ . '/../..' . '/rules/Php80/NodeFactory/MatchFactory.php',
@ -3113,6 +3114,7 @@ class ComposerStaticInit8b4cd83fbe1cbaded6914d06ef308b75
'Rector\\Php80\\NodeResolver\\ArgumentSorter' => __DIR__ . '/../..' . '/rules/Php80/NodeResolver/ArgumentSorter.php',
'Rector\\Php80\\NodeResolver\\RequireOptionalParamResolver' => __DIR__ . '/../..' . '/rules/Php80/NodeResolver/RequireOptionalParamResolver.php',
'Rector\\Php80\\NodeResolver\\SwitchExprsResolver' => __DIR__ . '/../..' . '/rules/Php80/NodeResolver/SwitchExprsResolver.php',
'Rector\\Php80\\PhpDocCleaner\\ConvertedAnnotationToAttributeParentRemover' => __DIR__ . '/../..' . '/rules/Php80/PhpDocCleaner/ConvertedAnnotationToAttributeParentRemover.php',
'Rector\\Php80\\Rector\\Catch_\\RemoveUnusedVariableInCatchRector' => __DIR__ . '/../..' . '/rules/Php80/Rector/Catch_/RemoveUnusedVariableInCatchRector.php',
'Rector\\Php80\\Rector\\ClassMethod\\FinalPrivateToPrivateVisibilityRector' => __DIR__ . '/../..' . '/rules/Php80/Rector/ClassMethod/FinalPrivateToPrivateVisibilityRector.php',
'Rector\\Php80\\Rector\\ClassMethod\\OptionalParametersAfterRequiredRector' => __DIR__ . '/../..' . '/rules/Php80/Rector/ClassMethod/OptionalParametersAfterRequiredRector.php',
@ -3868,9 +3870,9 @@ class ComposerStaticInit8b4cd83fbe1cbaded6914d06ef308b75
public static function getInitializer(ClassLoader $loader)
{
return \Closure::bind(function () use ($loader) {
$loader->prefixLengthsPsr4 = ComposerStaticInit8b4cd83fbe1cbaded6914d06ef308b75::$prefixLengthsPsr4;
$loader->prefixDirsPsr4 = ComposerStaticInit8b4cd83fbe1cbaded6914d06ef308b75::$prefixDirsPsr4;
$loader->classMap = ComposerStaticInit8b4cd83fbe1cbaded6914d06ef308b75::$classMap;
$loader->prefixLengthsPsr4 = ComposerStaticInitec1756b7016cb728d5c640c220314df9::$prefixLengthsPsr4;
$loader->prefixDirsPsr4 = ComposerStaticInitec1756b7016cb728d5c640c220314df9::$prefixDirsPsr4;
$loader->classMap = ComposerStaticInitec1756b7016cb728d5c640c220314df9::$classMap;
}, null, ClassLoader::class);
}

View File

@ -1280,17 +1280,17 @@
},
{
"name": "rector\/rector-doctrine",
"version": "0.11.11",
"version_normalized": "0.11.11.0",
"version": "0.11.12",
"version_normalized": "0.11.12.0",
"source": {
"type": "git",
"url": "https:\/\/github.com\/rectorphp\/rector-doctrine.git",
"reference": "b9181378b0f17449e1b86254f3cac8d2f3050e25"
"reference": "2a5d1a006ac50d1919d03b7fd9218076c1cc6ee8"
},
"dist": {
"type": "zip",
"url": "https:\/\/api.github.com\/repos\/rectorphp\/rector-doctrine\/zipball\/b9181378b0f17449e1b86254f3cac8d2f3050e25",
"reference": "b9181378b0f17449e1b86254f3cac8d2f3050e25",
"url": "https:\/\/api.github.com\/repos\/rectorphp\/rector-doctrine\/zipball\/2a5d1a006ac50d1919d03b7fd9218076c1cc6ee8",
"reference": "2a5d1a006ac50d1919d03b7fd9218076c1cc6ee8",
"shasum": ""
},
"require": {
@ -1311,7 +1311,7 @@
"symplify\/phpstan-rules": "^9.4",
"symplify\/rule-doc-generator": "^9.4"
},
"time": "2021-07-06T14:25:38+00:00",
"time": "2021-07-08T08:36:05+00:00",
"type": "rector-extension",
"extra": {
"branch-alias": {
@ -1336,7 +1336,7 @@
"description": "Rector upgrades rules for Doctrine",
"support": {
"issues": "https:\/\/github.com\/rectorphp\/rector-doctrine\/issues",
"source": "https:\/\/github.com\/rectorphp\/rector-doctrine\/tree\/0.11.11"
"source": "https:\/\/github.com\/rectorphp\/rector-doctrine\/tree\/0.11.12"
},
"install-path": "..\/rector\/rector-doctrine"
},
@ -1730,7 +1730,7 @@
"description": "Instant fixes for your TYPO3 code by using Rector.",
"support": {
"issues": "https:\/\/github.com\/sabbelasichon\/typo3-rector\/issues",
"source": "https:\/\/github.com\/sabbelasichon\/typo3-rector\/tree\/main"
"source": "https:\/\/github.com\/sabbelasichon\/typo3-rector\/tree\/v0.11.21"
},
"funding": [
{
@ -3798,17 +3798,17 @@
},
{
"name": "symplify\/astral",
"version": "9.4.14",
"version_normalized": "9.4.14.0",
"version": "9.4.15",
"version_normalized": "9.4.15.0",
"source": {
"type": "git",
"url": "https:\/\/github.com\/symplify\/astral.git",
"reference": "1f11d479747adb0355c749339d01cf4ab70c0ff8"
"reference": "22c927df9569e1a082d76c559fbcba747cb033a3"
},
"dist": {
"type": "zip",
"url": "https:\/\/api.github.com\/repos\/symplify\/astral\/zipball\/1f11d479747adb0355c749339d01cf4ab70c0ff8",
"reference": "1f11d479747adb0355c749339d01cf4ab70c0ff8",
"url": "https:\/\/api.github.com\/repos\/symplify\/astral\/zipball\/22c927df9569e1a082d76c559fbcba747cb033a3",
"reference": "22c927df9569e1a082d76c559fbcba747cb033a3",
"shasum": ""
},
"require": {
@ -3817,14 +3817,14 @@
"php": ">=8.0",
"symfony\/dependency-injection": "^5.3",
"symfony\/http-kernel": "^5.3",
"symplify\/autowire-array-parameter": "^9.4.14",
"symplify\/package-builder": "^9.4.14"
"symplify\/autowire-array-parameter": "^9.4.15",
"symplify\/package-builder": "^9.4.15"
},
"require-dev": {
"phpunit\/phpunit": "^9.5",
"symplify\/easy-testing": "^9.4.14"
"symplify\/easy-testing": "^9.4.15"
},
"time": "2021-07-07T23:32:50+00:00",
"time": "2021-07-08T12:01:53+00:00",
"type": "library",
"extra": {
"branch-alias": {
@ -3843,7 +3843,7 @@
],
"description": "Toolking for smart daily work with AST",
"support": {
"source": "https:\/\/github.com\/symplify\/astral\/tree\/9.4.14"
"source": "https:\/\/github.com\/symplify\/astral\/tree\/9.4.15"
},
"funding": [
{
@ -3859,29 +3859,29 @@
},
{
"name": "symplify\/autowire-array-parameter",
"version": "9.4.14",
"version_normalized": "9.4.14.0",
"version": "9.4.15",
"version_normalized": "9.4.15.0",
"source": {
"type": "git",
"url": "https:\/\/github.com\/symplify\/autowire-array-parameter.git",
"reference": "58dee0addb2637af2ab980ab6ae7a7fd66c415ce"
"reference": "eecae05b54ca8842cf2436b1c98a10c5b05f9720"
},
"dist": {
"type": "zip",
"url": "https:\/\/api.github.com\/repos\/symplify\/autowire-array-parameter\/zipball\/58dee0addb2637af2ab980ab6ae7a7fd66c415ce",
"reference": "58dee0addb2637af2ab980ab6ae7a7fd66c415ce",
"url": "https:\/\/api.github.com\/repos\/symplify\/autowire-array-parameter\/zipball\/eecae05b54ca8842cf2436b1c98a10c5b05f9720",
"reference": "eecae05b54ca8842cf2436b1c98a10c5b05f9720",
"shasum": ""
},
"require": {
"nette\/utils": "^3.2",
"php": ">=8.0",
"symfony\/dependency-injection": "^5.3",
"symplify\/package-builder": "^9.4.14"
"symplify\/package-builder": "^9.4.15"
},
"require-dev": {
"phpunit\/phpunit": "^9.5"
},
"time": "2021-07-07T23:32:49+00:00",
"time": "2021-07-08T12:01:52+00:00",
"type": "library",
"extra": {
"branch-alias": {
@ -3900,7 +3900,7 @@
],
"description": "Autowire array parameters for your Symfony applications",
"support": {
"source": "https:\/\/github.com\/symplify\/autowire-array-parameter\/tree\/9.4.14"
"source": "https:\/\/github.com\/symplify\/autowire-array-parameter\/tree\/9.4.15"
},
"funding": [
{
@ -3916,17 +3916,17 @@
},
{
"name": "symplify\/composer-json-manipulator",
"version": "9.4.14",
"version_normalized": "9.4.14.0",
"version": "9.4.15",
"version_normalized": "9.4.15.0",
"source": {
"type": "git",
"url": "https:\/\/github.com\/symplify\/composer-json-manipulator.git",
"reference": "c74d8bb98ea935fb8dad4c2e4b9c9bb25a837e91"
"reference": "ae6284efc1439ab9d537b7554a907f88b637f66b"
},
"dist": {
"type": "zip",
"url": "https:\/\/api.github.com\/repos\/symplify\/composer-json-manipulator\/zipball\/c74d8bb98ea935fb8dad4c2e4b9c9bb25a837e91",
"reference": "c74d8bb98ea935fb8dad4c2e4b9c9bb25a837e91",
"url": "https:\/\/api.github.com\/repos\/symplify\/composer-json-manipulator\/zipball\/ae6284efc1439ab9d537b7554a907f88b637f66b",
"reference": "ae6284efc1439ab9d537b7554a907f88b637f66b",
"shasum": ""
},
"require": {
@ -3936,13 +3936,13 @@
"symfony\/dependency-injection": "^5.3",
"symfony\/filesystem": "^5.3",
"symfony\/http-kernel": "^5.3",
"symplify\/package-builder": "^9.4.14",
"symplify\/smart-file-system": "^9.4.14"
"symplify\/package-builder": "^9.4.15",
"symplify\/smart-file-system": "^9.4.15"
},
"require-dev": {
"phpunit\/phpunit": "^9.5"
},
"time": "2021-07-07T23:33:03+00:00",
"time": "2021-07-08T12:01:56+00:00",
"type": "symfony-bundle",
"extra": {
"branch-alias": {
@ -3961,7 +3961,7 @@
],
"description": "Package to load, merge and save composer.json file(s)",
"support": {
"source": "https:\/\/github.com\/symplify\/composer-json-manipulator\/tree\/9.4.14"
"source": "https:\/\/github.com\/symplify\/composer-json-manipulator\/tree\/9.4.15"
},
"funding": [
{
@ -3977,17 +3977,17 @@
},
{
"name": "symplify\/console-color-diff",
"version": "9.4.14",
"version_normalized": "9.4.14.0",
"version": "9.4.15",
"version_normalized": "9.4.15.0",
"source": {
"type": "git",
"url": "https:\/\/github.com\/symplify\/console-color-diff.git",
"reference": "3ec0bf471c6208c7edecfbfb47217c9600cefcdb"
"reference": "3cf1351d6aeb7f0dbdf4659233498b93a1bf937a"
},
"dist": {
"type": "zip",
"url": "https:\/\/api.github.com\/repos\/symplify\/console-color-diff\/zipball\/3ec0bf471c6208c7edecfbfb47217c9600cefcdb",
"reference": "3ec0bf471c6208c7edecfbfb47217c9600cefcdb",
"url": "https:\/\/api.github.com\/repos\/symplify\/console-color-diff\/zipball\/3cf1351d6aeb7f0dbdf4659233498b93a1bf937a",
"reference": "3cf1351d6aeb7f0dbdf4659233498b93a1bf937a",
"shasum": ""
},
"require": {
@ -3997,12 +3997,12 @@
"symfony\/console": "^5.3",
"symfony\/dependency-injection": "^5.3",
"symfony\/http-kernel": "^5.3",
"symplify\/package-builder": "^9.4.14"
"symplify\/package-builder": "^9.4.15"
},
"require-dev": {
"phpunit\/phpunit": "^9.5"
},
"time": "2021-07-07T23:33:06+00:00",
"time": "2021-07-08T12:02:15+00:00",
"type": "library",
"extra": {
"branch-alias": {
@ -4021,7 +4021,7 @@
],
"description": "Package to print diffs in console with colors",
"support": {
"source": "https:\/\/github.com\/symplify\/console-color-diff\/tree\/9.4.14"
"source": "https:\/\/github.com\/symplify\/console-color-diff\/tree\/9.4.15"
},
"funding": [
{
@ -4037,31 +4037,31 @@
},
{
"name": "symplify\/console-package-builder",
"version": "9.4.14",
"version_normalized": "9.4.14.0",
"version": "9.4.15",
"version_normalized": "9.4.15.0",
"source": {
"type": "git",
"url": "https:\/\/github.com\/symplify\/console-package-builder.git",
"reference": "66a857f9e0a82a4b423a990b39f617db2956f3fe"
"reference": "4b1191176bb07087cb3e161efc89e13fecb09ed9"
},
"dist": {
"type": "zip",
"url": "https:\/\/api.github.com\/repos\/symplify\/console-package-builder\/zipball\/66a857f9e0a82a4b423a990b39f617db2956f3fe",
"reference": "66a857f9e0a82a4b423a990b39f617db2956f3fe",
"url": "https:\/\/api.github.com\/repos\/symplify\/console-package-builder\/zipball\/4b1191176bb07087cb3e161efc89e13fecb09ed9",
"reference": "4b1191176bb07087cb3e161efc89e13fecb09ed9",
"shasum": ""
},
"require": {
"php": ">=8.0",
"symfony\/console": "^5.3",
"symfony\/dependency-injection": "^5.3",
"symplify\/symplify-kernel": "^9.4.14"
"symplify\/symplify-kernel": "^9.4.15"
},
"require-dev": {
"phpunit\/phpunit": "^9.5",
"symfony\/http-kernel": "^5.3",
"symplify\/package-builder": "^9.4.14"
"symplify\/package-builder": "^9.4.15"
},
"time": "2021-07-07T23:33:11+00:00",
"time": "2021-07-08T12:02:26+00:00",
"type": "library",
"extra": {
"branch-alias": {
@ -4080,23 +4080,23 @@
],
"description": "Package to speed up building command line applications",
"support": {
"source": "https:\/\/github.com\/symplify\/console-package-builder\/tree\/9.4.14"
"source": "https:\/\/github.com\/symplify\/console-package-builder\/tree\/9.4.15"
},
"install-path": "..\/symplify\/console-package-builder"
},
{
"name": "symplify\/easy-testing",
"version": "9.4.14",
"version_normalized": "9.4.14.0",
"version": "9.4.15",
"version_normalized": "9.4.15.0",
"source": {
"type": "git",
"url": "https:\/\/github.com\/symplify\/easy-testing.git",
"reference": "9f2bbd4f482d91d0f19edc1103c14b0da4e65be5"
"reference": "6b232e77e353b648c82a1102d521c7992b39deef"
},
"dist": {
"type": "zip",
"url": "https:\/\/api.github.com\/repos\/symplify\/easy-testing\/zipball\/9f2bbd4f482d91d0f19edc1103c14b0da4e65be5",
"reference": "9f2bbd4f482d91d0f19edc1103c14b0da4e65be5",
"url": "https:\/\/api.github.com\/repos\/symplify\/easy-testing\/zipball\/6b232e77e353b648c82a1102d521c7992b39deef",
"reference": "6b232e77e353b648c82a1102d521c7992b39deef",
"shasum": ""
},
"require": {
@ -4106,15 +4106,15 @@
"symfony\/dependency-injection": "^5.3",
"symfony\/finder": "^5.3",
"symfony\/http-kernel": "^5.3",
"symplify\/console-package-builder": "^9.4.14",
"symplify\/package-builder": "^9.4.14",
"symplify\/smart-file-system": "^9.4.14",
"symplify\/symplify-kernel": "^9.4.14"
"symplify\/console-package-builder": "^9.4.15",
"symplify\/package-builder": "^9.4.15",
"symplify\/smart-file-system": "^9.4.15",
"symplify\/symplify-kernel": "^9.4.15"
},
"require-dev": {
"phpunit\/phpunit": "^9.5"
},
"time": "2021-07-07T23:33:30+00:00",
"time": "2021-07-08T12:02:35+00:00",
"bin": [
"bin\/easy-testing"
],
@ -4136,7 +4136,7 @@
],
"description": "Testing made easy",
"support": {
"source": "https:\/\/github.com\/symplify\/easy-testing\/tree\/9.4.14"
"source": "https:\/\/github.com\/symplify\/easy-testing\/tree\/9.4.15"
},
"funding": [
{
@ -4152,17 +4152,17 @@
},
{
"name": "symplify\/package-builder",
"version": "9.4.14",
"version_normalized": "9.4.14.0",
"version": "9.4.15",
"version_normalized": "9.4.15.0",
"source": {
"type": "git",
"url": "https:\/\/github.com\/symplify\/package-builder.git",
"reference": "9fe082d1c053e64b9523fb97aceaf7168d03e478"
"reference": "59eb669e30c868ccc91a46fdfe80d8a42407131a"
},
"dist": {
"type": "zip",
"url": "https:\/\/api.github.com\/repos\/symplify\/package-builder\/zipball\/9fe082d1c053e64b9523fb97aceaf7168d03e478",
"reference": "9fe082d1c053e64b9523fb97aceaf7168d03e478",
"url": "https:\/\/api.github.com\/repos\/symplify\/package-builder\/zipball\/59eb669e30c868ccc91a46fdfe80d8a42407131a",
"reference": "59eb669e30c868ccc91a46fdfe80d8a42407131a",
"shasum": ""
},
"require": {
@ -4174,13 +4174,13 @@
"symfony\/dependency-injection": "^5.3",
"symfony\/finder": "^5.3",
"symfony\/http-kernel": "^5.3",
"symplify\/easy-testing": "^9.4.14",
"symplify\/symplify-kernel": "^9.4.14"
"symplify\/easy-testing": "^9.4.15",
"symplify\/symplify-kernel": "^9.4.15"
},
"require-dev": {
"phpunit\/phpunit": "^9.5"
},
"time": "2021-07-07T23:33:42+00:00",
"time": "2021-07-08T12:02:57+00:00",
"type": "library",
"extra": {
"branch-alias": {
@ -4199,7 +4199,7 @@
],
"description": "Dependency Injection, Console and Kernel toolkit for Symplify packages.",
"support": {
"source": "https:\/\/github.com\/symplify\/package-builder\/tree\/9.4.14"
"source": "https:\/\/github.com\/symplify\/package-builder\/tree\/9.4.15"
},
"funding": [
{
@ -4215,8 +4215,8 @@
},
{
"name": "symplify\/rule-doc-generator-contracts",
"version": "9.4.14",
"version_normalized": "9.4.14.0",
"version": "9.4.15",
"version_normalized": "9.4.15.0",
"source": {
"type": "git",
"url": "https:\/\/github.com\/symplify\/rule-doc-generator-contracts.git",
@ -4268,17 +4268,17 @@
},
{
"name": "symplify\/simple-php-doc-parser",
"version": "9.4.14",
"version_normalized": "9.4.14.0",
"version": "9.4.15",
"version_normalized": "9.4.15.0",
"source": {
"type": "git",
"url": "https:\/\/github.com\/symplify\/simple-php-doc-parser.git",
"reference": "cc6852d24b115497e72a421c4229aaf8ffa7b5db"
"reference": "49d286d9256dfb6e5be92508cb3010cb1328571d"
},
"dist": {
"type": "zip",
"url": "https:\/\/api.github.com\/repos\/symplify\/simple-php-doc-parser\/zipball\/cc6852d24b115497e72a421c4229aaf8ffa7b5db",
"reference": "cc6852d24b115497e72a421c4229aaf8ffa7b5db",
"url": "https:\/\/api.github.com\/repos\/symplify\/simple-php-doc-parser\/zipball\/49d286d9256dfb6e5be92508cb3010cb1328571d",
"reference": "49d286d9256dfb6e5be92508cb3010cb1328571d",
"shasum": ""
},
"require": {
@ -4287,13 +4287,13 @@
"symfony\/config": "^5.3",
"symfony\/dependency-injection": "^5.3",
"symfony\/http-kernel": "^5.3",
"symplify\/package-builder": "^9.4.14"
"symplify\/package-builder": "^9.4.15"
},
"require-dev": {
"phpunit\/phpunit": "^9.5",
"symplify\/easy-testing": "^9.4.14"
"symplify\/easy-testing": "^9.4.15"
},
"time": "2021-07-07T23:34:25+00:00",
"time": "2021-07-08T12:03:53+00:00",
"type": "library",
"extra": {
"branch-alias": {
@ -4312,7 +4312,7 @@
],
"description": "Service integration of phpstan\/phpdoc-parser, with few extra goodies for practical simple use",
"support": {
"source": "https:\/\/github.com\/symplify\/simple-php-doc-parser\/tree\/9.4.14"
"source": "https:\/\/github.com\/symplify\/simple-php-doc-parser\/tree\/9.4.15"
},
"funding": [
{
@ -4328,17 +4328,17 @@
},
{
"name": "symplify\/skipper",
"version": "9.4.14",
"version_normalized": "9.4.14.0",
"version": "9.4.15",
"version_normalized": "9.4.15.0",
"source": {
"type": "git",
"url": "https:\/\/github.com\/symplify\/skipper.git",
"reference": "d3ffe68c81f0d538c504ed1ce3f4a7853a6a96f6"
"reference": "0e427bbb28d6991d87772fef1142c2b06b1dfcc8"
},
"dist": {
"type": "zip",
"url": "https:\/\/api.github.com\/repos\/symplify\/skipper\/zipball\/d3ffe68c81f0d538c504ed1ce3f4a7853a6a96f6",
"reference": "d3ffe68c81f0d538c504ed1ce3f4a7853a6a96f6",
"url": "https:\/\/api.github.com\/repos\/symplify\/skipper\/zipball\/0e427bbb28d6991d87772fef1142c2b06b1dfcc8",
"reference": "0e427bbb28d6991d87772fef1142c2b06b1dfcc8",
"shasum": ""
},
"require": {
@ -4348,14 +4348,14 @@
"symfony\/dependency-injection": "^5.3",
"symfony\/filesystem": "^5.3",
"symfony\/finder": "^5.3",
"symplify\/package-builder": "^9.4.14",
"symplify\/smart-file-system": "^9.4.14",
"symplify\/symplify-kernel": "^9.4.14"
"symplify\/package-builder": "^9.4.15",
"symplify\/smart-file-system": "^9.4.15",
"symplify\/symplify-kernel": "^9.4.15"
},
"require-dev": {
"phpunit\/phpunit": "^9.5"
},
"time": "2021-07-07T23:34:30+00:00",
"time": "2021-07-08T12:03:50+00:00",
"type": "library",
"extra": {
"branch-alias": {
@ -4374,7 +4374,7 @@
],
"description": "Skip files by rule class, directory, file or fnmatch",
"support": {
"source": "https:\/\/github.com\/symplify\/skipper\/tree\/9.4.14"
"source": "https:\/\/github.com\/symplify\/skipper\/tree\/9.4.15"
},
"funding": [
{
@ -4390,8 +4390,8 @@
},
{
"name": "symplify\/smart-file-system",
"version": "9.4.14",
"version_normalized": "9.4.14.0",
"version": "9.4.15",
"version_normalized": "9.4.15.0",
"source": {
"type": "git",
"url": "https:\/\/github.com\/symplify\/smart-file-system.git",
@ -4432,7 +4432,7 @@
],
"description": "Sanitized FileInfo with safe getRealPath() and other handy methods",
"support": {
"source": "https:\/\/github.com\/symplify\/smart-file-system\/tree\/9.4.14"
"source": "https:\/\/github.com\/symplify\/smart-file-system\/tree\/9.4.15"
},
"funding": [
{
@ -4448,31 +4448,31 @@
},
{
"name": "symplify\/symfony-php-config",
"version": "9.4.14",
"version_normalized": "9.4.14.0",
"version": "9.4.15",
"version_normalized": "9.4.15.0",
"source": {
"type": "git",
"url": "https:\/\/github.com\/symplify\/symfony-php-config.git",
"reference": "9cde7bf82d0790b9534919247efbab1d59ab52de"
"reference": "f410daf8ed8694162008d8360cde49e88af65a1e"
},
"dist": {
"type": "zip",
"url": "https:\/\/api.github.com\/repos\/symplify\/symfony-php-config\/zipball\/9cde7bf82d0790b9534919247efbab1d59ab52de",
"reference": "9cde7bf82d0790b9534919247efbab1d59ab52de",
"url": "https:\/\/api.github.com\/repos\/symplify\/symfony-php-config\/zipball\/f410daf8ed8694162008d8360cde49e88af65a1e",
"reference": "f410daf8ed8694162008d8360cde49e88af65a1e",
"shasum": ""
},
"require": {
"php": ">=8.0",
"symfony\/dependency-injection": "^5.3",
"symplify\/package-builder": "^9.4.14",
"symplify\/symplify-kernel": "^9.4.14"
"symplify\/package-builder": "^9.4.15",
"symplify\/symplify-kernel": "^9.4.15"
},
"require-dev": {
"phpstan\/phpstan": "^0.12.91",
"phpunit\/phpunit": "^9.5",
"symfony\/http-kernel": "^5.3"
},
"time": "2021-07-07T23:34:53+00:00",
"time": "2021-07-08T12:03:58+00:00",
"type": "library",
"extra": {
"branch-alias": {
@ -4491,23 +4491,23 @@
],
"description": "Tools that easy work with Symfony PHP Configs",
"support": {
"source": "https:\/\/github.com\/symplify\/symfony-php-config\/tree\/9.4.14"
"source": "https:\/\/github.com\/symplify\/symfony-php-config\/tree\/9.4.15"
},
"install-path": "..\/symplify\/symfony-php-config"
},
{
"name": "symplify\/symplify-kernel",
"version": "9.4.14",
"version_normalized": "9.4.14.0",
"version": "9.4.15",
"version_normalized": "9.4.15.0",
"source": {
"type": "git",
"url": "https:\/\/github.com\/symplify\/symplify-kernel.git",
"reference": "3137d96c35c30f1e14aa0884376fdfc4f445603e"
"reference": "4238e10306ddfb1044e62c39c19fd68165b7fcd9"
},
"dist": {
"type": "zip",
"url": "https:\/\/api.github.com\/repos\/symplify\/symplify-kernel\/zipball\/3137d96c35c30f1e14aa0884376fdfc4f445603e",
"reference": "3137d96c35c30f1e14aa0884376fdfc4f445603e",
"url": "https:\/\/api.github.com\/repos\/symplify\/symplify-kernel\/zipball\/4238e10306ddfb1044e62c39c19fd68165b7fcd9",
"reference": "4238e10306ddfb1044e62c39c19fd68165b7fcd9",
"shasum": ""
},
"require": {
@ -4515,15 +4515,15 @@
"symfony\/console": "^5.3",
"symfony\/dependency-injection": "^5.3",
"symfony\/http-kernel": "^5.3",
"symplify\/autowire-array-parameter": "^9.4.14",
"symplify\/composer-json-manipulator": "^9.4.14",
"symplify\/package-builder": "^9.4.14",
"symplify\/smart-file-system": "^9.4.14"
"symplify\/autowire-array-parameter": "^9.4.15",
"symplify\/composer-json-manipulator": "^9.4.15",
"symplify\/package-builder": "^9.4.15",
"symplify\/smart-file-system": "^9.4.15"
},
"require-dev": {
"phpunit\/phpunit": "^9.5"
},
"time": "2021-07-07T23:35:10+00:00",
"time": "2021-07-08T12:04:21+00:00",
"type": "library",
"extra": {
"branch-alias": {
@ -4542,23 +4542,23 @@
],
"description": "Internal Kernel for Symplify packages",
"support": {
"source": "https:\/\/github.com\/symplify\/symplify-kernel\/tree\/9.4.14"
"source": "https:\/\/github.com\/symplify\/symplify-kernel\/tree\/9.4.15"
},
"install-path": "..\/symplify\/symplify-kernel"
},
{
"name": "symplify\/vendor-patches",
"version": "9.4.14",
"version_normalized": "9.4.14.0",
"version": "9.4.15",
"version_normalized": "9.4.15.0",
"source": {
"type": "git",
"url": "https:\/\/github.com\/symplify\/vendor-patches.git",
"reference": "39b0f8151d893395980b28074f7dbbb058bb0c13"
"reference": "c2094d7f7c94afe6f4152cd6cb14a32807ff69b3"
},
"dist": {
"type": "zip",
"url": "https:\/\/api.github.com\/repos\/symplify\/vendor-patches\/zipball\/39b0f8151d893395980b28074f7dbbb058bb0c13",
"reference": "39b0f8151d893395980b28074f7dbbb058bb0c13",
"url": "https:\/\/api.github.com\/repos\/symplify\/vendor-patches\/zipball\/c2094d7f7c94afe6f4152cd6cb14a32807ff69b3",
"reference": "c2094d7f7c94afe6f4152cd6cb14a32807ff69b3",
"shasum": ""
},
"require": {
@ -4569,13 +4569,13 @@
"symfony\/console": "^5.3",
"symfony\/dependency-injection": "^5.3",
"symfony\/http-kernel": "^5.3",
"symplify\/composer-json-manipulator": "^9.4.14",
"symplify\/symplify-kernel": "^9.4.14"
"symplify\/composer-json-manipulator": "^9.4.15",
"symplify\/symplify-kernel": "^9.4.15"
},
"require-dev": {
"phpunit\/phpunit": "^9.5"
},
"time": "2021-07-07T23:34:54+00:00",
"time": "2021-07-08T12:04:17+00:00",
"bin": [
"bin\/vendor-patches"
],
@ -4597,7 +4597,7 @@
],
"description": "Generate vendor patches for packages with single command",
"support": {
"source": "https:\/\/github.com\/symplify\/vendor-patches\/tree\/9.4.14"
"source": "https:\/\/github.com\/symplify\/vendor-patches\/tree\/9.4.15"
},
"install-path": "..\/symplify\/vendor-patches"
},

File diff suppressed because one or more lines are too long

View File

@ -21,6 +21,7 @@ abstract class GenericLanguageInflectorFactory implements \RectorPrefix20210708\
return new \RectorPrefix20210708\Doctrine\Inflector\Inflector(new \RectorPrefix20210708\Doctrine\Inflector\CachedWordInflector(new \RectorPrefix20210708\Doctrine\Inflector\RulesetInflector(...$this->singularRulesets)), new \RectorPrefix20210708\Doctrine\Inflector\CachedWordInflector(new \RectorPrefix20210708\Doctrine\Inflector\RulesetInflector(...$this->pluralRulesets)));
}
/**
* @return
* @param \Doctrine\Inflector\Rules\Ruleset|null $singularRules
* @param bool $reset
*/
@ -35,6 +36,7 @@ abstract class GenericLanguageInflectorFactory implements \RectorPrefix20210708\
return $this;
}
/**
* @return
* @param \Doctrine\Inflector\Rules\Ruleset|null $pluralRules
* @param bool $reset
*/

View File

@ -9,7 +9,7 @@ namespace Rector\RectorInstaller;
*/
final class GeneratedConfig
{
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' => '0.11.3'), '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' => '0.11.11'), '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' => '0.11.4'), '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' => '0.11.15'), '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' => '0.11.6'), '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' => '0.11.8'), '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 e75102b'));
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' => '0.11.3'), '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' => '0.11.12'), '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' => '0.11.4'), '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' => '0.11.15'), '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' => '0.11.6'), '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' => '0.11.8'), '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 e75102b'));
private function __construct()
{
}

View File

@ -9,8 +9,8 @@ $loader = require_once __DIR__.'/autoload.php';
if (!class_exists('AutoloadIncluder', false) && !interface_exists('AutoloadIncluder', false) && !trait_exists('AutoloadIncluder', false)) {
spl_autoload_call('RectorPrefix20210708\AutoloadIncluder');
}
if (!class_exists('ComposerAutoloaderInit8b4cd83fbe1cbaded6914d06ef308b75', false) && !interface_exists('ComposerAutoloaderInit8b4cd83fbe1cbaded6914d06ef308b75', false) && !trait_exists('ComposerAutoloaderInit8b4cd83fbe1cbaded6914d06ef308b75', false)) {
spl_autoload_call('RectorPrefix20210708\ComposerAutoloaderInit8b4cd83fbe1cbaded6914d06ef308b75');
if (!class_exists('ComposerAutoloaderInitec1756b7016cb728d5c640c220314df9', false) && !interface_exists('ComposerAutoloaderInitec1756b7016cb728d5c640c220314df9', false) && !trait_exists('ComposerAutoloaderInitec1756b7016cb728d5c640c220314df9', false)) {
spl_autoload_call('RectorPrefix20210708\ComposerAutoloaderInitec1756b7016cb728d5c640c220314df9');
}
if (!class_exists('Doctrine\Inflector\Inflector', false) && !interface_exists('Doctrine\Inflector\Inflector', false) && !trait_exists('Doctrine\Inflector\Inflector', false)) {
spl_autoload_call('RectorPrefix20210708\Doctrine\Inflector\Inflector');
@ -3308,9 +3308,9 @@ if (!function_exists('print_node')) {
return \RectorPrefix20210708\print_node(...func_get_args());
}
}
if (!function_exists('composerRequire8b4cd83fbe1cbaded6914d06ef308b75')) {
function composerRequire8b4cd83fbe1cbaded6914d06ef308b75() {
return \RectorPrefix20210708\composerRequire8b4cd83fbe1cbaded6914d06ef308b75(...func_get_args());
if (!function_exists('composerRequireec1756b7016cb728d5c640c220314df9')) {
function composerRequireec1756b7016cb728d5c640c220314df9() {
return \RectorPrefix20210708\composerRequireec1756b7016cb728d5c640c220314df9(...func_get_args());
}
}
if (!function_exists('parseArgs')) {

View File

@ -6,13 +6,13 @@
"php": ">=8.0",
"nette\/utils": "^3.2",
"symfony\/dependency-injection": "^5.3",
"symplify\/autowire-array-parameter": "^9.4.14",
"symplify\/autowire-array-parameter": "^9.4.15",
"symfony\/http-kernel": "^5.3",
"nikic\/php-parser": "^4.11",
"symplify\/package-builder": "^9.4.14"
"symplify\/package-builder": "^9.4.15"
},
"require-dev": {
"symplify\/easy-testing": "^9.4.14",
"symplify\/easy-testing": "^9.4.15",
"phpunit\/phpunit": "^9.5"
},
"autoload": {

View File

@ -16,6 +16,9 @@ final class AstralBundle extends \RectorPrefix20210708\Symfony\Component\HttpKer
{
$containerBuilder->addCompilerPass(new \RectorPrefix20210708\Symplify\AutowireArrayParameter\DependencyInjection\CompilerPass\AutowireArrayParameterCompilerPass());
}
/**
* @return
*/
protected function createContainerExtension() : ?\RectorPrefix20210708\Symfony\Component\DependencyInjection\Extension\ExtensionInterface
{
return new \RectorPrefix20210708\Symplify\Astral\DependencyInjection\Extension\AstralExtension();

View File

@ -6,7 +6,7 @@
"php": ">=8.0",
"nette\/utils": "^3.2",
"symfony\/dependency-injection": "^5.3",
"symplify\/package-builder": "^9.4.14"
"symplify\/package-builder": "^9.4.15"
},
"require-dev": {
"phpunit\/phpunit": "^9.5"

View File

@ -10,8 +10,8 @@
"symfony\/dependency-injection": "^5.3",
"symfony\/filesystem": "^5.3",
"symfony\/http-kernel": "^5.3",
"symplify\/package-builder": "^9.4.14",
"symplify\/smart-file-system": "^9.4.14"
"symplify\/package-builder": "^9.4.15",
"symplify\/smart-file-system": "^9.4.15"
},
"require-dev": {
"phpunit\/phpunit": "^9.5"

View File

@ -7,6 +7,9 @@ use RectorPrefix20210708\Symfony\Component\HttpKernel\Bundle\Bundle;
use RectorPrefix20210708\Symplify\ComposerJsonManipulator\DependencyInjection\Extension\ComposerJsonManipulatorExtension;
final class ComposerJsonManipulatorBundle extends \RectorPrefix20210708\Symfony\Component\HttpKernel\Bundle\Bundle
{
/**
* @return
*/
protected function createContainerExtension() : ?\RectorPrefix20210708\Symfony\Component\DependencyInjection\Extension\ExtensionInterface
{
return new \RectorPrefix20210708\Symplify\ComposerJsonManipulator\DependencyInjection\Extension\ComposerJsonManipulatorExtension();

View File

@ -9,7 +9,7 @@
"sebastian\/diff": "^4.0",
"symfony\/dependency-injection": "^5.3",
"symfony\/http-kernel": "^5.3",
"symplify\/package-builder": "^9.4.14"
"symplify\/package-builder": "^9.4.15"
},
"require-dev": {
"phpunit\/phpunit": "^9.5"

View File

@ -7,6 +7,9 @@ use RectorPrefix20210708\Symfony\Component\HttpKernel\Bundle\Bundle;
use RectorPrefix20210708\Symplify\ConsoleColorDiff\DependencyInjection\Extension\ConsoleColorDiffExtension;
final class ConsoleColorDiffBundle extends \RectorPrefix20210708\Symfony\Component\HttpKernel\Bundle\Bundle
{
/**
* @return
*/
protected function createContainerExtension() : ?\RectorPrefix20210708\Symfony\Component\DependencyInjection\Extension\ExtensionInterface
{
return new \RectorPrefix20210708\Symplify\ConsoleColorDiff\DependencyInjection\Extension\ConsoleColorDiffExtension();

View File

@ -6,11 +6,11 @@
"php": ">=8.0",
"symfony\/dependency-injection": "^5.3",
"symfony\/console": "^5.3",
"symplify\/symplify-kernel": "^9.4.14"
"symplify\/symplify-kernel": "^9.4.15"
},
"require-dev": {
"symfony\/http-kernel": "^5.3",
"symplify\/package-builder": "^9.4.14",
"symplify\/package-builder": "^9.4.15",
"phpunit\/phpunit": "^9.5"
},
"autoload": {

View File

@ -13,10 +13,10 @@
"symfony\/http-kernel": "^5.3",
"symfony\/console": "^5.3",
"symfony\/dependency-injection": "^5.3",
"symplify\/package-builder": "^9.4.14",
"symplify\/console-package-builder": "^9.4.14",
"symplify\/smart-file-system": "^9.4.14",
"symplify\/symplify-kernel": "^9.4.14"
"symplify\/package-builder": "^9.4.15",
"symplify\/console-package-builder": "^9.4.15",
"symplify\/smart-file-system": "^9.4.15",
"symplify\/symplify-kernel": "^9.4.15"
},
"require-dev": {
"phpunit\/phpunit": "^9.5"

View File

@ -10,8 +10,8 @@
"symfony\/dependency-injection": "^5.3",
"symfony\/finder": "^5.3",
"symfony\/http-kernel": "^5.3",
"symplify\/symplify-kernel": "^9.4.14",
"symplify\/easy-testing": "^9.4.14",
"symplify\/symplify-kernel": "^9.4.15",
"symplify\/easy-testing": "^9.4.15",
"nette\/neon": "^3.2"
},
"require-dev": {

View File

@ -8,11 +8,11 @@
"symfony\/dependency-injection": "^5.3",
"symfony\/config": "^5.3",
"symfony\/http-kernel": "^5.3",
"symplify\/package-builder": "^9.4.14"
"symplify\/package-builder": "^9.4.15"
},
"require-dev": {
"phpunit\/phpunit": "^9.5",
"symplify\/easy-testing": "^9.4.14"
"symplify\/easy-testing": "^9.4.15"
},
"autoload": {
"psr-4": {

View File

@ -14,6 +14,9 @@ interface PhpDocNodeVisitorInterface
* @return int|Node|null
*/
public function enterNode(\PHPStan\PhpDocParser\Ast\Node $node);
public function leaveNode(\PHPStan\PhpDocParser\Ast\Node $node) : void;
/**
* @return null|int|\PhpParser\Node|Node[] Replacement node (or special return)
*/
public function leaveNode(\PHPStan\PhpDocParser\Ast\Node $node);
public function afterTraverse(\PHPStan\PhpDocParser\Ast\Node $node) : void;
}

View File

@ -4,7 +4,6 @@ declare (strict_types=1);
namespace RectorPrefix20210708\Symplify\SimplePhpDocParser;
use PHPStan\PhpDocParser\Ast\Node;
use PHPStan\PhpDocParser\Ast\PhpDoc\PhpDocTagValueNode;
use RectorPrefix20210708\Symplify\SimplePhpDocParser\Contract\PhpDocNodeVisitorInterface;
use RectorPrefix20210708\Symplify\SimplePhpDocParser\Exception\InvalidTraverseException;
use RectorPrefix20210708\Symplify\SimplePhpDocParser\PhpDocNodeVisitor\CallablePhpDocNodeVisitor;
@ -17,11 +16,46 @@ use RectorPrefix20210708\Symplify\SimplePhpDocParser\PhpDocNodeVisitor\CallableP
final class PhpDocNodeTraverser
{
/**
* Return from enterNode() to remove node from the tree
* If NodeVisitor::enterNode() returns DONT_TRAVERSE_CHILDREN, child nodes of the current node will not be traversed
* for any visitors.
*
* For subsequent visitors enterNode() will still be called on the current node and leaveNode() will also be invoked
* for the current node.
*
* @var int
*/
public const NODE_REMOVE = 1;
public const DONT_TRAVERSE_CHILDREN = 1;
/**
* If NodeVisitor::enterNode() or NodeVisitor::leaveNode() returns STOP_TRAVERSAL, traversal is aborted.
*
* The afterTraverse() method will still be invoked.
*
* @var int
*/
public const STOP_TRAVERSAL = 2;
/**
* If NodeVisitor::leaveNode() returns NODE_REMOVE for a node that occurs in an array, it will be removed from the
* array.
*
* For subsequent visitors leaveNode() will still be invoked for the removed node.
*
* @var int
*/
public const NODE_REMOVE = 3;
/**
* If NodeVisitor::enterNode() returns DONT_TRAVERSE_CURRENT_AND_CHILDREN, child nodes of the current node will not
* be traversed for any visitors.
*
* For subsequent visitors enterNode() will not be called as well. leaveNode() will be invoked for visitors that has
* enterNode() method invoked.
*
* @var int
*/
public const DONT_TRAVERSE_CURRENT_AND_CHILDREN = 4;
/**
* @var bool Whether traversal should be stopped
*/
private $stopTraversal = \false;
/**
* @var PhpDocNodeVisitorInterface[]
*/
@ -36,9 +70,6 @@ final class PhpDocNodeTraverser
$phpDocNodeVisitor->beforeTraverse($node);
}
$node = $this->traverseNode($node);
if (\is_int($node)) {
throw new \RectorPrefix20210708\Symplify\SimplePhpDocParser\Exception\InvalidTraverseException();
}
foreach ($this->phpDocNodeVisitors as $phpDocNodeVisitor) {
$phpDocNodeVisitor->afterTraverse($node);
}
@ -53,9 +84,9 @@ final class PhpDocNodeTraverser
/**
* @template TNode of Node
* @param TNode $node
* @return \PHPStan\PhpDocParser\Ast\Node|int
* @return TNode
*/
private function traverseNode(\PHPStan\PhpDocParser\Ast\Node $node)
private function traverseNode(\PHPStan\PhpDocParser\Ast\Node $node) : \PHPStan\PhpDocParser\Ast\Node
{
$subNodeNames = \array_keys(\get_object_vars($node));
foreach ($subNodeNames as $subNodeName) {
@ -63,25 +94,40 @@ final class PhpDocNodeTraverser
if (\is_array($subNode)) {
$subNode = $this->traverseArray($subNode);
} elseif ($subNode instanceof \PHPStan\PhpDocParser\Ast\Node) {
foreach ($this->phpDocNodeVisitors as $phpDocNodeVisitor) {
$breakVisitorIndex = null;
$traverseChildren = \true;
foreach ($this->phpDocNodeVisitors as $visitorIndex => $phpDocNodeVisitor) {
$return = $phpDocNodeVisitor->enterNode($subNode);
if ($return instanceof \PHPStan\PhpDocParser\Ast\Node) {
$subNode = $return;
} elseif ($return === self::NODE_REMOVE) {
if ($subNode instanceof \PHPStan\PhpDocParser\Ast\PhpDoc\PhpDocTagValueNode) {
// we have to remove the node above
return self::NODE_REMOVE;
if ($return !== null) {
if ($return instanceof \PHPStan\PhpDocParser\Ast\Node) {
$subNode = $return;
} elseif ($return === self::DONT_TRAVERSE_CHILDREN) {
$traverseChildren = \false;
} elseif ($return === self::DONT_TRAVERSE_CURRENT_AND_CHILDREN) {
$traverseChildren = \false;
$breakVisitorIndex = $visitorIndex;
break;
} elseif ($return === self::STOP_TRAVERSAL) {
$this->stopTraversal = \true;
} elseif ($return === self::NODE_REMOVE) {
$subNode = null;
continue 2;
} else {
throw new \RectorPrefix20210708\Symplify\SimplePhpDocParser\Exception\InvalidTraverseException('enterNode() returned invalid value of type ' . \gettype($return));
}
$subNode = null;
continue 2;
}
}
$subNode = $this->traverseNode($subNode);
if (\is_int($subNode)) {
throw new \RectorPrefix20210708\Symplify\SimplePhpDocParser\Exception\InvalidTraverseException();
if ($traverseChildren) {
$subNode = $this->traverseNode($subNode);
if ($this->stopTraversal) {
break;
}
}
foreach ($this->phpDocNodeVisitors as $phpDocNodeVisitor) {
foreach ($this->phpDocNodeVisitors as $visitorIndex => $phpDocNodeVisitor) {
$phpDocNodeVisitor->leaveNode($subNode);
if ($breakVisitorIndex === $visitorIndex) {
break;
}
}
}
}
@ -98,28 +144,58 @@ final class PhpDocNodeTraverser
if (!$node instanceof \PHPStan\PhpDocParser\Ast\Node) {
continue;
}
foreach ($this->phpDocNodeVisitors as $phpDocNodeVisitor) {
$traverseChildren = \true;
$breakVisitorIndex = null;
foreach ($this->phpDocNodeVisitors as $visitorIndex => $phpDocNodeVisitor) {
$return = $phpDocNodeVisitor->enterNode($node);
if ($return instanceof \PHPStan\PhpDocParser\Ast\Node) {
$node = $return;
} elseif ($return === self::NODE_REMOVE) {
// remove node
unset($nodes[$key]);
continue 2;
if ($return !== null) {
if ($return instanceof \PHPStan\PhpDocParser\Ast\Node) {
$node = $return;
} elseif ($return === self::DONT_TRAVERSE_CHILDREN) {
$traverseChildren = \false;
} elseif ($return === self::DONT_TRAVERSE_CURRENT_AND_CHILDREN) {
$traverseChildren = \false;
$breakVisitorIndex = $visitorIndex;
break;
} elseif ($return === self::STOP_TRAVERSAL) {
$this->stopTraversal = \true;
} elseif ($return === self::NODE_REMOVE) {
// remove node
unset($nodes[$key]);
continue 2;
} else {
throw new \RectorPrefix20210708\Symplify\SimplePhpDocParser\Exception\InvalidTraverseException('enterNode() returned invalid value of type ' . \gettype($return));
}
}
}
$return = $this->traverseNode($node);
// remove value node
if ($return === self::NODE_REMOVE) {
unset($nodes[$key]);
continue;
// should traverse node childrens properties?
if ($traverseChildren) {
$node = $this->traverseNode($node);
if ($this->stopTraversal) {
break;
}
}
if (\is_int($return)) {
throw new \RectorPrefix20210708\Symplify\SimplePhpDocParser\Exception\InvalidTraverseException();
}
$node = $return;
foreach ($this->phpDocNodeVisitors as $phpDocNodeVisitor) {
$phpDocNodeVisitor->leaveNode($node);
foreach ($this->phpDocNodeVisitors as $visitorIndex => $phpDocNodeVisitor) {
$return = $phpDocNodeVisitor->leaveNode($node);
if ($return !== null) {
if ($return instanceof \PHPStan\PhpDocParser\Ast\Node) {
$node = $return;
} elseif (\is_array($return)) {
$doNodes[] = [$key, $return];
break;
} elseif ($return === self::NODE_REMOVE) {
$doNodes[] = [$key, []];
break;
} elseif ($return === self::STOP_TRAVERSAL) {
$this->stopTraversal = \true;
break 2;
} else {
throw new \RectorPrefix20210708\Symplify\SimplePhpDocParser\Exception\InvalidTraverseException('leaveNode() returned invalid value of type ' . \gettype($return));
}
}
if ($breakVisitorIndex === $visitorIndex) {
break;
}
}
}
return $nodes;

View File

@ -20,8 +20,12 @@ abstract class AbstractPhpDocNodeVisitor implements \RectorPrefix20210708\Sympli
{
return null;
}
public function leaveNode(\PHPStan\PhpDocParser\Ast\Node $node) : void
/**
* @return null|int|\PhpParser\Node|Node[] Replacement node (or special return)
*/
public function leaveNode(\PHPStan\PhpDocParser\Ast\Node $node)
{
return null;
}
public function afterTraverse(\PHPStan\PhpDocParser\Ast\Node $node) : void
{

View File

@ -32,8 +32,12 @@ final class ParentConnectingPhpDocNodeVisitor extends \RectorPrefix20210708\Symp
$this->stack[] = $node;
return $node;
}
public function leaveNode(\PHPStan\PhpDocParser\Ast\Node $node) : void
/**
* @return null|int|\PhpParser\Node|Node[] Replacement node (or special return
*/
public function leaveNode(\PHPStan\PhpDocParser\Ast\Node $node)
{
\array_pop($this->stack);
return null;
}
}

View File

@ -9,9 +9,9 @@
"symfony\/dependency-injection": "^5.3",
"symfony\/finder": "^5.3",
"symfony\/filesystem": "^5.3",
"symplify\/package-builder": "^9.4.14",
"symplify\/symplify-kernel": "^9.4.14",
"symplify\/smart-file-system": "^9.4.14"
"symplify\/package-builder": "^9.4.15",
"symplify\/symplify-kernel": "^9.4.15",
"symplify\/smart-file-system": "^9.4.15"
},
"require-dev": {
"phpunit\/phpunit": "^9.5"

View File

@ -7,6 +7,9 @@ use RectorPrefix20210708\Symfony\Component\HttpKernel\Bundle\Bundle;
use RectorPrefix20210708\Symplify\Skipper\DependencyInjection\Extension\SkipperExtension;
final class SkipperBundle extends \RectorPrefix20210708\Symfony\Component\HttpKernel\Bundle\Bundle
{
/**
* @return
*/
protected function createContainerExtension() : ?\RectorPrefix20210708\Symfony\Component\DependencyInjection\Extension\ExtensionInterface
{
return new \RectorPrefix20210708\Symplify\Skipper\DependencyInjection\Extension\SkipperExtension();

View File

@ -5,8 +5,8 @@
"require": {
"php": ">=8.0",
"symfony\/dependency-injection": "^5.3",
"symplify\/symplify-kernel": "^9.4.14",
"symplify\/package-builder": "^9.4.14"
"symplify\/symplify-kernel": "^9.4.15",
"symplify\/package-builder": "^9.4.15"
},
"require-dev": {
"symfony\/http-kernel": "^5.3",

View File

@ -7,10 +7,10 @@
"symfony\/console": "^5.3",
"symfony\/http-kernel": "^5.3",
"symfony\/dependency-injection": "^5.3",
"symplify\/smart-file-system": "^9.4.14",
"symplify\/composer-json-manipulator": "^9.4.14",
"symplify\/autowire-array-parameter": "^9.4.14",
"symplify\/package-builder": "^9.4.14"
"symplify\/smart-file-system": "^9.4.15",
"symplify\/composer-json-manipulator": "^9.4.15",
"symplify\/autowire-array-parameter": "^9.4.15",
"symplify\/package-builder": "^9.4.15"
},
"require-dev": {
"phpunit\/phpunit": "^9.5"

View File

@ -16,6 +16,9 @@ final class SymplifyKernelBundle extends \RectorPrefix20210708\Symfony\Component
{
$containerBuilder->addCompilerPass(new \RectorPrefix20210708\Symplify\AutowireArrayParameter\DependencyInjection\CompilerPass\AutowireArrayParameterCompilerPass());
}
/**
* @return
*/
protected function createContainerExtension() : ?\RectorPrefix20210708\Symfony\Component\DependencyInjection\Extension\ExtensionInterface
{
return new \RectorPrefix20210708\Symplify\SymplifyKernel\DependencyInjection\Extension\SymplifyKernelExtension();

View File

@ -13,8 +13,8 @@
"symfony\/http-kernel": "^5.3",
"sebastian\/diff": "^4.0",
"cweagans\/composer-patches": "^1.7",
"symplify\/composer-json-manipulator": "^9.4.14",
"symplify\/symplify-kernel": "^9.4.14"
"symplify\/composer-json-manipulator": "^9.4.15",
"symplify\/symplify-kernel": "^9.4.15"
},
"require-dev": {
"phpunit\/phpunit": "^9.5"