From 7a85fbdbd8ef5cd0ab423241d76d430d88444369 Mon Sep 17 00:00:00 2001 From: Tomas Votruba Date: Tue, 18 Jan 2022 10:31:57 +0000 Subject: [PATCH] Updated Rector to commit 9d781bb466dae354125382ff73302c094acf0bf1 https://github.com/rectorphp/rector-src/commit/9d781bb466dae354125382ff73302c094acf0bf1 Do not run on properties with attributes (#1694) --- ...lyPropertyWithDefaultValueToConstantRector.php | 9 ++++++++- src/Application/VersionResolver.php | 4 ++-- vendor/autoload.php | 2 +- vendor/composer/autoload_real.php | 14 +++++++------- vendor/composer/autoload_static.php | 8 ++++---- vendor/composer/installed.json | 8 ++++---- vendor/composer/installed.php | 2 +- .../extension-installer/src/GeneratedConfig.php | 2 +- .../ToManyRelationPropertyTypeResolver.php | 15 ++++++++++----- vendor/scoper-autoload.php | 10 +++++----- 10 files changed, 43 insertions(+), 31 deletions(-) diff --git a/rules/Privatization/Rector/Property/ChangeReadOnlyPropertyWithDefaultValueToConstantRector.php b/rules/Privatization/Rector/Property/ChangeReadOnlyPropertyWithDefaultValueToConstantRector.php index 661c267b65f..e39e2c39ace 100644 --- a/rules/Privatization/Rector/Property/ChangeReadOnlyPropertyWithDefaultValueToConstantRector.php +++ b/rules/Privatization/Rector/Property/ChangeReadOnlyPropertyWithDefaultValueToConstantRector.php @@ -12,6 +12,7 @@ use Rector\Core\Rector\AbstractRector; use Rector\Privatization\NodeFactory\ClassConstantFactory; use Rector\Privatization\NodeReplacer\PropertyFetchWithConstFetchReplacer; +use RectorPrefix20220118\Symplify\PHPStanRules\Reflection\PropertyAnalyzer; use Symplify\RuleDocGenerator\ValueObject\CodeSample\CodeSample; use Symplify\RuleDocGenerator\ValueObject\RuleDefinition; /** @@ -124,6 +125,12 @@ private function shouldSkip(\PhpParser\Node\Stmt\Property $property) : bool if (!$classLike instanceof \PhpParser\Node\Stmt\Class_) { return \true; } - return $this->isObjectType($classLike, new \PHPStan\Type\ObjectType('PHP_CodeSniffer\\Sniffs\\Sniff')); + if ($property->attrGroups !== []) { + return \true; + } + if ($this->isObjectType($classLike, new \PHPStan\Type\ObjectType('PHP_CodeSniffer\\Sniffs\\Sniff'))) { + return \true; + } + return \false; } } diff --git a/src/Application/VersionResolver.php b/src/Application/VersionResolver.php index 42eeb5a8efd..e0aaef45128 100644 --- a/src/Application/VersionResolver.php +++ b/src/Application/VersionResolver.php @@ -16,11 +16,11 @@ final class VersionResolver /** * @var string */ - public const PACKAGE_VERSION = '1c7460bcfc2201edd90ab0e7bae066ed53980b2f'; + public const PACKAGE_VERSION = '9d781bb466dae354125382ff73302c094acf0bf1'; /** * @var string */ - public const RELEASE_DATE = '2022-01-18 08:47:31'; + public const RELEASE_DATE = '2022-01-18 11:23:54'; public static function resolvePackageVersion() : string { $process = new \RectorPrefix20220118\Symfony\Component\Process\Process(['git', 'log', '--pretty="%H"', '-n1', 'HEAD'], __DIR__); diff --git a/vendor/autoload.php b/vendor/autoload.php index 4addd1783a3..b9bdfb9a5e7 100644 --- a/vendor/autoload.php +++ b/vendor/autoload.php @@ -4,4 +4,4 @@ require_once __DIR__ . '/composer/autoload_real.php'; -return ComposerAutoloaderInit88019c3ee5c40b6181ed2f3b73650f4c::getLoader(); +return ComposerAutoloaderInit1a7fdf2dc5a09523f3e07d3a96ae45ee::getLoader(); diff --git a/vendor/composer/autoload_real.php b/vendor/composer/autoload_real.php index 62b2d9465b5..142564e8fa5 100644 --- a/vendor/composer/autoload_real.php +++ b/vendor/composer/autoload_real.php @@ -2,7 +2,7 @@ // autoload_real.php @generated by Composer -class ComposerAutoloaderInit88019c3ee5c40b6181ed2f3b73650f4c +class ComposerAutoloaderInit1a7fdf2dc5a09523f3e07d3a96ae45ee { private static $loader; @@ -22,15 +22,15 @@ public static function getLoader() return self::$loader; } - spl_autoload_register(array('ComposerAutoloaderInit88019c3ee5c40b6181ed2f3b73650f4c', 'loadClassLoader'), true, true); + spl_autoload_register(array('ComposerAutoloaderInit1a7fdf2dc5a09523f3e07d3a96ae45ee', 'loadClassLoader'), true, true); self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(\dirname(__FILE__))); - spl_autoload_unregister(array('ComposerAutoloaderInit88019c3ee5c40b6181ed2f3b73650f4c', 'loadClassLoader')); + spl_autoload_unregister(array('ComposerAutoloaderInit1a7fdf2dc5a09523f3e07d3a96ae45ee', '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\ComposerStaticInit88019c3ee5c40b6181ed2f3b73650f4c::getInitializer($loader)); + call_user_func(\Composer\Autoload\ComposerStaticInit1a7fdf2dc5a09523f3e07d3a96ae45ee::getInitializer($loader)); } else { $classMap = require __DIR__ . '/autoload_classmap.php'; if ($classMap) { @@ -42,12 +42,12 @@ public static function getLoader() $loader->register(true); if ($useStaticLoader) { - $includeFiles = Composer\Autoload\ComposerStaticInit88019c3ee5c40b6181ed2f3b73650f4c::$files; + $includeFiles = Composer\Autoload\ComposerStaticInit1a7fdf2dc5a09523f3e07d3a96ae45ee::$files; } else { $includeFiles = require __DIR__ . '/autoload_files.php'; } foreach ($includeFiles as $fileIdentifier => $file) { - composerRequire88019c3ee5c40b6181ed2f3b73650f4c($fileIdentifier, $file); + composerRequire1a7fdf2dc5a09523f3e07d3a96ae45ee($fileIdentifier, $file); } return $loader; @@ -59,7 +59,7 @@ public static function getLoader() * @param string $file * @return void */ -function composerRequire88019c3ee5c40b6181ed2f3b73650f4c($fileIdentifier, $file) +function composerRequire1a7fdf2dc5a09523f3e07d3a96ae45ee($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 632b0d88697..d76b11be140 100644 --- a/vendor/composer/autoload_static.php +++ b/vendor/composer/autoload_static.php @@ -4,7 +4,7 @@ namespace Composer\Autoload; -class ComposerStaticInit88019c3ee5c40b6181ed2f3b73650f4c +class ComposerStaticInit1a7fdf2dc5a09523f3e07d3a96ae45ee { public static $files = array ( '0e6d7bf4a5811bfa5cf40c5ccd6fae6a' => __DIR__ . '/..' . '/symfony/polyfill-mbstring/bootstrap.php', @@ -3870,9 +3870,9 @@ class ComposerStaticInit88019c3ee5c40b6181ed2f3b73650f4c public static function getInitializer(ClassLoader $loader) { return \Closure::bind(function () use ($loader) { - $loader->prefixLengthsPsr4 = ComposerStaticInit88019c3ee5c40b6181ed2f3b73650f4c::$prefixLengthsPsr4; - $loader->prefixDirsPsr4 = ComposerStaticInit88019c3ee5c40b6181ed2f3b73650f4c::$prefixDirsPsr4; - $loader->classMap = ComposerStaticInit88019c3ee5c40b6181ed2f3b73650f4c::$classMap; + $loader->prefixLengthsPsr4 = ComposerStaticInit1a7fdf2dc5a09523f3e07d3a96ae45ee::$prefixLengthsPsr4; + $loader->prefixDirsPsr4 = ComposerStaticInit1a7fdf2dc5a09523f3e07d3a96ae45ee::$prefixDirsPsr4; + $loader->classMap = ComposerStaticInit1a7fdf2dc5a09523f3e07d3a96ae45ee::$classMap; }, null, ClassLoader::class); } diff --git a/vendor/composer/installed.json b/vendor/composer/installed.json index 260ba057203..f31e42a5f74 100644 --- a/vendor/composer/installed.json +++ b/vendor/composer/installed.json @@ -2165,12 +2165,12 @@ "source": { "type": "git", "url": "https:\/\/github.com\/rectorphp\/rector-doctrine.git", - "reference": "2b82f7eba4ec9c9a3059076a2dc176310aa5a274" + "reference": "22517c3f026c0e938fe0132c2d50af7c10168bac" }, "dist": { "type": "zip", - "url": "https:\/\/api.github.com\/repos\/rectorphp\/rector-doctrine\/zipball\/2b82f7eba4ec9c9a3059076a2dc176310aa5a274", - "reference": "2b82f7eba4ec9c9a3059076a2dc176310aa5a274", + "url": "https:\/\/api.github.com\/repos\/rectorphp\/rector-doctrine\/zipball\/22517c3f026c0e938fe0132c2d50af7c10168bac", + "reference": "22517c3f026c0e938fe0132c2d50af7c10168bac", "shasum": "" }, "require": { @@ -2195,7 +2195,7 @@ "symplify\/rule-doc-generator": "^10.0", "symplify\/vendor-patches": "^10.0" }, - "time": "2022-01-17T15:16:46+00:00", + "time": "2022-01-18T08:36:41+00:00", "default-branch": true, "type": "rector-extension", "extra": { diff --git a/vendor/composer/installed.php b/vendor/composer/installed.php index 000ce7ee118..c043d34f289 100644 --- a/vendor/composer/installed.php +++ b/vendor/composer/installed.php @@ -2,4 +2,4 @@ namespace RectorPrefix20220118; -return array('root' => array('pretty_version' => 'dev-main', 'version' => 'dev-main', 'type' => 'library', 'install_path' => __DIR__ . '/../../', 'aliases' => array(0 => '0.12.x-dev'), 'reference' => \NULL, 'name' => 'rector/rector-src', 'dev' => \false), 'versions' => array('clue/ndjson-react' => array('pretty_version' => 'v1.2.0', 'version' => '1.2.0.0', 'type' => 'library', 'install_path' => __DIR__ . '/../clue/ndjson-react', 'aliases' => array(), 'reference' => '708411c7e45ac85371a99d50f52284971494bede', 'dev_requirement' => \false), 'composer/pcre' => array('pretty_version' => '1.0.0', 'version' => '1.0.0.0', 'type' => 'library', 'install_path' => __DIR__ . '/./pcre', 'aliases' => array(), 'reference' => '3d322d715c43a1ac36c7fe215fa59336265500f2', 'dev_requirement' => \false), 'composer/semver' => array('pretty_version' => '3.2.7', 'version' => '3.2.7.0', 'type' => 'library', 'install_path' => __DIR__ . '/./semver', 'aliases' => array(), 'reference' => 'deac27056b57e46faf136fae7b449eeaa71661ee', 'dev_requirement' => \false), 'composer/xdebug-handler' => array('pretty_version' => '2.0.4', 'version' => '2.0.4.0', 'type' => 'library', 'install_path' => __DIR__ . '/./xdebug-handler', 'aliases' => array(), 'reference' => '0c1a3925ec58a4ec98e992b9c7d171e9e184be0a', 'dev_requirement' => \false), 'cweagans/composer-patches' => array('pretty_version' => '1.7.1', 'version' => '1.7.1.0', 'type' => 'composer-plugin', 'install_path' => __DIR__ . '/../cweagans/composer-patches', 'aliases' => array(), 'reference' => '9888dcc74993c030b75f3dd548bb5e20cdbd740c', 'dev_requirement' => \false), 'doctrine/inflector' => array('pretty_version' => '2.0.4', 'version' => '2.0.4.0', 'type' => 'library', 'install_path' => __DIR__ . '/../doctrine/inflector', 'aliases' => array(), 'reference' => '8b7ff3e4b7de6b2c84da85637b59fd2880ecaa89', 'dev_requirement' => \false), 'ergebnis/json-printer' => array('pretty_version' => '3.2.0', 'version' => '3.2.0.0', 'type' => 'library', 'install_path' => __DIR__ . '/../ergebnis/json-printer', 'aliases' => array(), 'reference' => '651cab2b7604a6b338d0d16749f5ea0851a68005', 'dev_requirement' => \false), 'evenement/evenement' => array('pretty_version' => 'v3.0.1', 'version' => '3.0.1.0', 'type' => 'library', 'install_path' => __DIR__ . '/../evenement/evenement', 'aliases' => array(), 'reference' => '531bfb9d15f8aa57454f5f0285b18bec903b8fb7', 'dev_requirement' => \false), 'helmich/typo3-typoscript-parser' => array('pretty_version' => 'dev-master', 'version' => 'dev-master', 'type' => 'library', 'install_path' => __DIR__ . '/../helmich/typo3-typoscript-parser', 'aliases' => array(0 => '9999999-dev'), 'reference' => '0ccb3a6', 'dev_requirement' => \false), 'idiosyncratic/editorconfig' => array('pretty_version' => '0.1.3', 'version' => '0.1.3.0', 'type' => 'library', 'install_path' => __DIR__ . '/../idiosyncratic/editorconfig', 'aliases' => array(), 'reference' => '3445fa4a1e00f95630d4edc729c2effb116db19b', 'dev_requirement' => \false), 'myclabs/php-enum' => array('pretty_version' => '1.8.3', 'version' => '1.8.3.0', 'type' => 'library', 'install_path' => __DIR__ . '/../myclabs/php-enum', 'aliases' => array(), 'reference' => 'b942d263c641ddb5190929ff840c68f78713e937', 'dev_requirement' => \false), 'nette/neon' => array('pretty_version' => 'v3.3.2', 'version' => '3.3.2.0', 'type' => 'library', 'install_path' => __DIR__ . '/../nette/neon', 'aliases' => array(), 'reference' => '54b287d8c2cdbe577b02e28ca1713e275b05ece2', 'dev_requirement' => \false), 'nette/utils' => array('pretty_version' => 'v3.2.6', 'version' => '3.2.6.0', 'type' => 'library', 'install_path' => __DIR__ . '/../nette/utils', 'aliases' => array(), 'reference' => '2f261e55bd6a12057442045bf2c249806abc1d02', 'dev_requirement' => \false), 'nikic/php-parser' => array('pretty_version' => 'v4.13.2', 'version' => '4.13.2.0', 'type' => 'library', 'install_path' => __DIR__ . '/../nikic/php-parser', 'aliases' => array(), 'reference' => '210577fe3cf7badcc5814d99455df46564f3c077', 'dev_requirement' => \false), 'phpstan/phpdoc-parser' => array('pretty_version' => '1.2.0', 'version' => '1.2.0.0', 'type' => 'library', 'install_path' => __DIR__ . '/../phpstan/phpdoc-parser', 'aliases' => array(), 'reference' => 'dbc093d7af60eff5cd575d2ed761b15ed40bd08e', 'dev_requirement' => \false), 'phpstan/phpstan' => array('pretty_version' => '1.4.1', 'version' => '1.4.1.0', 'type' => 'library', 'install_path' => __DIR__ . '/../phpstan/phpstan', 'aliases' => array(), 'reference' => '5bd02c86beb4c024dd4662b6443f5d5332a0ae12', 'dev_requirement' => \false), 'phpstan/phpstan-phpunit' => array('pretty_version' => '1.0.0', 'version' => '1.0.0.0', 'type' => 'phpstan-extension', 'install_path' => __DIR__ . '/../phpstan/phpstan-phpunit', 'aliases' => array(), 'reference' => '9eb88c9f689003a8a2a5ae9e010338ee94dc39b3', 'dev_requirement' => \false), 'psr/cache' => array('pretty_version' => '3.0.0', 'version' => '3.0.0.0', 'type' => 'library', 'install_path' => __DIR__ . '/../psr/cache', 'aliases' => array(), 'reference' => 'aa5030cfa5405eccfdcb1083ce040c2cb8d253bf', 'dev_requirement' => \false), 'psr/container' => array('pretty_version' => '1.1.2', 'version' => '1.1.2.0', 'type' => 'library', 'install_path' => __DIR__ . '/../psr/container', 'aliases' => array(), 'reference' => '513e0666f7216c7459170d56df27dfcefe1689ea', 'dev_requirement' => \false), 'psr/container-implementation' => array('dev_requirement' => \false, 'provided' => array(0 => '1.0')), 'psr/event-dispatcher' => array('pretty_version' => '1.0.0', 'version' => '1.0.0.0', 'type' => 'library', 'install_path' => __DIR__ . '/../psr/event-dispatcher', 'aliases' => array(), 'reference' => 'dbefd12671e8a14ec7f180cab83036ed26714bb0', 'dev_requirement' => \false), 'psr/http-message' => array('pretty_version' => '1.0.1', 'version' => '1.0.1.0', 'type' => 'library', 'install_path' => __DIR__ . '/../psr/http-message', 'aliases' => array(), 'reference' => 'f6561bf28d520154e4b0ec72be95418abe6d9363', 'dev_requirement' => \false), 'psr/log' => array('pretty_version' => '2.0.0', 'version' => '2.0.0.0', 'type' => 'library', 'install_path' => __DIR__ . '/../psr/log', 'aliases' => array(), 'reference' => 'ef29f6d262798707a9edd554e2b82517ef3a9376', 'dev_requirement' => \false), 'psr/log-implementation' => array('dev_requirement' => \false, 'provided' => array(0 => '1.0|2.0|3.0')), 'react/cache' => array('pretty_version' => 'v1.1.1', 'version' => '1.1.1.0', 'type' => 'library', 'install_path' => __DIR__ . '/../react/cache', 'aliases' => array(), 'reference' => '4bf736a2cccec7298bdf745db77585966fc2ca7e', 'dev_requirement' => \false), 'react/child-process' => array('pretty_version' => 'v0.6.4', 'version' => '0.6.4.0', 'type' => 'library', 'install_path' => __DIR__ . '/../react/child-process', 'aliases' => array(), 'reference' => 'a778f3fb828d68caf8a9ab6567fd8342a86f12fe', 'dev_requirement' => \false), 'react/dns' => array('pretty_version' => 'v1.9.0', 'version' => '1.9.0.0', 'type' => 'library', 'install_path' => __DIR__ . '/../react/dns', 'aliases' => array(), 'reference' => '6d38296756fa644e6cb1bfe95eff0f9a4ed6edcb', 'dev_requirement' => \false), 'react/event-loop' => array('pretty_version' => 'v1.2.0', 'version' => '1.2.0.0', 'type' => 'library', 'install_path' => __DIR__ . '/../react/event-loop', 'aliases' => array(), 'reference' => 'be6dee480fc4692cec0504e65eb486e3be1aa6f2', 'dev_requirement' => \false), 'react/promise' => array('pretty_version' => 'v2.8.0', 'version' => '2.8.0.0', 'type' => 'library', 'install_path' => __DIR__ . '/../react/promise', 'aliases' => array(), 'reference' => 'f3cff96a19736714524ca0dd1d4130de73dbbbc4', 'dev_requirement' => \false), 'react/promise-timer' => array('pretty_version' => 'v1.8.0', 'version' => '1.8.0.0', 'type' => 'library', 'install_path' => __DIR__ . '/../react/promise-timer', 'aliases' => array(), 'reference' => '0bbbcc79589e5bfdddba68a287f1cb805581a479', 'dev_requirement' => \false), 'react/socket' => array('pretty_version' => 'v1.11.0', 'version' => '1.11.0.0', 'type' => 'library', 'install_path' => __DIR__ . '/../react/socket', 'aliases' => array(), 'reference' => 'f474156aaab4f09041144fa8b57c7d70aed32a1c', 'dev_requirement' => \false), 'react/stream' => array('pretty_version' => 'v1.2.0', 'version' => '1.2.0.0', 'type' => 'library', 'install_path' => __DIR__ . '/../react/stream', 'aliases' => array(), 'reference' => '7a423506ee1903e89f1e08ec5f0ed430ff784ae9', 'dev_requirement' => \false), 'rector/extension-installer' => array('pretty_version' => '0.11.1', 'version' => '0.11.1.0', 'type' => 'composer-plugin', 'install_path' => __DIR__ . '/../rector/extension-installer', 'aliases' => array(), 'reference' => '527fcbd19f7aeb79a6fd043e1edfeab7831b59af', 'dev_requirement' => \false), 'rector/rector' => array('dev_requirement' => \false, 'replaced' => array(0 => '0.12.x-dev', 1 => 'dev-main')), 'rector/rector-cakephp' => array('pretty_version' => 'dev-main', 'version' => 'dev-main', 'type' => 'rector-extension', 'install_path' => __DIR__ . '/../rector/rector-cakephp', 'aliases' => array(0 => '0.11.x-dev'), 'reference' => 'd1fa93dbf332a0170deaf37467b40735727003fb', 'dev_requirement' => \false), 'rector/rector-doctrine' => array('pretty_version' => 'dev-main', 'version' => 'dev-main', 'type' => 'rector-extension', 'install_path' => __DIR__ . '/../rector/rector-doctrine', 'aliases' => array(0 => '0.11.x-dev'), 'reference' => '2b82f7eba4ec9c9a3059076a2dc176310aa5a274', 'dev_requirement' => \false), 'rector/rector-generator' => array('pretty_version' => 'dev-main', 'version' => 'dev-main', 'type' => 'rector-extension', 'install_path' => __DIR__ . '/../rector/rector-generator', 'aliases' => array(0 => '9999999-dev'), 'reference' => 'df58e868b99405e9400e8d80cb71a39b90fc3165', 'dev_requirement' => \false), 'rector/rector-laravel' => array('pretty_version' => 'dev-main', 'version' => 'dev-main', 'type' => 'rector-extension', 'install_path' => __DIR__ . '/../rector/rector-laravel', 'aliases' => array(0 => '0.11.x-dev'), 'reference' => '6bee4284d50e84eb5d027ff266801b2a1c903a33', 'dev_requirement' => \false), 'rector/rector-nette' => array('pretty_version' => 'dev-main', 'version' => 'dev-main', 'type' => 'rector-extension', 'install_path' => __DIR__ . '/../rector/rector-nette', 'aliases' => array(0 => '0.11.x-dev'), 'reference' => 'fbfa93c0b88d5f2d7b3339e766653cfbd14206bf', 'dev_requirement' => \false), 'rector/rector-phpoffice' => array('pretty_version' => 'dev-main', 'version' => 'dev-main', 'type' => 'rector-extension', 'install_path' => __DIR__ . '/../rector/rector-phpoffice', 'aliases' => array(0 => '0.11.x-dev'), 'reference' => 'f23c4bf79c1f8a18349ab0b96bba8333dd7b823b', 'dev_requirement' => \false), 'rector/rector-phpunit' => array('pretty_version' => 'dev-main', 'version' => 'dev-main', 'type' => 'rector-extension', 'install_path' => __DIR__ . '/../rector/rector-phpunit', 'aliases' => array(0 => '0.11.x-dev'), 'reference' => '5a8c2a899ba438e49efc15a399ca8bcf3284d33f', 'dev_requirement' => \false), 'rector/rector-src' => array('pretty_version' => 'dev-main', 'version' => 'dev-main', 'type' => 'library', 'install_path' => __DIR__ . '/../../', 'aliases' => array(0 => '0.12.x-dev'), 'reference' => \NULL, 'dev_requirement' => \false), 'rector/rector-symfony' => array('pretty_version' => 'dev-main', 'version' => 'dev-main', 'type' => 'rector-extension', 'install_path' => __DIR__ . '/../rector/rector-symfony', 'aliases' => array(0 => '0.11.x-dev'), 'reference' => '57743a8956c8cef8fb511b2d35aabbb49cba3161', 'dev_requirement' => \false), 'sebastian/diff' => array('pretty_version' => '4.0.4', 'version' => '4.0.4.0', 'type' => 'library', 'install_path' => __DIR__ . '/../sebastian/diff', 'aliases' => array(), 'reference' => '3461e3fccc7cfdfc2720be910d3bd73c69be590d', 'dev_requirement' => \false), 'ssch/typo3-rector' => array('pretty_version' => 'dev-main', 'version' => 'dev-main', 'type' => 'rector-extension', 'install_path' => __DIR__ . '/../ssch/typo3-rector', 'aliases' => array(0 => '0.11.x-dev'), 'reference' => 'd4a362b75299f195f976d0676a592bfaf0a7f8f3', 'dev_requirement' => \false), 'symfony/cache-contracts' => array('dev_requirement' => \false, 'replaced' => array(0 => 'v2.5.0')), 'symfony/config' => array('pretty_version' => 'v5.4.2', 'version' => '5.4.2.0', 'type' => 'library', 'install_path' => __DIR__ . '/../symfony/config', 'aliases' => array(), 'reference' => '2e082dae50da563c639119b7b52347a2a3db4ba5', 'dev_requirement' => \false), 'symfony/console' => array('pretty_version' => 'v6.0.2', 'version' => '6.0.2.0', 'type' => 'library', 'install_path' => __DIR__ . '/../symfony/console', 'aliases' => array(), 'reference' => 'dd434fa8d69325e5d210f63070014d889511fcb3', 'dev_requirement' => \false), 'symfony/contracts' => array('pretty_version' => 'v2.5.0', 'version' => '2.5.0.0', 'type' => 'library', 'install_path' => __DIR__ . '/../symfony/contracts', 'aliases' => array(), 'reference' => '1f4c95d47bddf0c1579779d4b85602c923ed2f1c', 'dev_requirement' => \false), 'symfony/dependency-injection' => array('pretty_version' => 'v5.4.2', 'version' => '5.4.2.0', 'type' => 'library', 'install_path' => __DIR__ . '/../symfony/dependency-injection', 'aliases' => array(), 'reference' => 'ba94559be9738d77cd29e24b5d81cf3b89b7d628', 'dev_requirement' => \false), 'symfony/deprecation-contracts' => array('dev_requirement' => \false, 'replaced' => array(0 => 'v2.5.0')), 'symfony/event-dispatcher-contracts' => array('dev_requirement' => \false, 'replaced' => array(0 => 'v2.5.0')), 'symfony/filesystem' => array('pretty_version' => 'v6.0.0', 'version' => '6.0.0.0', 'type' => 'library', 'install_path' => __DIR__ . '/../symfony/filesystem', 'aliases' => array(), 'reference' => '52b3c9cce673b014915445a432339f282e002ce6', 'dev_requirement' => \false), 'symfony/finder' => array('pretty_version' => 'v6.0.2', 'version' => '6.0.2.0', 'type' => 'library', 'install_path' => __DIR__ . '/../symfony/finder', 'aliases' => array(), 'reference' => '03d2833e677d48317cac852f9c0287fb048c3c5c', 'dev_requirement' => \false), 'symfony/http-client-contracts' => array('dev_requirement' => \false, 'replaced' => array(0 => 'v2.5.0')), 'symfony/polyfill-ctype' => array('pretty_version' => 'v1.24.0', 'version' => '1.24.0.0', 'type' => 'library', 'install_path' => __DIR__ . '/../symfony/polyfill-ctype', 'aliases' => array(), 'reference' => '30885182c981ab175d4d034db0f6f469898070ab', 'dev_requirement' => \false), 'symfony/polyfill-intl-grapheme' => array('pretty_version' => 'v1.24.0', 'version' => '1.24.0.0', 'type' => 'library', 'install_path' => __DIR__ . '/../symfony/polyfill-intl-grapheme', 'aliases' => array(), 'reference' => '81b86b50cf841a64252b439e738e97f4a34e2783', 'dev_requirement' => \false), 'symfony/polyfill-intl-normalizer' => array('pretty_version' => 'v1.24.0', 'version' => '1.24.0.0', 'type' => 'library', 'install_path' => __DIR__ . '/../symfony/polyfill-intl-normalizer', 'aliases' => array(), 'reference' => '8590a5f561694770bdcd3f9b5c69dde6945028e8', 'dev_requirement' => \false), 'symfony/polyfill-mbstring' => array('pretty_version' => 'v1.24.0', 'version' => '1.24.0.0', 'type' => 'library', 'install_path' => __DIR__ . '/../symfony/polyfill-mbstring', 'aliases' => array(), 'reference' => '0abb51d2f102e00a4eefcf46ba7fec406d245825', 'dev_requirement' => \false), 'symfony/polyfill-php80' => array('pretty_version' => 'v1.24.0', 'version' => '1.24.0.0', 'type' => 'library', 'install_path' => __DIR__ . '/../symfony/polyfill-php80', 'aliases' => array(), 'reference' => '57b712b08eddb97c762a8caa32c84e037892d2e9', 'dev_requirement' => \false), 'symfony/polyfill-php81' => array('pretty_version' => 'v1.24.0', 'version' => '1.24.0.0', 'type' => 'library', 'install_path' => __DIR__ . '/../symfony/polyfill-php81', 'aliases' => array(), 'reference' => '5de4ba2d41b15f9bd0e19b2ab9674135813ec98f', 'dev_requirement' => \false), 'symfony/process' => array('pretty_version' => 'v6.0.2', 'version' => '6.0.2.0', 'type' => 'library', 'install_path' => __DIR__ . '/../symfony/process', 'aliases' => array(), 'reference' => '71da2b7f3fdba460fcf61a97c8d3d14bbf3391ad', 'dev_requirement' => \false), 'symfony/service-contracts' => array('dev_requirement' => \false, 'replaced' => array(0 => 'v2.5.0')), 'symfony/service-implementation' => array('dev_requirement' => \false, 'provided' => array(0 => '1.0|2.0')), 'symfony/string' => array('pretty_version' => 'v6.0.2', 'version' => '6.0.2.0', 'type' => 'library', 'install_path' => __DIR__ . '/../symfony/string', 'aliases' => array(), 'reference' => 'bae261d0c3ac38a1f802b4dfed42094296100631', 'dev_requirement' => \false), 'symfony/translation-contracts' => array('dev_requirement' => \false, 'replaced' => array(0 => 'v2.5.0')), 'symfony/var-exporter' => array('pretty_version' => 'v6.0.0', 'version' => '6.0.0.0', 'type' => 'library', 'install_path' => __DIR__ . '/../symfony/var-exporter', 'aliases' => array(), 'reference' => '32cf62f12d35d441da1ca4a4c0fc1cd5f2a207af', 'dev_requirement' => \false), 'symfony/yaml' => array('pretty_version' => 'v5.4.2', 'version' => '5.4.2.0', 'type' => 'library', 'install_path' => __DIR__ . '/../symfony/yaml', 'aliases' => array(), 'reference' => 'b9eb163846a61bb32dfc147f7859e274fab38b58', 'dev_requirement' => \false), 'symplify/astral' => array('pretty_version' => '10.0.11', 'version' => '10.0.11.0', 'type' => 'phpstan-extension', 'install_path' => __DIR__ . '/../symplify/astral', 'aliases' => array(), 'reference' => '0ef2ed1ed5e1b365a8d15c4e97c37e5ce418039c', 'dev_requirement' => \false), 'symplify/autowire-array-parameter' => array('pretty_version' => '10.0.11', 'version' => '10.0.11.0', 'type' => 'library', 'install_path' => __DIR__ . '/../symplify/autowire-array-parameter', 'aliases' => array(), 'reference' => 'c876b200d880165f3b42aea1b4e982b219b96ce7', 'dev_requirement' => \false), 'symplify/composer-json-manipulator' => array('pretty_version' => '10.0.11', 'version' => '10.0.11.0', 'type' => 'symfony-bundle', 'install_path' => __DIR__ . '/../symplify/composer-json-manipulator', 'aliases' => array(), 'reference' => '514cc0806ea82e27c8f38d07be30e870b4489e10', 'dev_requirement' => \false), 'symplify/console-color-diff' => array('pretty_version' => '10.0.11', 'version' => '10.0.11.0', 'type' => 'library', 'install_path' => __DIR__ . '/../symplify/console-color-diff', 'aliases' => array(), 'reference' => '3f8d90533787e7c18ff6075139f050eb4fc2bb88', 'dev_requirement' => \false), 'symplify/easy-parallel' => array('pretty_version' => '10.0.11', 'version' => '10.0.11.0', 'type' => 'library', 'install_path' => __DIR__ . '/../symplify/easy-parallel', 'aliases' => array(), 'reference' => '177aca43c9cda2597a78975b10939d4e5492d4f1', 'dev_requirement' => \false), 'symplify/easy-testing' => array('pretty_version' => '10.0.11', 'version' => '10.0.11.0', 'type' => 'symfony-bundle', 'install_path' => __DIR__ . '/../symplify/easy-testing', 'aliases' => array(), 'reference' => '0c5c1ddf643906ce1862a9dde8ea974ee7eacff6', 'dev_requirement' => \false), 'symplify/package-builder' => array('pretty_version' => '10.0.11', 'version' => '10.0.11.0', 'type' => 'library', 'install_path' => __DIR__ . '/../symplify/package-builder', 'aliases' => array(), 'reference' => '161ef287f922c3e663fc18a17c121829c38502a4', 'dev_requirement' => \false), 'symplify/rule-doc-generator-contracts' => array('pretty_version' => '10.0.11', 'version' => '10.0.11.0', 'type' => 'library', 'install_path' => __DIR__ . '/../symplify/rule-doc-generator-contracts', 'aliases' => array(), 'reference' => '40aa4d2d8397ee2d773d44ab8c4571279b1a8e50', 'dev_requirement' => \false), 'symplify/simple-php-doc-parser' => array('pretty_version' => '10.0.11', 'version' => '10.0.11.0', 'type' => 'library', 'install_path' => __DIR__ . '/../symplify/simple-php-doc-parser', 'aliases' => array(), 'reference' => '372f59982213f6b2b715213675f8bb3939c8bb3b', 'dev_requirement' => \false), 'symplify/skipper' => array('pretty_version' => '10.0.11', 'version' => '10.0.11.0', 'type' => 'library', 'install_path' => __DIR__ . '/../symplify/skipper', 'aliases' => array(), 'reference' => 'e7ff47cc45c7b7466f7f9bf85910d37a53d35977', 'dev_requirement' => \false), 'symplify/smart-file-system' => array('pretty_version' => '10.0.11', 'version' => '10.0.11.0', 'type' => 'library', 'install_path' => __DIR__ . '/../symplify/smart-file-system', 'aliases' => array(), 'reference' => '5bb6e6c661038687f5141d1c384a99430134f88b', 'dev_requirement' => \false), 'symplify/symfony-php-config' => array('pretty_version' => '10.0.11', 'version' => '10.0.11.0', 'type' => 'library', 'install_path' => __DIR__ . '/../symplify/symfony-php-config', 'aliases' => array(), 'reference' => '6737d135a4a05562c790ab5c55a199ab3139af05', 'dev_requirement' => \false), 'symplify/symplify-kernel' => array('pretty_version' => '10.0.11', 'version' => '10.0.11.0', 'type' => 'library', 'install_path' => __DIR__ . '/../symplify/symplify-kernel', 'aliases' => array(), 'reference' => 'f5f1a2860bd0e4a7fae350ec470acd2bbbecf00f', 'dev_requirement' => \false), 'symplify/vendor-patches' => array('pretty_version' => '10.0.11', 'version' => '10.0.11.0', 'type' => 'library', 'install_path' => __DIR__ . '/../symplify/vendor-patches', 'aliases' => array(), 'reference' => 'c08c21a16e4a9f01ccb49bd1eb30d215399ebe42', 'dev_requirement' => \false), 'tracy/tracy' => array('pretty_version' => 'v2.9.0', 'version' => '2.9.0.0', 'type' => 'library', 'install_path' => __DIR__ . '/../tracy/tracy', 'aliases' => array(), 'reference' => '551a7d936dfbd7075ced9a604b9527d1f7bfa8b4', 'dev_requirement' => \false), 'webmozart/assert' => array('pretty_version' => '1.10.0', 'version' => '1.10.0.0', 'type' => 'library', 'install_path' => __DIR__ . '/../webmozart/assert', 'aliases' => array(), 'reference' => '6964c76c7804814a842473e0c8fd15bab0f18e25', 'dev_requirement' => \false))); +return array('root' => array('pretty_version' => 'dev-main', 'version' => 'dev-main', 'type' => 'library', 'install_path' => __DIR__ . '/../../', 'aliases' => array(0 => '0.12.x-dev'), 'reference' => \NULL, 'name' => 'rector/rector-src', 'dev' => \false), 'versions' => array('clue/ndjson-react' => array('pretty_version' => 'v1.2.0', 'version' => '1.2.0.0', 'type' => 'library', 'install_path' => __DIR__ . '/../clue/ndjson-react', 'aliases' => array(), 'reference' => '708411c7e45ac85371a99d50f52284971494bede', 'dev_requirement' => \false), 'composer/pcre' => array('pretty_version' => '1.0.0', 'version' => '1.0.0.0', 'type' => 'library', 'install_path' => __DIR__ . '/./pcre', 'aliases' => array(), 'reference' => '3d322d715c43a1ac36c7fe215fa59336265500f2', 'dev_requirement' => \false), 'composer/semver' => array('pretty_version' => '3.2.7', 'version' => '3.2.7.0', 'type' => 'library', 'install_path' => __DIR__ . '/./semver', 'aliases' => array(), 'reference' => 'deac27056b57e46faf136fae7b449eeaa71661ee', 'dev_requirement' => \false), 'composer/xdebug-handler' => array('pretty_version' => '2.0.4', 'version' => '2.0.4.0', 'type' => 'library', 'install_path' => __DIR__ . '/./xdebug-handler', 'aliases' => array(), 'reference' => '0c1a3925ec58a4ec98e992b9c7d171e9e184be0a', 'dev_requirement' => \false), 'cweagans/composer-patches' => array('pretty_version' => '1.7.1', 'version' => '1.7.1.0', 'type' => 'composer-plugin', 'install_path' => __DIR__ . '/../cweagans/composer-patches', 'aliases' => array(), 'reference' => '9888dcc74993c030b75f3dd548bb5e20cdbd740c', 'dev_requirement' => \false), 'doctrine/inflector' => array('pretty_version' => '2.0.4', 'version' => '2.0.4.0', 'type' => 'library', 'install_path' => __DIR__ . '/../doctrine/inflector', 'aliases' => array(), 'reference' => '8b7ff3e4b7de6b2c84da85637b59fd2880ecaa89', 'dev_requirement' => \false), 'ergebnis/json-printer' => array('pretty_version' => '3.2.0', 'version' => '3.2.0.0', 'type' => 'library', 'install_path' => __DIR__ . '/../ergebnis/json-printer', 'aliases' => array(), 'reference' => '651cab2b7604a6b338d0d16749f5ea0851a68005', 'dev_requirement' => \false), 'evenement/evenement' => array('pretty_version' => 'v3.0.1', 'version' => '3.0.1.0', 'type' => 'library', 'install_path' => __DIR__ . '/../evenement/evenement', 'aliases' => array(), 'reference' => '531bfb9d15f8aa57454f5f0285b18bec903b8fb7', 'dev_requirement' => \false), 'helmich/typo3-typoscript-parser' => array('pretty_version' => 'dev-master', 'version' => 'dev-master', 'type' => 'library', 'install_path' => __DIR__ . '/../helmich/typo3-typoscript-parser', 'aliases' => array(0 => '9999999-dev'), 'reference' => '0ccb3a6', 'dev_requirement' => \false), 'idiosyncratic/editorconfig' => array('pretty_version' => '0.1.3', 'version' => '0.1.3.0', 'type' => 'library', 'install_path' => __DIR__ . '/../idiosyncratic/editorconfig', 'aliases' => array(), 'reference' => '3445fa4a1e00f95630d4edc729c2effb116db19b', 'dev_requirement' => \false), 'myclabs/php-enum' => array('pretty_version' => '1.8.3', 'version' => '1.8.3.0', 'type' => 'library', 'install_path' => __DIR__ . '/../myclabs/php-enum', 'aliases' => array(), 'reference' => 'b942d263c641ddb5190929ff840c68f78713e937', 'dev_requirement' => \false), 'nette/neon' => array('pretty_version' => 'v3.3.2', 'version' => '3.3.2.0', 'type' => 'library', 'install_path' => __DIR__ . '/../nette/neon', 'aliases' => array(), 'reference' => '54b287d8c2cdbe577b02e28ca1713e275b05ece2', 'dev_requirement' => \false), 'nette/utils' => array('pretty_version' => 'v3.2.6', 'version' => '3.2.6.0', 'type' => 'library', 'install_path' => __DIR__ . '/../nette/utils', 'aliases' => array(), 'reference' => '2f261e55bd6a12057442045bf2c249806abc1d02', 'dev_requirement' => \false), 'nikic/php-parser' => array('pretty_version' => 'v4.13.2', 'version' => '4.13.2.0', 'type' => 'library', 'install_path' => __DIR__ . '/../nikic/php-parser', 'aliases' => array(), 'reference' => '210577fe3cf7badcc5814d99455df46564f3c077', 'dev_requirement' => \false), 'phpstan/phpdoc-parser' => array('pretty_version' => '1.2.0', 'version' => '1.2.0.0', 'type' => 'library', 'install_path' => __DIR__ . '/../phpstan/phpdoc-parser', 'aliases' => array(), 'reference' => 'dbc093d7af60eff5cd575d2ed761b15ed40bd08e', 'dev_requirement' => \false), 'phpstan/phpstan' => array('pretty_version' => '1.4.1', 'version' => '1.4.1.0', 'type' => 'library', 'install_path' => __DIR__ . '/../phpstan/phpstan', 'aliases' => array(), 'reference' => '5bd02c86beb4c024dd4662b6443f5d5332a0ae12', 'dev_requirement' => \false), 'phpstan/phpstan-phpunit' => array('pretty_version' => '1.0.0', 'version' => '1.0.0.0', 'type' => 'phpstan-extension', 'install_path' => __DIR__ . '/../phpstan/phpstan-phpunit', 'aliases' => array(), 'reference' => '9eb88c9f689003a8a2a5ae9e010338ee94dc39b3', 'dev_requirement' => \false), 'psr/cache' => array('pretty_version' => '3.0.0', 'version' => '3.0.0.0', 'type' => 'library', 'install_path' => __DIR__ . '/../psr/cache', 'aliases' => array(), 'reference' => 'aa5030cfa5405eccfdcb1083ce040c2cb8d253bf', 'dev_requirement' => \false), 'psr/container' => array('pretty_version' => '1.1.2', 'version' => '1.1.2.0', 'type' => 'library', 'install_path' => __DIR__ . '/../psr/container', 'aliases' => array(), 'reference' => '513e0666f7216c7459170d56df27dfcefe1689ea', 'dev_requirement' => \false), 'psr/container-implementation' => array('dev_requirement' => \false, 'provided' => array(0 => '1.0')), 'psr/event-dispatcher' => array('pretty_version' => '1.0.0', 'version' => '1.0.0.0', 'type' => 'library', 'install_path' => __DIR__ . '/../psr/event-dispatcher', 'aliases' => array(), 'reference' => 'dbefd12671e8a14ec7f180cab83036ed26714bb0', 'dev_requirement' => \false), 'psr/http-message' => array('pretty_version' => '1.0.1', 'version' => '1.0.1.0', 'type' => 'library', 'install_path' => __DIR__ . '/../psr/http-message', 'aliases' => array(), 'reference' => 'f6561bf28d520154e4b0ec72be95418abe6d9363', 'dev_requirement' => \false), 'psr/log' => array('pretty_version' => '2.0.0', 'version' => '2.0.0.0', 'type' => 'library', 'install_path' => __DIR__ . '/../psr/log', 'aliases' => array(), 'reference' => 'ef29f6d262798707a9edd554e2b82517ef3a9376', 'dev_requirement' => \false), 'psr/log-implementation' => array('dev_requirement' => \false, 'provided' => array(0 => '1.0|2.0|3.0')), 'react/cache' => array('pretty_version' => 'v1.1.1', 'version' => '1.1.1.0', 'type' => 'library', 'install_path' => __DIR__ . '/../react/cache', 'aliases' => array(), 'reference' => '4bf736a2cccec7298bdf745db77585966fc2ca7e', 'dev_requirement' => \false), 'react/child-process' => array('pretty_version' => 'v0.6.4', 'version' => '0.6.4.0', 'type' => 'library', 'install_path' => __DIR__ . '/../react/child-process', 'aliases' => array(), 'reference' => 'a778f3fb828d68caf8a9ab6567fd8342a86f12fe', 'dev_requirement' => \false), 'react/dns' => array('pretty_version' => 'v1.9.0', 'version' => '1.9.0.0', 'type' => 'library', 'install_path' => __DIR__ . '/../react/dns', 'aliases' => array(), 'reference' => '6d38296756fa644e6cb1bfe95eff0f9a4ed6edcb', 'dev_requirement' => \false), 'react/event-loop' => array('pretty_version' => 'v1.2.0', 'version' => '1.2.0.0', 'type' => 'library', 'install_path' => __DIR__ . '/../react/event-loop', 'aliases' => array(), 'reference' => 'be6dee480fc4692cec0504e65eb486e3be1aa6f2', 'dev_requirement' => \false), 'react/promise' => array('pretty_version' => 'v2.8.0', 'version' => '2.8.0.0', 'type' => 'library', 'install_path' => __DIR__ . '/../react/promise', 'aliases' => array(), 'reference' => 'f3cff96a19736714524ca0dd1d4130de73dbbbc4', 'dev_requirement' => \false), 'react/promise-timer' => array('pretty_version' => 'v1.8.0', 'version' => '1.8.0.0', 'type' => 'library', 'install_path' => __DIR__ . '/../react/promise-timer', 'aliases' => array(), 'reference' => '0bbbcc79589e5bfdddba68a287f1cb805581a479', 'dev_requirement' => \false), 'react/socket' => array('pretty_version' => 'v1.11.0', 'version' => '1.11.0.0', 'type' => 'library', 'install_path' => __DIR__ . '/../react/socket', 'aliases' => array(), 'reference' => 'f474156aaab4f09041144fa8b57c7d70aed32a1c', 'dev_requirement' => \false), 'react/stream' => array('pretty_version' => 'v1.2.0', 'version' => '1.2.0.0', 'type' => 'library', 'install_path' => __DIR__ . '/../react/stream', 'aliases' => array(), 'reference' => '7a423506ee1903e89f1e08ec5f0ed430ff784ae9', 'dev_requirement' => \false), 'rector/extension-installer' => array('pretty_version' => '0.11.1', 'version' => '0.11.1.0', 'type' => 'composer-plugin', 'install_path' => __DIR__ . '/../rector/extension-installer', 'aliases' => array(), 'reference' => '527fcbd19f7aeb79a6fd043e1edfeab7831b59af', 'dev_requirement' => \false), 'rector/rector' => array('dev_requirement' => \false, 'replaced' => array(0 => '0.12.x-dev', 1 => 'dev-main')), 'rector/rector-cakephp' => array('pretty_version' => 'dev-main', 'version' => 'dev-main', 'type' => 'rector-extension', 'install_path' => __DIR__ . '/../rector/rector-cakephp', 'aliases' => array(0 => '0.11.x-dev'), 'reference' => 'd1fa93dbf332a0170deaf37467b40735727003fb', 'dev_requirement' => \false), 'rector/rector-doctrine' => array('pretty_version' => 'dev-main', 'version' => 'dev-main', 'type' => 'rector-extension', 'install_path' => __DIR__ . '/../rector/rector-doctrine', 'aliases' => array(0 => '0.11.x-dev'), 'reference' => '22517c3f026c0e938fe0132c2d50af7c10168bac', 'dev_requirement' => \false), 'rector/rector-generator' => array('pretty_version' => 'dev-main', 'version' => 'dev-main', 'type' => 'rector-extension', 'install_path' => __DIR__ . '/../rector/rector-generator', 'aliases' => array(0 => '9999999-dev'), 'reference' => 'df58e868b99405e9400e8d80cb71a39b90fc3165', 'dev_requirement' => \false), 'rector/rector-laravel' => array('pretty_version' => 'dev-main', 'version' => 'dev-main', 'type' => 'rector-extension', 'install_path' => __DIR__ . '/../rector/rector-laravel', 'aliases' => array(0 => '0.11.x-dev'), 'reference' => '6bee4284d50e84eb5d027ff266801b2a1c903a33', 'dev_requirement' => \false), 'rector/rector-nette' => array('pretty_version' => 'dev-main', 'version' => 'dev-main', 'type' => 'rector-extension', 'install_path' => __DIR__ . '/../rector/rector-nette', 'aliases' => array(0 => '0.11.x-dev'), 'reference' => 'fbfa93c0b88d5f2d7b3339e766653cfbd14206bf', 'dev_requirement' => \false), 'rector/rector-phpoffice' => array('pretty_version' => 'dev-main', 'version' => 'dev-main', 'type' => 'rector-extension', 'install_path' => __DIR__ . '/../rector/rector-phpoffice', 'aliases' => array(0 => '0.11.x-dev'), 'reference' => 'f23c4bf79c1f8a18349ab0b96bba8333dd7b823b', 'dev_requirement' => \false), 'rector/rector-phpunit' => array('pretty_version' => 'dev-main', 'version' => 'dev-main', 'type' => 'rector-extension', 'install_path' => __DIR__ . '/../rector/rector-phpunit', 'aliases' => array(0 => '0.11.x-dev'), 'reference' => '5a8c2a899ba438e49efc15a399ca8bcf3284d33f', 'dev_requirement' => \false), 'rector/rector-src' => array('pretty_version' => 'dev-main', 'version' => 'dev-main', 'type' => 'library', 'install_path' => __DIR__ . '/../../', 'aliases' => array(0 => '0.12.x-dev'), 'reference' => \NULL, 'dev_requirement' => \false), 'rector/rector-symfony' => array('pretty_version' => 'dev-main', 'version' => 'dev-main', 'type' => 'rector-extension', 'install_path' => __DIR__ . '/../rector/rector-symfony', 'aliases' => array(0 => '0.11.x-dev'), 'reference' => '57743a8956c8cef8fb511b2d35aabbb49cba3161', 'dev_requirement' => \false), 'sebastian/diff' => array('pretty_version' => '4.0.4', 'version' => '4.0.4.0', 'type' => 'library', 'install_path' => __DIR__ . '/../sebastian/diff', 'aliases' => array(), 'reference' => '3461e3fccc7cfdfc2720be910d3bd73c69be590d', 'dev_requirement' => \false), 'ssch/typo3-rector' => array('pretty_version' => 'dev-main', 'version' => 'dev-main', 'type' => 'rector-extension', 'install_path' => __DIR__ . '/../ssch/typo3-rector', 'aliases' => array(0 => '0.11.x-dev'), 'reference' => 'd4a362b75299f195f976d0676a592bfaf0a7f8f3', 'dev_requirement' => \false), 'symfony/cache-contracts' => array('dev_requirement' => \false, 'replaced' => array(0 => 'v2.5.0')), 'symfony/config' => array('pretty_version' => 'v5.4.2', 'version' => '5.4.2.0', 'type' => 'library', 'install_path' => __DIR__ . '/../symfony/config', 'aliases' => array(), 'reference' => '2e082dae50da563c639119b7b52347a2a3db4ba5', 'dev_requirement' => \false), 'symfony/console' => array('pretty_version' => 'v6.0.2', 'version' => '6.0.2.0', 'type' => 'library', 'install_path' => __DIR__ . '/../symfony/console', 'aliases' => array(), 'reference' => 'dd434fa8d69325e5d210f63070014d889511fcb3', 'dev_requirement' => \false), 'symfony/contracts' => array('pretty_version' => 'v2.5.0', 'version' => '2.5.0.0', 'type' => 'library', 'install_path' => __DIR__ . '/../symfony/contracts', 'aliases' => array(), 'reference' => '1f4c95d47bddf0c1579779d4b85602c923ed2f1c', 'dev_requirement' => \false), 'symfony/dependency-injection' => array('pretty_version' => 'v5.4.2', 'version' => '5.4.2.0', 'type' => 'library', 'install_path' => __DIR__ . '/../symfony/dependency-injection', 'aliases' => array(), 'reference' => 'ba94559be9738d77cd29e24b5d81cf3b89b7d628', 'dev_requirement' => \false), 'symfony/deprecation-contracts' => array('dev_requirement' => \false, 'replaced' => array(0 => 'v2.5.0')), 'symfony/event-dispatcher-contracts' => array('dev_requirement' => \false, 'replaced' => array(0 => 'v2.5.0')), 'symfony/filesystem' => array('pretty_version' => 'v6.0.0', 'version' => '6.0.0.0', 'type' => 'library', 'install_path' => __DIR__ . '/../symfony/filesystem', 'aliases' => array(), 'reference' => '52b3c9cce673b014915445a432339f282e002ce6', 'dev_requirement' => \false), 'symfony/finder' => array('pretty_version' => 'v6.0.2', 'version' => '6.0.2.0', 'type' => 'library', 'install_path' => __DIR__ . '/../symfony/finder', 'aliases' => array(), 'reference' => '03d2833e677d48317cac852f9c0287fb048c3c5c', 'dev_requirement' => \false), 'symfony/http-client-contracts' => array('dev_requirement' => \false, 'replaced' => array(0 => 'v2.5.0')), 'symfony/polyfill-ctype' => array('pretty_version' => 'v1.24.0', 'version' => '1.24.0.0', 'type' => 'library', 'install_path' => __DIR__ . '/../symfony/polyfill-ctype', 'aliases' => array(), 'reference' => '30885182c981ab175d4d034db0f6f469898070ab', 'dev_requirement' => \false), 'symfony/polyfill-intl-grapheme' => array('pretty_version' => 'v1.24.0', 'version' => '1.24.0.0', 'type' => 'library', 'install_path' => __DIR__ . '/../symfony/polyfill-intl-grapheme', 'aliases' => array(), 'reference' => '81b86b50cf841a64252b439e738e97f4a34e2783', 'dev_requirement' => \false), 'symfony/polyfill-intl-normalizer' => array('pretty_version' => 'v1.24.0', 'version' => '1.24.0.0', 'type' => 'library', 'install_path' => __DIR__ . '/../symfony/polyfill-intl-normalizer', 'aliases' => array(), 'reference' => '8590a5f561694770bdcd3f9b5c69dde6945028e8', 'dev_requirement' => \false), 'symfony/polyfill-mbstring' => array('pretty_version' => 'v1.24.0', 'version' => '1.24.0.0', 'type' => 'library', 'install_path' => __DIR__ . '/../symfony/polyfill-mbstring', 'aliases' => array(), 'reference' => '0abb51d2f102e00a4eefcf46ba7fec406d245825', 'dev_requirement' => \false), 'symfony/polyfill-php80' => array('pretty_version' => 'v1.24.0', 'version' => '1.24.0.0', 'type' => 'library', 'install_path' => __DIR__ . '/../symfony/polyfill-php80', 'aliases' => array(), 'reference' => '57b712b08eddb97c762a8caa32c84e037892d2e9', 'dev_requirement' => \false), 'symfony/polyfill-php81' => array('pretty_version' => 'v1.24.0', 'version' => '1.24.0.0', 'type' => 'library', 'install_path' => __DIR__ . '/../symfony/polyfill-php81', 'aliases' => array(), 'reference' => '5de4ba2d41b15f9bd0e19b2ab9674135813ec98f', 'dev_requirement' => \false), 'symfony/process' => array('pretty_version' => 'v6.0.2', 'version' => '6.0.2.0', 'type' => 'library', 'install_path' => __DIR__ . '/../symfony/process', 'aliases' => array(), 'reference' => '71da2b7f3fdba460fcf61a97c8d3d14bbf3391ad', 'dev_requirement' => \false), 'symfony/service-contracts' => array('dev_requirement' => \false, 'replaced' => array(0 => 'v2.5.0')), 'symfony/service-implementation' => array('dev_requirement' => \false, 'provided' => array(0 => '1.0|2.0')), 'symfony/string' => array('pretty_version' => 'v6.0.2', 'version' => '6.0.2.0', 'type' => 'library', 'install_path' => __DIR__ . '/../symfony/string', 'aliases' => array(), 'reference' => 'bae261d0c3ac38a1f802b4dfed42094296100631', 'dev_requirement' => \false), 'symfony/translation-contracts' => array('dev_requirement' => \false, 'replaced' => array(0 => 'v2.5.0')), 'symfony/var-exporter' => array('pretty_version' => 'v6.0.0', 'version' => '6.0.0.0', 'type' => 'library', 'install_path' => __DIR__ . '/../symfony/var-exporter', 'aliases' => array(), 'reference' => '32cf62f12d35d441da1ca4a4c0fc1cd5f2a207af', 'dev_requirement' => \false), 'symfony/yaml' => array('pretty_version' => 'v5.4.2', 'version' => '5.4.2.0', 'type' => 'library', 'install_path' => __DIR__ . '/../symfony/yaml', 'aliases' => array(), 'reference' => 'b9eb163846a61bb32dfc147f7859e274fab38b58', 'dev_requirement' => \false), 'symplify/astral' => array('pretty_version' => '10.0.11', 'version' => '10.0.11.0', 'type' => 'phpstan-extension', 'install_path' => __DIR__ . '/../symplify/astral', 'aliases' => array(), 'reference' => '0ef2ed1ed5e1b365a8d15c4e97c37e5ce418039c', 'dev_requirement' => \false), 'symplify/autowire-array-parameter' => array('pretty_version' => '10.0.11', 'version' => '10.0.11.0', 'type' => 'library', 'install_path' => __DIR__ . '/../symplify/autowire-array-parameter', 'aliases' => array(), 'reference' => 'c876b200d880165f3b42aea1b4e982b219b96ce7', 'dev_requirement' => \false), 'symplify/composer-json-manipulator' => array('pretty_version' => '10.0.11', 'version' => '10.0.11.0', 'type' => 'symfony-bundle', 'install_path' => __DIR__ . '/../symplify/composer-json-manipulator', 'aliases' => array(), 'reference' => '514cc0806ea82e27c8f38d07be30e870b4489e10', 'dev_requirement' => \false), 'symplify/console-color-diff' => array('pretty_version' => '10.0.11', 'version' => '10.0.11.0', 'type' => 'library', 'install_path' => __DIR__ . '/../symplify/console-color-diff', 'aliases' => array(), 'reference' => '3f8d90533787e7c18ff6075139f050eb4fc2bb88', 'dev_requirement' => \false), 'symplify/easy-parallel' => array('pretty_version' => '10.0.11', 'version' => '10.0.11.0', 'type' => 'library', 'install_path' => __DIR__ . '/../symplify/easy-parallel', 'aliases' => array(), 'reference' => '177aca43c9cda2597a78975b10939d4e5492d4f1', 'dev_requirement' => \false), 'symplify/easy-testing' => array('pretty_version' => '10.0.11', 'version' => '10.0.11.0', 'type' => 'symfony-bundle', 'install_path' => __DIR__ . '/../symplify/easy-testing', 'aliases' => array(), 'reference' => '0c5c1ddf643906ce1862a9dde8ea974ee7eacff6', 'dev_requirement' => \false), 'symplify/package-builder' => array('pretty_version' => '10.0.11', 'version' => '10.0.11.0', 'type' => 'library', 'install_path' => __DIR__ . '/../symplify/package-builder', 'aliases' => array(), 'reference' => '161ef287f922c3e663fc18a17c121829c38502a4', 'dev_requirement' => \false), 'symplify/rule-doc-generator-contracts' => array('pretty_version' => '10.0.11', 'version' => '10.0.11.0', 'type' => 'library', 'install_path' => __DIR__ . '/../symplify/rule-doc-generator-contracts', 'aliases' => array(), 'reference' => '40aa4d2d8397ee2d773d44ab8c4571279b1a8e50', 'dev_requirement' => \false), 'symplify/simple-php-doc-parser' => array('pretty_version' => '10.0.11', 'version' => '10.0.11.0', 'type' => 'library', 'install_path' => __DIR__ . '/../symplify/simple-php-doc-parser', 'aliases' => array(), 'reference' => '372f59982213f6b2b715213675f8bb3939c8bb3b', 'dev_requirement' => \false), 'symplify/skipper' => array('pretty_version' => '10.0.11', 'version' => '10.0.11.0', 'type' => 'library', 'install_path' => __DIR__ . '/../symplify/skipper', 'aliases' => array(), 'reference' => 'e7ff47cc45c7b7466f7f9bf85910d37a53d35977', 'dev_requirement' => \false), 'symplify/smart-file-system' => array('pretty_version' => '10.0.11', 'version' => '10.0.11.0', 'type' => 'library', 'install_path' => __DIR__ . '/../symplify/smart-file-system', 'aliases' => array(), 'reference' => '5bb6e6c661038687f5141d1c384a99430134f88b', 'dev_requirement' => \false), 'symplify/symfony-php-config' => array('pretty_version' => '10.0.11', 'version' => '10.0.11.0', 'type' => 'library', 'install_path' => __DIR__ . '/../symplify/symfony-php-config', 'aliases' => array(), 'reference' => '6737d135a4a05562c790ab5c55a199ab3139af05', 'dev_requirement' => \false), 'symplify/symplify-kernel' => array('pretty_version' => '10.0.11', 'version' => '10.0.11.0', 'type' => 'library', 'install_path' => __DIR__ . '/../symplify/symplify-kernel', 'aliases' => array(), 'reference' => 'f5f1a2860bd0e4a7fae350ec470acd2bbbecf00f', 'dev_requirement' => \false), 'symplify/vendor-patches' => array('pretty_version' => '10.0.11', 'version' => '10.0.11.0', 'type' => 'library', 'install_path' => __DIR__ . '/../symplify/vendor-patches', 'aliases' => array(), 'reference' => 'c08c21a16e4a9f01ccb49bd1eb30d215399ebe42', 'dev_requirement' => \false), 'tracy/tracy' => array('pretty_version' => 'v2.9.0', 'version' => '2.9.0.0', 'type' => 'library', 'install_path' => __DIR__ . '/../tracy/tracy', 'aliases' => array(), 'reference' => '551a7d936dfbd7075ced9a604b9527d1f7bfa8b4', 'dev_requirement' => \false), 'webmozart/assert' => array('pretty_version' => '1.10.0', 'version' => '1.10.0.0', 'type' => 'library', 'install_path' => __DIR__ . '/../webmozart/assert', 'aliases' => array(), 'reference' => '6964c76c7804814a842473e0c8fd15bab0f18e25', 'dev_requirement' => \false))); diff --git a/vendor/rector/extension-installer/src/GeneratedConfig.php b/vendor/rector/extension-installer/src/GeneratedConfig.php index fd6166aedec..b2554d6560b 100644 --- a/vendor/rector/extension-installer/src/GeneratedConfig.php +++ b/vendor/rector/extension-installer/src/GeneratedConfig.php @@ -9,7 +9,7 @@ */ 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' => 'dev-main d1fa93d'), 'rector/rector-doctrine' => array('install_path' => '/home/runner/work/rector-src/rector-src/vendor/rector/rector-doctrine', 'relative_install_path' => '../../rector-doctrine', 'extra' => array('includes' => array(0 => 'config/config.php')), 'version' => 'dev-main 2b82f7e'), 'rector/rector-generator' => array('install_path' => '/home/runner/work/rector-src/rector-src/vendor/rector/rector-generator', 'relative_install_path' => '../../rector-generator', 'extra' => array('includes' => array(0 => 'config/config.php')), 'version' => 'dev-main df58e86'), 'rector/rector-laravel' => array('install_path' => '/home/runner/work/rector-src/rector-src/vendor/rector/rector-laravel', 'relative_install_path' => '../../rector-laravel', 'extra' => array('includes' => array(0 => 'config/config.php')), 'version' => 'dev-main 6bee428'), 'rector/rector-nette' => array('install_path' => '/home/runner/work/rector-src/rector-src/vendor/rector/rector-nette', 'relative_install_path' => '../../rector-nette', 'extra' => array('includes' => array(0 => 'config/config.php')), 'version' => 'dev-main fbfa93c'), 'rector/rector-phpoffice' => array('install_path' => '/home/runner/work/rector-src/rector-src/vendor/rector/rector-phpoffice', 'relative_install_path' => '../../rector-phpoffice', 'extra' => array('includes' => array(0 => 'config/config.php')), 'version' => 'dev-main f23c4bf'), 'rector/rector-phpunit' => array('install_path' => '/home/runner/work/rector-src/rector-src/vendor/rector/rector-phpunit', 'relative_install_path' => '../../rector-phpunit', 'extra' => array('includes' => array(0 => 'config/config.php')), 'version' => 'dev-main 5a8c2a8'), 'rector/rector-symfony' => array('install_path' => '/home/runner/work/rector-src/rector-src/vendor/rector/rector-symfony', 'relative_install_path' => '../../rector-symfony', 'extra' => array('includes' => array(0 => 'config/config.php')), 'version' => 'dev-main 57743a8'), '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 d4a362b')); + public const EXTENSIONS = array('rector/rector-cakephp' => array('install_path' => '/home/runner/work/rector-src/rector-src/vendor/rector/rector-cakephp', 'relative_install_path' => '../../rector-cakephp', 'extra' => array('includes' => array(0 => 'config/config.php')), 'version' => 'dev-main d1fa93d'), 'rector/rector-doctrine' => array('install_path' => '/home/runner/work/rector-src/rector-src/vendor/rector/rector-doctrine', 'relative_install_path' => '../../rector-doctrine', 'extra' => array('includes' => array(0 => 'config/config.php')), 'version' => 'dev-main 22517c3'), 'rector/rector-generator' => array('install_path' => '/home/runner/work/rector-src/rector-src/vendor/rector/rector-generator', 'relative_install_path' => '../../rector-generator', 'extra' => array('includes' => array(0 => 'config/config.php')), 'version' => 'dev-main df58e86'), 'rector/rector-laravel' => array('install_path' => '/home/runner/work/rector-src/rector-src/vendor/rector/rector-laravel', 'relative_install_path' => '../../rector-laravel', 'extra' => array('includes' => array(0 => 'config/config.php')), 'version' => 'dev-main 6bee428'), 'rector/rector-nette' => array('install_path' => '/home/runner/work/rector-src/rector-src/vendor/rector/rector-nette', 'relative_install_path' => '../../rector-nette', 'extra' => array('includes' => array(0 => 'config/config.php')), 'version' => 'dev-main fbfa93c'), 'rector/rector-phpoffice' => array('install_path' => '/home/runner/work/rector-src/rector-src/vendor/rector/rector-phpoffice', 'relative_install_path' => '../../rector-phpoffice', 'extra' => array('includes' => array(0 => 'config/config.php')), 'version' => 'dev-main f23c4bf'), 'rector/rector-phpunit' => array('install_path' => '/home/runner/work/rector-src/rector-src/vendor/rector/rector-phpunit', 'relative_install_path' => '../../rector-phpunit', 'extra' => array('includes' => array(0 => 'config/config.php')), 'version' => 'dev-main 5a8c2a8'), 'rector/rector-symfony' => array('install_path' => '/home/runner/work/rector-src/rector-src/vendor/rector/rector-symfony', 'relative_install_path' => '../../rector-symfony', 'extra' => array('includes' => array(0 => 'config/config.php')), 'version' => 'dev-main 57743a8'), '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 d4a362b')); private function __construct() { } diff --git a/vendor/rector/rector-doctrine/src/NodeManipulator/ToManyRelationPropertyTypeResolver.php b/vendor/rector/rector-doctrine/src/NodeManipulator/ToManyRelationPropertyTypeResolver.php index 6d34f32f0d0..bbbb45db995 100644 --- a/vendor/rector/rector-doctrine/src/NodeManipulator/ToManyRelationPropertyTypeResolver.php +++ b/vendor/rector/rector-doctrine/src/NodeManipulator/ToManyRelationPropertyTypeResolver.php @@ -9,7 +9,6 @@ use PHPStan\Type\Type; use Rector\BetterPhpDocParser\PhpDoc\DoctrineAnnotationTagValueNode; use Rector\BetterPhpDocParser\PhpDocInfo\PhpDocInfoFactory; -use Rector\Core\Exception\ShouldNotHappenException; use Rector\Core\PhpParser\Node\Value\ValueResolver; use Rector\Doctrine\NodeAnalyzer\AttributeFinder; use Rector\Doctrine\PhpDoc\ShortClassExpander; @@ -59,18 +58,24 @@ public function resolve(\PhpParser\Node\Stmt\Property $property) : ?\PHPStan\Typ return $this->processToManyRelation($property, $toManyRelationTagValueNode); } $targetEntity = $this->attributeFinder->findAttributeByClassesArgByName($property, self::TO_MANY_ANNOTATION_CLASSES, 'targetEntity'); + if (!$targetEntity instanceof \PhpParser\Node\Expr) { + return null; + } return $this->resolveTypeFromTargetEntity($targetEntity, $property); } - private function processToManyRelation(\PhpParser\Node\Stmt\Property $property, \Rector\BetterPhpDocParser\PhpDoc\DoctrineAnnotationTagValueNode $doctrineAnnotationTagValueNode) : \PHPStan\Type\Type + /** + * @return \PHPStan\Type\Type|null + */ + private function processToManyRelation(\PhpParser\Node\Stmt\Property $property, \Rector\BetterPhpDocParser\PhpDoc\DoctrineAnnotationTagValueNode $doctrineAnnotationTagValueNode) { $targetEntity = $doctrineAnnotationTagValueNode->getValueWithoutQuotes('targetEntity'); - if (!\is_string($targetEntity) && $targetEntity !== null) { - throw new \Rector\Core\Exception\ShouldNotHappenException(); + if (!\is_string($targetEntity)) { + return null; } return $this->resolveTypeFromTargetEntity($targetEntity, $property); } /** - * @param \PhpParser\Node\Expr|string|null $targetEntity + * @param \PhpParser\Node\Expr|string $targetEntity */ private function resolveTypeFromTargetEntity($targetEntity, \PhpParser\Node\Stmt\Property $property) : \PHPStan\Type\Type { diff --git a/vendor/scoper-autoload.php b/vendor/scoper-autoload.php index 76351a0b92d..490079eb864 100644 --- a/vendor/scoper-autoload.php +++ b/vendor/scoper-autoload.php @@ -9,8 +9,8 @@ if (!class_exists('AutoloadIncluder', false) && !interface_exists('AutoloadIncluder', false) && !trait_exists('AutoloadIncluder', false)) { spl_autoload_call('RectorPrefix20220118\AutoloadIncluder'); } -if (!class_exists('ComposerAutoloaderInit88019c3ee5c40b6181ed2f3b73650f4c', false) && !interface_exists('ComposerAutoloaderInit88019c3ee5c40b6181ed2f3b73650f4c', false) && !trait_exists('ComposerAutoloaderInit88019c3ee5c40b6181ed2f3b73650f4c', false)) { - spl_autoload_call('RectorPrefix20220118\ComposerAutoloaderInit88019c3ee5c40b6181ed2f3b73650f4c'); +if (!class_exists('ComposerAutoloaderInit1a7fdf2dc5a09523f3e07d3a96ae45ee', false) && !interface_exists('ComposerAutoloaderInit1a7fdf2dc5a09523f3e07d3a96ae45ee', false) && !trait_exists('ComposerAutoloaderInit1a7fdf2dc5a09523f3e07d3a96ae45ee', false)) { + spl_autoload_call('RectorPrefix20220118\ComposerAutoloaderInit1a7fdf2dc5a09523f3e07d3a96ae45ee'); } if (!class_exists('Helmich\TypoScriptParser\Parser\AST\Statement', false) && !interface_exists('Helmich\TypoScriptParser\Parser\AST\Statement', false) && !trait_exists('Helmich\TypoScriptParser\Parser\AST\Statement', false)) { spl_autoload_call('RectorPrefix20220118\Helmich\TypoScriptParser\Parser\AST\Statement'); @@ -71,9 +71,9 @@ function print_node() { return \RectorPrefix20220118\print_node(...func_get_args()); } } -if (!function_exists('composerRequire88019c3ee5c40b6181ed2f3b73650f4c')) { - function composerRequire88019c3ee5c40b6181ed2f3b73650f4c() { - return \RectorPrefix20220118\composerRequire88019c3ee5c40b6181ed2f3b73650f4c(...func_get_args()); +if (!function_exists('composerRequire1a7fdf2dc5a09523f3e07d3a96ae45ee')) { + function composerRequire1a7fdf2dc5a09523f3e07d3a96ae45ee() { + return \RectorPrefix20220118\composerRequire1a7fdf2dc5a09523f3e07d3a96ae45ee(...func_get_args()); } } if (!function_exists('scanPath')) {