From da925822facb82bbde7bf81deb64331a32969033 Mon Sep 17 00:00:00 2001 From: Tomas Votruba Date: Wed, 31 Aug 2022 10:13:06 +0000 Subject: [PATCH] Updated Rector to commit d2abf114ed5388698cc580a295899110570463ce https://github.com/rectorphp/rector-src/commit/d2abf114ed5388698cc580a295899110570463ce [DX] remove composer-json-manipulator (#2871) --- src/Application/VersionResolver.php | 4 +- vendor/autoload.php | 2 +- vendor/composer/autoload_classmap.php | 10 - vendor/composer/autoload_psr4.php | 1 - vendor/composer/autoload_real.php | 14 +- vendor/composer/autoload_static.php | 23 +- vendor/composer/installed.json | 141 +--- vendor/composer/installed.php | 2 +- .../autowire-array-parameter/composer.json | 2 +- .../composer-json-manipulator/LICENSE | 25 - .../composer-json-manipulator/composer.json | 55 -- .../config/config.php | 25 - .../src/ComposerJsonFactory.php | 131 ---- .../src/FileSystem/JsonFileManager.php | 97 --- .../src/Json/JsonCleaner.php | 26 - .../src/Json/JsonInliner.php | 41 - .../src/Printer/ComposerJsonPrinter.php | 37 - .../src/Sorter/ComposerPackageSorter.php | 65 -- .../src/ValueObject/ComposerJson.php | 731 ------------------ .../ComposerJsonManipulatorConfig.php | 15 - .../src/ValueObject/ComposerJsonSection.php | 108 --- .../src/ValueObject/Option.php | 13 - vendor/symplify/package-builder/composer.json | 2 +- vendor/symplify/symplify-kernel/composer.json | 7 +- 24 files changed, 52 insertions(+), 1525 deletions(-) delete mode 100644 vendor/symplify/composer-json-manipulator/LICENSE delete mode 100644 vendor/symplify/composer-json-manipulator/composer.json delete mode 100644 vendor/symplify/composer-json-manipulator/config/config.php delete mode 100644 vendor/symplify/composer-json-manipulator/src/ComposerJsonFactory.php delete mode 100644 vendor/symplify/composer-json-manipulator/src/FileSystem/JsonFileManager.php delete mode 100644 vendor/symplify/composer-json-manipulator/src/Json/JsonCleaner.php delete mode 100644 vendor/symplify/composer-json-manipulator/src/Json/JsonInliner.php delete mode 100644 vendor/symplify/composer-json-manipulator/src/Printer/ComposerJsonPrinter.php delete mode 100644 vendor/symplify/composer-json-manipulator/src/Sorter/ComposerPackageSorter.php delete mode 100644 vendor/symplify/composer-json-manipulator/src/ValueObject/ComposerJson.php delete mode 100644 vendor/symplify/composer-json-manipulator/src/ValueObject/ComposerJsonManipulatorConfig.php delete mode 100644 vendor/symplify/composer-json-manipulator/src/ValueObject/ComposerJsonSection.php delete mode 100644 vendor/symplify/composer-json-manipulator/src/ValueObject/Option.php diff --git a/src/Application/VersionResolver.php b/src/Application/VersionResolver.php index 8e6ef4f6702..37b35d5baeb 100644 --- a/src/Application/VersionResolver.php +++ b/src/Application/VersionResolver.php @@ -17,12 +17,12 @@ final class VersionResolver * @api * @var string */ - public const PACKAGE_VERSION = 'b8c70125cda3a0fbdff216dfccaf065d8fe1aa2b'; + public const PACKAGE_VERSION = 'd2abf114ed5388698cc580a295899110570463ce'; /** * @api * @var string */ - public const RELEASE_DATE = '2022-08-31 09:27:23'; + public const RELEASE_DATE = '2022-08-31 12:07:39'; /** * @var int */ diff --git a/vendor/autoload.php b/vendor/autoload.php index d8a144052cb..5d6fa59e67c 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 ComposerAutoloaderInit3595c7d5f829a41f3682c309e93459b6::getLoader(); +return ComposerAutoloaderInit56fc294f4deb3a2d73b7defad0e9de46::getLoader(); diff --git a/vendor/composer/autoload_classmap.php b/vendor/composer/autoload_classmap.php index 4fedb66109f..142a64a2e8b 100644 --- a/vendor/composer/autoload_classmap.php +++ b/vendor/composer/autoload_classmap.php @@ -1024,16 +1024,6 @@ return array( 'RectorPrefix202208\\Symplify\\AutowireArrayParameter\\Exception\\DependencyInjection\\DefinitionForTypeNotFoundException' => $vendorDir . '/symplify/autowire-array-parameter/src/Exception/DependencyInjection/DefinitionForTypeNotFoundException.php', 'RectorPrefix202208\\Symplify\\AutowireArrayParameter\\Skipper\\ParameterSkipper' => $vendorDir . '/symplify/autowire-array-parameter/src/Skipper/ParameterSkipper.php', 'RectorPrefix202208\\Symplify\\AutowireArrayParameter\\TypeResolver\\ParameterTypeResolver' => $vendorDir . '/symplify/autowire-array-parameter/src/TypeResolver/ParameterTypeResolver.php', - 'RectorPrefix202208\\Symplify\\ComposerJsonManipulator\\ComposerJsonFactory' => $vendorDir . '/symplify/composer-json-manipulator/src/ComposerJsonFactory.php', - 'RectorPrefix202208\\Symplify\\ComposerJsonManipulator\\FileSystem\\JsonFileManager' => $vendorDir . '/symplify/composer-json-manipulator/src/FileSystem/JsonFileManager.php', - 'RectorPrefix202208\\Symplify\\ComposerJsonManipulator\\Json\\JsonCleaner' => $vendorDir . '/symplify/composer-json-manipulator/src/Json/JsonCleaner.php', - 'RectorPrefix202208\\Symplify\\ComposerJsonManipulator\\Json\\JsonInliner' => $vendorDir . '/symplify/composer-json-manipulator/src/Json/JsonInliner.php', - 'RectorPrefix202208\\Symplify\\ComposerJsonManipulator\\Printer\\ComposerJsonPrinter' => $vendorDir . '/symplify/composer-json-manipulator/src/Printer/ComposerJsonPrinter.php', - 'RectorPrefix202208\\Symplify\\ComposerJsonManipulator\\Sorter\\ComposerPackageSorter' => $vendorDir . '/symplify/composer-json-manipulator/src/Sorter/ComposerPackageSorter.php', - 'RectorPrefix202208\\Symplify\\ComposerJsonManipulator\\ValueObject\\ComposerJson' => $vendorDir . '/symplify/composer-json-manipulator/src/ValueObject/ComposerJson.php', - 'RectorPrefix202208\\Symplify\\ComposerJsonManipulator\\ValueObject\\ComposerJsonManipulatorConfig' => $vendorDir . '/symplify/composer-json-manipulator/src/ValueObject/ComposerJsonManipulatorConfig.php', - 'RectorPrefix202208\\Symplify\\ComposerJsonManipulator\\ValueObject\\ComposerJsonSection' => $vendorDir . '/symplify/composer-json-manipulator/src/ValueObject/ComposerJsonSection.php', - 'RectorPrefix202208\\Symplify\\ComposerJsonManipulator\\ValueObject\\Option' => $vendorDir . '/symplify/composer-json-manipulator/src/ValueObject/Option.php', 'RectorPrefix202208\\Symplify\\EasyParallel\\CommandLine\\WorkerCommandLineFactory' => $vendorDir . '/symplify/easy-parallel/src/CommandLine/WorkerCommandLineFactory.php', 'RectorPrefix202208\\Symplify\\EasyParallel\\Contract\\SerializableInterface' => $vendorDir . '/symplify/easy-parallel/src/Contract/SerializableInterface.php', 'RectorPrefix202208\\Symplify\\EasyParallel\\CpuCoreCountProvider' => $vendorDir . '/symplify/easy-parallel/src/CpuCoreCountProvider.php', diff --git a/vendor/composer/autoload_psr4.php b/vendor/composer/autoload_psr4.php index 279fdc1132d..80f8edf37e7 100644 --- a/vendor/composer/autoload_psr4.php +++ b/vendor/composer/autoload_psr4.php @@ -25,7 +25,6 @@ return array( 'RectorPrefix202208\\Symplify\\Skipper\\' => array($vendorDir . '/symplify/skipper/src'), 'RectorPrefix202208\\Symplify\\PackageBuilder\\' => array($vendorDir . '/symplify/package-builder/src'), 'RectorPrefix202208\\Symplify\\EasyParallel\\' => array($vendorDir . '/symplify/easy-parallel/src'), - 'RectorPrefix202208\\Symplify\\ComposerJsonManipulator\\' => array($vendorDir . '/symplify/composer-json-manipulator/src'), 'RectorPrefix202208\\Symplify\\AutowireArrayParameter\\' => array($vendorDir . '/symplify/autowire-array-parameter/src'), 'RectorPrefix202208\\Symfony\\Contracts\\' => array($vendorDir . '/symfony/contracts'), 'RectorPrefix202208\\Symfony\\Component\\String\\' => array($vendorDir . '/symfony/string'), diff --git a/vendor/composer/autoload_real.php b/vendor/composer/autoload_real.php index 5aac2d20ac8..f0d7e0044bd 100644 --- a/vendor/composer/autoload_real.php +++ b/vendor/composer/autoload_real.php @@ -2,7 +2,7 @@ // autoload_real.php @generated by Composer -class ComposerAutoloaderInit3595c7d5f829a41f3682c309e93459b6 +class ComposerAutoloaderInit56fc294f4deb3a2d73b7defad0e9de46 { private static $loader; @@ -22,19 +22,19 @@ class ComposerAutoloaderInit3595c7d5f829a41f3682c309e93459b6 return self::$loader; } - spl_autoload_register(array('ComposerAutoloaderInit3595c7d5f829a41f3682c309e93459b6', 'loadClassLoader'), true, true); + spl_autoload_register(array('ComposerAutoloaderInit56fc294f4deb3a2d73b7defad0e9de46', 'loadClassLoader'), true, true); self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__)); - spl_autoload_unregister(array('ComposerAutoloaderInit3595c7d5f829a41f3682c309e93459b6', 'loadClassLoader')); + spl_autoload_unregister(array('ComposerAutoloaderInit56fc294f4deb3a2d73b7defad0e9de46', 'loadClassLoader')); require __DIR__ . '/autoload_static.php'; - call_user_func(\Composer\Autoload\ComposerStaticInit3595c7d5f829a41f3682c309e93459b6::getInitializer($loader)); + call_user_func(\Composer\Autoload\ComposerStaticInit56fc294f4deb3a2d73b7defad0e9de46::getInitializer($loader)); $loader->setClassMapAuthoritative(true); $loader->register(true); - $includeFiles = \Composer\Autoload\ComposerStaticInit3595c7d5f829a41f3682c309e93459b6::$files; + $includeFiles = \Composer\Autoload\ComposerStaticInit56fc294f4deb3a2d73b7defad0e9de46::$files; foreach ($includeFiles as $fileIdentifier => $file) { - composerRequire3595c7d5f829a41f3682c309e93459b6($fileIdentifier, $file); + composerRequire56fc294f4deb3a2d73b7defad0e9de46($fileIdentifier, $file); } return $loader; @@ -46,7 +46,7 @@ class ComposerAutoloaderInit3595c7d5f829a41f3682c309e93459b6 * @param string $file * @return void */ -function composerRequire3595c7d5f829a41f3682c309e93459b6($fileIdentifier, $file) +function composerRequire56fc294f4deb3a2d73b7defad0e9de46($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 b4ec9f7ba72..84a1150434f 100644 --- a/vendor/composer/autoload_static.php +++ b/vendor/composer/autoload_static.php @@ -4,7 +4,7 @@ namespace Composer\Autoload; -class ComposerStaticInit3595c7d5f829a41f3682c309e93459b6 +class ComposerStaticInit56fc294f4deb3a2d73b7defad0e9de46 { public static $files = array ( '0e6d7bf4a5811bfa5cf40c5ccd6fae6a' => __DIR__ . '/..' . '/symfony/polyfill-mbstring/bootstrap.php', @@ -42,7 +42,6 @@ class ComposerStaticInit3595c7d5f829a41f3682c309e93459b6 'RectorPrefix202208\\Symplify\\Skipper\\' => 36, 'RectorPrefix202208\\Symplify\\PackageBuilder\\' => 43, 'RectorPrefix202208\\Symplify\\EasyParallel\\' => 41, - 'RectorPrefix202208\\Symplify\\ComposerJsonManipulator\\' => 52, 'RectorPrefix202208\\Symplify\\AutowireArrayParameter\\' => 51, 'RectorPrefix202208\\Symfony\\Contracts\\' => 37, 'RectorPrefix202208\\Symfony\\Component\\String\\' => 44, @@ -159,10 +158,6 @@ class ComposerStaticInit3595c7d5f829a41f3682c309e93459b6 array ( 0 => __DIR__ . '/..' . '/symplify/easy-parallel/src', ), - 'RectorPrefix202208\\Symplify\\ComposerJsonManipulator\\' => - array ( - 0 => __DIR__ . '/..' . '/symplify/composer-json-manipulator/src', - ), 'RectorPrefix202208\\Symplify\\AutowireArrayParameter\\' => array ( 0 => __DIR__ . '/..' . '/symplify/autowire-array-parameter/src', @@ -1304,16 +1299,6 @@ class ComposerStaticInit3595c7d5f829a41f3682c309e93459b6 'RectorPrefix202208\\Symplify\\AutowireArrayParameter\\Exception\\DependencyInjection\\DefinitionForTypeNotFoundException' => __DIR__ . '/..' . '/symplify/autowire-array-parameter/src/Exception/DependencyInjection/DefinitionForTypeNotFoundException.php', 'RectorPrefix202208\\Symplify\\AutowireArrayParameter\\Skipper\\ParameterSkipper' => __DIR__ . '/..' . '/symplify/autowire-array-parameter/src/Skipper/ParameterSkipper.php', 'RectorPrefix202208\\Symplify\\AutowireArrayParameter\\TypeResolver\\ParameterTypeResolver' => __DIR__ . '/..' . '/symplify/autowire-array-parameter/src/TypeResolver/ParameterTypeResolver.php', - 'RectorPrefix202208\\Symplify\\ComposerJsonManipulator\\ComposerJsonFactory' => __DIR__ . '/..' . '/symplify/composer-json-manipulator/src/ComposerJsonFactory.php', - 'RectorPrefix202208\\Symplify\\ComposerJsonManipulator\\FileSystem\\JsonFileManager' => __DIR__ . '/..' . '/symplify/composer-json-manipulator/src/FileSystem/JsonFileManager.php', - 'RectorPrefix202208\\Symplify\\ComposerJsonManipulator\\Json\\JsonCleaner' => __DIR__ . '/..' . '/symplify/composer-json-manipulator/src/Json/JsonCleaner.php', - 'RectorPrefix202208\\Symplify\\ComposerJsonManipulator\\Json\\JsonInliner' => __DIR__ . '/..' . '/symplify/composer-json-manipulator/src/Json/JsonInliner.php', - 'RectorPrefix202208\\Symplify\\ComposerJsonManipulator\\Printer\\ComposerJsonPrinter' => __DIR__ . '/..' . '/symplify/composer-json-manipulator/src/Printer/ComposerJsonPrinter.php', - 'RectorPrefix202208\\Symplify\\ComposerJsonManipulator\\Sorter\\ComposerPackageSorter' => __DIR__ . '/..' . '/symplify/composer-json-manipulator/src/Sorter/ComposerPackageSorter.php', - 'RectorPrefix202208\\Symplify\\ComposerJsonManipulator\\ValueObject\\ComposerJson' => __DIR__ . '/..' . '/symplify/composer-json-manipulator/src/ValueObject/ComposerJson.php', - 'RectorPrefix202208\\Symplify\\ComposerJsonManipulator\\ValueObject\\ComposerJsonManipulatorConfig' => __DIR__ . '/..' . '/symplify/composer-json-manipulator/src/ValueObject/ComposerJsonManipulatorConfig.php', - 'RectorPrefix202208\\Symplify\\ComposerJsonManipulator\\ValueObject\\ComposerJsonSection' => __DIR__ . '/..' . '/symplify/composer-json-manipulator/src/ValueObject/ComposerJsonSection.php', - 'RectorPrefix202208\\Symplify\\ComposerJsonManipulator\\ValueObject\\Option' => __DIR__ . '/..' . '/symplify/composer-json-manipulator/src/ValueObject/Option.php', 'RectorPrefix202208\\Symplify\\EasyParallel\\CommandLine\\WorkerCommandLineFactory' => __DIR__ . '/..' . '/symplify/easy-parallel/src/CommandLine/WorkerCommandLineFactory.php', 'RectorPrefix202208\\Symplify\\EasyParallel\\Contract\\SerializableInterface' => __DIR__ . '/..' . '/symplify/easy-parallel/src/Contract/SerializableInterface.php', 'RectorPrefix202208\\Symplify\\EasyParallel\\CpuCoreCountProvider' => __DIR__ . '/..' . '/symplify/easy-parallel/src/CpuCoreCountProvider.php', @@ -3161,9 +3146,9 @@ class ComposerStaticInit3595c7d5f829a41f3682c309e93459b6 public static function getInitializer(ClassLoader $loader) { return \Closure::bind(function () use ($loader) { - $loader->prefixLengthsPsr4 = ComposerStaticInit3595c7d5f829a41f3682c309e93459b6::$prefixLengthsPsr4; - $loader->prefixDirsPsr4 = ComposerStaticInit3595c7d5f829a41f3682c309e93459b6::$prefixDirsPsr4; - $loader->classMap = ComposerStaticInit3595c7d5f829a41f3682c309e93459b6::$classMap; + $loader->prefixLengthsPsr4 = ComposerStaticInit56fc294f4deb3a2d73b7defad0e9de46::$prefixLengthsPsr4; + $loader->prefixDirsPsr4 = ComposerStaticInit56fc294f4deb3a2d73b7defad0e9de46::$prefixDirsPsr4; + $loader->classMap = ComposerStaticInit56fc294f4deb3a2d73b7defad0e9de46::$classMap; }, null, ClassLoader::class); } diff --git a/vendor/composer/installed.json b/vendor/composer/installed.json index f400ca1d568..1f82072311c 100644 --- a/vendor/composer/installed.json +++ b/vendor/composer/installed.json @@ -3108,24 +3108,24 @@ }, { "name": "symplify\/autowire-array-parameter", - "version": "11.1.6", - "version_normalized": "11.1.6.0", + "version": "dev-main", + "version_normalized": "dev-main", "source": { "type": "git", "url": "https:\/\/github.com\/symplify\/autowire-array-parameter.git", - "reference": "4bd09786fd6c8cad3fcf1824fc1f5f387d30e4b0" + "reference": "c5865d56cb3976862815c6aa49c7ba7ff16c7509" }, "dist": { "type": "zip", - "url": "https:\/\/api.github.com\/repos\/symplify\/autowire-array-parameter\/zipball\/4bd09786fd6c8cad3fcf1824fc1f5f387d30e4b0", - "reference": "4bd09786fd6c8cad3fcf1824fc1f5f387d30e4b0", + "url": "https:\/\/api.github.com\/repos\/symplify\/autowire-array-parameter\/zipball\/c5865d56cb3976862815c6aa49c7ba7ff16c7509", + "reference": "c5865d56cb3976862815c6aa49c7ba7ff16c7509", "shasum": "" }, "require": { "nette\/utils": "^3.2", "php": ">=8.0", "symfony\/dependency-injection": "^6.0", - "symplify\/package-builder": "^11.1.6" + "symplify\/package-builder": "^11.2" }, "conflict": { "symplify\/coding-standard": "<11.1.6", @@ -3150,7 +3150,8 @@ "require-dev": { "phpunit\/phpunit": "^9.5.23" }, - "time": "2022-08-31T08:17:59+00:00", + "time": "2022-08-31T08:19:28+00:00", + "default-branch": true, "type": "library", "extra": { "branch-alias": { @@ -3169,7 +3170,7 @@ ], "description": "Autowire array parameters for your Symfony applications", "support": { - "source": "https:\/\/github.com\/symplify\/autowire-array-parameter\/tree\/11.1.6" + "source": "https:\/\/github.com\/symplify\/autowire-array-parameter\/tree\/main" }, "funding": [ { @@ -3183,86 +3184,6 @@ ], "install-path": "..\/symplify\/autowire-array-parameter" }, - { - "name": "symplify\/composer-json-manipulator", - "version": "11.1.6", - "version_normalized": "11.1.6.0", - "source": { - "type": "git", - "url": "https:\/\/github.com\/symplify\/composer-json-manipulator.git", - "reference": "02fc1901f2bf8d62810174f9bc16143f1f5f72f0" - }, - "dist": { - "type": "zip", - "url": "https:\/\/api.github.com\/repos\/symplify\/composer-json-manipulator\/zipball\/02fc1901f2bf8d62810174f9bc16143f1f5f72f0", - "reference": "02fc1901f2bf8d62810174f9bc16143f1f5f72f0", - "shasum": "" - }, - "require": { - "nette\/utils": "^3.2", - "php": ">=8.0", - "symfony\/config": "^6.0", - "symfony\/dependency-injection": "^6.0", - "symfony\/filesystem": "^6.0", - "symplify\/package-builder": "^11.1.6", - "symplify\/smart-file-system": "^11.1.6", - "symplify\/symplify-kernel": "^11.1.6" - }, - "conflict": { - "symplify\/autowire-array-parameter": "<11.1.6", - "symplify\/coding-standard": "<11.1.6", - "symplify\/config-transformer": "<11.1.6", - "symplify\/easy-ci": "<11.1.6", - "symplify\/easy-coding-standard": "<11.1.6", - "symplify\/easy-parallel": "<11.1.6", - "symplify\/easy-testing": "<11.1.6", - "symplify\/monorepo-builder": "<11.1.6", - "symplify\/php-config-printer": "<11.1.6", - "symplify\/phpstan-extensions": "<11.1.6", - "symplify\/phpstan-rules": "<11.1.6", - "symplify\/rule-doc-generator": "<11.1.6", - "symplify\/rule-doc-generator-contracts": "<11.1.6", - "symplify\/skipper": "<11.1.6", - "symplify\/symfony-static-dumper": "<11.1.6", - "symplify\/symplify-kernel": "<9.4.70", - "symplify\/vendor-patches": "<11.1.6" - }, - "require-dev": { - "phpunit\/phpunit": "^9.5.23" - }, - "time": "2022-08-31T08:17:52+00:00", - "type": "symfony-bundle", - "extra": { - "branch-alias": { - "dev-main": "11.2-dev" - } - }, - "installation-source": "dist", - "autoload": { - "psr-4": { - "RectorPrefix202208\\Symplify\\ComposerJsonManipulator\\": "src" - } - }, - "notification-url": "https:\/\/packagist.org\/downloads\/", - "license": [ - "MIT" - ], - "description": "Package to load, merge and save composer.json file(s)", - "support": { - "source": "https:\/\/github.com\/symplify\/composer-json-manipulator\/tree\/11.1.6" - }, - "funding": [ - { - "url": "https:\/\/www.paypal.me\/rectorphp", - "type": "custom" - }, - { - "url": "https:\/\/github.com\/tomasvotruba", - "type": "github" - } - ], - "install-path": "..\/symplify\/composer-json-manipulator" - }, { "name": "symplify\/easy-parallel", "version": "11.1.6", @@ -3336,17 +3257,17 @@ }, { "name": "symplify\/package-builder", - "version": "11.1.6", - "version_normalized": "11.1.6.0", + "version": "dev-main", + "version_normalized": "dev-main", "source": { "type": "git", "url": "https:\/\/github.com\/symplify\/package-builder.git", - "reference": "575378dc57d0e1b7c3cbd306bfc4386505717119" + "reference": "87916f237343c7adca511e4b8dbb5fd928f0b8e5" }, "dist": { "type": "zip", - "url": "https:\/\/api.github.com\/repos\/symplify\/package-builder\/zipball\/575378dc57d0e1b7c3cbd306bfc4386505717119", - "reference": "575378dc57d0e1b7c3cbd306bfc4386505717119", + "url": "https:\/\/api.github.com\/repos\/symplify\/package-builder\/zipball\/87916f237343c7adca511e4b8dbb5fd928f0b8e5", + "reference": "87916f237343c7adca511e4b8dbb5fd928f0b8e5", "shasum": "" }, "require": { @@ -3357,7 +3278,7 @@ "symfony\/console": "^6.0", "symfony\/dependency-injection": "^6.0", "symfony\/finder": "^6.0", - "symplify\/symplify-kernel": "^11.1.6" + "symplify\/symplify-kernel": "^11.2" }, "conflict": { "symplify\/autowire-array-parameter": "<11.1.6", @@ -3382,7 +3303,8 @@ "require-dev": { "phpunit\/phpunit": "^9.5.23" }, - "time": "2022-08-31T08:18:04+00:00", + "time": "2022-08-31T08:19:28+00:00", + "default-branch": true, "type": "library", "extra": { "branch-alias": { @@ -3401,7 +3323,7 @@ ], "description": "Dependency Injection, Console and Kernel toolkit for Symplify packages.", "support": { - "source": "https:\/\/github.com\/symplify\/package-builder\/tree\/11.1.6" + "source": "https:\/\/github.com\/symplify\/package-builder\/tree\/main" }, "funding": [ { @@ -3570,8 +3492,8 @@ }, { "name": "symplify\/smart-file-system", - "version": "11.1.6", - "version_normalized": "11.1.6.0", + "version": "dev-main", + "version_normalized": "dev-main", "source": { "type": "git", "url": "https:\/\/github.com\/symplify\/smart-file-system.git", @@ -3615,6 +3537,7 @@ "phpunit\/phpunit": "^9.5.23" }, "time": "2022-08-31T08:16:44+00:00", + "default-branch": true, "type": "library", "extra": { "branch-alias": { @@ -3649,27 +3572,26 @@ }, { "name": "symplify\/symplify-kernel", - "version": "11.1.6", - "version_normalized": "11.1.6.0", + "version": "dev-main", + "version_normalized": "dev-main", "source": { "type": "git", "url": "https:\/\/github.com\/symplify\/symplify-kernel.git", - "reference": "d9d084920b6dd52d8ec2022b3a3b8ced3d7d9d00" + "reference": "f2946844f34c785f6c4920edc50bcfdd07862562" }, "dist": { "type": "zip", - "url": "https:\/\/api.github.com\/repos\/symplify\/symplify-kernel\/zipball\/d9d084920b6dd52d8ec2022b3a3b8ced3d7d9d00", - "reference": "d9d084920b6dd52d8ec2022b3a3b8ced3d7d9d00", + "url": "https:\/\/api.github.com\/repos\/symplify\/symplify-kernel\/zipball\/f2946844f34c785f6c4920edc50bcfdd07862562", + "reference": "f2946844f34c785f6c4920edc50bcfdd07862562", "shasum": "" }, "require": { "php": ">=8.0", "symfony\/console": "^6.0", "symfony\/dependency-injection": "^6.0", - "symplify\/autowire-array-parameter": "^11.1.6", - "symplify\/composer-json-manipulator": "^11.1.6", - "symplify\/package-builder": "^11.1.6", - "symplify\/smart-file-system": "^11.1.6", + "symplify\/autowire-array-parameter": "^11.2", + "symplify\/package-builder": "^11.2", + "symplify\/smart-file-system": "^11.2", "webmozart\/assert": "^1.10" }, "conflict": { @@ -3692,7 +3614,8 @@ "require-dev": { "phpunit\/phpunit": "^9.5.23" }, - "time": "2022-08-31T08:18:16+00:00", + "time": "2022-08-31T09:28:54+00:00", + "default-branch": true, "type": "library", "extra": { "branch-alias": { @@ -3711,7 +3634,7 @@ ], "description": "Internal Kernel for Symplify packages", "support": { - "source": "https:\/\/github.com\/symplify\/symplify-kernel\/tree\/11.1.6" + "source": "https:\/\/github.com\/symplify\/symplify-kernel\/tree\/main" }, "install-path": "..\/symplify\/symplify-kernel" }, diff --git a/vendor/composer/installed.php b/vendor/composer/installed.php index 5283322d1ef..42aa89bb7db 100644 --- a/vendor/composer/installed.php +++ b/vendor/composer/installed.php @@ -2,4 +2,4 @@ namespace RectorPrefix202208; -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.4', 'version' => '2.0.4.0', 'reference' => '8b7ff3e4b7de6b2c84da85637b59fd2880ecaa89', '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.7', 'version' => '3.2.7.0', 'reference' => '0af4e3de4df9f1543534beab255ccf459e7a2c99', 'type' => 'library', 'install_path' => __DIR__ . '/../nette/utils', 'aliases' => array(), 'dev_requirement' => \false), 'nikic/php-parser' => array('pretty_version' => 'v4.14.0', 'version' => '4.14.0.0', 'reference' => '34bea19b6e03d8153165d8f30bba4c3be86184c1', '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.7.0', 'version' => '1.7.0.0', 'reference' => '367a8d9d5f7da2a0136422d27ce8840583926955', 'type' => 'library', 'install_path' => __DIR__ . '/../phpstan/phpdoc-parser', 'aliases' => array(), 'dev_requirement' => \false), 'phpstan/phpstan' => array('pretty_version' => '1.8.2', 'version' => '1.8.2.0', 'reference' => 'c53312ecc575caf07b0e90dee43883fdf90ca67c', '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.4', 'version' => '0.6.4.0', 'reference' => 'a778f3fb828d68caf8a9ab6567fd8342a86f12fe', 'type' => 'library', 'install_path' => __DIR__ . '/../react/child-process', 'aliases' => array(), 'dev_requirement' => \false), 'react/dns' => array('pretty_version' => 'v1.9.0', 'version' => '1.9.0.0', 'reference' => '6d38296756fa644e6cb1bfe95eff0f9a4ed6edcb', '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' => '9662b1a8ba60d0b461f978d719fc720c3d7fb405', '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' => '02a0e08e39c3ec0c5bfdb35c27fd7d49e5326e7d', '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' => '3461b001abf1d3d0d3f40bb00be18fc2b5fdbbbc', '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' => '83618514bac528861fb401f9acc9795f1fe47602', 'type' => 'rector-extension', 'install_path' => __DIR__ . '/../rector/rector-laravel', 'aliases' => array(0 => '0.11.x-dev'), 'dev_requirement' => \false), 'rector/rector-phpoffice' => array('pretty_version' => 'dev-main', 'version' => 'dev-main', 'reference' => 'ee4a8b35cea7d3779e89554de07dc9c9fe514769', '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' => 'f8e4661b10f320581aef0a47285d0e63cea50dbf', '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' => '476daa354cd6d39e45ca1fb822fcf3371ad77e25', '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.6', 'version' => '11.1.6.0', 'reference' => '4bd09786fd6c8cad3fcf1824fc1f5f387d30e4b0', 'type' => 'library', 'install_path' => __DIR__ . '/../symplify/autowire-array-parameter', 'aliases' => array(), 'dev_requirement' => \false), 'symplify/composer-json-manipulator' => array('pretty_version' => '11.1.6', 'version' => '11.1.6.0', 'reference' => '02fc1901f2bf8d62810174f9bc16143f1f5f72f0', 'type' => 'symfony-bundle', 'install_path' => __DIR__ . '/../symplify/composer-json-manipulator', 'aliases' => array(), 'dev_requirement' => \false), 'symplify/easy-parallel' => array('pretty_version' => '11.1.6', 'version' => '11.1.6.0', 'reference' => '94dc8a3744341c18233ac46686a177972611a20a', 'type' => 'library', 'install_path' => __DIR__ . '/../symplify/easy-parallel', 'aliases' => array(), 'dev_requirement' => \false), 'symplify/package-builder' => array('pretty_version' => '11.1.6', 'version' => '11.1.6.0', 'reference' => '575378dc57d0e1b7c3cbd306bfc4386505717119', 'type' => 'library', 'install_path' => __DIR__ . '/../symplify/package-builder', 'aliases' => array(), 'dev_requirement' => \false), 'symplify/rule-doc-generator-contracts' => array('pretty_version' => '11.1.6', 'version' => '11.1.6.0', 'reference' => '9a770657a2f7be08d87286201cd6a79bb10cbea1', 'type' => 'library', 'install_path' => __DIR__ . '/../symplify/rule-doc-generator-contracts', 'aliases' => array(), 'dev_requirement' => \false), 'symplify/skipper' => array('pretty_version' => '11.1.6', 'version' => '11.1.6.0', 'reference' => 'ca7e882ac3b0ec7c2967d12578bc2f8953251182', 'type' => 'library', 'install_path' => __DIR__ . '/../symplify/skipper', 'aliases' => array(), 'dev_requirement' => \false), 'symplify/smart-file-system' => array('pretty_version' => '11.1.6', 'version' => '11.1.6.0', 'reference' => 'e6920e532c203243b0f40ce62c150a0f18c38248', 'type' => 'library', 'install_path' => __DIR__ . '/../symplify/smart-file-system', 'aliases' => array(), 'dev_requirement' => \false), 'symplify/symplify-kernel' => array('pretty_version' => '11.1.6', 'version' => '11.1.6.0', 'reference' => 'd9d084920b6dd52d8ec2022b3a3b8ced3d7d9d00', 'type' => 'library', 'install_path' => __DIR__ . '/../symplify/symplify-kernel', '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.4', 'version' => '2.0.4.0', 'reference' => '8b7ff3e4b7de6b2c84da85637b59fd2880ecaa89', '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.7', 'version' => '3.2.7.0', 'reference' => '0af4e3de4df9f1543534beab255ccf459e7a2c99', 'type' => 'library', 'install_path' => __DIR__ . '/../nette/utils', 'aliases' => array(), 'dev_requirement' => \false), 'nikic/php-parser' => array('pretty_version' => 'v4.14.0', 'version' => '4.14.0.0', 'reference' => '34bea19b6e03d8153165d8f30bba4c3be86184c1', '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.7.0', 'version' => '1.7.0.0', 'reference' => '367a8d9d5f7da2a0136422d27ce8840583926955', 'type' => 'library', 'install_path' => __DIR__ . '/../phpstan/phpdoc-parser', 'aliases' => array(), 'dev_requirement' => \false), 'phpstan/phpstan' => array('pretty_version' => '1.8.2', 'version' => '1.8.2.0', 'reference' => 'c53312ecc575caf07b0e90dee43883fdf90ca67c', '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.4', 'version' => '0.6.4.0', 'reference' => 'a778f3fb828d68caf8a9ab6567fd8342a86f12fe', 'type' => 'library', 'install_path' => __DIR__ . '/../react/child-process', 'aliases' => array(), 'dev_requirement' => \false), 'react/dns' => array('pretty_version' => 'v1.9.0', 'version' => '1.9.0.0', 'reference' => '6d38296756fa644e6cb1bfe95eff0f9a4ed6edcb', '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' => '9662b1a8ba60d0b461f978d719fc720c3d7fb405', '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' => '02a0e08e39c3ec0c5bfdb35c27fd7d49e5326e7d', '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' => '3461b001abf1d3d0d3f40bb00be18fc2b5fdbbbc', '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' => '83618514bac528861fb401f9acc9795f1fe47602', 'type' => 'rector-extension', 'install_path' => __DIR__ . '/../rector/rector-laravel', 'aliases' => array(0 => '0.11.x-dev'), 'dev_requirement' => \false), 'rector/rector-phpoffice' => array('pretty_version' => 'dev-main', 'version' => 'dev-main', 'reference' => 'ee4a8b35cea7d3779e89554de07dc9c9fe514769', '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' => 'f8e4661b10f320581aef0a47285d0e63cea50dbf', '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' => '476daa354cd6d39e45ca1fb822fcf3371ad77e25', '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' => 'dev-main', 'version' => 'dev-main', 'reference' => 'c5865d56cb3976862815c6aa49c7ba7ff16c7509', 'type' => 'library', 'install_path' => __DIR__ . '/../symplify/autowire-array-parameter', 'aliases' => array(0 => '11.2.x-dev'), 'dev_requirement' => \false), 'symplify/easy-parallel' => array('pretty_version' => '11.1.6', 'version' => '11.1.6.0', 'reference' => '94dc8a3744341c18233ac46686a177972611a20a', 'type' => 'library', 'install_path' => __DIR__ . '/../symplify/easy-parallel', 'aliases' => array(), 'dev_requirement' => \false), 'symplify/package-builder' => array('pretty_version' => 'dev-main', 'version' => 'dev-main', 'reference' => '87916f237343c7adca511e4b8dbb5fd928f0b8e5', 'type' => 'library', 'install_path' => __DIR__ . '/../symplify/package-builder', 'aliases' => array(0 => '11.2.x-dev'), 'dev_requirement' => \false), 'symplify/rule-doc-generator-contracts' => array('pretty_version' => '11.1.6', 'version' => '11.1.6.0', 'reference' => '9a770657a2f7be08d87286201cd6a79bb10cbea1', 'type' => 'library', 'install_path' => __DIR__ . '/../symplify/rule-doc-generator-contracts', 'aliases' => array(), 'dev_requirement' => \false), 'symplify/skipper' => array('pretty_version' => '11.1.6', 'version' => '11.1.6.0', 'reference' => 'ca7e882ac3b0ec7c2967d12578bc2f8953251182', 'type' => 'library', 'install_path' => __DIR__ . '/../symplify/skipper', 'aliases' => array(), 'dev_requirement' => \false), 'symplify/smart-file-system' => array('pretty_version' => 'dev-main', 'version' => 'dev-main', 'reference' => 'e6920e532c203243b0f40ce62c150a0f18c38248', 'type' => 'library', 'install_path' => __DIR__ . '/../symplify/smart-file-system', 'aliases' => array(0 => '11.2.x-dev'), 'dev_requirement' => \false), 'symplify/symplify-kernel' => array('pretty_version' => 'dev-main', 'version' => 'dev-main', 'reference' => 'f2946844f34c785f6c4920edc50bcfdd07862562', 'type' => 'library', 'install_path' => __DIR__ . '/../symplify/symplify-kernel', 'aliases' => array(0 => '11.2.x-dev'), 'dev_requirement' => \false), 'webmozart/assert' => array('pretty_version' => '1.11.0', 'version' => '1.11.0.0', 'reference' => '11cb2199493b2f8a3b53e7f19068fc6aac760991', 'type' => 'library', 'install_path' => __DIR__ . '/../webmozart/assert', 'aliases' => array(), 'dev_requirement' => \false))); diff --git a/vendor/symplify/autowire-array-parameter/composer.json b/vendor/symplify/autowire-array-parameter/composer.json index 96305950f98..f76cc0a150d 100644 --- a/vendor/symplify/autowire-array-parameter/composer.json +++ b/vendor/symplify/autowire-array-parameter/composer.json @@ -6,7 +6,7 @@ "php": ">=8.0", "nette\/utils": "^3.2", "symfony\/dependency-injection": "^6.0", - "symplify\/package-builder": "^11.1.6" + "symplify\/package-builder": "^11.2" }, "require-dev": { "phpunit\/phpunit": "^9.5.23" diff --git a/vendor/symplify/composer-json-manipulator/LICENSE b/vendor/symplify/composer-json-manipulator/LICENSE deleted file mode 100644 index 2dbf78e6f91..00000000000 --- a/vendor/symplify/composer-json-manipulator/LICENSE +++ /dev/null @@ -1,25 +0,0 @@ -The MIT License ---------------- - -Copyright (c) 2020 Tomas Votruba (https://tomasvotruba.com) - -Permission is hereby granted, free of charge, to any person -obtaining a copy of this software and associated documentation -files (the "Software"), to deal in the Software without -restriction, including without limitation the rights to use, -copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the -Software is furnished to do so, subject to the following -conditions: - -The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES -OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT -HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, -WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR -OTHER DEALINGS IN THE SOFTWARE. diff --git a/vendor/symplify/composer-json-manipulator/composer.json b/vendor/symplify/composer-json-manipulator/composer.json deleted file mode 100644 index ddb921600d9..00000000000 --- a/vendor/symplify/composer-json-manipulator/composer.json +++ /dev/null @@ -1,55 +0,0 @@ -{ - "name": "symplify\/composer-json-manipulator", - "description": "Package to load, merge and save composer.json file(s)", - "license": "MIT", - "type": "symfony-bundle", - "require": { - "php": ">=8.0", - "nette\/utils": "^3.2", - "symfony\/config": "^6.0", - "symfony\/dependency-injection": "^6.0", - "symfony\/filesystem": "^6.0", - "symplify\/package-builder": "^11.1.6", - "symplify\/symplify-kernel": "^11.1.6", - "symplify\/smart-file-system": "^11.1.6" - }, - "require-dev": { - "phpunit\/phpunit": "^9.5.23" - }, - "autoload": { - "psr-4": { - "RectorPrefix202208\\Symplify\\ComposerJsonManipulator\\": "src" - } - }, - "autoload-dev": { - "psr-4": { - "RectorPrefix202208\\Symplify\\ComposerJsonManipulator\\Tests\\": "tests" - } - }, - "extra": { - "branch-alias": { - "dev-main": "11.2-dev" - } - }, - "conflict": { - "symplify\/easy-coding-standard": "<11.1.6", - "symplify\/phpstan-rules": "<11.1.6", - "symplify\/easy-testing": "<11.1.6", - "symplify\/rule-doc-generator-contracts": "<11.1.6", - "symplify\/php-config-printer": "<11.1.6", - "symplify\/autowire-array-parameter": "<11.1.6", - "symplify\/phpstan-extensions": "<11.1.6", - "symplify\/rule-doc-generator": "<11.1.6", - "symplify\/vendor-patches": "<11.1.6", - "symplify\/skipper": "<11.1.6", - "symplify\/symfony-static-dumper": "<11.1.6", - "symplify\/symplify-kernel": "<9.4.70", - "symplify\/monorepo-builder": "<11.1.6", - "symplify\/config-transformer": "<11.1.6", - "symplify\/easy-ci": "<11.1.6", - "symplify\/coding-standard": "<11.1.6", - "symplify\/easy-parallel": "<11.1.6" - }, - "minimum-stability": "dev", - "prefer-stable": true -} \ No newline at end of file diff --git a/vendor/symplify/composer-json-manipulator/config/config.php b/vendor/symplify/composer-json-manipulator/config/config.php deleted file mode 100644 index 1c11eb0a540..00000000000 --- a/vendor/symplify/composer-json-manipulator/config/config.php +++ /dev/null @@ -1,25 +0,0 @@ -parameters(); - $parameters->set(Option::INLINE_SECTIONS, ['keywords']); - $services = $containerConfigurator->services(); - $services->defaults()->public()->autowire(); - $services->load('RectorPrefix202208\Symplify\\ComposerJsonManipulator\\', __DIR__ . '/../src'); - $services->set(SmartFileSystem::class); - $services->set(PrivatesCaller::class); - $services->set(ParameterProvider::class)->args([service('service_container')]); - $services->set(SymfonyStyleFactory::class); - $services->set(SymfonyStyle::class)->factory([service(SymfonyStyleFactory::class), 'create']); -}; diff --git a/vendor/symplify/composer-json-manipulator/src/ComposerJsonFactory.php b/vendor/symplify/composer-json-manipulator/src/ComposerJsonFactory.php deleted file mode 100644 index efcc03dd589..00000000000 --- a/vendor/symplify/composer-json-manipulator/src/ComposerJsonFactory.php +++ /dev/null @@ -1,131 +0,0 @@ -jsonFileManager = $jsonFileManager; - } - public function createFromString(string $jsonString) : ComposerJson - { - $jsonArray = Json::decode($jsonString, Json::FORCE_ARRAY); - return $this->createFromArray($jsonArray); - } - public function createFromFileInfo(SmartFileInfo $smartFileInfo) : ComposerJson - { - $jsonArray = $this->jsonFileManager->loadFromFilePath($smartFileInfo->getRealPath()); - $composerJson = $this->createFromArray($jsonArray); - $composerJson->setOriginalFileInfo($smartFileInfo); - return $composerJson; - } - public function createFromFilePath(string $filePath) : ComposerJson - { - $jsonArray = $this->jsonFileManager->loadFromFilePath($filePath); - $composerJson = $this->createFromArray($jsonArray); - $fileInfo = new SmartFileInfo($filePath); - $composerJson->setOriginalFileInfo($fileInfo); - return $composerJson; - } - public function createEmpty() : ComposerJson - { - return new ComposerJson(); - } - /** - * @param mixed[] $jsonArray - */ - public function createFromArray(array $jsonArray) : ComposerJson - { - $composerJson = new ComposerJson(); - if (isset($jsonArray[ComposerJsonSection::CONFIG])) { - $composerJson->setConfig($jsonArray[ComposerJsonSection::CONFIG]); - } - if (isset($jsonArray[ComposerJsonSection::NAME])) { - $composerJson->setName($jsonArray[ComposerJsonSection::NAME]); - } - if (isset($jsonArray[ComposerJsonSection::TYPE])) { - $composerJson->setType($jsonArray[ComposerJsonSection::TYPE]); - } - if (isset($jsonArray[ComposerJsonSection::AUTHORS])) { - $composerJson->setAuthors($jsonArray[ComposerJsonSection::AUTHORS]); - } - if (isset($jsonArray[ComposerJsonSection::DESCRIPTION])) { - $composerJson->setDescription($jsonArray[ComposerJsonSection::DESCRIPTION]); - } - if (isset($jsonArray[ComposerJsonSection::KEYWORDS])) { - $composerJson->setKeywords($jsonArray[ComposerJsonSection::KEYWORDS]); - } - if (isset($jsonArray[ComposerJsonSection::HOMEPAGE])) { - $composerJson->setHomepage($jsonArray[ComposerJsonSection::HOMEPAGE]); - } - if (isset($jsonArray[ComposerJsonSection::LICENSE])) { - $composerJson->setLicense($jsonArray[ComposerJsonSection::LICENSE]); - } - if (isset($jsonArray[ComposerJsonSection::BIN])) { - $composerJson->setBin($jsonArray[ComposerJsonSection::BIN]); - } - if (isset($jsonArray[ComposerJsonSection::REQUIRE])) { - $composerJson->setRequire($jsonArray[ComposerJsonSection::REQUIRE]); - } - if (isset($jsonArray[ComposerJsonSection::REQUIRE_DEV])) { - $composerJson->setRequireDev($jsonArray[ComposerJsonSection::REQUIRE_DEV]); - } - if (isset($jsonArray[ComposerJsonSection::AUTOLOAD])) { - $composerJson->setAutoload($jsonArray[ComposerJsonSection::AUTOLOAD]); - } - if (isset($jsonArray[ComposerJsonSection::AUTOLOAD_DEV])) { - $composerJson->setAutoloadDev($jsonArray[ComposerJsonSection::AUTOLOAD_DEV]); - } - if (isset($jsonArray[ComposerJsonSection::REPLACE])) { - $composerJson->setReplace($jsonArray[ComposerJsonSection::REPLACE]); - } - if (isset($jsonArray[ComposerJsonSection::EXTRA])) { - $composerJson->setExtra($jsonArray[ComposerJsonSection::EXTRA]); - } - if (isset($jsonArray[ComposerJsonSection::SCRIPTS])) { - $composerJson->setScripts($jsonArray[ComposerJsonSection::SCRIPTS]); - } - if (isset($jsonArray[ComposerJsonSection::SCRIPTS_DESCRIPTIONS])) { - $composerJson->setScriptsDescriptions($jsonArray[ComposerJsonSection::SCRIPTS_DESCRIPTIONS]); - } - if (isset($jsonArray[ComposerJsonSection::SUGGEST])) { - $composerJson->setSuggest($jsonArray[ComposerJsonSection::SUGGEST]); - } - if (isset($jsonArray[ComposerJsonSection::MINIMUM_STABILITY])) { - $composerJson->setMinimumStability($jsonArray[ComposerJsonSection::MINIMUM_STABILITY]); - } - if (isset($jsonArray[ComposerJsonSection::PREFER_STABLE])) { - $composerJson->setPreferStable($jsonArray[ComposerJsonSection::PREFER_STABLE]); - } - if (isset($jsonArray[ComposerJsonSection::CONFLICT])) { - $composerJson->setConflicts($jsonArray[ComposerJsonSection::CONFLICT]); - } - if (isset($jsonArray[ComposerJsonSection::REPOSITORIES])) { - $composerJson->setRepositories($jsonArray[ComposerJsonSection::REPOSITORIES]); - } - if (isset($jsonArray[ComposerJsonSection::VERSION])) { - $composerJson->setVersion($jsonArray[ComposerJsonSection::VERSION]); - } - if (isset($jsonArray[ComposerJsonSection::PROVIDE])) { - $composerJson->setProvide($jsonArray[ComposerJsonSection::PROVIDE]); - } - $orderedKeys = \array_keys($jsonArray); - $composerJson->setOrderedKeys($orderedKeys); - return $composerJson; - } -} diff --git a/vendor/symplify/composer-json-manipulator/src/FileSystem/JsonFileManager.php b/vendor/symplify/composer-json-manipulator/src/FileSystem/JsonFileManager.php deleted file mode 100644 index a675c09c0a8..00000000000 --- a/vendor/symplify/composer-json-manipulator/src/FileSystem/JsonFileManager.php +++ /dev/null @@ -1,97 +0,0 @@ - - */ - private $cachedJSONFiles = []; - /** - * @var \Symplify\SmartFileSystem\SmartFileSystem - */ - private $smartFileSystem; - /** - * @var \Symplify\ComposerJsonManipulator\Json\JsonCleaner - */ - private $jsonCleaner; - /** - * @var \Symplify\ComposerJsonManipulator\Json\JsonInliner - */ - private $jsonInliner; - public function __construct(SmartFileSystem $smartFileSystem, JsonCleaner $jsonCleaner, JsonInliner $jsonInliner) - { - $this->smartFileSystem = $smartFileSystem; - $this->jsonCleaner = $jsonCleaner; - $this->jsonInliner = $jsonInliner; - } - /** - * @return mixed[] - */ - public function loadFromFileInfo(SmartFileInfo $smartFileInfo) : array - { - $realPath = $smartFileInfo->getRealPath(); - if (!isset($this->cachedJSONFiles[$realPath])) { - $this->cachedJSONFiles[$realPath] = Json::decode($smartFileInfo->getContents(), Json::FORCE_ARRAY); - } - return $this->cachedJSONFiles[$realPath]; - } - /** - * @return array - */ - public function loadFromFilePath(string $filePath) : array - { - $fileContent = $this->smartFileSystem->readFile($filePath); - return Json::decode($fileContent, Json::FORCE_ARRAY); - } - /** - * @param mixed[] $json - */ - public function printJsonToFileInfoAndReturn(array $json, SmartFileInfo $smartFileInfo) : string - { - $jsonString = $this->encodeJsonToFileContent($json); - $this->printJsonStringToSmartFileInfo($smartFileInfo, $jsonString); - return $jsonString; - } - /** - * @param mixed[] $json - */ - public function printJsonToFileInfo(array $json, SmartFileInfo $smartFileInfo) : void - { - $jsonString = $this->encodeJsonToFileContent($json); - $this->printJsonStringToSmartFileInfo($smartFileInfo, $jsonString); - } - public function printComposerJsonToFilePath(ComposerJson $composerJson, string $filePath) : void - { - $jsonString = $this->encodeJsonToFileContent($composerJson->getJsonArray()); - $this->smartFileSystem->dumpFile($filePath, $jsonString); - } - /** - * @param mixed[] $json - */ - public function encodeJsonToFileContent(array $json) : string - { - // Empty arrays may lead to bad encoding since we can't be sure whether they need to be arrays or objects. - $json = $this->jsonCleaner->removeEmptyKeysFromJsonArray($json); - $jsonContent = Json::encode($json, Json::PRETTY) . StaticEolConfiguration::getEolChar(); - return $this->jsonInliner->inlineSections($jsonContent); - } - private function printJsonStringToSmartFileInfo(SmartFileInfo $smartFileInfo, string $jsonString) : void - { - $this->smartFileSystem->dumpFile($smartFileInfo->getPathname(), $jsonString); - $realPath = $smartFileInfo->getRealPath(); - unset($this->cachedJSONFiles[$realPath]); - } -} diff --git a/vendor/symplify/composer-json-manipulator/src/Json/JsonCleaner.php b/vendor/symplify/composer-json-manipulator/src/Json/JsonCleaner.php deleted file mode 100644 index ce02d8bb90f..00000000000 --- a/vendor/symplify/composer-json-manipulator/src/Json/JsonCleaner.php +++ /dev/null @@ -1,26 +0,0 @@ - $data - * @return array - */ - public function removeEmptyKeysFromJsonArray(array $data) : array - { - foreach ($data as $key => $value) { - if (!\is_array($value)) { - continue; - } - if ($value === []) { - unset($data[$key]); - } else { - $data[$key] = $this->removeEmptyKeysFromJsonArray($value); - } - } - return $data; - } -} diff --git a/vendor/symplify/composer-json-manipulator/src/Json/JsonInliner.php b/vendor/symplify/composer-json-manipulator/src/Json/JsonInliner.php deleted file mode 100644 index e94fa4cc93d..00000000000 --- a/vendor/symplify/composer-json-manipulator/src/Json/JsonInliner.php +++ /dev/null @@ -1,41 +0,0 @@ -parameterProvider = $parameterProvider; - } - public function inlineSections(string $jsonContent) : string - { - if (!$this->parameterProvider->hasParameter(Option::INLINE_SECTIONS)) { - return $jsonContent; - } - $inlineSections = $this->parameterProvider->provideArrayParameter(Option::INLINE_SECTIONS); - foreach ($inlineSections as $inlineSection) { - $pattern = '#("' . \preg_quote($inlineSection, '#') . '": )\\[(.*?)\\](,)#ms'; - $jsonContent = Strings::replace($jsonContent, $pattern, static function (array $match) : string { - $inlined = Strings::replace($match[2], self::SPACE_REGEX, ' '); - $inlined = \trim($inlined); - $inlined = '[' . $inlined . ']'; - return $match[1] . $inlined . $match[3]; - }); - } - return $jsonContent; - } -} diff --git a/vendor/symplify/composer-json-manipulator/src/Printer/ComposerJsonPrinter.php b/vendor/symplify/composer-json-manipulator/src/Printer/ComposerJsonPrinter.php deleted file mode 100644 index 5573674a4f4..00000000000 --- a/vendor/symplify/composer-json-manipulator/src/Printer/ComposerJsonPrinter.php +++ /dev/null @@ -1,37 +0,0 @@ -jsonFileManager = $jsonFileManager; - } - public function printToString(ComposerJson $composerJson) : string - { - return $this->jsonFileManager->encodeJsonToFileContent($composerJson->getJsonArray()); - } - /** - * @param string|\Symplify\SmartFileSystem\SmartFileInfo $targetFile - */ - public function print(ComposerJson $composerJson, $targetFile) : void - { - if (\is_string($targetFile)) { - $this->jsonFileManager->printComposerJsonToFilePath($composerJson, $targetFile); - return; - } - $this->jsonFileManager->printJsonToFileInfo($composerJson->getJsonArray(), $targetFile); - } -} diff --git a/vendor/symplify/composer-json-manipulator/src/Sorter/ComposerPackageSorter.php b/vendor/symplify/composer-json-manipulator/src/Sorter/ComposerPackageSorter.php deleted file mode 100644 index d1ceb66e80d..00000000000 --- a/vendor/symplify/composer-json-manipulator/src/Sorter/ComposerPackageSorter.php +++ /dev/null @@ -1,65 +0,0 @@ -php|hhvm|ext|lib|\\D)#'; - /** - * Sorts packages by importance (platform packages first, then PHP dependencies) and alphabetically. - * - * @link https://getcomposer.org/doc/02-libraries.md#platform-packages - * - * @param array $packages - * @return array - */ - public function sortPackages(array $packages) : array - { - \uksort($packages, function (string $firstPackageName, string $secondPackageName) : int { - return $this->createNameWithPriority($firstPackageName) <=> $this->createNameWithPriority($secondPackageName); - }); - return $packages; - } - private function createNameWithPriority(string $requirementName) : string - { - if ($this->isPlatformPackage($requirementName)) { - return Strings::replace($requirementName, self::REQUIREMENT_TYPE_REGEX, static function (array $match) : string { - $name = $match['name']; - if ($name === 'php') { - return '0-' . $name; - } - if ($name === 'hhvm') { - return '0-' . $name; - } - if ($name === 'ext') { - return '1-' . $name; - } - if ($name === 'lib') { - return '2-' . $name; - } - return '3-' . $name; - }); - } - return '4-' . $requirementName; - } - private function isPlatformPackage(string $name) : bool - { - return (bool) Strings::match($name, self::PLATFORM_PACKAGE_REGEX); - } -} diff --git a/vendor/symplify/composer-json-manipulator/src/ValueObject/ComposerJson.php b/vendor/symplify/composer-json-manipulator/src/ValueObject/ComposerJson.php deleted file mode 100644 index ce59f2f755f..00000000000 --- a/vendor/symplify/composer-json-manipulator/src/ValueObject/ComposerJson.php +++ /dev/null @@ -1,731 +0,0 @@ - - */ - private $require = []; - /** - * @var mixed[] - */ - private $autoload = []; - /** - * @var mixed[] - */ - private $extra = []; - /** - * @var array - */ - private $requireDev = []; - /** - * @var mixed[] - */ - private $autoloadDev = []; - /** - * @var string[] - */ - private $orderedKeys = []; - /** - * @var array - */ - private $replace = []; - /** - * @var array - */ - private $scripts = []; - /** - * @var mixed[] - */ - private $config = []; - /** - * @var \Symplify\SmartFileSystem\SmartFileInfo|null - */ - private $fileInfo; - /** - * @var \Symplify\ComposerJsonManipulator\Sorter\ComposerPackageSorter - */ - private $composerPackageSorter; - /** - * @var array - */ - private $conflicts = []; - /** - * @var mixed[] - */ - private $bin = []; - /** - * @var string|null - */ - private $type; - /** - * @var mixed[] - */ - private $authors = []; - /** - * @var array - */ - private $scriptsDescriptions = []; - /** - * @var array - */ - private $suggest = []; - /** - * @var string|null - */ - private $version; - /** - * @var array - */ - private $provide = []; - public function __construct() - { - $this->composerPackageSorter = new ComposerPackageSorter(); - } - public function setOriginalFileInfo(SmartFileInfo $fileInfo) : void - { - $this->fileInfo = $fileInfo; - } - public function setName(string $name) : void - { - $this->name = $name; - } - public function setType(string $type) : void - { - $this->type = $type; - } - /** - * @param array $require - */ - public function setRequire(array $require) : void - { - $this->require = $this->sortPackagesIfNeeded($require); - } - public function getVersion() : ?string - { - return $this->version; - } - public function setVersion(string $version) : void - { - $this->version = $version; - } - /** - * @return mixed[] - */ - public function getRequire() : array - { - return $this->require; - } - public function getRequirePhpVersion() : ?string - { - return $this->require[self::PHP] ?? null; - } - /** - * @return array - */ - public function getRequireDev() : array - { - return $this->requireDev; - } - /** - * @param array $requireDev - */ - public function setRequireDev(array $requireDev) : void - { - $this->requireDev = $this->sortPackagesIfNeeded($requireDev); - } - /** - * @param string[] $orderedKeys - */ - public function setOrderedKeys(array $orderedKeys) : void - { - $this->orderedKeys = $orderedKeys; - } - /** - * @return string[] - */ - public function getOrderedKeys() : array - { - return $this->orderedKeys; - } - /** - * @return mixed[] - */ - public function getAutoload() : array - { - return $this->autoload; - } - /** - * @return string[] - */ - public function getAbsoluteAutoloadDirectories() : array - { - if ($this->fileInfo === null) { - throw new ShouldNotHappenException(); - } - $autoloadDirectories = $this->getAutoloadDirectories(); - $absoluteAutoloadDirectories = []; - foreach ($autoloadDirectories as $autoloadDirectory) { - if (\is_file($autoloadDirectory)) { - // skip files - continue; - } - $absoluteAutoloadDirectories[] = $this->resolveExistingAutoloadDirectory($autoloadDirectory); - } - return $absoluteAutoloadDirectories; - } - /** - * @param mixed[] $autoload - */ - public function setAutoload(array $autoload) : void - { - $this->autoload = $autoload; - } - /** - * @return mixed[] - */ - public function getAutoloadDev() : array - { - return $this->autoloadDev; - } - /** - * @param mixed[] $autoloadDev - */ - public function setAutoloadDev(array $autoloadDev) : void - { - $this->autoloadDev = $autoloadDev; - } - /** - * @return mixed[] - */ - public function getRepositories() : array - { - return $this->repositories; - } - /** - * @param mixed[] $repositories - */ - public function setRepositories(array $repositories) : void - { - $this->repositories = $repositories; - } - public function setMinimumStability(string $minimumStability) : void - { - $this->minimumStability = $minimumStability; - } - public function removeMinimumStability() : void - { - $this->minimumStability = null; - } - public function getMinimumStability() : ?string - { - return $this->minimumStability; - } - public function getPreferStable() : ?bool - { - return $this->preferStable; - } - public function setPreferStable(bool $preferStable) : void - { - $this->preferStable = $preferStable; - } - public function removePreferStable() : void - { - $this->preferStable = null; - } - /** - * @return mixed[] - */ - public function getExtra() : array - { - return $this->extra; - } - /** - * @param mixed[] $extra - */ - public function setExtra(array $extra) : void - { - $this->extra = $extra; - } - public function getName() : ?string - { - return $this->name; - } - public function getVendorName() : ?string - { - if ($this->name === null) { - return null; - } - [$vendor] = \explode('/', $this->name); - return $vendor; - } - public function getShortName() : ?string - { - if ($this->name === null) { - return null; - } - return Strings::after($this->name, '/', -1); - } - /** - * @return array - */ - public function getReplace() : array - { - return $this->replace; - } - public function isReplacePackageSet(string $packageName) : bool - { - return isset($this->replace[$packageName]); - } - /** - * @param array $replace - */ - public function setReplace(array $replace) : void - { - \ksort($replace); - $this->replace = $replace; - } - public function setReplacePackage(string $packageName, string $version) : void - { - $this->replace[$packageName] = $version; - } - /** - * @return mixed[] - */ - public function getJsonArray() : array - { - $array = \array_filter([ComposerJsonSection::NAME => $this->name, ComposerJsonSection::DESCRIPTION => $this->description, ComposerJsonSection::KEYWORDS => $this->keywords, ComposerJsonSection::HOMEPAGE => $this->homepage, ComposerJsonSection::LICENSE => $this->license, ComposerJsonSection::AUTHORS => $this->authors, ComposerJsonSection::TYPE => $this->type, ComposerJsonSection::REQUIRE => $this->require, ComposerJsonSection::REQUIRE_DEV => $this->requireDev, ComposerJsonSection::AUTOLOAD => $this->autoload, ComposerJsonSection::AUTOLOAD_DEV => $this->autoloadDev, ComposerJsonSection::REPOSITORIES => $this->repositories, ComposerJsonSection::EXTRA => $this->extra, ComposerJsonSection::BIN => $this->bin, ComposerJsonSection::SCRIPTS => $this->scripts, ComposerJsonSection::SCRIPTS_DESCRIPTIONS => $this->scriptsDescriptions, ComposerJsonSection::SUGGEST => $this->suggest, ComposerJsonSection::CONFIG => $this->config, ComposerJsonSection::REPLACE => $this->replace, ComposerJsonSection::CONFLICT => $this->conflicts, ComposerJsonSection::PROVIDE => $this->provide, ComposerJsonSection::VERSION => $this->version]); - if ($this->minimumStability !== null) { - $array[ComposerJsonSection::MINIMUM_STABILITY] = $this->minimumStability; - $this->moveValueToBack(ComposerJsonSection::MINIMUM_STABILITY); - } - if ($this->preferStable !== null) { - $array[ComposerJsonSection::PREFER_STABLE] = $this->preferStable; - $this->moveValueToBack(ComposerJsonSection::PREFER_STABLE); - } - return $this->sortItemsByOrderedListOfKeys($array, $this->orderedKeys); - } - /** - * @param array $scripts - */ - public function setScripts(array $scripts) : void - { - $this->scripts = $scripts; - } - /** - * @param mixed[] $config - */ - public function setConfig(array $config) : void - { - $this->config = $config; - } - /** - * @return mixed[] - */ - public function getConfig() : array - { - return $this->config; - } - public function setDescription(string $description) : void - { - $this->description = $description; - } - public function getDescription() : ?string - { - return $this->description; - } - /** - * @param string[] $keywords - */ - public function setKeywords(array $keywords) : void - { - $this->keywords = $keywords; - } - /** - * @return string[] - */ - public function getKeywords() : array - { - return $this->keywords; - } - public function setHomepage(string $homepage) : void - { - $this->homepage = $homepage; - } - public function getHomepage() : ?string - { - return $this->homepage; - } - /** - * @param string|string[]|null $license - */ - public function setLicense($license) : void - { - $this->license = $license; - } - /** - * @return string|string[]|null - */ - public function getLicense() - { - return $this->license; - } - /** - * @param mixed[] $authors - */ - public function setAuthors(array $authors) : void - { - $this->authors = $authors; - } - /** - * @return mixed[] - */ - public function getAuthors() : array - { - return $this->authors; - } - public function hasPackage(string $packageName) : bool - { - if ($this->hasRequiredPackage($packageName)) { - return \true; - } - return $this->hasRequiredDevPackage($packageName); - } - public function hasRequiredPackage(string $packageName) : bool - { - return isset($this->require[$packageName]); - } - public function hasRequiredDevPackage(string $packageName) : bool - { - return isset($this->requireDev[$packageName]); - } - public function addRequiredPackage(string $packageName, string $version) : void - { - if (!$this->hasPackage($packageName)) { - $this->require[$packageName] = $version; - $this->require = $this->sortPackagesIfNeeded($this->require); - } - } - public function addRequiredDevPackage(string $packageName, string $version) : void - { - if (!$this->hasPackage($packageName)) { - $this->requireDev[$packageName] = $version; - $this->requireDev = $this->sortPackagesIfNeeded($this->requireDev); - } - } - public function changePackageVersion(string $packageName, string $version) : void - { - if ($this->hasRequiredPackage($packageName)) { - $this->require[$packageName] = $version; - } - if ($this->hasRequiredDevPackage($packageName)) { - $this->requireDev[$packageName] = $version; - } - } - public function movePackageToRequire(string $packageName) : void - { - if (!$this->hasRequiredDevPackage($packageName)) { - return; - } - $version = $this->requireDev[$packageName]; - $this->removePackage($packageName); - $this->addRequiredPackage($packageName, $version); - } - public function movePackageToRequireDev(string $packageName) : void - { - if (!$this->hasRequiredPackage($packageName)) { - return; - } - $version = $this->require[$packageName]; - $this->removePackage($packageName); - $this->addRequiredDevPackage($packageName, $version); - } - public function removePackage(string $packageName) : void - { - unset($this->require[$packageName], $this->requireDev[$packageName]); - } - public function replacePackage(string $oldPackageName, string $newPackageName, string $targetVersion) : void - { - if ($this->hasRequiredPackage($oldPackageName)) { - unset($this->require[$oldPackageName]); - $this->addRequiredPackage($newPackageName, $targetVersion); - } - if ($this->hasRequiredDevPackage($oldPackageName)) { - unset($this->requireDev[$oldPackageName]); - $this->addRequiredDevPackage($newPackageName, $targetVersion); - } - } - public function getFileInfo() : ?SmartFileInfo - { - return $this->fileInfo; - } - /** - * @param array $conflicts - */ - public function setConflicts(array $conflicts) : void - { - $this->conflicts = $conflicts; - } - /** - * @param mixed[] $bin - */ - public function setBin(array $bin) : void - { - $this->bin = $bin; - } - /** - * @return mixed[] - */ - public function getBin() : array - { - return $this->bin; - } - /** - * @return string[] - */ - public function getPsr4AndClassmapDirectories() : array - { - $psr4Directories = \array_values($this->autoload['psr-4'] ?? []); - $classmapDirectories = $this->autoload['classmap'] ?? []; - return \array_merge($psr4Directories, $classmapDirectories); - } - /** - * @return array - */ - public function getScripts() : array - { - return $this->scripts; - } - /** - * @return array - */ - public function getScriptsDescriptions() : array - { - return $this->scriptsDescriptions; - } - /** - * @return array - */ - public function getSuggest() : array - { - return $this->suggest; - } - /** - * @return string[] - */ - public function getAllClassmaps() : array - { - $autoloadClassmaps = $this->autoload[self::CLASSMAP_KEY] ?? []; - $autoloadDevClassmaps = $this->autoloadDev[self::CLASSMAP_KEY] ?? []; - return \array_merge($autoloadClassmaps, $autoloadDevClassmaps); - } - /** - * @return array - */ - public function getConflicts() : array - { - return $this->conflicts; - } - /** - * @api - */ - public function getType() : ?string - { - return $this->type; - } - /** - * @return string[] - */ - public function getAutoloadDirectories() : array - { - $autoloadDirectories = \array_merge($this->getPsr4AndClassmapDirectories(), $this->getPsr4AndClassmapDevDirectories()); - return Arrays::flatten($autoloadDirectories); - } - /** - * @return string[] - */ - public function getPsr4AndClassmapDevDirectories() : array - { - $psr4Directories = \array_values($this->autoloadDev['psr-4'] ?? []); - $classmapDirectories = $this->autoloadDev['classmap'] ?? []; - return \array_merge($psr4Directories, $classmapDirectories); - } - /** - * @param array $scriptsDescriptions - */ - public function setScriptsDescriptions(array $scriptsDescriptions) : void - { - $this->scriptsDescriptions = $scriptsDescriptions; - } - /** - * @param array $suggest - */ - public function setSuggest(array $suggest) : void - { - $this->suggest = $suggest; - } - /** - * @return string[] - */ - public function getDuplicatedRequirePackages() : array - { - $requiredPackageNames = $this->require; - $requiredDevPackageNames = $this->requireDev; - return \array_intersect($requiredPackageNames, $requiredDevPackageNames); - } - /** - * @return string[] - */ - public function getRequirePackageNames() : array - { - return \array_keys($this->require); - } - /** - * @return array - */ - public function getProvide() : array - { - return $this->provide; - } - public function isProvidePackageSet(string $packageName) : bool - { - return isset($this->provide[$packageName]); - } - /** - * @param array $provide - */ - public function setProvide(array $provide) : void - { - \ksort($provide); - $this->provide = $provide; - } - public function setProvidePackage(string $packageName, string $version) : void - { - $this->provide[$packageName] = $version; - } - /** - * @param ComposerJsonSection::* $valueName - */ - private function moveValueToBack(string $valueName) : void - { - $key = \array_search($valueName, $this->orderedKeys, \true); - if ($key !== \false) { - unset($this->orderedKeys[$key]); - } - $this->orderedKeys[] = $valueName; - } - /** - * 2. sort item by prescribed key order - * - * @see https://www.designcise.com/web/tutorial/how-to-sort-an-array-by-keys-based-on-order-in-a-secondary-array-in-php - * @param array $contentItems - * @param string[] $orderedVisibleItems - * @return mixed[] - */ - private function sortItemsByOrderedListOfKeys(array $contentItems, array $orderedVisibleItems) : array - { - \uksort($contentItems, function ($firstContentItem, $secondContentItem) use($orderedVisibleItems) : int { - $firstItemPosition = $this->findPosition($firstContentItem, $orderedVisibleItems); - $secondItemPosition = $this->findPosition($secondContentItem, $orderedVisibleItems); - if ($firstItemPosition === \false) { - // new item, put in the back - return -1; - } - if ($secondItemPosition === \false) { - // new item, put in the back - return -1; - } - return $firstItemPosition <=> $secondItemPosition; - }); - return $contentItems; - } - private function resolveExistingAutoloadDirectory(string $autoloadDirectory) : string - { - if ($this->fileInfo === null) { - throw new ShouldNotHappenException(); - } - $filePathCandidates = [ - $this->fileInfo->getPath() . \DIRECTORY_SEPARATOR . $autoloadDirectory, - // mostly tests - \getcwd() . \DIRECTORY_SEPARATOR . $autoloadDirectory, - ]; - foreach ($filePathCandidates as $filePathCandidate) { - if (\file_exists($filePathCandidate)) { - return $filePathCandidate; - } - } - return $autoloadDirectory; - } - /** - * @param array $packages - * @return array - */ - private function sortPackagesIfNeeded(array $packages) : array - { - $sortPackages = $this->config['sort-packages'] ?? \false; - if ($sortPackages) { - return $this->composerPackageSorter->sortPackages($packages); - } - return $packages; - } - /** - * @param string[] $items - * @return int|string|bool - */ - private function findPosition(string $key, array $items) - { - return \array_search($key, $items, \true); - } -} diff --git a/vendor/symplify/composer-json-manipulator/src/ValueObject/ComposerJsonManipulatorConfig.php b/vendor/symplify/composer-json-manipulator/src/ValueObject/ComposerJsonManipulatorConfig.php deleted file mode 100644 index 9866e269d88..00000000000 --- a/vendor/symplify/composer-json-manipulator/src/ValueObject/ComposerJsonManipulatorConfig.php +++ /dev/null @@ -1,15 +0,0 @@ -=8.0", "symfony\/console": "^6.0", "symfony\/dependency-injection": "^6.0", - "symplify\/smart-file-system": "^11.1.6", - "symplify\/composer-json-manipulator": "^11.1.6", - "symplify\/autowire-array-parameter": "^11.1.6", - "symplify\/package-builder": "^11.1.6", + "symplify\/smart-file-system": "^11.2", + "symplify\/autowire-array-parameter": "^11.2", + "symplify\/package-builder": "^11.2", "webmozart\/assert": "^1.10" }, "require-dev": {