From 23cddc9c86a42a2b421582b4a02740730ad290aa Mon Sep 17 00:00:00 2001 From: Soner Sayakci Date: Thu, 20 Jul 2023 21:10:33 +0200 Subject: [PATCH] fix: remove deprecated rules --- composer.json | 8 +- composer.lock | 2505 +++++++++-------- config/shopware-6.6.0.php | 2 - config/v6.5/renaming.php | 4 - config/v6.6/renaming.php | 16 - devenv.lock | 50 +- docs/rector_rules_overview.md | 62 +- ecs.php | 27 - ...ClassConstructorArgumentRequiredRector.php | 6 +- ...RemoveArgumentFromClassConstructRector.php | 4 + .../AddArgumentToClassWithoutDefault.php | 3 + ...AddArgumentToClassWithoutDefaultRector.php | 6 +- ...terfaceReplacedWithAbstractClassRector.php | 3 + .../v65/AddBanAllToReverseProxyRector.php | 1 + .../RedisConnectionFactoryCreateRector.php | 78 - src/Rule/v65/ThemeCompilerPrefixRector.php | 68 - ...ailGenerateSingleToMultiGenerateRector.php | 9 +- .../Core/Content/Media/MediaCollection.php | 5 +- .../AbstractReverseProxyGateway.php | 8 - .../Storefront/Theme/MD5ThemePathBuilder.php | 5 +- tests/Rector/AbstractFroshRectorTestCase.php | 33 - ...ArgumentFromClassConstructorRectorTest.php | 5 + .../config/configured_rule.php | 2 +- ...ArgumentFromClassConstructorRectorTest.php | 5 + .../config/configured_rule.php | 2 +- ...ntToClassWithoutDefaultValueRectorTest.php | 11 - ...terfaceReplacedWithAbstractClassRector.php | 5 + ...textMetadataExtensionToStateRectorTest.php | 5 + .../FakerPropertyToMethodCallRectorTest.php | 5 + .../MigrateCaptchaAnnotationToRouteTest.php | 5 + ...ginRequiredAnnotationToRouteRectorTest.php | 5 + .../MigrateRouteScopeToRouteDefaultsTest.php | 5 + ...RedisConnectionFactoryCreateRectorTest.php | 5 + .../ThemeCompilerPrefixRectorTest.php | 5 + ...ThumbnailGenerateSingleToMultiGenerate.php | 5 + tests/bootstrap.php | 16 - 36 files changed, 1459 insertions(+), 1530 deletions(-) delete mode 100644 ecs.php delete mode 100644 src/Rule/v65/RedisConnectionFactoryCreateRector.php delete mode 100644 src/Rule/v65/ThemeCompilerPrefixRector.php diff --git a/composer.json b/composer.json index f068f57..b6939c5 100644 --- a/composer.json +++ b/composer.json @@ -8,9 +8,10 @@ }, "require-dev": { "phpunit/phpunit": "^9.5", + "phpstan/phpstan": "~1.10.26", "rector/rector": "~0.15.7", "symplify/easy-coding-standard": "~11.2", - "symplify/rule-doc-generator": "^11.1", + "friendsofphp/php-cs-fixer": "~3.22.0", "tracy/tracy": "^2.9", "symfony/var-dumper": "*" }, @@ -45,10 +46,9 @@ }, "scripts": { "phpunit": "phpunit", - "ecs": "ecs --fix", + "ecs": "php-cs-fixer --fix", "docs": [ - "vendor/bin/rule-doc-generator generate src --output-file docs/rector_rules_overview.md --ansi", - "vendor/bin/ecs check-markdown docs/rector_rules_overview.md --ansi --fix" + "vendor/bin/rule-doc-generator generate src --output-file docs/rector_rules_overview.md --ansi" ] } } diff --git a/composer.lock b/composer.lock index e78d075..753f50a 100644 --- a/composer.lock +++ b/composer.lock @@ -4,40 +4,40 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "c64732efb4d3228f9fa326603cf5b403", + "content-hash": "19c18cd0cc534e3d53c99b1a7053ecc2", "packages": [], "packages-dev": [ { - "name": "doctrine/instantiator", - "version": "2.0.0", + "name": "composer/pcre", + "version": "3.1.0", "source": { "type": "git", - "url": "https://github.com/doctrine/instantiator.git", - "reference": "c6222283fa3f4ac679f8b9ced9a4e23f163e80d0" + "url": "https://github.com/composer/pcre.git", + "reference": "4bff79ddd77851fe3cdd11616ed3f92841ba5bd2" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/doctrine/instantiator/zipball/c6222283fa3f4ac679f8b9ced9a4e23f163e80d0", - "reference": "c6222283fa3f4ac679f8b9ced9a4e23f163e80d0", + "url": "https://api.github.com/repos/composer/pcre/zipball/4bff79ddd77851fe3cdd11616ed3f92841ba5bd2", + "reference": "4bff79ddd77851fe3cdd11616ed3f92841ba5bd2", "shasum": "" }, "require": { - "php": "^8.1" + "php": "^7.4 || ^8.0" }, "require-dev": { - "doctrine/coding-standard": "^11", - "ext-pdo": "*", - "ext-phar": "*", - "phpbench/phpbench": "^1.2", - "phpstan/phpstan": "^1.9.4", - "phpstan/phpstan-phpunit": "^1.3", - "phpunit/phpunit": "^9.5.27", - "vimeo/psalm": "^5.4" + "phpstan/phpstan": "^1.3", + "phpstan/phpstan-strict-rules": "^1.1", + "symfony/phpunit-bridge": "^5" }, "type": "library", + "extra": { + "branch-alias": { + "dev-main": "3.x-dev" + } + }, "autoload": { "psr-4": { - "Doctrine\\Instantiator\\": "src/Doctrine/Instantiator/" + "Composer\\Pcre\\": "src" } }, "notification-url": "https://packagist.org/downloads/", @@ -46,328 +46,576 @@ ], "authors": [ { - "name": "Marco Pivetta", - "email": "ocramius@gmail.com", - "homepage": "https://ocramius.github.io/" + "name": "Jordi Boggiano", + "email": "j.boggiano@seld.be", + "homepage": "http://seld.be" } ], - "description": "A small, lightweight utility to instantiate objects in PHP without invoking their constructors", - "homepage": "https://www.doctrine-project.org/projects/instantiator.html", + "description": "PCRE wrapping library that offers type-safe preg_* replacements.", "keywords": [ - "constructor", - "instantiate" + "PCRE", + "preg", + "regex", + "regular expression" ], "support": { - "issues": "https://github.com/doctrine/instantiator/issues", - "source": "https://github.com/doctrine/instantiator/tree/2.0.0" + "issues": "https://github.com/composer/pcre/issues", + "source": "https://github.com/composer/pcre/tree/3.1.0" }, "funding": [ { - "url": "https://www.doctrine-project.org/sponsorship.html", + "url": "https://packagist.com", "type": "custom" }, { - "url": "https://www.patreon.com/phpdoctrine", - "type": "patreon" + "url": "https://github.com/composer", + "type": "github" }, { - "url": "https://tidelift.com/funding/github/packagist/doctrine%2Finstantiator", + "url": "https://tidelift.com/funding/github/packagist/composer/composer", "type": "tidelift" } ], - "time": "2022-12-30T00:23:10+00:00" + "time": "2022-11-17T09:50:14+00:00" }, { - "name": "myclabs/deep-copy", - "version": "1.11.0", + "name": "composer/semver", + "version": "3.3.2", "source": { "type": "git", - "url": "https://github.com/myclabs/DeepCopy.git", - "reference": "14daed4296fae74d9e3201d2c4925d1acb7aa614" + "url": "https://github.com/composer/semver.git", + "reference": "3953f23262f2bff1919fc82183ad9acb13ff62c9" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/myclabs/DeepCopy/zipball/14daed4296fae74d9e3201d2c4925d1acb7aa614", - "reference": "14daed4296fae74d9e3201d2c4925d1acb7aa614", + "url": "https://api.github.com/repos/composer/semver/zipball/3953f23262f2bff1919fc82183ad9acb13ff62c9", + "reference": "3953f23262f2bff1919fc82183ad9acb13ff62c9", "shasum": "" }, "require": { - "php": "^7.1 || ^8.0" - }, - "conflict": { - "doctrine/collections": "<1.6.8", - "doctrine/common": "<2.13.3 || >=3,<3.2.2" + "php": "^5.3.2 || ^7.0 || ^8.0" }, "require-dev": { - "doctrine/collections": "^1.6.8", - "doctrine/common": "^2.13.3 || ^3.2.2", - "phpunit/phpunit": "^7.5.20 || ^8.5.23 || ^9.5.13" + "phpstan/phpstan": "^1.4", + "symfony/phpunit-bridge": "^4.2 || ^5" }, "type": "library", + "extra": { + "branch-alias": { + "dev-main": "3.x-dev" + } + }, "autoload": { - "files": [ - "src/DeepCopy/deep_copy.php" - ], "psr-4": { - "DeepCopy\\": "src/DeepCopy/" + "Composer\\Semver\\": "src" } }, "notification-url": "https://packagist.org/downloads/", "license": [ "MIT" ], - "description": "Create deep copies (clones) of your objects", + "authors": [ + { + "name": "Nils Adermann", + "email": "naderman@naderman.de", + "homepage": "http://www.naderman.de" + }, + { + "name": "Jordi Boggiano", + "email": "j.boggiano@seld.be", + "homepage": "http://seld.be" + }, + { + "name": "Rob Bast", + "email": "rob.bast@gmail.com", + "homepage": "http://robbast.nl" + } + ], + "description": "Semver library that offers utilities, version constraint parsing and validation.", "keywords": [ - "clone", - "copy", - "duplicate", - "object", - "object graph" + "semantic", + "semver", + "validation", + "versioning" ], "support": { - "issues": "https://github.com/myclabs/DeepCopy/issues", - "source": "https://github.com/myclabs/DeepCopy/tree/1.11.0" + "irc": "irc://irc.freenode.org/composer", + "issues": "https://github.com/composer/semver/issues", + "source": "https://github.com/composer/semver/tree/3.3.2" }, "funding": [ { - "url": "https://tidelift.com/funding/github/packagist/myclabs/deep-copy", + "url": "https://packagist.com", + "type": "custom" + }, + { + "url": "https://github.com/composer", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/composer/composer", "type": "tidelift" } ], - "time": "2022-03-03T13:19:32+00:00" + "time": "2022-04-01T19:23:25+00:00" }, { - "name": "nette/finder", - "version": "v2.6.0", + "name": "composer/xdebug-handler", + "version": "3.0.3", "source": { "type": "git", - "url": "https://github.com/nette/finder.git", - "reference": "991aefb42860abeab8e003970c3809a9d83cb932" + "url": "https://github.com/composer/xdebug-handler.git", + "reference": "ced299686f41dce890debac69273b47ffe98a40c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/nette/finder/zipball/991aefb42860abeab8e003970c3809a9d83cb932", - "reference": "991aefb42860abeab8e003970c3809a9d83cb932", + "url": "https://api.github.com/repos/composer/xdebug-handler/zipball/ced299686f41dce890debac69273b47ffe98a40c", + "reference": "ced299686f41dce890debac69273b47ffe98a40c", "shasum": "" }, "require": { - "nette/utils": "^2.4 || ^3.0", - "php": ">=7.1" - }, - "conflict": { - "nette/nette": "<2.2" + "composer/pcre": "^1 || ^2 || ^3", + "php": "^7.2.5 || ^8.0", + "psr/log": "^1 || ^2 || ^3" }, "require-dev": { - "nette/tester": "^2.0", - "phpstan/phpstan": "^0.12", - "tracy/tracy": "^2.3" + "phpstan/phpstan": "^1.0", + "phpstan/phpstan-strict-rules": "^1.1", + "symfony/phpunit-bridge": "^6.0" }, "type": "library", - "extra": { - "branch-alias": { - "dev-master": "2.6-dev" + "autoload": { + "psr-4": { + "Composer\\XdebugHandler\\": "src" } }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "John Stevenson", + "email": "john-stevenson@blueyonder.co.uk" + } + ], + "description": "Restarts a process without Xdebug.", + "keywords": [ + "Xdebug", + "performance" + ], + "support": { + "irc": "irc://irc.freenode.org/composer", + "issues": "https://github.com/composer/xdebug-handler/issues", + "source": "https://github.com/composer/xdebug-handler/tree/3.0.3" + }, + "funding": [ + { + "url": "https://packagist.com", + "type": "custom" + }, + { + "url": "https://github.com/composer", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/composer/composer", + "type": "tidelift" + } + ], + "time": "2022-02-25T21:32:43+00:00" + }, + { + "name": "doctrine/annotations", + "version": "2.0.1", + "source": { + "type": "git", + "url": "https://github.com/doctrine/annotations.git", + "reference": "e157ef3f3124bbf6fe7ce0ffd109e8a8ef284e7f" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/doctrine/annotations/zipball/e157ef3f3124bbf6fe7ce0ffd109e8a8ef284e7f", + "reference": "e157ef3f3124bbf6fe7ce0ffd109e8a8ef284e7f", + "shasum": "" + }, + "require": { + "doctrine/lexer": "^2 || ^3", + "ext-tokenizer": "*", + "php": "^7.2 || ^8.0", + "psr/cache": "^1 || ^2 || ^3" + }, + "require-dev": { + "doctrine/cache": "^2.0", + "doctrine/coding-standard": "^10", + "phpstan/phpstan": "^1.8.0", + "phpunit/phpunit": "^7.5 || ^8.5 || ^9.5", + "symfony/cache": "^5.4 || ^6", + "vimeo/psalm": "^4.10" + }, + "suggest": { + "php": "PHP 8.0 or higher comes with attributes, a native replacement for annotations" + }, + "type": "library", "autoload": { - "classmap": [ - "src/" - ] + "psr-4": { + "Doctrine\\Common\\Annotations\\": "lib/Doctrine/Common/Annotations" + } }, "notification-url": "https://packagist.org/downloads/", "license": [ - "BSD-3-Clause", - "GPL-2.0-only", - "GPL-3.0-only" + "MIT" ], "authors": [ { - "name": "David Grudl", - "homepage": "https://davidgrudl.com" + "name": "Guilherme Blanco", + "email": "guilhermeblanco@gmail.com" }, { - "name": "Nette Community", - "homepage": "https://nette.org/contributors" + "name": "Roman Borschel", + "email": "roman@code-factory.org" + }, + { + "name": "Benjamin Eberlei", + "email": "kontakt@beberlei.de" + }, + { + "name": "Jonathan Wage", + "email": "jonwage@gmail.com" + }, + { + "name": "Johannes Schmitt", + "email": "schmittjoh@gmail.com" } ], - "description": "🔍 Nette Finder: find files and directories with an intuitive API.", - "homepage": "https://nette.org", + "description": "Docblock Annotations Parser", + "homepage": "https://www.doctrine-project.org/projects/annotations.html", "keywords": [ - "filesystem", - "glob", - "iterator", - "nette" + "annotations", + "docblock", + "parser" ], "support": { - "issues": "https://github.com/nette/finder/issues", - "source": "https://github.com/nette/finder/tree/v2.6.0" + "issues": "https://github.com/doctrine/annotations/issues", + "source": "https://github.com/doctrine/annotations/tree/2.0.1" }, - "time": "2022-10-13T01:31:15+00:00" + "time": "2023-02-02T22:02:53+00:00" }, { - "name": "nette/robot-loader", - "version": "v3.4.2", + "name": "doctrine/instantiator", + "version": "2.0.0", "source": { "type": "git", - "url": "https://github.com/nette/robot-loader.git", - "reference": "970c8f82be98ec54180c88a468cd2b057855d993" + "url": "https://github.com/doctrine/instantiator.git", + "reference": "c6222283fa3f4ac679f8b9ced9a4e23f163e80d0" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/nette/robot-loader/zipball/970c8f82be98ec54180c88a468cd2b057855d993", - "reference": "970c8f82be98ec54180c88a468cd2b057855d993", + "url": "https://api.github.com/repos/doctrine/instantiator/zipball/c6222283fa3f4ac679f8b9ced9a4e23f163e80d0", + "reference": "c6222283fa3f4ac679f8b9ced9a4e23f163e80d0", "shasum": "" }, "require": { - "ext-tokenizer": "*", - "nette/finder": "^2.5 || ^3.0", - "nette/utils": "^3.0", - "php": ">=7.1" + "php": "^8.1" }, "require-dev": { - "nette/tester": "^2.0", - "phpstan/phpstan": "^0.12", - "tracy/tracy": "^2.3" + "doctrine/coding-standard": "^11", + "ext-pdo": "*", + "ext-phar": "*", + "phpbench/phpbench": "^1.2", + "phpstan/phpstan": "^1.9.4", + "phpstan/phpstan-phpunit": "^1.3", + "phpunit/phpunit": "^9.5.27", + "vimeo/psalm": "^5.4" }, "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.4-dev" + "autoload": { + "psr-4": { + "Doctrine\\Instantiator\\": "src/Doctrine/Instantiator/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Marco Pivetta", + "email": "ocramius@gmail.com", + "homepage": "https://ocramius.github.io/" + } + ], + "description": "A small, lightweight utility to instantiate objects in PHP without invoking their constructors", + "homepage": "https://www.doctrine-project.org/projects/instantiator.html", + "keywords": [ + "constructor", + "instantiate" + ], + "support": { + "issues": "https://github.com/doctrine/instantiator/issues", + "source": "https://github.com/doctrine/instantiator/tree/2.0.0" + }, + "funding": [ + { + "url": "https://www.doctrine-project.org/sponsorship.html", + "type": "custom" + }, + { + "url": "https://www.patreon.com/phpdoctrine", + "type": "patreon" + }, + { + "url": "https://tidelift.com/funding/github/packagist/doctrine%2Finstantiator", + "type": "tidelift" } + ], + "time": "2022-12-30T00:23:10+00:00" + }, + { + "name": "doctrine/lexer", + "version": "3.0.0", + "source": { + "type": "git", + "url": "https://github.com/doctrine/lexer.git", + "reference": "84a527db05647743d50373e0ec53a152f2cde568" }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/doctrine/lexer/zipball/84a527db05647743d50373e0ec53a152f2cde568", + "reference": "84a527db05647743d50373e0ec53a152f2cde568", + "shasum": "" + }, + "require": { + "php": "^8.1" + }, + "require-dev": { + "doctrine/coding-standard": "^10", + "phpstan/phpstan": "^1.9", + "phpunit/phpunit": "^9.5", + "psalm/plugin-phpunit": "^0.18.3", + "vimeo/psalm": "^5.0" + }, + "type": "library", "autoload": { - "classmap": [ - "src/" - ] + "psr-4": { + "Doctrine\\Common\\Lexer\\": "src" + } }, "notification-url": "https://packagist.org/downloads/", "license": [ - "BSD-3-Clause", - "GPL-2.0-only", - "GPL-3.0-only" + "MIT" ], "authors": [ { - "name": "David Grudl", - "homepage": "https://davidgrudl.com" + "name": "Guilherme Blanco", + "email": "guilhermeblanco@gmail.com" }, { - "name": "Nette Community", - "homepage": "https://nette.org/contributors" + "name": "Roman Borschel", + "email": "roman@code-factory.org" + }, + { + "name": "Johannes Schmitt", + "email": "schmittjoh@gmail.com" } ], - "description": "🍀 Nette RobotLoader: high performance and comfortable autoloader that will search and autoload classes within your application.", - "homepage": "https://nette.org", + "description": "PHP Doctrine Lexer parser library that can be used in Top-Down, Recursive Descent Parsers.", + "homepage": "https://www.doctrine-project.org/projects/lexer.html", "keywords": [ - "autoload", - "class", - "interface", - "nette", - "trait" + "annotations", + "docblock", + "lexer", + "parser", + "php" ], "support": { - "issues": "https://github.com/nette/robot-loader/issues", - "source": "https://github.com/nette/robot-loader/tree/v3.4.2" + "issues": "https://github.com/doctrine/lexer/issues", + "source": "https://github.com/doctrine/lexer/tree/3.0.0" }, - "time": "2022-12-14T15:41:06+00:00" + "funding": [ + { + "url": "https://www.doctrine-project.org/sponsorship.html", + "type": "custom" + }, + { + "url": "https://www.patreon.com/phpdoctrine", + "type": "patreon" + }, + { + "url": "https://tidelift.com/funding/github/packagist/doctrine%2Flexer", + "type": "tidelift" + } + ], + "time": "2022-12-15T16:57:16+00:00" }, { - "name": "nette/utils", - "version": "v3.2.9", + "name": "friendsofphp/php-cs-fixer", + "version": "v3.22.0", "source": { "type": "git", - "url": "https://github.com/nette/utils.git", - "reference": "c91bac3470c34b2ecd5400f6e6fdf0b64a836a5c" + "url": "https://github.com/PHP-CS-Fixer/PHP-CS-Fixer.git", + "reference": "92b019f6c8d79aa26349d0db7671d37440dc0ff3" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/nette/utils/zipball/c91bac3470c34b2ecd5400f6e6fdf0b64a836a5c", - "reference": "c91bac3470c34b2ecd5400f6e6fdf0b64a836a5c", + "url": "https://api.github.com/repos/PHP-CS-Fixer/PHP-CS-Fixer/zipball/92b019f6c8d79aa26349d0db7671d37440dc0ff3", + "reference": "92b019f6c8d79aa26349d0db7671d37440dc0ff3", "shasum": "" }, "require": { - "php": ">=7.2 <8.3" - }, - "conflict": { - "nette/di": "<3.0.6" + "composer/semver": "^3.3", + "composer/xdebug-handler": "^3.0.3", + "doctrine/annotations": "^2", + "doctrine/lexer": "^2 || ^3", + "ext-json": "*", + "ext-tokenizer": "*", + "php": "^7.4 || ^8.0", + "sebastian/diff": "^4.0 || ^5.0", + "symfony/console": "^5.4 || ^6.0", + "symfony/event-dispatcher": "^5.4 || ^6.0", + "symfony/filesystem": "^5.4 || ^6.0", + "symfony/finder": "^5.4 || ^6.0", + "symfony/options-resolver": "^5.4 || ^6.0", + "symfony/polyfill-mbstring": "^1.27", + "symfony/polyfill-php80": "^1.27", + "symfony/polyfill-php81": "^1.27", + "symfony/process": "^5.4 || ^6.0", + "symfony/stopwatch": "^5.4 || ^6.0" }, "require-dev": { - "jetbrains/phpstorm-attributes": "dev-master", - "nette/tester": "~2.0", - "phpstan/phpstan": "^1.0", - "tracy/tracy": "^2.3" + "facile-it/paraunit": "^1.3 || ^2.0", + "justinrainbow/json-schema": "^5.2", + "keradus/cli-executor": "^2.0", + "mikey179/vfsstream": "^1.6.11", + "php-coveralls/php-coveralls": "^2.5.3", + "php-cs-fixer/accessible-object": "^1.1", + "php-cs-fixer/phpunit-constraint-isidenticalstring": "^1.2", + "php-cs-fixer/phpunit-constraint-xmlmatchesxsd": "^1.2.1", + "phpspec/prophecy": "^1.16", + "phpspec/prophecy-phpunit": "^2.0", + "phpunit/phpunit": "^9.5", + "phpunitgoodpractices/polyfill": "^1.6", + "phpunitgoodpractices/traits": "^1.9.2", + "symfony/phpunit-bridge": "^6.2.3", + "symfony/yaml": "^5.4 || ^6.0" }, "suggest": { - "ext-gd": "to use Image", - "ext-iconv": "to use Strings::webalize(), toAscii(), chr() and reverse()", - "ext-intl": "to use Strings::webalize(), toAscii(), normalize() and compare()", - "ext-json": "to use Nette\\Utils\\Json", - "ext-mbstring": "to use Strings::lower() etc...", - "ext-tokenizer": "to use Nette\\Utils\\Reflection::getUseStatements()", - "ext-xml": "to use Strings::length() etc. when mbstring is not available" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.2-dev" - } + "ext-dom": "For handling output formats in XML", + "ext-mbstring": "For handling non-UTF8 characters." }, + "bin": [ + "php-cs-fixer" + ], + "type": "application", "autoload": { - "classmap": [ - "src/" - ] + "psr-4": { + "PhpCsFixer\\": "src/" + } }, "notification-url": "https://packagist.org/downloads/", "license": [ - "BSD-3-Clause", - "GPL-2.0-only", - "GPL-3.0-only" + "MIT" ], "authors": [ { - "name": "David Grudl", - "homepage": "https://davidgrudl.com" + "name": "Fabien Potencier", + "email": "fabien@symfony.com" }, { - "name": "Nette Community", - "homepage": "https://nette.org/contributors" + "name": "Dariusz Rumiński", + "email": "dariusz.ruminski@gmail.com" } ], - "description": "🛠 Nette Utils: lightweight utilities for string & array manipulation, image handling, safe JSON encoding/decoding, validation, slug or strong password generating etc.", - "homepage": "https://nette.org", + "description": "A tool to automatically fix PHP code style", "keywords": [ - "array", - "core", - "datetime", - "images", - "json", - "nette", - "paginator", - "password", - "slugify", - "string", - "unicode", - "utf-8", - "utility", - "validation" + "Static code analysis", + "fixer", + "standards", + "static analysis" ], "support": { - "issues": "https://github.com/nette/utils/issues", - "source": "https://github.com/nette/utils/tree/v3.2.9" + "issues": "https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues", + "source": "https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/tree/v3.22.0" }, - "time": "2023-01-18T03:26:20+00:00" + "funding": [ + { + "url": "https://github.com/keradus", + "type": "github" + } + ], + "time": "2023-07-16T23:08:06+00:00" + }, + { + "name": "myclabs/deep-copy", + "version": "1.11.1", + "source": { + "type": "git", + "url": "https://github.com/myclabs/DeepCopy.git", + "reference": "7284c22080590fb39f2ffa3e9057f10a4ddd0e0c" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/myclabs/DeepCopy/zipball/7284c22080590fb39f2ffa3e9057f10a4ddd0e0c", + "reference": "7284c22080590fb39f2ffa3e9057f10a4ddd0e0c", + "shasum": "" + }, + "require": { + "php": "^7.1 || ^8.0" + }, + "conflict": { + "doctrine/collections": "<1.6.8", + "doctrine/common": "<2.13.3 || >=3,<3.2.2" + }, + "require-dev": { + "doctrine/collections": "^1.6.8", + "doctrine/common": "^2.13.3 || ^3.2.2", + "phpunit/phpunit": "^7.5.20 || ^8.5.23 || ^9.5.13" + }, + "type": "library", + "autoload": { + "files": [ + "src/DeepCopy/deep_copy.php" + ], + "psr-4": { + "DeepCopy\\": "src/DeepCopy/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "description": "Create deep copies (clones) of your objects", + "keywords": [ + "clone", + "copy", + "duplicate", + "object", + "object graph" + ], + "support": { + "issues": "https://github.com/myclabs/DeepCopy/issues", + "source": "https://github.com/myclabs/DeepCopy/tree/1.11.1" + }, + "funding": [ + { + "url": "https://tidelift.com/funding/github/packagist/myclabs/deep-copy", + "type": "tidelift" + } + ], + "time": "2023-03-08T13:26:56+00:00" }, { "name": "nikic/php-parser", - "version": "v4.15.3", + "version": "v4.16.0", "source": { "type": "git", "url": "https://github.com/nikic/PHP-Parser.git", - "reference": "570e980a201d8ed0236b0a62ddf2c9cbb2034039" + "reference": "19526a33fb561ef417e822e85f08a00db4059c17" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/570e980a201d8ed0236b0a62ddf2c9cbb2034039", - "reference": "570e980a201d8ed0236b0a62ddf2c9cbb2034039", + "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/19526a33fb561ef417e822e85f08a00db4059c17", + "reference": "19526a33fb561ef417e822e85f08a00db4059c17", "shasum": "" }, "require": { @@ -408,9 +656,9 @@ ], "support": { "issues": "https://github.com/nikic/PHP-Parser/issues", - "source": "https://github.com/nikic/PHP-Parser/tree/v4.15.3" + "source": "https://github.com/nikic/PHP-Parser/tree/v4.16.0" }, - "time": "2023-01-16T22:05:37+00:00" + "time": "2023-06-25T14:52:30+00:00" }, { "name": "phar-io/manifest", @@ -525,16 +773,16 @@ }, { "name": "phpstan/phpstan", - "version": "1.9.14", + "version": "1.10.26", "source": { "type": "git", "url": "https://github.com/phpstan/phpstan.git", - "reference": "e5fcc96289cf737304286a9b505fbed091f02e58" + "reference": "5d660cbb7e1b89253a47147ae44044f49832351f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpstan/phpstan/zipball/e5fcc96289cf737304286a9b505fbed091f02e58", - "reference": "e5fcc96289cf737304286a9b505fbed091f02e58", + "url": "https://api.github.com/repos/phpstan/phpstan/zipball/5d660cbb7e1b89253a47147ae44044f49832351f", + "reference": "5d660cbb7e1b89253a47147ae44044f49832351f", "shasum": "" }, "require": { @@ -563,8 +811,11 @@ "static analysis" ], "support": { + "docs": "https://phpstan.org/user-guide/getting-started", + "forum": "https://github.com/phpstan/phpstan/discussions", "issues": "https://github.com/phpstan/phpstan/issues", - "source": "https://github.com/phpstan/phpstan/tree/1.9.14" + "security": "https://github.com/phpstan/phpstan/security/policy", + "source": "https://github.com/phpstan/phpstan-src" }, "funding": [ { @@ -580,27 +831,27 @@ "type": "tidelift" } ], - "time": "2023-01-19T10:47:09+00:00" + "time": "2023-07-19T12:44:37+00:00" }, { "name": "phpunit/php-code-coverage", - "version": "9.2.23", + "version": "9.2.26", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/php-code-coverage.git", - "reference": "9f1f0f9a2fbb680b26d1cf9b61b6eac43a6e4e9c" + "reference": "443bc6912c9bd5b409254a40f4b0f4ced7c80ea1" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/9f1f0f9a2fbb680b26d1cf9b61b6eac43a6e4e9c", - "reference": "9f1f0f9a2fbb680b26d1cf9b61b6eac43a6e4e9c", + "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/443bc6912c9bd5b409254a40f4b0f4ced7c80ea1", + "reference": "443bc6912c9bd5b409254a40f4b0f4ced7c80ea1", "shasum": "" }, "require": { "ext-dom": "*", "ext-libxml": "*", "ext-xmlwriter": "*", - "nikic/php-parser": "^4.14", + "nikic/php-parser": "^4.15", "php": ">=7.3", "phpunit/php-file-iterator": "^3.0.3", "phpunit/php-text-template": "^2.0.2", @@ -615,8 +866,8 @@ "phpunit/phpunit": "^9.3" }, "suggest": { - "ext-pcov": "*", - "ext-xdebug": "*" + "ext-pcov": "PHP extension that provides line coverage", + "ext-xdebug": "PHP extension that provides line coverage as well as branch and path coverage" }, "type": "library", "extra": { @@ -649,7 +900,7 @@ ], "support": { "issues": "https://github.com/sebastianbergmann/php-code-coverage/issues", - "source": "https://github.com/sebastianbergmann/php-code-coverage/tree/9.2.23" + "source": "https://github.com/sebastianbergmann/php-code-coverage/tree/9.2.26" }, "funding": [ { @@ -657,7 +908,7 @@ "type": "github" } ], - "time": "2022-12-28T12:41:10+00:00" + "time": "2023-03-06T12:58:08+00:00" }, { "name": "phpunit/php-file-iterator", @@ -902,16 +1153,16 @@ }, { "name": "phpunit/phpunit", - "version": "9.5.28", + "version": "9.6.10", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/phpunit.git", - "reference": "954ca3113a03bf780d22f07bf055d883ee04b65e" + "reference": "a6d351645c3fe5a30f5e86be6577d946af65a328" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/954ca3113a03bf780d22f07bf055d883ee04b65e", - "reference": "954ca3113a03bf780d22f07bf055d883ee04b65e", + "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/a6d351645c3fe5a30f5e86be6577d946af65a328", + "reference": "a6d351645c3fe5a30f5e86be6577d946af65a328", "shasum": "" }, "require": { @@ -944,8 +1195,8 @@ "sebastian/version": "^3.0.2" }, "suggest": { - "ext-soap": "*", - "ext-xdebug": "*" + "ext-soap": "To be able to generate mocks based on WSDL files", + "ext-xdebug": "PHP extension that provides line coverage as well as branch and path coverage" }, "bin": [ "phpunit" @@ -953,7 +1204,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "9.5-dev" + "dev-master": "9.6-dev" } }, "autoload": { @@ -966,68 +1217,221 @@ }, "notification-url": "https://packagist.org/downloads/", "license": [ - "BSD-3-Clause" + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de", + "role": "lead" + } + ], + "description": "The PHP Unit Testing framework.", + "homepage": "https://phpunit.de/", + "keywords": [ + "phpunit", + "testing", + "xunit" + ], + "support": { + "issues": "https://github.com/sebastianbergmann/phpunit/issues", + "security": "https://github.com/sebastianbergmann/phpunit/security/policy", + "source": "https://github.com/sebastianbergmann/phpunit/tree/9.6.10" + }, + "funding": [ + { + "url": "https://phpunit.de/sponsors.html", + "type": "custom" + }, + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/phpunit/phpunit", + "type": "tidelift" + } + ], + "time": "2023-07-10T04:04:23+00:00" + }, + { + "name": "psr/cache", + "version": "3.0.0", + "source": { + "type": "git", + "url": "https://github.com/php-fig/cache.git", + "reference": "aa5030cfa5405eccfdcb1083ce040c2cb8d253bf" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/php-fig/cache/zipball/aa5030cfa5405eccfdcb1083ce040c2cb8d253bf", + "reference": "aa5030cfa5405eccfdcb1083ce040c2cb8d253bf", + "shasum": "" + }, + "require": { + "php": ">=8.0.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.0.x-dev" + } + }, + "autoload": { + "psr-4": { + "Psr\\Cache\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "PHP-FIG", + "homepage": "https://www.php-fig.org/" + } + ], + "description": "Common interface for caching libraries", + "keywords": [ + "cache", + "psr", + "psr-6" + ], + "support": { + "source": "https://github.com/php-fig/cache/tree/3.0.0" + }, + "time": "2021-02-03T23:26:27+00:00" + }, + { + "name": "psr/container", + "version": "2.0.2", + "source": { + "type": "git", + "url": "https://github.com/php-fig/container.git", + "reference": "c71ecc56dfe541dbd90c5360474fbc405f8d5963" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/php-fig/container/zipball/c71ecc56dfe541dbd90c5360474fbc405f8d5963", + "reference": "c71ecc56dfe541dbd90c5360474fbc405f8d5963", + "shasum": "" + }, + "require": { + "php": ">=7.4.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "2.0.x-dev" + } + }, + "autoload": { + "psr-4": { + "Psr\\Container\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "PHP-FIG", + "homepage": "https://www.php-fig.org/" + } + ], + "description": "Common Container Interface (PHP FIG PSR-11)", + "homepage": "https://github.com/php-fig/container", + "keywords": [ + "PSR-11", + "container", + "container-interface", + "container-interop", + "psr" + ], + "support": { + "issues": "https://github.com/php-fig/container/issues", + "source": "https://github.com/php-fig/container/tree/2.0.2" + }, + "time": "2021-11-05T16:47:00+00:00" + }, + { + "name": "psr/event-dispatcher", + "version": "1.0.0", + "source": { + "type": "git", + "url": "https://github.com/php-fig/event-dispatcher.git", + "reference": "dbefd12671e8a14ec7f180cab83036ed26714bb0" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/php-fig/event-dispatcher/zipball/dbefd12671e8a14ec7f180cab83036ed26714bb0", + "reference": "dbefd12671e8a14ec7f180cab83036ed26714bb0", + "shasum": "" + }, + "require": { + "php": ">=7.2.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.0.x-dev" + } + }, + "autoload": { + "psr-4": { + "Psr\\EventDispatcher\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" ], "authors": [ { - "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de", - "role": "lead" + "name": "PHP-FIG", + "homepage": "http://www.php-fig.org/" } ], - "description": "The PHP Unit Testing framework.", - "homepage": "https://phpunit.de/", + "description": "Standard interfaces for event handling.", "keywords": [ - "phpunit", - "testing", - "xunit" + "events", + "psr", + "psr-14" ], "support": { - "issues": "https://github.com/sebastianbergmann/phpunit/issues", - "source": "https://github.com/sebastianbergmann/phpunit/tree/9.5.28" + "issues": "https://github.com/php-fig/event-dispatcher/issues", + "source": "https://github.com/php-fig/event-dispatcher/tree/1.0.0" }, - "funding": [ - { - "url": "https://phpunit.de/sponsors.html", - "type": "custom" - }, - { - "url": "https://github.com/sebastianbergmann", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/phpunit/phpunit", - "type": "tidelift" - } - ], - "time": "2023-01-14T12:32:24+00:00" + "time": "2019-01-08T18:20:26+00:00" }, { - "name": "psr/container", - "version": "2.0.2", + "name": "psr/log", + "version": "3.0.0", "source": { "type": "git", - "url": "https://github.com/php-fig/container.git", - "reference": "c71ecc56dfe541dbd90c5360474fbc405f8d5963" + "url": "https://github.com/php-fig/log.git", + "reference": "fe5ea303b0887d5caefd3d431c3e61ad47037001" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/php-fig/container/zipball/c71ecc56dfe541dbd90c5360474fbc405f8d5963", - "reference": "c71ecc56dfe541dbd90c5360474fbc405f8d5963", + "url": "https://api.github.com/repos/php-fig/log/zipball/fe5ea303b0887d5caefd3d431c3e61ad47037001", + "reference": "fe5ea303b0887d5caefd3d431c3e61ad47037001", "shasum": "" }, "require": { - "php": ">=7.4.0" + "php": ">=8.0.0" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "2.0.x-dev" + "dev-master": "3.x-dev" } }, "autoload": { "psr-4": { - "Psr\\Container\\": "src/" + "Psr\\Log\\": "src" } }, "notification-url": "https://packagist.org/downloads/", @@ -1040,43 +1444,39 @@ "homepage": "https://www.php-fig.org/" } ], - "description": "Common Container Interface (PHP FIG PSR-11)", - "homepage": "https://github.com/php-fig/container", + "description": "Common interface for logging libraries", + "homepage": "https://github.com/php-fig/log", "keywords": [ - "PSR-11", - "container", - "container-interface", - "container-interop", - "psr" + "log", + "psr", + "psr-3" ], "support": { - "issues": "https://github.com/php-fig/container/issues", - "source": "https://github.com/php-fig/container/tree/2.0.2" + "source": "https://github.com/php-fig/log/tree/3.0.0" }, - "time": "2021-11-05T16:47:00+00:00" + "time": "2021-07-14T16:46:02+00:00" }, { "name": "rector/rector", - "version": "0.15.7", + "version": "0.15.25", "source": { "type": "git", "url": "https://github.com/rectorphp/rector.git", - "reference": "a43370e1f4c47aaa96c0f85bf9db73db1be7552f" + "reference": "015935c7ed9e48a4f5895ba974f337e20a263841" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/rectorphp/rector/zipball/a43370e1f4c47aaa96c0f85bf9db73db1be7552f", - "reference": "a43370e1f4c47aaa96c0f85bf9db73db1be7552f", + "url": "https://api.github.com/repos/rectorphp/rector/zipball/015935c7ed9e48a4f5895ba974f337e20a263841", + "reference": "015935c7ed9e48a4f5895ba974f337e20a263841", "shasum": "" }, "require": { "php": "^7.2|^8.0", - "phpstan/phpstan": "^1.9.7" + "phpstan/phpstan": "^1.10.14" }, "conflict": { "rector/rector-doctrine": "*", "rector/rector-downgrade-php": "*", - "rector/rector-php-parser": "*", "rector/rector-phpunit": "*", "rector/rector-symfony": "*" }, @@ -1086,7 +1486,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "0.14-dev" + "dev-main": "0.15-dev" } }, "autoload": { @@ -1099,9 +1499,15 @@ "MIT" ], "description": "Instant Upgrade and Automated Refactoring of any PHP code", + "keywords": [ + "automation", + "dev", + "migration", + "refactoring" + ], "support": { "issues": "https://github.com/rectorphp/rector/issues", - "source": "https://github.com/rectorphp/rector/tree/0.15.7" + "source": "https://github.com/rectorphp/rector/tree/0.15.25" }, "funding": [ { @@ -1109,7 +1515,7 @@ "type": "github" } ], - "time": "2023-01-13T21:14:19+00:00" + "time": "2023-04-20T16:07:39+00:00" }, { "name": "sebastian/cli-parser", @@ -1411,16 +1817,16 @@ }, { "name": "sebastian/diff", - "version": "4.0.4", + "version": "4.0.5", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/diff.git", - "reference": "3461e3fccc7cfdfc2720be910d3bd73c69be590d" + "reference": "74be17022044ebaaecfdf0c5cd504fc9cd5a7131" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/diff/zipball/3461e3fccc7cfdfc2720be910d3bd73c69be590d", - "reference": "3461e3fccc7cfdfc2720be910d3bd73c69be590d", + "url": "https://api.github.com/repos/sebastianbergmann/diff/zipball/74be17022044ebaaecfdf0c5cd504fc9cd5a7131", + "reference": "74be17022044ebaaecfdf0c5cd504fc9cd5a7131", "shasum": "" }, "require": { @@ -1465,7 +1871,7 @@ ], "support": { "issues": "https://github.com/sebastianbergmann/diff/issues", - "source": "https://github.com/sebastianbergmann/diff/tree/4.0.4" + "source": "https://github.com/sebastianbergmann/diff/tree/4.0.5" }, "funding": [ { @@ -1473,20 +1879,20 @@ "type": "github" } ], - "time": "2020-10-26T13:10:38+00:00" + "time": "2023-05-07T05:35:17+00:00" }, { "name": "sebastian/environment", - "version": "5.1.4", + "version": "5.1.5", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/environment.git", - "reference": "1b5dff7bb151a4db11d49d90e5408e4e938270f7" + "reference": "830c43a844f1f8d5b7a1f6d6076b784454d8b7ed" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/environment/zipball/1b5dff7bb151a4db11d49d90e5408e4e938270f7", - "reference": "1b5dff7bb151a4db11d49d90e5408e4e938270f7", + "url": "https://api.github.com/repos/sebastianbergmann/environment/zipball/830c43a844f1f8d5b7a1f6d6076b784454d8b7ed", + "reference": "830c43a844f1f8d5b7a1f6d6076b784454d8b7ed", "shasum": "" }, "require": { @@ -1528,7 +1934,7 @@ ], "support": { "issues": "https://github.com/sebastianbergmann/environment/issues", - "source": "https://github.com/sebastianbergmann/environment/tree/5.1.4" + "source": "https://github.com/sebastianbergmann/environment/tree/5.1.5" }, "funding": [ { @@ -1536,7 +1942,7 @@ "type": "github" } ], - "time": "2022-04-03T09:37:03+00:00" + "time": "2023-02-03T06:03:51+00:00" }, { "name": "sebastian/exporter", @@ -1850,16 +2256,16 @@ }, { "name": "sebastian/recursion-context", - "version": "4.0.4", + "version": "4.0.5", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/recursion-context.git", - "reference": "cd9d8cf3c5804de4341c283ed787f099f5506172" + "reference": "e75bd0f07204fec2a0af9b0f3cfe97d05f92efc1" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/recursion-context/zipball/cd9d8cf3c5804de4341c283ed787f099f5506172", - "reference": "cd9d8cf3c5804de4341c283ed787f099f5506172", + "url": "https://api.github.com/repos/sebastianbergmann/recursion-context/zipball/e75bd0f07204fec2a0af9b0f3cfe97d05f92efc1", + "reference": "e75bd0f07204fec2a0af9b0f3cfe97d05f92efc1", "shasum": "" }, "require": { @@ -1898,10 +2304,10 @@ } ], "description": "Provides functionality to recursively process PHP variables", - "homepage": "http://www.github.com/sebastianbergmann/recursion-context", + "homepage": "https://github.com/sebastianbergmann/recursion-context", "support": { "issues": "https://github.com/sebastianbergmann/recursion-context/issues", - "source": "https://github.com/sebastianbergmann/recursion-context/tree/4.0.4" + "source": "https://github.com/sebastianbergmann/recursion-context/tree/4.0.5" }, "funding": [ { @@ -1909,7 +2315,7 @@ "type": "github" } ], - "time": "2020-10-26T13:17:30+00:00" + "time": "2023-02-03T06:07:39+00:00" }, { "name": "sebastian/resource-operations", @@ -1968,16 +2374,16 @@ }, { "name": "sebastian/type", - "version": "3.2.0", + "version": "3.2.1", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/type.git", - "reference": "fb3fe09c5f0bae6bc27ef3ce933a1e0ed9464b6e" + "reference": "75e2c2a32f5e0b3aef905b9ed0b179b953b3d7c7" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/type/zipball/fb3fe09c5f0bae6bc27ef3ce933a1e0ed9464b6e", - "reference": "fb3fe09c5f0bae6bc27ef3ce933a1e0ed9464b6e", + "url": "https://api.github.com/repos/sebastianbergmann/type/zipball/75e2c2a32f5e0b3aef905b9ed0b179b953b3d7c7", + "reference": "75e2c2a32f5e0b3aef905b9ed0b179b953b3d7c7", "shasum": "" }, "require": { @@ -2012,7 +2418,7 @@ "homepage": "https://github.com/sebastianbergmann/type", "support": { "issues": "https://github.com/sebastianbergmann/type/issues", - "source": "https://github.com/sebastianbergmann/type/tree/3.2.0" + "source": "https://github.com/sebastianbergmann/type/tree/3.2.1" }, "funding": [ { @@ -2020,7 +2426,7 @@ "type": "github" } ], - "time": "2022-09-12T14:47:03+00:00" + "time": "2023-02-03T06:13:03+00:00" }, { "name": "sebastian/version", @@ -2075,102 +2481,25 @@ ], "time": "2020-09-28T06:39:44+00:00" }, - { - "name": "symfony/config", - "version": "v6.2.0", - "source": { - "type": "git", - "url": "https://github.com/symfony/config.git", - "reference": "ebf27792246165a2a0b6b69ec9c620cac8c5a2f0" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/config/zipball/ebf27792246165a2a0b6b69ec9c620cac8c5a2f0", - "reference": "ebf27792246165a2a0b6b69ec9c620cac8c5a2f0", - "shasum": "" - }, - "require": { - "php": ">=8.1", - "symfony/deprecation-contracts": "^2.1|^3", - "symfony/filesystem": "^5.4|^6.0", - "symfony/polyfill-ctype": "~1.8" - }, - "conflict": { - "symfony/finder": "<5.4" - }, - "require-dev": { - "symfony/event-dispatcher": "^5.4|^6.0", - "symfony/finder": "^5.4|^6.0", - "symfony/messenger": "^5.4|^6.0", - "symfony/service-contracts": "^1.1|^2|^3", - "symfony/yaml": "^5.4|^6.0" - }, - "suggest": { - "symfony/yaml": "To use the yaml reference dumper" - }, - "type": "library", - "autoload": { - "psr-4": { - "Symfony\\Component\\Config\\": "" - }, - "exclude-from-classmap": [ - "/Tests/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Fabien Potencier", - "email": "fabien@symfony.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Helps you find, load, combine, autofill and validate configuration values of any kind", - "homepage": "https://symfony.com", - "support": { - "source": "https://github.com/symfony/config/tree/v6.2.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2022-11-02T09:08:04+00:00" - }, { "name": "symfony/console", - "version": "v6.2.3", + "version": "v6.3.0", "source": { "type": "git", "url": "https://github.com/symfony/console.git", - "reference": "0f579613e771dba2dbb8211c382342a641f5da06" + "reference": "8788808b07cf0bdd6e4b7fdd23d8ddb1470c83b7" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/console/zipball/0f579613e771dba2dbb8211c382342a641f5da06", - "reference": "0f579613e771dba2dbb8211c382342a641f5da06", + "url": "https://api.github.com/repos/symfony/console/zipball/8788808b07cf0bdd6e4b7fdd23d8ddb1470c83b7", + "reference": "8788808b07cf0bdd6e4b7fdd23d8ddb1470c83b7", "shasum": "" }, "require": { "php": ">=8.1", - "symfony/deprecation-contracts": "^2.1|^3", + "symfony/deprecation-contracts": "^2.5|^3", "symfony/polyfill-mbstring": "~1.0", - "symfony/service-contracts": "^1.1|^2|^3", + "symfony/service-contracts": "^2.5|^3", "symfony/string": "^5.4|^6.0" }, "conflict": { @@ -2192,12 +2521,6 @@ "symfony/process": "^5.4|^6.0", "symfony/var-dumper": "^5.4|^6.0" }, - "suggest": { - "psr/log": "For using the console logger", - "symfony/event-dispatcher": "", - "symfony/lock": "", - "symfony/process": "" - }, "type": "library", "autoload": { "psr-4": { @@ -2225,99 +2548,12 @@ "homepage": "https://symfony.com", "keywords": [ "cli", - "command line", + "command-line", "console", "terminal" ], "support": { - "source": "https://github.com/symfony/console/tree/v6.2.3" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2022-12-28T14:26:22+00:00" - }, - { - "name": "symfony/dependency-injection", - "version": "v6.1.9", - "source": { - "type": "git", - "url": "https://github.com/symfony/dependency-injection.git", - "reference": "89db508de3ff096b2a980c7d0a5f0a2091de797b" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/dependency-injection/zipball/89db508de3ff096b2a980c7d0a5f0a2091de797b", - "reference": "89db508de3ff096b2a980c7d0a5f0a2091de797b", - "shasum": "" - }, - "require": { - "php": ">=8.1", - "psr/container": "^1.1|^2.0", - "symfony/deprecation-contracts": "^2.1|^3", - "symfony/service-contracts": "^1.1.6|^2.0|^3.0" - }, - "conflict": { - "ext-psr": "<1.1|>=2", - "symfony/config": "<6.1", - "symfony/finder": "<5.4", - "symfony/proxy-manager-bridge": "<5.4", - "symfony/yaml": "<5.4" - }, - "provide": { - "psr/container-implementation": "1.1|2.0", - "symfony/service-implementation": "1.1|2.0|3.0" - }, - "require-dev": { - "symfony/config": "^6.1", - "symfony/expression-language": "^5.4|^6.0", - "symfony/yaml": "^5.4|^6.0" - }, - "suggest": { - "symfony/config": "", - "symfony/expression-language": "For using expressions in service container configuration", - "symfony/finder": "For using double-star glob patterns or when GLOB_BRACE portability is required", - "symfony/proxy-manager-bridge": "Generate service proxies to lazy load them", - "symfony/yaml": "" - }, - "type": "library", - "autoload": { - "psr-4": { - "Symfony\\Component\\DependencyInjection\\": "" - }, - "exclude-from-classmap": [ - "/Tests/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Fabien Potencier", - "email": "fabien@symfony.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Allows you to standardize and centralize the way objects are constructed in your application", - "homepage": "https://symfony.com", - "support": { - "source": "https://github.com/symfony/dependency-injection/tree/v6.1.9" + "source": "https://github.com/symfony/console/tree/v6.3.0" }, "funding": [ { @@ -2333,20 +2569,20 @@ "type": "tidelift" } ], - "time": "2022-12-28T14:22:24+00:00" + "time": "2023-05-29T12:49:39+00:00" }, { "name": "symfony/deprecation-contracts", - "version": "v3.2.0", + "version": "v3.3.0", "source": { "type": "git", "url": "https://github.com/symfony/deprecation-contracts.git", - "reference": "1ee04c65529dea5d8744774d474e7cbd2f1206d3" + "reference": "7c3aff79d10325257a001fcf92d991f24fc967cf" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/1ee04c65529dea5d8744774d474e7cbd2f1206d3", - "reference": "1ee04c65529dea5d8744774d474e7cbd2f1206d3", + "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/7c3aff79d10325257a001fcf92d991f24fc967cf", + "reference": "7c3aff79d10325257a001fcf92d991f24fc967cf", "shasum": "" }, "require": { @@ -2355,7 +2591,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "3.3-dev" + "dev-main": "3.4-dev" }, "thanks": { "name": "symfony/contracts", @@ -2384,7 +2620,7 @@ "description": "A generic function and convention to trigger deprecation notices", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/deprecation-contracts/tree/v3.2.0" + "source": "https://github.com/symfony/deprecation-contracts/tree/v3.3.0" }, "funding": [ { @@ -2400,95 +2636,48 @@ "type": "tidelift" } ], - "time": "2022-11-25T10:21:52+00:00" + "time": "2023-05-23T14:45:45+00:00" }, { - "name": "symfony/filesystem", - "version": "v6.2.0", + "name": "symfony/event-dispatcher", + "version": "v6.3.0", "source": { "type": "git", - "url": "https://github.com/symfony/filesystem.git", - "reference": "50b2523c874605cf3d4acf7a9e2b30b6a440a016" + "url": "https://github.com/symfony/event-dispatcher.git", + "reference": "3af8ac1a3f98f6dbc55e10ae59c9e44bfc38dfaa" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/filesystem/zipball/50b2523c874605cf3d4acf7a9e2b30b6a440a016", - "reference": "50b2523c874605cf3d4acf7a9e2b30b6a440a016", + "url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/3af8ac1a3f98f6dbc55e10ae59c9e44bfc38dfaa", + "reference": "3af8ac1a3f98f6dbc55e10ae59c9e44bfc38dfaa", "shasum": "" }, "require": { "php": ">=8.1", - "symfony/polyfill-ctype": "~1.8", - "symfony/polyfill-mbstring": "~1.8" - }, - "type": "library", - "autoload": { - "psr-4": { - "Symfony\\Component\\Filesystem\\": "" - }, - "exclude-from-classmap": [ - "/Tests/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Fabien Potencier", - "email": "fabien@symfony.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Provides basic utilities for the filesystem", - "homepage": "https://symfony.com", - "support": { - "source": "https://github.com/symfony/filesystem/tree/v6.2.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2022-11-20T13:01:27+00:00" - }, - { - "name": "symfony/finder", - "version": "v6.2.3", - "source": { - "type": "git", - "url": "https://github.com/symfony/finder.git", - "reference": "81eefbddfde282ee33b437ba5e13d7753211ae8e" + "symfony/event-dispatcher-contracts": "^2.5|^3" }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/finder/zipball/81eefbddfde282ee33b437ba5e13d7753211ae8e", - "reference": "81eefbddfde282ee33b437ba5e13d7753211ae8e", - "shasum": "" + "conflict": { + "symfony/dependency-injection": "<5.4", + "symfony/service-contracts": "<2.5" }, - "require": { - "php": ">=8.1" + "provide": { + "psr/event-dispatcher-implementation": "1.0", + "symfony/event-dispatcher-implementation": "2.0|3.0" }, "require-dev": { - "symfony/filesystem": "^6.0" + "psr/log": "^1|^2|^3", + "symfony/config": "^5.4|^6.0", + "symfony/dependency-injection": "^5.4|^6.0", + "symfony/error-handler": "^5.4|^6.0", + "symfony/expression-language": "^5.4|^6.0", + "symfony/http-foundation": "^5.4|^6.0", + "symfony/service-contracts": "^2.5|^3", + "symfony/stopwatch": "^5.4|^6.0" }, "type": "library", "autoload": { "psr-4": { - "Symfony\\Component\\Finder\\": "" + "Symfony\\Component\\EventDispatcher\\": "" }, "exclude-from-classmap": [ "/Tests/" @@ -2508,10 +2697,10 @@ "homepage": "https://symfony.com/contributors" } ], - "description": "Finds files and directories via an intuitive fluent interface", + "description": "Provides tools that allow your application components to communicate with each other by dispatching events and listening to them", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/finder/tree/v6.2.3" + "source": "https://github.com/symfony/event-dispatcher/tree/v6.3.0" }, "funding": [ { @@ -2527,47 +2716,39 @@ "type": "tidelift" } ], - "time": "2022-12-22T17:55:15+00:00" + "time": "2023-04-21T14:41:17+00:00" }, { - "name": "symfony/polyfill-ctype", - "version": "v1.27.0", + "name": "symfony/event-dispatcher-contracts", + "version": "v3.3.0", "source": { "type": "git", - "url": "https://github.com/symfony/polyfill-ctype.git", - "reference": "5bbc823adecdae860bb64756d639ecfec17b050a" + "url": "https://github.com/symfony/event-dispatcher-contracts.git", + "reference": "a76aed96a42d2b521153fb382d418e30d18b59df" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/5bbc823adecdae860bb64756d639ecfec17b050a", - "reference": "5bbc823adecdae860bb64756d639ecfec17b050a", + "url": "https://api.github.com/repos/symfony/event-dispatcher-contracts/zipball/a76aed96a42d2b521153fb382d418e30d18b59df", + "reference": "a76aed96a42d2b521153fb382d418e30d18b59df", "shasum": "" }, "require": { - "php": ">=7.1" - }, - "provide": { - "ext-ctype": "*" - }, - "suggest": { - "ext-ctype": "For best performance" + "php": ">=8.1", + "psr/event-dispatcher": "^1" }, "type": "library", "extra": { "branch-alias": { - "dev-main": "1.27-dev" + "dev-main": "3.4-dev" }, "thanks": { - "name": "symfony/polyfill", - "url": "https://github.com/symfony/polyfill" + "name": "symfony/contracts", + "url": "https://github.com/symfony/contracts" } }, "autoload": { - "files": [ - "bootstrap.php" - ], "psr-4": { - "Symfony\\Polyfill\\Ctype\\": "" + "Symfony\\Contracts\\EventDispatcher\\": "" } }, "notification-url": "https://packagist.org/downloads/", @@ -2576,24 +2757,26 @@ ], "authors": [ { - "name": "Gert de Pagter", - "email": "BackEndTea@gmail.com" + "name": "Nicolas Grekas", + "email": "p@tchwork.com" }, { "name": "Symfony Community", "homepage": "https://symfony.com/contributors" } ], - "description": "Symfony polyfill for ctype functions", + "description": "Generic abstractions related to dispatching event", "homepage": "https://symfony.com", "keywords": [ - "compatibility", - "ctype", - "polyfill", - "portable" + "abstractions", + "contracts", + "decoupling", + "interfaces", + "interoperability", + "standards" ], "support": { - "source": "https://github.com/symfony/polyfill-ctype/tree/v1.27.0" + "source": "https://github.com/symfony/event-dispatcher-contracts/tree/v3.3.0" }, "funding": [ { @@ -2609,45 +2792,35 @@ "type": "tidelift" } ], - "time": "2022-11-03T14:55:06+00:00" + "time": "2023-05-23T14:45:45+00:00" }, { - "name": "symfony/polyfill-intl-grapheme", - "version": "v1.27.0", + "name": "symfony/filesystem", + "version": "v6.3.1", "source": { "type": "git", - "url": "https://github.com/symfony/polyfill-intl-grapheme.git", - "reference": "511a08c03c1960e08a883f4cffcacd219b758354" + "url": "https://github.com/symfony/filesystem.git", + "reference": "edd36776956f2a6fcf577edb5b05eb0e3bdc52ae" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-grapheme/zipball/511a08c03c1960e08a883f4cffcacd219b758354", - "reference": "511a08c03c1960e08a883f4cffcacd219b758354", + "url": "https://api.github.com/repos/symfony/filesystem/zipball/edd36776956f2a6fcf577edb5b05eb0e3bdc52ae", + "reference": "edd36776956f2a6fcf577edb5b05eb0e3bdc52ae", "shasum": "" }, "require": { - "php": ">=7.1" - }, - "suggest": { - "ext-intl": "For best performance" + "php": ">=8.1", + "symfony/polyfill-ctype": "~1.8", + "symfony/polyfill-mbstring": "~1.8" }, "type": "library", - "extra": { - "branch-alias": { - "dev-main": "1.27-dev" - }, - "thanks": { - "name": "symfony/polyfill", - "url": "https://github.com/symfony/polyfill" - } - }, "autoload": { - "files": [ - "bootstrap.php" - ], "psr-4": { - "Symfony\\Polyfill\\Intl\\Grapheme\\": "" - } + "Symfony\\Component\\Filesystem\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] }, "notification-url": "https://packagist.org/downloads/", "license": [ @@ -2655,26 +2828,18 @@ ], "authors": [ { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" + "name": "Fabien Potencier", + "email": "fabien@symfony.com" }, { "name": "Symfony Community", "homepage": "https://symfony.com/contributors" } ], - "description": "Symfony polyfill for intl's grapheme_* functions", + "description": "Provides basic utilities for the filesystem", "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "grapheme", - "intl", - "polyfill", - "portable", - "shim" - ], "support": { - "source": "https://github.com/symfony/polyfill-intl-grapheme/tree/v1.27.0" + "source": "https://github.com/symfony/filesystem/tree/v6.3.1" }, "funding": [ { @@ -2690,47 +2855,35 @@ "type": "tidelift" } ], - "time": "2022-11-03T14:55:06+00:00" + "time": "2023-06-01T08:30:39+00:00" }, { - "name": "symfony/polyfill-intl-normalizer", - "version": "v1.27.0", + "name": "symfony/finder", + "version": "v6.3.0", "source": { "type": "git", - "url": "https://github.com/symfony/polyfill-intl-normalizer.git", - "reference": "19bd1e4fcd5b91116f14d8533c57831ed00571b6" + "url": "https://github.com/symfony/finder.git", + "reference": "d9b01ba073c44cef617c7907ce2419f8d00d75e2" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-normalizer/zipball/19bd1e4fcd5b91116f14d8533c57831ed00571b6", - "reference": "19bd1e4fcd5b91116f14d8533c57831ed00571b6", + "url": "https://api.github.com/repos/symfony/finder/zipball/d9b01ba073c44cef617c7907ce2419f8d00d75e2", + "reference": "d9b01ba073c44cef617c7907ce2419f8d00d75e2", "shasum": "" }, "require": { - "php": ">=7.1" + "php": ">=8.1" }, - "suggest": { - "ext-intl": "For best performance" + "require-dev": { + "symfony/filesystem": "^6.0" }, "type": "library", - "extra": { - "branch-alias": { - "dev-main": "1.27-dev" - }, - "thanks": { - "name": "symfony/polyfill", - "url": "https://github.com/symfony/polyfill" - } - }, "autoload": { - "files": [ - "bootstrap.php" - ], "psr-4": { - "Symfony\\Polyfill\\Intl\\Normalizer\\": "" + "Symfony\\Component\\Finder\\": "" }, - "classmap": [ - "Resources/stubs" + "exclude-from-classmap": [ + "/Tests/" ] }, "notification-url": "https://packagist.org/downloads/", @@ -2739,26 +2892,18 @@ ], "authors": [ { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" + "name": "Fabien Potencier", + "email": "fabien@symfony.com" }, { "name": "Symfony Community", "homepage": "https://symfony.com/contributors" } ], - "description": "Symfony polyfill for intl's Normalizer class and related functions", + "description": "Finds files and directories via an intuitive fluent interface", "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "intl", - "normalizer", - "polyfill", - "portable", - "shim" - ], "support": { - "source": "https://github.com/symfony/polyfill-intl-normalizer/tree/v1.27.0" + "source": "https://github.com/symfony/finder/tree/v6.3.0" }, "funding": [ { @@ -2774,48 +2919,34 @@ "type": "tidelift" } ], - "time": "2022-11-03T14:55:06+00:00" + "time": "2023-04-02T01:25:41+00:00" }, { - "name": "symfony/polyfill-mbstring", - "version": "v1.27.0", + "name": "symfony/options-resolver", + "version": "v6.3.0", "source": { "type": "git", - "url": "https://github.com/symfony/polyfill-mbstring.git", - "reference": "8ad114f6b39e2c98a8b0e3bd907732c207c2b534" + "url": "https://github.com/symfony/options-resolver.git", + "reference": "a10f19f5198d589d5c33333cffe98dc9820332dd" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/8ad114f6b39e2c98a8b0e3bd907732c207c2b534", - "reference": "8ad114f6b39e2c98a8b0e3bd907732c207c2b534", + "url": "https://api.github.com/repos/symfony/options-resolver/zipball/a10f19f5198d589d5c33333cffe98dc9820332dd", + "reference": "a10f19f5198d589d5c33333cffe98dc9820332dd", "shasum": "" }, "require": { - "php": ">=7.1" - }, - "provide": { - "ext-mbstring": "*" - }, - "suggest": { - "ext-mbstring": "For best performance" + "php": ">=8.1", + "symfony/deprecation-contracts": "^2.5|^3" }, "type": "library", - "extra": { - "branch-alias": { - "dev-main": "1.27-dev" - }, - "thanks": { - "name": "symfony/polyfill", - "url": "https://github.com/symfony/polyfill" - } - }, "autoload": { - "files": [ - "bootstrap.php" - ], "psr-4": { - "Symfony\\Polyfill\\Mbstring\\": "" - } + "Symfony\\Component\\OptionsResolver\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] }, "notification-url": "https://packagist.org/downloads/", "license": [ @@ -2823,25 +2954,23 @@ ], "authors": [ { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" + "name": "Fabien Potencier", + "email": "fabien@symfony.com" }, { "name": "Symfony Community", "homepage": "https://symfony.com/contributors" } ], - "description": "Symfony polyfill for the Mbstring extension", + "description": "Provides an improved replacement for the array_replace PHP function", "homepage": "https://symfony.com", "keywords": [ - "compatibility", - "mbstring", - "polyfill", - "portable", - "shim" + "config", + "configuration", + "options" ], "support": { - "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.27.0" + "source": "https://github.com/symfony/options-resolver/tree/v6.3.0" }, "funding": [ { @@ -2857,49 +2986,48 @@ "type": "tidelift" } ], - "time": "2022-11-03T14:55:06+00:00" + "time": "2023-05-12T14:21:09+00:00" }, { - "name": "symfony/service-contracts", - "version": "v3.2.0", + "name": "symfony/polyfill-ctype", + "version": "v1.27.0", "source": { "type": "git", - "url": "https://github.com/symfony/service-contracts.git", - "reference": "aac98028c69df04ee77eb69b96b86ee51fbf4b75" + "url": "https://github.com/symfony/polyfill-ctype.git", + "reference": "5bbc823adecdae860bb64756d639ecfec17b050a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/service-contracts/zipball/aac98028c69df04ee77eb69b96b86ee51fbf4b75", - "reference": "aac98028c69df04ee77eb69b96b86ee51fbf4b75", + "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/5bbc823adecdae860bb64756d639ecfec17b050a", + "reference": "5bbc823adecdae860bb64756d639ecfec17b050a", "shasum": "" }, "require": { - "php": ">=8.1", - "psr/container": "^2.0" + "php": ">=7.1" }, - "conflict": { - "ext-psr": "<1.1|>=2" + "provide": { + "ext-ctype": "*" }, "suggest": { - "symfony/service-implementation": "" + "ext-ctype": "For best performance" }, "type": "library", "extra": { "branch-alias": { - "dev-main": "3.3-dev" + "dev-main": "1.27-dev" }, "thanks": { - "name": "symfony/contracts", - "url": "https://github.com/symfony/contracts" + "name": "symfony/polyfill", + "url": "https://github.com/symfony/polyfill" } }, "autoload": { + "files": [ + "bootstrap.php" + ], "psr-4": { - "Symfony\\Contracts\\Service\\": "" - }, - "exclude-from-classmap": [ - "/Test/" - ] + "Symfony\\Polyfill\\Ctype\\": "" + } }, "notification-url": "https://packagist.org/downloads/", "license": [ @@ -2907,26 +3035,24 @@ ], "authors": [ { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" + "name": "Gert de Pagter", + "email": "BackEndTea@gmail.com" }, { "name": "Symfony Community", "homepage": "https://symfony.com/contributors" } ], - "description": "Generic abstractions related to writing services", + "description": "Symfony polyfill for ctype functions", "homepage": "https://symfony.com", "keywords": [ - "abstractions", - "contracts", - "decoupling", - "interfaces", - "interoperability", - "standards" + "compatibility", + "ctype", + "polyfill", + "portable" ], "support": { - "source": "https://github.com/symfony/service-contracts/tree/v3.2.0" + "source": "https://github.com/symfony/polyfill-ctype/tree/v1.27.0" }, "funding": [ { @@ -2942,50 +3068,45 @@ "type": "tidelift" } ], - "time": "2022-11-25T10:21:52+00:00" + "time": "2022-11-03T14:55:06+00:00" }, { - "name": "symfony/string", - "version": "v6.2.2", + "name": "symfony/polyfill-intl-grapheme", + "version": "v1.27.0", "source": { "type": "git", - "url": "https://github.com/symfony/string.git", - "reference": "863219fd713fa41cbcd285a79723f94672faff4d" + "url": "https://github.com/symfony/polyfill-intl-grapheme.git", + "reference": "511a08c03c1960e08a883f4cffcacd219b758354" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/string/zipball/863219fd713fa41cbcd285a79723f94672faff4d", - "reference": "863219fd713fa41cbcd285a79723f94672faff4d", + "url": "https://api.github.com/repos/symfony/polyfill-intl-grapheme/zipball/511a08c03c1960e08a883f4cffcacd219b758354", + "reference": "511a08c03c1960e08a883f4cffcacd219b758354", "shasum": "" }, "require": { - "php": ">=8.1", - "symfony/polyfill-ctype": "~1.8", - "symfony/polyfill-intl-grapheme": "~1.0", - "symfony/polyfill-intl-normalizer": "~1.0", - "symfony/polyfill-mbstring": "~1.0" - }, - "conflict": { - "symfony/translation-contracts": "<2.0" + "php": ">=7.1" }, - "require-dev": { - "symfony/error-handler": "^5.4|^6.0", - "symfony/http-client": "^5.4|^6.0", - "symfony/intl": "^6.2", - "symfony/translation-contracts": "^2.0|^3.0", - "symfony/var-exporter": "^5.4|^6.0" + "suggest": { + "ext-intl": "For best performance" }, "type": "library", + "extra": { + "branch-alias": { + "dev-main": "1.27-dev" + }, + "thanks": { + "name": "symfony/polyfill", + "url": "https://github.com/symfony/polyfill" + } + }, "autoload": { "files": [ - "Resources/functions.php" + "bootstrap.php" ], - "psr-4": { - "Symfony\\Component\\String\\": "" - }, - "exclude-from-classmap": [ - "/Tests/" - ] + "psr-4": { + "Symfony\\Polyfill\\Intl\\Grapheme\\": "" + } }, "notification-url": "https://packagist.org/downloads/", "license": [ @@ -3001,18 +3122,18 @@ "homepage": "https://symfony.com/contributors" } ], - "description": "Provides an object-oriented API to strings and deals with bytes, UTF-8 code points and grapheme clusters in a unified way", + "description": "Symfony polyfill for intl's grapheme_* functions", "homepage": "https://symfony.com", "keywords": [ + "compatibility", "grapheme", - "i18n", - "string", - "unicode", - "utf-8", - "utf8" + "intl", + "polyfill", + "portable", + "shim" ], "support": { - "source": "https://github.com/symfony/string/tree/v6.2.2" + "source": "https://github.com/symfony/polyfill-intl-grapheme/tree/v1.27.0" }, "funding": [ { @@ -3028,55 +3149,47 @@ "type": "tidelift" } ], - "time": "2022-12-14T16:11:27+00:00" + "time": "2022-11-03T14:55:06+00:00" }, { - "name": "symfony/var-dumper", - "version": "v6.2.3", + "name": "symfony/polyfill-intl-normalizer", + "version": "v1.27.0", "source": { "type": "git", - "url": "https://github.com/symfony/var-dumper.git", - "reference": "fdbadd4803bc3c96ef89238c9c9e2ebe424ec2e0" + "url": "https://github.com/symfony/polyfill-intl-normalizer.git", + "reference": "19bd1e4fcd5b91116f14d8533c57831ed00571b6" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/var-dumper/zipball/fdbadd4803bc3c96ef89238c9c9e2ebe424ec2e0", - "reference": "fdbadd4803bc3c96ef89238c9c9e2ebe424ec2e0", + "url": "https://api.github.com/repos/symfony/polyfill-intl-normalizer/zipball/19bd1e4fcd5b91116f14d8533c57831ed00571b6", + "reference": "19bd1e4fcd5b91116f14d8533c57831ed00571b6", "shasum": "" }, "require": { - "php": ">=8.1", - "symfony/polyfill-mbstring": "~1.0" - }, - "conflict": { - "phpunit/phpunit": "<5.4.3", - "symfony/console": "<5.4" - }, - "require-dev": { - "ext-iconv": "*", - "symfony/console": "^5.4|^6.0", - "symfony/process": "^5.4|^6.0", - "symfony/uid": "^5.4|^6.0", - "twig/twig": "^2.13|^3.0.4" + "php": ">=7.1" }, "suggest": { - "ext-iconv": "To convert non-UTF-8 strings to UTF-8 (or symfony/polyfill-iconv in case ext-iconv cannot be used).", - "ext-intl": "To show region name in time zone dump", - "symfony/console": "To use the ServerDumpCommand and/or the bin/var-dump-server script" + "ext-intl": "For best performance" }, - "bin": [ - "Resources/bin/var-dump-server" - ], "type": "library", + "extra": { + "branch-alias": { + "dev-main": "1.27-dev" + }, + "thanks": { + "name": "symfony/polyfill", + "url": "https://github.com/symfony/polyfill" + } + }, "autoload": { "files": [ - "Resources/functions/dump.php" + "bootstrap.php" ], "psr-4": { - "Symfony\\Component\\VarDumper\\": "" + "Symfony\\Polyfill\\Intl\\Normalizer\\": "" }, - "exclude-from-classmap": [ - "/Tests/" + "classmap": [ + "Resources/stubs" ] }, "notification-url": "https://packagist.org/downloads/", @@ -3093,14 +3206,18 @@ "homepage": "https://symfony.com/contributors" } ], - "description": "Provides mechanisms for walking through any arbitrary PHP variable", + "description": "Symfony polyfill for intl's Normalizer class and related functions", "homepage": "https://symfony.com", "keywords": [ - "debug", - "dump" + "compatibility", + "intl", + "normalizer", + "polyfill", + "portable", + "shim" ], "support": { - "source": "https://github.com/symfony/var-dumper/tree/v6.2.3" + "source": "https://github.com/symfony/polyfill-intl-normalizer/tree/v1.27.0" }, "funding": [ { @@ -3116,46 +3233,48 @@ "type": "tidelift" } ], - "time": "2022-12-22T17:55:15+00:00" + "time": "2022-11-03T14:55:06+00:00" }, { - "name": "symfony/yaml", - "version": "v6.2.2", + "name": "symfony/polyfill-mbstring", + "version": "v1.27.0", "source": { "type": "git", - "url": "https://github.com/symfony/yaml.git", - "reference": "6ed8243aa5f2cb5a57009f826b5e7fb3c4200cf3" + "url": "https://github.com/symfony/polyfill-mbstring.git", + "reference": "8ad114f6b39e2c98a8b0e3bd907732c207c2b534" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/yaml/zipball/6ed8243aa5f2cb5a57009f826b5e7fb3c4200cf3", - "reference": "6ed8243aa5f2cb5a57009f826b5e7fb3c4200cf3", + "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/8ad114f6b39e2c98a8b0e3bd907732c207c2b534", + "reference": "8ad114f6b39e2c98a8b0e3bd907732c207c2b534", "shasum": "" }, "require": { - "php": ">=8.1", - "symfony/polyfill-ctype": "^1.8" - }, - "conflict": { - "symfony/console": "<5.4" + "php": ">=7.1" }, - "require-dev": { - "symfony/console": "^5.4|^6.0" + "provide": { + "ext-mbstring": "*" }, "suggest": { - "symfony/console": "For validating YAML files using the lint command" + "ext-mbstring": "For best performance" }, - "bin": [ - "Resources/bin/yaml-lint" - ], "type": "library", + "extra": { + "branch-alias": { + "dev-main": "1.27-dev" + }, + "thanks": { + "name": "symfony/polyfill", + "url": "https://github.com/symfony/polyfill" + } + }, "autoload": { + "files": [ + "bootstrap.php" + ], "psr-4": { - "Symfony\\Component\\Yaml\\": "" - }, - "exclude-from-classmap": [ - "/Tests/" - ] + "Symfony\\Polyfill\\Mbstring\\": "" + } }, "notification-url": "https://packagist.org/downloads/", "license": [ @@ -3163,18 +3282,25 @@ ], "authors": [ { - "name": "Fabien Potencier", - "email": "fabien@symfony.com" + "name": "Nicolas Grekas", + "email": "p@tchwork.com" }, { "name": "Symfony Community", "homepage": "https://symfony.com/contributors" } ], - "description": "Loads and dumps YAML files", + "description": "Symfony polyfill for the Mbstring extension", "homepage": "https://symfony.com", + "keywords": [ + "compatibility", + "mbstring", + "polyfill", + "portable", + "shim" + ], "support": { - "source": "https://github.com/symfony/yaml/tree/v6.2.2" + "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.27.0" }, "funding": [ { @@ -3190,559 +3316,600 @@ "type": "tidelift" } ], - "time": "2022-12-14T16:11:27+00:00" + "time": "2022-11-03T14:55:06+00:00" }, { - "name": "symplify/autowire-array-parameter", - "version": "11.1.24", + "name": "symfony/polyfill-php80", + "version": "v1.27.0", "source": { "type": "git", - "url": "https://github.com/symplify/autowire-array-parameter.git", - "reference": "e1b966014f967f2db0274b3cb3e2de3409e52949" + "url": "https://github.com/symfony/polyfill-php80.git", + "reference": "7a6ff3f1959bb01aefccb463a0f2cd3d3d2fd936" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symplify/autowire-array-parameter/zipball/e1b966014f967f2db0274b3cb3e2de3409e52949", - "reference": "e1b966014f967f2db0274b3cb3e2de3409e52949", + "url": "https://api.github.com/repos/symfony/polyfill-php80/zipball/7a6ff3f1959bb01aefccb463a0f2cd3d3d2fd936", + "reference": "7a6ff3f1959bb01aefccb463a0f2cd3d3d2fd936", "shasum": "" }, "require": { - "nette/utils": "^3.2", - "php": ">=8.1", - "symfony/dependency-injection": "6.1.*" - }, - "conflict": { - "symplify/coding-standard": "<11.1.24", - "symplify/config-transformer": "<11.1.24", - "symplify/easy-ci": "<11.1.24", - "symplify/easy-coding-standard": "<11.1.24", - "symplify/easy-parallel": "<11.1.24", - "symplify/easy-testing": "<11.1.24", - "symplify/monorepo-builder": "<11.1.24", - "symplify/package-builder": "<11.1.24", - "symplify/php-config-printer": "<11.1.24", - "symplify/phpstan-extensions": "<11.1.24", - "symplify/phpstan-rules": "<11.1.24", - "symplify/rule-doc-generator": "<11.1.24", - "symplify/rule-doc-generator-contracts": "<11.1.24", - "symplify/smart-file-system": "<11.1.24", - "symplify/symfony-static-dumper": "<11.1.24", - "symplify/symplify-kernel": "<11.1.24", - "symplify/vendor-patches": "<11.1.24" - }, - "require-dev": { - "phpunit/phpunit": "^9.5.26", - "symplify/package-builder": "^11.1.24", - "symplify/symplify-kernel": "^11.1.24" + "php": ">=7.1" }, "type": "library", "extra": { "branch-alias": { - "dev-main": "11.2-dev" + "dev-main": "1.27-dev" + }, + "thanks": { + "name": "symfony/polyfill", + "url": "https://github.com/symfony/polyfill" } }, "autoload": { + "files": [ + "bootstrap.php" + ], "psr-4": { - "Symplify\\AutowireArrayParameter\\": "src" - } + "Symfony\\Polyfill\\Php80\\": "" + }, + "classmap": [ + "Resources/stubs" + ] }, "notification-url": "https://packagist.org/downloads/", "license": [ "MIT" ], - "description": "Autowire array parameters for your Symfony applications", + "authors": [ + { + "name": "Ion Bazan", + "email": "ion.bazan@gmail.com" + }, + { + "name": "Nicolas Grekas", + "email": "p@tchwork.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony polyfill backporting some PHP 8.0+ features to lower PHP versions", + "homepage": "https://symfony.com", + "keywords": [ + "compatibility", + "polyfill", + "portable", + "shim" + ], "support": { - "source": "https://github.com/symplify/autowire-array-parameter/tree/11.1.24" + "source": "https://github.com/symfony/polyfill-php80/tree/v1.27.0" }, "funding": [ { - "url": "https://www.paypal.me/rectorphp", + "url": "https://symfony.com/sponsor", "type": "custom" }, { - "url": "https://github.com/tomasvotruba", + "url": "https://github.com/fabpot", "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" } ], - "time": "2022-12-23T15:00:32+00:00" + "time": "2022-11-03T14:55:06+00:00" }, { - "name": "symplify/easy-coding-standard", - "version": "11.2.2.72", + "name": "symfony/polyfill-php81", + "version": "v1.27.0", "source": { "type": "git", - "url": "https://github.com/symplify/easy-coding-standard.git", - "reference": "efef2606b8c1b9117aeb9d547c582eb12d66bc0a" + "url": "https://github.com/symfony/polyfill-php81.git", + "reference": "707403074c8ea6e2edaf8794b0157a0bfa52157a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symplify/easy-coding-standard/zipball/efef2606b8c1b9117aeb9d547c582eb12d66bc0a", - "reference": "efef2606b8c1b9117aeb9d547c582eb12d66bc0a", + "url": "https://api.github.com/repos/symfony/polyfill-php81/zipball/707403074c8ea6e2edaf8794b0157a0bfa52157a", + "reference": "707403074c8ea6e2edaf8794b0157a0bfa52157a", "shasum": "" }, "require": { - "php": ">=7.2" - }, - "conflict": { - "friendsofphp/php-cs-fixer": "<3.0", - "squizlabs/php_codesniffer": "<3.6" + "php": ">=7.1" }, - "bin": [ - "bin/ecs" - ], "type": "library", + "extra": { + "branch-alias": { + "dev-main": "1.27-dev" + }, + "thanks": { + "name": "symfony/polyfill", + "url": "https://github.com/symfony/polyfill" + } + }, "autoload": { "files": [ "bootstrap.php" + ], + "psr-4": { + "Symfony\\Polyfill\\Php81\\": "" + }, + "classmap": [ + "Resources/stubs" ] }, "notification-url": "https://packagist.org/downloads/", "license": [ "MIT" ], - "description": "Use Coding Standard with 0-knowledge of PHP-CS-Fixer and PHP_CodeSniffer", + "authors": [ + { + "name": "Nicolas Grekas", + "email": "p@tchwork.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony polyfill backporting some PHP 8.1+ features to lower PHP versions", + "homepage": "https://symfony.com", + "keywords": [ + "compatibility", + "polyfill", + "portable", + "shim" + ], "support": { - "issues": "https://github.com/symplify/easy-coding-standard/issues", - "source": "https://github.com/symplify/easy-coding-standard/tree/11.2.2.72" + "source": "https://github.com/symfony/polyfill-php81/tree/v1.27.0" }, "funding": [ { - "url": "https://www.paypal.me/rectorphp", + "url": "https://symfony.com/sponsor", "type": "custom" }, { - "url": "https://github.com/tomasvotruba", + "url": "https://github.com/fabpot", "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" } ], - "time": "2023-01-11T14:42:18+00:00" + "time": "2022-11-03T14:55:06+00:00" }, { - "name": "symplify/package-builder", - "version": "11.1.24", + "name": "symfony/process", + "version": "v6.3.0", "source": { "type": "git", - "url": "https://github.com/symplify/package-builder.git", - "reference": "0c8a82a5c661c49e48634c384b47a01bb55ddbad" + "url": "https://github.com/symfony/process.git", + "reference": "8741e3ed7fe2e91ec099e02446fb86667a0f1628" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symplify/package-builder/zipball/0c8a82a5c661c49e48634c384b47a01bb55ddbad", - "reference": "0c8a82a5c661c49e48634c384b47a01bb55ddbad", + "url": "https://api.github.com/repos/symfony/process/zipball/8741e3ed7fe2e91ec099e02446fb86667a0f1628", + "reference": "8741e3ed7fe2e91ec099e02446fb86667a0f1628", "shasum": "" }, "require": { - "nette/utils": "^3.2", - "php": ">=8.1", - "sebastian/diff": "^4.0|^5.0", - "symfony/config": "^6.2", - "symfony/console": "^6.2", - "symfony/dependency-injection": "6.1.*", - "symfony/finder": "^6.2" - }, - "conflict": { - "symplify/autowire-array-parameter": "<11.1.24", - "symplify/coding-standard": "<11.1.24", - "symplify/config-transformer": "<11.1.24", - "symplify/easy-ci": "<11.1.24", - "symplify/easy-coding-standard": "<11.1.24", - "symplify/easy-parallel": "<11.1.24", - "symplify/easy-testing": "<11.1.24", - "symplify/monorepo-builder": "<11.1.24", - "symplify/php-config-printer": "<11.1.24", - "symplify/phpstan-extensions": "<11.1.24", - "symplify/phpstan-rules": "<11.1.24", - "symplify/rule-doc-generator": "<11.1.24", - "symplify/rule-doc-generator-contracts": "<11.1.24", - "symplify/smart-file-system": "<11.1.24", - "symplify/symfony-static-dumper": "<11.1.24", - "symplify/symplify-kernel": "<11.1.24", - "symplify/vendor-patches": "<11.1.24" - }, - "require-dev": { - "phpunit/phpunit": "^9.5.26", - "symplify/symplify-kernel": "^11.1.24" + "php": ">=8.1" }, "type": "library", - "extra": { - "branch-alias": { - "dev-main": "11.2-dev" - } - }, "autoload": { "psr-4": { - "Symplify\\PackageBuilder\\": "src" - } + "Symfony\\Component\\Process\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] }, "notification-url": "https://packagist.org/downloads/", "license": [ "MIT" ], - "description": "Dependency Injection, Console and Kernel toolkit for Symplify packages.", + "authors": [ + { + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Executes commands in sub-processes", + "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symplify/package-builder/tree/11.1.24" + "source": "https://github.com/symfony/process/tree/v6.3.0" }, "funding": [ { - "url": "https://www.paypal.me/rectorphp", + "url": "https://symfony.com/sponsor", "type": "custom" }, { - "url": "https://github.com/tomasvotruba", + "url": "https://github.com/fabpot", "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" } ], - "time": "2022-12-23T15:01:03+00:00" + "time": "2023-05-19T08:06:44+00:00" }, { - "name": "symplify/php-config-printer", - "version": "11.1.24", + "name": "symfony/service-contracts", + "version": "v3.3.0", "source": { "type": "git", - "url": "https://github.com/symplify/php-config-printer.git", - "reference": "c3e7eaca9913acde11f6e3b97ff1369342fced65" + "url": "https://github.com/symfony/service-contracts.git", + "reference": "40da9cc13ec349d9e4966ce18b5fbcd724ab10a4" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symplify/php-config-printer/zipball/c3e7eaca9913acde11f6e3b97ff1369342fced65", - "reference": "c3e7eaca9913acde11f6e3b97ff1369342fced65", + "url": "https://api.github.com/repos/symfony/service-contracts/zipball/40da9cc13ec349d9e4966ce18b5fbcd724ab10a4", + "reference": "40da9cc13ec349d9e4966ce18b5fbcd724ab10a4", "shasum": "" }, "require": { - "nette/utils": "^3.2", - "nikic/php-parser": "^4.15.2", "php": ">=8.1", - "symfony/yaml": "^6.2" + "psr/container": "^2.0" }, "conflict": { - "symplify/autowire-array-parameter": "<11.1.24", - "symplify/coding-standard": "<11.1.24", - "symplify/config-transformer": "<11.1.24", - "symplify/easy-ci": "<11.1.24", - "symplify/easy-coding-standard": "<11.1.24", - "symplify/easy-parallel": "<11.1.24", - "symplify/easy-testing": "<11.1.24", - "symplify/monorepo-builder": "<11.1.24", - "symplify/package-builder": "<11.1.24", - "symplify/phpstan-extensions": "<11.1.24", - "symplify/phpstan-rules": "<11.1.24", - "symplify/rule-doc-generator": "<11.1.24", - "symplify/rule-doc-generator-contracts": "<11.1.24", - "symplify/smart-file-system": "<11.1.24", - "symplify/symfony-static-dumper": "<11.1.24", - "symplify/symplify-kernel": "<11.1.24", - "symplify/vendor-patches": "<11.1.24" - }, - "require-dev": { - "phpunit/phpunit": "^9.5.26", - "symplify/easy-testing": "^11.1.24", - "symplify/symplify-kernel": "^11.1.24" + "ext-psr": "<1.1|>=2" }, "type": "library", "extra": { "branch-alias": { - "dev-main": "11.2-dev" + "dev-main": "3.4-dev" + }, + "thanks": { + "name": "symfony/contracts", + "url": "https://github.com/symfony/contracts" } }, "autoload": { "psr-4": { - "Symplify\\PhpConfigPrinter\\": "src" - } + "Symfony\\Contracts\\Service\\": "" + }, + "exclude-from-classmap": [ + "/Test/" + ] }, "notification-url": "https://packagist.org/downloads/", "license": [ "MIT" ], - "description": "Print Symfony services array with configuration to to plain PHP file format thanks to this simple php-parser wrapper", + "authors": [ + { + "name": "Nicolas Grekas", + "email": "p@tchwork.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Generic abstractions related to writing services", + "homepage": "https://symfony.com", + "keywords": [ + "abstractions", + "contracts", + "decoupling", + "interfaces", + "interoperability", + "standards" + ], "support": { - "issues": "https://github.com/symplify/php-config-printer/issues", - "source": "https://github.com/symplify/php-config-printer/tree/11.1.24" + "source": "https://github.com/symfony/service-contracts/tree/v3.3.0" }, - "time": "2022-12-23T15:01:27+00:00" + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2023-05-23T14:45:45+00:00" }, { - "name": "symplify/rule-doc-generator", - "version": "11.1.24", + "name": "symfony/stopwatch", + "version": "v6.3.0", "source": { "type": "git", - "url": "https://github.com/symplify/rule-doc-generator.git", - "reference": "8d8aad1c6078863d764680d6faf31bccf2e61800" + "url": "https://github.com/symfony/stopwatch.git", + "reference": "fc47f1015ec80927ff64ba9094dfe8b9d48fe9f2" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symplify/rule-doc-generator/zipball/8d8aad1c6078863d764680d6faf31bccf2e61800", - "reference": "8d8aad1c6078863d764680d6faf31bccf2e61800", + "url": "https://api.github.com/repos/symfony/stopwatch/zipball/fc47f1015ec80927ff64ba9094dfe8b9d48fe9f2", + "reference": "fc47f1015ec80927ff64ba9094dfe8b9d48fe9f2", "shasum": "" }, "require": { - "nette/robot-loader": "^3.4", - "nette/utils": "^3.2", "php": ">=8.1", - "sebastian/diff": "^4.0|^5.0", - "symfony/console": "^6.2", - "symfony/dependency-injection": "6.1.*", - "symplify/package-builder": "^11.1.24", - "symplify/php-config-printer": "^11.1.24", - "symplify/rule-doc-generator-contracts": "^11.1.24", - "symplify/smart-file-system": "^11.1.24", - "symplify/symplify-kernel": "^11.1.24" - }, - "conflict": { - "symplify/autowire-array-parameter": "<11.1.24", - "symplify/coding-standard": "<11.1.24", - "symplify/config-transformer": "<11.1.24", - "symplify/easy-ci": "<11.1.24", - "symplify/easy-coding-standard": "<11.1.24", - "symplify/easy-parallel": "<11.1.24", - "symplify/easy-testing": "<11.1.24", - "symplify/monorepo-builder": "<11.1.24", - "symplify/phpstan-extensions": "<11.1.24", - "symplify/phpstan-rules": "<11.1.24", - "symplify/symfony-static-dumper": "<11.1.24", - "symplify/vendor-patches": "<11.1.24" - }, - "require-dev": { - "friendsofphp/php-cs-fixer": "^3.12", - "phpstan/phpstan": "^1.9.3", - "phpunit/phpunit": "^9.5.26" + "symfony/service-contracts": "^2.5|^3" }, - "bin": [ - "bin/rule-doc-generator" - ], "type": "library", - "extra": { - "branch-alias": { - "dev-main": "11.2-dev" - } - }, "autoload": { "psr-4": { - "Symplify\\RuleDocGenerator\\": "src" - } + "Symfony\\Component\\Stopwatch\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] }, "notification-url": "https://packagist.org/downloads/", "license": [ "MIT" ], - "description": "Documentation generator for coding standard or static analysis rules", + "authors": [ + { + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Provides a way to profile code", + "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symplify/rule-doc-generator/tree/11.1.24" + "source": "https://github.com/symfony/stopwatch/tree/v6.3.0" }, "funding": [ { - "url": "https://www.paypal.me/rectorphp", + "url": "https://symfony.com/sponsor", "type": "custom" }, { - "url": "https://github.com/tomasvotruba", + "url": "https://github.com/fabpot", "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" } ], - "time": "2022-12-23T15:01:47+00:00" + "time": "2023-02-16T10:14:28+00:00" }, { - "name": "symplify/rule-doc-generator-contracts", - "version": "11.1.24", + "name": "symfony/string", + "version": "v6.3.0", "source": { "type": "git", - "url": "https://github.com/symplify/rule-doc-generator-contracts.git", - "reference": "822896f06a0cdb8effbf5371459d8fffd24a4eab" + "url": "https://github.com/symfony/string.git", + "reference": "f2e190ee75ff0f5eced645ec0be5c66fac81f51f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symplify/rule-doc-generator-contracts/zipball/822896f06a0cdb8effbf5371459d8fffd24a4eab", - "reference": "822896f06a0cdb8effbf5371459d8fffd24a4eab", + "url": "https://api.github.com/repos/symfony/string/zipball/f2e190ee75ff0f5eced645ec0be5c66fac81f51f", + "reference": "f2e190ee75ff0f5eced645ec0be5c66fac81f51f", "shasum": "" }, "require": { - "nette/utils": "^3.2", - "php": ">=8.1" + "php": ">=8.1", + "symfony/polyfill-ctype": "~1.8", + "symfony/polyfill-intl-grapheme": "~1.0", + "symfony/polyfill-intl-normalizer": "~1.0", + "symfony/polyfill-mbstring": "~1.0" }, "conflict": { - "symplify/autowire-array-parameter": "<11.1.24", - "symplify/coding-standard": "<11.1.24", - "symplify/config-transformer": "<11.1.24", - "symplify/easy-ci": "<11.1.24", - "symplify/easy-coding-standard": "<11.1.24", - "symplify/easy-parallel": "<11.1.24", - "symplify/easy-testing": "<11.1.24", - "symplify/monorepo-builder": "<11.1.24", - "symplify/package-builder": "<11.1.24", - "symplify/php-config-printer": "<11.1.24", - "symplify/phpstan-extensions": "<11.1.24", - "symplify/phpstan-rules": "<11.1.24", - "symplify/rule-doc-generator": "<11.1.24", - "symplify/smart-file-system": "<11.1.24", - "symplify/symfony-static-dumper": "<11.1.24", - "symplify/symplify-kernel": "<11.1.24", - "symplify/vendor-patches": "<11.1.24" + "symfony/translation-contracts": "<2.5" }, - "type": "library", - "extra": { - "branch-alias": { - "dev-main": "11.2-dev" - } + "require-dev": { + "symfony/error-handler": "^5.4|^6.0", + "symfony/http-client": "^5.4|^6.0", + "symfony/intl": "^6.2", + "symfony/translation-contracts": "^2.5|^3.0", + "symfony/var-exporter": "^5.4|^6.0" }, + "type": "library", "autoload": { + "files": [ + "Resources/functions.php" + ], "psr-4": { - "Symplify\\RuleDocGenerator\\": "src" - } + "Symfony\\Component\\String\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] }, "notification-url": "https://packagist.org/downloads/", "license": [ "MIT" ], - "description": "Contracts for production code of RuleDocGenerator", + "authors": [ + { + "name": "Nicolas Grekas", + "email": "p@tchwork.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Provides an object-oriented API to strings and deals with bytes, UTF-8 code points and grapheme clusters in a unified way", + "homepage": "https://symfony.com", + "keywords": [ + "grapheme", + "i18n", + "string", + "unicode", + "utf-8", + "utf8" + ], "support": { - "source": "https://github.com/symplify/rule-doc-generator-contracts/tree/11.1.24" + "source": "https://github.com/symfony/string/tree/v6.3.0" }, "funding": [ { - "url": "https://www.paypal.me/rectorphp", + "url": "https://symfony.com/sponsor", "type": "custom" }, { - "url": "https://github.com/tomasvotruba", + "url": "https://github.com/fabpot", "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" } ], - "time": "2022-12-23T15:01:58+00:00" + "time": "2023-03-21T21:06:29+00:00" }, { - "name": "symplify/smart-file-system", - "version": "11.1.24", + "name": "symfony/var-dumper", + "version": "v6.3.1", "source": { "type": "git", - "url": "https://github.com/symplify/smart-file-system.git", - "reference": "0f50b4fd024d096f36990bf15d4ca825398a42c1" + "url": "https://github.com/symfony/var-dumper.git", + "reference": "c81268d6960ddb47af17391a27d222bd58cf0515" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symplify/smart-file-system/zipball/0f50b4fd024d096f36990bf15d4ca825398a42c1", - "reference": "0f50b4fd024d096f36990bf15d4ca825398a42c1", + "url": "https://api.github.com/repos/symfony/var-dumper/zipball/c81268d6960ddb47af17391a27d222bd58cf0515", + "reference": "c81268d6960ddb47af17391a27d222bd58cf0515", "shasum": "" }, "require": { - "nette/utils": "^3.2", "php": ">=8.1", - "symfony/filesystem": "^6.2", - "symfony/finder": "^6.2" + "symfony/polyfill-mbstring": "~1.0" }, "conflict": { - "symplify/autowire-array-parameter": "<11.1.24", - "symplify/coding-standard": "<11.1.24", - "symplify/config-transformer": "<11.1.24", - "symplify/easy-ci": "<11.1.24", - "symplify/easy-coding-standard": "<11.1.24", - "symplify/easy-parallel": "<11.1.24", - "symplify/easy-testing": "<11.1.24", - "symplify/monorepo-builder": "<11.1.24", - "symplify/package-builder": "<11.1.24", - "symplify/php-config-printer": "<11.1.24", - "symplify/phpstan-extensions": "<11.1.24", - "symplify/phpstan-rules": "<11.1.24", - "symplify/rule-doc-generator": "<11.1.24", - "symplify/rule-doc-generator-contracts": "<11.1.24", - "symplify/symfony-static-dumper": "<11.1.24", - "symplify/symplify-kernel": "<11.1.24", - "symplify/vendor-patches": "<11.1.24" + "symfony/console": "<5.4" }, "require-dev": { - "phpunit/phpunit": "^9.5.26" + "ext-iconv": "*", + "symfony/console": "^5.4|^6.0", + "symfony/process": "^5.4|^6.0", + "symfony/uid": "^5.4|^6.0", + "twig/twig": "^2.13|^3.0.4" }, + "bin": [ + "Resources/bin/var-dump-server" + ], "type": "library", - "extra": { - "branch-alias": { - "dev-main": "11.2-dev" - } - }, "autoload": { + "files": [ + "Resources/functions/dump.php" + ], "psr-4": { - "Symplify\\SmartFileSystem\\": "src" - } + "Symfony\\Component\\VarDumper\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] }, "notification-url": "https://packagist.org/downloads/", "license": [ "MIT" ], - "description": "Sanitized FileInfo with safe getRealPath() and other handy methods", + "authors": [ + { + "name": "Nicolas Grekas", + "email": "p@tchwork.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Provides mechanisms for walking through any arbitrary PHP variable", + "homepage": "https://symfony.com", + "keywords": [ + "debug", + "dump" + ], "support": { - "source": "https://github.com/symplify/smart-file-system/tree/11.1.24" + "source": "https://github.com/symfony/var-dumper/tree/v6.3.1" }, "funding": [ { - "url": "https://www.paypal.me/rectorphp", + "url": "https://symfony.com/sponsor", "type": "custom" }, { - "url": "https://github.com/tomasvotruba", + "url": "https://github.com/fabpot", "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" } ], - "time": "2022-12-23T15:02:16+00:00" + "time": "2023-06-21T12:08:28+00:00" }, { - "name": "symplify/symplify-kernel", - "version": "11.1.24", + "name": "symplify/easy-coding-standard", + "version": "11.5.0", "source": { "type": "git", - "url": "https://github.com/symplify/symplify-kernel.git", - "reference": "f778f348138cbfa359515ef0b94b4e8d0f472f6b" + "url": "https://github.com/easy-coding-standard/easy-coding-standard.git", + "reference": "1d2400f7bfe92e3754ce71f0782f2c0521bade3d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symplify/symplify-kernel/zipball/f778f348138cbfa359515ef0b94b4e8d0f472f6b", - "reference": "f778f348138cbfa359515ef0b94b4e8d0f472f6b", + "url": "https://api.github.com/repos/easy-coding-standard/easy-coding-standard/zipball/1d2400f7bfe92e3754ce71f0782f2c0521bade3d", + "reference": "1d2400f7bfe92e3754ce71f0782f2c0521bade3d", "shasum": "" }, "require": { - "php": ">=8.1", - "symfony/console": "^6.2", - "symfony/dependency-injection": "6.1.*", - "symplify/autowire-array-parameter": "^11.1.24", - "symplify/package-builder": "^11.1.24", - "symplify/smart-file-system": "^11.1.24", - "webmozart/assert": "^1.11" + "php": ">=7.2" }, "conflict": { - "symplify/coding-standard": "<11.1.24", - "symplify/config-transformer": "<11.1.24", - "symplify/easy-ci": "<11.1.24", - "symplify/easy-coding-standard": "<11.1.24", - "symplify/easy-parallel": "<11.1.24", - "symplify/easy-testing": "<11.1.24", - "symplify/monorepo-builder": "<11.1.24", - "symplify/php-config-printer": "<11.1.24", - "symplify/phpstan-extensions": "<11.1.24", - "symplify/phpstan-rules": "<11.1.24", - "symplify/rule-doc-generator": "<11.1.24", - "symplify/rule-doc-generator-contracts": "<11.1.24", - "symplify/symfony-static-dumper": "<11.1.24", - "symplify/vendor-patches": "<11.1.24" - }, - "require-dev": { - "phpunit/phpunit": "^9.5.26" + "friendsofphp/php-cs-fixer": "<3.0", + "squizlabs/php_codesniffer": "<3.6", + "symplify/coding-standard": "<11.3" }, + "bin": [ + "bin/ecs" + ], "type": "library", - "extra": { - "branch-alias": { - "dev-main": "11.2-dev" - } - }, "autoload": { - "psr-4": { - "Symplify\\SymplifyKernel\\": "src" - } + "files": [ + "bootstrap.php" + ] }, "notification-url": "https://packagist.org/downloads/", "license": [ "MIT" ], - "description": "Internal Kernel for Symplify packages", + "description": "Use Coding Standard with 0-knowledge of PHP-CS-Fixer and PHP_CodeSniffer", + "keywords": [ + "Code style", + "automation", + "fixer", + "static analysis" + ], "support": { - "source": "https://github.com/symplify/symplify-kernel/tree/11.1.24" + "issues": "https://github.com/easy-coding-standard/easy-coding-standard/issues", + "source": "https://github.com/easy-coding-standard/easy-coding-standard/tree/11.5.0" }, - "time": "2022-12-23T15:02:18+00:00" + "funding": [ + { + "url": "https://www.paypal.me/rectorphp", + "type": "custom" + }, + { + "url": "https://github.com/tomasvotruba", + "type": "github" + } + ], + "time": "2023-06-21T06:26:15+00:00" }, { "name": "theseer/tokenizer", @@ -3796,22 +3963,22 @@ }, { "name": "tracy/tracy", - "version": "v2.9.5", + "version": "v2.10.2", "source": { "type": "git", "url": "https://github.com/nette/tracy.git", - "reference": "89936aa9fc428e14736c637ad535bcce6ddc6382" + "reference": "882fee7cf4258a602ad4a37461e837ed2ca1406b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/nette/tracy/zipball/89936aa9fc428e14736c637ad535bcce6ddc6382", - "reference": "89936aa9fc428e14736c637ad535bcce6ddc6382", + "url": "https://api.github.com/repos/nette/tracy/zipball/882fee7cf4258a602ad4a37461e837ed2ca1406b", + "reference": "882fee7cf4258a602ad4a37461e837ed2ca1406b", "shasum": "" }, "require": { "ext-json": "*", "ext-session": "*", - "php": ">=7.2 <8.3" + "php": ">=8.0 <8.3" }, "conflict": { "nette/di": "<3.0" @@ -3828,7 +3995,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "2.9-dev" + "dev-master": "2.10-dev" } }, "autoload": { @@ -3864,67 +4031,9 @@ ], "support": { "issues": "https://github.com/nette/tracy/issues", - "source": "https://github.com/nette/tracy/tree/v2.9.5" - }, - "time": "2022-11-18T02:50:22+00:00" - }, - { - "name": "webmozart/assert", - "version": "1.11.0", - "source": { - "type": "git", - "url": "https://github.com/webmozarts/assert.git", - "reference": "11cb2199493b2f8a3b53e7f19068fc6aac760991" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/webmozarts/assert/zipball/11cb2199493b2f8a3b53e7f19068fc6aac760991", - "reference": "11cb2199493b2f8a3b53e7f19068fc6aac760991", - "shasum": "" - }, - "require": { - "ext-ctype": "*", - "php": "^7.2 || ^8.0" - }, - "conflict": { - "phpstan/phpstan": "<0.12.20", - "vimeo/psalm": "<4.6.1 || 4.6.2" - }, - "require-dev": { - "phpunit/phpunit": "^8.5.13" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.10-dev" - } - }, - "autoload": { - "psr-4": { - "Webmozart\\Assert\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Bernhard Schussek", - "email": "bschussek@gmail.com" - } - ], - "description": "Assertions to validate method input/output with nice error messages.", - "keywords": [ - "assert", - "check", - "validate" - ], - "support": { - "issues": "https://github.com/webmozarts/assert/issues", - "source": "https://github.com/webmozarts/assert/tree/1.11.0" + "source": "https://github.com/nette/tracy/tree/v2.10.2" }, - "time": "2022-06-03T18:03:27+00:00" + "time": "2023-03-29T12:34:53+00:00" } ], "aliases": [], diff --git a/config/shopware-6.6.0.php b/config/shopware-6.6.0.php index 45cef46..5da858e 100644 --- a/config/shopware-6.6.0.php +++ b/config/shopware-6.6.0.php @@ -3,8 +3,6 @@ declare(strict_types=1); use Rector\Config\RectorConfig; -use Rector\Set\ValueObject\SetList; -use Rector\Symfony\Set\SymfonySetList; return static function (RectorConfig $rectorConfig): void { $rectorConfig->import(__DIR__ . '/v6.6/*'); diff --git a/config/v6.5/renaming.php b/config/v6.5/renaming.php index 4f8d9c7..1be7323 100644 --- a/config/v6.5/renaming.php +++ b/config/v6.5/renaming.php @@ -10,8 +10,6 @@ use Frosh\Rector\Rule\v65\MigrateCaptchaAnnotationToRouteRector; use Frosh\Rector\Rule\v65\MigrateLoginRequiredAnnotationToRouteRector; use Frosh\Rector\Rule\v65\MigrateRouteScopeToRouteDefaults; -use Frosh\Rector\Rule\v65\RedisConnectionFactoryCreateRector; -use Frosh\Rector\Rule\v65\ThemeCompilerPrefixRector; use Frosh\Rector\Rule\v65\ThumbnailGenerateSingleToMultiGenerateRector; use Rector\Arguments\Rector\MethodCall\RemoveMethodCallParamRector; use Rector\Arguments\ValueObject\RemoveMethodCallParam; @@ -73,8 +71,6 @@ $rectorConfig->rule(MigrateLoginRequiredAnnotationToRouteRector::class); $rectorConfig->rule(MigrateCaptchaAnnotationToRouteRector::class); $rectorConfig->rule(MigrateRouteScopeToRouteDefaults::class); - $rectorConfig->rule(RedisConnectionFactoryCreateRector::class); - $rectorConfig->rule(ThemeCompilerPrefixRector::class); $rectorConfig->rule(ThumbnailGenerateSingleToMultiGenerateRector::class); $rectorConfig->ruleWithConfiguration( diff --git a/config/v6.6/renaming.php b/config/v6.6/renaming.php index 6d0fb3d..8ea6314 100644 --- a/config/v6.6/renaming.php +++ b/config/v6.6/renaming.php @@ -2,25 +2,9 @@ declare(strict_types=1); -use Frosh\Rector\Rule\Class_\InterfaceReplacedWithAbstractClass; -use Frosh\Rector\Rule\Class_\InterfaceReplacedWithAbstractClassRector; -use Frosh\Rector\Rule\ClassConstructor\RemoveArgumentFromClassConstruct; -use Frosh\Rector\Rule\ClassConstructor\RemoveArgumentFromClassConstructRector; -use Frosh\Rector\Rule\v65\FakerPropertyToMethodCallRector; -use Frosh\Rector\Rule\v65\MigrateCaptchaAnnotationToRouteRector; -use Frosh\Rector\Rule\v65\MigrateLoginRequiredAnnotationToRouteRector; -use Frosh\Rector\Rule\v65\MigrateRouteScopeToRouteDefaults; -use Frosh\Rector\Rule\v65\RedisConnectionFactoryCreateRector; -use Frosh\Rector\Rule\v65\ThemeCompilerPrefixRector; -use Frosh\Rector\Rule\v65\ThumbnailGenerateSingleToMultiGenerateRector; -use Rector\Arguments\Rector\MethodCall\RemoveMethodCallParamRector; -use Rector\Arguments\ValueObject\RemoveMethodCallParam; use Rector\Config\RectorConfig; use Rector\Renaming\Rector\MethodCall\RenameMethodRector; -use Rector\Renaming\Rector\Name\RenameClassRector; use Rector\Renaming\ValueObject\MethodCallRename; -use Rector\Transform\Rector\Assign\PropertyFetchToMethodCallRector; -use Rector\Transform\ValueObject\PropertyFetchToMethodCall; return static function (RectorConfig $rectorConfig): void { $rectorConfig->import(__DIR__ . '/../config.php'); diff --git a/devenv.lock b/devenv.lock index 69189c9..b739216 100644 --- a/devenv.lock +++ b/devenv.lock @@ -3,11 +3,11 @@ "devenv": { "locked": { "dir": "src/modules", - "lastModified": 1683102061, - "narHash": "sha256-kOphT6V0uQUlFNBP3GBjs7DAU7fyZGGqCs9ue1gNY6E=", + "lastModified": 1689785879, + "narHash": "sha256-ofTzITQUNKiA2RBE7hLChVguua4AoHrr1TSvQyTzQ6Q=", "owner": "cachix", "repo": "devenv", - "rev": "ff1f29e41756553174d596cafe3a9fa77595100b", + "rev": "e207a8ef9911eba7f9a5e7761e47dc532931d482", "type": "github" }, "original": { @@ -34,12 +34,15 @@ } }, "flake-utils": { + "inputs": { + "systems": "systems" + }, "locked": { - "lastModified": 1667395993, - "narHash": "sha256-nuEHfE/LcWyuSWnS8t12N1wc105Qtau+/OdUAjtQ0rA=", + "lastModified": 1685518550, + "narHash": "sha256-o2d0KcvaXzTrPRIo0kOLV0/QXHhDQ5DTi+OxcjO8xqY=", "owner": "numtide", "repo": "flake-utils", - "rev": "5aed5285a952e0b949eb3ba02c12fa4fcfef535f", + "rev": "a1720a10a6cfe8234c0e93907ffe81be440f4cef", "type": "github" }, "original": { @@ -71,11 +74,11 @@ }, "nixpkgs": { "locked": { - "lastModified": 1683082554, - "narHash": "sha256-emO6mChgdBi4RwchtCCtAkvFf/OSkMyOQMqk6EZEPJA=", + "lastModified": 1689752456, + "narHash": "sha256-VOChdECcEI8ixz8QY+YC4JaNEFwQd1V8bA0G4B28Ki0=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "0d373d5af960504dd60c3d06c65e553b36ef29d8", + "rev": "7f256d7da238cb627ef189d56ed590739f42f13b", "type": "github" }, "original": { @@ -87,16 +90,16 @@ }, "nixpkgs-stable": { "locked": { - "lastModified": 1678872516, - "narHash": "sha256-/E1YwtMtFAu2KUQKV/1+KFuReYPANM2Rzehk84VxVoc=", + "lastModified": 1685801374, + "narHash": "sha256-otaSUoFEMM+LjBI1XL/xGB5ao6IwnZOXc47qhIgJe8U=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "9b8e5abb18324c7fe9f07cb100c3cd4a29cda8b8", + "rev": "c37ca420157f4abc31e26f436c1145f8951ff373", "type": "github" }, "original": { "owner": "NixOS", - "ref": "nixos-22.11", + "ref": "nixos-23.05", "repo": "nixpkgs", "type": "github" } @@ -112,11 +115,11 @@ "nixpkgs-stable": "nixpkgs-stable" }, "locked": { - "lastModified": 1682596858, - "narHash": "sha256-Hf9XVpqaGqe/4oDGr30W8HlsWvJXtMsEPHDqHZA6dDg=", + "lastModified": 1689668210, + "narHash": "sha256-XAATwDkaUxH958yXLs1lcEOmU6pSEIkatY3qjqk8X0E=", "owner": "cachix", "repo": "pre-commit-hooks.nix", - "rev": "fb58866e20af98779017134319b5663b8215d912", + "rev": "eb433bff05b285258be76513add6f6c57b441775", "type": "github" }, "original": { @@ -131,6 +134,21 @@ "nixpkgs": "nixpkgs", "pre-commit-hooks": "pre-commit-hooks" } + }, + "systems": { + "locked": { + "lastModified": 1681028828, + "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=", + "owner": "nix-systems", + "repo": "default", + "rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e", + "type": "github" + }, + "original": { + "owner": "nix-systems", + "repo": "default", + "type": "github" + } } }, "root": "root", diff --git a/docs/rector_rules_overview.md b/docs/rector_rules_overview.md index 0e64509..3081a33 100644 --- a/docs/rector_rules_overview.md +++ b/docs/rector_rules_overview.md @@ -1,4 +1,4 @@ -# 13 Rules Overview +# 11 Rules Overview ## AddArgumentToClassWithoutDefaultRector @@ -9,13 +9,19 @@ This Rector adds new default arguments in calls of defined methods and class typ - class: [`Frosh\Rector\Rule\ClassMethod\AddArgumentToClassWithoutDefaultRector`](../src/Rule/ClassMethod/AddArgumentToClassWithoutDefaultRector.php) ```php +ruleWithConfiguration(AddArgumentToClassWithoutDefaultRector::class, [new AddArgumentToClassWithoutDefault('SomeExampleClass', 'someMethod', 0, new ObjectType('SomeType'), 'someArgument')]); + $rectorConfig->ruleWithConfiguration(AddArgumentToClassWithoutDefaultRector::class, [ + new AddArgumentToClassWithoutDefault('SomeExampleClass', 'someMethod', 0, new ObjectType('SomeType'), 'someArgument'), + ]); }; ``` @@ -89,12 +95,18 @@ Replace UrlProviderInterface with AbstractClass - class: [`Frosh\Rector\Rule\Class_\InterfaceReplacedWithAbstractClassRector`](../src/Rule/Class_/InterfaceReplacedWithAbstractClassRector.php) ```php +ruleWithConfiguration(InterfaceReplacedWithAbstractClassRector::class, [new InterfaceReplacedWithAbstractClass('Foo', 'AbstractTest')]); + $rectorConfig->ruleWithConfiguration(InterfaceReplacedWithAbstractClassRector::class, [ + new InterfaceReplacedWithAbstractClass('Foo', 'AbstractTest'), + ]); }; ``` @@ -118,6 +130,10 @@ NAME - class: [`Frosh\Rector\Rule\ClassConstructor\MakeClassConstructorArgumentRequiredRector`](../src/Rule/ClassConstructor/MakeClassConstructorArgumentRequiredRector.php) ```php +ruleWithConfiguration(MakeClassConstructorArgumentRequiredRector::class, [new MakeClassConstructorArgumentRequired('Foo', 0, new ArrayType(new StringType(), new StringType()))]); + $rectorConfig->ruleWithConfiguration(MakeClassConstructorArgumentRequiredRector::class, [ + new MakeClassConstructorArgumentRequired('Foo', 0, new ArrayType(new StringType(), new StringType())), + ]); }; ``` @@ -198,20 +216,6 @@ NAME
-## RedisConnectionFactoryCreateRector - -Migrate RedisCommection static call to create connection on object - -- class: [`Frosh\Rector\Rule\v65\RedisConnectionFactoryCreateRector`](../src/Rule/v65/RedisConnectionFactoryCreateRector.php) - -```diff --RedisConnectionFactory::createConnection('redis://localhost'); -+$redisFactory = new RedisConnectionFactory; -+$redisFactory->create('redis://localhost'); -``` - -
- ## RemoveArgumentFromClassConstructRector This Rector removes an argument in the defined class construct. @@ -221,12 +225,18 @@ This Rector removes an argument in the defined class construct. - class: [`Frosh\Rector\Rule\ClassConstructor\RemoveArgumentFromClassConstructRector`](../src/Rule/ClassConstructor/RemoveArgumentFromClassConstructRector.php) ```php +ruleWithConfiguration(RemoveArgumentFromClassConstructRector::class, [new RemoveArgumentFromClassConstruct('SomeExampleClass', 0)]); + $rectorConfig->ruleWithConfiguration(RemoveArgumentFromClassConstructRector::class, [ + new RemoveArgumentFromClassConstruct('SomeExampleClass', 0), + ]); }; ``` @@ -239,20 +249,6 @@ return static function (RectorConfig $rectorConfig): void {
-## ThemeCompilerPrefixRector - -Removes ThemeCompiler::getThemePrefix deprecation - -- class: [`Frosh\Rector\Rule\v65\ThemeCompilerPrefixRector`](../src/Rule/v65/ThemeCompilerPrefixRector.php) - -```diff --\Shopware\Storefront\Theme\ThemeCompiler::getThemePrefix('bla'); -+$prefixBuilder = new \Shopware\Storefront\Theme\MD5ThemePathBuilder(); -+$prefixBuilder->assemblePath('bla'); -``` - -
- ## ThumbnailGenerateSingleToMultiGenerateRector Move single thumbnail generation call to batch diff --git a/ecs.php b/ecs.php deleted file mode 100644 index e61a79c..0000000 --- a/ecs.php +++ /dev/null @@ -1,27 +0,0 @@ -paths([ - __DIR__ . '/config', - __DIR__ . '/src', - __DIR__ . '/tests', - ]); - $ecsConfig->parallel(); - - $ecsConfig->ruleWithConfiguration(ArraySyntaxFixer::class, [ - 'syntax' => 'short', - ]); - - $ecsConfig->import(SetList::PSR_12); - $ecsConfig->import(SetList::ARRAY); - $ecsConfig->import(SetList::CLEAN_CODE); - $ecsConfig->import(SetList::STRICT); -}; diff --git a/src/Rule/ClassConstructor/MakeClassConstructorArgumentRequiredRector.php b/src/Rule/ClassConstructor/MakeClassConstructorArgumentRequiredRector.php index 58097f4..52248e2 100644 --- a/src/Rule/ClassConstructor/MakeClassConstructorArgumentRequiredRector.php +++ b/src/Rule/ClassConstructor/MakeClassConstructorArgumentRequiredRector.php @@ -66,6 +66,9 @@ public function refactor(Node $node): ?Node return $this->rebuildNew($node); } + /** + * @param MakeClassConstructorArgumentRequired[] $configuration + */ public function configure(array $configuration): void { $this->configuration = $configuration; @@ -106,7 +109,7 @@ private function rebuildClassMethod(Node\Stmt\ClassMethod $node): ?Node return null; } - private function rebuildNew(Node\Expr\New_ $node) + private function rebuildNew(Node\Expr\New_ $node): ?Node { $hasModified = false; @@ -120,6 +123,7 @@ private function rebuildNew(Node\Expr\New_ $node) } if ($config->getDefault()) { + /** @var Node\Name $arg */ $arg = $this->staticTypeMapper->mapPHPStanTypeToPhpParserNode($config->getDefault(), TypeKind::ANY); if ($config->getDefault() instanceof NullType) { diff --git a/src/Rule/ClassConstructor/RemoveArgumentFromClassConstructRector.php b/src/Rule/ClassConstructor/RemoveArgumentFromClassConstructRector.php index 97dcf39..313e2d2 100644 --- a/src/Rule/ClassConstructor/RemoveArgumentFromClassConstructRector.php +++ b/src/Rule/ClassConstructor/RemoveArgumentFromClassConstructRector.php @@ -64,6 +64,10 @@ public function refactor(Node $node) return $this->rebuildConstructor($node); } + /** + * @param AddArgumentToClassWithoutDefault[] $configuration + * @return void + */ public function configure(array $configuration): void { $this->configuration = $configuration; diff --git a/src/Rule/ClassMethod/AddArgumentToClassWithoutDefault.php b/src/Rule/ClassMethod/AddArgumentToClassWithoutDefault.php index adce259..8bd80c5 100644 --- a/src/Rule/ClassMethod/AddArgumentToClassWithoutDefault.php +++ b/src/Rule/ClassMethod/AddArgumentToClassWithoutDefault.php @@ -18,6 +18,9 @@ class AddArgumentToClassWithoutDefault protected $type; protected string $name; + /** + * @param \PHPStan\Type\Type|null $type + */ public function __construct(string $class, string $method, int $position, string $name, $type) { $this->class = $class; diff --git a/src/Rule/ClassMethod/AddArgumentToClassWithoutDefaultRector.php b/src/Rule/ClassMethod/AddArgumentToClassWithoutDefaultRector.php index 63f37fb..c3dd639 100644 --- a/src/Rule/ClassMethod/AddArgumentToClassWithoutDefaultRector.php +++ b/src/Rule/ClassMethod/AddArgumentToClassWithoutDefaultRector.php @@ -101,13 +101,15 @@ public function refactor(Node $node) return null; } - + /** + * @param AddArgumentToClassWithoutDefault[] $configuration + */ public function configure(array $configuration): void { $this->configuration = $configuration; } - private function isObjectTypeMatch($node, ObjectType $objectType): bool + private function isObjectTypeMatch(Node $node, ObjectType $objectType): bool { if ($node instanceof MethodCall) { return $this->isObjectType($node->var, $objectType); diff --git a/src/Rule/Class_/InterfaceReplacedWithAbstractClassRector.php b/src/Rule/Class_/InterfaceReplacedWithAbstractClassRector.php index bcbd12b..0421e3f 100644 --- a/src/Rule/Class_/InterfaceReplacedWithAbstractClassRector.php +++ b/src/Rule/Class_/InterfaceReplacedWithAbstractClassRector.php @@ -77,6 +77,9 @@ public function refactor(Node $node): ?Node return null; } + /** + * @param InterfaceReplacedWithAbstractClass[] $configuration + */ public function configure(array $configuration): void { $this->configuration = $configuration; diff --git a/src/Rule/v65/AddBanAllToReverseProxyRector.php b/src/Rule/v65/AddBanAllToReverseProxyRector.php index 8080e61..afbc178 100644 --- a/src/Rule/v65/AddBanAllToReverseProxyRector.php +++ b/src/Rule/v65/AddBanAllToReverseProxyRector.php @@ -55,6 +55,7 @@ public function refactor(Node $node) } $nodeFinder = new NodeFinder(); + // phpstan-ignore-next-line they should add template support $methodNames = array_map(static function (Node\Stmt\ClassMethod $method) { return (string) $method->name; }, $nodeFinder->findInstanceOf([$node], Node\Stmt\ClassMethod::class)); diff --git a/src/Rule/v65/RedisConnectionFactoryCreateRector.php b/src/Rule/v65/RedisConnectionFactoryCreateRector.php deleted file mode 100644 index f7962d6..0000000 --- a/src/Rule/v65/RedisConnectionFactoryCreateRector.php +++ /dev/null @@ -1,78 +0,0 @@ -nodesToAddCollector = $nodesToAddCollector; - } - - public function getRuleDefinition(): RuleDefinition - { - return new RuleDefinition( - 'Migrate RedisCommection static call to create connection on object', - [ - new CodeSample( - <<<'CODE_SAMPLE' -RedisConnectionFactory::createConnection('redis://localhost'); -CODE_SAMPLE - , - <<<'CODE_SAMPLE' -$redisFactory = new RedisConnectionFactory; -$redisFactory->create('redis://localhost'); -CODE_SAMPLE - ), - ], - ); - } - - public function getNodeTypes(): array - { - return [ - Node\Expr\StaticCall::class, - ]; - } - - /** - * @param Node\Expr\StaticCall $node - */ - public function refactor(Node $node) - { - if (!$this->nodeTypeResolver->isMethodStaticCallOrClassMethodObjectType( - $node, - new ObjectType('Shopware\Core\Framework\Adapter\Cache\RedisConnectionFactory') - )) { - return null; - } - - if (!$this->isName($node->name, 'createConnection')) { - return null; - } - - $factoryAssign = new Node\Expr\Assign( - new Node\Expr\Variable('redisFactory'), - new Node\Expr\New_(new Node\Name('Shopware\Core\Framework\Adapter\Cache\RedisConnectionFactory')), - ); - - $this->nodesToAddCollector->addNodeBeforeNode($factoryAssign, $node); - - return $this->nodeFactory->createMethodCall( - new Node\Expr\Variable('redisFactory'), - 'create', - $node->args - ); - } -} diff --git a/src/Rule/v65/ThemeCompilerPrefixRector.php b/src/Rule/v65/ThemeCompilerPrefixRector.php deleted file mode 100644 index 0268563..0000000 --- a/src/Rule/v65/ThemeCompilerPrefixRector.php +++ /dev/null @@ -1,68 +0,0 @@ -nodesToAddCollector = $nodesToAddCollector; - } - - public function getRuleDefinition(): RuleDefinition - { - return new RuleDefinition('Removes ThemeCompiler::getThemePrefix deprecation', [ - new CodeSample( - <<<'CODE_SAMPLE' -\Shopware\Storefront\Theme\ThemeCompiler::getThemePrefix('bla'); -CODE_SAMPLE - , - <<<'PHP' -$prefixBuilder = new \Shopware\Storefront\Theme\MD5ThemePathBuilder(); -$prefixBuilder->assemblePath('bla'); -PHP - ), - ]); - } - - public function getNodeTypes(): array - { - return [ - Node\Expr\StaticCall::class, - ]; - } - - /** - * @param Node\Expr\StaticCall $node - */ - public function refactor(Node $node) - { - if (!$this->isName($node->name, 'getThemePrefix')) { - return null; - } - - if (!$this->nodeTypeResolver->isMethodStaticCallOrClassMethodObjectType($node, new ObjectType('Shopware\Storefront\Theme\ThemeCompiler'))) { - return null; - } - - $assign = new Node\Expr\Assign( - new Node\Expr\Variable('themePrefixer'), - new Node\Expr\New_(new Node\Name('Shopware\Storefront\Theme\MD5ThemePathBuilder')) - ); - - $this->nodesToAddCollector->addNodeBeforeNode($assign, $node); - - return new Node\Expr\MethodCall(new Node\Expr\Variable('themePrefixer'), 'assemblePath', $node->args); - } -} diff --git a/src/Rule/v65/ThumbnailGenerateSingleToMultiGenerateRector.php b/src/Rule/v65/ThumbnailGenerateSingleToMultiGenerateRector.php index df68ccb..c1fba4a 100644 --- a/src/Rule/v65/ThumbnailGenerateSingleToMultiGenerateRector.php +++ b/src/Rule/v65/ThumbnailGenerateSingleToMultiGenerateRector.php @@ -17,12 +17,12 @@ public function getRuleDefinition(): RuleDefinition return new RuleDefinition('Move single thumbnail generation call to batch', [ new CodeSample( <<<'PHP' -$thumbnail->generateThumbnails($media, $context); -PHP + $thumbnail->generateThumbnails($media, $context); + PHP , <<<'PHP' -$thumbnail->generate(new MediaCollection([$media]), $context); -PHP + $thumbnail->generate(new MediaCollection([$media]), $context); + PHP ), ]); } @@ -47,7 +47,6 @@ public function refactor(Node $node): ?Node return null; } - $node->name = new Node\Name('generate'); $node->args[0] = new Node\Expr\New_(new Node\Name('Shopware\Core\Content\Media\MediaCollection'), [ new Node\Expr\Array_([$node->args[0]]), diff --git a/stubs/Shopware/Core/Content/Media/MediaCollection.php b/stubs/Shopware/Core/Content/Media/MediaCollection.php index 10694d2..654636c 100644 --- a/stubs/Shopware/Core/Content/Media/MediaCollection.php +++ b/stubs/Shopware/Core/Content/Media/MediaCollection.php @@ -1,8 +1,7 @@ -doTestFile($fileInfo); - } - - /** - * @return Iterator - */ - public function provideData(): Iterator - { - return $this->yieldFilesFromDirectory(dirname((new \ReflectionClass(static::class))->getFileName()) . '/Fixture'); - } - - public function provideConfigFilePath(): string - { - return dirname((new \ReflectionClass(static::class))->getFileName()) . '/config/configured_rule.php'; - } -} diff --git a/tests/Rector/ClassConstructor/MakeClassConstructorArgumentRequiredRector/RemoveArgumentFromClassConstructorRectorTest.php b/tests/Rector/ClassConstructor/MakeClassConstructorArgumentRequiredRector/RemoveArgumentFromClassConstructorRectorTest.php index d0b676b..2e6096c 100644 --- a/tests/Rector/ClassConstructor/MakeClassConstructorArgumentRequiredRector/RemoveArgumentFromClassConstructorRectorTest.php +++ b/tests/Rector/ClassConstructor/MakeClassConstructorArgumentRequiredRector/RemoveArgumentFromClassConstructorRectorTest.php @@ -6,6 +6,11 @@ use Frosh\Rector\Tests\Rector\AbstractFroshRectorTestCase; +/** + * @internal + * + * @coversNothing + */ final class RemoveArgumentFromClassConstructorRectorTest extends AbstractFroshRectorTestCase { } diff --git a/tests/Rector/ClassConstructor/MakeClassConstructorArgumentRequiredRector/config/configured_rule.php b/tests/Rector/ClassConstructor/MakeClassConstructorArgumentRequiredRector/config/configured_rule.php index c1f7c8f..beb87b8 100644 --- a/tests/Rector/ClassConstructor/MakeClassConstructorArgumentRequiredRector/config/configured_rule.php +++ b/tests/Rector/ClassConstructor/MakeClassConstructorArgumentRequiredRector/config/configured_rule.php @@ -13,6 +13,6 @@ MakeClassConstructorArgumentRequiredRector::class, [ new MakeClassConstructorArgumentRequired('Foo', 1, new NullType()), - ] + ], ); }; diff --git a/tests/Rector/ClassConstructor/RemoveArgumentFromClassConstructorRector/RemoveArgumentFromClassConstructorRectorTest.php b/tests/Rector/ClassConstructor/RemoveArgumentFromClassConstructorRector/RemoveArgumentFromClassConstructorRectorTest.php index e07c5c4..633e67d 100644 --- a/tests/Rector/ClassConstructor/RemoveArgumentFromClassConstructorRector/RemoveArgumentFromClassConstructorRectorTest.php +++ b/tests/Rector/ClassConstructor/RemoveArgumentFromClassConstructorRector/RemoveArgumentFromClassConstructorRectorTest.php @@ -6,6 +6,11 @@ use Frosh\Rector\Tests\Rector\AbstractFroshRectorTestCase; +/** + * @internal + * + * @coversNothing + */ final class RemoveArgumentFromClassConstructorRectorTest extends AbstractFroshRectorTestCase { } diff --git a/tests/Rector/ClassConstructor/RemoveArgumentFromClassConstructorRector/config/configured_rule.php b/tests/Rector/ClassConstructor/RemoveArgumentFromClassConstructorRector/config/configured_rule.php index 20659e5..75ea4a2 100644 --- a/tests/Rector/ClassConstructor/RemoveArgumentFromClassConstructorRector/config/configured_rule.php +++ b/tests/Rector/ClassConstructor/RemoveArgumentFromClassConstructorRector/config/configured_rule.php @@ -16,6 +16,6 @@ new RemoveArgumentFromClassConstruct('SomeMoreAdvancedExampleClass', 1), new RemoveArgumentFromClassConstruct('Foo', 1), new RemoveArgumentFromClassConstruct('Foo', 2), - ] + ], ); }; diff --git a/tests/Rector/ClassMethod/AddArgumentToClassWithoutDefaultValueRector/AddArgumentToClassWithoutDefaultValueRectorTest.php b/tests/Rector/ClassMethod/AddArgumentToClassWithoutDefaultValueRector/AddArgumentToClassWithoutDefaultValueRectorTest.php index 6623fd2..e69de29 100644 --- a/tests/Rector/ClassMethod/AddArgumentToClassWithoutDefaultValueRector/AddArgumentToClassWithoutDefaultValueRectorTest.php +++ b/tests/Rector/ClassMethod/AddArgumentToClassWithoutDefaultValueRector/AddArgumentToClassWithoutDefaultValueRectorTest.php @@ -1,11 +0,0 @@ -