diff --git a/vendor/autoload.php b/vendor/autoload.php index 60ec927386a..c2ae12d7ff4 100644 --- a/vendor/autoload.php +++ b/vendor/autoload.php @@ -9,4 +9,4 @@ if (PHP_VERSION_ID < 50600) { require_once __DIR__ . '/composer/autoload_real.php'; -return ComposerAutoloaderInitff57b92ef8ea795f7486de04122ffd5b::getLoader(); +return ComposerAutoloaderInit50808688ff91876faccf17ae58554fd3::getLoader(); diff --git a/vendor/composer/autoload_classmap.php b/vendor/composer/autoload_classmap.php index 8bc2c4546b9..45f23f88762 100644 --- a/vendor/composer/autoload_classmap.php +++ b/vendor/composer/autoload_classmap.php @@ -2551,6 +2551,7 @@ return array( 'Rector\\Symfony\\Rector\\ClassMethod\\RouteCollectionBuilderToRoutingConfiguratorRector' => $vendorDir . '/rector/rector-symfony/src/Rector/ClassMethod/RouteCollectionBuilderToRoutingConfiguratorRector.php', 'Rector\\Symfony\\Rector\\ClassMethod\\TemplateAnnotationToThisRenderRector' => $vendorDir . '/rector/rector-symfony/src/Rector/ClassMethod/TemplateAnnotationToThisRenderRector.php', 'Rector\\Symfony\\Rector\\Class_\\ChangeFileLoaderInExtensionAndKernelRector' => $vendorDir . '/rector/rector-symfony/src/Rector/Class_/ChangeFileLoaderInExtensionAndKernelRector.php', + 'Rector\\Symfony\\Rector\\Class_\\CommandDescriptionToPropertyRector' => $vendorDir . '/rector/rector-symfony/src/Rector/Class_/CommandDescriptionToPropertyRector.php', 'Rector\\Symfony\\Rector\\Class_\\CommandPropertyToAttributeRector' => $vendorDir . '/rector/rector-symfony/src/Rector/Class_/CommandPropertyToAttributeRector.php', 'Rector\\Symfony\\Rector\\Class_\\EventListenerToEventSubscriberRector' => $vendorDir . '/rector/rector-symfony/src/Rector/Class_/EventListenerToEventSubscriberRector.php', 'Rector\\Symfony\\Rector\\Class_\\FormTypeWithDependencyToOptionsRector' => $vendorDir . '/rector/rector-symfony/src/Rector/Class_/FormTypeWithDependencyToOptionsRector.php', @@ -2579,6 +2580,7 @@ return array( 'Rector\\Symfony\\Rector\\MethodCall\\GetToConstructorInjectionRector' => $vendorDir . '/rector/rector-symfony/src/Rector/MethodCall/GetToConstructorInjectionRector.php', 'Rector\\Symfony\\Rector\\MethodCall\\LiteralGetToRequestClassConstantRector' => $vendorDir . '/rector/rector-symfony/src/Rector/MethodCall/LiteralGetToRequestClassConstantRector.php', 'Rector\\Symfony\\Rector\\MethodCall\\MakeDispatchFirstArgumentEventRector' => $vendorDir . '/rector/rector-symfony/src/Rector/MethodCall/MakeDispatchFirstArgumentEventRector.php', + 'Rector\\Symfony\\Rector\\MethodCall\\MaxLengthSymfonyFormOptionToAttrRector' => $vendorDir . '/rector/rector-symfony/src/Rector/MethodCall/MaxLengthSymfonyFormOptionToAttrRector.php', 'Rector\\Symfony\\Rector\\MethodCall\\OptionNameRector' => $vendorDir . '/rector/rector-symfony/src/Rector/MethodCall/OptionNameRector.php', 'Rector\\Symfony\\Rector\\MethodCall\\ProcessBuilderGetProcessRector' => $vendorDir . '/rector/rector-symfony/src/Rector/MethodCall/ProcessBuilderGetProcessRector.php', 'Rector\\Symfony\\Rector\\MethodCall\\ReadOnlyOptionToAttributeRector' => $vendorDir . '/rector/rector-symfony/src/Rector/MethodCall/ReadOnlyOptionToAttributeRector.php', diff --git a/vendor/composer/autoload_real.php b/vendor/composer/autoload_real.php index ab1204264f5..4ff77fa6f87 100644 --- a/vendor/composer/autoload_real.php +++ b/vendor/composer/autoload_real.php @@ -2,7 +2,7 @@ // autoload_real.php @generated by Composer -class ComposerAutoloaderInitff57b92ef8ea795f7486de04122ffd5b +class ComposerAutoloaderInit50808688ff91876faccf17ae58554fd3 { private static $loader; @@ -22,19 +22,19 @@ class ComposerAutoloaderInitff57b92ef8ea795f7486de04122ffd5b return self::$loader; } - spl_autoload_register(array('ComposerAutoloaderInitff57b92ef8ea795f7486de04122ffd5b', 'loadClassLoader'), true, true); + spl_autoload_register(array('ComposerAutoloaderInit50808688ff91876faccf17ae58554fd3', 'loadClassLoader'), true, true); self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__)); - spl_autoload_unregister(array('ComposerAutoloaderInitff57b92ef8ea795f7486de04122ffd5b', 'loadClassLoader')); + spl_autoload_unregister(array('ComposerAutoloaderInit50808688ff91876faccf17ae58554fd3', 'loadClassLoader')); require __DIR__ . '/autoload_static.php'; - call_user_func(\Composer\Autoload\ComposerStaticInitff57b92ef8ea795f7486de04122ffd5b::getInitializer($loader)); + call_user_func(\Composer\Autoload\ComposerStaticInit50808688ff91876faccf17ae58554fd3::getInitializer($loader)); $loader->setClassMapAuthoritative(true); $loader->register(true); - $includeFiles = \Composer\Autoload\ComposerStaticInitff57b92ef8ea795f7486de04122ffd5b::$files; + $includeFiles = \Composer\Autoload\ComposerStaticInit50808688ff91876faccf17ae58554fd3::$files; foreach ($includeFiles as $fileIdentifier => $file) { - composerRequireff57b92ef8ea795f7486de04122ffd5b($fileIdentifier, $file); + composerRequire50808688ff91876faccf17ae58554fd3($fileIdentifier, $file); } return $loader; @@ -46,7 +46,7 @@ class ComposerAutoloaderInitff57b92ef8ea795f7486de04122ffd5b * @param string $file * @return void */ -function composerRequireff57b92ef8ea795f7486de04122ffd5b($fileIdentifier, $file) +function composerRequire50808688ff91876faccf17ae58554fd3($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 fcf2a6e4973..d39f0ac0401 100644 --- a/vendor/composer/autoload_static.php +++ b/vendor/composer/autoload_static.php @@ -4,7 +4,7 @@ namespace Composer\Autoload; -class ComposerStaticInitff57b92ef8ea795f7486de04122ffd5b +class ComposerStaticInit50808688ff91876faccf17ae58554fd3 { public static $files = array ( 'ad155f8f1cf0d418fe49e248db8c661b' => __DIR__ . '/..' . '/react/promise/src/functions_include.php', @@ -2811,6 +2811,7 @@ class ComposerStaticInitff57b92ef8ea795f7486de04122ffd5b 'Rector\\Symfony\\Rector\\ClassMethod\\RouteCollectionBuilderToRoutingConfiguratorRector' => __DIR__ . '/..' . '/rector/rector-symfony/src/Rector/ClassMethod/RouteCollectionBuilderToRoutingConfiguratorRector.php', 'Rector\\Symfony\\Rector\\ClassMethod\\TemplateAnnotationToThisRenderRector' => __DIR__ . '/..' . '/rector/rector-symfony/src/Rector/ClassMethod/TemplateAnnotationToThisRenderRector.php', 'Rector\\Symfony\\Rector\\Class_\\ChangeFileLoaderInExtensionAndKernelRector' => __DIR__ . '/..' . '/rector/rector-symfony/src/Rector/Class_/ChangeFileLoaderInExtensionAndKernelRector.php', + 'Rector\\Symfony\\Rector\\Class_\\CommandDescriptionToPropertyRector' => __DIR__ . '/..' . '/rector/rector-symfony/src/Rector/Class_/CommandDescriptionToPropertyRector.php', 'Rector\\Symfony\\Rector\\Class_\\CommandPropertyToAttributeRector' => __DIR__ . '/..' . '/rector/rector-symfony/src/Rector/Class_/CommandPropertyToAttributeRector.php', 'Rector\\Symfony\\Rector\\Class_\\EventListenerToEventSubscriberRector' => __DIR__ . '/..' . '/rector/rector-symfony/src/Rector/Class_/EventListenerToEventSubscriberRector.php', 'Rector\\Symfony\\Rector\\Class_\\FormTypeWithDependencyToOptionsRector' => __DIR__ . '/..' . '/rector/rector-symfony/src/Rector/Class_/FormTypeWithDependencyToOptionsRector.php', @@ -2839,6 +2840,7 @@ class ComposerStaticInitff57b92ef8ea795f7486de04122ffd5b 'Rector\\Symfony\\Rector\\MethodCall\\GetToConstructorInjectionRector' => __DIR__ . '/..' . '/rector/rector-symfony/src/Rector/MethodCall/GetToConstructorInjectionRector.php', 'Rector\\Symfony\\Rector\\MethodCall\\LiteralGetToRequestClassConstantRector' => __DIR__ . '/..' . '/rector/rector-symfony/src/Rector/MethodCall/LiteralGetToRequestClassConstantRector.php', 'Rector\\Symfony\\Rector\\MethodCall\\MakeDispatchFirstArgumentEventRector' => __DIR__ . '/..' . '/rector/rector-symfony/src/Rector/MethodCall/MakeDispatchFirstArgumentEventRector.php', + 'Rector\\Symfony\\Rector\\MethodCall\\MaxLengthSymfonyFormOptionToAttrRector' => __DIR__ . '/..' . '/rector/rector-symfony/src/Rector/MethodCall/MaxLengthSymfonyFormOptionToAttrRector.php', 'Rector\\Symfony\\Rector\\MethodCall\\OptionNameRector' => __DIR__ . '/..' . '/rector/rector-symfony/src/Rector/MethodCall/OptionNameRector.php', 'Rector\\Symfony\\Rector\\MethodCall\\ProcessBuilderGetProcessRector' => __DIR__ . '/..' . '/rector/rector-symfony/src/Rector/MethodCall/ProcessBuilderGetProcessRector.php', 'Rector\\Symfony\\Rector\\MethodCall\\ReadOnlyOptionToAttributeRector' => __DIR__ . '/..' . '/rector/rector-symfony/src/Rector/MethodCall/ReadOnlyOptionToAttributeRector.php', @@ -3101,9 +3103,9 @@ class ComposerStaticInitff57b92ef8ea795f7486de04122ffd5b public static function getInitializer(ClassLoader $loader) { return \Closure::bind(function () use ($loader) { - $loader->prefixLengthsPsr4 = ComposerStaticInitff57b92ef8ea795f7486de04122ffd5b::$prefixLengthsPsr4; - $loader->prefixDirsPsr4 = ComposerStaticInitff57b92ef8ea795f7486de04122ffd5b::$prefixDirsPsr4; - $loader->classMap = ComposerStaticInitff57b92ef8ea795f7486de04122ffd5b::$classMap; + $loader->prefixLengthsPsr4 = ComposerStaticInit50808688ff91876faccf17ae58554fd3::$prefixLengthsPsr4; + $loader->prefixDirsPsr4 = ComposerStaticInit50808688ff91876faccf17ae58554fd3::$prefixDirsPsr4; + $loader->classMap = ComposerStaticInit50808688ff91876faccf17ae58554fd3::$classMap; }, null, ClassLoader::class); } diff --git a/vendor/composer/installed.json b/vendor/composer/installed.json index b78cd1ef68b..2007fb27dbe 100644 --- a/vendor/composer/installed.json +++ b/vendor/composer/installed.json @@ -2264,12 +2264,12 @@ "source": { "type": "git", "url": "https:\/\/github.com\/rectorphp\/rector-symfony.git", - "reference": "137e52b4a7b17dc9753ed4ce6aa00d4569d7dc80" + "reference": "113df7c4196be6d196bd7606e2daa98f7b7cd289" }, "dist": { "type": "zip", - "url": "https:\/\/api.github.com\/repos\/rectorphp\/rector-symfony\/zipball\/137e52b4a7b17dc9753ed4ce6aa00d4569d7dc80", - "reference": "137e52b4a7b17dc9753ed4ce6aa00d4569d7dc80", + "url": "https:\/\/api.github.com\/repos\/rectorphp\/rector-symfony\/zipball\/113df7c4196be6d196bd7606e2daa98f7b7cd289", + "reference": "113df7c4196be6d196bd7606e2daa98f7b7cd289", "shasum": "" }, "require": { @@ -2300,7 +2300,7 @@ "symplify\/rule-doc-generator": "^11.1", "symplify\/vendor-patches": "^11.1" }, - "time": "2022-09-12T07:21:22+00:00", + "time": "2022-09-19T21:01:13+00:00", "default-branch": true, "type": "rector-extension", "extra": { @@ -2327,7 +2327,7 @@ "description": "Rector upgrades rules for Symfony Framework", "support": { "issues": "https:\/\/github.com\/rectorphp\/rector-symfony\/issues", - "source": "https:\/\/github.com\/rectorphp\/rector-symfony\/tree\/main" + "source": "https:\/\/github.com\/rectorphp\/rector-symfony\/tree\/0.14.0" }, "install-path": "..\/rector\/rector-symfony" }, diff --git a/vendor/composer/installed.php b/vendor/composer/installed.php index 5950ae816bd..5f2e5cbdda1 100644 --- a/vendor/composer/installed.php +++ b/vendor/composer/installed.php @@ -2,4 +2,4 @@ namespace RectorPrefix202209; -return array('root' => array('name' => 'rector/rector-src', 'pretty_version' => 'dev-main', 'version' => 'dev-main', 'reference' => NULL, 'type' => 'library', 'install_path' => __DIR__ . '/../../', 'aliases' => array(0 => '0.14.x-dev'), 'dev' => \false), 'versions' => array('clue/ndjson-react' => array('pretty_version' => 'v1.2.0', 'version' => '1.2.0.0', 'reference' => '708411c7e45ac85371a99d50f52284971494bede', 'type' => 'library', 'install_path' => __DIR__ . '/../clue/ndjson-react', 'aliases' => array(), 'dev_requirement' => \false), 'composer/pcre' => array('pretty_version' => '3.0.0', 'version' => '3.0.0.0', 'reference' => 'e300eb6c535192decd27a85bc72a9290f0d6b3bd', 'type' => 'library', 'install_path' => __DIR__ . '/./pcre', 'aliases' => array(), 'dev_requirement' => \false), 'composer/semver' => array('pretty_version' => '3.3.2', 'version' => '3.3.2.0', 'reference' => '3953f23262f2bff1919fc82183ad9acb13ff62c9', 'type' => 'library', 'install_path' => __DIR__ . '/./semver', 'aliases' => array(), 'dev_requirement' => \false), 'composer/xdebug-handler' => array('pretty_version' => '3.0.3', 'version' => '3.0.3.0', 'reference' => 'ced299686f41dce890debac69273b47ffe98a40c', 'type' => 'library', 'install_path' => __DIR__ . '/./xdebug-handler', 'aliases' => array(), 'dev_requirement' => \false), 'doctrine/inflector' => array('pretty_version' => '2.0.5', 'version' => '2.0.5.0', 'reference' => 'ade2b3bbfb776f27f0558e26eed43b5d9fe1b392', 'type' => 'library', 'install_path' => __DIR__ . '/../doctrine/inflector', 'aliases' => array(), 'dev_requirement' => \false), 'evenement/evenement' => array('pretty_version' => 'v3.0.1', 'version' => '3.0.1.0', 'reference' => '531bfb9d15f8aa57454f5f0285b18bec903b8fb7', 'type' => 'library', 'install_path' => __DIR__ . '/../evenement/evenement', 'aliases' => array(), 'dev_requirement' => \false), 'nette/utils' => array('pretty_version' => 'v3.2.8', 'version' => '3.2.8.0', 'reference' => '02a54c4c872b99e4ec05c4aec54b5a06eb0f6368', 'type' => 'library', 'install_path' => __DIR__ . '/../nette/utils', 'aliases' => array(), 'dev_requirement' => \false), 'nikic/php-parser' => array('pretty_version' => 'v4.15.1', 'version' => '4.15.1.0', 'reference' => '0ef6c55a3f47f89d7a374e6f835197a0b5fcf900', 'type' => 'library', 'install_path' => __DIR__ . '/../nikic/php-parser', 'aliases' => array(), 'dev_requirement' => \false), 'ondram/ci-detector' => array('pretty_version' => '4.1.0', 'version' => '4.1.0.0', 'reference' => '8a4b664e916df82ff26a44709942dfd593fa6f30', 'type' => 'library', 'install_path' => __DIR__ . '/../ondram/ci-detector', 'aliases' => array(), 'dev_requirement' => \false), 'phpstan/phpdoc-parser' => array('pretty_version' => '1.8.0', 'version' => '1.8.0.0', 'reference' => '8dd908dd6156e974b9a0f8bb4cd5ad0707830f04', 'type' => 'library', 'install_path' => __DIR__ . '/../phpstan/phpdoc-parser', 'aliases' => array(), 'dev_requirement' => \false), 'phpstan/phpstan' => array('pretty_version' => '1.8.5', 'version' => '1.8.5.0', 'reference' => 'f6598a5ff12ca4499a836815e08b4d77a2ddeb20', 'type' => 'library', 'install_path' => __DIR__ . '/../phpstan/phpstan', 'aliases' => array(), 'dev_requirement' => \false), 'phpstan/phpstan-phpunit' => array('pretty_version' => '1.1.1', 'version' => '1.1.1.0', 'reference' => '4a3c437c09075736285d1cabb5c75bf27ed0bc84', 'type' => 'phpstan-extension', 'install_path' => __DIR__ . '/../phpstan/phpstan-phpunit', 'aliases' => array(), 'dev_requirement' => \false), 'psr/cache' => array('pretty_version' => '3.0.0', 'version' => '3.0.0.0', 'reference' => 'aa5030cfa5405eccfdcb1083ce040c2cb8d253bf', 'type' => 'library', 'install_path' => __DIR__ . '/../psr/cache', 'aliases' => array(), 'dev_requirement' => \false), 'psr/container' => array('pretty_version' => '2.0.2', 'version' => '2.0.2.0', 'reference' => 'c71ecc56dfe541dbd90c5360474fbc405f8d5963', 'type' => 'library', 'install_path' => __DIR__ . '/../psr/container', 'aliases' => array(), 'dev_requirement' => \false), 'psr/container-implementation' => array('dev_requirement' => \false, 'provided' => array(0 => '1.1|2.0')), 'psr/event-dispatcher' => array('pretty_version' => '1.0.0', 'version' => '1.0.0.0', 'reference' => 'dbefd12671e8a14ec7f180cab83036ed26714bb0', 'type' => 'library', 'install_path' => __DIR__ . '/../psr/event-dispatcher', 'aliases' => array(), 'dev_requirement' => \false), 'psr/log' => array('pretty_version' => '3.0.0', 'version' => '3.0.0.0', 'reference' => 'fe5ea303b0887d5caefd3d431c3e61ad47037001', 'type' => 'library', 'install_path' => __DIR__ . '/../psr/log', 'aliases' => array(), 'dev_requirement' => \false), 'psr/log-implementation' => array('dev_requirement' => \false, 'provided' => array(0 => '1.0|2.0|3.0')), 'react/cache' => array('pretty_version' => 'v1.1.1', 'version' => '1.1.1.0', 'reference' => '4bf736a2cccec7298bdf745db77585966fc2ca7e', 'type' => 'library', 'install_path' => __DIR__ . '/../react/cache', 'aliases' => array(), 'dev_requirement' => \false), 'react/child-process' => array('pretty_version' => 'v0.6.5', 'version' => '0.6.5.0', 'reference' => 'e71eb1aa55f057c7a4a0d08d06b0b0a484bead43', 'type' => 'library', 'install_path' => __DIR__ . '/../react/child-process', 'aliases' => array(), 'dev_requirement' => \false), 'react/dns' => array('pretty_version' => 'v1.10.0', 'version' => '1.10.0.0', 'reference' => 'a5427e7dfa47713e438016905605819d101f238c', 'type' => 'library', 'install_path' => __DIR__ . '/../react/dns', 'aliases' => array(), 'dev_requirement' => \false), 'react/event-loop' => array('pretty_version' => 'v1.3.0', 'version' => '1.3.0.0', 'reference' => '187fb56f46d424afb6ec4ad089269c72eec2e137', 'type' => 'library', 'install_path' => __DIR__ . '/../react/event-loop', 'aliases' => array(), 'dev_requirement' => \false), 'react/promise' => array('pretty_version' => 'v2.9.0', 'version' => '2.9.0.0', 'reference' => '234f8fd1023c9158e2314fa9d7d0e6a83db42910', 'type' => 'library', 'install_path' => __DIR__ . '/../react/promise', 'aliases' => array(), 'dev_requirement' => \false), 'react/promise-timer' => array('pretty_version' => 'v1.9.0', 'version' => '1.9.0.0', 'reference' => 'aa7a73c74b8d8c0f622f5982ff7b0351bc29e495', 'type' => 'library', 'install_path' => __DIR__ . '/../react/promise-timer', 'aliases' => array(), 'dev_requirement' => \false), 'react/socket' => array('pretty_version' => 'v1.12.0', 'version' => '1.12.0.0', 'reference' => '81e1b4d7f5450ebd8d2e9a95bb008bb15ca95a7b', 'type' => 'library', 'install_path' => __DIR__ . '/../react/socket', 'aliases' => array(), 'dev_requirement' => \false), 'react/stream' => array('pretty_version' => 'v1.2.0', 'version' => '1.2.0.0', 'reference' => '7a423506ee1903e89f1e08ec5f0ed430ff784ae9', 'type' => 'library', 'install_path' => __DIR__ . '/../react/stream', 'aliases' => array(), 'dev_requirement' => \false), 'rector/extension-installer' => array('pretty_version' => '0.11.2', 'version' => '0.11.2.0', 'reference' => '05544e9b195863b8571ae2a3b903cbec7fa062e0', 'type' => 'composer-plugin', 'install_path' => __DIR__ . '/../rector/extension-installer', 'aliases' => array(), 'dev_requirement' => \false), 'rector/rector' => array('dev_requirement' => \false, 'replaced' => array(0 => '0.14.x-dev', 1 => 'dev-main')), 'rector/rector-cakephp' => array('pretty_version' => 'dev-main', 'version' => 'dev-main', 'reference' => 'a489bf049d6672d9ecdc03280f3f0f29c810cdd4', 'type' => 'rector-extension', 'install_path' => __DIR__ . '/../rector/rector-cakephp', 'aliases' => array(0 => '0.11.x-dev'), 'dev_requirement' => \false), 'rector/rector-doctrine' => array('pretty_version' => 'dev-main', 'version' => 'dev-main', 'reference' => 'c56069f7665bfd544506aadf77b67464ce043f5c', 'type' => 'rector-extension', 'install_path' => __DIR__ . '/../rector/rector-doctrine', 'aliases' => array(0 => '0.11.x-dev'), 'dev_requirement' => \false), 'rector/rector-downgrade-php' => array('pretty_version' => 'dev-main', 'version' => 'dev-main', 'reference' => 'd75c674779ffbbb96e2b02074b1e2877dc37781d', 'type' => 'rector-extension', 'install_path' => __DIR__ . '/../rector/rector-downgrade-php', 'aliases' => array(0 => '0.11.x-dev'), 'dev_requirement' => \false), 'rector/rector-laravel' => array('pretty_version' => 'dev-main', 'version' => 'dev-main', 'reference' => '2decdcfeef9d117e4589ebc9e7fdbab11c030813', 'type' => 'rector-extension', 'install_path' => __DIR__ . '/../rector/rector-laravel', 'aliases' => array(0 => '0.11.x-dev'), 'dev_requirement' => \false), 'rector/rector-php-parser' => array('pretty_version' => 'dev-main', 'version' => 'dev-main', 'reference' => '8d6cbe9cb66130011f41050d65e7cf53cae6cc05', 'type' => 'rector-extension', 'install_path' => __DIR__ . '/../rector/rector-php-parser', 'aliases' => array(0 => '0.11.x-dev'), 'dev_requirement' => \false), 'rector/rector-phpoffice' => array('pretty_version' => 'dev-main', 'version' => 'dev-main', 'reference' => '294de0ce80a9eb2c1b2d0d8e2762032dba0044e0', 'type' => 'rector-extension', 'install_path' => __DIR__ . '/../rector/rector-phpoffice', 'aliases' => array(0 => '0.11.x-dev'), 'dev_requirement' => \false), 'rector/rector-phpunit' => array('pretty_version' => 'dev-main', 'version' => 'dev-main', 'reference' => 'cf30315aeca41cc35fd736bb63c4bbbbe4d56fc6', 'type' => 'rector-extension', 'install_path' => __DIR__ . '/../rector/rector-phpunit', 'aliases' => array(0 => '0.11.x-dev'), 'dev_requirement' => \false), 'rector/rector-src' => array('pretty_version' => 'dev-main', 'version' => 'dev-main', 'reference' => NULL, 'type' => 'library', 'install_path' => __DIR__ . '/../../', 'aliases' => array(0 => '0.14.x-dev'), 'dev_requirement' => \false), 'rector/rector-symfony' => array('pretty_version' => 'dev-main', 'version' => 'dev-main', 'reference' => '137e52b4a7b17dc9753ed4ce6aa00d4569d7dc80', 'type' => 'rector-extension', 'install_path' => __DIR__ . '/../rector/rector-symfony', 'aliases' => array(0 => '0.11.x-dev'), 'dev_requirement' => \false), 'sebastian/diff' => array('pretty_version' => '4.0.4', 'version' => '4.0.4.0', 'reference' => '3461e3fccc7cfdfc2720be910d3bd73c69be590d', 'type' => 'library', 'install_path' => __DIR__ . '/../sebastian/diff', 'aliases' => array(), 'dev_requirement' => \false), 'symfony/cache-contracts' => array('dev_requirement' => \false, 'replaced' => array(0 => 'v3.1.1')), 'symfony/config' => array('pretty_version' => 'v6.1.3', 'version' => '6.1.3.0', 'reference' => 'a0645dc585d378b73c01115dd7ab9348f7d40c85', 'type' => 'library', 'install_path' => __DIR__ . '/../symfony/config', 'aliases' => array(), 'dev_requirement' => \false), 'symfony/console' => array('pretty_version' => 'v6.1.4', 'version' => '6.1.4.0', 'reference' => '7fccea8728aa2d431a6725b02b3ce759049fc84d', 'type' => 'library', 'install_path' => __DIR__ . '/../symfony/console', 'aliases' => array(), 'dev_requirement' => \false), 'symfony/contracts' => array('pretty_version' => 'v3.1.1', 'version' => '3.1.1.0', 'reference' => '8656c9e7f44435eaf428f2aa7f083c65297fb22f', 'type' => 'library', 'install_path' => __DIR__ . '/../symfony/contracts', 'aliases' => array(), 'dev_requirement' => \false), 'symfony/dependency-injection' => array('pretty_version' => 'v6.1.3', 'version' => '6.1.3.0', 'reference' => '079e336a1880f457b219aecc3d41bef2f1093b0b', 'type' => 'library', 'install_path' => __DIR__ . '/../symfony/dependency-injection', 'aliases' => array(), 'dev_requirement' => \false), 'symfony/deprecation-contracts' => array('dev_requirement' => \false, 'replaced' => array(0 => 'v3.1.1')), 'symfony/event-dispatcher-contracts' => array('dev_requirement' => \false, 'replaced' => array(0 => 'v3.1.1')), 'symfony/filesystem' => array('pretty_version' => 'v6.1.4', 'version' => '6.1.4.0', 'reference' => '3f39c04d2630c34019907b02f85672dac99f8659', 'type' => 'library', 'install_path' => __DIR__ . '/../symfony/filesystem', 'aliases' => array(), 'dev_requirement' => \false), 'symfony/finder' => array('pretty_version' => 'v6.1.3', 'version' => '6.1.3.0', 'reference' => '39696bff2c2970b3779a5cac7bf9f0b88fc2b709', 'type' => 'library', 'install_path' => __DIR__ . '/../symfony/finder', 'aliases' => array(), 'dev_requirement' => \false), 'symfony/http-client-contracts' => array('dev_requirement' => \false, 'replaced' => array(0 => 'v3.1.1')), 'symfony/polyfill-ctype' => array('dev_requirement' => \false, 'replaced' => array(0 => '*')), 'symfony/polyfill-intl-grapheme' => array('dev_requirement' => \false, 'replaced' => array(0 => '*')), 'symfony/polyfill-intl-normalizer' => array('pretty_version' => 'v1.26.0', 'version' => '1.26.0.0', 'reference' => '219aa369ceff116e673852dce47c3a41794c14bd', 'type' => 'library', 'install_path' => __DIR__ . '/../symfony/polyfill-intl-normalizer', 'aliases' => array(), 'dev_requirement' => \false), 'symfony/polyfill-mbstring' => array('pretty_version' => 'v1.26.0', 'version' => '1.26.0.0', 'reference' => '9344f9cb97f3b19424af1a21a3b0e75b0a7d8d7e', 'type' => 'library', 'install_path' => __DIR__ . '/../symfony/polyfill-mbstring', 'aliases' => array(), 'dev_requirement' => \false), 'symfony/service-contracts' => array('dev_requirement' => \false, 'replaced' => array(0 => 'v3.1.1')), 'symfony/service-implementation' => array('dev_requirement' => \false, 'provided' => array(0 => '1.1|2.0|3.0')), 'symfony/string' => array('pretty_version' => 'v6.1.4', 'version' => '6.1.4.0', 'reference' => '290972cad7b364e3befaa74ba0ec729800fb161c', 'type' => 'library', 'install_path' => __DIR__ . '/../symfony/string', 'aliases' => array(), 'dev_requirement' => \false), 'symfony/translation-contracts' => array('dev_requirement' => \false, 'replaced' => array(0 => 'v3.1.1')), 'symplify/autowire-array-parameter' => array('pretty_version' => '11.1.9', 'version' => '11.1.9.0', 'reference' => 'efc222c5546f07a390ff0e1d7b35282a09ff5a09', 'type' => 'library', 'install_path' => __DIR__ . '/../symplify/autowire-array-parameter', 'aliases' => array(), 'dev_requirement' => \false), 'symplify/easy-parallel' => array('pretty_version' => '11.1.9', 'version' => '11.1.9.0', 'reference' => '75df164f48ad642ac08337de7410f5ebe814893e', 'type' => 'library', 'install_path' => __DIR__ . '/../symplify/easy-parallel', 'aliases' => array(), 'dev_requirement' => \false), 'symplify/rule-doc-generator-contracts' => array('pretty_version' => '11.1.9', 'version' => '11.1.9.0', 'reference' => '868b0b3235a2f507a8213a6a9ae6fabe2528fab9', 'type' => 'library', 'install_path' => __DIR__ . '/../symplify/rule-doc-generator-contracts', 'aliases' => array(), 'dev_requirement' => \false), 'webmozart/assert' => array('pretty_version' => '1.11.0', 'version' => '1.11.0.0', 'reference' => '11cb2199493b2f8a3b53e7f19068fc6aac760991', 'type' => 'library', 'install_path' => __DIR__ . '/../webmozart/assert', 'aliases' => array(), 'dev_requirement' => \false))); +return array('root' => array('name' => 'rector/rector-src', 'pretty_version' => 'dev-main', 'version' => 'dev-main', 'reference' => NULL, 'type' => 'library', 'install_path' => __DIR__ . '/../../', 'aliases' => array(0 => '0.14.x-dev'), 'dev' => \false), 'versions' => array('clue/ndjson-react' => array('pretty_version' => 'v1.2.0', 'version' => '1.2.0.0', 'reference' => '708411c7e45ac85371a99d50f52284971494bede', 'type' => 'library', 'install_path' => __DIR__ . '/../clue/ndjson-react', 'aliases' => array(), 'dev_requirement' => \false), 'composer/pcre' => array('pretty_version' => '3.0.0', 'version' => '3.0.0.0', 'reference' => 'e300eb6c535192decd27a85bc72a9290f0d6b3bd', 'type' => 'library', 'install_path' => __DIR__ . '/./pcre', 'aliases' => array(), 'dev_requirement' => \false), 'composer/semver' => array('pretty_version' => '3.3.2', 'version' => '3.3.2.0', 'reference' => '3953f23262f2bff1919fc82183ad9acb13ff62c9', 'type' => 'library', 'install_path' => __DIR__ . '/./semver', 'aliases' => array(), 'dev_requirement' => \false), 'composer/xdebug-handler' => array('pretty_version' => '3.0.3', 'version' => '3.0.3.0', 'reference' => 'ced299686f41dce890debac69273b47ffe98a40c', 'type' => 'library', 'install_path' => __DIR__ . '/./xdebug-handler', 'aliases' => array(), 'dev_requirement' => \false), 'doctrine/inflector' => array('pretty_version' => '2.0.5', 'version' => '2.0.5.0', 'reference' => 'ade2b3bbfb776f27f0558e26eed43b5d9fe1b392', 'type' => 'library', 'install_path' => __DIR__ . '/../doctrine/inflector', 'aliases' => array(), 'dev_requirement' => \false), 'evenement/evenement' => array('pretty_version' => 'v3.0.1', 'version' => '3.0.1.0', 'reference' => '531bfb9d15f8aa57454f5f0285b18bec903b8fb7', 'type' => 'library', 'install_path' => __DIR__ . '/../evenement/evenement', 'aliases' => array(), 'dev_requirement' => \false), 'nette/utils' => array('pretty_version' => 'v3.2.8', 'version' => '3.2.8.0', 'reference' => '02a54c4c872b99e4ec05c4aec54b5a06eb0f6368', 'type' => 'library', 'install_path' => __DIR__ . '/../nette/utils', 'aliases' => array(), 'dev_requirement' => \false), 'nikic/php-parser' => array('pretty_version' => 'v4.15.1', 'version' => '4.15.1.0', 'reference' => '0ef6c55a3f47f89d7a374e6f835197a0b5fcf900', 'type' => 'library', 'install_path' => __DIR__ . '/../nikic/php-parser', 'aliases' => array(), 'dev_requirement' => \false), 'ondram/ci-detector' => array('pretty_version' => '4.1.0', 'version' => '4.1.0.0', 'reference' => '8a4b664e916df82ff26a44709942dfd593fa6f30', 'type' => 'library', 'install_path' => __DIR__ . '/../ondram/ci-detector', 'aliases' => array(), 'dev_requirement' => \false), 'phpstan/phpdoc-parser' => array('pretty_version' => '1.8.0', 'version' => '1.8.0.0', 'reference' => '8dd908dd6156e974b9a0f8bb4cd5ad0707830f04', 'type' => 'library', 'install_path' => __DIR__ . '/../phpstan/phpdoc-parser', 'aliases' => array(), 'dev_requirement' => \false), 'phpstan/phpstan' => array('pretty_version' => '1.8.5', 'version' => '1.8.5.0', 'reference' => 'f6598a5ff12ca4499a836815e08b4d77a2ddeb20', 'type' => 'library', 'install_path' => __DIR__ . '/../phpstan/phpstan', 'aliases' => array(), 'dev_requirement' => \false), 'phpstan/phpstan-phpunit' => array('pretty_version' => '1.1.1', 'version' => '1.1.1.0', 'reference' => '4a3c437c09075736285d1cabb5c75bf27ed0bc84', 'type' => 'phpstan-extension', 'install_path' => __DIR__ . '/../phpstan/phpstan-phpunit', 'aliases' => array(), 'dev_requirement' => \false), 'psr/cache' => array('pretty_version' => '3.0.0', 'version' => '3.0.0.0', 'reference' => 'aa5030cfa5405eccfdcb1083ce040c2cb8d253bf', 'type' => 'library', 'install_path' => __DIR__ . '/../psr/cache', 'aliases' => array(), 'dev_requirement' => \false), 'psr/container' => array('pretty_version' => '2.0.2', 'version' => '2.0.2.0', 'reference' => 'c71ecc56dfe541dbd90c5360474fbc405f8d5963', 'type' => 'library', 'install_path' => __DIR__ . '/../psr/container', 'aliases' => array(), 'dev_requirement' => \false), 'psr/container-implementation' => array('dev_requirement' => \false, 'provided' => array(0 => '1.1|2.0')), 'psr/event-dispatcher' => array('pretty_version' => '1.0.0', 'version' => '1.0.0.0', 'reference' => 'dbefd12671e8a14ec7f180cab83036ed26714bb0', 'type' => 'library', 'install_path' => __DIR__ . '/../psr/event-dispatcher', 'aliases' => array(), 'dev_requirement' => \false), 'psr/log' => array('pretty_version' => '3.0.0', 'version' => '3.0.0.0', 'reference' => 'fe5ea303b0887d5caefd3d431c3e61ad47037001', 'type' => 'library', 'install_path' => __DIR__ . '/../psr/log', 'aliases' => array(), 'dev_requirement' => \false), 'psr/log-implementation' => array('dev_requirement' => \false, 'provided' => array(0 => '1.0|2.0|3.0')), 'react/cache' => array('pretty_version' => 'v1.1.1', 'version' => '1.1.1.0', 'reference' => '4bf736a2cccec7298bdf745db77585966fc2ca7e', 'type' => 'library', 'install_path' => __DIR__ . '/../react/cache', 'aliases' => array(), 'dev_requirement' => \false), 'react/child-process' => array('pretty_version' => 'v0.6.5', 'version' => '0.6.5.0', 'reference' => 'e71eb1aa55f057c7a4a0d08d06b0b0a484bead43', 'type' => 'library', 'install_path' => __DIR__ . '/../react/child-process', 'aliases' => array(), 'dev_requirement' => \false), 'react/dns' => array('pretty_version' => 'v1.10.0', 'version' => '1.10.0.0', 'reference' => 'a5427e7dfa47713e438016905605819d101f238c', 'type' => 'library', 'install_path' => __DIR__ . '/../react/dns', 'aliases' => array(), 'dev_requirement' => \false), 'react/event-loop' => array('pretty_version' => 'v1.3.0', 'version' => '1.3.0.0', 'reference' => '187fb56f46d424afb6ec4ad089269c72eec2e137', 'type' => 'library', 'install_path' => __DIR__ . '/../react/event-loop', 'aliases' => array(), 'dev_requirement' => \false), 'react/promise' => array('pretty_version' => 'v2.9.0', 'version' => '2.9.0.0', 'reference' => '234f8fd1023c9158e2314fa9d7d0e6a83db42910', 'type' => 'library', 'install_path' => __DIR__ . '/../react/promise', 'aliases' => array(), 'dev_requirement' => \false), 'react/promise-timer' => array('pretty_version' => 'v1.9.0', 'version' => '1.9.0.0', 'reference' => 'aa7a73c74b8d8c0f622f5982ff7b0351bc29e495', 'type' => 'library', 'install_path' => __DIR__ . '/../react/promise-timer', 'aliases' => array(), 'dev_requirement' => \false), 'react/socket' => array('pretty_version' => 'v1.12.0', 'version' => '1.12.0.0', 'reference' => '81e1b4d7f5450ebd8d2e9a95bb008bb15ca95a7b', 'type' => 'library', 'install_path' => __DIR__ . '/../react/socket', 'aliases' => array(), 'dev_requirement' => \false), 'react/stream' => array('pretty_version' => 'v1.2.0', 'version' => '1.2.0.0', 'reference' => '7a423506ee1903e89f1e08ec5f0ed430ff784ae9', 'type' => 'library', 'install_path' => __DIR__ . '/../react/stream', 'aliases' => array(), 'dev_requirement' => \false), 'rector/extension-installer' => array('pretty_version' => '0.11.2', 'version' => '0.11.2.0', 'reference' => '05544e9b195863b8571ae2a3b903cbec7fa062e0', 'type' => 'composer-plugin', 'install_path' => __DIR__ . '/../rector/extension-installer', 'aliases' => array(), 'dev_requirement' => \false), 'rector/rector' => array('dev_requirement' => \false, 'replaced' => array(0 => '0.14.x-dev', 1 => 'dev-main')), 'rector/rector-cakephp' => array('pretty_version' => 'dev-main', 'version' => 'dev-main', 'reference' => 'a489bf049d6672d9ecdc03280f3f0f29c810cdd4', 'type' => 'rector-extension', 'install_path' => __DIR__ . '/../rector/rector-cakephp', 'aliases' => array(0 => '0.11.x-dev'), 'dev_requirement' => \false), 'rector/rector-doctrine' => array('pretty_version' => 'dev-main', 'version' => 'dev-main', 'reference' => 'c56069f7665bfd544506aadf77b67464ce043f5c', 'type' => 'rector-extension', 'install_path' => __DIR__ . '/../rector/rector-doctrine', 'aliases' => array(0 => '0.11.x-dev'), 'dev_requirement' => \false), 'rector/rector-downgrade-php' => array('pretty_version' => 'dev-main', 'version' => 'dev-main', 'reference' => 'd75c674779ffbbb96e2b02074b1e2877dc37781d', 'type' => 'rector-extension', 'install_path' => __DIR__ . '/../rector/rector-downgrade-php', 'aliases' => array(0 => '0.11.x-dev'), 'dev_requirement' => \false), 'rector/rector-laravel' => array('pretty_version' => 'dev-main', 'version' => 'dev-main', 'reference' => '2decdcfeef9d117e4589ebc9e7fdbab11c030813', 'type' => 'rector-extension', 'install_path' => __DIR__ . '/../rector/rector-laravel', 'aliases' => array(0 => '0.11.x-dev'), 'dev_requirement' => \false), 'rector/rector-php-parser' => array('pretty_version' => 'dev-main', 'version' => 'dev-main', 'reference' => '8d6cbe9cb66130011f41050d65e7cf53cae6cc05', 'type' => 'rector-extension', 'install_path' => __DIR__ . '/../rector/rector-php-parser', 'aliases' => array(0 => '0.11.x-dev'), 'dev_requirement' => \false), 'rector/rector-phpoffice' => array('pretty_version' => 'dev-main', 'version' => 'dev-main', 'reference' => '294de0ce80a9eb2c1b2d0d8e2762032dba0044e0', 'type' => 'rector-extension', 'install_path' => __DIR__ . '/../rector/rector-phpoffice', 'aliases' => array(0 => '0.11.x-dev'), 'dev_requirement' => \false), 'rector/rector-phpunit' => array('pretty_version' => 'dev-main', 'version' => 'dev-main', 'reference' => 'cf30315aeca41cc35fd736bb63c4bbbbe4d56fc6', 'type' => 'rector-extension', 'install_path' => __DIR__ . '/../rector/rector-phpunit', 'aliases' => array(0 => '0.11.x-dev'), 'dev_requirement' => \false), 'rector/rector-src' => array('pretty_version' => 'dev-main', 'version' => 'dev-main', 'reference' => NULL, 'type' => 'library', 'install_path' => __DIR__ . '/../../', 'aliases' => array(0 => '0.14.x-dev'), 'dev_requirement' => \false), 'rector/rector-symfony' => array('pretty_version' => 'dev-main', 'version' => 'dev-main', 'reference' => '113df7c4196be6d196bd7606e2daa98f7b7cd289', 'type' => 'rector-extension', 'install_path' => __DIR__ . '/../rector/rector-symfony', 'aliases' => array(0 => '0.11.x-dev'), 'dev_requirement' => \false), 'sebastian/diff' => array('pretty_version' => '4.0.4', 'version' => '4.0.4.0', 'reference' => '3461e3fccc7cfdfc2720be910d3bd73c69be590d', 'type' => 'library', 'install_path' => __DIR__ . '/../sebastian/diff', 'aliases' => array(), 'dev_requirement' => \false), 'symfony/cache-contracts' => array('dev_requirement' => \false, 'replaced' => array(0 => 'v3.1.1')), 'symfony/config' => array('pretty_version' => 'v6.1.3', 'version' => '6.1.3.0', 'reference' => 'a0645dc585d378b73c01115dd7ab9348f7d40c85', 'type' => 'library', 'install_path' => __DIR__ . '/../symfony/config', 'aliases' => array(), 'dev_requirement' => \false), 'symfony/console' => array('pretty_version' => 'v6.1.4', 'version' => '6.1.4.0', 'reference' => '7fccea8728aa2d431a6725b02b3ce759049fc84d', 'type' => 'library', 'install_path' => __DIR__ . '/../symfony/console', 'aliases' => array(), 'dev_requirement' => \false), 'symfony/contracts' => array('pretty_version' => 'v3.1.1', 'version' => '3.1.1.0', 'reference' => '8656c9e7f44435eaf428f2aa7f083c65297fb22f', 'type' => 'library', 'install_path' => __DIR__ . '/../symfony/contracts', 'aliases' => array(), 'dev_requirement' => \false), 'symfony/dependency-injection' => array('pretty_version' => 'v6.1.3', 'version' => '6.1.3.0', 'reference' => '079e336a1880f457b219aecc3d41bef2f1093b0b', 'type' => 'library', 'install_path' => __DIR__ . '/../symfony/dependency-injection', 'aliases' => array(), 'dev_requirement' => \false), 'symfony/deprecation-contracts' => array('dev_requirement' => \false, 'replaced' => array(0 => 'v3.1.1')), 'symfony/event-dispatcher-contracts' => array('dev_requirement' => \false, 'replaced' => array(0 => 'v3.1.1')), 'symfony/filesystem' => array('pretty_version' => 'v6.1.4', 'version' => '6.1.4.0', 'reference' => '3f39c04d2630c34019907b02f85672dac99f8659', 'type' => 'library', 'install_path' => __DIR__ . '/../symfony/filesystem', 'aliases' => array(), 'dev_requirement' => \false), 'symfony/finder' => array('pretty_version' => 'v6.1.3', 'version' => '6.1.3.0', 'reference' => '39696bff2c2970b3779a5cac7bf9f0b88fc2b709', 'type' => 'library', 'install_path' => __DIR__ . '/../symfony/finder', 'aliases' => array(), 'dev_requirement' => \false), 'symfony/http-client-contracts' => array('dev_requirement' => \false, 'replaced' => array(0 => 'v3.1.1')), 'symfony/polyfill-ctype' => array('dev_requirement' => \false, 'replaced' => array(0 => '*')), 'symfony/polyfill-intl-grapheme' => array('dev_requirement' => \false, 'replaced' => array(0 => '*')), 'symfony/polyfill-intl-normalizer' => array('pretty_version' => 'v1.26.0', 'version' => '1.26.0.0', 'reference' => '219aa369ceff116e673852dce47c3a41794c14bd', 'type' => 'library', 'install_path' => __DIR__ . '/../symfony/polyfill-intl-normalizer', 'aliases' => array(), 'dev_requirement' => \false), 'symfony/polyfill-mbstring' => array('pretty_version' => 'v1.26.0', 'version' => '1.26.0.0', 'reference' => '9344f9cb97f3b19424af1a21a3b0e75b0a7d8d7e', 'type' => 'library', 'install_path' => __DIR__ . '/../symfony/polyfill-mbstring', 'aliases' => array(), 'dev_requirement' => \false), 'symfony/service-contracts' => array('dev_requirement' => \false, 'replaced' => array(0 => 'v3.1.1')), 'symfony/service-implementation' => array('dev_requirement' => \false, 'provided' => array(0 => '1.1|2.0|3.0')), 'symfony/string' => array('pretty_version' => 'v6.1.4', 'version' => '6.1.4.0', 'reference' => '290972cad7b364e3befaa74ba0ec729800fb161c', 'type' => 'library', 'install_path' => __DIR__ . '/../symfony/string', 'aliases' => array(), 'dev_requirement' => \false), 'symfony/translation-contracts' => array('dev_requirement' => \false, 'replaced' => array(0 => 'v3.1.1')), 'symplify/autowire-array-parameter' => array('pretty_version' => '11.1.9', 'version' => '11.1.9.0', 'reference' => 'efc222c5546f07a390ff0e1d7b35282a09ff5a09', 'type' => 'library', 'install_path' => __DIR__ . '/../symplify/autowire-array-parameter', 'aliases' => array(), 'dev_requirement' => \false), 'symplify/easy-parallel' => array('pretty_version' => '11.1.9', 'version' => '11.1.9.0', 'reference' => '75df164f48ad642ac08337de7410f5ebe814893e', 'type' => 'library', 'install_path' => __DIR__ . '/../symplify/easy-parallel', 'aliases' => array(), 'dev_requirement' => \false), 'symplify/rule-doc-generator-contracts' => array('pretty_version' => '11.1.9', 'version' => '11.1.9.0', 'reference' => '868b0b3235a2f507a8213a6a9ae6fabe2528fab9', 'type' => 'library', 'install_path' => __DIR__ . '/../symplify/rule-doc-generator-contracts', 'aliases' => array(), 'dev_requirement' => \false), 'webmozart/assert' => array('pretty_version' => '1.11.0', 'version' => '1.11.0.0', 'reference' => '11cb2199493b2f8a3b53e7f19068fc6aac760991', 'type' => 'library', 'install_path' => __DIR__ . '/../webmozart/assert', 'aliases' => array(), 'dev_requirement' => \false))); diff --git a/vendor/rector/extension-installer/src/GeneratedConfig.php b/vendor/rector/extension-installer/src/GeneratedConfig.php index a58f5f7257d..7b26435a9f6 100644 --- a/vendor/rector/extension-installer/src/GeneratedConfig.php +++ b/vendor/rector/extension-installer/src/GeneratedConfig.php @@ -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' => 'dev-main a489bf0'), '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 c56069f'), 'rector/rector-downgrade-php' => array('install_path' => '/home/runner/work/rector-src/rector-src/vendor/rector/rector-downgrade-php', 'relative_install_path' => '../../rector-downgrade-php', 'extra' => array('includes' => array(0 => 'config/config.php')), 'version' => 'dev-main d75c674'), '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 2decdcf'), 'rector/rector-php-parser' => array('install_path' => '/home/runner/work/rector-src/rector-src/vendor/rector/rector-php-parser', 'relative_install_path' => '../../rector-php-parser', 'extra' => array('includes' => array(0 => 'config/config.php')), 'version' => 'dev-main 8d6cbe9'), '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 294de0c'), '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 cf30315'), '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 137e52b')); + 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 a489bf0'), '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 c56069f'), 'rector/rector-downgrade-php' => array('install_path' => '/home/runner/work/rector-src/rector-src/vendor/rector/rector-downgrade-php', 'relative_install_path' => '../../rector-downgrade-php', 'extra' => array('includes' => array(0 => 'config/config.php')), 'version' => 'dev-main d75c674'), '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 2decdcf'), 'rector/rector-php-parser' => array('install_path' => '/home/runner/work/rector-src/rector-src/vendor/rector/rector-php-parser', 'relative_install_path' => '../../rector-php-parser', 'extra' => array('includes' => array(0 => 'config/config.php')), 'version' => 'dev-main 8d6cbe9'), '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 294de0c'), '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 cf30315'), '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 113df7c')); private function __construct() { } diff --git a/vendor/rector/rector-symfony/config/sets/symfony/symfony25.php b/vendor/rector/rector-symfony/config/sets/symfony/symfony25.php index e626a207025..aa883a93ee1 100644 --- a/vendor/rector/rector-symfony/config/sets/symfony/symfony25.php +++ b/vendor/rector/rector-symfony/config/sets/symfony/symfony25.php @@ -5,6 +5,7 @@ namespace RectorPrefix202209; use Rector\Config\RectorConfig; use Rector\Symfony\Rector\MethodCall\AddViolationToBuildViolationRector; +use Rector\Symfony\Rector\MethodCall\MaxLengthSymfonyFormOptionToAttrRector; return static function (RectorConfig $rectorConfig) : void { - $rectorConfig->rule(AddViolationToBuildViolationRector::class); + $rectorConfig->rules([AddViolationToBuildViolationRector::class, MaxLengthSymfonyFormOptionToAttrRector::class]); }; diff --git a/vendor/rector/rector-symfony/config/sets/symfony/symfony53.php b/vendor/rector/rector-symfony/config/sets/symfony/symfony53.php index 70843714064..93ed92efc88 100644 --- a/vendor/rector/rector-symfony/config/sets/symfony/symfony53.php +++ b/vendor/rector/rector-symfony/config/sets/symfony/symfony53.php @@ -10,6 +10,7 @@ use Rector\Renaming\Rector\MethodCall\RenameMethodRector; use Rector\Renaming\Rector\Name\RenameClassRector; use Rector\Renaming\ValueObject\MethodCallRename; use Rector\Renaming\ValueObject\RenameClassConstFetch; +use Rector\Symfony\Rector\Class_\CommandDescriptionToPropertyRector; use Rector\Symfony\Rector\StaticPropertyFetch\KernelTestCaseContainerPropertyDeprecationRector; use Rector\Symfony\Set\SymfonySetList; use Rector\TypeDeclaration\Rector\ClassMethod\AddReturnTypeDeclarationRector; @@ -50,4 +51,5 @@ return static function (RectorConfig $rectorConfig) : void { new RenameClassConstFetch('Symfony\\Component\\HttpKernel\\HttpKernelInterface', 'MASTER_REQUEST', 'MAIN_REQUEST'), ]); $rectorConfig->rule(KernelTestCaseContainerPropertyDeprecationRector::class); + $rectorConfig->rule(CommandDescriptionToPropertyRector::class); }; diff --git a/vendor/rector/rector-symfony/docs/rector_rules_overview.md b/vendor/rector/rector-symfony/docs/rector_rules_overview.md index c83ebb87445..966c78e159b 100644 --- a/vendor/rector/rector-symfony/docs/rector_rules_overview.md +++ b/vendor/rector/rector-symfony/docs/rector_rules_overview.md @@ -1,4 +1,4 @@ -# 68 Rules Overview +# 70 Rules Overview ## ActionSuffixRemoverRector @@ -714,6 +714,27 @@ Turns properties with `@inject` to private properties and constructor injection
+## KernelTestCaseContainerPropertyDeprecationRector + +Simplify use of assertions in WebTestCase + +- class: [`Rector\Symfony\Rector\StaticPropertyFetch\KernelTestCaseContainerPropertyDeprecationRector`](../src/Rector/StaticPropertyFetch/KernelTestCaseContainerPropertyDeprecationRector.php) + +```diff + use Symfony\Bundle\FrameworkBundle\Test\KernelTestCase; + + class SomeTest extends KernelTestCase + { + protected function setUp(): void + { +- $container = self::$container; ++ $container = self::getContainer(); + } + } +``` + +
+ ## LiteralGetToRequestClassConstantRector Replace "GET" string by Symfony Request object class constants @@ -927,6 +948,23 @@ Make event object a first argument of `dispatch()` method, event name as second
+## MaxLengthSymfonyFormOptionToAttrRector + +Change form option "max_length" to a form "attr" > "max_length" + +- class: [`Rector\Symfony\Rector\MethodCall\MaxLengthSymfonyFormOptionToAttrRector`](../src/Rector/MethodCall/MaxLengthSymfonyFormOptionToAttrRector.php) + +```diff + $formBuilder = new Symfony\Component\Form\FormBuilder(); + + $form = $formBuilder->create('name', 'text', [ +- 'max_length' => 123, ++ 'attr' => ['maxlength' => 123], + ]); +``` + +
+ ## MergeMethodAnnotationToRouteAnnotationRector Merge removed `@Method` annotation to `@Route` one @@ -1354,9 +1392,9 @@ Change RouteCollectionBuilder to RoutingConfiguratorRector ## ServiceSetStringNameToClassNameRector -Change `$service->set()` string names to class-type-based names, to allow `$container->get()` by types in Symfony 2.8 +Change `$service->set()` string names to class-type-based names, to allow `$container->get()` by types in Symfony 2.8. Provide XML config via `$rectorConfig->symfonyContainerXml(...);` -- class: [`Rector\Symfony\Rector\Closure\ServiceSetStringNameToClassNameRector`](../src/Rector/MethodCall/ServiceSetStringNameToClassNameRector.php) +- class: [`Rector\Symfony\Rector\Closure\ServiceSetStringNameToClassNameRector`](../src/Rector/Closure/ServiceSetStringNameToClassNameRector.php) ```diff use Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator; diff --git a/vendor/rector/rector-symfony/src/Rector/ClassMethod/AddRouteAnnotationRector.php b/vendor/rector/rector-symfony/src/Rector/ClassMethod/AddRouteAnnotationRector.php index bd90e0e0fcf..bc3b6814670 100644 --- a/vendor/rector/rector-symfony/src/Rector/ClassMethod/AddRouteAnnotationRector.php +++ b/vendor/rector/rector-symfony/src/Rector/ClassMethod/AddRouteAnnotationRector.php @@ -130,7 +130,7 @@ CODE_SAMPLE $arrayItemNodes[] = new ArrayItemNode($defaultsWithoutControllerCurlyList, 'defaults'); } if ($symfonyRouteMetadata->getHost() !== '') { - $arrayItemNodes[] = new ArrayItemNode($symfonyRouteMetadata->getHost(), 'host'); + $arrayItemNodes[] = new ArrayItemNode($symfonyRouteMetadata->getHost(), 'host', String_::KIND_DOUBLE_QUOTED); } if ($symfonyRouteMetadata->getSchemes() !== []) { $schemesArrayItemNodes = $this->createCurlyQuoted($symfonyRouteMetadata->getSchemes()); @@ -171,12 +171,17 @@ CODE_SAMPLE $methodsArrayItems = $this->arrayParser->createArrayFromValues($values); $curlyListNode = new CurlyListNode($methodsArrayItems); foreach ($curlyListNode->values as $nestedMethodsArrayItem) { - if (!\is_numeric($nestedMethodsArrayItem->value)) { + if (\is_string($nestedMethodsArrayItem->value)) { $nestedMethodsArrayItem->kindValueQuoted = String_::KIND_DOUBLE_QUOTED; } if (\is_string($nestedMethodsArrayItem->key)) { $nestedMethodsArrayItem->kindKeyQuoted = String_::KIND_DOUBLE_QUOTED; } + if ($nestedMethodsArrayItem->value === null) { + $nestedMethodsArrayItem->value = 'null'; + } elseif (\is_bool($nestedMethodsArrayItem->value)) { + $nestedMethodsArrayItem->value = $nestedMethodsArrayItem->value ? 'true' : 'false'; + } } return $curlyListNode; } diff --git a/vendor/rector/rector-symfony/src/Rector/Class_/CommandDescriptionToPropertyRector.php b/vendor/rector/rector-symfony/src/Rector/Class_/CommandDescriptionToPropertyRector.php new file mode 100644 index 00000000000..a4874b0e923 --- /dev/null +++ b/vendor/rector/rector-symfony/src/Rector/Class_/CommandDescriptionToPropertyRector.php @@ -0,0 +1,146 @@ +exprAnalyzer = $exprAnalyzer; + } + public function getRuleDefinition() : RuleDefinition + { + return new RuleDefinition('Symfony Command description setters are moved to properties', [new CodeSample(<<<'CODE_SAMPLE' +use Symfony\Component\Console\Command\Command + +final class SunshineCommand extends Command +{ + protected static $defaultName = 'sunshine'; + public function configure() + { + $this->setDescription('sunshine description'); + } +} +CODE_SAMPLE +, <<<'CODE_SAMPLE' +use Symfony\Component\Console\Command\Command + +final class SunshineCommand extends Command +{ + protected static $defaultName = 'sunshine'; + protected static $defaultDescription = 'sunshine description'; + public function configure() + { + } +} +CODE_SAMPLE +)]); + } + /** + * @return array> + */ + public function getNodeTypes() : array + { + return [Class_::class]; + } + /** + * @param Class_ $node + */ + public function refactor(Node $node) : ?Node + { + if (!$this->isObjectType($node, new ObjectType('Symfony\\Component\\Console\\Command\\Command'))) { + return null; + } + $defaultNameProperty = $node->getProperty('defaultDescription'); + if ($defaultNameProperty instanceof Property) { + return null; + } + $commandDescription = $this->resolveCommandDescription($node); + if (!$commandDescription instanceof Expr) { + return null; + } + if ($this->exprAnalyzer->isDynamicExpr($commandDescription)) { + return null; + } + $defaultDescriptionProperty = $this->createStaticProtectedPropertyWithDefault('defaultDescription', $commandDescription); + return $this->addDefaultDescriptionProperty($node, $defaultDescriptionProperty); + } + private function resolveCommandDescription(Class_ $class) : ?Node + { + return $this->resolveCommandDescriptionFromSetDescription($class); + } + private function resolveCommandDescriptionFromSetDescription(Class_ $class) : ?Node + { + $commandDescription = null; + $this->traverseNodesWithCallable($class->stmts, function (Node $node) use(&$commandDescription) { + if (!$node instanceof MethodCall) { + return null; + } + if (!$this->isObjectType($node->var, new ObjectType('Symfony\\Component\\Console\\Command\\Command'))) { + return null; + } + if (!$this->isName($node->name, 'setDescription')) { + return null; + } + $commandDescription = $node->getArgs()[0]->value; + $commandDescriptionStaticType = $this->getType($commandDescription); + if (!$commandDescriptionStaticType instanceof StringType) { + return null; + } + // is chain call? → remove by variable nulling + if ($node->var instanceof MethodCall) { + return $node->var; + } + $this->removeNode($node); + }); + return $commandDescription; + } + private function createStaticProtectedPropertyWithDefault(string $name, Node $node) : Property + { + $property = new \PhpParser\Builder\Property($name); + $property->makeProtected(); + $property->makeStatic(); + $property->setDefault($node); + return $property->getNode(); + } + private function addDefaultDescriptionProperty(Class_ $class, Property $defaultDescriptionProperty) : Node + { + // When we have property defaultName insert defaultDescription after it. + if ($class->getProperty('defaultName') instanceof Property) { + foreach ($class->stmts as $key => $value) { + if (!$value instanceof Property) { + continue; + } + if ($value->props[0]->name->name === 'defaultName') { + \array_splice($class->stmts, ++$key, 0, [$defaultDescriptionProperty]); + break; + } + } + } else { + $class->stmts = \array_merge($class->stmts, [$defaultDescriptionProperty]); + } + return $class; + } +} diff --git a/vendor/rector/rector-symfony/src/Rector/Class_/MakeCommandLazyRector.php b/vendor/rector/rector-symfony/src/Rector/Class_/MakeCommandLazyRector.php index 79d45362a97..4e40548b3e5 100644 --- a/vendor/rector/rector-symfony/src/Rector/Class_/MakeCommandLazyRector.php +++ b/vendor/rector/rector-symfony/src/Rector/Class_/MakeCommandLazyRector.php @@ -9,7 +9,6 @@ use PhpParser\Node\Expr\ClassConstFetch; use PhpParser\Node\Expr\ConstFetch; use PhpParser\Node\Expr\MethodCall; use PhpParser\Node\Expr\StaticCall; -use PhpParser\Node\Param; use PhpParser\Node\Scalar\String_; use PhpParser\Node\Stmt\Class_; use PhpParser\Node\Stmt\ClassMethod; diff --git a/vendor/rector/rector-symfony/src/Rector/MethodCall/MaxLengthSymfonyFormOptionToAttrRector.php b/vendor/rector/rector-symfony/src/Rector/MethodCall/MaxLengthSymfonyFormOptionToAttrRector.php new file mode 100644 index 00000000000..3f907f61457 --- /dev/null +++ b/vendor/rector/rector-symfony/src/Rector/MethodCall/MaxLengthSymfonyFormOptionToAttrRector.php @@ -0,0 +1,126 @@ + "max_length"', [new CodeSample(<<<'CODE_SAMPLE' +$formBuilder = new Symfony\Component\Form\FormBuilder(); + +$form = $formBuilder->create('name', 'text', [ + 'max_length' => 123, +]); +CODE_SAMPLE +, <<<'CODE_SAMPLE' +$formBuilder = new Symfony\Component\Form\FormBuilder(); + +$form = $formBuilder->create('name', 'text', [ + 'attr' => ['maxlength' => 123], +]); +CODE_SAMPLE +)]); + } + /** + * @return array> + */ + public function getNodeTypes() : array + { + return [MethodCall::class]; + } + /** + * @param MethodCall $node + */ + public function refactor(Node $node) : ?Node + { + if (!$this->isFormCreateMethodCallMatch($node)) { + return null; + } + $optionsArg = $node->getArgs()[2] ?? null; + if (!$optionsArg instanceof Arg) { + return null; + } + if (!$optionsArg->value instanceof Array_) { + return null; + } + $optionsArray = $optionsArg->value; + $itemToAddToAttrs = null; + foreach ($optionsArray->items as $arrayKey => $arrayItem) { + if (!$arrayItem instanceof ArrayItem) { + continue; + } + if (!$arrayItem->key instanceof String_) { + continue; + } + if (!$this->valueResolver->isValue($arrayItem->key, 'max_length')) { + continue; + } + unset($optionsArray->items[$arrayKey]); + $itemToAddToAttrs = $arrayItem; + break; + } + if (!$itemToAddToAttrs instanceof ArrayItem) { + return null; + } + $this->addArrayItemToAttrsItemOrCreateOne($optionsArray, $itemToAddToAttrs); + return $node; + } + private function matchAttrArrayItem(Array_ $array) : ?ArrayItem + { + foreach ($array->items as $arrayItem) { + if (!$arrayItem instanceof ArrayItem) { + continue; + } + if (!$arrayItem->key instanceof String_) { + continue; + } + if (!$this->valueResolver->isValue($arrayItem->key, 'attrs')) { + continue; + } + return $arrayItem; + } + return null; + } + private function addArrayItemToAttrsItemOrCreateOne(Array_ $array, ArrayItem $arrayItem) : Array_ + { + // rename + $arrayItem->key = new String_('maxlength'); + $attrArrayItem = $this->matchAttrArrayItem($array); + if ($attrArrayItem instanceof ArrayItem) { + if (!$attrArrayItem->value instanceof Array_) { + throw new ShouldNotHappenException(); + } + $attrArrayItem->value->items[] = $arrayItem; + return $array; + } + $array->items[] = new ArrayItem(new Array_([$arrayItem]), new String_('attr')); + return $array; + } + private function isFormCreateMethodCallMatch(MethodCall $methodCall) : bool + { + if (!$this->isObjectType($methodCall->var, new ObjectType('Symfony\\Component\\Form\\FormFactoryInterface')) && !$this->isObjectType($methodCall->var, new ObjectType('Symfony\\Component\\Form\\FormBuilderInterface'))) { + return \false; + } + return $this->isNames($methodCall->name, ['create', 'add']); + } +}