From 2905da153ea1cb797c0b14188ec510970a26a1b3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20M=C3=B6ller?= Date: Tue, 10 Oct 2023 17:46:11 +0200 Subject: [PATCH 001/111] Enhancement: Update ergebnis/composer-normalize --- .phive/phars.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.phive/phars.xml b/.phive/phars.xml index de545561..9a22cb9a 100644 --- a/.phive/phars.xml +++ b/.phive/phars.xml @@ -1,5 +1,5 @@ - + From 773c0acedbbf580d2d44bcd9076d1ff03e8fba67 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20M=C3=B6ller?= Date: Tue, 10 Oct 2023 17:46:30 +0200 Subject: [PATCH 002/111] Enhancement: Update maglnet/composer-require-checker --- .phive/phars.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.phive/phars.xml b/.phive/phars.xml index 9a22cb9a..3a3d9fb2 100644 --- a/.phive/phars.xml +++ b/.phive/phars.xml @@ -1,5 +1,5 @@ - + From a5a835fcdad9d7ebf096ad48525df1793bf07169 Mon Sep 17 00:00:00 2001 From: Dan Wallis Date: Wed, 11 Oct 2023 11:45:15 +0100 Subject: [PATCH 003/111] Improve test coverage --- psalm-baseline.xml | 6 ------ src/Format/JsonEncodeOptions.php | 2 +- src/Format/NewLine.php | 2 +- src/Vendor/Composer/PackageHashNormalizer.php | 2 +- src/Vendor/Composer/VersionConstraintNormalizer.php | 2 +- .../HasProperty/RequireAndRequireDev/normalized.json | 10 ++++++++++ .../Yes/HasProperty/RequireAndRequireDev/original.json | 10 ++++++++++ .../HasEntries/Yes/IsSortedByKey/Yes/normalized.json | 1 + .../HasEntries/Yes/IsSortedByKey/Yes/original.json | 1 + .../Yes/IsSortedByPackage/No/normalized.json | 1 + .../HasEntries/Yes/IsSortedByPackage/No/original.json | 1 + test/Unit/Format/IndentTest.php | 2 ++ test/Unit/Format/JsonEncodeOptionsTest.php | 2 +- test/Unit/Format/NewLineTest.php | 1 + .../Vendor/Composer/ComposerJsonNormalizerTest.php | 1 + 15 files changed, 33 insertions(+), 11 deletions(-) create mode 100644 test/Fixture/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/RequireAndRequireDev/normalized.json create mode 100644 test/Fixture/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/RequireAndRequireDev/original.json diff --git a/psalm-baseline.xml b/psalm-baseline.xml index 300b4c0e..1386701f 100644 --- a/psalm-baseline.xml +++ b/psalm-baseline.xml @@ -36,17 +36,11 @@ $value - - $value - $value - - $value - diff --git a/src/Format/JsonEncodeOptions.php b/src/Format/JsonEncodeOptions.php index 051c1573..2b153be9 100644 --- a/src/Format/JsonEncodeOptions.php +++ b/src/Format/JsonEncodeOptions.php @@ -47,7 +47,7 @@ public static function fromJson(Json $json): self $jsonEncodeOptions = 0; if (!\str_contains($json->encoded(), '\/')) { - $jsonEncodeOptions |= \JSON_UNESCAPED_SLASHES; + $jsonEncodeOptions = \JSON_UNESCAPED_SLASHES; } if (1 !== \preg_match('/(\\\\+)u([0-9a-f]{4})/i', $json->encoded())) { diff --git a/src/Format/NewLine.php b/src/Format/NewLine.php index 2f479054..c962a480 100644 --- a/src/Format/NewLine.php +++ b/src/Format/NewLine.php @@ -30,7 +30,7 @@ private function __construct(private readonly string $value) */ public static function fromString(string $value): self { - if (1 !== \preg_match('/^(?>\r\n|\n|\r)$/', $value)) { + if ("\n" !== $value && "\r" !== $value && "\r\n" !== $value) { throw Exception\InvalidNewLineString::fromString($value); } diff --git a/src/Vendor/Composer/PackageHashNormalizer.php b/src/Vendor/Composer/PackageHashNormalizer.php index 019134a8..0f73d4dd 100644 --- a/src/Vendor/Composer/PackageHashNormalizer.php +++ b/src/Vendor/Composer/PackageHashNormalizer.php @@ -51,7 +51,7 @@ public function normalize(Json $json): Json foreach ($objectPropertiesThatShouldBeNormalized as $name => $value) { /** @var array $packages */ - $packages = (array) $decoded->{$name}; + $packages = (array) $value; if ([] === $packages) { continue; diff --git a/src/Vendor/Composer/VersionConstraintNormalizer.php b/src/Vendor/Composer/VersionConstraintNormalizer.php index 2ac9a6cf..91031a6a 100644 --- a/src/Vendor/Composer/VersionConstraintNormalizer.php +++ b/src/Vendor/Composer/VersionConstraintNormalizer.php @@ -50,7 +50,7 @@ public function normalize(Json $json): Json } foreach ($objectPropertiesThatShouldBeNormalized as $name => $value) { - $packages = (array) $decoded->{$name}; + $packages = (array) $value; if ([] === $packages) { continue; diff --git a/test/Fixture/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/RequireAndRequireDev/normalized.json b/test/Fixture/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/RequireAndRequireDev/normalized.json new file mode 100644 index 00000000..602cd33e --- /dev/null +++ b/test/Fixture/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/RequireAndRequireDev/normalized.json @@ -0,0 +1,10 @@ +{ + "description": "This test exists to cover certain mutants from infection/infection", + "require": {}, + "require-dev": { + "ergebnis/overlapping-version-constraints-1": "^1.0 || 3.4.5", + "ergebnis/overlapping-version-constraints-2": "^1.0 || ^2.0", + "ergebnis/separator-mixing": "^1.0 || ^1.2 >=1.2.4 <1.2.7", + "ergebnis/whitespace-around-version": "*" + } +} diff --git a/test/Fixture/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/RequireAndRequireDev/original.json b/test/Fixture/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/RequireAndRequireDev/original.json new file mode 100644 index 00000000..12260a8f --- /dev/null +++ b/test/Fixture/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/RequireAndRequireDev/original.json @@ -0,0 +1,10 @@ +{ + "description": "This test exists to cover certain mutants from infection/infection", + "require": {}, + "require-dev": { + "ergebnis/whitespace-around-version": " * ", + "ergebnis/overlapping-version-constraints-1": "3.4.5 || ^1.0 || ^1.1 || ^1.2", + "ergebnis/overlapping-version-constraints-2": "^1.0 || ^2.0 || ^1.1 || ^2.1", + "ergebnis/separator-mixing": "^1.0 | ^1.1 || ^1.2,<1.2.7 >=1.2.4 || ^1.4" + } +} diff --git a/test/Fixture/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/Suggest/HasEntries/Yes/IsSortedByKey/Yes/normalized.json b/test/Fixture/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/Suggest/HasEntries/Yes/IsSortedByKey/Yes/normalized.json index ced72310..40459a03 100644 --- a/test/Fixture/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/Suggest/HasEntries/Yes/IsSortedByKey/Yes/normalized.json +++ b/test/Fixture/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/Suggest/HasEntries/Yes/IsSortedByKey/Yes/normalized.json @@ -1,5 +1,6 @@ { "homepage": "https://getcomposer.org/doc/04-schema.md#suggest", + "require": {}, "suggest": { "php": "Nothing works without it", "hhvm": "Okay", diff --git a/test/Fixture/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/Suggest/HasEntries/Yes/IsSortedByKey/Yes/original.json b/test/Fixture/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/Suggest/HasEntries/Yes/IsSortedByKey/Yes/original.json index db64e45e..fa2fa640 100644 --- a/test/Fixture/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/Suggest/HasEntries/Yes/IsSortedByKey/Yes/original.json +++ b/test/Fixture/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/Suggest/HasEntries/Yes/IsSortedByKey/Yes/original.json @@ -1,5 +1,6 @@ { "homepage": "https://getcomposer.org/doc/04-schema.md#suggest", + "require": {}, "suggest": { "php": "Nothing works without it", "hhvm": "Okay", diff --git a/test/Template/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/ValueContainsPackagesAndVersionConstraints/HasEntries/Yes/IsSortedByPackage/No/normalized.json b/test/Template/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/ValueContainsPackagesAndVersionConstraints/HasEntries/Yes/IsSortedByPackage/No/normalized.json index cae0ba2c..b60978fb 100644 --- a/test/Template/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/ValueContainsPackagesAndVersionConstraints/HasEntries/Yes/IsSortedByPackage/No/normalized.json +++ b/test/Template/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/ValueContainsPackagesAndVersionConstraints/HasEntries/Yes/IsSortedByPackage/No/normalized.json @@ -5,6 +5,7 @@ "ext-foo": "*", "lib-baz": "*", "composer-plugin-api": "*", + "0-test/sort-order": "*", "acquia/drupal-environment-detector": "*", "ergebnis/php-cs-fixer-config": "*", "ergebnis/test-util": "*" diff --git a/test/Template/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/ValueContainsPackagesAndVersionConstraints/HasEntries/Yes/IsSortedByPackage/No/original.json b/test/Template/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/ValueContainsPackagesAndVersionConstraints/HasEntries/Yes/IsSortedByPackage/No/original.json index 4f7ecc1e..36aba36a 100644 --- a/test/Template/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/ValueContainsPackagesAndVersionConstraints/HasEntries/Yes/IsSortedByPackage/No/original.json +++ b/test/Template/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/ValueContainsPackagesAndVersionConstraints/HasEntries/Yes/IsSortedByPackage/No/original.json @@ -7,6 +7,7 @@ "acquia/drupal-environment-detector": "*", "ext-foo": "*", "composer-plugin-api": "*", + "0-test/sort-order": "*", "php": "*" } } diff --git a/test/Unit/Format/IndentTest.php b/test/Unit/Format/IndentTest.php index f25c8611..7ad6c197 100644 --- a/test/Unit/Format/IndentTest.php +++ b/test/Unit/Format/IndentTest.php @@ -43,6 +43,7 @@ public function testFromSizeAndStyleRejectsInvalidSize(int $size): void $style = self::faker()->randomElement(\array_keys(Format\Indent::CHARACTERS)); $this->expectException(Exception\InvalidIndentSize::class); + $this->expectExceptionMessage(\sprintf('Size needs to be greater than %d, but %d is not.', 0, $size)); Format\Indent::fromSizeAndStyle( $size, @@ -76,6 +77,7 @@ public function testFromSizeAndStyleRejectsInvalidStyle(): void $style = $faker->sentence(); $this->expectException(Exception\InvalidIndentStyle::class); + $this->expectExceptionMessage(\sprintf('Style needs to be one of "space", "tab", but "%s" is not.', $style)); Format\Indent::fromSizeAndStyle( $size, diff --git a/test/Unit/Format/JsonEncodeOptionsTest.php b/test/Unit/Format/JsonEncodeOptionsTest.php index 7d0efaf0..cb878469 100644 --- a/test/Unit/Format/JsonEncodeOptionsTest.php +++ b/test/Unit/Format/JsonEncodeOptionsTest.php @@ -112,7 +112,7 @@ public static function provideJsonEncodeOptionsAndEncoded(): array [ \JSON_UNESCAPED_SLASHES, '{ - "name": "Andreas M\u00f6ller", + "name": "Andreas M\u00F6ller", "url": "https://github.com/ergebnis/json-normalizer" }', ], diff --git a/test/Unit/Format/NewLineTest.php b/test/Unit/Format/NewLineTest.php index 94056b4f..acf6e1f9 100644 --- a/test/Unit/Format/NewLineTest.php +++ b/test/Unit/Format/NewLineTest.php @@ -26,6 +26,7 @@ final class NewLineTest extends Framework\TestCase public function testFromStringRejectsInvalidNewLineString(string $string): void { $this->expectException(Exception\InvalidNewLineString::class); + $this->expectExceptionMessage(\sprintf('"%s" is not a valid new-line character sequence.', $string)); Format\NewLine::fromString($string); } diff --git a/test/Unit/Vendor/Composer/ComposerJsonNormalizerTest.php b/test/Unit/Vendor/Composer/ComposerJsonNormalizerTest.php index d33c472e..73faf43f 100644 --- a/test/Unit/Vendor/Composer/ComposerJsonNormalizerTest.php +++ b/test/Unit/Vendor/Composer/ComposerJsonNormalizerTest.php @@ -23,6 +23,7 @@ use Ergebnis\Json\Normalizer\WithFinalNewLineNormalizer; use PHPUnit\Framework; +#[Framework\Attributes\CoversClass(SchemaNormalizer::class)] #[Framework\Attributes\CoversClass(Vendor\Composer\BinNormalizer::class)] #[Framework\Attributes\CoversClass(Vendor\Composer\ComposerJsonNormalizer::class)] #[Framework\Attributes\CoversClass(Vendor\Composer\ConfigHashNormalizer::class)] From 38173fbd19eba8d2cdaeb67c96696bac9a20c597 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20M=C3=B6ller?= Date: Wed, 11 Oct 2023 14:55:17 +0200 Subject: [PATCH 004/111] Enhancement: Add hacktoberfest-accepted label --- .github/settings.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/settings.yml b/.github/settings.yml index 4980d48e..a819bdf0 100644 --- a/.github/settings.yml +++ b/.github/settings.yml @@ -59,6 +59,10 @@ labels: color: "0e8a16" description: "" + - name: "hacktoberfest-accepted" + color: "ec4237" + description: "" + - name: "question" color: "cc317c" description: "" From c80863ec7b64bdac30f1099a1ff8625c3219a37a Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 12 Oct 2023 20:37:50 +0000 Subject: [PATCH 005/111] composer(deps-dev): Bump ergebnis/php-cs-fixer-config Bumps [ergebnis/php-cs-fixer-config](https://github.com/ergebnis/php-cs-fixer-config) from 6.7.0 to 6.8.1. - [Release notes](https://github.com/ergebnis/php-cs-fixer-config/releases) - [Changelog](https://github.com/ergebnis/php-cs-fixer-config/blob/main/CHANGELOG.md) - [Commits](https://github.com/ergebnis/php-cs-fixer-config/compare/6.7.0...6.8.1) --- updated-dependencies: - dependency-name: ergebnis/php-cs-fixer-config dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- composer.json | 2 +- composer.lock | 42 ++++++++++++++++++++---------------------- 2 files changed, 21 insertions(+), 23 deletions(-) diff --git a/composer.json b/composer.json index 436f5be5..f9ee8f19 100644 --- a/composer.json +++ b/composer.json @@ -33,7 +33,7 @@ "composer/semver": "^3.4.0", "ergebnis/data-provider": "^3.0.0", "ergebnis/license": "^2.2.0", - "ergebnis/php-cs-fixer-config": "~6.7.0", + "ergebnis/php-cs-fixer-config": "~6.8.1", "ergebnis/phpunit-slow-test-detector": "^2.3.0", "fakerphp/faker": "^1.23.0", "infection/infection": "~0.27.4", diff --git a/composer.lock b/composer.lock index c8351734..1dd6bd4a 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "bbce9ab2460a616b1a06c63356176d6b", + "content-hash": "bdc34ae1c045e195b3f12395d8f13c33", "packages": [ { "name": "ergebnis/json", @@ -674,16 +674,16 @@ }, { "name": "composer/pcre", - "version": "3.1.0", + "version": "3.1.1", "source": { "type": "git", "url": "https://github.com/composer/pcre.git", - "reference": "4bff79ddd77851fe3cdd11616ed3f92841ba5bd2" + "reference": "00104306927c7a0919b4ced2aaa6782c1e61a3c9" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/composer/pcre/zipball/4bff79ddd77851fe3cdd11616ed3f92841ba5bd2", - "reference": "4bff79ddd77851fe3cdd11616ed3f92841ba5bd2", + "url": "https://api.github.com/repos/composer/pcre/zipball/00104306927c7a0919b4ced2aaa6782c1e61a3c9", + "reference": "00104306927c7a0919b4ced2aaa6782c1e61a3c9", "shasum": "" }, "require": { @@ -725,7 +725,7 @@ ], "support": { "issues": "https://github.com/composer/pcre/issues", - "source": "https://github.com/composer/pcre/tree/3.1.0" + "source": "https://github.com/composer/pcre/tree/3.1.1" }, "funding": [ { @@ -741,7 +741,7 @@ "type": "tidelift" } ], - "time": "2022-11-17T09:50:14+00:00" + "time": "2023-10-11T07:11:09+00:00" }, { "name": "composer/semver", @@ -1097,27 +1097,27 @@ }, { "name": "ergebnis/php-cs-fixer-config", - "version": "6.7.0", + "version": "6.8.1", "source": { "type": "git", "url": "https://github.com/ergebnis/php-cs-fixer-config.git", - "reference": "f31be0413ac899677743301c25ec47f46101ba8a" + "reference": "b407b11e525c31cb760c46ec14c02c4bcd8983ed" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/ergebnis/php-cs-fixer-config/zipball/f31be0413ac899677743301c25ec47f46101ba8a", - "reference": "f31be0413ac899677743301c25ec47f46101ba8a", + "url": "https://api.github.com/repos/ergebnis/php-cs-fixer-config/zipball/b407b11e525c31cb760c46ec14c02c4bcd8983ed", + "reference": "b407b11e525c31cb760c46ec14c02c4bcd8983ed", "shasum": "" }, "require": { "erickskrauch/php-cs-fixer-custom-fixers": "~1.2.0", "ext-filter": "*", - "friendsofphp/php-cs-fixer": "~3.34.1", + "friendsofphp/php-cs-fixer": "~3.35.1", "kubawerlos/php-cs-fixer-custom-fixers": "~3.16.2", "php": "~8.1.0 || ~8.2.0 || ~8.3.0" }, "require-dev": { - "ergebnis/composer-normalize": "^2.38.0", + "ergebnis/composer-normalize": "^2.39.0", "ergebnis/data-provider": "^3.0.0", "ergebnis/license": "^2.2.0", "ergebnis/phpunit-slow-test-detector": "^2.3.0", @@ -1160,7 +1160,7 @@ "security": "https://github.com/ergebnis/php-cs-fixer-config/blob/main/.github/SECURITY.md", "source": "https://github.com/ergebnis/php-cs-fixer-config" }, - "time": "2023-10-10T07:06:18+00:00" + "time": "2023-10-12T14:47:08+00:00" }, { "name": "ergebnis/phpunit-slow-test-detector", @@ -1524,16 +1524,16 @@ }, { "name": "friendsofphp/php-cs-fixer", - "version": "v3.34.1", + "version": "v3.35.1", "source": { "type": "git", "url": "https://github.com/PHP-CS-Fixer/PHP-CS-Fixer.git", - "reference": "98bf1b1068b4ceddbbc2a2b70b67a5e380add9e3" + "reference": "ec1ccc264994b6764882669973ca435cf05bab08" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/PHP-CS-Fixer/PHP-CS-Fixer/zipball/98bf1b1068b4ceddbbc2a2b70b67a5e380add9e3", - "reference": "98bf1b1068b4ceddbbc2a2b70b67a5e380add9e3", + "url": "https://api.github.com/repos/PHP-CS-Fixer/PHP-CS-Fixer/zipball/ec1ccc264994b6764882669973ca435cf05bab08", + "reference": "ec1ccc264994b6764882669973ca435cf05bab08", "shasum": "" }, "require": { @@ -1566,8 +1566,6 @@ "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" }, @@ -1607,7 +1605,7 @@ ], "support": { "issues": "https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues", - "source": "https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/tree/v3.34.1" + "source": "https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/tree/v3.35.1" }, "funding": [ { @@ -1615,7 +1613,7 @@ "type": "github" } ], - "time": "2023-10-03T23:51:05+00:00" + "time": "2023-10-12T13:47:26+00:00" }, { "name": "infection/abstract-testframework-adapter", From ac36525a9af08b52ff0dc7c467816f4fbe663380 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 13 Oct 2023 20:13:01 +0000 Subject: [PATCH 006/111] composer(deps-dev): Bump ergebnis/phpunit-slow-test-detector Bumps [ergebnis/phpunit-slow-test-detector](https://github.com/ergebnis/phpunit-slow-test-detector) from 2.3.0 to 2.3.2. - [Release notes](https://github.com/ergebnis/phpunit-slow-test-detector/releases) - [Changelog](https://github.com/ergebnis/phpunit-slow-test-detector/blob/main/CHANGELOG.md) - [Commits](https://github.com/ergebnis/phpunit-slow-test-detector/compare/2.3.0...2.3.2) --- updated-dependencies: - dependency-name: ergebnis/phpunit-slow-test-detector dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- composer.json | 2 +- composer.lock | 32 +++++++++++++++++--------------- 2 files changed, 18 insertions(+), 16 deletions(-) diff --git a/composer.json b/composer.json index f9ee8f19..a2a5d652 100644 --- a/composer.json +++ b/composer.json @@ -34,7 +34,7 @@ "ergebnis/data-provider": "^3.0.0", "ergebnis/license": "^2.2.0", "ergebnis/php-cs-fixer-config": "~6.8.1", - "ergebnis/phpunit-slow-test-detector": "^2.3.0", + "ergebnis/phpunit-slow-test-detector": "^2.3.2", "fakerphp/faker": "^1.23.0", "infection/infection": "~0.27.4", "phpunit/phpunit": "^10.4.1", diff --git a/composer.lock b/composer.lock index 1dd6bd4a..6066b305 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "bdc34ae1c045e195b3f12395d8f13c33", + "content-hash": "f7f68c51060e562ddc60487285648e19", "packages": [ { "name": "ergebnis/json", @@ -1164,31 +1164,31 @@ }, { "name": "ergebnis/phpunit-slow-test-detector", - "version": "2.3.0", + "version": "2.3.2", "source": { "type": "git", "url": "https://github.com/ergebnis/phpunit-slow-test-detector.git", - "reference": "ea03f0fb94a8ba8b2428d5dbbdcda3aa2f6b529a" + "reference": "59b2297fdcfe2578fed146c1257675687cd2045a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/ergebnis/phpunit-slow-test-detector/zipball/ea03f0fb94a8ba8b2428d5dbbdcda3aa2f6b529a", - "reference": "ea03f0fb94a8ba8b2428d5dbbdcda3aa2f6b529a", + "url": "https://api.github.com/repos/ergebnis/phpunit-slow-test-detector/zipball/59b2297fdcfe2578fed146c1257675687cd2045a", + "reference": "59b2297fdcfe2578fed146c1257675687cd2045a", "shasum": "" }, "require": { - "php": "~8.1.0 || ~8.2.0", + "php": "~8.1.0 || ~8.2.0 || ~8.3.0", "phpunit/phpunit": "^10.1.3" }, "require-dev": { - "ergebnis/composer-normalize": "^2.31.0", - "ergebnis/data-provider": "^1.3.0", - "ergebnis/license": "^2.1.0", - "ergebnis/php-cs-fixer-config": "^5.7.0", - "fakerphp/faker": "^1.22.0", + "ergebnis/composer-normalize": "^2.39.0", + "ergebnis/data-provider": "^3.0.0", + "ergebnis/license": "^2.2.0", + "ergebnis/php-cs-fixer-config": "^6.7.0", + "fakerphp/faker": "^1.23.0", "psalm/plugin-phpunit": "~0.18.4", - "rector/rector": "~0.16.0", - "vimeo/psalm": "^5.12.0" + "rector/rector": "~0.18.5", + "vimeo/psalm": "^5.15.0" }, "suggest": { "phpunit/phpunit": "^10.0.1" @@ -1212,7 +1212,8 @@ "authors": [ { "name": "Andreas Möller", - "email": "am@localheinz.com" + "email": "am@localheinz.com", + "homepage": "https://localheinz.com" } ], "description": "Provides facilities for detecting slow tests in phpunit/phpunit.", @@ -1226,9 +1227,10 @@ ], "support": { "issues": "https://github.com/ergebnis/phpunit-slow-test-detector/issues", + "security": "https://github.com/ergebnis/phpunit-slow-test-detector/blob/main/.github/SECURITY.md", "source": "https://github.com/ergebnis/phpunit-slow-test-detector" }, - "time": "2023-05-30T17:23:26+00:00" + "time": "2023-10-13T08:41:07+00:00" }, { "name": "erickskrauch/php-cs-fixer-custom-fixers", From 18cb2967ee650c9f15f26320adb95eb9f4ec01a3 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 16 Oct 2023 20:59:01 +0000 Subject: [PATCH 007/111] composer(deps-dev): Bump infection/infection from 0.27.4 to 0.27.6 Bumps [infection/infection](https://github.com/infection/infection) from 0.27.4 to 0.27.6. - [Release notes](https://github.com/infection/infection/releases) - [Changelog](https://github.com/infection/infection/blob/master/CHANGELOG.md) - [Commits](https://github.com/infection/infection/compare/0.27.4...0.27.6) --- updated-dependencies: - dependency-name: infection/infection dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- composer.json | 2 +- composer.lock | 16 ++++++++-------- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/composer.json b/composer.json index a2a5d652..f860b4bd 100644 --- a/composer.json +++ b/composer.json @@ -36,7 +36,7 @@ "ergebnis/php-cs-fixer-config": "~6.8.1", "ergebnis/phpunit-slow-test-detector": "^2.3.2", "fakerphp/faker": "^1.23.0", - "infection/infection": "~0.27.4", + "infection/infection": "~0.27.6", "phpunit/phpunit": "^10.4.1", "psalm/plugin-phpunit": "~0.18.4", "rector/rector": "~0.18.5", diff --git a/composer.lock b/composer.lock index 6066b305..f60ede39 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "f7f68c51060e562ddc60487285648e19", + "content-hash": "9986faaa6d7ff56da77c9e62552992db", "packages": [ { "name": "ergebnis/json", @@ -1796,16 +1796,16 @@ }, { "name": "infection/infection", - "version": "0.27.4", + "version": "0.27.6", "source": { "type": "git", "url": "https://github.com/infection/infection.git", - "reference": "2789fdd689689b0c85f2c0ae9db50c8d2b39fb92" + "reference": "3a39f6cbfadcd6f32db6221e3c5e4ae9aa99671c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/infection/infection/zipball/2789fdd689689b0c85f2c0ae9db50c8d2b39fb92", - "reference": "2789fdd689689b0c85f2c0ae9db50c8d2b39fb92", + "url": "https://api.github.com/repos/infection/infection/zipball/3a39f6cbfadcd6f32db6221e3c5e4ae9aa99671c", + "reference": "3a39f6cbfadcd6f32db6221e3c5e4ae9aa99671c", "shasum": "" }, "require": { @@ -1853,7 +1853,7 @@ "phpstan/phpstan-webmozart-assert": "^1.0.2", "phpunit/phpunit": "^9.5.5", "rector/rector": "^0.16.0", - "sidz/phpstan-rules": "^0.3.0", + "sidz/phpstan-rules": "^0.4.0", "symfony/phpunit-bridge": "^5.4 || ^6.0", "symfony/yaml": "^5.4 || ^6.0", "thecodingmachine/phpstan-safe-rule": "^1.2.0" @@ -1912,7 +1912,7 @@ ], "support": { "issues": "https://github.com/infection/infection/issues", - "source": "https://github.com/infection/infection/tree/0.27.4" + "source": "https://github.com/infection/infection/tree/0.27.6" }, "funding": [ { @@ -1924,7 +1924,7 @@ "type": "open_collective" } ], - "time": "2023-10-09T12:03:22+00:00" + "time": "2023-10-16T11:04:15+00:00" }, { "name": "kubawerlos/php-cs-fixer-custom-fixers", From 267392f6e8fc8076d824d1591a837da42b569103 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 17 Oct 2023 20:11:41 +0000 Subject: [PATCH 008/111] github-actions(deps): Bump actions/checkout from 4.1.0 to 4.1.1 Bumps [actions/checkout](https://github.com/actions/checkout) from 4.1.0 to 4.1.1. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v4.1.0...v4.1.1) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- .github/workflows/integrate.yaml | 16 ++++++++-------- .github/workflows/renew.yaml | 2 +- .github/workflows/update.yaml | 2 +- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/integrate.yaml b/.github/workflows/integrate.yaml index 13c8291d..ad2759c5 100644 --- a/.github/workflows/integrate.yaml +++ b/.github/workflows/integrate.yaml @@ -26,7 +26,7 @@ jobs: steps: - name: "Checkout" - uses: "actions/checkout@v4.1.0" + uses: "actions/checkout@v4.1.1" - name: "Set up PHP" uses: "shivammathur/setup-php@2.26.0" @@ -87,7 +87,7 @@ jobs: steps: - name: "Checkout" - uses: "actions/checkout@v4.1.0" + uses: "actions/checkout@v4.1.1" - name: "Lint YAML files" uses: "ibiqlik/action-yamllint@v3.1.1" @@ -165,7 +165,7 @@ jobs: steps: - name: "Checkout" - uses: "actions/checkout@v4.1.0" + uses: "actions/checkout@v4.1.1" - name: "Set up PHP" uses: "shivammathur/setup-php@2.26.0" @@ -221,7 +221,7 @@ jobs: steps: - name: "Checkout" - uses: "actions/checkout@v4.1.0" + uses: "actions/checkout@v4.1.1" - name: "Set up PHP" uses: "shivammathur/setup-php@2.26.0" @@ -273,7 +273,7 @@ jobs: steps: - name: "Checkout" - uses: "actions/checkout@v4.1.0" + uses: "actions/checkout@v4.1.1" - name: "Set up PHP" uses: "shivammathur/setup-php@2.26.0" @@ -335,7 +335,7 @@ jobs: steps: - name: "Checkout" - uses: "actions/checkout@v4.1.0" + uses: "actions/checkout@v4.1.1" - name: "Set up PHP" uses: "shivammathur/setup-php@2.26.0" @@ -385,7 +385,7 @@ jobs: steps: - name: "Checkout" - uses: "actions/checkout@v4.1.0" + uses: "actions/checkout@v4.1.1" - name: "Set up PHP" uses: "shivammathur/setup-php@2.26.0" @@ -442,7 +442,7 @@ jobs: steps: - name: "Checkout" - uses: "actions/checkout@v4.1.0" + uses: "actions/checkout@v4.1.1" - name: "Set up PHP" uses: "shivammathur/setup-php@2.26.0" diff --git a/.github/workflows/renew.yaml b/.github/workflows/renew.yaml index 0e81497f..10bc5598 100644 --- a/.github/workflows/renew.yaml +++ b/.github/workflows/renew.yaml @@ -24,7 +24,7 @@ jobs: steps: - name: "Checkout" - uses: "actions/checkout@v4.1.0" + uses: "actions/checkout@v4.1.1" with: token: "${{ secrets.ERGEBNIS_BOT_TOKEN }}" diff --git a/.github/workflows/update.yaml b/.github/workflows/update.yaml index 7fc482b2..7118b814 100644 --- a/.github/workflows/update.yaml +++ b/.github/workflows/update.yaml @@ -22,7 +22,7 @@ jobs: steps: - name: "Checkout" - uses: "actions/checkout@v4.1.0" + uses: "actions/checkout@v4.1.1" - name: "Set up PHP" uses: "shivammathur/setup-php@2.26.0" From 3bb624aac9805693adba71063596d4c5f6d9e6d4 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 24 Oct 2023 20:09:13 +0000 Subject: [PATCH 009/111] composer(deps-dev): Bump rector/rector from 0.18.5 to 0.18.6 Bumps [rector/rector](https://github.com/rectorphp/rector) from 0.18.5 to 0.18.6. - [Release notes](https://github.com/rectorphp/rector/releases) - [Commits](https://github.com/rectorphp/rector/compare/0.18.5...0.18.6) --- updated-dependencies: - dependency-name: rector/rector dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- composer.json | 2 +- composer.lock | 24 ++++++++++++------------ 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/composer.json b/composer.json index f860b4bd..c1c14fa9 100644 --- a/composer.json +++ b/composer.json @@ -39,7 +39,7 @@ "infection/infection": "~0.27.6", "phpunit/phpunit": "^10.4.1", "psalm/plugin-phpunit": "~0.18.4", - "rector/rector": "~0.18.5", + "rector/rector": "~0.18.6", "symfony/filesystem": "^6.3.1", "symfony/finder": "^6.3.5", "vimeo/psalm": "^5.15.0" diff --git a/composer.lock b/composer.lock index f60ede39..528ce962 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "9986faaa6d7ff56da77c9e62552992db", + "content-hash": "072481a8a6ccf9c9345c736357d63484", "packages": [ { "name": "ergebnis/json", @@ -2544,16 +2544,16 @@ }, { "name": "phpstan/phpstan", - "version": "1.10.37", + "version": "1.10.39", "source": { "type": "git", "url": "https://github.com/phpstan/phpstan.git", - "reference": "058ba07e92f744d4dcf6061ae75283d0c6456f2e" + "reference": "d9dedb0413f678b4d03cbc2279a48f91592c97c4" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpstan/phpstan/zipball/058ba07e92f744d4dcf6061ae75283d0c6456f2e", - "reference": "058ba07e92f744d4dcf6061ae75283d0c6456f2e", + "url": "https://api.github.com/repos/phpstan/phpstan/zipball/d9dedb0413f678b4d03cbc2279a48f91592c97c4", + "reference": "d9dedb0413f678b4d03cbc2279a48f91592c97c4", "shasum": "" }, "require": { @@ -2602,7 +2602,7 @@ "type": "tidelift" } ], - "time": "2023-10-02T16:18:37+00:00" + "time": "2023-10-17T15:46:26+00:00" }, { "name": "phpunit/php-code-coverage", @@ -3241,16 +3241,16 @@ }, { "name": "rector/rector", - "version": "0.18.5", + "version": "0.18.6", "source": { "type": "git", "url": "https://github.com/rectorphp/rector.git", - "reference": "2a3b82f317e431fc142d21f3303891a4e64c96eb" + "reference": "02041b220704b9cbe075f0310d0954b2fda5c40c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/rectorphp/rector/zipball/2a3b82f317e431fc142d21f3303891a4e64c96eb", - "reference": "2a3b82f317e431fc142d21f3303891a4e64c96eb", + "url": "https://api.github.com/repos/rectorphp/rector/zipball/02041b220704b9cbe075f0310d0954b2fda5c40c", + "reference": "02041b220704b9cbe075f0310d0954b2fda5c40c", "shasum": "" }, "require": { @@ -3285,7 +3285,7 @@ ], "support": { "issues": "https://github.com/rectorphp/rector/issues", - "source": "https://github.com/rectorphp/rector/tree/0.18.5" + "source": "https://github.com/rectorphp/rector/tree/0.18.6" }, "funding": [ { @@ -3293,7 +3293,7 @@ "type": "github" } ], - "time": "2023-10-05T11:25:40+00:00" + "time": "2023-10-24T15:00:59+00:00" }, { "name": "sanmai/later", From a665bde1223892862d342fb978e02c8344735437 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 26 Oct 2023 20:46:42 +0000 Subject: [PATCH 010/111] composer(deps-dev): Bump phpunit/phpunit from 10.4.1 to 10.4.2 Bumps [phpunit/phpunit](https://github.com/sebastianbergmann/phpunit) from 10.4.1 to 10.4.2. - [Changelog](https://github.com/sebastianbergmann/phpunit/blob/10.4.2/ChangeLog-10.4.md) - [Commits](https://github.com/sebastianbergmann/phpunit/compare/10.4.1...10.4.2) --- updated-dependencies: - dependency-name: phpunit/phpunit dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- composer.json | 2 +- composer.lock | 14 +++++++------- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/composer.json b/composer.json index c1c14fa9..3d257ca7 100644 --- a/composer.json +++ b/composer.json @@ -37,7 +37,7 @@ "ergebnis/phpunit-slow-test-detector": "^2.3.2", "fakerphp/faker": "^1.23.0", "infection/infection": "~0.27.6", - "phpunit/phpunit": "^10.4.1", + "phpunit/phpunit": "^10.4.2", "psalm/plugin-phpunit": "~0.18.4", "rector/rector": "~0.18.6", "symfony/filesystem": "^6.3.1", diff --git a/composer.lock b/composer.lock index 528ce962..98cea32b 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "072481a8a6ccf9c9345c736357d63484", + "content-hash": "157326add76ef3a93e3341d0b4c444c5", "packages": [ { "name": "ergebnis/json", @@ -2927,16 +2927,16 @@ }, { "name": "phpunit/phpunit", - "version": "10.4.1", + "version": "10.4.2", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/phpunit.git", - "reference": "62bd7af13d282deeb95650077d28ba3600ca321c" + "reference": "cacd8b9dd224efa8eb28beb69004126c7ca1a1a1" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/62bd7af13d282deeb95650077d28ba3600ca321c", - "reference": "62bd7af13d282deeb95650077d28ba3600ca321c", + "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/cacd8b9dd224efa8eb28beb69004126c7ca1a1a1", + "reference": "cacd8b9dd224efa8eb28beb69004126c7ca1a1a1", "shasum": "" }, "require": { @@ -3008,7 +3008,7 @@ "support": { "issues": "https://github.com/sebastianbergmann/phpunit/issues", "security": "https://github.com/sebastianbergmann/phpunit/security/policy", - "source": "https://github.com/sebastianbergmann/phpunit/tree/10.4.1" + "source": "https://github.com/sebastianbergmann/phpunit/tree/10.4.2" }, "funding": [ { @@ -3024,7 +3024,7 @@ "type": "tidelift" } ], - "time": "2023-10-08T05:01:11+00:00" + "time": "2023-10-26T07:21:45+00:00" }, { "name": "psalm/plugin-phpunit", From 056912a037ec9a49924e90d2b10cf6963ad81c27 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 27 Oct 2023 20:38:53 +0000 Subject: [PATCH 011/111] composer(deps-dev): Bump ergebnis/php-cs-fixer-config Bumps [ergebnis/php-cs-fixer-config](https://github.com/ergebnis/php-cs-fixer-config) from 6.8.1 to 6.9.0. - [Release notes](https://github.com/ergebnis/php-cs-fixer-config/releases) - [Changelog](https://github.com/ergebnis/php-cs-fixer-config/blob/main/CHANGELOG.md) - [Commits](https://github.com/ergebnis/php-cs-fixer-config/compare/6.8.1...6.9.0) --- updated-dependencies: - dependency-name: ergebnis/php-cs-fixer-config dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- composer.json | 2 +- composer.lock | 32 ++++++++++++++++---------------- 2 files changed, 17 insertions(+), 17 deletions(-) diff --git a/composer.json b/composer.json index 3d257ca7..32869d96 100644 --- a/composer.json +++ b/composer.json @@ -33,7 +33,7 @@ "composer/semver": "^3.4.0", "ergebnis/data-provider": "^3.0.0", "ergebnis/license": "^2.2.0", - "ergebnis/php-cs-fixer-config": "~6.8.1", + "ergebnis/php-cs-fixer-config": "~6.9.0", "ergebnis/phpunit-slow-test-detector": "^2.3.2", "fakerphp/faker": "^1.23.0", "infection/infection": "~0.27.6", diff --git a/composer.lock b/composer.lock index 98cea32b..13b803a3 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "157326add76ef3a93e3341d0b4c444c5", + "content-hash": "f2b1897b9d4e73ed53be193c1f8ae5a6", "packages": [ { "name": "ergebnis/json", @@ -1097,22 +1097,22 @@ }, { "name": "ergebnis/php-cs-fixer-config", - "version": "6.8.1", + "version": "6.9.0", "source": { "type": "git", "url": "https://github.com/ergebnis/php-cs-fixer-config.git", - "reference": "b407b11e525c31cb760c46ec14c02c4bcd8983ed" + "reference": "f62f95fbef606939dea311acec292461da7abd25" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/ergebnis/php-cs-fixer-config/zipball/b407b11e525c31cb760c46ec14c02c4bcd8983ed", - "reference": "b407b11e525c31cb760c46ec14c02c4bcd8983ed", + "url": "https://api.github.com/repos/ergebnis/php-cs-fixer-config/zipball/f62f95fbef606939dea311acec292461da7abd25", + "reference": "f62f95fbef606939dea311acec292461da7abd25", "shasum": "" }, "require": { "erickskrauch/php-cs-fixer-custom-fixers": "~1.2.0", "ext-filter": "*", - "friendsofphp/php-cs-fixer": "~3.35.1", + "friendsofphp/php-cs-fixer": "~3.36.0", "kubawerlos/php-cs-fixer-custom-fixers": "~3.16.2", "php": "~8.1.0 || ~8.2.0 || ~8.3.0" }, @@ -1120,12 +1120,12 @@ "ergebnis/composer-normalize": "^2.39.0", "ergebnis/data-provider": "^3.0.0", "ergebnis/license": "^2.2.0", - "ergebnis/phpunit-slow-test-detector": "^2.3.0", + "ergebnis/phpunit-slow-test-detector": "^2.3.2", "ergebnis/rector-rules": "~0.1.0", "fakerphp/faker": "^1.23.0", - "phpunit/phpunit": "^10.4.1", + "phpunit/phpunit": "^10.4.2", "psalm/plugin-phpunit": "~0.18.4", - "rector/rector": "~0.18.5", + "rector/rector": "~0.18.6", "symfony/filesystem": "^6.3.1", "symfony/process": "^6.3.4", "vimeo/psalm": "^5.15.0" @@ -1160,7 +1160,7 @@ "security": "https://github.com/ergebnis/php-cs-fixer-config/blob/main/.github/SECURITY.md", "source": "https://github.com/ergebnis/php-cs-fixer-config" }, - "time": "2023-10-12T14:47:08+00:00" + "time": "2023-10-27T12:31:25+00:00" }, { "name": "ergebnis/phpunit-slow-test-detector", @@ -1526,16 +1526,16 @@ }, { "name": "friendsofphp/php-cs-fixer", - "version": "v3.35.1", + "version": "v3.36.0", "source": { "type": "git", "url": "https://github.com/PHP-CS-Fixer/PHP-CS-Fixer.git", - "reference": "ec1ccc264994b6764882669973ca435cf05bab08" + "reference": "e889301f276c6ce2c391d6aafae9a162e785b064" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/PHP-CS-Fixer/PHP-CS-Fixer/zipball/ec1ccc264994b6764882669973ca435cf05bab08", - "reference": "ec1ccc264994b6764882669973ca435cf05bab08", + "url": "https://api.github.com/repos/PHP-CS-Fixer/PHP-CS-Fixer/zipball/e889301f276c6ce2c391d6aafae9a162e785b064", + "reference": "e889301f276c6ce2c391d6aafae9a162e785b064", "shasum": "" }, "require": { @@ -1607,7 +1607,7 @@ ], "support": { "issues": "https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues", - "source": "https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/tree/v3.35.1" + "source": "https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/tree/v3.36.0" }, "funding": [ { @@ -1615,7 +1615,7 @@ "type": "github" } ], - "time": "2023-10-12T13:47:26+00:00" + "time": "2023-10-27T10:12:29+00:00" }, { "name": "infection/abstract-testframework-adapter", From 65b1d84d6846a01523dbe31cc793fccf19571469 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 30 Oct 2023 20:41:25 +0000 Subject: [PATCH 012/111] composer(deps-dev): Bump ergebnis/php-cs-fixer-config Bumps [ergebnis/php-cs-fixer-config](https://github.com/ergebnis/php-cs-fixer-config) from 6.9.0 to 6.10.0. - [Release notes](https://github.com/ergebnis/php-cs-fixer-config/releases) - [Changelog](https://github.com/ergebnis/php-cs-fixer-config/blob/main/CHANGELOG.md) - [Commits](https://github.com/ergebnis/php-cs-fixer-config/compare/6.9.0...6.10.0) --- updated-dependencies: - dependency-name: ergebnis/php-cs-fixer-config dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- composer.json | 2 +- composer.lock | 26 +++++++++++++------------- 2 files changed, 14 insertions(+), 14 deletions(-) diff --git a/composer.json b/composer.json index 32869d96..da2282b6 100644 --- a/composer.json +++ b/composer.json @@ -33,7 +33,7 @@ "composer/semver": "^3.4.0", "ergebnis/data-provider": "^3.0.0", "ergebnis/license": "^2.2.0", - "ergebnis/php-cs-fixer-config": "~6.9.0", + "ergebnis/php-cs-fixer-config": "~6.10.0", "ergebnis/phpunit-slow-test-detector": "^2.3.2", "fakerphp/faker": "^1.23.0", "infection/infection": "~0.27.6", diff --git a/composer.lock b/composer.lock index 13b803a3..23a9c874 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "f2b1897b9d4e73ed53be193c1f8ae5a6", + "content-hash": "d7cf7fb5c0d439348abb20d3f1faaba7", "packages": [ { "name": "ergebnis/json", @@ -1097,22 +1097,22 @@ }, { "name": "ergebnis/php-cs-fixer-config", - "version": "6.9.0", + "version": "6.10.0", "source": { "type": "git", "url": "https://github.com/ergebnis/php-cs-fixer-config.git", - "reference": "f62f95fbef606939dea311acec292461da7abd25" + "reference": "f57ed0a8f541c2a02936f7b1f6c9802902c6664c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/ergebnis/php-cs-fixer-config/zipball/f62f95fbef606939dea311acec292461da7abd25", - "reference": "f62f95fbef606939dea311acec292461da7abd25", + "url": "https://api.github.com/repos/ergebnis/php-cs-fixer-config/zipball/f57ed0a8f541c2a02936f7b1f6c9802902c6664c", + "reference": "f57ed0a8f541c2a02936f7b1f6c9802902c6664c", "shasum": "" }, "require": { "erickskrauch/php-cs-fixer-custom-fixers": "~1.2.0", "ext-filter": "*", - "friendsofphp/php-cs-fixer": "~3.36.0", + "friendsofphp/php-cs-fixer": "~3.37.1", "kubawerlos/php-cs-fixer-custom-fixers": "~3.16.2", "php": "~8.1.0 || ~8.2.0 || ~8.3.0" }, @@ -1160,7 +1160,7 @@ "security": "https://github.com/ergebnis/php-cs-fixer-config/blob/main/.github/SECURITY.md", "source": "https://github.com/ergebnis/php-cs-fixer-config" }, - "time": "2023-10-27T12:31:25+00:00" + "time": "2023-10-30T16:06:21+00:00" }, { "name": "ergebnis/phpunit-slow-test-detector", @@ -1526,16 +1526,16 @@ }, { "name": "friendsofphp/php-cs-fixer", - "version": "v3.36.0", + "version": "v3.37.1", "source": { "type": "git", "url": "https://github.com/PHP-CS-Fixer/PHP-CS-Fixer.git", - "reference": "e889301f276c6ce2c391d6aafae9a162e785b064" + "reference": "c3fe76976081ab871aa654e872da588077e19679" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/PHP-CS-Fixer/PHP-CS-Fixer/zipball/e889301f276c6ce2c391d6aafae9a162e785b064", - "reference": "e889301f276c6ce2c391d6aafae9a162e785b064", + "url": "https://api.github.com/repos/PHP-CS-Fixer/PHP-CS-Fixer/zipball/c3fe76976081ab871aa654e872da588077e19679", + "reference": "c3fe76976081ab871aa654e872da588077e19679", "shasum": "" }, "require": { @@ -1607,7 +1607,7 @@ ], "support": { "issues": "https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues", - "source": "https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/tree/v3.36.0" + "source": "https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/tree/v3.37.1" }, "funding": [ { @@ -1615,7 +1615,7 @@ "type": "github" } ], - "time": "2023-10-27T10:12:29+00:00" + "time": "2023-10-29T20:51:23+00:00" }, { "name": "infection/abstract-testframework-adapter", From feeebc3fd96e2314dc11897fe66c4bf857492fa9 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 2 Nov 2023 20:18:18 +0000 Subject: [PATCH 013/111] composer(deps-dev): Bump infection/infection from 0.27.6 to 0.27.7 Bumps [infection/infection](https://github.com/infection/infection) from 0.27.6 to 0.27.7. - [Release notes](https://github.com/infection/infection/releases) - [Changelog](https://github.com/infection/infection/blob/master/CHANGELOG.md) - [Commits](https://github.com/infection/infection/compare/0.27.6...0.27.7) --- updated-dependencies: - dependency-name: infection/infection dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- composer.json | 2 +- composer.lock | 62 ++++++++++++++++++++++++++++----------------------- 2 files changed, 35 insertions(+), 29 deletions(-) diff --git a/composer.json b/composer.json index da2282b6..888208b6 100644 --- a/composer.json +++ b/composer.json @@ -36,7 +36,7 @@ "ergebnis/php-cs-fixer-config": "~6.10.0", "ergebnis/phpunit-slow-test-detector": "^2.3.2", "fakerphp/faker": "^1.23.0", - "infection/infection": "~0.27.6", + "infection/infection": "~0.27.7", "phpunit/phpunit": "^10.4.2", "psalm/plugin-phpunit": "~0.18.4", "rector/rector": "~0.18.6", diff --git a/composer.lock b/composer.lock index 23a9c874..43fe5bee 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "d7cf7fb5c0d439348abb20d3f1faaba7", + "content-hash": "417cb130293c82b6e18753fc9f71f732", "packages": [ { "name": "ergebnis/json", @@ -1796,16 +1796,16 @@ }, { "name": "infection/infection", - "version": "0.27.6", + "version": "0.27.7", "source": { "type": "git", "url": "https://github.com/infection/infection.git", - "reference": "3a39f6cbfadcd6f32db6221e3c5e4ae9aa99671c" + "reference": "e5bf714c1e6b45b881f3c8990b0cb82f1b232625" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/infection/infection/zipball/3a39f6cbfadcd6f32db6221e3c5e4ae9aa99671c", - "reference": "3a39f6cbfadcd6f32db6221e3c5e4ae9aa99671c", + "url": "https://api.github.com/repos/infection/infection/zipball/e5bf714c1e6b45b881f3c8990b0cb82f1b232625", + "reference": "e5bf714c1e6b45b881f3c8990b0cb82f1b232625", "shasum": "" }, "require": { @@ -1816,7 +1816,7 @@ "ext-json": "*", "ext-libxml": "*", "ext-mbstring": "*", - "fidry/cpu-core-counter": "^0.4.0 || ^0.5.0", + "fidry/cpu-core-counter": "^0.4.0 || ^0.5.0 || ^1.0", "infection/abstract-testframework-adapter": "^0.5.0", "infection/extension-installer": "^0.1.0", "infection/include-interceptor": "^0.2.5", @@ -1827,10 +1827,10 @@ "sanmai/later": "^0.1.1", "sanmai/pipeline": "^5.1 || ^6", "sebastian/diff": "^3.0.2 || ^4.0 || ^5.0", - "symfony/console": "^5.4 || ^6.0", - "symfony/filesystem": "^5.4 || ^6.0", - "symfony/finder": "^5.4 || ^6.0", - "symfony/process": "^5.4 || ^6.0", + "symfony/console": "^5.4 || ^6.0 || ^7.0", + "symfony/filesystem": "^5.4 || ^6.0 || ^7.0", + "symfony/finder": "^5.4 || ^6.0 || ^7.0", + "symfony/process": "^5.4 || ^6.0 || ^7.0", "thecodingmachine/safe": "^2.1.2", "webmozart/assert": "^1.11" }, @@ -1840,7 +1840,7 @@ "phpunit/php-code-coverage": ">9,<9.1.4 || >9.2.17,<9.2.21" }, "require-dev": { - "brianium/paratest": "^6.3", + "brianium/paratest": "^6.11", "ext-simplexml": "*", "fidry/makefile": "^0.2.0", "helmich/phpunit-json-assert": "^3.0", @@ -1851,11 +1851,11 @@ "phpstan/phpstan-phpunit": "^1.0.0", "phpstan/phpstan-strict-rules": "^1.1.0", "phpstan/phpstan-webmozart-assert": "^1.0.2", - "phpunit/phpunit": "^9.5.5", + "phpunit/phpunit": "^9.6", "rector/rector": "^0.16.0", "sidz/phpstan-rules": "^0.4.0", - "symfony/phpunit-bridge": "^5.4 || ^6.0", - "symfony/yaml": "^5.4 || ^6.0", + "symfony/phpunit-bridge": "^5.4 || ^6.0 || ^7.0", + "symfony/yaml": "^5.4 || ^6.0 || ^7.0", "thecodingmachine/phpstan-safe-rule": "^1.2.0" }, "bin": [ @@ -1912,7 +1912,7 @@ ], "support": { "issues": "https://github.com/infection/infection/issues", - "source": "https://github.com/infection/infection/tree/0.27.6" + "source": "https://github.com/infection/infection/tree/0.27.7" }, "funding": [ { @@ -1924,7 +1924,7 @@ "type": "open_collective" } ], - "time": "2023-10-16T11:04:15+00:00" + "time": "2023-11-02T11:38:21+00:00" }, { "name": "kubawerlos/php-cs-fixer-custom-fixers", @@ -3297,31 +3297,37 @@ }, { "name": "sanmai/later", - "version": "0.1.2", + "version": "0.1.3", "source": { "type": "git", "url": "https://github.com/sanmai/later.git", - "reference": "9b659fecef2030193fd02402955bc39629d5606f" + "reference": "88a1d39965aa3659ceb96622e2801b9194d16e2c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sanmai/later/zipball/9b659fecef2030193fd02402955bc39629d5606f", - "reference": "9b659fecef2030193fd02402955bc39629d5606f", + "url": "https://api.github.com/repos/sanmai/later/zipball/88a1d39965aa3659ceb96622e2801b9194d16e2c", + "reference": "88a1d39965aa3659ceb96622e2801b9194d16e2c", "shasum": "" }, "require": { - "php": ">=7.1" + "php": ">=7.4" }, "require-dev": { - "friendsofphp/php-cs-fixer": "^2.13", - "infection/infection": ">=0.10.5", + "ergebnis/composer-normalize": "^2.8", + "friendsofphp/php-cs-fixer": "^3.35.1", + "infection/infection": ">=0.27.6", "phan/phan": ">=2", "php-coveralls/php-coveralls": "^2.0", - "phpstan/phpstan": ">=0.10", - "phpunit/phpunit": ">=7.4", + "phpstan/phpstan": ">=1.4.5", + "phpunit/phpunit": ">=9.5 <10", "vimeo/psalm": ">=2" }, "type": "library", + "extra": { + "branch-alias": { + "dev-main": "0.1.x-dev" + } + }, "autoload": { "files": [ "src/functions.php" @@ -3343,7 +3349,7 @@ "description": "Later: deferred wrapper object", "support": { "issues": "https://github.com/sanmai/later/issues", - "source": "https://github.com/sanmai/later/tree/0.1.2" + "source": "https://github.com/sanmai/later/tree/0.1.3" }, "funding": [ { @@ -3351,7 +3357,7 @@ "type": "github" } ], - "time": "2021-01-02T10:26:44+00:00" + "time": "2023-10-23T13:38:10+00:00" }, { "name": "sanmai/pipeline", @@ -6056,5 +6062,5 @@ "platform-overrides": { "php": "8.1.20" }, - "plugin-api-version": "2.3.0" + "plugin-api-version": "2.6.0" } From a08549a473c62b2c129da283e52774225fb3eff0 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 2 Nov 2023 20:27:31 +0000 Subject: [PATCH 014/111] github-actions(deps): Bump shivammathur/setup-php from 2.26.0 to 2.27.0 Bumps [shivammathur/setup-php](https://github.com/shivammathur/setup-php) from 2.26.0 to 2.27.0. - [Release notes](https://github.com/shivammathur/setup-php/releases) - [Commits](https://github.com/shivammathur/setup-php/compare/2.26.0...2.27.0) --- updated-dependencies: - dependency-name: shivammathur/setup-php dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- .github/workflows/integrate.yaml | 16 ++++++++-------- .github/workflows/renew.yaml | 2 +- .github/workflows/update.yaml | 2 +- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/integrate.yaml b/.github/workflows/integrate.yaml index ad2759c5..6c11b5d0 100644 --- a/.github/workflows/integrate.yaml +++ b/.github/workflows/integrate.yaml @@ -29,7 +29,7 @@ jobs: uses: "actions/checkout@v4.1.1" - name: "Set up PHP" - uses: "shivammathur/setup-php@2.26.0" + uses: "shivammathur/setup-php@2.27.0" with: coverage: "xdebug" extensions: "none, ctype, curl, dom, json, mbstring, phar, simplexml, tokenizer, xml, xmlwriter" @@ -97,7 +97,7 @@ jobs: strict: true - name: "Set up PHP" - uses: "shivammathur/setup-php@2.26.0" + uses: "shivammathur/setup-php@2.27.0" with: coverage: "none" extensions: "none, ctype, curl, dom, json, mbstring, phar, simplexml, tokenizer, xml, xmlwriter" @@ -168,7 +168,7 @@ jobs: uses: "actions/checkout@v4.1.1" - name: "Set up PHP" - uses: "shivammathur/setup-php@2.26.0" + uses: "shivammathur/setup-php@2.27.0" with: coverage: "none" extensions: "none, ctype, curl, dom, json, mbstring, phar, simplexml, tokenizer, xml, xmlwriter" @@ -224,7 +224,7 @@ jobs: uses: "actions/checkout@v4.1.1" - name: "Set up PHP" - uses: "shivammathur/setup-php@2.26.0" + uses: "shivammathur/setup-php@2.27.0" with: coverage: "xdebug" extensions: "none, ctype, curl, dom, json, mbstring, phar, simplexml, tokenizer, xml, xmlwriter" @@ -276,7 +276,7 @@ jobs: uses: "actions/checkout@v4.1.1" - name: "Set up PHP" - uses: "shivammathur/setup-php@2.26.0" + uses: "shivammathur/setup-php@2.27.0" with: coverage: "none" extensions: "none, ctype, curl, dom, json, mbstring, phar, simplexml, tokenizer, xml, xmlwriter" @@ -338,7 +338,7 @@ jobs: uses: "actions/checkout@v4.1.1" - name: "Set up PHP" - uses: "shivammathur/setup-php@2.26.0" + uses: "shivammathur/setup-php@2.27.0" with: coverage: "none" extensions: "none, ctype, curl, dom, json, mbstring, phar, simplexml, tokenizer, xml, xmlwriter" @@ -388,7 +388,7 @@ jobs: uses: "actions/checkout@v4.1.1" - name: "Set up PHP" - uses: "shivammathur/setup-php@2.26.0" + uses: "shivammathur/setup-php@2.27.0" with: coverage: "none" extensions: "none, ctype, curl, dom, json, mbstring, opcache, pcntl, phar, posix, simplexml, tokenizer, xml, xmlwriter" @@ -445,7 +445,7 @@ jobs: uses: "actions/checkout@v4.1.1" - name: "Set up PHP" - uses: "shivammathur/setup-php@2.26.0" + uses: "shivammathur/setup-php@2.27.0" with: coverage: "none" extensions: "none, ctype, curl, dom, json, mbstring, phar, simplexml, tokenizer, xml, xmlwriter" diff --git a/.github/workflows/renew.yaml b/.github/workflows/renew.yaml index 10bc5598..94e721aa 100644 --- a/.github/workflows/renew.yaml +++ b/.github/workflows/renew.yaml @@ -29,7 +29,7 @@ jobs: token: "${{ secrets.ERGEBNIS_BOT_TOKEN }}" - name: "Set up PHP" - uses: "shivammathur/setup-php@2.26.0" + uses: "shivammathur/setup-php@2.27.0" with: coverage: "none" extensions: "none, ctype, curl, dom, json, mbstring, phar, simplexml, tokenizer, xml, xmlwriter" diff --git a/.github/workflows/update.yaml b/.github/workflows/update.yaml index 7118b814..838279cd 100644 --- a/.github/workflows/update.yaml +++ b/.github/workflows/update.yaml @@ -25,7 +25,7 @@ jobs: uses: "actions/checkout@v4.1.1" - name: "Set up PHP" - uses: "shivammathur/setup-php@2.26.0" + uses: "shivammathur/setup-php@2.27.0" with: coverage: "none" php-version: "${{ matrix.php-version }}" From b1c195d138dcb426ab96aa8a0248ab84b813b73c Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 7 Nov 2023 20:08:56 +0000 Subject: [PATCH 015/111] github-actions(deps): Bump shivammathur/setup-php from 2.27.0 to 2.27.1 Bumps [shivammathur/setup-php](https://github.com/shivammathur/setup-php) from 2.27.0 to 2.27.1. - [Release notes](https://github.com/shivammathur/setup-php/releases) - [Commits](https://github.com/shivammathur/setup-php/compare/2.27.0...2.27.1) --- updated-dependencies: - dependency-name: shivammathur/setup-php dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- .github/workflows/integrate.yaml | 16 ++++++++-------- .github/workflows/renew.yaml | 2 +- .github/workflows/update.yaml | 2 +- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/integrate.yaml b/.github/workflows/integrate.yaml index 6c11b5d0..f27b436e 100644 --- a/.github/workflows/integrate.yaml +++ b/.github/workflows/integrate.yaml @@ -29,7 +29,7 @@ jobs: uses: "actions/checkout@v4.1.1" - name: "Set up PHP" - uses: "shivammathur/setup-php@2.27.0" + uses: "shivammathur/setup-php@2.27.1" with: coverage: "xdebug" extensions: "none, ctype, curl, dom, json, mbstring, phar, simplexml, tokenizer, xml, xmlwriter" @@ -97,7 +97,7 @@ jobs: strict: true - name: "Set up PHP" - uses: "shivammathur/setup-php@2.27.0" + uses: "shivammathur/setup-php@2.27.1" with: coverage: "none" extensions: "none, ctype, curl, dom, json, mbstring, phar, simplexml, tokenizer, xml, xmlwriter" @@ -168,7 +168,7 @@ jobs: uses: "actions/checkout@v4.1.1" - name: "Set up PHP" - uses: "shivammathur/setup-php@2.27.0" + uses: "shivammathur/setup-php@2.27.1" with: coverage: "none" extensions: "none, ctype, curl, dom, json, mbstring, phar, simplexml, tokenizer, xml, xmlwriter" @@ -224,7 +224,7 @@ jobs: uses: "actions/checkout@v4.1.1" - name: "Set up PHP" - uses: "shivammathur/setup-php@2.27.0" + uses: "shivammathur/setup-php@2.27.1" with: coverage: "xdebug" extensions: "none, ctype, curl, dom, json, mbstring, phar, simplexml, tokenizer, xml, xmlwriter" @@ -276,7 +276,7 @@ jobs: uses: "actions/checkout@v4.1.1" - name: "Set up PHP" - uses: "shivammathur/setup-php@2.27.0" + uses: "shivammathur/setup-php@2.27.1" with: coverage: "none" extensions: "none, ctype, curl, dom, json, mbstring, phar, simplexml, tokenizer, xml, xmlwriter" @@ -338,7 +338,7 @@ jobs: uses: "actions/checkout@v4.1.1" - name: "Set up PHP" - uses: "shivammathur/setup-php@2.27.0" + uses: "shivammathur/setup-php@2.27.1" with: coverage: "none" extensions: "none, ctype, curl, dom, json, mbstring, phar, simplexml, tokenizer, xml, xmlwriter" @@ -388,7 +388,7 @@ jobs: uses: "actions/checkout@v4.1.1" - name: "Set up PHP" - uses: "shivammathur/setup-php@2.27.0" + uses: "shivammathur/setup-php@2.27.1" with: coverage: "none" extensions: "none, ctype, curl, dom, json, mbstring, opcache, pcntl, phar, posix, simplexml, tokenizer, xml, xmlwriter" @@ -445,7 +445,7 @@ jobs: uses: "actions/checkout@v4.1.1" - name: "Set up PHP" - uses: "shivammathur/setup-php@2.27.0" + uses: "shivammathur/setup-php@2.27.1" with: coverage: "none" extensions: "none, ctype, curl, dom, json, mbstring, phar, simplexml, tokenizer, xml, xmlwriter" diff --git a/.github/workflows/renew.yaml b/.github/workflows/renew.yaml index 94e721aa..8cfe8aa1 100644 --- a/.github/workflows/renew.yaml +++ b/.github/workflows/renew.yaml @@ -29,7 +29,7 @@ jobs: token: "${{ secrets.ERGEBNIS_BOT_TOKEN }}" - name: "Set up PHP" - uses: "shivammathur/setup-php@2.27.0" + uses: "shivammathur/setup-php@2.27.1" with: coverage: "none" extensions: "none, ctype, curl, dom, json, mbstring, phar, simplexml, tokenizer, xml, xmlwriter" diff --git a/.github/workflows/update.yaml b/.github/workflows/update.yaml index 838279cd..f31386b6 100644 --- a/.github/workflows/update.yaml +++ b/.github/workflows/update.yaml @@ -25,7 +25,7 @@ jobs: uses: "actions/checkout@v4.1.1" - name: "Set up PHP" - uses: "shivammathur/setup-php@2.27.0" + uses: "shivammathur/setup-php@2.27.1" with: coverage: "none" php-version: "${{ matrix.php-version }}" From 0769ee8202add991bdd00325388d2e6a4516a3b7 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 7 Nov 2023 20:17:03 +0000 Subject: [PATCH 016/111] composer(deps-dev): Bump ergebnis/phpunit-slow-test-detector Bumps [ergebnis/phpunit-slow-test-detector](https://github.com/ergebnis/phpunit-slow-test-detector) from 2.3.2 to 2.4.0. - [Release notes](https://github.com/ergebnis/phpunit-slow-test-detector/releases) - [Changelog](https://github.com/ergebnis/phpunit-slow-test-detector/blob/main/CHANGELOG.md) - [Commits](https://github.com/ergebnis/phpunit-slow-test-detector/compare/2.3.2...2.4.0) --- updated-dependencies: - dependency-name: ergebnis/phpunit-slow-test-detector dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- composer.json | 2 +- composer.lock | 18 +++++++++--------- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/composer.json b/composer.json index 888208b6..7a7347a2 100644 --- a/composer.json +++ b/composer.json @@ -34,7 +34,7 @@ "ergebnis/data-provider": "^3.0.0", "ergebnis/license": "^2.2.0", "ergebnis/php-cs-fixer-config": "~6.10.0", - "ergebnis/phpunit-slow-test-detector": "^2.3.2", + "ergebnis/phpunit-slow-test-detector": "^2.4.0", "fakerphp/faker": "^1.23.0", "infection/infection": "~0.27.7", "phpunit/phpunit": "^10.4.2", diff --git a/composer.lock b/composer.lock index 43fe5bee..3716f97c 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "417cb130293c82b6e18753fc9f71f732", + "content-hash": "728e4368e32039534b2a3bfd614d8f89", "packages": [ { "name": "ergebnis/json", @@ -1164,30 +1164,30 @@ }, { "name": "ergebnis/phpunit-slow-test-detector", - "version": "2.3.2", + "version": "2.4.0", "source": { "type": "git", "url": "https://github.com/ergebnis/phpunit-slow-test-detector.git", - "reference": "59b2297fdcfe2578fed146c1257675687cd2045a" + "reference": "119bfba6885111db1ac02e14bc45c904a627c86e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/ergebnis/phpunit-slow-test-detector/zipball/59b2297fdcfe2578fed146c1257675687cd2045a", - "reference": "59b2297fdcfe2578fed146c1257675687cd2045a", + "url": "https://api.github.com/repos/ergebnis/phpunit-slow-test-detector/zipball/119bfba6885111db1ac02e14bc45c904a627c86e", + "reference": "119bfba6885111db1ac02e14bc45c904a627c86e", "shasum": "" }, "require": { "php": "~8.1.0 || ~8.2.0 || ~8.3.0", - "phpunit/phpunit": "^10.1.3" + "phpunit/phpunit": "^9.6.0 || ^10.4.0" }, "require-dev": { "ergebnis/composer-normalize": "^2.39.0", "ergebnis/data-provider": "^3.0.0", "ergebnis/license": "^2.2.0", - "ergebnis/php-cs-fixer-config": "^6.7.0", + "ergebnis/php-cs-fixer-config": "^6.11.0", "fakerphp/faker": "^1.23.0", "psalm/plugin-phpunit": "~0.18.4", - "rector/rector": "~0.18.5", + "rector/rector": "~0.18.6", "vimeo/psalm": "^5.15.0" }, "suggest": { @@ -1230,7 +1230,7 @@ "security": "https://github.com/ergebnis/phpunit-slow-test-detector/blob/main/.github/SECURITY.md", "source": "https://github.com/ergebnis/phpunit-slow-test-detector" }, - "time": "2023-10-13T08:41:07+00:00" + "time": "2023-11-07T15:41:23+00:00" }, { "name": "erickskrauch/php-cs-fixer-custom-fixers", From eb5b40202eb9ebc65805b9619ce105585c3c6770 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 7 Nov 2023 20:19:47 +0000 Subject: [PATCH 017/111] composer(deps-dev): Bump ergebnis/php-cs-fixer-config Bumps [ergebnis/php-cs-fixer-config](https://github.com/ergebnis/php-cs-fixer-config) from 6.10.0 to 6.11.0. - [Release notes](https://github.com/ergebnis/php-cs-fixer-config/releases) - [Changelog](https://github.com/ergebnis/php-cs-fixer-config/blob/main/CHANGELOG.md) - [Commits](https://github.com/ergebnis/php-cs-fixer-config/compare/6.10.0...6.11.0) --- updated-dependencies: - dependency-name: ergebnis/php-cs-fixer-config dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- composer.json | 2 +- composer.lock | 26 +++++++++++++------------- 2 files changed, 14 insertions(+), 14 deletions(-) diff --git a/composer.json b/composer.json index 7a7347a2..e7da6b6a 100644 --- a/composer.json +++ b/composer.json @@ -33,7 +33,7 @@ "composer/semver": "^3.4.0", "ergebnis/data-provider": "^3.0.0", "ergebnis/license": "^2.2.0", - "ergebnis/php-cs-fixer-config": "~6.10.0", + "ergebnis/php-cs-fixer-config": "~6.11.0", "ergebnis/phpunit-slow-test-detector": "^2.4.0", "fakerphp/faker": "^1.23.0", "infection/infection": "~0.27.7", diff --git a/composer.lock b/composer.lock index 3716f97c..59643d2f 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "728e4368e32039534b2a3bfd614d8f89", + "content-hash": "d9d0336cec0179ddda69b7520cb3d8b0", "packages": [ { "name": "ergebnis/json", @@ -1097,22 +1097,22 @@ }, { "name": "ergebnis/php-cs-fixer-config", - "version": "6.10.0", + "version": "6.11.0", "source": { "type": "git", "url": "https://github.com/ergebnis/php-cs-fixer-config.git", - "reference": "f57ed0a8f541c2a02936f7b1f6c9802902c6664c" + "reference": "e36a9f2c06e91b125149bb392e8e10bcafc9568d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/ergebnis/php-cs-fixer-config/zipball/f57ed0a8f541c2a02936f7b1f6c9802902c6664c", - "reference": "f57ed0a8f541c2a02936f7b1f6c9802902c6664c", + "url": "https://api.github.com/repos/ergebnis/php-cs-fixer-config/zipball/e36a9f2c06e91b125149bb392e8e10bcafc9568d", + "reference": "e36a9f2c06e91b125149bb392e8e10bcafc9568d", "shasum": "" }, "require": { "erickskrauch/php-cs-fixer-custom-fixers": "~1.2.0", "ext-filter": "*", - "friendsofphp/php-cs-fixer": "~3.37.1", + "friendsofphp/php-cs-fixer": "~3.38.0", "kubawerlos/php-cs-fixer-custom-fixers": "~3.16.2", "php": "~8.1.0 || ~8.2.0 || ~8.3.0" }, @@ -1160,7 +1160,7 @@ "security": "https://github.com/ergebnis/php-cs-fixer-config/blob/main/.github/SECURITY.md", "source": "https://github.com/ergebnis/php-cs-fixer-config" }, - "time": "2023-10-30T16:06:21+00:00" + "time": "2023-11-07T08:53:03+00:00" }, { "name": "ergebnis/phpunit-slow-test-detector", @@ -1526,16 +1526,16 @@ }, { "name": "friendsofphp/php-cs-fixer", - "version": "v3.37.1", + "version": "v3.38.0", "source": { "type": "git", "url": "https://github.com/PHP-CS-Fixer/PHP-CS-Fixer.git", - "reference": "c3fe76976081ab871aa654e872da588077e19679" + "reference": "7e6070026e76aa09d77a47519625c86593fb8e31" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/PHP-CS-Fixer/PHP-CS-Fixer/zipball/c3fe76976081ab871aa654e872da588077e19679", - "reference": "c3fe76976081ab871aa654e872da588077e19679", + "url": "https://api.github.com/repos/PHP-CS-Fixer/PHP-CS-Fixer/zipball/7e6070026e76aa09d77a47519625c86593fb8e31", + "reference": "7e6070026e76aa09d77a47519625c86593fb8e31", "shasum": "" }, "require": { @@ -1607,7 +1607,7 @@ ], "support": { "issues": "https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues", - "source": "https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/tree/v3.37.1" + "source": "https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/tree/v3.38.0" }, "funding": [ { @@ -1615,7 +1615,7 @@ "type": "github" } ], - "time": "2023-10-29T20:51:23+00:00" + "time": "2023-11-07T08:44:54+00:00" }, { "name": "infection/abstract-testframework-adapter", From de703733e177c5a48488da902893b8b55214965e Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 8 Nov 2023 20:55:58 +0000 Subject: [PATCH 018/111] composer(deps-dev): Bump infection/infection from 0.27.7 to 0.27.8 Bumps [infection/infection](https://github.com/infection/infection) from 0.27.7 to 0.27.8. - [Release notes](https://github.com/infection/infection/releases) - [Changelog](https://github.com/infection/infection/blob/master/CHANGELOG.md) - [Commits](https://github.com/infection/infection/compare/0.27.7...0.27.8) --- updated-dependencies: - dependency-name: infection/infection dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- composer.json | 2 +- composer.lock | 14 +++++++------- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/composer.json b/composer.json index e7da6b6a..39fbf74b 100644 --- a/composer.json +++ b/composer.json @@ -36,7 +36,7 @@ "ergebnis/php-cs-fixer-config": "~6.11.0", "ergebnis/phpunit-slow-test-detector": "^2.4.0", "fakerphp/faker": "^1.23.0", - "infection/infection": "~0.27.7", + "infection/infection": "~0.27.8", "phpunit/phpunit": "^10.4.2", "psalm/plugin-phpunit": "~0.18.4", "rector/rector": "~0.18.6", diff --git a/composer.lock b/composer.lock index 59643d2f..79095552 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "d9d0336cec0179ddda69b7520cb3d8b0", + "content-hash": "cc96a3677e198e90e7b9e34a6fe19d9b", "packages": [ { "name": "ergebnis/json", @@ -1796,16 +1796,16 @@ }, { "name": "infection/infection", - "version": "0.27.7", + "version": "0.27.8", "source": { "type": "git", "url": "https://github.com/infection/infection.git", - "reference": "e5bf714c1e6b45b881f3c8990b0cb82f1b232625" + "reference": "673ce762abf3355fcdc186ca17eb89edf86993bf" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/infection/infection/zipball/e5bf714c1e6b45b881f3c8990b0cb82f1b232625", - "reference": "e5bf714c1e6b45b881f3c8990b0cb82f1b232625", + "url": "https://api.github.com/repos/infection/infection/zipball/673ce762abf3355fcdc186ca17eb89edf86993bf", + "reference": "673ce762abf3355fcdc186ca17eb89edf86993bf", "shasum": "" }, "require": { @@ -1912,7 +1912,7 @@ ], "support": { "issues": "https://github.com/infection/infection/issues", - "source": "https://github.com/infection/infection/tree/0.27.7" + "source": "https://github.com/infection/infection/tree/0.27.8" }, "funding": [ { @@ -1924,7 +1924,7 @@ "type": "open_collective" } ], - "time": "2023-11-02T11:38:21+00:00" + "time": "2023-11-08T14:29:03+00:00" }, { "name": "kubawerlos/php-cs-fixer-custom-fixers", From c0b71ffc2ba72b81ee23f70fcfc999108b0ec763 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 13 Nov 2023 20:02:26 +0000 Subject: [PATCH 019/111] composer(deps-dev): Bump rector/rector from 0.18.6 to 0.18.7 Bumps [rector/rector](https://github.com/rectorphp/rector) from 0.18.6 to 0.18.7. - [Release notes](https://github.com/rectorphp/rector/releases) - [Commits](https://github.com/rectorphp/rector/compare/0.18.6...0.18.7) --- updated-dependencies: - dependency-name: rector/rector dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- composer.json | 2 +- composer.lock | 24 ++++++++++++------------ 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/composer.json b/composer.json index 39fbf74b..13c736d6 100644 --- a/composer.json +++ b/composer.json @@ -39,7 +39,7 @@ "infection/infection": "~0.27.8", "phpunit/phpunit": "^10.4.2", "psalm/plugin-phpunit": "~0.18.4", - "rector/rector": "~0.18.6", + "rector/rector": "~0.18.7", "symfony/filesystem": "^6.3.1", "symfony/finder": "^6.3.5", "vimeo/psalm": "^5.15.0" diff --git a/composer.lock b/composer.lock index 79095552..f6bf31ff 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "cc96a3677e198e90e7b9e34a6fe19d9b", + "content-hash": "bc7f3dea5c57690728a15057f7e30ee4", "packages": [ { "name": "ergebnis/json", @@ -2544,16 +2544,16 @@ }, { "name": "phpstan/phpstan", - "version": "1.10.39", + "version": "1.10.41", "source": { "type": "git", "url": "https://github.com/phpstan/phpstan.git", - "reference": "d9dedb0413f678b4d03cbc2279a48f91592c97c4" + "reference": "c6174523c2a69231df55bdc65b61655e72876d76" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpstan/phpstan/zipball/d9dedb0413f678b4d03cbc2279a48f91592c97c4", - "reference": "d9dedb0413f678b4d03cbc2279a48f91592c97c4", + "url": "https://api.github.com/repos/phpstan/phpstan/zipball/c6174523c2a69231df55bdc65b61655e72876d76", + "reference": "c6174523c2a69231df55bdc65b61655e72876d76", "shasum": "" }, "require": { @@ -2602,7 +2602,7 @@ "type": "tidelift" } ], - "time": "2023-10-17T15:46:26+00:00" + "time": "2023-11-05T12:57:57+00:00" }, { "name": "phpunit/php-code-coverage", @@ -3241,16 +3241,16 @@ }, { "name": "rector/rector", - "version": "0.18.6", + "version": "0.18.7", "source": { "type": "git", "url": "https://github.com/rectorphp/rector.git", - "reference": "02041b220704b9cbe075f0310d0954b2fda5c40c" + "reference": "caba0e294a1228f64f8a9cfd0d715cc8af47c4da" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/rectorphp/rector/zipball/02041b220704b9cbe075f0310d0954b2fda5c40c", - "reference": "02041b220704b9cbe075f0310d0954b2fda5c40c", + "url": "https://api.github.com/repos/rectorphp/rector/zipball/caba0e294a1228f64f8a9cfd0d715cc8af47c4da", + "reference": "caba0e294a1228f64f8a9cfd0d715cc8af47c4da", "shasum": "" }, "require": { @@ -3285,7 +3285,7 @@ ], "support": { "issues": "https://github.com/rectorphp/rector/issues", - "source": "https://github.com/rectorphp/rector/tree/0.18.6" + "source": "https://github.com/rectorphp/rector/tree/0.18.7" }, "funding": [ { @@ -3293,7 +3293,7 @@ "type": "github" } ], - "time": "2023-10-24T15:00:59+00:00" + "time": "2023-11-13T10:11:05+00:00" }, { "name": "sanmai/later", From 2668b9724df4b6d9694a193386fe27285d734acb Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 16 Nov 2023 20:28:40 +0000 Subject: [PATCH 020/111] composer(deps-dev): Bump rector/rector from 0.18.7 to 0.18.10 Bumps [rector/rector](https://github.com/rectorphp/rector) from 0.18.7 to 0.18.10. - [Release notes](https://github.com/rectorphp/rector/releases) - [Commits](https://github.com/rectorphp/rector/compare/0.18.7...0.18.10) --- updated-dependencies: - dependency-name: rector/rector dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- composer.json | 2 +- composer.lock | 14 +++++++------- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/composer.json b/composer.json index 13c736d6..2f3a46e3 100644 --- a/composer.json +++ b/composer.json @@ -39,7 +39,7 @@ "infection/infection": "~0.27.8", "phpunit/phpunit": "^10.4.2", "psalm/plugin-phpunit": "~0.18.4", - "rector/rector": "~0.18.7", + "rector/rector": "~0.18.10", "symfony/filesystem": "^6.3.1", "symfony/finder": "^6.3.5", "vimeo/psalm": "^5.15.0" diff --git a/composer.lock b/composer.lock index f6bf31ff..c7e3d45a 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "bc7f3dea5c57690728a15057f7e30ee4", + "content-hash": "536b02c28a663663d24b82df01f7c38b", "packages": [ { "name": "ergebnis/json", @@ -3241,16 +3241,16 @@ }, { "name": "rector/rector", - "version": "0.18.7", + "version": "0.18.10", "source": { "type": "git", "url": "https://github.com/rectorphp/rector.git", - "reference": "caba0e294a1228f64f8a9cfd0d715cc8af47c4da" + "reference": "f36bc0a707fd8af301df5108740ce41f9db8eded" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/rectorphp/rector/zipball/caba0e294a1228f64f8a9cfd0d715cc8af47c4da", - "reference": "caba0e294a1228f64f8a9cfd0d715cc8af47c4da", + "url": "https://api.github.com/repos/rectorphp/rector/zipball/f36bc0a707fd8af301df5108740ce41f9db8eded", + "reference": "f36bc0a707fd8af301df5108740ce41f9db8eded", "shasum": "" }, "require": { @@ -3285,7 +3285,7 @@ ], "support": { "issues": "https://github.com/rectorphp/rector/issues", - "source": "https://github.com/rectorphp/rector/tree/0.18.7" + "source": "https://github.com/rectorphp/rector/tree/0.18.10" }, "funding": [ { @@ -3293,7 +3293,7 @@ "type": "github" } ], - "time": "2023-11-13T10:11:05+00:00" + "time": "2023-11-16T19:42:21+00:00" }, { "name": "sanmai/later", From 5096b1c03d67b40b74d67e5bba4a95addef0ca77 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 23 Nov 2023 20:43:07 +0000 Subject: [PATCH 021/111] composer(deps-dev): Bump vimeo/psalm from 5.15.0 to 5.16.0 Bumps [vimeo/psalm](https://github.com/vimeo/psalm) from 5.15.0 to 5.16.0. - [Release notes](https://github.com/vimeo/psalm/releases) - [Commits](https://github.com/vimeo/psalm/compare/5.15.0...5.16.0) --- updated-dependencies: - dependency-name: vimeo/psalm dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- composer.json | 2 +- composer.lock | 91 ++++++++++++++++++++++++++------------------------- 2 files changed, 47 insertions(+), 46 deletions(-) diff --git a/composer.json b/composer.json index 2f3a46e3..64b2c1ce 100644 --- a/composer.json +++ b/composer.json @@ -42,7 +42,7 @@ "rector/rector": "~0.18.10", "symfony/filesystem": "^6.3.1", "symfony/finder": "^6.3.5", - "vimeo/psalm": "^5.15.0" + "vimeo/psalm": "^5.16.0" }, "suggest": { "composer/semver": "If you want to use ComposerJsonNormalizer or VersionConstraintNormalizer" diff --git a/composer.lock b/composer.lock index c7e3d45a..b963a27a 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "536b02c28a663663d24b82df01f7c38b", + "content-hash": "d197ba47a4be8f62b388f10c0f9cc8b5", "packages": [ { "name": "ergebnis/json", @@ -2497,16 +2497,16 @@ }, { "name": "phpstan/phpdoc-parser", - "version": "1.23.1", + "version": "1.24.3", "source": { "type": "git", "url": "https://github.com/phpstan/phpdoc-parser.git", - "reference": "846ae76eef31c6d7790fac9bc399ecee45160b26" + "reference": "12f01d214f1c73b9c91fdb3b1c415e4c70652083" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpstan/phpdoc-parser/zipball/846ae76eef31c6d7790fac9bc399ecee45160b26", - "reference": "846ae76eef31c6d7790fac9bc399ecee45160b26", + "url": "https://api.github.com/repos/phpstan/phpdoc-parser/zipball/12f01d214f1c73b9c91fdb3b1c415e4c70652083", + "reference": "12f01d214f1c73b9c91fdb3b1c415e4c70652083", "shasum": "" }, "require": { @@ -2538,9 +2538,9 @@ "description": "PHPDoc parser with support for nullable, intersection and generic types", "support": { "issues": "https://github.com/phpstan/phpdoc-parser/issues", - "source": "https://github.com/phpstan/phpdoc-parser/tree/1.23.1" + "source": "https://github.com/phpstan/phpdoc-parser/tree/1.24.3" }, - "time": "2023-08-03T16:32:59+00:00" + "time": "2023-11-18T20:15:32+00:00" }, { "name": "phpstan/phpstan", @@ -4341,16 +4341,16 @@ }, { "name": "spatie/array-to-xml", - "version": "3.2.0", + "version": "3.2.2", "source": { "type": "git", "url": "https://github.com/spatie/array-to-xml.git", - "reference": "f9ab39c808500c347d5a8b6b13310bd5221e39e7" + "reference": "96be97e664c87613121d073ea39af4c74e57a7f8" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/spatie/array-to-xml/zipball/f9ab39c808500c347d5a8b6b13310bd5221e39e7", - "reference": "f9ab39c808500c347d5a8b6b13310bd5221e39e7", + "url": "https://api.github.com/repos/spatie/array-to-xml/zipball/96be97e664c87613121d073ea39af4c74e57a7f8", + "reference": "96be97e664c87613121d073ea39af4c74e57a7f8", "shasum": "" }, "require": { @@ -4388,7 +4388,7 @@ "xml" ], "support": { - "source": "https://github.com/spatie/array-to-xml/tree/3.2.0" + "source": "https://github.com/spatie/array-to-xml/tree/3.2.2" }, "funding": [ { @@ -4400,20 +4400,20 @@ "type": "github" } ], - "time": "2023-07-19T18:30:26+00:00" + "time": "2023-11-14T14:08:51+00:00" }, { "name": "symfony/console", - "version": "v6.3.4", + "version": "v6.3.8", "source": { "type": "git", "url": "https://github.com/symfony/console.git", - "reference": "eca495f2ee845130855ddf1cf18460c38966c8b6" + "reference": "0d14a9f6d04d4ac38a8cea1171f4554e325dae92" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/console/zipball/eca495f2ee845130855ddf1cf18460c38966c8b6", - "reference": "eca495f2ee845130855ddf1cf18460c38966c8b6", + "url": "https://api.github.com/repos/symfony/console/zipball/0d14a9f6d04d4ac38a8cea1171f4554e325dae92", + "reference": "0d14a9f6d04d4ac38a8cea1171f4554e325dae92", "shasum": "" }, "require": { @@ -4474,7 +4474,7 @@ "terminal" ], "support": { - "source": "https://github.com/symfony/console/tree/v6.3.4" + "source": "https://github.com/symfony/console/tree/v6.3.8" }, "funding": [ { @@ -4490,11 +4490,11 @@ "type": "tidelift" } ], - "time": "2023-08-16T10:10:12+00:00" + "time": "2023-10-31T08:09:35+00:00" }, { "name": "symfony/deprecation-contracts", - "version": "v3.3.0", + "version": "v3.4.0", "source": { "type": "git", "url": "https://github.com/symfony/deprecation-contracts.git", @@ -4541,7 +4541,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.3.0" + "source": "https://github.com/symfony/deprecation-contracts/tree/v3.4.0" }, "funding": [ { @@ -4641,7 +4641,7 @@ }, { "name": "symfony/event-dispatcher-contracts", - "version": "v3.3.0", + "version": "v3.4.0", "source": { "type": "git", "url": "https://github.com/symfony/event-dispatcher-contracts.git", @@ -4697,7 +4697,7 @@ "standards" ], "support": { - "source": "https://github.com/symfony/event-dispatcher-contracts/tree/v3.3.0" + "source": "https://github.com/symfony/event-dispatcher-contracts/tree/v3.4.0" }, "funding": [ { @@ -5464,16 +5464,16 @@ }, { "name": "symfony/service-contracts", - "version": "v3.3.0", + "version": "v3.4.0", "source": { "type": "git", "url": "https://github.com/symfony/service-contracts.git", - "reference": "40da9cc13ec349d9e4966ce18b5fbcd724ab10a4" + "reference": "b3313c2dbffaf71c8de2934e2ea56ed2291a3838" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/service-contracts/zipball/40da9cc13ec349d9e4966ce18b5fbcd724ab10a4", - "reference": "40da9cc13ec349d9e4966ce18b5fbcd724ab10a4", + "url": "https://api.github.com/repos/symfony/service-contracts/zipball/b3313c2dbffaf71c8de2934e2ea56ed2291a3838", + "reference": "b3313c2dbffaf71c8de2934e2ea56ed2291a3838", "shasum": "" }, "require": { @@ -5526,7 +5526,7 @@ "standards" ], "support": { - "source": "https://github.com/symfony/service-contracts/tree/v3.3.0" + "source": "https://github.com/symfony/service-contracts/tree/v3.4.0" }, "funding": [ { @@ -5542,7 +5542,7 @@ "type": "tidelift" } ], - "time": "2023-05-23T14:45:45+00:00" + "time": "2023-07-30T20:28:31+00:00" }, { "name": "symfony/stopwatch", @@ -5608,16 +5608,16 @@ }, { "name": "symfony/string", - "version": "v6.3.5", + "version": "v6.3.8", "source": { "type": "git", "url": "https://github.com/symfony/string.git", - "reference": "13d76d0fb049051ed12a04bef4f9de8715bea339" + "reference": "13880a87790c76ef994c91e87efb96134522577a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/string/zipball/13d76d0fb049051ed12a04bef4f9de8715bea339", - "reference": "13d76d0fb049051ed12a04bef4f9de8715bea339", + "url": "https://api.github.com/repos/symfony/string/zipball/13880a87790c76ef994c91e87efb96134522577a", + "reference": "13880a87790c76ef994c91e87efb96134522577a", "shasum": "" }, "require": { @@ -5674,7 +5674,7 @@ "utf8" ], "support": { - "source": "https://github.com/symfony/string/tree/v6.3.5" + "source": "https://github.com/symfony/string/tree/v6.3.8" }, "funding": [ { @@ -5690,7 +5690,7 @@ "type": "tidelift" } ], - "time": "2023-09-18T10:38:32+00:00" + "time": "2023-11-09T08:28:21+00:00" }, { "name": "thecodingmachine/safe", @@ -5883,16 +5883,16 @@ }, { "name": "vimeo/psalm", - "version": "5.15.0", + "version": "5.16.0", "source": { "type": "git", "url": "https://github.com/vimeo/psalm.git", - "reference": "5c774aca4746caf3d239d9c8cadb9f882ca29352" + "reference": "2897ba636551a8cb61601cc26f6ccfbba6c36591" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/vimeo/psalm/zipball/5c774aca4746caf3d239d9c8cadb9f882ca29352", - "reference": "5c774aca4746caf3d239d9c8cadb9f882ca29352", + "url": "https://api.github.com/repos/vimeo/psalm/zipball/2897ba636551a8cb61601cc26f6ccfbba6c36591", + "reference": "2897ba636551a8cb61601cc26f6ccfbba6c36591", "shasum": "" }, "require": { @@ -5917,8 +5917,8 @@ "php": "^7.4 || ~8.0.0 || ~8.1.0 || ~8.2.0 || ~8.3.0", "sebastian/diff": "^4.0 || ^5.0", "spatie/array-to-xml": "^2.17.0 || ^3.0", - "symfony/console": "^4.1.6 || ^5.0 || ^6.0", - "symfony/filesystem": "^5.4 || ^6.0" + "symfony/console": "^4.1.6 || ^5.0 || ^6.0 || ^7.0", + "symfony/filesystem": "^5.4 || ^6.0 || ^7.0" }, "conflict": { "nikic/php-parser": "4.17.0" @@ -5940,7 +5940,7 @@ "psalm/plugin-phpunit": "^0.18", "slevomat/coding-standard": "^8.4", "squizlabs/php_codesniffer": "^3.6", - "symfony/process": "^4.4 || ^5.0 || ^6.0" + "symfony/process": "^4.4 || ^5.0 || ^6.0 || ^7.0" }, "suggest": { "ext-curl": "In order to send data to shepherd", @@ -5953,7 +5953,7 @@ "psalm-refactor", "psalter" ], - "type": "library", + "type": "project", "extra": { "branch-alias": { "dev-master": "5.x-dev", @@ -5985,10 +5985,11 @@ "static analysis" ], "support": { + "docs": "https://psalm.dev/docs", "issues": "https://github.com/vimeo/psalm/issues", - "source": "https://github.com/vimeo/psalm/tree/5.15.0" + "source": "https://github.com/vimeo/psalm" }, - "time": "2023-08-20T23:07:30+00:00" + "time": "2023-11-22T20:38:47+00:00" }, { "name": "webmozart/assert", From 3077996e639be3bca1a2337707abf5f7102114be Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 27 Nov 2023 20:16:21 +0000 Subject: [PATCH 022/111] github-actions(deps): Bump shivammathur/setup-php from 2.27.1 to 2.28.0 Bumps [shivammathur/setup-php](https://github.com/shivammathur/setup-php) from 2.27.1 to 2.28.0. - [Release notes](https://github.com/shivammathur/setup-php/releases) - [Commits](https://github.com/shivammathur/setup-php/compare/2.27.1...2.28.0) --- updated-dependencies: - dependency-name: shivammathur/setup-php dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- .github/workflows/integrate.yaml | 16 ++++++++-------- .github/workflows/renew.yaml | 2 +- .github/workflows/update.yaml | 2 +- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/integrate.yaml b/.github/workflows/integrate.yaml index f27b436e..904bb777 100644 --- a/.github/workflows/integrate.yaml +++ b/.github/workflows/integrate.yaml @@ -29,7 +29,7 @@ jobs: uses: "actions/checkout@v4.1.1" - name: "Set up PHP" - uses: "shivammathur/setup-php@2.27.1" + uses: "shivammathur/setup-php@2.28.0" with: coverage: "xdebug" extensions: "none, ctype, curl, dom, json, mbstring, phar, simplexml, tokenizer, xml, xmlwriter" @@ -97,7 +97,7 @@ jobs: strict: true - name: "Set up PHP" - uses: "shivammathur/setup-php@2.27.1" + uses: "shivammathur/setup-php@2.28.0" with: coverage: "none" extensions: "none, ctype, curl, dom, json, mbstring, phar, simplexml, tokenizer, xml, xmlwriter" @@ -168,7 +168,7 @@ jobs: uses: "actions/checkout@v4.1.1" - name: "Set up PHP" - uses: "shivammathur/setup-php@2.27.1" + uses: "shivammathur/setup-php@2.28.0" with: coverage: "none" extensions: "none, ctype, curl, dom, json, mbstring, phar, simplexml, tokenizer, xml, xmlwriter" @@ -224,7 +224,7 @@ jobs: uses: "actions/checkout@v4.1.1" - name: "Set up PHP" - uses: "shivammathur/setup-php@2.27.1" + uses: "shivammathur/setup-php@2.28.0" with: coverage: "xdebug" extensions: "none, ctype, curl, dom, json, mbstring, phar, simplexml, tokenizer, xml, xmlwriter" @@ -276,7 +276,7 @@ jobs: uses: "actions/checkout@v4.1.1" - name: "Set up PHP" - uses: "shivammathur/setup-php@2.27.1" + uses: "shivammathur/setup-php@2.28.0" with: coverage: "none" extensions: "none, ctype, curl, dom, json, mbstring, phar, simplexml, tokenizer, xml, xmlwriter" @@ -338,7 +338,7 @@ jobs: uses: "actions/checkout@v4.1.1" - name: "Set up PHP" - uses: "shivammathur/setup-php@2.27.1" + uses: "shivammathur/setup-php@2.28.0" with: coverage: "none" extensions: "none, ctype, curl, dom, json, mbstring, phar, simplexml, tokenizer, xml, xmlwriter" @@ -388,7 +388,7 @@ jobs: uses: "actions/checkout@v4.1.1" - name: "Set up PHP" - uses: "shivammathur/setup-php@2.27.1" + uses: "shivammathur/setup-php@2.28.0" with: coverage: "none" extensions: "none, ctype, curl, dom, json, mbstring, opcache, pcntl, phar, posix, simplexml, tokenizer, xml, xmlwriter" @@ -445,7 +445,7 @@ jobs: uses: "actions/checkout@v4.1.1" - name: "Set up PHP" - uses: "shivammathur/setup-php@2.27.1" + uses: "shivammathur/setup-php@2.28.0" with: coverage: "none" extensions: "none, ctype, curl, dom, json, mbstring, phar, simplexml, tokenizer, xml, xmlwriter" diff --git a/.github/workflows/renew.yaml b/.github/workflows/renew.yaml index 8cfe8aa1..e55d659f 100644 --- a/.github/workflows/renew.yaml +++ b/.github/workflows/renew.yaml @@ -29,7 +29,7 @@ jobs: token: "${{ secrets.ERGEBNIS_BOT_TOKEN }}" - name: "Set up PHP" - uses: "shivammathur/setup-php@2.27.1" + uses: "shivammathur/setup-php@2.28.0" with: coverage: "none" extensions: "none, ctype, curl, dom, json, mbstring, phar, simplexml, tokenizer, xml, xmlwriter" diff --git a/.github/workflows/update.yaml b/.github/workflows/update.yaml index f31386b6..0692bb83 100644 --- a/.github/workflows/update.yaml +++ b/.github/workflows/update.yaml @@ -25,7 +25,7 @@ jobs: uses: "actions/checkout@v4.1.1" - name: "Set up PHP" - uses: "shivammathur/setup-php@2.27.1" + uses: "shivammathur/setup-php@2.28.0" with: coverage: "none" php-version: "${{ matrix.php-version }}" From be8358a38df04747749fd13aa847ea189046a99d Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 27 Nov 2023 20:17:41 +0000 Subject: [PATCH 023/111] composer(deps-dev): Bump ergebnis/data-provider from 3.0.0 to 3.1.0 Bumps [ergebnis/data-provider](https://github.com/ergebnis/data-provider) from 3.0.0 to 3.1.0. - [Release notes](https://github.com/ergebnis/data-provider/releases) - [Changelog](https://github.com/ergebnis/data-provider/blob/main/CHANGELOG.md) - [Commits](https://github.com/ergebnis/data-provider/compare/3.0.0...3.1.0) --- updated-dependencies: - dependency-name: ergebnis/data-provider dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- composer.json | 2 +- composer.lock | 33 +++++++++++++++++---------------- 2 files changed, 18 insertions(+), 17 deletions(-) diff --git a/composer.json b/composer.json index 64b2c1ce..fc019bd0 100644 --- a/composer.json +++ b/composer.json @@ -31,7 +31,7 @@ }, "require-dev": { "composer/semver": "^3.4.0", - "ergebnis/data-provider": "^3.0.0", + "ergebnis/data-provider": "^3.1.0", "ergebnis/license": "^2.2.0", "ergebnis/php-cs-fixer-config": "~6.11.0", "ergebnis/phpunit-slow-test-detector": "^2.4.0", diff --git a/composer.lock b/composer.lock index b963a27a..6176c362 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "d197ba47a4be8f62b388f10c0f9cc8b5", + "content-hash": "2e0a6cce0a960e672694cb917bbee696", "packages": [ { "name": "ergebnis/json", @@ -976,32 +976,32 @@ }, { "name": "ergebnis/data-provider", - "version": "3.0.0", + "version": "3.1.0", "source": { "type": "git", "url": "https://github.com/ergebnis/data-provider.git", - "reference": "9c616133aad46755344e8241251dfa4815146402" + "reference": "af9e67ac1be167f43be9315bf8bcd3240d351ae6" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/ergebnis/data-provider/zipball/9c616133aad46755344e8241251dfa4815146402", - "reference": "9c616133aad46755344e8241251dfa4815146402", + "url": "https://api.github.com/repos/ergebnis/data-provider/zipball/af9e67ac1be167f43be9315bf8bcd3240d351ae6", + "reference": "af9e67ac1be167f43be9315bf8bcd3240d351ae6", "shasum": "" }, "require": { "fakerphp/faker": "^1.21.0", - "php": "~8.1.0 || ~8.2.0" + "php": "~8.1.0 || ~8.2.0 || ~8.3.0" }, "require-dev": { - "ergebnis/composer-normalize": "^2.33.0", - "ergebnis/license": "^2.1.0", - "ergebnis/php-cs-fixer-config": "^5.11.0", - "ergebnis/phpunit-slow-test-detector": "^2.3.0", - "infection/infection": "~0.27.0", - "phpunit/phpunit": "^10.2.5", + "ergebnis/composer-normalize": "^2.39.0", + "ergebnis/license": "^2.2.0", + "ergebnis/php-cs-fixer-config": "~6.11.0", + "ergebnis/phpunit-slow-test-detector": "^2.4.0", + "infection/infection": "~0.27.8", + "phpunit/phpunit": "^10.4.2", "psalm/plugin-phpunit": "~0.18.4", - "rector/rector": "~0.17.6", - "vimeo/psalm": "^5.13.1" + "rector/rector": "~0.18.10", + "vimeo/psalm": "^5.16.0" }, "type": "library", "extra": { @@ -1022,7 +1022,8 @@ "authors": [ { "name": "Andreas Möller", - "email": "am@localheinz.com" + "email": "am@localheinz.com", + "homepage": "https://localheinz.com" } ], "description": "Provides generic data providers for use with phpunit/phpunit.", @@ -1035,7 +1036,7 @@ "issues": "https://github.com/ergebnis/data-provider/issues", "source": "https://github.com/ergebnis/data-provider" }, - "time": "2023-07-16T20:52:08+00:00" + "time": "2023-11-27T14:54:42+00:00" }, { "name": "ergebnis/license", From 7219e8b7f8875120579aa9a8cd744e2e6bdee359 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 27 Nov 2023 20:44:52 +0000 Subject: [PATCH 024/111] composer(deps-dev): Bump rector/rector from 0.18.10 to 0.18.11 Bumps [rector/rector](https://github.com/rectorphp/rector) from 0.18.10 to 0.18.11. - [Release notes](https://github.com/rectorphp/rector/releases) - [Commits](https://github.com/rectorphp/rector/compare/0.18.10...0.18.11) --- updated-dependencies: - dependency-name: rector/rector dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- composer.json | 2 +- composer.lock | 24 ++++++++++++------------ 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/composer.json b/composer.json index fc019bd0..7ed26b19 100644 --- a/composer.json +++ b/composer.json @@ -39,7 +39,7 @@ "infection/infection": "~0.27.8", "phpunit/phpunit": "^10.4.2", "psalm/plugin-phpunit": "~0.18.4", - "rector/rector": "~0.18.10", + "rector/rector": "~0.18.11", "symfony/filesystem": "^6.3.1", "symfony/finder": "^6.3.5", "vimeo/psalm": "^5.16.0" diff --git a/composer.lock b/composer.lock index 6176c362..88718629 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "2e0a6cce0a960e672694cb917bbee696", + "content-hash": "acd1e4d52f5d98a1373a4aba603f1863", "packages": [ { "name": "ergebnis/json", @@ -2545,16 +2545,16 @@ }, { "name": "phpstan/phpstan", - "version": "1.10.41", + "version": "1.10.45", "source": { "type": "git", "url": "https://github.com/phpstan/phpstan.git", - "reference": "c6174523c2a69231df55bdc65b61655e72876d76" + "reference": "2f024fbb47432e2e62ad8a8032387aa2dd631c73" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpstan/phpstan/zipball/c6174523c2a69231df55bdc65b61655e72876d76", - "reference": "c6174523c2a69231df55bdc65b61655e72876d76", + "url": "https://api.github.com/repos/phpstan/phpstan/zipball/2f024fbb47432e2e62ad8a8032387aa2dd631c73", + "reference": "2f024fbb47432e2e62ad8a8032387aa2dd631c73", "shasum": "" }, "require": { @@ -2603,7 +2603,7 @@ "type": "tidelift" } ], - "time": "2023-11-05T12:57:57+00:00" + "time": "2023-11-27T14:15:06+00:00" }, { "name": "phpunit/php-code-coverage", @@ -3242,16 +3242,16 @@ }, { "name": "rector/rector", - "version": "0.18.10", + "version": "0.18.11", "source": { "type": "git", "url": "https://github.com/rectorphp/rector.git", - "reference": "f36bc0a707fd8af301df5108740ce41f9db8eded" + "reference": "9621124c860066f56a4ab841349cb7c284edfaee" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/rectorphp/rector/zipball/f36bc0a707fd8af301df5108740ce41f9db8eded", - "reference": "f36bc0a707fd8af301df5108740ce41f9db8eded", + "url": "https://api.github.com/repos/rectorphp/rector/zipball/9621124c860066f56a4ab841349cb7c284edfaee", + "reference": "9621124c860066f56a4ab841349cb7c284edfaee", "shasum": "" }, "require": { @@ -3286,7 +3286,7 @@ ], "support": { "issues": "https://github.com/rectorphp/rector/issues", - "source": "https://github.com/rectorphp/rector/tree/0.18.10" + "source": "https://github.com/rectorphp/rector/tree/0.18.11" }, "funding": [ { @@ -3294,7 +3294,7 @@ "type": "github" } ], - "time": "2023-11-16T19:42:21+00:00" + "time": "2023-11-27T13:27:43+00:00" }, { "name": "sanmai/later", From 42c7308713818ecb81ebf6305faf55888d08480b Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 27 Nov 2023 20:46:29 +0000 Subject: [PATCH 025/111] composer(deps-dev): Bump ergebnis/php-cs-fixer-config Bumps [ergebnis/php-cs-fixer-config](https://github.com/ergebnis/php-cs-fixer-config) from 6.11.0 to 6.12.0. - [Release notes](https://github.com/ergebnis/php-cs-fixer-config/releases) - [Changelog](https://github.com/ergebnis/php-cs-fixer-config/blob/main/CHANGELOG.md) - [Commits](https://github.com/ergebnis/php-cs-fixer-config/compare/6.11.0...6.12.0) --- updated-dependencies: - dependency-name: ergebnis/php-cs-fixer-config dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- composer.json | 2 +- composer.lock | 98 +++++++++++++++++++++++++-------------------------- 2 files changed, 50 insertions(+), 50 deletions(-) diff --git a/composer.json b/composer.json index 7ed26b19..e5319ee9 100644 --- a/composer.json +++ b/composer.json @@ -33,7 +33,7 @@ "composer/semver": "^3.4.0", "ergebnis/data-provider": "^3.1.0", "ergebnis/license": "^2.2.0", - "ergebnis/php-cs-fixer-config": "~6.11.0", + "ergebnis/php-cs-fixer-config": "~6.12.0", "ergebnis/phpunit-slow-test-detector": "^2.4.0", "fakerphp/faker": "^1.23.0", "infection/infection": "~0.27.8", diff --git a/composer.lock b/composer.lock index 88718629..56e7837d 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "acd1e4d52f5d98a1373a4aba603f1863", + "content-hash": "2924a68e78502b51ee1280f802451252", "packages": [ { "name": "ergebnis/json", @@ -1098,38 +1098,38 @@ }, { "name": "ergebnis/php-cs-fixer-config", - "version": "6.11.0", + "version": "6.12.0", "source": { "type": "git", "url": "https://github.com/ergebnis/php-cs-fixer-config.git", - "reference": "e36a9f2c06e91b125149bb392e8e10bcafc9568d" + "reference": "a9a29f07063902fdc4964ffb7d19f5301f923499" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/ergebnis/php-cs-fixer-config/zipball/e36a9f2c06e91b125149bb392e8e10bcafc9568d", - "reference": "e36a9f2c06e91b125149bb392e8e10bcafc9568d", + "url": "https://api.github.com/repos/ergebnis/php-cs-fixer-config/zipball/a9a29f07063902fdc4964ffb7d19f5301f923499", + "reference": "a9a29f07063902fdc4964ffb7d19f5301f923499", "shasum": "" }, "require": { - "erickskrauch/php-cs-fixer-custom-fixers": "~1.2.0", + "erickskrauch/php-cs-fixer-custom-fixers": "~1.2.1", "ext-filter": "*", - "friendsofphp/php-cs-fixer": "~3.38.0", - "kubawerlos/php-cs-fixer-custom-fixers": "~3.16.2", + "friendsofphp/php-cs-fixer": "~3.40.0", + "kubawerlos/php-cs-fixer-custom-fixers": "~3.17.0", "php": "~8.1.0 || ~8.2.0 || ~8.3.0" }, "require-dev": { "ergebnis/composer-normalize": "^2.39.0", "ergebnis/data-provider": "^3.0.0", "ergebnis/license": "^2.2.0", - "ergebnis/phpunit-slow-test-detector": "^2.3.2", + "ergebnis/phpunit-slow-test-detector": "^2.4.0", "ergebnis/rector-rules": "~0.1.0", "fakerphp/faker": "^1.23.0", "phpunit/phpunit": "^10.4.2", "psalm/plugin-phpunit": "~0.18.4", - "rector/rector": "~0.18.6", + "rector/rector": "~0.18.10", "symfony/filesystem": "^6.3.1", "symfony/process": "^6.3.4", - "vimeo/psalm": "^5.15.0" + "vimeo/psalm": "^5.16.0" }, "type": "library", "extra": { @@ -1161,7 +1161,7 @@ "security": "https://github.com/ergebnis/php-cs-fixer-config/blob/main/.github/SECURITY.md", "source": "https://github.com/ergebnis/php-cs-fixer-config" }, - "time": "2023-11-07T08:53:03+00:00" + "time": "2023-11-27T11:57:43+00:00" }, { "name": "ergebnis/phpunit-slow-test-detector", @@ -1235,16 +1235,16 @@ }, { "name": "erickskrauch/php-cs-fixer-custom-fixers", - "version": "1.2.0", + "version": "1.2.1", "source": { "type": "git", "url": "https://github.com/erickskrauch/php-cs-fixer-custom-fixers.git", - "reference": "a0bef8d27904731cbd5e60ffd05fd9ce2d6850b2" + "reference": "6b0e22fd12fb3110f74e34aa6988468a220609bf" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/erickskrauch/php-cs-fixer-custom-fixers/zipball/a0bef8d27904731cbd5e60ffd05fd9ce2d6850b2", - "reference": "a0bef8d27904731cbd5e60ffd05fd9ce2d6850b2", + "url": "https://api.github.com/repos/erickskrauch/php-cs-fixer-custom-fixers/zipball/6b0e22fd12fb3110f74e34aa6988468a220609bf", + "reference": "6b0e22fd12fb3110f74e34aa6988468a220609bf", "shasum": "" }, "require": { @@ -1291,9 +1291,9 @@ ], "support": { "issues": "https://github.com/erickskrauch/php-cs-fixer-custom-fixers/issues", - "source": "https://github.com/erickskrauch/php-cs-fixer-custom-fixers/tree/1.2.0" + "source": "https://github.com/erickskrauch/php-cs-fixer-custom-fixers/tree/1.2.1" }, - "time": "2023-07-20T02:51:18+00:00" + "time": "2023-11-16T16:27:33+00:00" }, { "name": "fakerphp/faker", @@ -1527,50 +1527,50 @@ }, { "name": "friendsofphp/php-cs-fixer", - "version": "v3.38.0", + "version": "v3.40.0", "source": { "type": "git", "url": "https://github.com/PHP-CS-Fixer/PHP-CS-Fixer.git", - "reference": "7e6070026e76aa09d77a47519625c86593fb8e31" + "reference": "27d2b3265b5d550ec411b4319967ae7cfddfb2e0" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/PHP-CS-Fixer/PHP-CS-Fixer/zipball/7e6070026e76aa09d77a47519625c86593fb8e31", - "reference": "7e6070026e76aa09d77a47519625c86593fb8e31", + "url": "https://api.github.com/repos/PHP-CS-Fixer/PHP-CS-Fixer/zipball/27d2b3265b5d550ec411b4319967ae7cfddfb2e0", + "reference": "27d2b3265b5d550ec411b4319967ae7cfddfb2e0", "shasum": "" }, "require": { - "composer/semver": "^3.3", + "composer/semver": "^3.4", "composer/xdebug-handler": "^3.0.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" + "symfony/console": "^5.4 || ^6.0 || ^7.0", + "symfony/event-dispatcher": "^5.4 || ^6.0 || ^7.0", + "symfony/filesystem": "^5.4 || ^6.0 || ^7.0", + "symfony/finder": "^5.4 || ^6.0 || ^7.0", + "symfony/options-resolver": "^5.4 || ^6.0 || ^7.0", + "symfony/polyfill-mbstring": "^1.28", + "symfony/polyfill-php80": "^1.28", + "symfony/polyfill-php81": "^1.28", + "symfony/process": "^5.4 || ^6.0 || ^7.0", + "symfony/stopwatch": "^5.4 || ^6.0 || ^7.0" }, "require-dev": { "facile-it/paraunit": "^1.3 || ^2.0", "justinrainbow/json-schema": "^5.2", - "keradus/cli-executor": "^2.0", + "keradus/cli-executor": "^2.1", "mikey179/vfsstream": "^1.6.11", - "php-coveralls/php-coveralls": "^2.5.3", + "php-coveralls/php-coveralls": "^2.7", "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", + "php-cs-fixer/phpunit-constraint-isidenticalstring": "^1.4", + "php-cs-fixer/phpunit-constraint-xmlmatchesxsd": "^1.4", + "phpspec/prophecy": "^1.17", "phpspec/prophecy-phpunit": "^2.0", - "phpunit/phpunit": "^9.5", - "symfony/phpunit-bridge": "^6.2.3", - "symfony/yaml": "^5.4 || ^6.0" + "phpunit/phpunit": "^9.6", + "symfony/phpunit-bridge": "^6.3.8 || ^7.0", + "symfony/yaml": "^5.4 || ^6.0 || ^7.0" }, "suggest": { "ext-dom": "For handling output formats in XML", @@ -1608,7 +1608,7 @@ ], "support": { "issues": "https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues", - "source": "https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/tree/v3.38.0" + "source": "https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/tree/v3.40.0" }, "funding": [ { @@ -1616,7 +1616,7 @@ "type": "github" } ], - "time": "2023-11-07T08:44:54+00:00" + "time": "2023-11-26T09:25:53+00:00" }, { "name": "infection/abstract-testframework-adapter", @@ -1929,16 +1929,16 @@ }, { "name": "kubawerlos/php-cs-fixer-custom-fixers", - "version": "v3.16.2", + "version": "v3.17.0", "source": { "type": "git", "url": "https://github.com/kubawerlos/php-cs-fixer-custom-fixers.git", - "reference": "d3f2590069d06ba49ad24cac03f802e8ad0aaeba" + "reference": "bbfb4ff20d148ed9531b1cfc9c9a861faba72b9a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/kubawerlos/php-cs-fixer-custom-fixers/zipball/d3f2590069d06ba49ad24cac03f802e8ad0aaeba", - "reference": "d3f2590069d06ba49ad24cac03f802e8ad0aaeba", + "url": "https://api.github.com/repos/kubawerlos/php-cs-fixer-custom-fixers/zipball/bbfb4ff20d148ed9531b1cfc9c9a861faba72b9a", + "reference": "bbfb4ff20d148ed9531b1cfc9c9a861faba72b9a", "shasum": "" }, "require": { @@ -1969,9 +1969,9 @@ "description": "A set of custom fixers for PHP CS Fixer", "support": { "issues": "https://github.com/kubawerlos/php-cs-fixer-custom-fixers/issues", - "source": "https://github.com/kubawerlos/php-cs-fixer-custom-fixers/tree/v3.16.2" + "source": "https://github.com/kubawerlos/php-cs-fixer-custom-fixers/tree/v3.17.0" }, - "time": "2023-08-06T13:50:15+00:00" + "time": "2023-11-19T12:08:42+00:00" }, { "name": "myclabs/deep-copy", From 311cb324761b81943e6b98d9f7ca592ea25d2a30 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 27 Nov 2023 20:49:31 +0000 Subject: [PATCH 026/111] composer(deps-dev): Bump ergebnis/license from 2.2.0 to 2.3.0 Bumps [ergebnis/license](https://github.com/ergebnis/license) from 2.2.0 to 2.3.0. - [Release notes](https://github.com/ergebnis/license/releases) - [Changelog](https://github.com/ergebnis/license/blob/main/CHANGELOG.md) - [Commits](https://github.com/ergebnis/license/compare/2.2.0...2.3.0) --- updated-dependencies: - dependency-name: ergebnis/license dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- composer.json | 2 +- composer.lock | 34 ++++++++++++++++++---------------- 2 files changed, 19 insertions(+), 17 deletions(-) diff --git a/composer.json b/composer.json index e5319ee9..90e11883 100644 --- a/composer.json +++ b/composer.json @@ -32,7 +32,7 @@ "require-dev": { "composer/semver": "^3.4.0", "ergebnis/data-provider": "^3.1.0", - "ergebnis/license": "^2.2.0", + "ergebnis/license": "^2.3.0", "ergebnis/php-cs-fixer-config": "~6.12.0", "ergebnis/phpunit-slow-test-detector": "^2.4.0", "fakerphp/faker": "^1.23.0", diff --git a/composer.lock b/composer.lock index 56e7837d..01da4ecc 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "2924a68e78502b51ee1280f802451252", + "content-hash": "0ceb9f1d26197aba02d9575815ec6362", "packages": [ { "name": "ergebnis/json", @@ -1040,34 +1040,34 @@ }, { "name": "ergebnis/license", - "version": "2.2.0", + "version": "2.3.0", "source": { "type": "git", "url": "https://github.com/ergebnis/license.git", - "reference": "a2d16677fa146d8eda69b160a6ab8f95c8a90246" + "reference": "896ebf196a4def609e17899ab04b13e5cbca4415" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/ergebnis/license/zipball/a2d16677fa146d8eda69b160a6ab8f95c8a90246", - "reference": "a2d16677fa146d8eda69b160a6ab8f95c8a90246", + "url": "https://api.github.com/repos/ergebnis/license/zipball/896ebf196a4def609e17899ab04b13e5cbca4415", + "reference": "896ebf196a4def609e17899ab04b13e5cbca4415", "shasum": "" }, "require": { "ext-filter": "*", - "php": "~8.1.0 || ~8.2.0" + "php": "~8.1.0 || ~8.2.0 || ~8.3.0" }, "require-dev": { - "ergebnis/composer-normalize": "^2.36.0", - "ergebnis/data-provider": "^3.0.0", - "ergebnis/php-cs-fixer-config": "^5.15.1", - "ergebnis/phpunit-slow-test-detector": "^2.3.0", + "ergebnis/composer-normalize": "^2.39.0", + "ergebnis/data-provider": "^3.1.0", + "ergebnis/php-cs-fixer-config": "~6.12.0", + "ergebnis/phpunit-slow-test-detector": "^2.4.0", "fakerphp/faker": "^1.23.0", - "infection/infection": "~0.27.0", - "phpunit/phpunit": "^10.3.4", + "infection/infection": "~0.27.8", + "phpunit/phpunit": "^10.4.2", "psalm/plugin-phpunit": "~0.18.4", - "rector/rector": "~0.18.3", + "rector/rector": "~0.18.11", "symfony/filesystem": "^6.3.1", - "vimeo/psalm": "^5.15.0" + "vimeo/psalm": "^5.16.0" }, "type": "library", "autoload": { @@ -1082,7 +1082,8 @@ "authors": [ { "name": "Andreas Möller", - "email": "am@localheinz.com" + "email": "am@localheinz.com", + "homepage": "https://localheinz.com" } ], "description": "Provides an abstraction of an open-source license.", @@ -1092,9 +1093,10 @@ ], "support": { "issues": "https://github.com/ergebnis/license/issues", + "security": "https://github.com/ergebnis/license/blob/main/.github/SECURITY.md", "source": "https://github.com/ergebnis/license" }, - "time": "2023-09-13T15:31:46+00:00" + "time": "2023-11-27T16:14:21+00:00" }, { "name": "ergebnis/php-cs-fixer-config", From fc87a735067cb0d67d6730dcd7e86dd9cc4d65a7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20M=C3=B6ller?= Date: Tue, 28 Nov 2023 11:52:00 +0100 Subject: [PATCH 027/111] Fix: Remove label --- .github/settings.yml | 4 ---- 1 file changed, 4 deletions(-) diff --git a/.github/settings.yml b/.github/settings.yml index a819bdf0..4980d48e 100644 --- a/.github/settings.yml +++ b/.github/settings.yml @@ -59,10 +59,6 @@ labels: color: "0e8a16" description: "" - - name: "hacktoberfest-accepted" - color: "ec4237" - description: "" - - name: "question" color: "cc317c" description: "" From ea0fdc9a1a1ec5a1e9c05421a8550ef5560dac26 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20M=C3=B6ller?= Date: Tue, 28 Nov 2023 11:52:20 +0100 Subject: [PATCH 028/111] Fix: Do not configure platform --- composer.json | 3 --- composer.lock | 5 +---- 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/composer.json b/composer.json index 90e11883..4971e4bf 100644 --- a/composer.json +++ b/composer.json @@ -65,9 +65,6 @@ "audit": { "abandoned": "report" }, - "platform": { - "php": "8.1.20" - }, "preferred-install": "dist", "sort-packages": true } diff --git a/composer.lock b/composer.lock index 01da4ecc..63ae82fb 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "0ceb9f1d26197aba02d9575815ec6362", + "content-hash": "84fc9d97341fc2a11b543c54d7ea5b48", "packages": [ { "name": "ergebnis/json", @@ -6063,8 +6063,5 @@ "ext-json": "*" }, "platform-dev": [], - "platform-overrides": { - "php": "8.1.20" - }, "plugin-api-version": "2.6.0" } From f9c30bd54d764d74c91b6a91a80f9de63c10d324 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20M=C3=B6ller?= Date: Tue, 28 Nov 2023 11:57:05 +0100 Subject: [PATCH 029/111] Enhancement: Synchronize with ergebnis/php-package-template --- .github/CONTRIBUTING.md | 22 +- .github/dependabot.yaml | 4 +- .github/workflows/integrate.yaml | 2 +- CHANGELOG.md | 653 +------------------------------ Makefile | 2 +- psalm-baseline.xml | 2 +- 6 files changed, 19 insertions(+), 666 deletions(-) diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md index 8a26f18a..893a0cbe 100644 --- a/.github/CONTRIBUTING.md +++ b/.github/CONTRIBUTING.md @@ -1,6 +1,6 @@ # CONTRIBUTING -We are using [GitHub Actions](https://github.com/features/actions) as a continuous integration system. +We use [GitHub Actions](https://github.com/features/actions) as a continuous integration system. For details, take a look at the following workflow configuration files: @@ -13,9 +13,9 @@ For details, take a look at the following workflow configuration files: ## Coding Standards -We are using [`ergebnis/composer-normalize`](https://github.com/ergebnis/composer-normalize) to normalize `composer.json`. +We use [`ergebnis/composer-normalize`](https://github.com/ergebnis/composer-normalize) to normalize `composer.json`. -We are using [`yamllint`](https://github.com/adrienverge/yamllint) to enforce coding standards in YAML files. +We use [`yamllint`](https://github.com/adrienverge/yamllint) to enforce coding standards in YAML files. If you do not have `yamllint` installed yet, run @@ -25,7 +25,7 @@ brew install yamllint to install `yamllint`. -We are using [`friendsofphp/php-cs-fixer`](https://github.com/FriendsOfPHP/PHP-CS-Fixer) to enforce coding standards in PHP files. +We use [`friendsofphp/php-cs-fixer`](https://github.com/FriendsOfPHP/PHP-CS-Fixer) to enforce coding standards in PHP files. Run @@ -37,7 +37,7 @@ to automatically fix coding standard violations. ## Dependency Analysis -We are using [`maglnet/composer-require-checker`](https://github.com/maglnet/ComposerRequireChecker) to prevent the use of unknown symbols in production code. +We use [`maglnet/composer-require-checker`](https://github.com/maglnet/ComposerRequireChecker) to prevent the use of unknown symbols in production code. Run @@ -49,7 +49,7 @@ to run a dependency analysis. ## Mutation Tests -We are using [`infection/infection`](https://github.com/infection/infection) to ensure a minimum quality of the tests. +We use [`infection/infection`](https://github.com/infection/infection) to ensure a minimum quality of the tests. Enable `Xdebug` and run @@ -61,7 +61,7 @@ to run mutation tests. ## Refactoring -We are using [`rector/rector`](https://github.com/rectorphp/rector) to automatically refactor code. +We use [`rector/rector`](https://github.com/rectorphp/rector) to automatically refactor code. Run @@ -73,7 +73,7 @@ to automatically refactor code. ## Security Analysis -We are using [`composer`](https://github.com/composer/composer) to run a security analysis. +We use [`composer`](https://github.com/composer/composer) to run a security analysis. Run @@ -85,7 +85,7 @@ to run a security analysis. ## Static Code Analysis -We are using [`vimeo/psalm`](https://github.com/vimeo/psalm) to statically analyze the code. +We use [`vimeo/psalm`](https://github.com/vimeo/psalm) to statically analyze the code. Run @@ -95,7 +95,7 @@ make static-code-analysis to run a static code analysis. -We are also using the baseline feature of [`vimeo/psalm`](https://psalm.dev/docs/running_psalm/dealing_with_code_issues/#using-a-baseline-file). +We also use the baseline feature of [`vimeo/psalm`](https://psalm.dev/docs/running_psalm/dealing_with_code_issues/#using-a-baseline-file). Run @@ -109,7 +109,7 @@ to regenerate the baseline in [`../psalm-baseline.xml`](../psalm-baseline.xml). ## Tests -We are using [`phpunit/phpunit`](https://github.com/sebastianbergmann/phpunit) to drive the development. +We use [`phpunit/phpunit`](https://github.com/sebastianbergmann/phpunit) to drive the development. Run diff --git a/.github/dependabot.yaml b/.github/dependabot.yaml index eb22ef0e..da211c1e 100644 --- a/.github/dependabot.yaml +++ b/.github/dependabot.yaml @@ -3,7 +3,9 @@ version: 2 updates: - - commit-message: + - allow: + - dependency-type: "development" + commit-message: include: "scope" prefix: "composer" directory: "/" diff --git a/.github/workflows/integrate.yaml b/.github/workflows/integrate.yaml index 904bb777..6f5b8411 100644 --- a/.github/workflows/integrate.yaml +++ b/.github/workflows/integrate.yaml @@ -202,7 +202,7 @@ jobs: trust-gpg-keys: "0xC00543248C87FB13,0x033E5F8D801A2F8D" - name: "Run maglnet/composer-require-checker" - run: ".phive/composer-require-checker check --ansi --config-file=$(pwd)/composer-require-checker.json" + run: ".phive/composer-require-checker check --ansi --config-file=$(pwd)/composer-require-checker.json --verbose" mutation-tests: name: "Mutation Tests" diff --git a/CHANGELOG.md b/CHANGELOG.md index 8857ab8f..a8a8fe12 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,655 +6,6 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), ## Unreleased -For a full diff see [`4.3.0...main`][4.3.0...main]. +For a full diff see [`1902cc2...main`][1902cc2...main]. -## [`4.3.0`][4.3.0] - -For a full diff see [`4.2.0...4.3.0`][4.2.0...4.3.0]. - -### Changed - -- Sort `allow-plugins` and `preferred-install` as sensibly as is feasible ([#980]), by [@fredden] -- Adjusted `Vendor\Composer\VersionConstraintNormalizer` to remove overlapping individual versions too ([#982]), by [@fredden] -- Added support for PHP 8.3 ([#988]), by [@localheinz] -- Required `ergebnis/json-printer:^3.4.0` ([#989]), by [@dependabot] -- Required `ergebnis/json:^1.1.0` ([#991]), by [@dependabot] -- Required `ergebnis/json-schema-validator:^4.1.0` ([#992]), by [@dependabot] - -## [`4.2.0`][4.2.0] - -For a full diff see [`4.1.0...4.2.0`][4.1.0...4.2.0]. - -### Changed - -- Dropped support for PHP 8.0 ([#917]), by [@localheinz] -- Adjusted `Vendor\Composer\VersionConstraintNormalizer` to prefer tilde operators (`~`) over wildcard operators (`*`), and caret operators (`^`) over tilde operators (`~`) ([#756]), by [@fredden] - -## [`4.1.0`][4.1.0] - -For a full diff see [`4.0.2...4.1.0`][4.0.2...4.1.0]. - -### Changed - -- Adjusted `Vendor\Composer\VersionConstraintNormalizer` to remove extra spaces in inline aliases ([#889]), by [@fredden] -- Adjusted `Vendor\Composer\VersionConstraintNormalizer` to remove useless inline aliases ([#889]), by [@fredden] - -### Fixed - -- Adjusted `SchemaNormalizer` to account for objects with string and integer-like properties ([#868]), by [@alexis-saransig-lullabot] and [@fredden] -- Adjusted `SchemaNormalizer` to account for objects where schema describes additional properties ([#873]), by [@fredden] and [@localheinz] - -## [`4.0.2`][4.0.2] - -For a full diff see [`4.0.1...4.0.2`][4.0.1...4.0.2]. - -### Fixed - -- Adjusted `Vendor\Composer\VersionConstraintNormalizer` to sort versions naturally ([#863]), by [@localheinz] - -## [`4.0.1`][4.0.1] - -For a full diff see [`4.0.0...4.0.1`][4.0.0...4.0.1]. - -### Fixed - -- Adjusted `Vendor\Composer\ComposerJsonNormalizer` to stop sorting `repositories` ([#858]), by [@localheinz] -- Reverted inlining `Vendor\Composer\BinNormalizer` ([#860]), by [@localheinz] -- Partially reverted removal of `Vendor\Composer\ConfigHashNormalizer` to ensure `config` is sorted by ket ([#861]), by [@localheinz] - -## [`4.0.0`][4.0.0] - -For a full diff see [`3.0.0...4.0.0`][3.0.0...4.0.0]. - -### Added - -- Added `FormatNormalizer` ([#781]), by [@localheinz] - -### Changed - -- Dropped support for PHP 7.4 ([#757]), by [@localheinz] -- Required `ergebnis/json-schema-validator:^4.0.0` ([#771]), by [@localheinz] -- Allowed configuring the `Normalizer\SchemaNormalizer` to exclude properties from being sorted ([#774]), by [@localheinz] -- Adjusted `Vendor\Composer\BinNormalizer`, `Vendor\Composer\PackageHashNormalizer`, `Vendor\Composer\VersionConstraintNormalizer`, and `SchemaNormalizer` to encode JSON with `JSON_PRETTY_PRINT` flag ([#795]), by [@localheinz] -- Adjusted `Vendor\Composer\BinNormalizer`, `Vendor\Composer\PackageHashNormalizer`, `Vendor\Composer\VersionConstraintNormalizer`, and `SchemaNormalizer` to encode JSON with `JSON_UNESCAPED_SLASHES` flag ([#801]), by [@localheinz] -- Adjusted `Vendor\Composer\BinNormalizer`, `Vendor\Composer\PackageHashNormalizer`, `Vendor\Composer\VersionConstraintNormalizer`, and `SchemaNormalizer` to encode JSON with `JSON_UNESCAPED_UNICODE` flag ([#802]), by [@localheinz] -- Adjusted `Vendor\Composer\ComposerJsonNormalizer` to reject JSON when it is not an object ([#804]), by [@localheinz] -- Adjusted `Vendor\Composer\ComposerJsonNormalizer` to compose `WithFinalNewLineNormalizer` ([#806]), by [@localheinz] -- Adjusted `Vendor\Composer\VersionConstraintNormalizer` to skip normalization of version constraints when they can not be parsed by `Composer\Semver\VersionParser` ([#813]), by [@fredden] and [@localheinz] -- Adjusted `Vendor\Composer\VersionConstraintNormalizer` to sort versions in ascending order ([#816]), by [@fredden] -- Adjusted `Vendor\Composer\VersionConstraintNormalizer` to normalize version constraints separators in `and` constraints from space (` `) or comma (`,`) to space (` `) ([#819]), by [@fredden] -- Adjusted `Vendor\Composer\VersionConstraintNormalizer` to remove overlapping version constraints in `or` version constraints ([#850]), by [@fredden] -- Adjusted `Vendor\Composer\VersionConstraintNormalizer` to remove duplicate version constraints ([#856]), by [@localheinz] - -### Fixed - -- Adjusted `Vendor\Composer\ComposerJsonNormalizer` to stop sorting `scripts.auto-scripts` ([#776]), by [@localheinz] -- Adjusted `Vendor\Composer\ComposerJsonNormalizer` to stop sorting `extra.installer-paths` ([#777]), by [@localheinz] -- Adjusted `Vendor\Composer\ComposerJsonNormalizer` to stop sorting `config.allow-plugins` ([#778]), by [@localheinz] -- Adjusted `Vendor\Composer\ComposerJsonNormalizer` to stop sorting `config.preferred-install` ([#779]), by [@localheinz] -- Adjusted `Vendor\Composer\ComposerJsonNormalizer` to stop sorting children of `extra.patches` ([#780]), by [@localheinz] - -### Removed - -- Started using `ergebnis/json` and removed `Json` and `Exception\InvalidJsonEncoded` ([#772]), by [@localheinz] -- Removed `Vendor\Composer\ConfigHashNormalizer` ([#775]), by [@localheinz] -- Removed `AutoFormatNormalizer` ([#793]), by [@localheinz] -- Removed `FixedFormatNormalizer` ([#794]), by [@localheinz] -- Inlined and removed `Vendor\Composer\BinNormalizer` ([#805]), by [@localheinz] - -## [`3.0.0`][3.0.0] - -For a full diff see [`2.2.0...3.0.0`][2.2.0...3.0.0]. - -### Changed - -- Required `ergebnis/json-schema-validator:^3.0.0` ([#666]), by [@dependabot] -- Renamed `Exception\ExceptionInterface` to `Exception\Exception` ([#667]), by [@localheinz] -- Removed `Exception` suffix from all exceptions ([#668]), by [@localheinz] -- Renamed `NormalizerInterface` to `Normalizer` ([#669]), by [@localheinz] -- Renamed `Format\Formatter` to `Format\DefaultFormatter` ([#672]), by [@localheinz] -- Renamed `Format\FormatterInterface` to `Format\Formatter` ([#673]), by [@localheinz] -- Required `ergebnis/json-pointer:^3.0.0` and `ergebnis/json-schema-validator:^3.1.0` ([#697]), by [@localheinz] -- Required `ergebnis/json-pointer:^3.1.0` ([#698]), by [@dependabot] -- Required `justinrainbow/json-schema:^5.2.12` ([#705]), by [@dependabot] - -### Fixed - -- Adjusted `ConfigHashNormalizer` to sort keys correctly ([#723]), by [@fredded] - -## [`2.2.0`][2.2.0] - -For a full diff see [`2.1.0...2.2.0`][2.1.0...2.2.0]. - -### Changed - -- Stopped checking whether `type` property in schema is set to `array` or `object` ([#632]), by [@localheinz] -- Adjusted `SchemaNormalizer` to normalize additional object properties ([#639]), by [@localheinz] -- Adjusted `SchemaNormalizer` to normalize array values for which schema does not declare item schema ([#641]), by [@localheinz] - -## [`2.1.0`][2.1.0] - -For a full diff see [`2.0.0...2.1.0`][2.0.0...2.1.0]. - -### Changed - -- Adjusted `SchemaNormalizer` to support `anyOf` ([#623]), by [@localheinz] - -## [`2.0.0`][2.0.0] - -For a full diff see [`1.0.3...2.0.0`][1.0.3...2.0.0]. - -### Changed - -- Dropped support for PHP 7.2 ([#564]), by [@localheinz] -- Dropped support for PHP 7.3 ([#573]), by [@localheinz] -- Renamed `Format::__toString()`, `Indent::__toString()`, and `Json::__toString()` to `Format::toString()`, `Indent::toString()`, and `Json::toString()`, requiring consumers to explicitly invoke methods instead of allowing to cast to `string` ([#589]), by [@localheinz] -- Started using the `SchemaValidator` provided by `ergebnis/json-schema-validator` ([#595]), by [@localheinz] -- Renamed `Format\JsonEncodeOptions::value()` to `Format\JsonEncodeOptions::toInt()` ([#603]), by [@localheinz] -- Extracted `Format\Format::create()` as named constructor and reduced visibility of `__construct` to `private` ([#608]), by [@localheinz] -- Stopped composing `Format\Format` into `Json` ([#616]), by [@localheinz] -- Renamed `FinalNewLineNormalizer` to `WithFinalNewLineNormalizer` ([#618]), by [@localheinz] -- Renamed `NoFinalNewLineNormalizer` to `WithoutFinalNewLineNormalizer` ([#619]), by [@localheinz] - -### Fixed - -- Updated `justinrainbow/json-schema` ([#517]), by [@dependabot] -- Stopped sorting the newly added `allow-plugins` configuration ([#590]), by [@dependabot] - -### Removed - -- Removed `Validator\Result`, `Valdiator\SchemaValidator`, and `Validator\SchemaValidatorInterface` ([#597]), by [@dependabot] - -## [`1.0.3`][1.0.3] - -For a full diff see [`1.0.2...1.0.3`][1.0.2...1.0.3]. - -### Fixed - -- Adjusted `Vendor\Composer\PackageHashNormalizer` to take into account the newly addded `composer-plugin-api` as platform requirement ([#463]), by [@localheinz] - -## [`1.0.2`][1.0.2] - -For a full diff see [`1.0.1...1.0.2`][1.0.1...1.0.2]. - -### Fixed - -- Adjusted `Vendor\Composer\ConfigHashNormalizer` to take into account the full property path, not only the property name ([#429]), by [@localheinz] - -## [`1.0.1`][1.0.1] - -For a full diff see [`1.0.0...1.0.1`][1.0.0...1.0.1]. - -### Fixed - -- Adjusted `Vendor\Composer\ConfigHashNormalizer` to ignore the `preferred-install` hash ([#425]), by [@localheinz] - -## [`1.0.0`][1.0.0] - -For a full diff see [`0.14.1...1.0.0`][0.14.1...1.0.0]. - -### Changed - -- Adjusted `Vendor\Composer\ConfigHashNormalizer` to recursively sort hashes by key ([#424]), by [@localheinz] - -## [`0.14.1`][0.14.1] - -For a full diff see [`0.14.0...0.14.1`][0.14.0...0.14.1]. - -### Fixed - -- Adjusted `Vendor\Composer\ConfigHashNormalizer` to continue normalizing properties when a property has an empty value ([#423]), by [@localheinz] - -## [`0.14.0`][0.14.0] - -For a full diff see [`0.13.1...0.14.0`][0.13.1...0.14.0]. - -### Added - -- Extracted an `Indent::CHARACTERS` constant that exposes a map of indent styles to indent characters ([#384]), by [@localheinz] - -## [`0.13.1`][0.13.1] - -For a full diff see [`0.13.0...0.13.1`][0.13.0...0.13.1]. - -### Changed - -- Dropped support for PHP 7.1 ([#335]), by [@localheinz] - -## [`0.13.0`][0.13.0] - -For a full diff see [`0.12.0...0.13.0`][0.12.0...0.13.0]. - -### Added - -- Added support for PHP 8.0 ([#308]), by [@localheinz] - -## [`0.12.0`][0.12.0] - -For a full diff see [`0.11.0...0.12.0`][0.11.0...0.12.0]. - -### Added - -- Added `SchemaValidator::validate()`, which returns a `Result` composing validation error messages ([#268]), by [@localheinz] - -### Deprecated - -- Deprecated `SchemaValidator::isValid()` ([#269]), by [@localheinz] - -## [`0.11.0`][0.11.0] - -For a full diff see [`0.10.1...0.11.0`][0.10.1...0.11.0]. - -### Added - -- Merged in normalizers from [`ergebnis/composer-json-normalizer`](https://github.com/ergebnis/composer-json-normalizer) ([#203]), by [@localheinz] - -### Removed - -- Removed the `ChainUriRetriever` ([#202]), by [@localheinz] - -## [`0.10.1`][0.10.1] - -For a full diff see [`0.10.0...0.10.1`][0.10.0...0.10.1]. - -### Fixed - -- Brought back support for PHP 7.1 ([#191]), by [@localheinz] - -## [`0.10.0`][0.10.0] - -For a full diff see [`0.9.0...0.10.0`][0.9.0...0.10.0]. - -### Added - -- Added a `ChainUriRetriever` which allows specifying multiple URI retrievers ([#102]), by [@localheinz] -- Added this changelog ([#103]), by [@localheinz] - -### Changed - -- Allowing injection of a `UriRetriever` into the `SchemaNormalizer`, and defaulting to a `ChainUriRetriever` which composes `FileGetContents` and `Curl` URI retrievers ([#104]), by [@localheinz] -- Dropped `null` default values of constructor arguments of `AutoFormatNormalizer`, `FixedFormatNormalizer`, `Formatter`, `IndentNormalizer` to expose hard dependencies ([#109]), by [@localheinz] -- Dropped nullable return type declaration from `ChainUriRetriever::getContentType()`, defaulting to an empty `string` when `ChainUriRetriever::retrieve()` wasn't invoked yet ([#132]), by [@localheinz] -- Started using `ergebnis/json-printer` instead of `localheinz/json-printer` ([#176]), by [@localheinz] -- Renamed vendor namespace `Localheinz` to `Ergebnis` after move to [@ergebnis] ([#181]), by [@localheinz] - - Run - - ``` - $ composer remove localheinz/json-normalizer - ``` - - and - - ``` - $ composer require ergebnis/json-normalizer - ``` - - to update. - - Run - - ``` - $ find . -type f -exec sed -i '.bak' 's/Localheinz\\Json\\Normalizer/Ergebnis\\Json\\Normalizer/g' {} \; - ``` - - to replace occurrences of `Localheinz\Json\Normalizer` with `Ergebnis\Json\Normalizer`. - - Run - - ``` - $ find -type f -name '*.bak' -delete - ``` - - to delete backup files created in the previous step. - -### Fixed - -- Dropped support for PHP 7.1 ([#163]), by [@localheinz] - -## [`0.9.0`][0.9.0] - -For a full diff see [`0.8.0...0.9.0`][0.8.0...0.9.0]. - -### Added - -- Added `JsonEncodeOptions` value object ([#93]), by [@localheinz] - -### Changed - -- Turned method on `Format` into named constructor on `Indent` value object ([#94]), by [@localheinz] -- Turned method on `Format` into named constructor on `JsonEncodeOptions` value object([#95]), by [@localheinz] -- Turned method on `Format` into named constructor on `NewLine` value object ([#96]), by [@localheinz] - -### Removed - -- Removed capability to create `Json` value object from decoded data ([#88]), by [@localheinz] -- Removed `IndentInterface` ([#89]), by [@localheinz] -- Removed `NewLineInterface` ([#90]), by [@localheinz] -- Removed `FormatInterface` ([#91]), by [@localheinz] -- Removed `JsonInterface` ([#92]), by [@localheinz] - -## [`0.8.0`][0.8.0] - -For a full diff see [`0.7.0...0.8.0`][0.7.0...0.8.0]. - -### Added - -- Added named constructor to `Json` value object to allow creation from data ([#86]), by [@localheinz] - -### Changed - -- Renamed `InvalidJsonException` to `InvalidJsonEncodedException` ([#85]), by [@localheinz] - -### Fixed - -- `ExceptionInterface` now extends `Throwable` ([#82]), by [@BackEndTea] -- Extension `ext/json` is now explicitly required ([#84]), by [@localheinz] - -## [`0.7.0`][0.7.0] - -For a full diff see [`0.6.0...0.7.0`][0.6.0...0.7.0]. - -### Added - -- Added `Indent` value object ([#73]), by [@localheinz] -- Added `NewLine` value object ([#76]), by [@localheinz] -- Added `Json` value object ([#64]), by [@localheinz] -- Added exceptions ([#79]), by [@localheinz] - -### Changed - -- Removed the `Sniffer` in favour of a named constructor on `Format` value object ([#77]), by [@localheinz] - -### Fixed - -- Added more test cases for sniffing JSON without whitespace ([#67]), by [@localheinz] -- Added missing types in a Docblock ([#68]), by [@localheinz] -- The `Format` value object now rejects mixed tabs and spaces as indent ([#69]), by [@localheinz] -- Added more test cases for JSON without indent ([#72]), by [@localheinz] -- Sniff only pure indents, no mixed spaces and tabs ([#71]), by [@localheinz] - -## [`0.6.0`][0.6.0] - -For a full diff see [`0.5.2...0.6.0`][0.5.2...0.6.0]. - -### Added - -- Added sniffing of new-line character sequence ([#55]), by [@localheinz] - -## [`0.5.2`][0.5.2] - -For a full diff see [`0.5.1...0.5.2`][0.5.1...0.5.2]. - -### Fixed - -- Keep resolving references until there are none left ([#49]), by [@localheinz] - -## [`0.5.1`][0.5.1] - -For a full diff see [`0.5.0...0.5.1`][0.5.0...0.5.1]. - -### Fixed - -- Resolve referenced schema in `oneOf` combination ([#47]), by [@localheinz] - -## [`0.5.0`][0.5.0] - -For a full diff see [`0.4.0...0.5.0`][0.4.0...0.5.0]. - -### Added - -- Added handling of arrays where schema describes tuple ([#37]), by [@localheinz] -- Added handling of arrays were schema has reference definition ([#40]), by [@localheinz] -- Added handling of `oneOf` ([#45]), by [@localheinz] - -## [`0.4.0`][0.4.0] - -For a full diff see [`0.3.0...0.4.0`][0.3.0...0.4.0]. - -### Added - -- Extracted `Formatter` ([#31]), by [@localheinz] - -### Changed - -- Renamed `FormatSniffer` to `Sniffer` ([#30]), by [@localheinz] - -## [`0.3.0`][0.3.0] - -For a full diff see [`0.2.0...0.3.0`][0.2.0...0.3.0]. - -### Changed - -- Require PHP 7.1 ([#27]), by [@localheinz] -- Allow to mutate `Format` value object ([#29]), by [@localheinz] - -## [`0.2.0`][0.2.0] - -For a full diff see [`0.1.0...0.2.0`][0.1.0...0.2.0]. - -### Added - -- Added `FixedFormatNormalizer` ([#17]), by [@localheinz] - -## [`0.1.0`][0.1.0] - -For a full diff see [`5d8b3e2...0.1.0`][5d8b3e2...0.1.0]. - -### Added - -- Added `IndentNormalizer` ([#1]), by [@localheinz] -- Added `FinalNewLineNormalizer` ([#2]), by [@localheinz] -- Added `NoFinalNewLineNormalizer` ([#3]), by [@localheinz] -- Added `JsonEncodeNormalizer` ([#7]), by [@localheinz] -- Added `CallableNormalizer` ([#8]), by [@localheinz] -- Added `ChainNormalizer` ([#9]), by [@localheinz] -- Added `Format` value object ([#10]), by [@localheinz] -- Added `FormatSniffer` ([#12]), by [@localheinz] -- Added `AutoFormatNormalizer` ([#13]), by [@localheinz] -- Added `SchemaNormalizer` ([#15]), by [@localheinz] - -[0.1.0]: https://github.com/ergebnis/json-normalizer/releases/tag/0.1.0 -[0.2.0]: https://github.com/ergebnis/json-normalizer/releases/tag/0.2.0 -[0.3.0]: https://github.com/ergebnis/json-normalizer/releases/tag/0.3.0 -[0.4.0]: https://github.com/ergebnis/json-normalizer/releases/tag/0.4.0 -[0.5.0]: https://github.com/ergebnis/json-normalizer/releases/tag/0.5.0 -[0.5.1]: https://github.com/ergebnis/json-normalizer/releases/tag/0.5.1 -[0.5.2]: https://github.com/ergebnis/json-normalizer/releases/tag/0.5.2 -[0.6.0]: https://github.com/ergebnis/json-normalizer/releases/tag/0.6.0 -[0.7.0]: https://github.com/ergebnis/json-normalizer/releases/tag/0.7.0 -[0.8.0]: https://github.com/ergebnis/json-normalizer/releases/tag/0.8.0 -[0.9.0]: https://github.com/ergebnis/json-normalizer/releases/tag/0.9.0 -[0.10.0]: https://github.com/ergebnis/json-normalizer/releases/tag/0.10.0 -[0.10.1]: https://github.com/ergebnis/json-normalizer/releases/tag/0.10.0 -[0.11.0]: https://github.com/ergebnis/json-normalizer/releases/tag/0.11.0 -[0.12.0]: https://github.com/ergebnis/json-normalizer/releases/tag/0.12.0 -[0.13.0]: https://github.com/ergebnis/json-normalizer/releases/tag/0.13.0 -[0.13.1]: https://github.com/ergebnis/json-normalizer/releases/tag/0.13.1 -[0.14.0]: https://github.com/ergebnis/json-normalizer/releases/tag/0.14.0 -[0.14.1]: https://github.com/ergebnis/json-normalizer/releases/tag/0.14.1 -[1.0.0]: https://github.com/ergebnis/json-normalizer/releases/tag/1.0.0 -[1.0.1]: https://github.com/ergebnis/json-normalizer/releases/tag/1.0.1 -[1.0.2]: https://github.com/ergebnis/json-normalizer/releases/tag/1.0.2 -[1.0.3]: https://github.com/ergebnis/json-normalizer/releases/tag/1.0.3 -[2.0.0]: https://github.com/ergebnis/json-normalizer/releases/tag/2.0.0 -[2.1.0]: https://github.com/ergebnis/json-normalizer/releases/tag/2.1.0 -[2.2.0]: https://github.com/ergebnis/json-normalizer/releases/tag/2.2.0 -[3.0.0]: https://github.com/ergebnis/json-normalizer/releases/tag/3.0.0 -[4.0.0]: https://github.com/ergebnis/json-normalizer/releases/tag/4.0.0 -[4.0.1]: https://github.com/ergebnis/json-normalizer/releases/tag/4.0.1 -[4.0.2]: https://github.com/ergebnis/json-normalizer/releases/tag/4.0.2 -[4.1.0]: https://github.com/ergebnis/json-normalizer/releases/tag/4.1.0 -[4.2.0]: https://github.com/ergebnis/json-normalizer/releases/tag/4.2.0 -[4.3.0]: https://github.com/ergebnis/json-normalizer/releases/tag/4.3.0 - -[5d8b3e2...0.1.0]: https://github.com/ergebnis/json-normalizer/compare/5d8b3e2...0.1.0 -[0.1.0...0.2.0]: https://github.com/ergebnis/json-normalizer/compare/0.1.0...0.2.0 -[0.2.0...0.3.0]: https://github.com/ergebnis/json-normalizer/compare/0.2.0...0.3.0 -[0.3.0...0.4.0]: https://github.com/ergebnis/json-normalizer/compare/0.3.0...0.4.0 -[0.4.0...0.5.0]: https://github.com/ergebnis/json-normalizer/compare/0.4.0...0.5.0 -[0.5.0...0.5.1]: https://github.com/ergebnis/json-normalizer/compare/0.5.0...0.5.1 -[0.5.1...0.5.2]: https://github.com/ergebnis/json-normalizer/compare/0.5.1...0.5.2 -[0.5.2...0.6.0]: https://github.com/ergebnis/json-normalizer/compare/0.5.2...0.6.0 -[0.6.0...0.7.0]: https://github.com/ergebnis/json-normalizer/compare/0.6.0...0.7.0 -[0.7.0...0.8.0]: https://github.com/ergebnis/json-normalizer/compare/0.7.0...0.8.0 -[0.8.0...0.9.0]: https://github.com/ergebnis/json-normalizer/compare/0.8.0...0.9.0 -[0.9.0...0.10.0]: https://github.com/ergebnis/json-normalizer/compare/0.9.0...0.10.0 -[0.10.0...0.10.1]: https://github.com/ergebnis/json-normalizer/compare/0.10.0...0.10.1 -[0.10.1...0.11.0]: https://github.com/ergebnis/json-normalizer/compare/0.10.1...0.11.0 -[0.11.0...0.12.0]: https://github.com/ergebnis/json-normalizer/compare/0.11.0...0.12.0 -[0.12.0...0.13.0]: https://github.com/ergebnis/json-normalizer/compare/0.12.0...0.13.0 -[0.13.0...0.13.1]: https://github.com/ergebnis/json-normalizer/compare/0.13.0...0.13.1 -[0.13.1...0.14.0]: https://github.com/ergebnis/json-normalizer/compare/0.13.1...0.14.0 -[0.14.0...0.14.1]: https://github.com/ergebnis/json-normalizer/compare/0.14.0...0.14.1 -[0.14.1...1.0.0]: https://github.com/ergebnis/json-normalizer/compare/0.14.1...1.0.0 -[1.0.0...1.0.1]: https://github.com/ergebnis/json-normalizer/compare/1.0.0...1.0.0 -[1.0.1...1.0.2]: https://github.com/ergebnis/json-normalizer/compare/1.0.1...1.0.2 -[1.0.2...1.0.3]: https://github.com/ergebnis/json-normalizer/compare/1.0.2...1.0.3 -[1.0.3...2.0.0]: https://github.com/ergebnis/json-normalizer/compare/1.0.3...2.0.0 -[2.0.0...2.1.0]: https://github.com/ergebnis/json-normalizer/compare/2.0.0...2.1.0 -[2.1.0...2.2.0]: https://github.com/ergebnis/json-normalizer/compare/2.1.0...2.2.0 -[2.2.0...3.0.0]: https://github.com/ergebnis/json-normalizer/compare/2.2.0...3.0.0 -[3.0.0...4.0.0]: https://github.com/ergebnis/json-normalizer/compare/3.0.0...4.0.0 -[4.0.0...4.0.1]: https://github.com/ergebnis/json-normalizer/compare/4.0.0...4.0.1 -[4.0.1...4.0.2]: https://github.com/ergebnis/json-normalizer/compare/4.0.1...4.0.2 -[4.0.2...4.1.0]: https://github.com/ergebnis/json-normalizer/compare/4.0.2...4.1.0 -[4.1.0...4.2.0]: https://github.com/ergebnis/json-normalizer/compare/4.1.0...4.2.0 -[4.2.0...4.3.0]: https://github.com/ergebnis/json-normalizer/compare/4.2.0...4.3.0 -[4.3.0...main]: https://github.com/ergebnis/json-normalizer/compare/4.3.0...main - -[#1]: https://github.com/ergebnis/json-normalizer/pull/1 -[#2]: https://github.com/ergebnis/json-normalizer/pull/2 -[#3]: https://github.com/ergebnis/json-normalizer/pull/3 -[#7]: https://github.com/ergebnis/json-normalizer/pull/7 -[#8]: https://github.com/ergebnis/json-normalizer/pull/8 -[#9]: https://github.com/ergebnis/json-normalizer/pull/9 -[#10]: https://github.com/ergebnis/json-normalizer/pull/10 -[#12]: https://github.com/ergebnis/json-normalizer/pull/12 -[#13]: https://github.com/ergebnis/json-normalizer/pull/13 -[#15]: https://github.com/ergebnis/json-normalizer/pull/15 -[#17]: https://github.com/ergebnis/json-normalizer/pull/17 -[#27]: https://github.com/ergebnis/json-normalizer/pull/27 -[#29]: https://github.com/ergebnis/json-normalizer/pull/29 -[#30]: https://github.com/ergebnis/json-normalizer/pull/30 -[#31]: https://github.com/ergebnis/json-normalizer/pull/31 -[#37]: https://github.com/ergebnis/json-normalizer/pull/37 -[#40]: https://github.com/ergebnis/json-normalizer/pull/40 -[#45]: https://github.com/ergebnis/json-normalizer/pull/45 -[#47]: https://github.com/ergebnis/json-normalizer/pull/47 -[#49]: https://github.com/ergebnis/json-normalizer/pull/49 -[#55]: https://github.com/ergebnis/json-normalizer/pull/55 -[#64]: https://github.com/ergebnis/json-normalizer/pull/64 -[#67]: https://github.com/ergebnis/json-normalizer/pull/67 -[#68]: https://github.com/ergebnis/json-normalizer/pull/68 -[#69]: https://github.com/ergebnis/json-normalizer/pull/69 -[#71]: https://github.com/ergebnis/json-normalizer/pull/71 -[#72]: https://github.com/ergebnis/json-normalizer/pull/72 -[#73]: https://github.com/ergebnis/json-normalizer/pull/73 -[#76]: https://github.com/ergebnis/json-normalizer/pull/76 -[#77]: https://github.com/ergebnis/json-normalizer/pull/77 -[#79]: https://github.com/ergebnis/json-normalizer/pull/79 -[#82]: https://github.com/ergebnis/json-normalizer/pull/82 -[#84]: https://github.com/ergebnis/json-normalizer/pull/84 -[#85]: https://github.com/ergebnis/json-normalizer/pull/85 -[#86]: https://github.com/ergebnis/json-normalizer/pull/86 -[#88]: https://github.com/ergebnis/json-normalizer/pull/88 -[#89]: https://github.com/ergebnis/json-normalizer/pull/89 -[#90]: https://github.com/ergebnis/json-normalizer/pull/90 -[#91]: https://github.com/ergebnis/json-normalizer/pull/91 -[#92]: https://github.com/ergebnis/json-normalizer/pull/92 -[#93]: https://github.com/ergebnis/json-normalizer/pull/93 -[#94]: https://github.com/ergebnis/json-normalizer/pull/94 -[#95]: https://github.com/ergebnis/json-normalizer/pull/95 -[#96]: https://github.com/ergebnis/json-normalizer/pull/96 -[#102]: https://github.com/ergebnis/json-normalizer/pull/102 -[#103]: https://github.com/ergebnis/json-normalizer/pull/103 -[#104]: https://github.com/ergebnis/json-normalizer/pull/104 -[#109]: https://github.com/ergebnis/json-normalizer/pull/109 -[#132]: https://github.com/ergebnis/json-normalizer/pull/132 -[#163]: https://github.com/ergebnis/json-normalizer/pull/163 -[#176]: https://github.com/ergebnis/json-normalizer/pull/176 -[#181]: https://github.com/ergebnis/json-normalizer/pull/181 -[#191]: https://github.com/ergebnis/json-normalizer/pull/191 -[#202]: https://github.com/ergebnis/json-normalizer/pull/202 -[#203]: https://github.com/ergebnis/json-normalizer/pull/203 -[#268]: https://github.com/ergebnis/json-normalizer/pull/268 -[#269]: https://github.com/ergebnis/json-normalizer/pull/269 -[#308]: https://github.com/ergebnis/json-normalizer/pull/308 -[#335]: https://github.com/ergebnis/json-normalizer/pull/335 -[#384]: https://github.com/ergebnis/json-normalizer/pull/384 -[#423]: https://github.com/ergebnis/json-normalizer/pull/423 -[#424]: https://github.com/ergebnis/json-normalizer/pull/424 -[#425]: https://github.com/ergebnis/json-normalizer/pull/425 -[#429]: https://github.com/ergebnis/json-normalizer/pull/429 -[#463]: https://github.com/ergebnis/json-normalizer/pull/463 -[#517]: https://github.com/ergebnis/json-normalizer/pull/517 -[#564]: https://github.com/ergebnis/json-normalizer/pull/564 -[#573]: https://github.com/ergebnis/json-normalizer/pull/573 -[#589]: https://github.com/ergebnis/json-normalizer/pull/589 -[#590]: https://github.com/ergebnis/json-normalizer/pull/590 -[#595]: https://github.com/ergebnis/json-normalizer/pull/595 -[#597]: https://github.com/ergebnis/json-normalizer/pull/597 -[#603]: https://github.com/ergebnis/json-normalizer/pull/603 -[#608]: https://github.com/ergebnis/json-normalizer/pull/608 -[#616]: https://github.com/ergebnis/json-normalizer/pull/616 -[#618]: https://github.com/ergebnis/json-normalizer/pull/618 -[#619]: https://github.com/ergebnis/json-normalizer/pull/619 -[#623]: https://github.com/ergebnis/json-normalizer/pull/623 -[#632]: https://github.com/ergebnis/json-normalizer/pull/632 -[#639]: https://github.com/ergebnis/json-normalizer/pull/639 -[#641]: https://github.com/ergebnis/json-normalizer/pull/641 -[#666]: https://github.com/ergebnis/json-normalizer/pull/666 -[#667]: https://github.com/ergebnis/json-normalizer/pull/667 -[#668]: https://github.com/ergebnis/json-normalizer/pull/668 -[#669]: https://github.com/ergebnis/json-normalizer/pull/669 -[#672]: https://github.com/ergebnis/json-normalizer/pull/672 -[#673]: https://github.com/ergebnis/json-normalizer/pull/673 -[#697]: https://github.com/ergebnis/json-normalizer/pull/697 -[#698]: https://github.com/ergebnis/json-normalizer/pull/698 -[#705]: https://github.com/ergebnis/json-normalizer/pull/705 -[#723]: https://github.com/ergebnis/json-normalizer/pull/723 -[#756]: https://github.com/ergebnis/json-normalizer/pull/756 -[#757]: https://github.com/ergebnis/json-normalizer/pull/757 -[#772]: https://github.com/ergebnis/json-normalizer/pull/772 -[#774]: https://github.com/ergebnis/json-normalizer/pull/774 -[#775]: https://github.com/ergebnis/json-normalizer/pull/775 -[#776]: https://github.com/ergebnis/json-normalizer/pull/776 -[#777]: https://github.com/ergebnis/json-normalizer/pull/777 -[#778]: https://github.com/ergebnis/json-normalizer/pull/778 -[#779]: https://github.com/ergebnis/json-normalizer/pull/779 -[#780]: https://github.com/ergebnis/json-normalizer/pull/780 -[#781]: https://github.com/ergebnis/json-normalizer/pull/781 -[#793]: https://github.com/ergebnis/json-normalizer/pull/793 -[#794]: https://github.com/ergebnis/json-normalizer/pull/794 -[#795]: https://github.com/ergebnis/json-normalizer/pull/795 -[#801]: https://github.com/ergebnis/json-normalizer/pull/801 -[#802]: https://github.com/ergebnis/json-normalizer/pull/802 -[#804]: https://github.com/ergebnis/json-normalizer/pull/804 -[#805]: https://github.com/ergebnis/json-normalizer/pull/805 -[#813]: https://github.com/ergebnis/json-normalizer/pull/813 -[#816]: https://github.com/ergebnis/json-normalizer/pull/816 -[#819]: https://github.com/ergebnis/json-normalizer/pull/819 -[#850]: https://github.com/ergebnis/json-normalizer/pull/850 -[#856]: https://github.com/ergebnis/json-normalizer/pull/856 -[#858]: https://github.com/ergebnis/json-normalizer/pull/858 -[#860]: https://github.com/ergebnis/json-normalizer/pull/860 -[#861]: https://github.com/ergebnis/json-normalizer/pull/861 -[#863]: https://github.com/ergebnis/json-normalizer/pull/863 -[#868]: https://github.com/ergebnis/json-normalizer/pull/868 -[#873]: https://github.com/ergebnis/json-normalizer/pull/873 -[#889]: https://github.com/ergebnis/json-normalizer/pull/889 -[#917]: https://github.com/ergebnis/json-normalizer/pull/917 -[#980]: https://github.com/ergebnis/json-normalizer/pull/980 -[#982]: https://github.com/ergebnis/json-normalizer/pull/982 -[#988]: https://github.com/ergebnis/json-normalizer/pull/988 -[#989]: https://github.com/ergebnis/json-normalizer/pull/989 -[#991]: https://github.com/ergebnis/json-normalizer/pull/991 -[#992]: https://github.com/ergebnis/json-normalizer/pull/992 - -[@alexis-saransig-lullabot]: https://github.com/alexis-saransig-lullabot -[@BackEndTea]: https://github.com/BackEndTea -[@dependabot]: https://github.com/dependabot -[@ergebnis]: https://github.com/ergebnis -[@fredden]: https://github.com/fredden -[@localheinz]: https://github.com/localheinz +[1902cc2...main]: https://github.com/ergebnis/json-normalizer/compare/1902cc2...main diff --git a/Makefile b/Makefile index 7277c4ea..2dccb963 100644 --- a/Makefile +++ b/Makefile @@ -15,7 +15,7 @@ coding-standards: phive vendor ## Lints YAML files with yamllint, normalizes com .PHONY: dependency-analysis dependency-analysis: phive vendor ## Runs a dependency analysis with maglnet/composer-require-checker - .phive/composer-require-checker check --config-file=$(shell pwd)/composer-require-checker.json + .phive/composer-require-checker check --config-file=$(shell pwd)/composer-require-checker.json --verbose .PHONY: help help: ## Displays this list of targets with descriptions diff --git a/psalm-baseline.xml b/psalm-baseline.xml index 300b4c0e..fa53c9b8 100644 --- a/psalm-baseline.xml +++ b/psalm-baseline.xml @@ -1,5 +1,5 @@ - + Json From 02ae5aeb2798629b9064b5d0c7c0cc23c8727bd8 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 29 Nov 2023 20:42:35 +0000 Subject: [PATCH 030/111] composer(deps-dev): Bump symfony/filesystem from 6.3.1 to 6.4.0 Bumps [symfony/filesystem](https://github.com/symfony/filesystem) from 6.3.1 to 6.4.0. - [Release notes](https://github.com/symfony/filesystem/releases) - [Changelog](https://github.com/symfony/filesystem/blob/7.0/CHANGELOG.md) - [Commits](https://github.com/symfony/filesystem/compare/v6.3.1...v6.4.0) --- updated-dependencies: - dependency-name: symfony/filesystem dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- composer.json | 2 +- composer.lock | 14 +++++++------- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/composer.json b/composer.json index 4971e4bf..b55ed6a2 100644 --- a/composer.json +++ b/composer.json @@ -40,7 +40,7 @@ "phpunit/phpunit": "^10.4.2", "psalm/plugin-phpunit": "~0.18.4", "rector/rector": "~0.18.11", - "symfony/filesystem": "^6.3.1", + "symfony/filesystem": "^6.4.0", "symfony/finder": "^6.3.5", "vimeo/psalm": "^5.16.0" }, diff --git a/composer.lock b/composer.lock index 63ae82fb..a2690094 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "84fc9d97341fc2a11b543c54d7ea5b48", + "content-hash": "7f7ec4b09e7330fb376311c7c79905a5", "packages": [ { "name": "ergebnis/json", @@ -4720,16 +4720,16 @@ }, { "name": "symfony/filesystem", - "version": "v6.3.1", + "version": "v6.4.0", "source": { "type": "git", "url": "https://github.com/symfony/filesystem.git", - "reference": "edd36776956f2a6fcf577edb5b05eb0e3bdc52ae" + "reference": "952a8cb588c3bc6ce76f6023000fb932f16a6e59" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/filesystem/zipball/edd36776956f2a6fcf577edb5b05eb0e3bdc52ae", - "reference": "edd36776956f2a6fcf577edb5b05eb0e3bdc52ae", + "url": "https://api.github.com/repos/symfony/filesystem/zipball/952a8cb588c3bc6ce76f6023000fb932f16a6e59", + "reference": "952a8cb588c3bc6ce76f6023000fb932f16a6e59", "shasum": "" }, "require": { @@ -4763,7 +4763,7 @@ "description": "Provides basic utilities for the filesystem", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/filesystem/tree/v6.3.1" + "source": "https://github.com/symfony/filesystem/tree/v6.4.0" }, "funding": [ { @@ -4779,7 +4779,7 @@ "type": "tidelift" } ], - "time": "2023-06-01T08:30:39+00:00" + "time": "2023-07-26T17:27:13+00:00" }, { "name": "symfony/finder", From 7e124c5ebddaebf34ac35bad6bb753a6e6c8e109 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 29 Nov 2023 20:48:02 +0000 Subject: [PATCH 031/111] composer(deps-dev): Bump symfony/finder from 6.3.5 to 6.4.0 Bumps [symfony/finder](https://github.com/symfony/finder) from 6.3.5 to 6.4.0. - [Release notes](https://github.com/symfony/finder/releases) - [Changelog](https://github.com/symfony/finder/blob/7.0/CHANGELOG.md) - [Commits](https://github.com/symfony/finder/compare/v6.3.5...v6.4.0) --- updated-dependencies: - dependency-name: symfony/finder dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- composer.json | 2 +- composer.lock | 16 ++++++++-------- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/composer.json b/composer.json index b55ed6a2..0623a917 100644 --- a/composer.json +++ b/composer.json @@ -41,7 +41,7 @@ "psalm/plugin-phpunit": "~0.18.4", "rector/rector": "~0.18.11", "symfony/filesystem": "^6.4.0", - "symfony/finder": "^6.3.5", + "symfony/finder": "^6.4.0", "vimeo/psalm": "^5.16.0" }, "suggest": { diff --git a/composer.lock b/composer.lock index a2690094..86937dcc 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "7f7ec4b09e7330fb376311c7c79905a5", + "content-hash": "20a30abae2a464730dd66fd2818c15ce", "packages": [ { "name": "ergebnis/json", @@ -4783,23 +4783,23 @@ }, { "name": "symfony/finder", - "version": "v6.3.5", + "version": "v6.4.0", "source": { "type": "git", "url": "https://github.com/symfony/finder.git", - "reference": "a1b31d88c0e998168ca7792f222cbecee47428c4" + "reference": "11d736e97f116ac375a81f96e662911a34cd50ce" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/finder/zipball/a1b31d88c0e998168ca7792f222cbecee47428c4", - "reference": "a1b31d88c0e998168ca7792f222cbecee47428c4", + "url": "https://api.github.com/repos/symfony/finder/zipball/11d736e97f116ac375a81f96e662911a34cd50ce", + "reference": "11d736e97f116ac375a81f96e662911a34cd50ce", "shasum": "" }, "require": { "php": ">=8.1" }, "require-dev": { - "symfony/filesystem": "^6.0" + "symfony/filesystem": "^6.0|^7.0" }, "type": "library", "autoload": { @@ -4827,7 +4827,7 @@ "description": "Finds files and directories via an intuitive fluent interface", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/finder/tree/v6.3.5" + "source": "https://github.com/symfony/finder/tree/v6.4.0" }, "funding": [ { @@ -4843,7 +4843,7 @@ "type": "tidelift" } ], - "time": "2023-09-26T12:56:25+00:00" + "time": "2023-10-31T17:30:12+00:00" }, { "name": "symfony/options-resolver", From 10e8e12bc3ae397ecf40bff96f09c47d453adb81 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 30 Nov 2023 20:02:19 +0000 Subject: [PATCH 032/111] composer(deps-dev): Bump ergebnis/php-cs-fixer-config Bumps [ergebnis/php-cs-fixer-config](https://github.com/ergebnis/php-cs-fixer-config) from 6.12.0 to 6.13.0. - [Release notes](https://github.com/ergebnis/php-cs-fixer-config/releases) - [Changelog](https://github.com/ergebnis/php-cs-fixer-config/blob/main/CHANGELOG.md) - [Commits](https://github.com/ergebnis/php-cs-fixer-config/compare/6.12.0...6.13.0) --- updated-dependencies: - dependency-name: ergebnis/php-cs-fixer-config dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- composer.json | 2 +- composer.lock | 134 ++++++++++++++++++++++++++------------------------ 2 files changed, 70 insertions(+), 66 deletions(-) diff --git a/composer.json b/composer.json index 0623a917..20ff5756 100644 --- a/composer.json +++ b/composer.json @@ -33,7 +33,7 @@ "composer/semver": "^3.4.0", "ergebnis/data-provider": "^3.1.0", "ergebnis/license": "^2.3.0", - "ergebnis/php-cs-fixer-config": "~6.12.0", + "ergebnis/php-cs-fixer-config": "~6.13.0", "ergebnis/phpunit-slow-test-detector": "^2.4.0", "fakerphp/faker": "^1.23.0", "infection/infection": "~0.27.8", diff --git a/composer.lock b/composer.lock index 86937dcc..951a4720 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "20a30abae2a464730dd66fd2818c15ce", + "content-hash": "3dda1afcc96dee54bd0c1306b00b5389", "packages": [ { "name": "ergebnis/json", @@ -1100,16 +1100,16 @@ }, { "name": "ergebnis/php-cs-fixer-config", - "version": "6.12.0", + "version": "6.13.0", "source": { "type": "git", "url": "https://github.com/ergebnis/php-cs-fixer-config.git", - "reference": "a9a29f07063902fdc4964ffb7d19f5301f923499" + "reference": "4fb31c5e812b063ae783c354460558b95b887e95" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/ergebnis/php-cs-fixer-config/zipball/a9a29f07063902fdc4964ffb7d19f5301f923499", - "reference": "a9a29f07063902fdc4964ffb7d19f5301f923499", + "url": "https://api.github.com/repos/ergebnis/php-cs-fixer-config/zipball/4fb31c5e812b063ae783c354460558b95b887e95", + "reference": "4fb31c5e812b063ae783c354460558b95b887e95", "shasum": "" }, "require": { @@ -1117,20 +1117,20 @@ "ext-filter": "*", "friendsofphp/php-cs-fixer": "~3.40.0", "kubawerlos/php-cs-fixer-custom-fixers": "~3.17.0", - "php": "~8.1.0 || ~8.2.0 || ~8.3.0" + "php": "~7.4.0 || ~8.0.0 || ~8.1.0 || ~8.2.0 || ~8.3.0" }, "require-dev": { - "ergebnis/composer-normalize": "^2.39.0", - "ergebnis/data-provider": "^3.0.0", - "ergebnis/license": "^2.2.0", - "ergebnis/phpunit-slow-test-detector": "^2.4.0", - "ergebnis/rector-rules": "~0.1.0", + "ergebnis/composer-normalize": "^2.28.3", + "ergebnis/data-provider": "^1.2.0", + "ergebnis/license": "^2.0.0", + "ergebnis/rector-rules": "~0.3.0", "fakerphp/faker": "^1.23.0", - "phpunit/phpunit": "^10.4.2", + "infection/infection": "~0.26.6", + "phpunit/phpunit": "^9.6.13", "psalm/plugin-phpunit": "~0.18.4", - "rector/rector": "~0.18.10", - "symfony/filesystem": "^6.3.1", - "symfony/process": "^6.3.4", + "rector/rector": "~0.18.11", + "symfony/filesystem": "^5.0.0 || ^6.0.0", + "symfony/process": "^5.0.0 || ^6.0.0", "vimeo/psalm": "^5.16.0" }, "type": "library", @@ -1163,7 +1163,7 @@ "security": "https://github.com/ergebnis/php-cs-fixer-config/blob/main/.github/SECURITY.md", "source": "https://github.com/ergebnis/php-cs-fixer-config" }, - "time": "2023-11-27T11:57:43+00:00" + "time": "2023-11-30T09:24:19+00:00" }, { "name": "ergebnis/phpunit-slow-test-detector", @@ -4407,16 +4407,16 @@ }, { "name": "symfony/console", - "version": "v6.3.8", + "version": "v6.4.0", "source": { "type": "git", "url": "https://github.com/symfony/console.git", - "reference": "0d14a9f6d04d4ac38a8cea1171f4554e325dae92" + "reference": "cd9864b47c367450e14ab32f78fdbf98c44c26b6" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/console/zipball/0d14a9f6d04d4ac38a8cea1171f4554e325dae92", - "reference": "0d14a9f6d04d4ac38a8cea1171f4554e325dae92", + "url": "https://api.github.com/repos/symfony/console/zipball/cd9864b47c367450e14ab32f78fdbf98c44c26b6", + "reference": "cd9864b47c367450e14ab32f78fdbf98c44c26b6", "shasum": "" }, "require": { @@ -4424,7 +4424,7 @@ "symfony/deprecation-contracts": "^2.5|^3", "symfony/polyfill-mbstring": "~1.0", "symfony/service-contracts": "^2.5|^3", - "symfony/string": "^5.4|^6.0" + "symfony/string": "^5.4|^6.0|^7.0" }, "conflict": { "symfony/dependency-injection": "<5.4", @@ -4438,12 +4438,16 @@ }, "require-dev": { "psr/log": "^1|^2|^3", - "symfony/config": "^5.4|^6.0", - "symfony/dependency-injection": "^5.4|^6.0", - "symfony/event-dispatcher": "^5.4|^6.0", - "symfony/lock": "^5.4|^6.0", - "symfony/process": "^5.4|^6.0", - "symfony/var-dumper": "^5.4|^6.0" + "symfony/config": "^5.4|^6.0|^7.0", + "symfony/dependency-injection": "^5.4|^6.0|^7.0", + "symfony/event-dispatcher": "^5.4|^6.0|^7.0", + "symfony/http-foundation": "^6.4|^7.0", + "symfony/http-kernel": "^6.4|^7.0", + "symfony/lock": "^5.4|^6.0|^7.0", + "symfony/messenger": "^5.4|^6.0|^7.0", + "symfony/process": "^5.4|^6.0|^7.0", + "symfony/stopwatch": "^5.4|^6.0|^7.0", + "symfony/var-dumper": "^5.4|^6.0|^7.0" }, "type": "library", "autoload": { @@ -4477,7 +4481,7 @@ "terminal" ], "support": { - "source": "https://github.com/symfony/console/tree/v6.3.8" + "source": "https://github.com/symfony/console/tree/v6.4.0" }, "funding": [ { @@ -4493,7 +4497,7 @@ "type": "tidelift" } ], - "time": "2023-10-31T08:09:35+00:00" + "time": "2023-11-20T16:41:16+00:00" }, { "name": "symfony/deprecation-contracts", @@ -4564,16 +4568,16 @@ }, { "name": "symfony/event-dispatcher", - "version": "v6.3.2", + "version": "v6.4.0", "source": { "type": "git", "url": "https://github.com/symfony/event-dispatcher.git", - "reference": "adb01fe097a4ee930db9258a3cc906b5beb5cf2e" + "reference": "d76d2632cfc2206eecb5ad2b26cd5934082941b6" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/adb01fe097a4ee930db9258a3cc906b5beb5cf2e", - "reference": "adb01fe097a4ee930db9258a3cc906b5beb5cf2e", + "url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/d76d2632cfc2206eecb5ad2b26cd5934082941b6", + "reference": "d76d2632cfc2206eecb5ad2b26cd5934082941b6", "shasum": "" }, "require": { @@ -4590,13 +4594,13 @@ }, "require-dev": { "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/config": "^5.4|^6.0|^7.0", + "symfony/dependency-injection": "^5.4|^6.0|^7.0", + "symfony/error-handler": "^5.4|^6.0|^7.0", + "symfony/expression-language": "^5.4|^6.0|^7.0", + "symfony/http-foundation": "^5.4|^6.0|^7.0", "symfony/service-contracts": "^2.5|^3", - "symfony/stopwatch": "^5.4|^6.0" + "symfony/stopwatch": "^5.4|^6.0|^7.0" }, "type": "library", "autoload": { @@ -4624,7 +4628,7 @@ "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/event-dispatcher/tree/v6.3.2" + "source": "https://github.com/symfony/event-dispatcher/tree/v6.4.0" }, "funding": [ { @@ -4640,7 +4644,7 @@ "type": "tidelift" } ], - "time": "2023-07-06T06:56:43+00:00" + "time": "2023-07-27T06:52:43+00:00" }, { "name": "symfony/event-dispatcher-contracts", @@ -4847,16 +4851,16 @@ }, { "name": "symfony/options-resolver", - "version": "v6.3.0", + "version": "v6.4.0", "source": { "type": "git", "url": "https://github.com/symfony/options-resolver.git", - "reference": "a10f19f5198d589d5c33333cffe98dc9820332dd" + "reference": "22301f0e7fdeaacc14318928612dee79be99860e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/options-resolver/zipball/a10f19f5198d589d5c33333cffe98dc9820332dd", - "reference": "a10f19f5198d589d5c33333cffe98dc9820332dd", + "url": "https://api.github.com/repos/symfony/options-resolver/zipball/22301f0e7fdeaacc14318928612dee79be99860e", + "reference": "22301f0e7fdeaacc14318928612dee79be99860e", "shasum": "" }, "require": { @@ -4894,7 +4898,7 @@ "options" ], "support": { - "source": "https://github.com/symfony/options-resolver/tree/v6.3.0" + "source": "https://github.com/symfony/options-resolver/tree/v6.4.0" }, "funding": [ { @@ -4910,7 +4914,7 @@ "type": "tidelift" } ], - "time": "2023-05-12T14:21:09+00:00" + "time": "2023-08-08T10:16:24+00:00" }, { "name": "symfony/polyfill-ctype", @@ -5406,16 +5410,16 @@ }, { "name": "symfony/process", - "version": "v6.3.4", + "version": "v6.4.0", "source": { "type": "git", "url": "https://github.com/symfony/process.git", - "reference": "0b5c29118f2e980d455d2e34a5659f4579847c54" + "reference": "191703b1566d97a5425dc969e4350d32b8ef17aa" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/process/zipball/0b5c29118f2e980d455d2e34a5659f4579847c54", - "reference": "0b5c29118f2e980d455d2e34a5659f4579847c54", + "url": "https://api.github.com/repos/symfony/process/zipball/191703b1566d97a5425dc969e4350d32b8ef17aa", + "reference": "191703b1566d97a5425dc969e4350d32b8ef17aa", "shasum": "" }, "require": { @@ -5447,7 +5451,7 @@ "description": "Executes commands in sub-processes", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/process/tree/v6.3.4" + "source": "https://github.com/symfony/process/tree/v6.4.0" }, "funding": [ { @@ -5463,7 +5467,7 @@ "type": "tidelift" } ], - "time": "2023-08-07T10:39:22+00:00" + "time": "2023-11-17T21:06:49+00:00" }, { "name": "symfony/service-contracts", @@ -5549,7 +5553,7 @@ }, { "name": "symfony/stopwatch", - "version": "v6.3.0", + "version": "v6.4.0", "source": { "type": "git", "url": "https://github.com/symfony/stopwatch.git", @@ -5591,7 +5595,7 @@ "description": "Provides a way to profile code", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/stopwatch/tree/v6.3.0" + "source": "https://github.com/symfony/stopwatch/tree/v6.4.0" }, "funding": [ { @@ -5611,16 +5615,16 @@ }, { "name": "symfony/string", - "version": "v6.3.8", + "version": "v6.4.0", "source": { "type": "git", "url": "https://github.com/symfony/string.git", - "reference": "13880a87790c76ef994c91e87efb96134522577a" + "reference": "b45fcf399ea9c3af543a92edf7172ba21174d809" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/string/zipball/13880a87790c76ef994c91e87efb96134522577a", - "reference": "13880a87790c76ef994c91e87efb96134522577a", + "url": "https://api.github.com/repos/symfony/string/zipball/b45fcf399ea9c3af543a92edf7172ba21174d809", + "reference": "b45fcf399ea9c3af543a92edf7172ba21174d809", "shasum": "" }, "require": { @@ -5634,11 +5638,11 @@ "symfony/translation-contracts": "<2.5" }, "require-dev": { - "symfony/error-handler": "^5.4|^6.0", - "symfony/http-client": "^5.4|^6.0", - "symfony/intl": "^6.2", + "symfony/error-handler": "^5.4|^6.0|^7.0", + "symfony/http-client": "^5.4|^6.0|^7.0", + "symfony/intl": "^6.2|^7.0", "symfony/translation-contracts": "^2.5|^3.0", - "symfony/var-exporter": "^5.4|^6.0" + "symfony/var-exporter": "^5.4|^6.0|^7.0" }, "type": "library", "autoload": { @@ -5677,7 +5681,7 @@ "utf8" ], "support": { - "source": "https://github.com/symfony/string/tree/v6.3.8" + "source": "https://github.com/symfony/string/tree/v6.4.0" }, "funding": [ { @@ -5693,7 +5697,7 @@ "type": "tidelift" } ], - "time": "2023-11-09T08:28:21+00:00" + "time": "2023-11-28T20:41:49+00:00" }, { "name": "thecodingmachine/safe", From d499769c7871f043e331b28d177dfbf55245c2e4 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 30 Nov 2023 20:05:54 +0000 Subject: [PATCH 033/111] composer(deps-dev): Bump ergebnis/license from 2.3.0 to 2.4.0 Bumps [ergebnis/license](https://github.com/ergebnis/license) from 2.3.0 to 2.4.0. - [Release notes](https://github.com/ergebnis/license/releases) - [Changelog](https://github.com/ergebnis/license/blob/main/CHANGELOG.md) - [Commits](https://github.com/ergebnis/license/compare/2.3.0...2.4.0) --- updated-dependencies: - dependency-name: ergebnis/license dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- composer.json | 2 +- composer.lock | 27 +++++++++++++-------------- 2 files changed, 14 insertions(+), 15 deletions(-) diff --git a/composer.json b/composer.json index 20ff5756..f7aa532c 100644 --- a/composer.json +++ b/composer.json @@ -32,7 +32,7 @@ "require-dev": { "composer/semver": "^3.4.0", "ergebnis/data-provider": "^3.1.0", - "ergebnis/license": "^2.3.0", + "ergebnis/license": "^2.4.0", "ergebnis/php-cs-fixer-config": "~6.13.0", "ergebnis/phpunit-slow-test-detector": "^2.4.0", "fakerphp/faker": "^1.23.0", diff --git a/composer.lock b/composer.lock index 951a4720..e894f1bf 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "3dda1afcc96dee54bd0c1306b00b5389", + "content-hash": "56991778a533fa9a8143aa13a154b3e6", "packages": [ { "name": "ergebnis/json", @@ -1040,33 +1040,32 @@ }, { "name": "ergebnis/license", - "version": "2.3.0", + "version": "2.4.0", "source": { "type": "git", "url": "https://github.com/ergebnis/license.git", - "reference": "896ebf196a4def609e17899ab04b13e5cbca4415" + "reference": "629cbbdaa4980e2cf770b9be9ffb5c1b0ceb5160" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/ergebnis/license/zipball/896ebf196a4def609e17899ab04b13e5cbca4415", - "reference": "896ebf196a4def609e17899ab04b13e5cbca4415", + "url": "https://api.github.com/repos/ergebnis/license/zipball/629cbbdaa4980e2cf770b9be9ffb5c1b0ceb5160", + "reference": "629cbbdaa4980e2cf770b9be9ffb5c1b0ceb5160", "shasum": "" }, "require": { "ext-filter": "*", - "php": "~8.1.0 || ~8.2.0 || ~8.3.0" + "php": "~7.4.0 || ~8.0.0 || ~8.1.0 || ~8.2.0 || ~8.3.0" }, "require-dev": { - "ergebnis/composer-normalize": "^2.39.0", - "ergebnis/data-provider": "^3.1.0", - "ergebnis/php-cs-fixer-config": "~6.12.0", - "ergebnis/phpunit-slow-test-detector": "^2.4.0", + "ergebnis/composer-normalize": "^2.28.3", + "ergebnis/data-provider": "^1.2.0", + "ergebnis/php-cs-fixer-config": "^6.13.0", "fakerphp/faker": "^1.23.0", - "infection/infection": "~0.27.8", - "phpunit/phpunit": "^10.4.2", + "infection/infection": "~0.26.6", + "phpunit/phpunit": "^9.6.13", "psalm/plugin-phpunit": "~0.18.4", "rector/rector": "~0.18.11", - "symfony/filesystem": "^6.3.1", + "symfony/filesystem": "^5.0.0 || ^6.0.0", "vimeo/psalm": "^5.16.0" }, "type": "library", @@ -1096,7 +1095,7 @@ "security": "https://github.com/ergebnis/license/blob/main/.github/SECURITY.md", "source": "https://github.com/ergebnis/license" }, - "time": "2023-11-27T16:14:21+00:00" + "time": "2023-11-30T13:28:53+00:00" }, { "name": "ergebnis/php-cs-fixer-config", From 37db972e4e7bbab959122a8f36e00c08ad50dbab Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 30 Nov 2023 20:07:01 +0000 Subject: [PATCH 034/111] composer(deps-dev): Bump ergebnis/data-provider from 3.1.0 to 3.2.0 Bumps [ergebnis/data-provider](https://github.com/ergebnis/data-provider) from 3.1.0 to 3.2.0. - [Release notes](https://github.com/ergebnis/data-provider/releases) - [Changelog](https://github.com/ergebnis/data-provider/blob/main/CHANGELOG.md) - [Commits](https://github.com/ergebnis/data-provider/compare/3.1.0...3.2.0) --- updated-dependencies: - dependency-name: ergebnis/data-provider dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- composer.json | 2 +- composer.lock | 27 +++++++++++++-------------- 2 files changed, 14 insertions(+), 15 deletions(-) diff --git a/composer.json b/composer.json index f7aa532c..00b1d559 100644 --- a/composer.json +++ b/composer.json @@ -31,7 +31,7 @@ }, "require-dev": { "composer/semver": "^3.4.0", - "ergebnis/data-provider": "^3.1.0", + "ergebnis/data-provider": "^3.2.0", "ergebnis/license": "^2.4.0", "ergebnis/php-cs-fixer-config": "~6.13.0", "ergebnis/phpunit-slow-test-detector": "^2.4.0", diff --git a/composer.lock b/composer.lock index e894f1bf..40858419 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "56991778a533fa9a8143aa13a154b3e6", + "content-hash": "a98ada536458770cc323dc97be1ba616", "packages": [ { "name": "ergebnis/json", @@ -976,31 +976,30 @@ }, { "name": "ergebnis/data-provider", - "version": "3.1.0", + "version": "3.2.0", "source": { "type": "git", "url": "https://github.com/ergebnis/data-provider.git", - "reference": "af9e67ac1be167f43be9315bf8bcd3240d351ae6" + "reference": "e2b0b79b833f5a5799f2ee52ebc8e08e8d52f9eb" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/ergebnis/data-provider/zipball/af9e67ac1be167f43be9315bf8bcd3240d351ae6", - "reference": "af9e67ac1be167f43be9315bf8bcd3240d351ae6", + "url": "https://api.github.com/repos/ergebnis/data-provider/zipball/e2b0b79b833f5a5799f2ee52ebc8e08e8d52f9eb", + "reference": "e2b0b79b833f5a5799f2ee52ebc8e08e8d52f9eb", "shasum": "" }, "require": { "fakerphp/faker": "^1.21.0", - "php": "~8.1.0 || ~8.2.0 || ~8.3.0" + "php": "~7.4.0 || ~8.0.0 || ~8.1.0 || ~8.2.0 || ~8.3.0" }, "require-dev": { - "ergebnis/composer-normalize": "^2.39.0", - "ergebnis/license": "^2.2.0", - "ergebnis/php-cs-fixer-config": "~6.11.0", - "ergebnis/phpunit-slow-test-detector": "^2.4.0", - "infection/infection": "~0.27.8", - "phpunit/phpunit": "^10.4.2", + "ergebnis/composer-normalize": "^2.28.3", + "ergebnis/license": "^2.4.0", + "ergebnis/php-cs-fixer-config": "^6.13.0", + "infection/infection": "~0.26.6", + "phpunit/phpunit": "^9.6.13", "psalm/plugin-phpunit": "~0.18.4", - "rector/rector": "~0.18.10", + "rector/rector": "~0.18.11", "vimeo/psalm": "^5.16.0" }, "type": "library", @@ -1036,7 +1035,7 @@ "issues": "https://github.com/ergebnis/data-provider/issues", "source": "https://github.com/ergebnis/data-provider" }, - "time": "2023-11-27T14:54:42+00:00" + "time": "2023-11-30T17:30:28+00:00" }, { "name": "ergebnis/license", From f827108df499e1a074afff13f0a849e83fa146e2 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 1 Dec 2023 20:05:44 +0000 Subject: [PATCH 035/111] composer(deps-dev): Bump phpunit/phpunit from 10.4.2 to 10.5.1 Bumps [phpunit/phpunit](https://github.com/sebastianbergmann/phpunit) from 10.4.2 to 10.5.1. - [Changelog](https://github.com/sebastianbergmann/phpunit/blob/10.5.1/ChangeLog-10.5.md) - [Commits](https://github.com/sebastianbergmann/phpunit/compare/10.4.2...10.5.1) --- updated-dependencies: - dependency-name: phpunit/phpunit dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- composer.json | 2 +- composer.lock | 40 ++++++++++++++++++++-------------------- 2 files changed, 21 insertions(+), 21 deletions(-) diff --git a/composer.json b/composer.json index 00b1d559..67cba060 100644 --- a/composer.json +++ b/composer.json @@ -37,7 +37,7 @@ "ergebnis/phpunit-slow-test-detector": "^2.4.0", "fakerphp/faker": "^1.23.0", "infection/infection": "~0.27.8", - "phpunit/phpunit": "^10.4.2", + "phpunit/phpunit": "^10.5.1", "psalm/plugin-phpunit": "~0.18.4", "rector/rector": "~0.18.11", "symfony/filesystem": "^6.4.0", diff --git a/composer.lock b/composer.lock index 40858419..3d6f09f2 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "a98ada536458770cc323dc97be1ba616", + "content-hash": "7c1aec1ec64ccaa1e41d002ab42a0089", "packages": [ { "name": "ergebnis/json", @@ -2607,16 +2607,16 @@ }, { "name": "phpunit/php-code-coverage", - "version": "10.1.7", + "version": "10.1.9", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/php-code-coverage.git", - "reference": "355324ca4980b8916c18b9db29f3ef484078f26e" + "reference": "a56a9ab2f680246adcf3db43f38ddf1765774735" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/355324ca4980b8916c18b9db29f3ef484078f26e", - "reference": "355324ca4980b8916c18b9db29f3ef484078f26e", + "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/a56a9ab2f680246adcf3db43f38ddf1765774735", + "reference": "a56a9ab2f680246adcf3db43f38ddf1765774735", "shasum": "" }, "require": { @@ -2673,7 +2673,7 @@ "support": { "issues": "https://github.com/sebastianbergmann/php-code-coverage/issues", "security": "https://github.com/sebastianbergmann/php-code-coverage/security/policy", - "source": "https://github.com/sebastianbergmann/php-code-coverage/tree/10.1.7" + "source": "https://github.com/sebastianbergmann/php-code-coverage/tree/10.1.9" }, "funding": [ { @@ -2681,7 +2681,7 @@ "type": "github" } ], - "time": "2023-10-04T15:34:17+00:00" + "time": "2023-11-23T12:23:20+00:00" }, { "name": "phpunit/php-file-iterator", @@ -2928,16 +2928,16 @@ }, { "name": "phpunit/phpunit", - "version": "10.4.2", + "version": "10.5.1", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/phpunit.git", - "reference": "cacd8b9dd224efa8eb28beb69004126c7ca1a1a1" + "reference": "d5d9dca6a902d05b34c4bcbc7c1636ce1dc25408" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/cacd8b9dd224efa8eb28beb69004126c7ca1a1a1", - "reference": "cacd8b9dd224efa8eb28beb69004126c7ca1a1a1", + "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/d5d9dca6a902d05b34c4bcbc7c1636ce1dc25408", + "reference": "d5d9dca6a902d05b34c4bcbc7c1636ce1dc25408", "shasum": "" }, "require": { @@ -2977,7 +2977,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "10.4-dev" + "dev-main": "10.5-dev" } }, "autoload": { @@ -3009,7 +3009,7 @@ "support": { "issues": "https://github.com/sebastianbergmann/phpunit/issues", "security": "https://github.com/sebastianbergmann/phpunit/security/policy", - "source": "https://github.com/sebastianbergmann/phpunit/tree/10.4.2" + "source": "https://github.com/sebastianbergmann/phpunit/tree/10.5.1" }, "funding": [ { @@ -3025,7 +3025,7 @@ "type": "tidelift" } ], - "time": "2023-10-26T07:21:45+00:00" + "time": "2023-12-01T16:57:05+00:00" }, { "name": "psalm/plugin-phpunit", @@ -5838,16 +5838,16 @@ }, { "name": "theseer/tokenizer", - "version": "1.2.1", + "version": "1.2.2", "source": { "type": "git", "url": "https://github.com/theseer/tokenizer.git", - "reference": "34a41e998c2183e22995f158c581e7b5e755ab9e" + "reference": "b2ad5003ca10d4ee50a12da31de12a5774ba6b96" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/theseer/tokenizer/zipball/34a41e998c2183e22995f158c581e7b5e755ab9e", - "reference": "34a41e998c2183e22995f158c581e7b5e755ab9e", + "url": "https://api.github.com/repos/theseer/tokenizer/zipball/b2ad5003ca10d4ee50a12da31de12a5774ba6b96", + "reference": "b2ad5003ca10d4ee50a12da31de12a5774ba6b96", "shasum": "" }, "require": { @@ -5876,7 +5876,7 @@ "description": "A small library for converting tokenized PHP source code into XML and potentially other formats", "support": { "issues": "https://github.com/theseer/tokenizer/issues", - "source": "https://github.com/theseer/tokenizer/tree/1.2.1" + "source": "https://github.com/theseer/tokenizer/tree/1.2.2" }, "funding": [ { @@ -5884,7 +5884,7 @@ "type": "github" } ], - "time": "2021-07-28T10:34:58+00:00" + "time": "2023-11-20T00:12:19+00:00" }, { "name": "vimeo/psalm", From c1986c60c45af5bfbb40393116369cee20cb9760 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 4 Dec 2023 20:54:00 +0000 Subject: [PATCH 036/111] composer(deps-dev): Bump ergebnis/php-cs-fixer-config Bumps [ergebnis/php-cs-fixer-config](https://github.com/ergebnis/php-cs-fixer-config) from 6.13.0 to 6.13.1. - [Release notes](https://github.com/ergebnis/php-cs-fixer-config/releases) - [Changelog](https://github.com/ergebnis/php-cs-fixer-config/blob/main/CHANGELOG.md) - [Commits](https://github.com/ergebnis/php-cs-fixer-config/compare/6.13.0...6.13.1) --- updated-dependencies: - dependency-name: ergebnis/php-cs-fixer-config dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- composer.json | 2 +- composer.lock | 49 +++++++++++++++++++++++++------------------------ 2 files changed, 26 insertions(+), 25 deletions(-) diff --git a/composer.json b/composer.json index 67cba060..b2dd5ef9 100644 --- a/composer.json +++ b/composer.json @@ -33,7 +33,7 @@ "composer/semver": "^3.4.0", "ergebnis/data-provider": "^3.2.0", "ergebnis/license": "^2.4.0", - "ergebnis/php-cs-fixer-config": "~6.13.0", + "ergebnis/php-cs-fixer-config": "~6.13.1", "ergebnis/phpunit-slow-test-detector": "^2.4.0", "fakerphp/faker": "^1.23.0", "infection/infection": "~0.27.8", diff --git a/composer.lock b/composer.lock index 3d6f09f2..723ca7b2 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "7c1aec1ec64ccaa1e41d002ab42a0089", + "content-hash": "d5a915af2b72887cc43d9d9042455076", "packages": [ { "name": "ergebnis/json", @@ -1098,38 +1098,39 @@ }, { "name": "ergebnis/php-cs-fixer-config", - "version": "6.13.0", + "version": "6.13.1", "source": { "type": "git", "url": "https://github.com/ergebnis/php-cs-fixer-config.git", - "reference": "4fb31c5e812b063ae783c354460558b95b887e95" + "reference": "7d0c95d8e44f021786039fcfab3a776295c5ca60" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/ergebnis/php-cs-fixer-config/zipball/4fb31c5e812b063ae783c354460558b95b887e95", - "reference": "4fb31c5e812b063ae783c354460558b95b887e95", + "url": "https://api.github.com/repos/ergebnis/php-cs-fixer-config/zipball/7d0c95d8e44f021786039fcfab3a776295c5ca60", + "reference": "7d0c95d8e44f021786039fcfab3a776295c5ca60", "shasum": "" }, "require": { "erickskrauch/php-cs-fixer-custom-fixers": "~1.2.1", "ext-filter": "*", - "friendsofphp/php-cs-fixer": "~3.40.0", + "friendsofphp/php-cs-fixer": "~3.40.2", "kubawerlos/php-cs-fixer-custom-fixers": "~3.17.0", "php": "~7.4.0 || ~8.0.0 || ~8.1.0 || ~8.2.0 || ~8.3.0" }, "require-dev": { "ergebnis/composer-normalize": "^2.28.3", - "ergebnis/data-provider": "^1.2.0", - "ergebnis/license": "^2.0.0", + "ergebnis/data-provider": "^3.2.0", + "ergebnis/license": "^2.4.0", + "ergebnis/phpunit-slow-test-detector": "^2.7.0", "ergebnis/rector-rules": "~0.3.0", "fakerphp/faker": "^1.23.0", "infection/infection": "~0.26.6", - "phpunit/phpunit": "^9.6.13", + "phpunit/phpunit": "^9.6.15", "psalm/plugin-phpunit": "~0.18.4", - "rector/rector": "~0.18.11", + "rector/rector": "~0.18.12", "symfony/filesystem": "^5.0.0 || ^6.0.0", "symfony/process": "^5.0.0 || ^6.0.0", - "vimeo/psalm": "^5.16.0" + "vimeo/psalm": "^5.17.0" }, "type": "library", "extra": { @@ -1161,7 +1162,7 @@ "security": "https://github.com/ergebnis/php-cs-fixer-config/blob/main/.github/SECURITY.md", "source": "https://github.com/ergebnis/php-cs-fixer-config" }, - "time": "2023-11-30T09:24:19+00:00" + "time": "2023-12-04T16:40:47+00:00" }, { "name": "ergebnis/phpunit-slow-test-detector", @@ -1527,16 +1528,16 @@ }, { "name": "friendsofphp/php-cs-fixer", - "version": "v3.40.0", + "version": "v3.40.2", "source": { "type": "git", "url": "https://github.com/PHP-CS-Fixer/PHP-CS-Fixer.git", - "reference": "27d2b3265b5d550ec411b4319967ae7cfddfb2e0" + "reference": "4344562a516b76afe8f2d64b2e52214c30d64ed8" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/PHP-CS-Fixer/PHP-CS-Fixer/zipball/27d2b3265b5d550ec411b4319967ae7cfddfb2e0", - "reference": "27d2b3265b5d550ec411b4319967ae7cfddfb2e0", + "url": "https://api.github.com/repos/PHP-CS-Fixer/PHP-CS-Fixer/zipball/4344562a516b76afe8f2d64b2e52214c30d64ed8", + "reference": "4344562a516b76afe8f2d64b2e52214c30d64ed8", "shasum": "" }, "require": { @@ -1608,7 +1609,7 @@ ], "support": { "issues": "https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues", - "source": "https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/tree/v3.40.0" + "source": "https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/tree/v3.40.2" }, "funding": [ { @@ -1616,7 +1617,7 @@ "type": "github" } ], - "time": "2023-11-26T09:25:53+00:00" + "time": "2023-12-03T09:21:33+00:00" }, { "name": "infection/abstract-testframework-adapter", @@ -4405,16 +4406,16 @@ }, { "name": "symfony/console", - "version": "v6.4.0", + "version": "v6.4.1", "source": { "type": "git", "url": "https://github.com/symfony/console.git", - "reference": "cd9864b47c367450e14ab32f78fdbf98c44c26b6" + "reference": "a550a7c99daeedef3f9d23fb82e3531525ff11fd" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/console/zipball/cd9864b47c367450e14ab32f78fdbf98c44c26b6", - "reference": "cd9864b47c367450e14ab32f78fdbf98c44c26b6", + "url": "https://api.github.com/repos/symfony/console/zipball/a550a7c99daeedef3f9d23fb82e3531525ff11fd", + "reference": "a550a7c99daeedef3f9d23fb82e3531525ff11fd", "shasum": "" }, "require": { @@ -4479,7 +4480,7 @@ "terminal" ], "support": { - "source": "https://github.com/symfony/console/tree/v6.4.0" + "source": "https://github.com/symfony/console/tree/v6.4.1" }, "funding": [ { @@ -4495,7 +4496,7 @@ "type": "tidelift" } ], - "time": "2023-11-20T16:41:16+00:00" + "time": "2023-11-30T10:54:28+00:00" }, { "name": "symfony/deprecation-contracts", From 65262db8dd46a0bbaddd63a0927d3b88f98402a8 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 4 Dec 2023 20:58:37 +0000 Subject: [PATCH 037/111] composer(deps-dev): Bump ergebnis/phpunit-slow-test-detector Bumps [ergebnis/phpunit-slow-test-detector](https://github.com/ergebnis/phpunit-slow-test-detector) from 2.4.0 to 2.7.0. - [Release notes](https://github.com/ergebnis/phpunit-slow-test-detector/releases) - [Changelog](https://github.com/ergebnis/phpunit-slow-test-detector/blob/main/CHANGELOG.md) - [Commits](https://github.com/ergebnis/phpunit-slow-test-detector/compare/2.4.0...2.7.0) --- updated-dependencies: - dependency-name: ergebnis/phpunit-slow-test-detector dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- composer.json | 2 +- composer.lock | 31 ++++++++++++++----------------- 2 files changed, 15 insertions(+), 18 deletions(-) diff --git a/composer.json b/composer.json index b2dd5ef9..5bcfdff0 100644 --- a/composer.json +++ b/composer.json @@ -34,7 +34,7 @@ "ergebnis/data-provider": "^3.2.0", "ergebnis/license": "^2.4.0", "ergebnis/php-cs-fixer-config": "~6.13.1", - "ergebnis/phpunit-slow-test-detector": "^2.4.0", + "ergebnis/phpunit-slow-test-detector": "^2.7.0", "fakerphp/faker": "^1.23.0", "infection/infection": "~0.27.8", "phpunit/phpunit": "^10.5.1", diff --git a/composer.lock b/composer.lock index 723ca7b2..89a9a87b 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "d5a915af2b72887cc43d9d9042455076", + "content-hash": "00d2d2542d980b253f5f7d47c9adc5c4", "packages": [ { "name": "ergebnis/json", @@ -1166,34 +1166,31 @@ }, { "name": "ergebnis/phpunit-slow-test-detector", - "version": "2.4.0", + "version": "2.7.0", "source": { "type": "git", "url": "https://github.com/ergebnis/phpunit-slow-test-detector.git", - "reference": "119bfba6885111db1ac02e14bc45c904a627c86e" + "reference": "c101046731d256046efdb37f3c1800897a6cccfe" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/ergebnis/phpunit-slow-test-detector/zipball/119bfba6885111db1ac02e14bc45c904a627c86e", - "reference": "119bfba6885111db1ac02e14bc45c904a627c86e", + "url": "https://api.github.com/repos/ergebnis/phpunit-slow-test-detector/zipball/c101046731d256046efdb37f3c1800897a6cccfe", + "reference": "c101046731d256046efdb37f3c1800897a6cccfe", "shasum": "" }, "require": { - "php": "~8.1.0 || ~8.2.0 || ~8.3.0", - "phpunit/phpunit": "^9.6.0 || ^10.4.0" + "php": "~7.4.0 || ~8.0.0 || ~8.1.0 || ~8.2.0 || ~8.3.0", + "phpunit/phpunit": "^8.5.19 || ^9.0.0 || ^10.0.0" }, "require-dev": { - "ergebnis/composer-normalize": "^2.39.0", - "ergebnis/data-provider": "^3.0.0", - "ergebnis/license": "^2.2.0", - "ergebnis/php-cs-fixer-config": "^6.11.0", + "ergebnis/composer-normalize": "^2.28.3", + "ergebnis/data-provider": "^3.2.0", + "ergebnis/license": "^2.4.0", + "ergebnis/php-cs-fixer-config": "^6.13.0", "fakerphp/faker": "^1.23.0", "psalm/plugin-phpunit": "~0.18.4", - "rector/rector": "~0.18.6", - "vimeo/psalm": "^5.15.0" - }, - "suggest": { - "phpunit/phpunit": "^10.0.1" + "rector/rector": "~0.18.11", + "vimeo/psalm": "^5.16.0" }, "type": "library", "extra": { @@ -1232,7 +1229,7 @@ "security": "https://github.com/ergebnis/phpunit-slow-test-detector/blob/main/.github/SECURITY.md", "source": "https://github.com/ergebnis/phpunit-slow-test-detector" }, - "time": "2023-11-07T15:41:23+00:00" + "time": "2023-12-03T14:14:57+00:00" }, { "name": "erickskrauch/php-cs-fixer-custom-fixers", From 42da28b6b7bbbf036d4b00811aa2784f01939624 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 4 Dec 2023 21:03:20 +0000 Subject: [PATCH 038/111] composer(deps-dev): Bump vimeo/psalm from 5.16.0 to 5.17.0 Bumps [vimeo/psalm](https://github.com/vimeo/psalm) from 5.16.0 to 5.17.0. - [Release notes](https://github.com/vimeo/psalm/releases) - [Commits](https://github.com/vimeo/psalm/compare/5.16.0...5.17.0) --- updated-dependencies: - dependency-name: vimeo/psalm dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- composer.json | 2 +- composer.lock | 24 ++++++++++++------------ 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/composer.json b/composer.json index 5bcfdff0..ca79d95c 100644 --- a/composer.json +++ b/composer.json @@ -42,7 +42,7 @@ "rector/rector": "~0.18.11", "symfony/filesystem": "^6.4.0", "symfony/finder": "^6.4.0", - "vimeo/psalm": "^5.16.0" + "vimeo/psalm": "^5.17.0" }, "suggest": { "composer/semver": "If you want to use ComposerJsonNormalizer or VersionConstraintNormalizer" diff --git a/composer.lock b/composer.lock index 89a9a87b..ed15d3bd 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "00d2d2542d980b253f5f7d47c9adc5c4", + "content-hash": "cd7a44bb08c137cb97b9ff7e9fbdc9ea", "packages": [ { "name": "ergebnis/json", @@ -2496,16 +2496,16 @@ }, { "name": "phpstan/phpdoc-parser", - "version": "1.24.3", + "version": "1.24.4", "source": { "type": "git", "url": "https://github.com/phpstan/phpdoc-parser.git", - "reference": "12f01d214f1c73b9c91fdb3b1c415e4c70652083" + "reference": "6bd0c26f3786cd9b7c359675cb789e35a8e07496" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpstan/phpdoc-parser/zipball/12f01d214f1c73b9c91fdb3b1c415e4c70652083", - "reference": "12f01d214f1c73b9c91fdb3b1c415e4c70652083", + "url": "https://api.github.com/repos/phpstan/phpdoc-parser/zipball/6bd0c26f3786cd9b7c359675cb789e35a8e07496", + "reference": "6bd0c26f3786cd9b7c359675cb789e35a8e07496", "shasum": "" }, "require": { @@ -2537,9 +2537,9 @@ "description": "PHPDoc parser with support for nullable, intersection and generic types", "support": { "issues": "https://github.com/phpstan/phpdoc-parser/issues", - "source": "https://github.com/phpstan/phpdoc-parser/tree/1.24.3" + "source": "https://github.com/phpstan/phpdoc-parser/tree/1.24.4" }, - "time": "2023-11-18T20:15:32+00:00" + "time": "2023-11-26T18:29:22+00:00" }, { "name": "phpstan/phpstan", @@ -5886,16 +5886,16 @@ }, { "name": "vimeo/psalm", - "version": "5.16.0", + "version": "5.17.0", "source": { "type": "git", "url": "https://github.com/vimeo/psalm.git", - "reference": "2897ba636551a8cb61601cc26f6ccfbba6c36591" + "reference": "c620f6e80d0abfca532b00bda366062aaedf6e5d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/vimeo/psalm/zipball/2897ba636551a8cb61601cc26f6ccfbba6c36591", - "reference": "2897ba636551a8cb61601cc26f6ccfbba6c36591", + "url": "https://api.github.com/repos/vimeo/psalm/zipball/c620f6e80d0abfca532b00bda366062aaedf6e5d", + "reference": "c620f6e80d0abfca532b00bda366062aaedf6e5d", "shasum": "" }, "require": { @@ -5992,7 +5992,7 @@ "issues": "https://github.com/vimeo/psalm/issues", "source": "https://github.com/vimeo/psalm" }, - "time": "2023-11-22T20:38:47+00:00" + "time": "2023-12-03T20:21:41+00:00" }, { "name": "webmozart/assert", From 02878beb38040c0eb339fe55b2e0e86a7d9892e9 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 4 Dec 2023 21:03:54 +0000 Subject: [PATCH 039/111] composer(deps-dev): Bump rector/rector from 0.18.11 to 0.18.12 Bumps [rector/rector](https://github.com/rectorphp/rector) from 0.18.11 to 0.18.12. - [Release notes](https://github.com/rectorphp/rector/releases) - [Commits](https://github.com/rectorphp/rector/compare/0.18.11...0.18.12) --- updated-dependencies: - dependency-name: rector/rector dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- composer.json | 2 +- composer.lock | 24 ++++++++++++------------ 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/composer.json b/composer.json index ca79d95c..bccf0852 100644 --- a/composer.json +++ b/composer.json @@ -39,7 +39,7 @@ "infection/infection": "~0.27.8", "phpunit/phpunit": "^10.5.1", "psalm/plugin-phpunit": "~0.18.4", - "rector/rector": "~0.18.11", + "rector/rector": "~0.18.12", "symfony/filesystem": "^6.4.0", "symfony/finder": "^6.4.0", "vimeo/psalm": "^5.17.0" diff --git a/composer.lock b/composer.lock index ed15d3bd..9322b859 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "cd7a44bb08c137cb97b9ff7e9fbdc9ea", + "content-hash": "9be140b0937e3cc1604a1b14ab45fc82", "packages": [ { "name": "ergebnis/json", @@ -2543,16 +2543,16 @@ }, { "name": "phpstan/phpstan", - "version": "1.10.45", + "version": "1.10.47", "source": { "type": "git", "url": "https://github.com/phpstan/phpstan.git", - "reference": "2f024fbb47432e2e62ad8a8032387aa2dd631c73" + "reference": "84dbb33b520ea28b6cf5676a3941f4bae1c1ff39" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpstan/phpstan/zipball/2f024fbb47432e2e62ad8a8032387aa2dd631c73", - "reference": "2f024fbb47432e2e62ad8a8032387aa2dd631c73", + "url": "https://api.github.com/repos/phpstan/phpstan/zipball/84dbb33b520ea28b6cf5676a3941f4bae1c1ff39", + "reference": "84dbb33b520ea28b6cf5676a3941f4bae1c1ff39", "shasum": "" }, "require": { @@ -2601,7 +2601,7 @@ "type": "tidelift" } ], - "time": "2023-11-27T14:15:06+00:00" + "time": "2023-12-01T15:19:17+00:00" }, { "name": "phpunit/php-code-coverage", @@ -3240,16 +3240,16 @@ }, { "name": "rector/rector", - "version": "0.18.11", + "version": "0.18.12", "source": { "type": "git", "url": "https://github.com/rectorphp/rector.git", - "reference": "9621124c860066f56a4ab841349cb7c284edfaee" + "reference": "ed8d5352a3faa69e4a5e315896abffd4bc29c828" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/rectorphp/rector/zipball/9621124c860066f56a4ab841349cb7c284edfaee", - "reference": "9621124c860066f56a4ab841349cb7c284edfaee", + "url": "https://api.github.com/repos/rectorphp/rector/zipball/ed8d5352a3faa69e4a5e315896abffd4bc29c828", + "reference": "ed8d5352a3faa69e4a5e315896abffd4bc29c828", "shasum": "" }, "require": { @@ -3284,7 +3284,7 @@ ], "support": { "issues": "https://github.com/rectorphp/rector/issues", - "source": "https://github.com/rectorphp/rector/tree/0.18.11" + "source": "https://github.com/rectorphp/rector/tree/0.18.12" }, "funding": [ { @@ -3292,7 +3292,7 @@ "type": "github" } ], - "time": "2023-11-27T13:27:43+00:00" + "time": "2023-12-04T08:47:30+00:00" }, { "name": "sanmai/later", From dff1fd394c5757efa3455e4cd672eab58799582e Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 5 Dec 2023 20:31:37 +0000 Subject: [PATCH 040/111] composer(deps-dev): Bump phpunit/phpunit from 10.5.1 to 10.5.2 Bumps [phpunit/phpunit](https://github.com/sebastianbergmann/phpunit) from 10.5.1 to 10.5.2. - [Changelog](https://github.com/sebastianbergmann/phpunit/blob/10.5.2/ChangeLog-10.5.md) - [Commits](https://github.com/sebastianbergmann/phpunit/compare/10.5.1...10.5.2) --- updated-dependencies: - dependency-name: phpunit/phpunit dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- composer.json | 2 +- composer.lock | 14 +++++++------- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/composer.json b/composer.json index bccf0852..3b7a2e0b 100644 --- a/composer.json +++ b/composer.json @@ -37,7 +37,7 @@ "ergebnis/phpunit-slow-test-detector": "^2.7.0", "fakerphp/faker": "^1.23.0", "infection/infection": "~0.27.8", - "phpunit/phpunit": "^10.5.1", + "phpunit/phpunit": "^10.5.2", "psalm/plugin-phpunit": "~0.18.4", "rector/rector": "~0.18.12", "symfony/filesystem": "^6.4.0", diff --git a/composer.lock b/composer.lock index 9322b859..6e0535aa 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "9be140b0937e3cc1604a1b14ab45fc82", + "content-hash": "ca35e14a0c6e3d83ac8da5c3891d955f", "packages": [ { "name": "ergebnis/json", @@ -2926,16 +2926,16 @@ }, { "name": "phpunit/phpunit", - "version": "10.5.1", + "version": "10.5.2", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/phpunit.git", - "reference": "d5d9dca6a902d05b34c4bcbc7c1636ce1dc25408" + "reference": "5aedff46afba98dddecaa12349ec044d9103d4fe" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/d5d9dca6a902d05b34c4bcbc7c1636ce1dc25408", - "reference": "d5d9dca6a902d05b34c4bcbc7c1636ce1dc25408", + "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/5aedff46afba98dddecaa12349ec044d9103d4fe", + "reference": "5aedff46afba98dddecaa12349ec044d9103d4fe", "shasum": "" }, "require": { @@ -3007,7 +3007,7 @@ "support": { "issues": "https://github.com/sebastianbergmann/phpunit/issues", "security": "https://github.com/sebastianbergmann/phpunit/security/policy", - "source": "https://github.com/sebastianbergmann/phpunit/tree/10.5.1" + "source": "https://github.com/sebastianbergmann/phpunit/tree/10.5.2" }, "funding": [ { @@ -3023,7 +3023,7 @@ "type": "tidelift" } ], - "time": "2023-12-01T16:57:05+00:00" + "time": "2023-12-05T14:54:33+00:00" }, { "name": "psalm/plugin-phpunit", From af5462849f493830bf6ae4e8ae24c196b89c47bd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20M=C3=B6ller?= Date: Wed, 6 Dec 2023 09:57:07 +0100 Subject: [PATCH 041/111] Enhancement: Update ergebnis/composer-normalize --- .phive/phars.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.phive/phars.xml b/.phive/phars.xml index 3a3d9fb2..2b67938b 100644 --- a/.phive/phars.xml +++ b/.phive/phars.xml @@ -1,5 +1,5 @@ - + From 3c2c97bd27f9792bac0e4c5975d0a18f8cc3e75b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20M=C3=B6ller?= Date: Wed, 6 Dec 2023 10:01:49 +0100 Subject: [PATCH 042/111] Enhancement: Synchronize with ergebnis/php-package-template --- .github/workflows/integrate.yaml | 1 + README.md | 26 +++++++++++++------------- psalm-baseline.xml | 2 +- 3 files changed, 15 insertions(+), 14 deletions(-) diff --git a/.github/workflows/integrate.yaml b/.github/workflows/integrate.yaml index 6f5b8411..cb731894 100644 --- a/.github/workflows/integrate.yaml +++ b/.github/workflows/integrate.yaml @@ -429,6 +429,7 @@ jobs: timeout-minutes: 5 strategy: + fail-fast: false matrix: php-version: - "8.1" diff --git a/README.md b/README.md index 032697d1..e8fe01d1 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,7 @@ [![Total Downloads](https://poser.pugx.org/ergebnis/json-normalizer/downloads)](https://packagist.org/packages/ergebnis/json-normalizer) [![Monthly Downloads](http://poser.pugx.org/ergebnis/json-normalizer/d/monthly)](https://packagist.org/packages/ergebnis/json-normalizer) -This package provides generic and vendor-specific normalizers for normalizing [JSON documents](https://www.json.org). +This project provides a `composer` package with generic and vendor-specific normalizers for normalizing [JSON documents](https://www.json.org). ## Installation @@ -25,14 +25,14 @@ composer require ergebnis/json-normalizer ## Usage -This package comes with +This project comes with - [generic normalizers](#generic-normalizers) - [vendor-specific normalizers](#vendor-specific-normalizers) ### Generic normalizers -This package comes with the following generic normalizers: +This project comes with the following generic normalizers: - [`Ergebnis\Json\Normalizer\CallableNormalizer`](#callablenormalizer) - [`Ergebnis\Json\Normalizer\ChainNormalizer`](#chainnormalizer) @@ -409,7 +409,7 @@ The normalized version will now not have a final new line or any whitespace at t ### Vendor-specific normalizers -This package comes with the following vendor-specific normalizers: +This project comes with the following vendor-specific normalizers: - [`Ergebnis\Json\Normalizer\Vendor\Composer\JsonNormalizer`](#vendorcomposercomposerjsonnormalizer) @@ -594,35 +594,35 @@ sections, the `Vendor\Composer\VersionConstraintNormalizer` will ensure that ## Changelog -The maintainers of this package record notable changes to this project in a [changelog](CHANGELOG.md). +The maintainers of this project record notable changes to this project in a [changelog](CHANGELOG.md). ## Contributing -The maintainers of this package suggest following the [contribution guide](.github/CONTRIBUTING.md). +The maintainers of this project suggest following the [contribution guide](.github/CONTRIBUTING.md). ## Code of Conduct -The maintainers of this package ask contributors to follow the [code of conduct](https://github.com/ergebnis/.github/blob/main/CODE_OF_CONDUCT.md). +The maintainers of this project ask contributors to follow the [code of conduct](.github/CODE_OF_CONDUCT.md). ## General Support Policy -The maintainers of this package provide limited support. +The maintainers of this project provide limited support. -You can support the maintenance of this package by [sponsoring @localheinz](https://github.com/sponsors/localheinz) or [requesting an invoice for services related to this package](mailto:am@localheinz.com?subject=ergebnis/json-normalizer:%20Requesting%20invoice%20for%20services). +You can support the maintenance of this project by [sponsoring @localheinz](https://github.com/sponsors/localheinz) or [requesting an invoice for services related to this project](mailto:am@localheinz.com?subject=ergebnis/json-normalizer:%20Requesting%20invoice%20for%20services). ## PHP Version Support Policy -This package supports PHP versions with [active support](https://www.php.net/supported-versions.php). +This project supports PHP versions with [active and security support](https://www.php.net/supported-versions.php). -The maintainers of this package add support for a PHP version following its initial release and drop support for a PHP version when it has reached its end of active support. +The maintainers of this project add support for a PHP version following its initial release and drop support for a PHP version when it has reached its end of security support. ## Security Policy -This package has a [security policy](.github/SECURITY.md). +This project has a [security policy](.github/SECURITY.md). ## License -This package uses the [MIT license](LICENSE.md). +This project uses the [MIT license](LICENSE.md). ## Credits diff --git a/psalm-baseline.xml b/psalm-baseline.xml index fa53c9b8..0e47c42c 100644 --- a/psalm-baseline.xml +++ b/psalm-baseline.xml @@ -1,5 +1,5 @@ - + Json From aff0ea39a6f603cd1afa97f4fbc146ec5bd388cf Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 7 Dec 2023 20:04:52 +0000 Subject: [PATCH 043/111] composer(deps-dev): Bump infection/infection from 0.27.8 to 0.27.9 Bumps [infection/infection](https://github.com/infection/infection) from 0.27.8 to 0.27.9. - [Release notes](https://github.com/infection/infection/releases) - [Changelog](https://github.com/infection/infection/blob/master/CHANGELOG.md) - [Commits](https://github.com/infection/infection/compare/0.27.8...0.27.9) --- updated-dependencies: - dependency-name: infection/infection dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- composer.json | 2 +- composer.lock | 26 +++++++++++++------------- 2 files changed, 14 insertions(+), 14 deletions(-) diff --git a/composer.json b/composer.json index 3b7a2e0b..80eb5e2f 100644 --- a/composer.json +++ b/composer.json @@ -36,7 +36,7 @@ "ergebnis/php-cs-fixer-config": "~6.13.1", "ergebnis/phpunit-slow-test-detector": "^2.7.0", "fakerphp/faker": "^1.23.0", - "infection/infection": "~0.27.8", + "infection/infection": "~0.27.9", "phpunit/phpunit": "^10.5.2", "psalm/plugin-phpunit": "~0.18.4", "rector/rector": "~0.18.12", diff --git a/composer.lock b/composer.lock index 6e0535aa..4c7792f8 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "ca35e14a0c6e3d83ac8da5c3891d955f", + "content-hash": "27fb047b0f84ea7609d2902feda64c7b", "packages": [ { "name": "ergebnis/json", @@ -1795,16 +1795,16 @@ }, { "name": "infection/infection", - "version": "0.27.8", + "version": "0.27.9", "source": { "type": "git", "url": "https://github.com/infection/infection.git", - "reference": "673ce762abf3355fcdc186ca17eb89edf86993bf" + "reference": "61e6d0645b89104fbd660218d3408219ad7176b5" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/infection/infection/zipball/673ce762abf3355fcdc186ca17eb89edf86993bf", - "reference": "673ce762abf3355fcdc186ca17eb89edf86993bf", + "url": "https://api.github.com/repos/infection/infection/zipball/61e6d0645b89104fbd660218d3408219ad7176b5", + "reference": "61e6d0645b89104fbd660218d3408219ad7176b5", "shasum": "" }, "require": { @@ -1911,7 +1911,7 @@ ], "support": { "issues": "https://github.com/infection/infection/issues", - "source": "https://github.com/infection/infection/tree/0.27.8" + "source": "https://github.com/infection/infection/tree/0.27.9" }, "funding": [ { @@ -1923,7 +1923,7 @@ "type": "open_collective" } ], - "time": "2023-11-08T14:29:03+00:00" + "time": "2023-12-07T17:42:43+00:00" }, { "name": "kubawerlos/php-cs-fixer-custom-fixers", @@ -3296,16 +3296,16 @@ }, { "name": "sanmai/later", - "version": "0.1.3", + "version": "0.1.4", "source": { "type": "git", "url": "https://github.com/sanmai/later.git", - "reference": "88a1d39965aa3659ceb96622e2801b9194d16e2c" + "reference": "e24c4304a4b1349c2a83151a692cec0c10579f60" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sanmai/later/zipball/88a1d39965aa3659ceb96622e2801b9194d16e2c", - "reference": "88a1d39965aa3659ceb96622e2801b9194d16e2c", + "url": "https://api.github.com/repos/sanmai/later/zipball/e24c4304a4b1349c2a83151a692cec0c10579f60", + "reference": "e24c4304a4b1349c2a83151a692cec0c10579f60", "shasum": "" }, "require": { @@ -3348,7 +3348,7 @@ "description": "Later: deferred wrapper object", "support": { "issues": "https://github.com/sanmai/later/issues", - "source": "https://github.com/sanmai/later/tree/0.1.3" + "source": "https://github.com/sanmai/later/tree/0.1.4" }, "funding": [ { @@ -3356,7 +3356,7 @@ "type": "github" } ], - "time": "2023-10-23T13:38:10+00:00" + "time": "2023-10-24T00:25:28+00:00" }, { "name": "sanmai/pipeline", From 911ba4796880e3b3963fd17ba5511511e208c5aa Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 12 Dec 2023 20:33:04 +0000 Subject: [PATCH 044/111] composer(deps-dev): Bump ergebnis/php-cs-fixer-config Bumps [ergebnis/php-cs-fixer-config](https://github.com/ergebnis/php-cs-fixer-config) from 6.13.1 to 6.14.0. - [Release notes](https://github.com/ergebnis/php-cs-fixer-config/releases) - [Changelog](https://github.com/ergebnis/php-cs-fixer-config/blob/main/CHANGELOG.md) - [Commits](https://github.com/ergebnis/php-cs-fixer-config/compare/6.13.1...6.14.0) --- updated-dependencies: - dependency-name: ergebnis/php-cs-fixer-config dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- composer.json | 2 +- composer.lock | 28 +++++++++++++--------------- 2 files changed, 14 insertions(+), 16 deletions(-) diff --git a/composer.json b/composer.json index 80eb5e2f..80d02e63 100644 --- a/composer.json +++ b/composer.json @@ -33,7 +33,7 @@ "composer/semver": "^3.4.0", "ergebnis/data-provider": "^3.2.0", "ergebnis/license": "^2.4.0", - "ergebnis/php-cs-fixer-config": "~6.13.1", + "ergebnis/php-cs-fixer-config": "~6.14.0", "ergebnis/phpunit-slow-test-detector": "^2.7.0", "fakerphp/faker": "^1.23.0", "infection/infection": "~0.27.9", diff --git a/composer.lock b/composer.lock index 4c7792f8..b9bf021b 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "27fb047b0f84ea7609d2902feda64c7b", + "content-hash": "f349c447cda241c4b70a03d8d5182e1c", "packages": [ { "name": "ergebnis/json", @@ -1098,22 +1098,22 @@ }, { "name": "ergebnis/php-cs-fixer-config", - "version": "6.13.1", + "version": "6.14.0", "source": { "type": "git", "url": "https://github.com/ergebnis/php-cs-fixer-config.git", - "reference": "7d0c95d8e44f021786039fcfab3a776295c5ca60" + "reference": "bd7552cc3c25e97662fb36c64ac40fcc311acb2f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/ergebnis/php-cs-fixer-config/zipball/7d0c95d8e44f021786039fcfab3a776295c5ca60", - "reference": "7d0c95d8e44f021786039fcfab3a776295c5ca60", + "url": "https://api.github.com/repos/ergebnis/php-cs-fixer-config/zipball/bd7552cc3c25e97662fb36c64ac40fcc311acb2f", + "reference": "bd7552cc3c25e97662fb36c64ac40fcc311acb2f", "shasum": "" }, "require": { "erickskrauch/php-cs-fixer-custom-fixers": "~1.2.1", "ext-filter": "*", - "friendsofphp/php-cs-fixer": "~3.40.2", + "friendsofphp/php-cs-fixer": "~3.41.1", "kubawerlos/php-cs-fixer-custom-fixers": "~3.17.0", "php": "~7.4.0 || ~8.0.0 || ~8.1.0 || ~8.2.0 || ~8.3.0" }, @@ -1162,7 +1162,7 @@ "security": "https://github.com/ergebnis/php-cs-fixer-config/blob/main/.github/SECURITY.md", "source": "https://github.com/ergebnis/php-cs-fixer-config" }, - "time": "2023-12-04T16:40:47+00:00" + "time": "2023-12-12T09:19:31+00:00" }, { "name": "ergebnis/phpunit-slow-test-detector", @@ -1525,16 +1525,16 @@ }, { "name": "friendsofphp/php-cs-fixer", - "version": "v3.40.2", + "version": "v3.41.1", "source": { "type": "git", "url": "https://github.com/PHP-CS-Fixer/PHP-CS-Fixer.git", - "reference": "4344562a516b76afe8f2d64b2e52214c30d64ed8" + "reference": "8b6ae8dcbaf23f09680643ab832a4a3a260265f6" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/PHP-CS-Fixer/PHP-CS-Fixer/zipball/4344562a516b76afe8f2d64b2e52214c30d64ed8", - "reference": "4344562a516b76afe8f2d64b2e52214c30d64ed8", + "url": "https://api.github.com/repos/PHP-CS-Fixer/PHP-CS-Fixer/zipball/8b6ae8dcbaf23f09680643ab832a4a3a260265f6", + "reference": "8b6ae8dcbaf23f09680643ab832a4a3a260265f6", "shasum": "" }, "require": { @@ -1564,8 +1564,6 @@ "php-cs-fixer/accessible-object": "^1.1", "php-cs-fixer/phpunit-constraint-isidenticalstring": "^1.4", "php-cs-fixer/phpunit-constraint-xmlmatchesxsd": "^1.4", - "phpspec/prophecy": "^1.17", - "phpspec/prophecy-phpunit": "^2.0", "phpunit/phpunit": "^9.6", "symfony/phpunit-bridge": "^6.3.8 || ^7.0", "symfony/yaml": "^5.4 || ^6.0 || ^7.0" @@ -1606,7 +1604,7 @@ ], "support": { "issues": "https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues", - "source": "https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/tree/v3.40.2" + "source": "https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/tree/v3.41.1" }, "funding": [ { @@ -1614,7 +1612,7 @@ "type": "github" } ], - "time": "2023-12-03T09:21:33+00:00" + "time": "2023-12-10T19:59:27+00:00" }, { "name": "infection/abstract-testframework-adapter", From 54e68de525bf56651216c46b45371eddaa2e61b9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20M=C3=B6ller?= Date: Wed, 13 Dec 2023 09:45:28 +0100 Subject: [PATCH 045/111] Enhancement: Synchronize with ergebnis/php-package-template --- .github/CONTRIBUTING.md | 12 + .github/settings.yml | 1 + .github/workflows/integrate.yaml | 75 +- .github/workflows/renew.yaml | 2 +- Makefile | 4 + README.md | 6 +- composer.json | 1 + composer.lock | 1411 ++++++++++++++++++++++++++++-- 8 files changed, 1410 insertions(+), 102 deletions(-) diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md index 893a0cbe..12107da5 100644 --- a/.github/CONTRIBUTING.md +++ b/.github/CONTRIBUTING.md @@ -11,6 +11,18 @@ For details, take a look at the following workflow configuration files: - [`workflows/triage.yaml`](workflows/triage.yaml) - [`workflows/update.yaml`](workflows/update.yaml) +## Backward-Compatibility Analysis + +We use [`roave/backward-compatibility-check`](https://github.com/Roave/BackwardCompatibilityCheck) to prevent breaking backwards-compatibility. + +Run + +```sh +make backward-compatibility-analysis +``` + +to run a backward-compatibility analysis. + ## Coding Standards We use [`ergebnis/composer-normalize`](https://github.com/ergebnis/composer-normalize) to normalize `composer.json`. diff --git a/.github/settings.yml b/.github/settings.yml index 4980d48e..d7ea0a80 100644 --- a/.github/settings.yml +++ b/.github/settings.yml @@ -14,6 +14,7 @@ branches: required_approving_review_count: 1 required_status_checks: checks: + - context: "Backward-Compatibility Analysis (8.1, locked)" - context: "Code Coverage (8.1, locked)" - context: "Coding Standards (8.1, locked)" - context: "Dependency Analysis (8.1, locked)" diff --git a/.github/workflows/integrate.yaml b/.github/workflows/integrate.yaml index cb731894..de051c6d 100644 --- a/.github/workflows/integrate.yaml +++ b/.github/workflows/integrate.yaml @@ -9,6 +9,61 @@ on: # yamllint disable-line rule:truthy - "main" jobs: + backward-compatibility-analysis: + name: "Backward-Compatibility Analysis" + + runs-on: "ubuntu-latest" + + timeout-minutes: 5 + + strategy: + matrix: + php-version: + - "8.1" + + dependencies: + - "locked" + + steps: + - name: "Checkout" + uses: "actions/checkout@v4.1.1" + with: + fetch-depth: 0 + + - name: "Set up PHP" + uses: "shivammathur/setup-php@2.28.0" + with: + coverage: "none" + extensions: "none, bcmath, ctype, curl, dom, intl, json, mbstring, phar, simplexml, tokenizer, xml, xmlwriter" + php-version: "${{ matrix.php-version }}" + + - name: "Set up problem matchers for PHP" + run: "echo \"::add-matcher::${{ runner.tool_cache }}/php.json\"" + + - name: "Set up problem matchers for phpunit/phpunit" + run: "echo \"::add-matcher::${{ runner.tool_cache }}/phpunit.json\"" + + - name: "Validate composer.json and composer.lock" + run: "composer validate --ansi --strict" + + - name: "Determine composer cache directory" + uses: "ergebnis/.github/actions/composer/determine-cache-directory@1.8.0" + + - name: "Cache dependencies installed with composer" + uses: "actions/cache@v3.3.2" + with: + path: "${{ env.COMPOSER_CACHE_DIR }}" + key: "php-${{ matrix.php-version }}-composer-${{ matrix.dependencies }}-${{ hashFiles('composer.lock') }}" + restore-keys: "php-${{ matrix.php-version }}-composer-${{ matrix.dependencies }}-" + + - name: "Install ${{ matrix.dependencies }} dependencies with composer" + uses: "ergebnis/.github/actions/composer/install@1.8.0" + with: + dependencies: "${{ matrix.dependencies }}" + + - name: "Run backward-compatibility analysis with roave/backward-compatibility-check" + run: "vendor/bin/roave-backward-compatibility-check --ansi --format=github-actions" + code-coverage: name: "Code Coverage" @@ -32,7 +87,7 @@ jobs: uses: "shivammathur/setup-php@2.28.0" with: coverage: "xdebug" - extensions: "none, ctype, curl, dom, json, mbstring, phar, simplexml, tokenizer, xml, xmlwriter" + extensions: "none, bcmath, ctype, curl, dom, intl, json, mbstring, phar, simplexml, tokenizer, xml, xmlwriter" php-version: "${{ matrix.php-version }}" - name: "Set up problem matchers for PHP" @@ -100,7 +155,7 @@ jobs: uses: "shivammathur/setup-php@2.28.0" with: coverage: "none" - extensions: "none, ctype, curl, dom, json, mbstring, phar, simplexml, tokenizer, xml, xmlwriter" + extensions: "none, bcmath, ctype, curl, dom, intl, json, mbstring, phar, simplexml, tokenizer, xml, xmlwriter" php-version: "${{ matrix.php-version }}" tools: "phive" @@ -171,7 +226,7 @@ jobs: uses: "shivammathur/setup-php@2.28.0" with: coverage: "none" - extensions: "none, ctype, curl, dom, json, mbstring, phar, simplexml, tokenizer, xml, xmlwriter" + extensions: "none, bcmath, ctype, curl, dom, intl, json, mbstring, phar, simplexml, tokenizer, xml, xmlwriter" php-version: "${{ matrix.php-version }}" tools: "phive" @@ -227,7 +282,7 @@ jobs: uses: "shivammathur/setup-php@2.28.0" with: coverage: "xdebug" - extensions: "none, ctype, curl, dom, json, mbstring, phar, simplexml, tokenizer, xml, xmlwriter" + extensions: "none, bcmath, ctype, curl, dom, intl, json, mbstring, phar, simplexml, tokenizer, xml, xmlwriter" php-version: "${{ matrix.php-version }}" - name: "Set up problem matchers for PHP" @@ -279,7 +334,7 @@ jobs: uses: "shivammathur/setup-php@2.28.0" with: coverage: "none" - extensions: "none, ctype, curl, dom, json, mbstring, phar, simplexml, tokenizer, xml, xmlwriter" + extensions: "none, bcmath, ctype, curl, dom, intl, json, mbstring, phar, simplexml, tokenizer, xml, xmlwriter" php-version: "${{ matrix.php-version }}" - name: "Set up problem matchers for PHP" @@ -341,7 +396,7 @@ jobs: uses: "shivammathur/setup-php@2.28.0" with: coverage: "none" - extensions: "none, ctype, curl, dom, json, mbstring, phar, simplexml, tokenizer, xml, xmlwriter" + extensions: "none, bcmath, ctype, curl, dom, intl, json, mbstring, phar, simplexml, tokenizer, xml, xmlwriter" php-version: "${{ matrix.php-version }}" - name: "Set up problem matchers for PHP" @@ -391,7 +446,7 @@ jobs: uses: "shivammathur/setup-php@2.28.0" with: coverage: "none" - extensions: "none, ctype, curl, dom, json, mbstring, opcache, pcntl, phar, posix, simplexml, tokenizer, xml, xmlwriter" + extensions: "none, bcmath, ctype, curl, dom, intl, json, mbstring, opcache, pcntl, phar, posix, simplexml, tokenizer, xml, xmlwriter" php-version: "${{ matrix.php-version }}" - name: "Set up problem matchers for PHP" @@ -449,7 +504,7 @@ jobs: uses: "shivammathur/setup-php@2.28.0" with: coverage: "none" - extensions: "none, ctype, curl, dom, json, mbstring, phar, simplexml, tokenizer, xml, xmlwriter" + extensions: "none, bcmath, ctype, curl, dom, intl, json, mbstring, phar, simplexml, tokenizer, xml, xmlwriter" php-version: "${{ matrix.php-version }}" - name: "Set up problem matchers for PHP" @@ -471,6 +526,10 @@ jobs: key: "php-${{ matrix.php-version }}-composer-${{ matrix.dependencies }}-${{ hashFiles('composer.lock') }}" restore-keys: "php-${{ matrix.php-version }}-composer-${{ matrix.dependencies }}-" + - name: "Remove platform configuration with composer" + if: "matrix.dependencies != 'locked'" + run: "composer config platform.php --ansi --unset" + - name: "Install ${{ matrix.dependencies }} dependencies with composer" uses: "ergebnis/.github/actions/composer/install@1.8.0" with: diff --git a/.github/workflows/renew.yaml b/.github/workflows/renew.yaml index e55d659f..17294c16 100644 --- a/.github/workflows/renew.yaml +++ b/.github/workflows/renew.yaml @@ -32,7 +32,7 @@ jobs: uses: "shivammathur/setup-php@2.28.0" with: coverage: "none" - extensions: "none, ctype, curl, dom, json, mbstring, phar, simplexml, tokenizer, xml, xmlwriter" + extensions: "none, bcmath, ctype, curl, dom, intl, json, mbstring, phar, simplexml, tokenizer, xml, xmlwriter" php-version: "${{ matrix.php-version }}" - name: "Set up problem matchers for PHP" diff --git a/Makefile b/Makefile index 2dccb963..88bc2b28 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,10 @@ .PHONY: it it: refactoring coding-standards security-analysis static-code-analysis tests ## Runs the refactoring, coding-standards, security-analysis, static-code-analysis, and tests targets +.PHONY: backward-compatibility-analysis +backward-compatibility-analysis: vendor ## Runs a backward-compatibility analysis with roave/backward-compatibility-check + vendor/bin/roave-backward-compatibility-check + .PHONY: code-coverage code-coverage: vendor ## Collects coverage from running unit tests with phpunit/phpunit mkdir -p .build/phpunit/ diff --git a/README.md b/README.md index e8fe01d1..d48ca5e4 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,7 @@ [![Total Downloads](https://poser.pugx.org/ergebnis/json-normalizer/downloads)](https://packagist.org/packages/ergebnis/json-normalizer) [![Monthly Downloads](http://poser.pugx.org/ergebnis/json-normalizer/d/monthly)](https://packagist.org/packages/ergebnis/json-normalizer) -This project provides a `composer` package with generic and vendor-specific normalizers for normalizing [JSON documents](https://www.json.org). +This project provides a [`composer`](https://getcomposer.org) package with generic and vendor-specific normalizers for normalizing [JSON documents](https://www.json.org). ## Installation @@ -602,7 +602,7 @@ The maintainers of this project suggest following the [contribution guide](.gith ## Code of Conduct -The maintainers of this project ask contributors to follow the [code of conduct](.github/CODE_OF_CONDUCT.md). +The maintainers of this project ask contributors to follow the [code of conduct](https://github.com/ergebnis/.github/blob/main/CODE_OF_CONDUCT.md). ## General Support Policy @@ -614,7 +614,7 @@ You can support the maintenance of this project by [sponsoring @localheinz](http This project supports PHP versions with [active and security support](https://www.php.net/supported-versions.php). -The maintainers of this project add support for a PHP version following its initial release and drop support for a PHP version when it has reached its end of security support. +The maintainers of this project add support for a PHP version following its initial release and drop support for a PHP version when it has reached the end of security support. ## Security Policy diff --git a/composer.json b/composer.json index 80d02e63..27bd7202 100644 --- a/composer.json +++ b/composer.json @@ -40,6 +40,7 @@ "phpunit/phpunit": "^10.5.2", "psalm/plugin-phpunit": "~0.18.4", "rector/rector": "~0.18.12", + "roave/backward-compatibility-check": "^8.4.0", "symfony/filesystem": "^6.4.0", "symfony/finder": "^6.4.0", "vimeo/psalm": "^5.17.0" diff --git a/composer.lock b/composer.lock index b9bf021b..4f135351 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "f349c447cda241c4b70a03d8d5182e1c", + "content-hash": "b8b3a20370606b88ee0e12f668ee82ce", "packages": [ { "name": "ergebnis/json", @@ -508,6 +508,147 @@ ], "time": "2021-03-30T17:13:30+00:00" }, + { + "name": "azjezz/psl", + "version": "2.8.0", + "source": { + "type": "git", + "url": "https://github.com/azjezz/psl.git", + "reference": "4955aa9d30790a3618b7933762359abdb41fd313" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/azjezz/psl/zipball/4955aa9d30790a3618b7933762359abdb41fd313", + "reference": "4955aa9d30790a3618b7933762359abdb41fd313", + "shasum": "" + }, + "require": { + "ext-bcmath": "*", + "ext-intl": "*", + "ext-json": "*", + "ext-mbstring": "*", + "ext-sodium": "*", + "php": "~8.1.0 || ~8.2.0 || ~8.3.0", + "revolt/event-loop": "^1.0.1" + }, + "require-dev": { + "friendsofphp/php-cs-fixer": "^3.22.0", + "php-coveralls/php-coveralls": "^2.6.0", + "php-standard-library/psalm-plugin": "^2.2.1", + "phpbench/phpbench": "^1.2.14", + "phpunit/phpunit": "^9.6.10", + "roave/infection-static-analysis-plugin": "^1.32.0", + "squizlabs/php_codesniffer": "^3.7.2", + "vimeo/psalm": "^5.13.1" + }, + "suggest": { + "php-standard-library/psalm-plugin": "Psalm integration" + }, + "type": "library", + "extra": { + "thanks": { + "name": "hhvm/hsl", + "url": "https://github.com/hhvm/hsl" + } + }, + "autoload": { + "files": [ + "src/bootstrap.php" + ], + "psr-4": { + "Psl\\": "src/Psl" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "azjezz", + "email": "azjezz@protonmail.com" + } + ], + "description": "PHP Standard Library", + "support": { + "issues": "https://github.com/azjezz/psl/issues", + "source": "https://github.com/azjezz/psl/tree/2.8.0" + }, + "funding": [ + { + "url": "https://github.com/azjezz", + "type": "github" + } + ], + "time": "2023-11-22T07:49:48+00:00" + }, + { + "name": "beberlei/assert", + "version": "v3.3.2", + "source": { + "type": "git", + "url": "https://github.com/beberlei/assert.git", + "reference": "cb70015c04be1baee6f5f5c953703347c0ac1655" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/beberlei/assert/zipball/cb70015c04be1baee6f5f5c953703347c0ac1655", + "reference": "cb70015c04be1baee6f5f5c953703347c0ac1655", + "shasum": "" + }, + "require": { + "ext-ctype": "*", + "ext-json": "*", + "ext-mbstring": "*", + "ext-simplexml": "*", + "php": "^7.0 || ^8.0" + }, + "require-dev": { + "friendsofphp/php-cs-fixer": "*", + "phpstan/phpstan": "*", + "phpunit/phpunit": ">=6.0.0", + "yoast/phpunit-polyfills": "^0.1.0" + }, + "suggest": { + "ext-intl": "Needed to allow Assertion::count(), Assertion::isCountable(), Assertion::minCount(), and Assertion::maxCount() to operate on ResourceBundles" + }, + "type": "library", + "autoload": { + "files": [ + "lib/Assert/functions.php" + ], + "psr-4": { + "Assert\\": "lib/Assert" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-2-Clause" + ], + "authors": [ + { + "name": "Benjamin Eberlei", + "email": "kontakt@beberlei.de", + "role": "Lead Developer" + }, + { + "name": "Richard Quadling", + "email": "rquadling@gmail.com", + "role": "Collaborator" + } + ], + "description": "Thin assertion library for input validation in business models.", + "keywords": [ + "assert", + "assertion", + "validation" + ], + "support": { + "issues": "https://github.com/beberlei/assert/issues", + "source": "https://github.com/beberlei/assert/tree/v3.3.2" + }, + "time": "2021-12-16T21:41:27+00:00" + }, { "name": "colinodell/json5", "version": "v2.3.0", @@ -600,41 +741,117 @@ "time": "2022-12-27T16:44:40+00:00" }, { - "name": "composer/package-versions-deprecated", - "version": "1.11.99.5", + "name": "composer/ca-bundle", + "version": "1.3.7", "source": { "type": "git", - "url": "https://github.com/composer/package-versions-deprecated.git", - "reference": "b4f54f74ef3453349c24a845d22392cd31e65f1d" + "url": "https://github.com/composer/ca-bundle.git", + "reference": "76e46335014860eec1aa5a724799a00a2e47cc85" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/composer/package-versions-deprecated/zipball/b4f54f74ef3453349c24a845d22392cd31e65f1d", - "reference": "b4f54f74ef3453349c24a845d22392cd31e65f1d", + "url": "https://api.github.com/repos/composer/ca-bundle/zipball/76e46335014860eec1aa5a724799a00a2e47cc85", + "reference": "76e46335014860eec1aa5a724799a00a2e47cc85", "shasum": "" }, "require": { - "composer-plugin-api": "^1.1.0 || ^2.0", - "php": "^7 || ^8" + "ext-openssl": "*", + "ext-pcre": "*", + "php": "^5.3.2 || ^7.0 || ^8.0" }, - "replace": { - "ocramius/package-versions": "1.11.99" + "require-dev": { + "phpstan/phpstan": "^0.12.55", + "psr/log": "^1.0", + "symfony/phpunit-bridge": "^4.2 || ^5", + "symfony/process": "^2.5 || ^3.0 || ^4.0 || ^5.0 || ^6.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "1.x-dev" + } + }, + "autoload": { + "psr-4": { + "Composer\\CaBundle\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Jordi Boggiano", + "email": "j.boggiano@seld.be", + "homepage": "http://seld.be" + } + ], + "description": "Lets you find a path to the system CA bundle, and includes a fallback to the Mozilla CA bundle.", + "keywords": [ + "cabundle", + "cacert", + "certificate", + "ssl", + "tls" + ], + "support": { + "irc": "irc://irc.freenode.org/composer", + "issues": "https://github.com/composer/ca-bundle/issues", + "source": "https://github.com/composer/ca-bundle/tree/1.3.7" + }, + "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": "2023-08-30T09:31:38+00:00" + }, + { + "name": "composer/class-map-generator", + "version": "1.1.0", + "source": { + "type": "git", + "url": "https://github.com/composer/class-map-generator.git", + "reference": "953cc4ea32e0c31f2185549c7d216d7921f03da9" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/composer/class-map-generator/zipball/953cc4ea32e0c31f2185549c7d216d7921f03da9", + "reference": "953cc4ea32e0c31f2185549c7d216d7921f03da9", + "shasum": "" + }, + "require": { + "composer/pcre": "^2.1 || ^3.1", + "php": "^7.2 || ^8.0", + "symfony/finder": "^4.4 || ^5.3 || ^6 || ^7" }, "require-dev": { - "composer/composer": "^1.9.3 || ^2.0@dev", - "ext-zip": "^1.13", - "phpunit/phpunit": "^6.5 || ^7" + "phpstan/phpstan": "^1.6", + "phpstan/phpstan-deprecation-rules": "^1", + "phpstan/phpstan-phpunit": "^1", + "phpstan/phpstan-strict-rules": "^1.1", + "symfony/filesystem": "^5.4 || ^6", + "symfony/phpunit-bridge": "^5" }, - "type": "composer-plugin", + "type": "library", "extra": { - "class": "PackageVersions\\Installer", "branch-alias": { - "dev-master": "1.x-dev" + "dev-main": "1.x-dev" } }, "autoload": { "psr-4": { - "PackageVersions\\": "src/PackageVersions" + "Composer\\ClassMapGenerator\\": "src" } }, "notification-url": "https://packagist.org/downloads/", @@ -643,18 +860,201 @@ ], "authors": [ { - "name": "Marco Pivetta", - "email": "ocramius@gmail.com" + "name": "Jordi Boggiano", + "email": "j.boggiano@seld.be", + "homepage": "https://seld.be" + } + ], + "description": "Utilities to scan PHP code and generate class maps.", + "keywords": [ + "classmap" + ], + "support": { + "issues": "https://github.com/composer/class-map-generator/issues", + "source": "https://github.com/composer/class-map-generator/tree/1.1.0" + }, + "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": "2023-06-30T13:58:57+00:00" + }, + { + "name": "composer/composer", + "version": "2.6.6", + "source": { + "type": "git", + "url": "https://github.com/composer/composer.git", + "reference": "683557bd2466072777309d039534bb1332d0dda5" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/composer/composer/zipball/683557bd2466072777309d039534bb1332d0dda5", + "reference": "683557bd2466072777309d039534bb1332d0dda5", + "shasum": "" + }, + "require": { + "composer/ca-bundle": "^1.0", + "composer/class-map-generator": "^1.0", + "composer/metadata-minifier": "^1.0", + "composer/pcre": "^2.1 || ^3.1", + "composer/semver": "^3.2.5", + "composer/spdx-licenses": "^1.5.7", + "composer/xdebug-handler": "^2.0.2 || ^3.0.3", + "justinrainbow/json-schema": "^5.2.11", + "php": "^7.2.5 || ^8.0", + "psr/log": "^1.0 || ^2.0 || ^3.0", + "react/promise": "^2.8 || ^3", + "seld/jsonlint": "^1.4", + "seld/phar-utils": "^1.2", + "seld/signal-handler": "^2.0", + "symfony/console": "^5.4.11 || ^6.0.11", + "symfony/filesystem": "^5.4 || ^6.0 || ^7", + "symfony/finder": "^5.4 || ^6.0 || ^7", + "symfony/polyfill-php73": "^1.24", + "symfony/polyfill-php80": "^1.24", + "symfony/polyfill-php81": "^1.24", + "symfony/process": "^5.4 || ^6.0 || ^7" + }, + "require-dev": { + "phpstan/phpstan": "^1.9.3", + "phpstan/phpstan-deprecation-rules": "^1", + "phpstan/phpstan-phpunit": "^1.0", + "phpstan/phpstan-strict-rules": "^1", + "phpstan/phpstan-symfony": "^1.2.10", + "symfony/phpunit-bridge": "^6.0 || ^7" + }, + "suggest": { + "ext-openssl": "Enabling the openssl extension allows you to access https URLs for repositories and packages", + "ext-zip": "Enabling the zip extension allows you to unzip archives", + "ext-zlib": "Allow gzip compression of HTTP requests" + }, + "bin": [ + "bin/composer" + ], + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "2.6-dev" + }, + "phpstan": { + "includes": [ + "phpstan/rules.neon" + ] + } + }, + "autoload": { + "psr-4": { + "Composer\\": "src/Composer/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Nils Adermann", + "email": "naderman@naderman.de", + "homepage": "https://www.naderman.de" }, { "name": "Jordi Boggiano", - "email": "j.boggiano@seld.be" + "email": "j.boggiano@seld.be", + "homepage": "https://seld.be" + } + ], + "description": "Composer helps you declare, manage and install dependencies of PHP projects. It ensures you have the right stack everywhere.", + "homepage": "https://getcomposer.org/", + "keywords": [ + "autoload", + "dependency", + "package" + ], + "support": { + "irc": "ircs://irc.libera.chat:6697/composer", + "issues": "https://github.com/composer/composer/issues", + "security": "https://github.com/composer/composer/security/policy", + "source": "https://github.com/composer/composer/tree/2.6.6" + }, + "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" } ], - "description": "Composer plugin that provides efficient querying for installed package versions (no runtime IO)", + "time": "2023-12-08T17:32:26+00:00" + }, + { + "name": "composer/metadata-minifier", + "version": "1.0.0", + "source": { + "type": "git", + "url": "https://github.com/composer/metadata-minifier.git", + "reference": "c549d23829536f0d0e984aaabbf02af91f443207" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/composer/metadata-minifier/zipball/c549d23829536f0d0e984aaabbf02af91f443207", + "reference": "c549d23829536f0d0e984aaabbf02af91f443207", + "shasum": "" + }, + "require": { + "php": "^5.3.2 || ^7.0 || ^8.0" + }, + "require-dev": { + "composer/composer": "^2", + "phpstan/phpstan": "^0.12.55", + "symfony/phpunit-bridge": "^4.2 || ^5" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "1.x-dev" + } + }, + "autoload": { + "psr-4": { + "Composer\\MetadataMinifier\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Jordi Boggiano", + "email": "j.boggiano@seld.be", + "homepage": "http://seld.be" + } + ], + "description": "Small utility library that handles metadata minification and expansion.", + "keywords": [ + "composer", + "compression" + ], "support": { - "issues": "https://github.com/composer/package-versions-deprecated/issues", - "source": "https://github.com/composer/package-versions-deprecated/tree/1.11.99.5" + "issues": "https://github.com/composer/metadata-minifier/issues", + "source": "https://github.com/composer/metadata-minifier/tree/1.0.0" }, "funding": [ { @@ -670,7 +1070,7 @@ "type": "tidelift" } ], - "time": "2022-01-17T14:14:24+00:00" + "time": "2021-04-07T13:37:33+00:00" }, { "name": "composer/pcre", @@ -824,6 +1224,86 @@ ], "time": "2023-08-31T09:50:34+00:00" }, + { + "name": "composer/spdx-licenses", + "version": "1.5.8", + "source": { + "type": "git", + "url": "https://github.com/composer/spdx-licenses.git", + "reference": "560bdcf8deb88ae5d611c80a2de8ea9d0358cc0a" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/composer/spdx-licenses/zipball/560bdcf8deb88ae5d611c80a2de8ea9d0358cc0a", + "reference": "560bdcf8deb88ae5d611c80a2de8ea9d0358cc0a", + "shasum": "" + }, + "require": { + "php": "^5.3.2 || ^7.0 || ^8.0" + }, + "require-dev": { + "phpstan/phpstan": "^0.12.55", + "symfony/phpunit-bridge": "^4.2 || ^5" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "1.x-dev" + } + }, + "autoload": { + "psr-4": { + "Composer\\Spdx\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "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": "SPDX licenses list and validation library.", + "keywords": [ + "license", + "spdx", + "validator" + ], + "support": { + "irc": "ircs://irc.libera.chat:6697/composer", + "issues": "https://github.com/composer/spdx-licenses/issues", + "source": "https://github.com/composer/spdx-licenses/tree/1.5.8" + }, + "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": "2023-11-20T07:44:33+00:00" + }, { "name": "composer/xdebug-handler", "version": "3.0.3", @@ -1923,6 +2403,54 @@ ], "time": "2023-12-07T17:42:43+00:00" }, + { + "name": "jetbrains/phpstorm-stubs", + "version": "v2023.2", + "source": { + "type": "git", + "url": "https://github.com/JetBrains/phpstorm-stubs.git", + "reference": "3bb9c8a1050ad324c2dca7964487fa9f081f1005" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/JetBrains/phpstorm-stubs/zipball/3bb9c8a1050ad324c2dca7964487fa9f081f1005", + "reference": "3bb9c8a1050ad324c2dca7964487fa9f081f1005", + "shasum": "" + }, + "require-dev": { + "friendsofphp/php-cs-fixer": "@stable", + "nikic/php-parser": "@stable", + "php": "^8.0", + "phpdocumentor/reflection-docblock": "@stable", + "phpunit/phpunit": "^9.6" + }, + "type": "library", + "autoload": { + "files": [ + "PhpStormStubsMap.php" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "Apache-2.0" + ], + "description": "PHP runtime & extensions header files for PhpStorm", + "homepage": "https://www.jetbrains.com/phpstorm", + "keywords": [ + "autocomplete", + "code", + "inference", + "inspection", + "jetbrains", + "phpstorm", + "stubs", + "type" + ], + "support": { + "source": "https://github.com/JetBrains/phpstorm-stubs/tree/v2023.2" + }, + "time": "2023-07-14T12:50:15+00:00" + }, { "name": "kubawerlos/php-cs-fixer-custom-fixers", "version": "v3.17.0", @@ -2081,16 +2609,16 @@ }, { "name": "nikic/php-parser", - "version": "v4.17.1", + "version": "v4.18.0", "source": { "type": "git", "url": "https://github.com/nikic/PHP-Parser.git", - "reference": "a6303e50c90c355c7eeee2c4a8b27fe8dc8fef1d" + "reference": "1bcbb2179f97633e98bbbc87044ee2611c7d7999" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/a6303e50c90c355c7eeee2c4a8b27fe8dc8fef1d", - "reference": "a6303e50c90c355c7eeee2c4a8b27fe8dc8fef1d", + "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/1bcbb2179f97633e98bbbc87044ee2611c7d7999", + "reference": "1bcbb2179f97633e98bbbc87044ee2611c7d7999", "shasum": "" }, "require": { @@ -2121,19 +2649,142 @@ ], "authors": [ { - "name": "Nikita Popov" + "name": "Nikita Popov" + } + ], + "description": "A PHP parser written in PHP", + "keywords": [ + "parser", + "php" + ], + "support": { + "issues": "https://github.com/nikic/PHP-Parser/issues", + "source": "https://github.com/nikic/PHP-Parser/tree/v4.18.0" + }, + "time": "2023-12-10T21:03:43+00:00" + }, + { + "name": "nikolaposa/version", + "version": "4.1.1", + "source": { + "type": "git", + "url": "https://github.com/nikolaposa/version.git", + "reference": "f6bdd64be914940529b843a67335d6386d980cec" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/nikolaposa/version/zipball/f6bdd64be914940529b843a67335d6386d980cec", + "reference": "f6bdd64be914940529b843a67335d6386d980cec", + "shasum": "" + }, + "require": { + "beberlei/assert": "^3.2", + "php": "^7.2 || ^8.0" + }, + "require-dev": { + "friendsofphp/php-cs-fixer": "^2.17", + "phpstan/phpstan": "^0.12.10", + "phpstan/phpstan-beberlei-assert": "^0.12.2", + "phpstan/phpstan-phpunit": "^0.12.6", + "phpunit/phpunit": "^8.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "4.1.x-dev" + } + }, + "autoload": { + "psr-4": { + "Version\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Nikola Poša", + "email": "posa.nikola@gmail.com", + "homepage": "https://www.nikolaposa.in.rs" + } + ], + "description": "Value Object that represents a SemVer-compliant version number.", + "homepage": "https://github.com/nikolaposa/version", + "keywords": [ + "semantic", + "semver", + "version", + "versioning" + ], + "support": { + "issues": "https://github.com/nikolaposa/version/issues", + "source": "https://github.com/nikolaposa/version/tree/4.1.1" + }, + "time": "2023-08-04T17:13:40+00:00" + }, + { + "name": "ocramius/package-versions", + "version": "2.8.0", + "source": { + "type": "git", + "url": "https://github.com/Ocramius/PackageVersions.git", + "reference": "7b5821f854cf1e6753c4ed7ceb3b11ae83bbad4e" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/Ocramius/PackageVersions/zipball/7b5821f854cf1e6753c4ed7ceb3b11ae83bbad4e", + "reference": "7b5821f854cf1e6753c4ed7ceb3b11ae83bbad4e", + "shasum": "" + }, + "require": { + "composer-runtime-api": "^2.2.0", + "php": "~8.1.0 || ~8.2.0 || ~8.3.0" + }, + "replace": { + "composer/package-versions-deprecated": "*" + }, + "require-dev": { + "composer/composer": "^2.6.3", + "doctrine/coding-standard": "^12.0.0", + "ext-zip": "^1.15.0", + "phpunit/phpunit": "^9.6.12", + "roave/infection-static-analysis-plugin": "^1.33", + "vimeo/psalm": "^5.15.0" + }, + "type": "library", + "autoload": { + "psr-4": { + "PackageVersions\\": "src/PackageVersions" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Marco Pivetta", + "email": "ocramius@gmail.com" } ], - "description": "A PHP parser written in PHP", - "keywords": [ - "parser", - "php" - ], + "description": "Provides efficient querying for installed package versions (no runtime IO)", "support": { - "issues": "https://github.com/nikic/PHP-Parser/issues", - "source": "https://github.com/nikic/PHP-Parser/tree/v4.17.1" + "issues": "https://github.com/Ocramius/PackageVersions/issues", + "source": "https://github.com/Ocramius/PackageVersions/tree/2.8.0" }, - "time": "2023-08-13T19:53:39+00:00" + "funding": [ + { + "url": "https://github.com/Ocramius", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/ocramius/package-versions", + "type": "tidelift" + } + ], + "time": "2023-09-15T11:02:59+00:00" }, { "name": "ondram/ci-detector", @@ -3204,14 +3855,347 @@ "php": ">=8.0.0" }, "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.x-dev" - } - }, + "extra": { + "branch-alias": { + "dev-master": "3.x-dev" + } + }, + "autoload": { + "psr-4": { + "Psr\\Log\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "PHP-FIG", + "homepage": "https://www.php-fig.org/" + } + ], + "description": "Common interface for logging libraries", + "homepage": "https://github.com/php-fig/log", + "keywords": [ + "log", + "psr", + "psr-3" + ], + "support": { + "source": "https://github.com/php-fig/log/tree/3.0.0" + }, + "time": "2021-07-14T16:46:02+00:00" + }, + { + "name": "react/promise", + "version": "v3.1.0", + "source": { + "type": "git", + "url": "https://github.com/reactphp/promise.git", + "reference": "e563d55d1641de1dea9f5e84f3cccc66d2bfe02c" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/reactphp/promise/zipball/e563d55d1641de1dea9f5e84f3cccc66d2bfe02c", + "reference": "e563d55d1641de1dea9f5e84f3cccc66d2bfe02c", + "shasum": "" + }, + "require": { + "php": ">=7.1.0" + }, + "require-dev": { + "phpstan/phpstan": "1.10.39 || 1.4.10", + "phpunit/phpunit": "^9.6 || ^7.5" + }, + "type": "library", + "autoload": { + "files": [ + "src/functions_include.php" + ], + "psr-4": { + "React\\Promise\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Jan Sorgalla", + "email": "jsorgalla@gmail.com", + "homepage": "https://sorgalla.com/" + }, + { + "name": "Christian Lück", + "email": "christian@clue.engineering", + "homepage": "https://clue.engineering/" + }, + { + "name": "Cees-Jan Kiewiet", + "email": "reactphp@ceesjankiewiet.nl", + "homepage": "https://wyrihaximus.net/" + }, + { + "name": "Chris Boden", + "email": "cboden@gmail.com", + "homepage": "https://cboden.dev/" + } + ], + "description": "A lightweight implementation of CommonJS Promises/A for PHP", + "keywords": [ + "promise", + "promises" + ], + "support": { + "issues": "https://github.com/reactphp/promise/issues", + "source": "https://github.com/reactphp/promise/tree/v3.1.0" + }, + "funding": [ + { + "url": "https://opencollective.com/reactphp", + "type": "open_collective" + } + ], + "time": "2023-11-16T16:21:57+00:00" + }, + { + "name": "rector/rector", + "version": "0.18.12", + "source": { + "type": "git", + "url": "https://github.com/rectorphp/rector.git", + "reference": "ed8d5352a3faa69e4a5e315896abffd4bc29c828" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/rectorphp/rector/zipball/ed8d5352a3faa69e4a5e315896abffd4bc29c828", + "reference": "ed8d5352a3faa69e4a5e315896abffd4bc29c828", + "shasum": "" + }, + "require": { + "php": "^7.2|^8.0", + "phpstan/phpstan": "^1.10.35" + }, + "conflict": { + "rector/rector-doctrine": "*", + "rector/rector-downgrade-php": "*", + "rector/rector-phpunit": "*", + "rector/rector-symfony": "*" + }, + "bin": [ + "bin/rector" + ], + "type": "library", + "autoload": { + "files": [ + "bootstrap.php" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "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.18.12" + }, + "funding": [ + { + "url": "https://github.com/tomasvotruba", + "type": "github" + } + ], + "time": "2023-12-04T08:47:30+00:00" + }, + { + "name": "revolt/event-loop", + "version": "v1.0.6", + "source": { + "type": "git", + "url": "https://github.com/revoltphp/event-loop.git", + "reference": "25de49af7223ba039f64da4ae9a28ec2d10d0254" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/revoltphp/event-loop/zipball/25de49af7223ba039f64da4ae9a28ec2d10d0254", + "reference": "25de49af7223ba039f64da4ae9a28ec2d10d0254", + "shasum": "" + }, + "require": { + "php": ">=8.1" + }, + "require-dev": { + "ext-json": "*", + "jetbrains/phpstorm-stubs": "^2019.3", + "phpunit/phpunit": "^9", + "psalm/phar": "^5.15" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "1.x-dev" + } + }, + "autoload": { + "psr-4": { + "Revolt\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Aaron Piotrowski", + "email": "aaron@trowski.com" + }, + { + "name": "Cees-Jan Kiewiet", + "email": "ceesjank@gmail.com" + }, + { + "name": "Christian Lück", + "email": "christian@clue.engineering" + }, + { + "name": "Niklas Keller", + "email": "me@kelunik.com" + } + ], + "description": "Rock-solid event loop for concurrent PHP applications.", + "keywords": [ + "async", + "asynchronous", + "concurrency", + "event", + "event-loop", + "non-blocking", + "scheduler" + ], + "support": { + "issues": "https://github.com/revoltphp/event-loop/issues", + "source": "https://github.com/revoltphp/event-loop/tree/v1.0.6" + }, + "time": "2023-11-30T05:34:44+00:00" + }, + { + "name": "roave/backward-compatibility-check", + "version": "8.4.0", + "source": { + "type": "git", + "url": "https://github.com/Roave/BackwardCompatibilityCheck.git", + "reference": "9b45bc3431f3dc651a8f2d6e199ca0d1e60a9978" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/Roave/BackwardCompatibilityCheck/zipball/9b45bc3431f3dc651a8f2d6e199ca0d1e60a9978", + "reference": "9b45bc3431f3dc651a8f2d6e199ca0d1e60a9978", + "shasum": "" + }, + "require": { + "azjezz/psl": "^2.3.1", + "composer/composer": "^2.5.1", + "ext-json": "*", + "nikic/php-parser": "^4.15.3", + "nikolaposa/version": "^4.1.0", + "ocramius/package-versions": "^2.7.0", + "php": "~8.1.0 || ~8.2.0 || ~8.3.0", + "roave/better-reflection": "^6.5.0", + "symfony/console": "^6.2.3" + }, + "conflict": { + "revolt/event-loop": "<0.2.5", + "symfony/process": "<5.3.7" + }, + "require-dev": { + "doctrine/coding-standard": "^12.0.0", + "php-standard-library/psalm-plugin": "^2.2.1", + "phpunit/phpunit": "^9.5.27", + "psalm/plugin-phpunit": "^0.18.4", + "roave/infection-static-analysis-plugin": "^1.27.0", + "roave/security-advisories": "dev-master", + "squizlabs/php_codesniffer": "^3.7.1", + "vimeo/psalm": "^5.4.0" + }, + "bin": [ + "bin/roave-backward-compatibility-check" + ], + "type": "library", + "autoload": { + "psr-4": { + "Roave\\BackwardCompatibility\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "James Titcumb", + "email": "james@asgrim.com" + }, + { + "name": "Marco Pivetta", + "email": "ocramius@gmail.com" + } + ], + "description": "Tool to compare two revisions of a public API to check for BC breaks", + "support": { + "issues": "https://github.com/Roave/BackwardCompatibilityCheck/issues", + "source": "https://github.com/Roave/BackwardCompatibilityCheck/tree/8.4.0" + }, + "time": "2023-11-25T16:28:35+00:00" + }, + { + "name": "roave/better-reflection", + "version": "6.19.0", + "source": { + "type": "git", + "url": "https://github.com/Roave/BetterReflection.git", + "reference": "92e9cbd9ccfea0924135a29f4be3959cd59cf54c" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/Roave/BetterReflection/zipball/92e9cbd9ccfea0924135a29f4be3959cd59cf54c", + "reference": "92e9cbd9ccfea0924135a29f4be3959cd59cf54c", + "shasum": "" + }, + "require": { + "ext-json": "*", + "jetbrains/phpstorm-stubs": "2023.2", + "nikic/php-parser": "^4.17.1", + "php": "~8.1.0 || ~8.2.0 || ~8.3.0", + "roave/signature": "^1.8.0" + }, + "conflict": { + "thecodingmachine/safe": "<1.1.3" + }, + "require-dev": { + "doctrine/coding-standard": "^12.0.0", + "phpstan/phpstan": "^1.10.47", + "phpstan/phpstan-phpunit": "^1.3.15", + "phpunit/phpunit": "^10.5.2", + "roave/infection-static-analysis-plugin": "^1.34.0", + "vimeo/psalm": "5.17.0" + }, + "suggest": { + "composer/composer": "Required to use the ComposerSourceLocator" + }, + "type": "library", "autoload": { "psr-4": { - "Psr\\Log\\": "src" + "Roave\\BetterReflection\\": "src" } }, "notification-url": "https://packagist.org/downloads/", @@ -3220,77 +4204,72 @@ ], "authors": [ { - "name": "PHP-FIG", - "homepage": "https://www.php-fig.org/" + "name": "James Titcumb", + "email": "james@asgrim.com", + "homepage": "https://github.com/asgrim" + }, + { + "name": "Marco Pivetta", + "email": "ocramius@gmail.com", + "homepage": "https://ocramius.github.io/" + }, + { + "name": "Gary Hockin", + "email": "gary@roave.com", + "homepage": "https://github.com/geeh" + }, + { + "name": "Jaroslav Hanslík", + "email": "kukulich@kukulich.cz", + "homepage": "https://github.com/kukulich" } ], - "description": "Common interface for logging libraries", - "homepage": "https://github.com/php-fig/log", - "keywords": [ - "log", - "psr", - "psr-3" - ], + "description": "Better Reflection - an improved code reflection API", "support": { - "source": "https://github.com/php-fig/log/tree/3.0.0" + "issues": "https://github.com/Roave/BetterReflection/issues", + "source": "https://github.com/Roave/BetterReflection/tree/6.19.0" }, - "time": "2021-07-14T16:46:02+00:00" + "time": "2023-12-07T10:58:42+00:00" }, { - "name": "rector/rector", - "version": "0.18.12", + "name": "roave/signature", + "version": "1.8.0", "source": { "type": "git", - "url": "https://github.com/rectorphp/rector.git", - "reference": "ed8d5352a3faa69e4a5e315896abffd4bc29c828" + "url": "https://github.com/Roave/Signature.git", + "reference": "f92ce20f82c9a1df3b50fc56fbdaeb82cf4c9c5b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/rectorphp/rector/zipball/ed8d5352a3faa69e4a5e315896abffd4bc29c828", - "reference": "ed8d5352a3faa69e4a5e315896abffd4bc29c828", + "url": "https://api.github.com/repos/Roave/Signature/zipball/f92ce20f82c9a1df3b50fc56fbdaeb82cf4c9c5b", + "reference": "f92ce20f82c9a1df3b50fc56fbdaeb82cf4c9c5b", "shasum": "" }, "require": { - "php": "^7.2|^8.0", - "phpstan/phpstan": "^1.10.35" + "php": "~8.0.0 || ~8.1.0 || ~8.2.0 || ~8.3.0" }, - "conflict": { - "rector/rector-doctrine": "*", - "rector/rector-downgrade-php": "*", - "rector/rector-phpunit": "*", - "rector/rector-symfony": "*" + "require-dev": { + "doctrine/coding-standard": "^12.0.0", + "infection/infection": "^0.26.19", + "phpunit/phpunit": "^9.6.7", + "vimeo/psalm": "^5.9.0" }, - "bin": [ - "bin/rector" - ], "type": "library", "autoload": { - "files": [ - "bootstrap.php" - ] + "psr-4": { + "Roave\\Signature\\": "src" + } }, "notification-url": "https://packagist.org/downloads/", "license": [ "MIT" ], - "description": "Instant Upgrade and Automated Refactoring of any PHP code", - "keywords": [ - "automation", - "dev", - "migration", - "refactoring" - ], + "description": "Sign and verify stuff", "support": { - "issues": "https://github.com/rectorphp/rector/issues", - "source": "https://github.com/rectorphp/rector/tree/0.18.12" + "issues": "https://github.com/Roave/Signature/issues", + "source": "https://github.com/Roave/Signature/tree/1.8.0" }, - "funding": [ - { - "url": "https://github.com/tomasvotruba", - "type": "github" - } - ], - "time": "2023-12-04T08:47:30+00:00" + "time": "2023-11-25T00:11:29+00:00" }, { "name": "sanmai/later", @@ -4336,6 +5315,179 @@ ], "time": "2023-02-07T11:34:05+00:00" }, + { + "name": "seld/jsonlint", + "version": "1.10.0", + "source": { + "type": "git", + "url": "https://github.com/Seldaek/jsonlint.git", + "reference": "594fd6462aad8ecee0b45ca5045acea4776667f1" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/Seldaek/jsonlint/zipball/594fd6462aad8ecee0b45ca5045acea4776667f1", + "reference": "594fd6462aad8ecee0b45ca5045acea4776667f1", + "shasum": "" + }, + "require": { + "php": "^5.3 || ^7.0 || ^8.0" + }, + "require-dev": { + "phpstan/phpstan": "^1.5", + "phpunit/phpunit": "^4.8.35 || ^5.7 || ^6.0 || ^8.5.13" + }, + "bin": [ + "bin/jsonlint" + ], + "type": "library", + "autoload": { + "psr-4": { + "Seld\\JsonLint\\": "src/Seld/JsonLint/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Jordi Boggiano", + "email": "j.boggiano@seld.be", + "homepage": "http://seld.be" + } + ], + "description": "JSON Linter", + "keywords": [ + "json", + "linter", + "parser", + "validator" + ], + "support": { + "issues": "https://github.com/Seldaek/jsonlint/issues", + "source": "https://github.com/Seldaek/jsonlint/tree/1.10.0" + }, + "funding": [ + { + "url": "https://github.com/Seldaek", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/seld/jsonlint", + "type": "tidelift" + } + ], + "time": "2023-05-11T13:16:46+00:00" + }, + { + "name": "seld/phar-utils", + "version": "1.2.1", + "source": { + "type": "git", + "url": "https://github.com/Seldaek/phar-utils.git", + "reference": "ea2f4014f163c1be4c601b9b7bd6af81ba8d701c" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/Seldaek/phar-utils/zipball/ea2f4014f163c1be4c601b9b7bd6af81ba8d701c", + "reference": "ea2f4014f163c1be4c601b9b7bd6af81ba8d701c", + "shasum": "" + }, + "require": { + "php": ">=5.3" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.x-dev" + } + }, + "autoload": { + "psr-4": { + "Seld\\PharUtils\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Jordi Boggiano", + "email": "j.boggiano@seld.be" + } + ], + "description": "PHAR file format utilities, for when PHP phars you up", + "keywords": [ + "phar" + ], + "support": { + "issues": "https://github.com/Seldaek/phar-utils/issues", + "source": "https://github.com/Seldaek/phar-utils/tree/1.2.1" + }, + "time": "2022-08-31T10:31:18+00:00" + }, + { + "name": "seld/signal-handler", + "version": "2.0.2", + "source": { + "type": "git", + "url": "https://github.com/Seldaek/signal-handler.git", + "reference": "04a6112e883ad76c0ada8e4a9f7520bbfdb6bb98" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/Seldaek/signal-handler/zipball/04a6112e883ad76c0ada8e4a9f7520bbfdb6bb98", + "reference": "04a6112e883ad76c0ada8e4a9f7520bbfdb6bb98", + "shasum": "" + }, + "require": { + "php": ">=7.2.0" + }, + "require-dev": { + "phpstan/phpstan": "^1", + "phpstan/phpstan-deprecation-rules": "^1.0", + "phpstan/phpstan-phpunit": "^1", + "phpstan/phpstan-strict-rules": "^1.3", + "phpunit/phpunit": "^7.5.20 || ^8.5.23", + "psr/log": "^1 || ^2 || ^3" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "2.x-dev" + } + }, + "autoload": { + "psr-4": { + "Seld\\Signal\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Jordi Boggiano", + "email": "j.boggiano@seld.be", + "homepage": "http://seld.be" + } + ], + "description": "Simple unix signal handler that silently fails where signals are not supported for easy cross-platform development", + "keywords": [ + "posix", + "sigint", + "signal", + "sigterm", + "unix" + ], + "support": { + "issues": "https://github.com/Seldaek/signal-handler/issues", + "source": "https://github.com/Seldaek/signal-handler/tree/2.0.2" + }, + "time": "2023-09-03T09:24:00+00:00" + }, { "name": "spatie/array-to-xml", "version": "3.2.2", @@ -5240,6 +6392,85 @@ ], "time": "2023-07-28T09:04:16+00:00" }, + { + "name": "symfony/polyfill-php73", + "version": "v1.28.0", + "source": { + "type": "git", + "url": "https://github.com/symfony/polyfill-php73.git", + "reference": "fe2f306d1d9d346a7fee353d0d5012e401e984b5" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/polyfill-php73/zipball/fe2f306d1d9d346a7fee353d0d5012e401e984b5", + "reference": "fe2f306d1d9d346a7fee353d0d5012e401e984b5", + "shasum": "" + }, + "require": { + "php": ">=7.1" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "1.28-dev" + }, + "thanks": { + "name": "symfony/polyfill", + "url": "https://github.com/symfony/polyfill" + } + }, + "autoload": { + "files": [ + "bootstrap.php" + ], + "psr-4": { + "Symfony\\Polyfill\\Php73\\": "" + }, + "classmap": [ + "Resources/stubs" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Nicolas Grekas", + "email": "p@tchwork.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony polyfill backporting some PHP 7.3+ features to lower PHP versions", + "homepage": "https://symfony.com", + "keywords": [ + "compatibility", + "polyfill", + "portable", + "shim" + ], + "support": { + "source": "https://github.com/symfony/polyfill-php73/tree/v1.28.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": "2023-01-26T09:26:14+00:00" + }, { "name": "symfony/polyfill-php80", "version": "v1.28.0", From 4823a58a1a6b86473aaecbd62a1a91b1565de1e3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20M=C3=B6ller?= Date: Wed, 13 Dec 2023 09:58:14 +0100 Subject: [PATCH 046/111] Fix: Reference MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Andreas Möller Co-authored-by: Dan Wallis --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index d48ca5e4..5628edc5 100644 --- a/README.md +++ b/README.md @@ -581,7 +581,7 @@ sections, the `Vendor\Composer\VersionConstraintNormalizer` will ensure that } ``` -- useless [inline aliases]()https://getcomposer.org/doc/articles/aliases.md#require-inline-alias are removed +- useless [inline aliases](https://getcomposer.org/doc/articles/aliases.md#require-inline-alias) are removed ```diff { From 604a8b935030f05f57d9aad17270cf5148bfe2af Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20M=C3=B6ller?= Date: Wed, 13 Dec 2023 10:02:14 +0100 Subject: [PATCH 047/111] Fix: Revert --- CHANGELOG.md | 653 ++++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 651 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a8a8fe12..8857ab8f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,655 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), ## Unreleased -For a full diff see [`1902cc2...main`][1902cc2...main]. +For a full diff see [`4.3.0...main`][4.3.0...main]. -[1902cc2...main]: https://github.com/ergebnis/json-normalizer/compare/1902cc2...main +## [`4.3.0`][4.3.0] + +For a full diff see [`4.2.0...4.3.0`][4.2.0...4.3.0]. + +### Changed + +- Sort `allow-plugins` and `preferred-install` as sensibly as is feasible ([#980]), by [@fredden] +- Adjusted `Vendor\Composer\VersionConstraintNormalizer` to remove overlapping individual versions too ([#982]), by [@fredden] +- Added support for PHP 8.3 ([#988]), by [@localheinz] +- Required `ergebnis/json-printer:^3.4.0` ([#989]), by [@dependabot] +- Required `ergebnis/json:^1.1.0` ([#991]), by [@dependabot] +- Required `ergebnis/json-schema-validator:^4.1.0` ([#992]), by [@dependabot] + +## [`4.2.0`][4.2.0] + +For a full diff see [`4.1.0...4.2.0`][4.1.0...4.2.0]. + +### Changed + +- Dropped support for PHP 8.0 ([#917]), by [@localheinz] +- Adjusted `Vendor\Composer\VersionConstraintNormalizer` to prefer tilde operators (`~`) over wildcard operators (`*`), and caret operators (`^`) over tilde operators (`~`) ([#756]), by [@fredden] + +## [`4.1.0`][4.1.0] + +For a full diff see [`4.0.2...4.1.0`][4.0.2...4.1.0]. + +### Changed + +- Adjusted `Vendor\Composer\VersionConstraintNormalizer` to remove extra spaces in inline aliases ([#889]), by [@fredden] +- Adjusted `Vendor\Composer\VersionConstraintNormalizer` to remove useless inline aliases ([#889]), by [@fredden] + +### Fixed + +- Adjusted `SchemaNormalizer` to account for objects with string and integer-like properties ([#868]), by [@alexis-saransig-lullabot] and [@fredden] +- Adjusted `SchemaNormalizer` to account for objects where schema describes additional properties ([#873]), by [@fredden] and [@localheinz] + +## [`4.0.2`][4.0.2] + +For a full diff see [`4.0.1...4.0.2`][4.0.1...4.0.2]. + +### Fixed + +- Adjusted `Vendor\Composer\VersionConstraintNormalizer` to sort versions naturally ([#863]), by [@localheinz] + +## [`4.0.1`][4.0.1] + +For a full diff see [`4.0.0...4.0.1`][4.0.0...4.0.1]. + +### Fixed + +- Adjusted `Vendor\Composer\ComposerJsonNormalizer` to stop sorting `repositories` ([#858]), by [@localheinz] +- Reverted inlining `Vendor\Composer\BinNormalizer` ([#860]), by [@localheinz] +- Partially reverted removal of `Vendor\Composer\ConfigHashNormalizer` to ensure `config` is sorted by ket ([#861]), by [@localheinz] + +## [`4.0.0`][4.0.0] + +For a full diff see [`3.0.0...4.0.0`][3.0.0...4.0.0]. + +### Added + +- Added `FormatNormalizer` ([#781]), by [@localheinz] + +### Changed + +- Dropped support for PHP 7.4 ([#757]), by [@localheinz] +- Required `ergebnis/json-schema-validator:^4.0.0` ([#771]), by [@localheinz] +- Allowed configuring the `Normalizer\SchemaNormalizer` to exclude properties from being sorted ([#774]), by [@localheinz] +- Adjusted `Vendor\Composer\BinNormalizer`, `Vendor\Composer\PackageHashNormalizer`, `Vendor\Composer\VersionConstraintNormalizer`, and `SchemaNormalizer` to encode JSON with `JSON_PRETTY_PRINT` flag ([#795]), by [@localheinz] +- Adjusted `Vendor\Composer\BinNormalizer`, `Vendor\Composer\PackageHashNormalizer`, `Vendor\Composer\VersionConstraintNormalizer`, and `SchemaNormalizer` to encode JSON with `JSON_UNESCAPED_SLASHES` flag ([#801]), by [@localheinz] +- Adjusted `Vendor\Composer\BinNormalizer`, `Vendor\Composer\PackageHashNormalizer`, `Vendor\Composer\VersionConstraintNormalizer`, and `SchemaNormalizer` to encode JSON with `JSON_UNESCAPED_UNICODE` flag ([#802]), by [@localheinz] +- Adjusted `Vendor\Composer\ComposerJsonNormalizer` to reject JSON when it is not an object ([#804]), by [@localheinz] +- Adjusted `Vendor\Composer\ComposerJsonNormalizer` to compose `WithFinalNewLineNormalizer` ([#806]), by [@localheinz] +- Adjusted `Vendor\Composer\VersionConstraintNormalizer` to skip normalization of version constraints when they can not be parsed by `Composer\Semver\VersionParser` ([#813]), by [@fredden] and [@localheinz] +- Adjusted `Vendor\Composer\VersionConstraintNormalizer` to sort versions in ascending order ([#816]), by [@fredden] +- Adjusted `Vendor\Composer\VersionConstraintNormalizer` to normalize version constraints separators in `and` constraints from space (` `) or comma (`,`) to space (` `) ([#819]), by [@fredden] +- Adjusted `Vendor\Composer\VersionConstraintNormalizer` to remove overlapping version constraints in `or` version constraints ([#850]), by [@fredden] +- Adjusted `Vendor\Composer\VersionConstraintNormalizer` to remove duplicate version constraints ([#856]), by [@localheinz] + +### Fixed + +- Adjusted `Vendor\Composer\ComposerJsonNormalizer` to stop sorting `scripts.auto-scripts` ([#776]), by [@localheinz] +- Adjusted `Vendor\Composer\ComposerJsonNormalizer` to stop sorting `extra.installer-paths` ([#777]), by [@localheinz] +- Adjusted `Vendor\Composer\ComposerJsonNormalizer` to stop sorting `config.allow-plugins` ([#778]), by [@localheinz] +- Adjusted `Vendor\Composer\ComposerJsonNormalizer` to stop sorting `config.preferred-install` ([#779]), by [@localheinz] +- Adjusted `Vendor\Composer\ComposerJsonNormalizer` to stop sorting children of `extra.patches` ([#780]), by [@localheinz] + +### Removed + +- Started using `ergebnis/json` and removed `Json` and `Exception\InvalidJsonEncoded` ([#772]), by [@localheinz] +- Removed `Vendor\Composer\ConfigHashNormalizer` ([#775]), by [@localheinz] +- Removed `AutoFormatNormalizer` ([#793]), by [@localheinz] +- Removed `FixedFormatNormalizer` ([#794]), by [@localheinz] +- Inlined and removed `Vendor\Composer\BinNormalizer` ([#805]), by [@localheinz] + +## [`3.0.0`][3.0.0] + +For a full diff see [`2.2.0...3.0.0`][2.2.0...3.0.0]. + +### Changed + +- Required `ergebnis/json-schema-validator:^3.0.0` ([#666]), by [@dependabot] +- Renamed `Exception\ExceptionInterface` to `Exception\Exception` ([#667]), by [@localheinz] +- Removed `Exception` suffix from all exceptions ([#668]), by [@localheinz] +- Renamed `NormalizerInterface` to `Normalizer` ([#669]), by [@localheinz] +- Renamed `Format\Formatter` to `Format\DefaultFormatter` ([#672]), by [@localheinz] +- Renamed `Format\FormatterInterface` to `Format\Formatter` ([#673]), by [@localheinz] +- Required `ergebnis/json-pointer:^3.0.0` and `ergebnis/json-schema-validator:^3.1.0` ([#697]), by [@localheinz] +- Required `ergebnis/json-pointer:^3.1.0` ([#698]), by [@dependabot] +- Required `justinrainbow/json-schema:^5.2.12` ([#705]), by [@dependabot] + +### Fixed + +- Adjusted `ConfigHashNormalizer` to sort keys correctly ([#723]), by [@fredded] + +## [`2.2.0`][2.2.0] + +For a full diff see [`2.1.0...2.2.0`][2.1.0...2.2.0]. + +### Changed + +- Stopped checking whether `type` property in schema is set to `array` or `object` ([#632]), by [@localheinz] +- Adjusted `SchemaNormalizer` to normalize additional object properties ([#639]), by [@localheinz] +- Adjusted `SchemaNormalizer` to normalize array values for which schema does not declare item schema ([#641]), by [@localheinz] + +## [`2.1.0`][2.1.0] + +For a full diff see [`2.0.0...2.1.0`][2.0.0...2.1.0]. + +### Changed + +- Adjusted `SchemaNormalizer` to support `anyOf` ([#623]), by [@localheinz] + +## [`2.0.0`][2.0.0] + +For a full diff see [`1.0.3...2.0.0`][1.0.3...2.0.0]. + +### Changed + +- Dropped support for PHP 7.2 ([#564]), by [@localheinz] +- Dropped support for PHP 7.3 ([#573]), by [@localheinz] +- Renamed `Format::__toString()`, `Indent::__toString()`, and `Json::__toString()` to `Format::toString()`, `Indent::toString()`, and `Json::toString()`, requiring consumers to explicitly invoke methods instead of allowing to cast to `string` ([#589]), by [@localheinz] +- Started using the `SchemaValidator` provided by `ergebnis/json-schema-validator` ([#595]), by [@localheinz] +- Renamed `Format\JsonEncodeOptions::value()` to `Format\JsonEncodeOptions::toInt()` ([#603]), by [@localheinz] +- Extracted `Format\Format::create()` as named constructor and reduced visibility of `__construct` to `private` ([#608]), by [@localheinz] +- Stopped composing `Format\Format` into `Json` ([#616]), by [@localheinz] +- Renamed `FinalNewLineNormalizer` to `WithFinalNewLineNormalizer` ([#618]), by [@localheinz] +- Renamed `NoFinalNewLineNormalizer` to `WithoutFinalNewLineNormalizer` ([#619]), by [@localheinz] + +### Fixed + +- Updated `justinrainbow/json-schema` ([#517]), by [@dependabot] +- Stopped sorting the newly added `allow-plugins` configuration ([#590]), by [@dependabot] + +### Removed + +- Removed `Validator\Result`, `Valdiator\SchemaValidator`, and `Validator\SchemaValidatorInterface` ([#597]), by [@dependabot] + +## [`1.0.3`][1.0.3] + +For a full diff see [`1.0.2...1.0.3`][1.0.2...1.0.3]. + +### Fixed + +- Adjusted `Vendor\Composer\PackageHashNormalizer` to take into account the newly addded `composer-plugin-api` as platform requirement ([#463]), by [@localheinz] + +## [`1.0.2`][1.0.2] + +For a full diff see [`1.0.1...1.0.2`][1.0.1...1.0.2]. + +### Fixed + +- Adjusted `Vendor\Composer\ConfigHashNormalizer` to take into account the full property path, not only the property name ([#429]), by [@localheinz] + +## [`1.0.1`][1.0.1] + +For a full diff see [`1.0.0...1.0.1`][1.0.0...1.0.1]. + +### Fixed + +- Adjusted `Vendor\Composer\ConfigHashNormalizer` to ignore the `preferred-install` hash ([#425]), by [@localheinz] + +## [`1.0.0`][1.0.0] + +For a full diff see [`0.14.1...1.0.0`][0.14.1...1.0.0]. + +### Changed + +- Adjusted `Vendor\Composer\ConfigHashNormalizer` to recursively sort hashes by key ([#424]), by [@localheinz] + +## [`0.14.1`][0.14.1] + +For a full diff see [`0.14.0...0.14.1`][0.14.0...0.14.1]. + +### Fixed + +- Adjusted `Vendor\Composer\ConfigHashNormalizer` to continue normalizing properties when a property has an empty value ([#423]), by [@localheinz] + +## [`0.14.0`][0.14.0] + +For a full diff see [`0.13.1...0.14.0`][0.13.1...0.14.0]. + +### Added + +- Extracted an `Indent::CHARACTERS` constant that exposes a map of indent styles to indent characters ([#384]), by [@localheinz] + +## [`0.13.1`][0.13.1] + +For a full diff see [`0.13.0...0.13.1`][0.13.0...0.13.1]. + +### Changed + +- Dropped support for PHP 7.1 ([#335]), by [@localheinz] + +## [`0.13.0`][0.13.0] + +For a full diff see [`0.12.0...0.13.0`][0.12.0...0.13.0]. + +### Added + +- Added support for PHP 8.0 ([#308]), by [@localheinz] + +## [`0.12.0`][0.12.0] + +For a full diff see [`0.11.0...0.12.0`][0.11.0...0.12.0]. + +### Added + +- Added `SchemaValidator::validate()`, which returns a `Result` composing validation error messages ([#268]), by [@localheinz] + +### Deprecated + +- Deprecated `SchemaValidator::isValid()` ([#269]), by [@localheinz] + +## [`0.11.0`][0.11.0] + +For a full diff see [`0.10.1...0.11.0`][0.10.1...0.11.0]. + +### Added + +- Merged in normalizers from [`ergebnis/composer-json-normalizer`](https://github.com/ergebnis/composer-json-normalizer) ([#203]), by [@localheinz] + +### Removed + +- Removed the `ChainUriRetriever` ([#202]), by [@localheinz] + +## [`0.10.1`][0.10.1] + +For a full diff see [`0.10.0...0.10.1`][0.10.0...0.10.1]. + +### Fixed + +- Brought back support for PHP 7.1 ([#191]), by [@localheinz] + +## [`0.10.0`][0.10.0] + +For a full diff see [`0.9.0...0.10.0`][0.9.0...0.10.0]. + +### Added + +- Added a `ChainUriRetriever` which allows specifying multiple URI retrievers ([#102]), by [@localheinz] +- Added this changelog ([#103]), by [@localheinz] + +### Changed + +- Allowing injection of a `UriRetriever` into the `SchemaNormalizer`, and defaulting to a `ChainUriRetriever` which composes `FileGetContents` and `Curl` URI retrievers ([#104]), by [@localheinz] +- Dropped `null` default values of constructor arguments of `AutoFormatNormalizer`, `FixedFormatNormalizer`, `Formatter`, `IndentNormalizer` to expose hard dependencies ([#109]), by [@localheinz] +- Dropped nullable return type declaration from `ChainUriRetriever::getContentType()`, defaulting to an empty `string` when `ChainUriRetriever::retrieve()` wasn't invoked yet ([#132]), by [@localheinz] +- Started using `ergebnis/json-printer` instead of `localheinz/json-printer` ([#176]), by [@localheinz] +- Renamed vendor namespace `Localheinz` to `Ergebnis` after move to [@ergebnis] ([#181]), by [@localheinz] + + Run + + ``` + $ composer remove localheinz/json-normalizer + ``` + + and + + ``` + $ composer require ergebnis/json-normalizer + ``` + + to update. + + Run + + ``` + $ find . -type f -exec sed -i '.bak' 's/Localheinz\\Json\\Normalizer/Ergebnis\\Json\\Normalizer/g' {} \; + ``` + + to replace occurrences of `Localheinz\Json\Normalizer` with `Ergebnis\Json\Normalizer`. + + Run + + ``` + $ find -type f -name '*.bak' -delete + ``` + + to delete backup files created in the previous step. + +### Fixed + +- Dropped support for PHP 7.1 ([#163]), by [@localheinz] + +## [`0.9.0`][0.9.0] + +For a full diff see [`0.8.0...0.9.0`][0.8.0...0.9.0]. + +### Added + +- Added `JsonEncodeOptions` value object ([#93]), by [@localheinz] + +### Changed + +- Turned method on `Format` into named constructor on `Indent` value object ([#94]), by [@localheinz] +- Turned method on `Format` into named constructor on `JsonEncodeOptions` value object([#95]), by [@localheinz] +- Turned method on `Format` into named constructor on `NewLine` value object ([#96]), by [@localheinz] + +### Removed + +- Removed capability to create `Json` value object from decoded data ([#88]), by [@localheinz] +- Removed `IndentInterface` ([#89]), by [@localheinz] +- Removed `NewLineInterface` ([#90]), by [@localheinz] +- Removed `FormatInterface` ([#91]), by [@localheinz] +- Removed `JsonInterface` ([#92]), by [@localheinz] + +## [`0.8.0`][0.8.0] + +For a full diff see [`0.7.0...0.8.0`][0.7.0...0.8.0]. + +### Added + +- Added named constructor to `Json` value object to allow creation from data ([#86]), by [@localheinz] + +### Changed + +- Renamed `InvalidJsonException` to `InvalidJsonEncodedException` ([#85]), by [@localheinz] + +### Fixed + +- `ExceptionInterface` now extends `Throwable` ([#82]), by [@BackEndTea] +- Extension `ext/json` is now explicitly required ([#84]), by [@localheinz] + +## [`0.7.0`][0.7.0] + +For a full diff see [`0.6.0...0.7.0`][0.6.0...0.7.0]. + +### Added + +- Added `Indent` value object ([#73]), by [@localheinz] +- Added `NewLine` value object ([#76]), by [@localheinz] +- Added `Json` value object ([#64]), by [@localheinz] +- Added exceptions ([#79]), by [@localheinz] + +### Changed + +- Removed the `Sniffer` in favour of a named constructor on `Format` value object ([#77]), by [@localheinz] + +### Fixed + +- Added more test cases for sniffing JSON without whitespace ([#67]), by [@localheinz] +- Added missing types in a Docblock ([#68]), by [@localheinz] +- The `Format` value object now rejects mixed tabs and spaces as indent ([#69]), by [@localheinz] +- Added more test cases for JSON without indent ([#72]), by [@localheinz] +- Sniff only pure indents, no mixed spaces and tabs ([#71]), by [@localheinz] + +## [`0.6.0`][0.6.0] + +For a full diff see [`0.5.2...0.6.0`][0.5.2...0.6.0]. + +### Added + +- Added sniffing of new-line character sequence ([#55]), by [@localheinz] + +## [`0.5.2`][0.5.2] + +For a full diff see [`0.5.1...0.5.2`][0.5.1...0.5.2]. + +### Fixed + +- Keep resolving references until there are none left ([#49]), by [@localheinz] + +## [`0.5.1`][0.5.1] + +For a full diff see [`0.5.0...0.5.1`][0.5.0...0.5.1]. + +### Fixed + +- Resolve referenced schema in `oneOf` combination ([#47]), by [@localheinz] + +## [`0.5.0`][0.5.0] + +For a full diff see [`0.4.0...0.5.0`][0.4.0...0.5.0]. + +### Added + +- Added handling of arrays where schema describes tuple ([#37]), by [@localheinz] +- Added handling of arrays were schema has reference definition ([#40]), by [@localheinz] +- Added handling of `oneOf` ([#45]), by [@localheinz] + +## [`0.4.0`][0.4.0] + +For a full diff see [`0.3.0...0.4.0`][0.3.0...0.4.0]. + +### Added + +- Extracted `Formatter` ([#31]), by [@localheinz] + +### Changed + +- Renamed `FormatSniffer` to `Sniffer` ([#30]), by [@localheinz] + +## [`0.3.0`][0.3.0] + +For a full diff see [`0.2.0...0.3.0`][0.2.0...0.3.0]. + +### Changed + +- Require PHP 7.1 ([#27]), by [@localheinz] +- Allow to mutate `Format` value object ([#29]), by [@localheinz] + +## [`0.2.0`][0.2.0] + +For a full diff see [`0.1.0...0.2.0`][0.1.0...0.2.0]. + +### Added + +- Added `FixedFormatNormalizer` ([#17]), by [@localheinz] + +## [`0.1.0`][0.1.0] + +For a full diff see [`5d8b3e2...0.1.0`][5d8b3e2...0.1.0]. + +### Added + +- Added `IndentNormalizer` ([#1]), by [@localheinz] +- Added `FinalNewLineNormalizer` ([#2]), by [@localheinz] +- Added `NoFinalNewLineNormalizer` ([#3]), by [@localheinz] +- Added `JsonEncodeNormalizer` ([#7]), by [@localheinz] +- Added `CallableNormalizer` ([#8]), by [@localheinz] +- Added `ChainNormalizer` ([#9]), by [@localheinz] +- Added `Format` value object ([#10]), by [@localheinz] +- Added `FormatSniffer` ([#12]), by [@localheinz] +- Added `AutoFormatNormalizer` ([#13]), by [@localheinz] +- Added `SchemaNormalizer` ([#15]), by [@localheinz] + +[0.1.0]: https://github.com/ergebnis/json-normalizer/releases/tag/0.1.0 +[0.2.0]: https://github.com/ergebnis/json-normalizer/releases/tag/0.2.0 +[0.3.0]: https://github.com/ergebnis/json-normalizer/releases/tag/0.3.0 +[0.4.0]: https://github.com/ergebnis/json-normalizer/releases/tag/0.4.0 +[0.5.0]: https://github.com/ergebnis/json-normalizer/releases/tag/0.5.0 +[0.5.1]: https://github.com/ergebnis/json-normalizer/releases/tag/0.5.1 +[0.5.2]: https://github.com/ergebnis/json-normalizer/releases/tag/0.5.2 +[0.6.0]: https://github.com/ergebnis/json-normalizer/releases/tag/0.6.0 +[0.7.0]: https://github.com/ergebnis/json-normalizer/releases/tag/0.7.0 +[0.8.0]: https://github.com/ergebnis/json-normalizer/releases/tag/0.8.0 +[0.9.0]: https://github.com/ergebnis/json-normalizer/releases/tag/0.9.0 +[0.10.0]: https://github.com/ergebnis/json-normalizer/releases/tag/0.10.0 +[0.10.1]: https://github.com/ergebnis/json-normalizer/releases/tag/0.10.0 +[0.11.0]: https://github.com/ergebnis/json-normalizer/releases/tag/0.11.0 +[0.12.0]: https://github.com/ergebnis/json-normalizer/releases/tag/0.12.0 +[0.13.0]: https://github.com/ergebnis/json-normalizer/releases/tag/0.13.0 +[0.13.1]: https://github.com/ergebnis/json-normalizer/releases/tag/0.13.1 +[0.14.0]: https://github.com/ergebnis/json-normalizer/releases/tag/0.14.0 +[0.14.1]: https://github.com/ergebnis/json-normalizer/releases/tag/0.14.1 +[1.0.0]: https://github.com/ergebnis/json-normalizer/releases/tag/1.0.0 +[1.0.1]: https://github.com/ergebnis/json-normalizer/releases/tag/1.0.1 +[1.0.2]: https://github.com/ergebnis/json-normalizer/releases/tag/1.0.2 +[1.0.3]: https://github.com/ergebnis/json-normalizer/releases/tag/1.0.3 +[2.0.0]: https://github.com/ergebnis/json-normalizer/releases/tag/2.0.0 +[2.1.0]: https://github.com/ergebnis/json-normalizer/releases/tag/2.1.0 +[2.2.0]: https://github.com/ergebnis/json-normalizer/releases/tag/2.2.0 +[3.0.0]: https://github.com/ergebnis/json-normalizer/releases/tag/3.0.0 +[4.0.0]: https://github.com/ergebnis/json-normalizer/releases/tag/4.0.0 +[4.0.1]: https://github.com/ergebnis/json-normalizer/releases/tag/4.0.1 +[4.0.2]: https://github.com/ergebnis/json-normalizer/releases/tag/4.0.2 +[4.1.0]: https://github.com/ergebnis/json-normalizer/releases/tag/4.1.0 +[4.2.0]: https://github.com/ergebnis/json-normalizer/releases/tag/4.2.0 +[4.3.0]: https://github.com/ergebnis/json-normalizer/releases/tag/4.3.0 + +[5d8b3e2...0.1.0]: https://github.com/ergebnis/json-normalizer/compare/5d8b3e2...0.1.0 +[0.1.0...0.2.0]: https://github.com/ergebnis/json-normalizer/compare/0.1.0...0.2.0 +[0.2.0...0.3.0]: https://github.com/ergebnis/json-normalizer/compare/0.2.0...0.3.0 +[0.3.0...0.4.0]: https://github.com/ergebnis/json-normalizer/compare/0.3.0...0.4.0 +[0.4.0...0.5.0]: https://github.com/ergebnis/json-normalizer/compare/0.4.0...0.5.0 +[0.5.0...0.5.1]: https://github.com/ergebnis/json-normalizer/compare/0.5.0...0.5.1 +[0.5.1...0.5.2]: https://github.com/ergebnis/json-normalizer/compare/0.5.1...0.5.2 +[0.5.2...0.6.0]: https://github.com/ergebnis/json-normalizer/compare/0.5.2...0.6.0 +[0.6.0...0.7.0]: https://github.com/ergebnis/json-normalizer/compare/0.6.0...0.7.0 +[0.7.0...0.8.0]: https://github.com/ergebnis/json-normalizer/compare/0.7.0...0.8.0 +[0.8.0...0.9.0]: https://github.com/ergebnis/json-normalizer/compare/0.8.0...0.9.0 +[0.9.0...0.10.0]: https://github.com/ergebnis/json-normalizer/compare/0.9.0...0.10.0 +[0.10.0...0.10.1]: https://github.com/ergebnis/json-normalizer/compare/0.10.0...0.10.1 +[0.10.1...0.11.0]: https://github.com/ergebnis/json-normalizer/compare/0.10.1...0.11.0 +[0.11.0...0.12.0]: https://github.com/ergebnis/json-normalizer/compare/0.11.0...0.12.0 +[0.12.0...0.13.0]: https://github.com/ergebnis/json-normalizer/compare/0.12.0...0.13.0 +[0.13.0...0.13.1]: https://github.com/ergebnis/json-normalizer/compare/0.13.0...0.13.1 +[0.13.1...0.14.0]: https://github.com/ergebnis/json-normalizer/compare/0.13.1...0.14.0 +[0.14.0...0.14.1]: https://github.com/ergebnis/json-normalizer/compare/0.14.0...0.14.1 +[0.14.1...1.0.0]: https://github.com/ergebnis/json-normalizer/compare/0.14.1...1.0.0 +[1.0.0...1.0.1]: https://github.com/ergebnis/json-normalizer/compare/1.0.0...1.0.0 +[1.0.1...1.0.2]: https://github.com/ergebnis/json-normalizer/compare/1.0.1...1.0.2 +[1.0.2...1.0.3]: https://github.com/ergebnis/json-normalizer/compare/1.0.2...1.0.3 +[1.0.3...2.0.0]: https://github.com/ergebnis/json-normalizer/compare/1.0.3...2.0.0 +[2.0.0...2.1.0]: https://github.com/ergebnis/json-normalizer/compare/2.0.0...2.1.0 +[2.1.0...2.2.0]: https://github.com/ergebnis/json-normalizer/compare/2.1.0...2.2.0 +[2.2.0...3.0.0]: https://github.com/ergebnis/json-normalizer/compare/2.2.0...3.0.0 +[3.0.0...4.0.0]: https://github.com/ergebnis/json-normalizer/compare/3.0.0...4.0.0 +[4.0.0...4.0.1]: https://github.com/ergebnis/json-normalizer/compare/4.0.0...4.0.1 +[4.0.1...4.0.2]: https://github.com/ergebnis/json-normalizer/compare/4.0.1...4.0.2 +[4.0.2...4.1.0]: https://github.com/ergebnis/json-normalizer/compare/4.0.2...4.1.0 +[4.1.0...4.2.0]: https://github.com/ergebnis/json-normalizer/compare/4.1.0...4.2.0 +[4.2.0...4.3.0]: https://github.com/ergebnis/json-normalizer/compare/4.2.0...4.3.0 +[4.3.0...main]: https://github.com/ergebnis/json-normalizer/compare/4.3.0...main + +[#1]: https://github.com/ergebnis/json-normalizer/pull/1 +[#2]: https://github.com/ergebnis/json-normalizer/pull/2 +[#3]: https://github.com/ergebnis/json-normalizer/pull/3 +[#7]: https://github.com/ergebnis/json-normalizer/pull/7 +[#8]: https://github.com/ergebnis/json-normalizer/pull/8 +[#9]: https://github.com/ergebnis/json-normalizer/pull/9 +[#10]: https://github.com/ergebnis/json-normalizer/pull/10 +[#12]: https://github.com/ergebnis/json-normalizer/pull/12 +[#13]: https://github.com/ergebnis/json-normalizer/pull/13 +[#15]: https://github.com/ergebnis/json-normalizer/pull/15 +[#17]: https://github.com/ergebnis/json-normalizer/pull/17 +[#27]: https://github.com/ergebnis/json-normalizer/pull/27 +[#29]: https://github.com/ergebnis/json-normalizer/pull/29 +[#30]: https://github.com/ergebnis/json-normalizer/pull/30 +[#31]: https://github.com/ergebnis/json-normalizer/pull/31 +[#37]: https://github.com/ergebnis/json-normalizer/pull/37 +[#40]: https://github.com/ergebnis/json-normalizer/pull/40 +[#45]: https://github.com/ergebnis/json-normalizer/pull/45 +[#47]: https://github.com/ergebnis/json-normalizer/pull/47 +[#49]: https://github.com/ergebnis/json-normalizer/pull/49 +[#55]: https://github.com/ergebnis/json-normalizer/pull/55 +[#64]: https://github.com/ergebnis/json-normalizer/pull/64 +[#67]: https://github.com/ergebnis/json-normalizer/pull/67 +[#68]: https://github.com/ergebnis/json-normalizer/pull/68 +[#69]: https://github.com/ergebnis/json-normalizer/pull/69 +[#71]: https://github.com/ergebnis/json-normalizer/pull/71 +[#72]: https://github.com/ergebnis/json-normalizer/pull/72 +[#73]: https://github.com/ergebnis/json-normalizer/pull/73 +[#76]: https://github.com/ergebnis/json-normalizer/pull/76 +[#77]: https://github.com/ergebnis/json-normalizer/pull/77 +[#79]: https://github.com/ergebnis/json-normalizer/pull/79 +[#82]: https://github.com/ergebnis/json-normalizer/pull/82 +[#84]: https://github.com/ergebnis/json-normalizer/pull/84 +[#85]: https://github.com/ergebnis/json-normalizer/pull/85 +[#86]: https://github.com/ergebnis/json-normalizer/pull/86 +[#88]: https://github.com/ergebnis/json-normalizer/pull/88 +[#89]: https://github.com/ergebnis/json-normalizer/pull/89 +[#90]: https://github.com/ergebnis/json-normalizer/pull/90 +[#91]: https://github.com/ergebnis/json-normalizer/pull/91 +[#92]: https://github.com/ergebnis/json-normalizer/pull/92 +[#93]: https://github.com/ergebnis/json-normalizer/pull/93 +[#94]: https://github.com/ergebnis/json-normalizer/pull/94 +[#95]: https://github.com/ergebnis/json-normalizer/pull/95 +[#96]: https://github.com/ergebnis/json-normalizer/pull/96 +[#102]: https://github.com/ergebnis/json-normalizer/pull/102 +[#103]: https://github.com/ergebnis/json-normalizer/pull/103 +[#104]: https://github.com/ergebnis/json-normalizer/pull/104 +[#109]: https://github.com/ergebnis/json-normalizer/pull/109 +[#132]: https://github.com/ergebnis/json-normalizer/pull/132 +[#163]: https://github.com/ergebnis/json-normalizer/pull/163 +[#176]: https://github.com/ergebnis/json-normalizer/pull/176 +[#181]: https://github.com/ergebnis/json-normalizer/pull/181 +[#191]: https://github.com/ergebnis/json-normalizer/pull/191 +[#202]: https://github.com/ergebnis/json-normalizer/pull/202 +[#203]: https://github.com/ergebnis/json-normalizer/pull/203 +[#268]: https://github.com/ergebnis/json-normalizer/pull/268 +[#269]: https://github.com/ergebnis/json-normalizer/pull/269 +[#308]: https://github.com/ergebnis/json-normalizer/pull/308 +[#335]: https://github.com/ergebnis/json-normalizer/pull/335 +[#384]: https://github.com/ergebnis/json-normalizer/pull/384 +[#423]: https://github.com/ergebnis/json-normalizer/pull/423 +[#424]: https://github.com/ergebnis/json-normalizer/pull/424 +[#425]: https://github.com/ergebnis/json-normalizer/pull/425 +[#429]: https://github.com/ergebnis/json-normalizer/pull/429 +[#463]: https://github.com/ergebnis/json-normalizer/pull/463 +[#517]: https://github.com/ergebnis/json-normalizer/pull/517 +[#564]: https://github.com/ergebnis/json-normalizer/pull/564 +[#573]: https://github.com/ergebnis/json-normalizer/pull/573 +[#589]: https://github.com/ergebnis/json-normalizer/pull/589 +[#590]: https://github.com/ergebnis/json-normalizer/pull/590 +[#595]: https://github.com/ergebnis/json-normalizer/pull/595 +[#597]: https://github.com/ergebnis/json-normalizer/pull/597 +[#603]: https://github.com/ergebnis/json-normalizer/pull/603 +[#608]: https://github.com/ergebnis/json-normalizer/pull/608 +[#616]: https://github.com/ergebnis/json-normalizer/pull/616 +[#618]: https://github.com/ergebnis/json-normalizer/pull/618 +[#619]: https://github.com/ergebnis/json-normalizer/pull/619 +[#623]: https://github.com/ergebnis/json-normalizer/pull/623 +[#632]: https://github.com/ergebnis/json-normalizer/pull/632 +[#639]: https://github.com/ergebnis/json-normalizer/pull/639 +[#641]: https://github.com/ergebnis/json-normalizer/pull/641 +[#666]: https://github.com/ergebnis/json-normalizer/pull/666 +[#667]: https://github.com/ergebnis/json-normalizer/pull/667 +[#668]: https://github.com/ergebnis/json-normalizer/pull/668 +[#669]: https://github.com/ergebnis/json-normalizer/pull/669 +[#672]: https://github.com/ergebnis/json-normalizer/pull/672 +[#673]: https://github.com/ergebnis/json-normalizer/pull/673 +[#697]: https://github.com/ergebnis/json-normalizer/pull/697 +[#698]: https://github.com/ergebnis/json-normalizer/pull/698 +[#705]: https://github.com/ergebnis/json-normalizer/pull/705 +[#723]: https://github.com/ergebnis/json-normalizer/pull/723 +[#756]: https://github.com/ergebnis/json-normalizer/pull/756 +[#757]: https://github.com/ergebnis/json-normalizer/pull/757 +[#772]: https://github.com/ergebnis/json-normalizer/pull/772 +[#774]: https://github.com/ergebnis/json-normalizer/pull/774 +[#775]: https://github.com/ergebnis/json-normalizer/pull/775 +[#776]: https://github.com/ergebnis/json-normalizer/pull/776 +[#777]: https://github.com/ergebnis/json-normalizer/pull/777 +[#778]: https://github.com/ergebnis/json-normalizer/pull/778 +[#779]: https://github.com/ergebnis/json-normalizer/pull/779 +[#780]: https://github.com/ergebnis/json-normalizer/pull/780 +[#781]: https://github.com/ergebnis/json-normalizer/pull/781 +[#793]: https://github.com/ergebnis/json-normalizer/pull/793 +[#794]: https://github.com/ergebnis/json-normalizer/pull/794 +[#795]: https://github.com/ergebnis/json-normalizer/pull/795 +[#801]: https://github.com/ergebnis/json-normalizer/pull/801 +[#802]: https://github.com/ergebnis/json-normalizer/pull/802 +[#804]: https://github.com/ergebnis/json-normalizer/pull/804 +[#805]: https://github.com/ergebnis/json-normalizer/pull/805 +[#813]: https://github.com/ergebnis/json-normalizer/pull/813 +[#816]: https://github.com/ergebnis/json-normalizer/pull/816 +[#819]: https://github.com/ergebnis/json-normalizer/pull/819 +[#850]: https://github.com/ergebnis/json-normalizer/pull/850 +[#856]: https://github.com/ergebnis/json-normalizer/pull/856 +[#858]: https://github.com/ergebnis/json-normalizer/pull/858 +[#860]: https://github.com/ergebnis/json-normalizer/pull/860 +[#861]: https://github.com/ergebnis/json-normalizer/pull/861 +[#863]: https://github.com/ergebnis/json-normalizer/pull/863 +[#868]: https://github.com/ergebnis/json-normalizer/pull/868 +[#873]: https://github.com/ergebnis/json-normalizer/pull/873 +[#889]: https://github.com/ergebnis/json-normalizer/pull/889 +[#917]: https://github.com/ergebnis/json-normalizer/pull/917 +[#980]: https://github.com/ergebnis/json-normalizer/pull/980 +[#982]: https://github.com/ergebnis/json-normalizer/pull/982 +[#988]: https://github.com/ergebnis/json-normalizer/pull/988 +[#989]: https://github.com/ergebnis/json-normalizer/pull/989 +[#991]: https://github.com/ergebnis/json-normalizer/pull/991 +[#992]: https://github.com/ergebnis/json-normalizer/pull/992 + +[@alexis-saransig-lullabot]: https://github.com/alexis-saransig-lullabot +[@BackEndTea]: https://github.com/BackEndTea +[@dependabot]: https://github.com/dependabot +[@ergebnis]: https://github.com/ergebnis +[@fredden]: https://github.com/fredden +[@localheinz]: https://github.com/localheinz From b61cd4a7c77dcbf1f0ddfff4bdd937f63d512296 Mon Sep 17 00:00:00 2001 From: Dan Wallis Date: Mon, 4 Dec 2023 15:42:32 +0000 Subject: [PATCH 048/111] Remove leading 'v' character from version strings --- CHANGELOG.md | 5 +++++ README.md | 13 +++++++++++ .../Composer/VersionConstraintNormalizer.php | 22 +++++++++++++++++++ .../No/LeadingV/Caret/Stable/normalized.json | 11 ++++++++++ .../No/LeadingV/Caret/Stable/original.json | 11 ++++++++++ .../LeadingV/Caret/Unstable/normalized.json | 11 ++++++++++ .../No/LeadingV/Caret/Unstable/original.json | 11 ++++++++++ .../ExactVersion/Stable/normalized.json | 11 ++++++++++ .../ExactVersion/Stable/original.json | 11 ++++++++++ .../ExactVersion/Unstable/normalized.json | 11 ++++++++++ .../ExactVersion/Unstable/original.json | 11 ++++++++++ .../GreaterThan/Stable/normalized.json | 11 ++++++++++ .../LeadingV/GreaterThan/Stable/original.json | 11 ++++++++++ .../GreaterThan/Unstable/normalized.json | 11 ++++++++++ .../GreaterThan/Unstable/original.json | 11 ++++++++++ .../GreaterThanOrEqual/Stable/normalized.json | 11 ++++++++++ .../GreaterThanOrEqual/Stable/original.json | 11 ++++++++++ .../Unstable/normalized.json | 11 ++++++++++ .../GreaterThanOrEqual/Unstable/original.json | 11 ++++++++++ .../Hyphenated/Stable/normalized.json | 17 ++++++++++++++ .../LeadingV/Hyphenated/Stable/original.json | 17 ++++++++++++++ .../Hyphenated/Unstable/normalized.json | 13 +++++++++++ .../Hyphenated/Unstable/original.json | 13 +++++++++++ .../LeadingV/LessThan/Stable/normalized.json | 11 ++++++++++ .../No/LeadingV/LessThan/Stable/original.json | 11 ++++++++++ .../LessThan/Unstable/normalized.json | 11 ++++++++++ .../LeadingV/LessThan/Unstable/original.json | 11 ++++++++++ .../LessThanOrEqual/Stable/normalized.json | 11 ++++++++++ .../LessThanOrEqual/Stable/original.json | 11 ++++++++++ .../LessThanOrEqual/Unstable/normalized.json | 11 ++++++++++ .../LessThanOrEqual/Unstable/original.json | 11 ++++++++++ .../NotEqualTo/Stable/normalized.json | 11 ++++++++++ .../LeadingV/NotEqualTo/Stable/original.json | 11 ++++++++++ .../NotEqualTo/Unstable/normalized.json | 11 ++++++++++ .../NotEqualTo/Unstable/original.json | 11 ++++++++++ .../No/LeadingV/Tilde/Stable/normalized.json | 11 ++++++++++ .../No/LeadingV/Tilde/Stable/original.json | 11 ++++++++++ .../LeadingV/Tilde/Unstable/normalized.json | 11 ++++++++++ .../No/LeadingV/Tilde/Unstable/original.json | 11 ++++++++++ .../No/LeadingV/Wildcard/Any/normalized.json | 7 ++++++ .../No/LeadingV/Wildcard/Any/original.json | 7 ++++++ .../LeadingV/Wildcard/Stable/normalized.json | 9 ++++++++ .../No/LeadingV/Wildcard/Stable/original.json | 9 ++++++++ .../Wildcard/Unstable/normalized.json | 9 ++++++++ .../LeadingV/Wildcard/Unstable/original.json | 9 ++++++++ 45 files changed, 502 insertions(+) create mode 100644 test/Template/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/ValueContainsPackagesAndVersionConstraints/HasEntries/Yes/HasNormalizedVersionConstraints/No/LeadingV/Caret/Stable/normalized.json create mode 100644 test/Template/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/ValueContainsPackagesAndVersionConstraints/HasEntries/Yes/HasNormalizedVersionConstraints/No/LeadingV/Caret/Stable/original.json create mode 100644 test/Template/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/ValueContainsPackagesAndVersionConstraints/HasEntries/Yes/HasNormalizedVersionConstraints/No/LeadingV/Caret/Unstable/normalized.json create mode 100644 test/Template/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/ValueContainsPackagesAndVersionConstraints/HasEntries/Yes/HasNormalizedVersionConstraints/No/LeadingV/Caret/Unstable/original.json create mode 100644 test/Template/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/ValueContainsPackagesAndVersionConstraints/HasEntries/Yes/HasNormalizedVersionConstraints/No/LeadingV/ExactVersion/Stable/normalized.json create mode 100644 test/Template/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/ValueContainsPackagesAndVersionConstraints/HasEntries/Yes/HasNormalizedVersionConstraints/No/LeadingV/ExactVersion/Stable/original.json create mode 100644 test/Template/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/ValueContainsPackagesAndVersionConstraints/HasEntries/Yes/HasNormalizedVersionConstraints/No/LeadingV/ExactVersion/Unstable/normalized.json create mode 100644 test/Template/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/ValueContainsPackagesAndVersionConstraints/HasEntries/Yes/HasNormalizedVersionConstraints/No/LeadingV/ExactVersion/Unstable/original.json create mode 100644 test/Template/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/ValueContainsPackagesAndVersionConstraints/HasEntries/Yes/HasNormalizedVersionConstraints/No/LeadingV/GreaterThan/Stable/normalized.json create mode 100644 test/Template/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/ValueContainsPackagesAndVersionConstraints/HasEntries/Yes/HasNormalizedVersionConstraints/No/LeadingV/GreaterThan/Stable/original.json create mode 100644 test/Template/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/ValueContainsPackagesAndVersionConstraints/HasEntries/Yes/HasNormalizedVersionConstraints/No/LeadingV/GreaterThan/Unstable/normalized.json create mode 100644 test/Template/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/ValueContainsPackagesAndVersionConstraints/HasEntries/Yes/HasNormalizedVersionConstraints/No/LeadingV/GreaterThan/Unstable/original.json create mode 100644 test/Template/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/ValueContainsPackagesAndVersionConstraints/HasEntries/Yes/HasNormalizedVersionConstraints/No/LeadingV/GreaterThanOrEqual/Stable/normalized.json create mode 100644 test/Template/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/ValueContainsPackagesAndVersionConstraints/HasEntries/Yes/HasNormalizedVersionConstraints/No/LeadingV/GreaterThanOrEqual/Stable/original.json create mode 100644 test/Template/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/ValueContainsPackagesAndVersionConstraints/HasEntries/Yes/HasNormalizedVersionConstraints/No/LeadingV/GreaterThanOrEqual/Unstable/normalized.json create mode 100644 test/Template/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/ValueContainsPackagesAndVersionConstraints/HasEntries/Yes/HasNormalizedVersionConstraints/No/LeadingV/GreaterThanOrEqual/Unstable/original.json create mode 100644 test/Template/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/ValueContainsPackagesAndVersionConstraints/HasEntries/Yes/HasNormalizedVersionConstraints/No/LeadingV/Hyphenated/Stable/normalized.json create mode 100644 test/Template/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/ValueContainsPackagesAndVersionConstraints/HasEntries/Yes/HasNormalizedVersionConstraints/No/LeadingV/Hyphenated/Stable/original.json create mode 100644 test/Template/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/ValueContainsPackagesAndVersionConstraints/HasEntries/Yes/HasNormalizedVersionConstraints/No/LeadingV/Hyphenated/Unstable/normalized.json create mode 100644 test/Template/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/ValueContainsPackagesAndVersionConstraints/HasEntries/Yes/HasNormalizedVersionConstraints/No/LeadingV/Hyphenated/Unstable/original.json create mode 100644 test/Template/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/ValueContainsPackagesAndVersionConstraints/HasEntries/Yes/HasNormalizedVersionConstraints/No/LeadingV/LessThan/Stable/normalized.json create mode 100644 test/Template/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/ValueContainsPackagesAndVersionConstraints/HasEntries/Yes/HasNormalizedVersionConstraints/No/LeadingV/LessThan/Stable/original.json create mode 100644 test/Template/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/ValueContainsPackagesAndVersionConstraints/HasEntries/Yes/HasNormalizedVersionConstraints/No/LeadingV/LessThan/Unstable/normalized.json create mode 100644 test/Template/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/ValueContainsPackagesAndVersionConstraints/HasEntries/Yes/HasNormalizedVersionConstraints/No/LeadingV/LessThan/Unstable/original.json create mode 100644 test/Template/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/ValueContainsPackagesAndVersionConstraints/HasEntries/Yes/HasNormalizedVersionConstraints/No/LeadingV/LessThanOrEqual/Stable/normalized.json create mode 100644 test/Template/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/ValueContainsPackagesAndVersionConstraints/HasEntries/Yes/HasNormalizedVersionConstraints/No/LeadingV/LessThanOrEqual/Stable/original.json create mode 100644 test/Template/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/ValueContainsPackagesAndVersionConstraints/HasEntries/Yes/HasNormalizedVersionConstraints/No/LeadingV/LessThanOrEqual/Unstable/normalized.json create mode 100644 test/Template/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/ValueContainsPackagesAndVersionConstraints/HasEntries/Yes/HasNormalizedVersionConstraints/No/LeadingV/LessThanOrEqual/Unstable/original.json create mode 100644 test/Template/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/ValueContainsPackagesAndVersionConstraints/HasEntries/Yes/HasNormalizedVersionConstraints/No/LeadingV/NotEqualTo/Stable/normalized.json create mode 100644 test/Template/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/ValueContainsPackagesAndVersionConstraints/HasEntries/Yes/HasNormalizedVersionConstraints/No/LeadingV/NotEqualTo/Stable/original.json create mode 100644 test/Template/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/ValueContainsPackagesAndVersionConstraints/HasEntries/Yes/HasNormalizedVersionConstraints/No/LeadingV/NotEqualTo/Unstable/normalized.json create mode 100644 test/Template/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/ValueContainsPackagesAndVersionConstraints/HasEntries/Yes/HasNormalizedVersionConstraints/No/LeadingV/NotEqualTo/Unstable/original.json create mode 100644 test/Template/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/ValueContainsPackagesAndVersionConstraints/HasEntries/Yes/HasNormalizedVersionConstraints/No/LeadingV/Tilde/Stable/normalized.json create mode 100644 test/Template/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/ValueContainsPackagesAndVersionConstraints/HasEntries/Yes/HasNormalizedVersionConstraints/No/LeadingV/Tilde/Stable/original.json create mode 100644 test/Template/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/ValueContainsPackagesAndVersionConstraints/HasEntries/Yes/HasNormalizedVersionConstraints/No/LeadingV/Tilde/Unstable/normalized.json create mode 100644 test/Template/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/ValueContainsPackagesAndVersionConstraints/HasEntries/Yes/HasNormalizedVersionConstraints/No/LeadingV/Tilde/Unstable/original.json create mode 100644 test/Template/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/ValueContainsPackagesAndVersionConstraints/HasEntries/Yes/HasNormalizedVersionConstraints/No/LeadingV/Wildcard/Any/normalized.json create mode 100644 test/Template/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/ValueContainsPackagesAndVersionConstraints/HasEntries/Yes/HasNormalizedVersionConstraints/No/LeadingV/Wildcard/Any/original.json create mode 100644 test/Template/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/ValueContainsPackagesAndVersionConstraints/HasEntries/Yes/HasNormalizedVersionConstraints/No/LeadingV/Wildcard/Stable/normalized.json create mode 100644 test/Template/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/ValueContainsPackagesAndVersionConstraints/HasEntries/Yes/HasNormalizedVersionConstraints/No/LeadingV/Wildcard/Stable/original.json create mode 100644 test/Template/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/ValueContainsPackagesAndVersionConstraints/HasEntries/Yes/HasNormalizedVersionConstraints/No/LeadingV/Wildcard/Unstable/normalized.json create mode 100644 test/Template/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/ValueContainsPackagesAndVersionConstraints/HasEntries/Yes/HasNormalizedVersionConstraints/No/LeadingV/Wildcard/Unstable/original.json diff --git a/CHANGELOG.md b/CHANGELOG.md index 8857ab8f..5f08228e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), For a full diff see [`4.3.0...main`][4.3.0...main]. +### Changed + +- Started removing `v` prefixes from version constraints ([#1027]), by [@fredden] + ## [`4.3.0`][4.3.0] For a full diff see [`4.2.0...4.3.0`][4.2.0...4.3.0]. @@ -651,6 +655,7 @@ For a full diff see [`5d8b3e2...0.1.0`][5d8b3e2...0.1.0]. [#989]: https://github.com/ergebnis/json-normalizer/pull/989 [#991]: https://github.com/ergebnis/json-normalizer/pull/991 [#992]: https://github.com/ergebnis/json-normalizer/pull/992 +[#1027]: https://github.com/ergebnis/json-normalizer/pull/1027 [@alexis-saransig-lullabot]: https://github.com/alexis-saransig-lullabot [@BackEndTea]: https://github.com/BackEndTea diff --git a/README.md b/README.md index 5628edc5..6148dac1 100644 --- a/README.md +++ b/README.md @@ -592,6 +592,19 @@ sections, the `Vendor\Composer\VersionConstraintNormalizer` will ensure that } ``` + +- leading `v` prefixes in version constraints are removed + + ```diff + { + "require": { + - "foo/bar": "^v1.2", + - "foo/baz": "v1.3.7" + + "foo/bar": "^1.2", + + "foo/baz": "1.3.7" + } + ``` + ## Changelog The maintainers of this project record notable changes to this project in a [changelog](CHANGELOG.md). diff --git a/src/Vendor/Composer/VersionConstraintNormalizer.php b/src/Vendor/Composer/VersionConstraintNormalizer.php index 91031a6a..172c3379 100644 --- a/src/Vendor/Composer/VersionConstraintNormalizer.php +++ b/src/Vendor/Composer/VersionConstraintNormalizer.php @@ -82,6 +82,7 @@ public function normalize(Json $json): Json private function normalizeVersionConstraint(string $versionConstraint): string { $versionConstraint = self::normalizeVersionConstraintSeparators($versionConstraint); + $versionConstraint = self::removeLeadingVersionPrefix($versionConstraint); $versionConstraint = self::replaceWildcardWithTilde($versionConstraint); $versionConstraint = self::replaceTildeWithCaret($versionConstraint); $versionConstraint = self::removeDuplicateVersionConstraints($versionConstraint); @@ -169,6 +170,27 @@ private static function removeDuplicateVersionConstraints(string $versionConstra }, $orConstraints))); } + private static function removeLeadingVersionPrefix(string $versionConstraint): string + { + $split = \explode( + ' ', + $versionConstraint, + ); + + foreach ($split as &$part) { + $part = \preg_replace( + '{^(|[!<>]=|[~<>^])v(\d+.*)$}', + '$1$2', + $part, + ); + } + + return \implode( + ' ', + $split, + ); + } + private static function removeOverlappingVersionConstraints(string $versionConstraint): string { $orConstraints = self::splitIntoOrConstraints($versionConstraint); diff --git a/test/Template/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/ValueContainsPackagesAndVersionConstraints/HasEntries/Yes/HasNormalizedVersionConstraints/No/LeadingV/Caret/Stable/normalized.json b/test/Template/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/ValueContainsPackagesAndVersionConstraints/HasEntries/Yes/HasNormalizedVersionConstraints/No/LeadingV/Caret/Stable/normalized.json new file mode 100644 index 00000000..4d516049 --- /dev/null +++ b/test/Template/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/ValueContainsPackagesAndVersionConstraints/HasEntries/Yes/HasNormalizedVersionConstraints/No/LeadingV/Caret/Stable/normalized.json @@ -0,0 +1,11 @@ +{ + "homepage": "https://getcomposer.org/doc/articles/versions.md#caret-version-range-", + "value-contains-packages-and-version-constraints": { + "leading-v-caret-stable/01-major-trimmed": "^1", + "leading-v-caret-stable/02-major-untrimmed": "^1", + "leading-v-caret-stable/03-major-minor-trimmed": "^1.2", + "leading-v-caret-stable/04-major-minor-untrimmed": "^1.2", + "leading-v-caret-stable/05-major-minor-patch-trimmed": "^1.2.3", + "leading-v-caret-stable/06-major-minor-patch-untrimmed": "^1.2.3" + } +} diff --git a/test/Template/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/ValueContainsPackagesAndVersionConstraints/HasEntries/Yes/HasNormalizedVersionConstraints/No/LeadingV/Caret/Stable/original.json b/test/Template/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/ValueContainsPackagesAndVersionConstraints/HasEntries/Yes/HasNormalizedVersionConstraints/No/LeadingV/Caret/Stable/original.json new file mode 100644 index 00000000..72067117 --- /dev/null +++ b/test/Template/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/ValueContainsPackagesAndVersionConstraints/HasEntries/Yes/HasNormalizedVersionConstraints/No/LeadingV/Caret/Stable/original.json @@ -0,0 +1,11 @@ +{ + "homepage": "https://getcomposer.org/doc/articles/versions.md#caret-version-range-", + "value-contains-packages-and-version-constraints": { + "leading-v-caret-stable/01-major-trimmed": "^v1", + "leading-v-caret-stable/02-major-untrimmed": " ^v1 ", + "leading-v-caret-stable/03-major-minor-trimmed": "^v1.2", + "leading-v-caret-stable/04-major-minor-untrimmed": " ^v1.2 ", + "leading-v-caret-stable/05-major-minor-patch-trimmed": "^v1.2.3", + "leading-v-caret-stable/06-major-minor-patch-untrimmed": " ^v1.2.3 " + } +} diff --git a/test/Template/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/ValueContainsPackagesAndVersionConstraints/HasEntries/Yes/HasNormalizedVersionConstraints/No/LeadingV/Caret/Unstable/normalized.json b/test/Template/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/ValueContainsPackagesAndVersionConstraints/HasEntries/Yes/HasNormalizedVersionConstraints/No/LeadingV/Caret/Unstable/normalized.json new file mode 100644 index 00000000..965a1c5b --- /dev/null +++ b/test/Template/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/ValueContainsPackagesAndVersionConstraints/HasEntries/Yes/HasNormalizedVersionConstraints/No/LeadingV/Caret/Unstable/normalized.json @@ -0,0 +1,11 @@ +{ + "homepage": "https://getcomposer.org/doc/articles/versions.md#caret-version-range-", + "value-contains-packages-and-version-constraints": { + "leading-v-caret-unstable/01-major-trimmed": "^0", + "leading-v-caret-unstable/02-major-untrimmed": "^0", + "leading-v-caret-unstable/03-major-minor-trimmed": "^0.1", + "leading-v-caret-unstable/04-major-minor-untrimmed": "^0.1", + "leading-v-caret-unstable/05-major-minor-patch-trimmed": "^0.1.2", + "leading-v-caret-unstable/06-major-minor-patch-untrimmed": "^0.1.2" + } +} diff --git a/test/Template/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/ValueContainsPackagesAndVersionConstraints/HasEntries/Yes/HasNormalizedVersionConstraints/No/LeadingV/Caret/Unstable/original.json b/test/Template/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/ValueContainsPackagesAndVersionConstraints/HasEntries/Yes/HasNormalizedVersionConstraints/No/LeadingV/Caret/Unstable/original.json new file mode 100644 index 00000000..48200767 --- /dev/null +++ b/test/Template/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/ValueContainsPackagesAndVersionConstraints/HasEntries/Yes/HasNormalizedVersionConstraints/No/LeadingV/Caret/Unstable/original.json @@ -0,0 +1,11 @@ +{ + "homepage": "https://getcomposer.org/doc/articles/versions.md#caret-version-range-", + "value-contains-packages-and-version-constraints": { + "leading-v-caret-unstable/01-major-trimmed": "^v0", + "leading-v-caret-unstable/02-major-untrimmed": " ^v0 ", + "leading-v-caret-unstable/03-major-minor-trimmed": "^v0.1", + "leading-v-caret-unstable/04-major-minor-untrimmed": " ^v0.1 ", + "leading-v-caret-unstable/05-major-minor-patch-trimmed": "^v0.1.2", + "leading-v-caret-unstable/06-major-minor-patch-untrimmed": " ^v0.1.2 " + } +} diff --git a/test/Template/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/ValueContainsPackagesAndVersionConstraints/HasEntries/Yes/HasNormalizedVersionConstraints/No/LeadingV/ExactVersion/Stable/normalized.json b/test/Template/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/ValueContainsPackagesAndVersionConstraints/HasEntries/Yes/HasNormalizedVersionConstraints/No/LeadingV/ExactVersion/Stable/normalized.json new file mode 100644 index 00000000..b0672908 --- /dev/null +++ b/test/Template/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/ValueContainsPackagesAndVersionConstraints/HasEntries/Yes/HasNormalizedVersionConstraints/No/LeadingV/ExactVersion/Stable/normalized.json @@ -0,0 +1,11 @@ +{ + "homepage": "https://getcomposer.org/doc/articles/versions.md#exact-version-constraint", + "value-contains-packages-and-version-constraints": { + "leading-v-exact-version-stable/01-major-trimmed": "1", + "leading-v-exact-version-stable/02-major-untrimmed": "1", + "leading-v-exact-version-stable/03-major-minor-trimmed": "1.2", + "leading-v-exact-version-stable/04-major-minor-untrimmed": "1.2", + "leading-v-exact-version-stable/05-major-minor-patch-trimmed": "1.2.3", + "leading-v-exact-version-stable/06-major-minor-patch-untrimmed": "1.2.3" + } +} diff --git a/test/Template/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/ValueContainsPackagesAndVersionConstraints/HasEntries/Yes/HasNormalizedVersionConstraints/No/LeadingV/ExactVersion/Stable/original.json b/test/Template/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/ValueContainsPackagesAndVersionConstraints/HasEntries/Yes/HasNormalizedVersionConstraints/No/LeadingV/ExactVersion/Stable/original.json new file mode 100644 index 00000000..ff445ab1 --- /dev/null +++ b/test/Template/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/ValueContainsPackagesAndVersionConstraints/HasEntries/Yes/HasNormalizedVersionConstraints/No/LeadingV/ExactVersion/Stable/original.json @@ -0,0 +1,11 @@ +{ + "homepage": "https://getcomposer.org/doc/articles/versions.md#exact-version-constraint", + "value-contains-packages-and-version-constraints": { + "leading-v-exact-version-stable/01-major-trimmed": "v1", + "leading-v-exact-version-stable/02-major-untrimmed": " v1 ", + "leading-v-exact-version-stable/03-major-minor-trimmed": "v1.2", + "leading-v-exact-version-stable/04-major-minor-untrimmed": " v1.2 ", + "leading-v-exact-version-stable/05-major-minor-patch-trimmed": "v1.2.3", + "leading-v-exact-version-stable/06-major-minor-patch-untrimmed": " v1.2.3 " + } +} diff --git a/test/Template/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/ValueContainsPackagesAndVersionConstraints/HasEntries/Yes/HasNormalizedVersionConstraints/No/LeadingV/ExactVersion/Unstable/normalized.json b/test/Template/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/ValueContainsPackagesAndVersionConstraints/HasEntries/Yes/HasNormalizedVersionConstraints/No/LeadingV/ExactVersion/Unstable/normalized.json new file mode 100644 index 00000000..a91ecce4 --- /dev/null +++ b/test/Template/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/ValueContainsPackagesAndVersionConstraints/HasEntries/Yes/HasNormalizedVersionConstraints/No/LeadingV/ExactVersion/Unstable/normalized.json @@ -0,0 +1,11 @@ +{ + "homepage": "https://getcomposer.org/doc/articles/versions.md#exact-version-constraint", + "value-contains-packages-and-version-constraints": { + "leading-v-exact-version-unstable/01-major-trimmed": "0", + "leading-v-exact-version-unstable/02-major-untrimmed": "0", + "leading-v-exact-version-unstable/03-major-minor-trimmed": "0.1", + "leading-v-exact-version-unstable/04-major-minor-untrimmed": "0.1", + "leading-v-exact-version-unstable/05-major-minor-patch-trimmed": "0.1.2", + "leading-v-exact-version-unstable/06-major-minor-patch-untrimmed": "0.1.2" + } +} diff --git a/test/Template/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/ValueContainsPackagesAndVersionConstraints/HasEntries/Yes/HasNormalizedVersionConstraints/No/LeadingV/ExactVersion/Unstable/original.json b/test/Template/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/ValueContainsPackagesAndVersionConstraints/HasEntries/Yes/HasNormalizedVersionConstraints/No/LeadingV/ExactVersion/Unstable/original.json new file mode 100644 index 00000000..c7fb0359 --- /dev/null +++ b/test/Template/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/ValueContainsPackagesAndVersionConstraints/HasEntries/Yes/HasNormalizedVersionConstraints/No/LeadingV/ExactVersion/Unstable/original.json @@ -0,0 +1,11 @@ +{ + "homepage": "https://getcomposer.org/doc/articles/versions.md#exact-version-constraint", + "value-contains-packages-and-version-constraints": { + "leading-v-exact-version-unstable/01-major-trimmed": "v0", + "leading-v-exact-version-unstable/02-major-untrimmed": " v0 ", + "leading-v-exact-version-unstable/03-major-minor-trimmed": "v0.1", + "leading-v-exact-version-unstable/04-major-minor-untrimmed": " v0.1 ", + "leading-v-exact-version-unstable/05-major-minor-patch-trimmed": "v0.1.2", + "leading-v-exact-version-unstable/06-major-minor-patch-untrimmed": " v0.1.2 " + } +} diff --git a/test/Template/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/ValueContainsPackagesAndVersionConstraints/HasEntries/Yes/HasNormalizedVersionConstraints/No/LeadingV/GreaterThan/Stable/normalized.json b/test/Template/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/ValueContainsPackagesAndVersionConstraints/HasEntries/Yes/HasNormalizedVersionConstraints/No/LeadingV/GreaterThan/Stable/normalized.json new file mode 100644 index 00000000..42a37a3f --- /dev/null +++ b/test/Template/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/ValueContainsPackagesAndVersionConstraints/HasEntries/Yes/HasNormalizedVersionConstraints/No/LeadingV/GreaterThan/Stable/normalized.json @@ -0,0 +1,11 @@ +{ + "homepage": "https://getcomposer.org/doc/articles/versions.md#version-range", + "value-contains-packages-and-version-constraints": { + "leading-v-greater-than-stable/01-major-trimmed": ">1", + "leading-v-greater-than-stable/02-major-untrimmed": ">1", + "leading-v-greater-than-stable/03-major-minor-trimmed": ">1.2", + "leading-v-greater-than-stable/04-major-minor-untrimmed": ">1.2", + "leading-v-greater-than-stable/05-major-minor-patch-trimmed": ">1.2.3", + "leading-v-greater-than-stable/06-major-minor-patch-untrimmed": ">1.2.3" + } +} diff --git a/test/Template/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/ValueContainsPackagesAndVersionConstraints/HasEntries/Yes/HasNormalizedVersionConstraints/No/LeadingV/GreaterThan/Stable/original.json b/test/Template/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/ValueContainsPackagesAndVersionConstraints/HasEntries/Yes/HasNormalizedVersionConstraints/No/LeadingV/GreaterThan/Stable/original.json new file mode 100644 index 00000000..35b51e0a --- /dev/null +++ b/test/Template/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/ValueContainsPackagesAndVersionConstraints/HasEntries/Yes/HasNormalizedVersionConstraints/No/LeadingV/GreaterThan/Stable/original.json @@ -0,0 +1,11 @@ +{ + "homepage": "https://getcomposer.org/doc/articles/versions.md#version-range", + "value-contains-packages-and-version-constraints": { + "leading-v-greater-than-stable/01-major-trimmed": ">v1", + "leading-v-greater-than-stable/02-major-untrimmed": " >v1 ", + "leading-v-greater-than-stable/03-major-minor-trimmed": " >v1.2 ", + "leading-v-greater-than-stable/04-major-minor-untrimmed": " >v1.2 ", + "leading-v-greater-than-stable/05-major-minor-patch-trimmed": ">v1.2.3", + "leading-v-greater-than-stable/06-major-minor-patch-untrimmed": " >v1.2.3 " + } +} diff --git a/test/Template/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/ValueContainsPackagesAndVersionConstraints/HasEntries/Yes/HasNormalizedVersionConstraints/No/LeadingV/GreaterThan/Unstable/normalized.json b/test/Template/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/ValueContainsPackagesAndVersionConstraints/HasEntries/Yes/HasNormalizedVersionConstraints/No/LeadingV/GreaterThan/Unstable/normalized.json new file mode 100644 index 00000000..334dfe6f --- /dev/null +++ b/test/Template/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/ValueContainsPackagesAndVersionConstraints/HasEntries/Yes/HasNormalizedVersionConstraints/No/LeadingV/GreaterThan/Unstable/normalized.json @@ -0,0 +1,11 @@ +{ + "homepage": "https://getcomposer.org/doc/articles/versions.md#version-range", + "value-contains-packages-and-version-constraints": { + "leading-v-greater-than-unstable/01-major-trimmed": ">0", + "leading-v-greater-than-unstable/02-major-untrimmed": ">0", + "leading-v-greater-than-unstable/03-major-minor-trimmed": ">0.1", + "leading-v-greater-than-unstable/04-major-minor-untrimmed": ">0.1", + "leading-v-greater-than-unstable/05-major-minor-patch-trimmed": ">0.1.2", + "leading-v-greater-than-unstable/06-major-minor-patch-untrimmed": ">0.1.2" + } +} diff --git a/test/Template/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/ValueContainsPackagesAndVersionConstraints/HasEntries/Yes/HasNormalizedVersionConstraints/No/LeadingV/GreaterThan/Unstable/original.json b/test/Template/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/ValueContainsPackagesAndVersionConstraints/HasEntries/Yes/HasNormalizedVersionConstraints/No/LeadingV/GreaterThan/Unstable/original.json new file mode 100644 index 00000000..102721ed --- /dev/null +++ b/test/Template/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/ValueContainsPackagesAndVersionConstraints/HasEntries/Yes/HasNormalizedVersionConstraints/No/LeadingV/GreaterThan/Unstable/original.json @@ -0,0 +1,11 @@ +{ + "homepage": "https://getcomposer.org/doc/articles/versions.md#version-range", + "value-contains-packages-and-version-constraints": { + "leading-v-greater-than-unstable/01-major-trimmed": ">v0", + "leading-v-greater-than-unstable/02-major-untrimmed": " >v0 ", + "leading-v-greater-than-unstable/03-major-minor-trimmed": " >v0.1 ", + "leading-v-greater-than-unstable/04-major-minor-untrimmed": " >v0.1 ", + "leading-v-greater-than-unstable/05-major-minor-patch-trimmed": ">v0.1.2", + "leading-v-greater-than-unstable/06-major-minor-patch-untrimmed": " >v0.1.2 " + } +} diff --git a/test/Template/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/ValueContainsPackagesAndVersionConstraints/HasEntries/Yes/HasNormalizedVersionConstraints/No/LeadingV/GreaterThanOrEqual/Stable/normalized.json b/test/Template/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/ValueContainsPackagesAndVersionConstraints/HasEntries/Yes/HasNormalizedVersionConstraints/No/LeadingV/GreaterThanOrEqual/Stable/normalized.json new file mode 100644 index 00000000..cd72b23d --- /dev/null +++ b/test/Template/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/ValueContainsPackagesAndVersionConstraints/HasEntries/Yes/HasNormalizedVersionConstraints/No/LeadingV/GreaterThanOrEqual/Stable/normalized.json @@ -0,0 +1,11 @@ +{ + "homepage": "https://getcomposer.org/doc/articles/versions.md#version-range", + "value-contains-packages-and-version-constraints": { + "leading-v-greater-than-or-equal-stable/01-major-trimmed": ">=1", + "leading-v-greater-than-or-equal-stable/02-major-untrimmed": ">=1", + "leading-v-greater-than-or-equal-stable/03-major-minor-trimmed": ">=1.2", + "leading-v-greater-than-or-equal-stable/04-major-minor-untrimmed": ">=1.2", + "leading-v-greater-than-or-equal-stable/05-major-minor-patch-trimmed": ">=1.2.3", + "leading-v-greater-than-or-equal-stable/06-major-minor-patch-untrimmed": ">=1.2.3" + } +} diff --git a/test/Template/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/ValueContainsPackagesAndVersionConstraints/HasEntries/Yes/HasNormalizedVersionConstraints/No/LeadingV/GreaterThanOrEqual/Stable/original.json b/test/Template/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/ValueContainsPackagesAndVersionConstraints/HasEntries/Yes/HasNormalizedVersionConstraints/No/LeadingV/GreaterThanOrEqual/Stable/original.json new file mode 100644 index 00000000..01496fa7 --- /dev/null +++ b/test/Template/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/ValueContainsPackagesAndVersionConstraints/HasEntries/Yes/HasNormalizedVersionConstraints/No/LeadingV/GreaterThanOrEqual/Stable/original.json @@ -0,0 +1,11 @@ +{ + "homepage": "https://getcomposer.org/doc/articles/versions.md#version-range", + "value-contains-packages-and-version-constraints": { + "leading-v-greater-than-or-equal-stable/01-major-trimmed": ">=v1", + "leading-v-greater-than-or-equal-stable/02-major-untrimmed": " >=v1 ", + "leading-v-greater-than-or-equal-stable/03-major-minor-trimmed": " >=v1.2 ", + "leading-v-greater-than-or-equal-stable/04-major-minor-untrimmed": " >=v1.2 ", + "leading-v-greater-than-or-equal-stable/05-major-minor-patch-trimmed": ">=v1.2.3", + "leading-v-greater-than-or-equal-stable/06-major-minor-patch-untrimmed": " >=v1.2.3 " + } +} diff --git a/test/Template/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/ValueContainsPackagesAndVersionConstraints/HasEntries/Yes/HasNormalizedVersionConstraints/No/LeadingV/GreaterThanOrEqual/Unstable/normalized.json b/test/Template/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/ValueContainsPackagesAndVersionConstraints/HasEntries/Yes/HasNormalizedVersionConstraints/No/LeadingV/GreaterThanOrEqual/Unstable/normalized.json new file mode 100644 index 00000000..66ca215b --- /dev/null +++ b/test/Template/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/ValueContainsPackagesAndVersionConstraints/HasEntries/Yes/HasNormalizedVersionConstraints/No/LeadingV/GreaterThanOrEqual/Unstable/normalized.json @@ -0,0 +1,11 @@ +{ + "homepage": "https://getcomposer.org/doc/articles/versions.md#version-range", + "value-contains-packages-and-version-constraints": { + "leading-v-greater-than-or-equal-unstable/01-major-trimmed": ">=0", + "leading-v-greater-than-or-equal-unstable/02-major-untrimmed": ">=0", + "leading-v-greater-than-or-equal-unstable/03-major-minor-trimmed": ">=0.1", + "leading-v-greater-than-or-equal-unstable/04-major-minor-untrimmed": ">=0.1", + "leading-v-greater-than-or-equal-unstable/05-major-minor-patch-trimmed": ">=0.1.2", + "leading-v-greater-than-or-equal-unstable/06-major-minor-patch-untrimmed": ">=0.1.2" + } +} diff --git a/test/Template/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/ValueContainsPackagesAndVersionConstraints/HasEntries/Yes/HasNormalizedVersionConstraints/No/LeadingV/GreaterThanOrEqual/Unstable/original.json b/test/Template/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/ValueContainsPackagesAndVersionConstraints/HasEntries/Yes/HasNormalizedVersionConstraints/No/LeadingV/GreaterThanOrEqual/Unstable/original.json new file mode 100644 index 00000000..23cc9ed6 --- /dev/null +++ b/test/Template/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/ValueContainsPackagesAndVersionConstraints/HasEntries/Yes/HasNormalizedVersionConstraints/No/LeadingV/GreaterThanOrEqual/Unstable/original.json @@ -0,0 +1,11 @@ +{ + "homepage": "https://getcomposer.org/doc/articles/versions.md#version-range", + "value-contains-packages-and-version-constraints": { + "leading-v-greater-than-or-equal-unstable/01-major-trimmed": ">=v0", + "leading-v-greater-than-or-equal-unstable/02-major-untrimmed": " >=v0 ", + "leading-v-greater-than-or-equal-unstable/03-major-minor-trimmed": " >=v0.1 ", + "leading-v-greater-than-or-equal-unstable/04-major-minor-untrimmed": " >=v0.1 ", + "leading-v-greater-than-or-equal-unstable/05-major-minor-patch-trimmed": ">=v0.1.2", + "leading-v-greater-than-or-equal-unstable/06-major-minor-patch-untrimmed": " >=v0.1.2 " + } +} diff --git a/test/Template/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/ValueContainsPackagesAndVersionConstraints/HasEntries/Yes/HasNormalizedVersionConstraints/No/LeadingV/Hyphenated/Stable/normalized.json b/test/Template/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/ValueContainsPackagesAndVersionConstraints/HasEntries/Yes/HasNormalizedVersionConstraints/No/LeadingV/Hyphenated/Stable/normalized.json new file mode 100644 index 00000000..2b10ea4c --- /dev/null +++ b/test/Template/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/ValueContainsPackagesAndVersionConstraints/HasEntries/Yes/HasNormalizedVersionConstraints/No/LeadingV/Hyphenated/Stable/normalized.json @@ -0,0 +1,17 @@ +{ + "homepage": "https://getcomposer.org/doc/articles/versions.md#hyphenated-version-range-", + "value-contains-packages-and-version-constraints": { + "leading-v-hyphenated-stable/01-major-surrounded-by-space-single-trimmed": "1 - 2", + "leading-v-hyphenated-stable/02-major-surrounded-by-space-single-untrimmed": "1 - 2", + "leading-v-hyphenated-stable/03-major-surrounded-by-space-double-trimmed": "1 - 2", + "leading-v-hyphenated-stable/04-major-surrounded-by-space-double-untrimmed": "1 - 2", + "leading-v-hyphenated-stable/05-major-minor-surrounded-by-space-single-trimmed": "1.2 - 2.3", + "leading-v-hyphenated-stable/06-major-minor-surrounded-by-space-single-untrimmed": "1.2 - 2.3", + "leading-v-hyphenated-stable/07-major-minor-surrounded-by-space-double-trimmed": "1.2 - 2.3", + "leading-v-hyphenated-stable/08-major-minor-surrounded-by-space-double-untrimmed": "1.2 - 2.3", + "leading-v-hyphenated-stable/09-major-minor-patch-surrounded-by-space-single-trimmed": "1.2.3 - 2.3.4", + "leading-v-hyphenated-stable/10-major-minor-patch-surrounded-by-space-single-untrimmed": "1.2.3 - 2.3.4", + "leading-v-hyphenated-stable/11-major-minor-patch-surrounded-by-space-double-trimmed": "1.2.3 - 2.3.4", + "leading-v-hyphenated-stable/12-major-minor-patch-surrounded-by-space-double-untrimmed": "1.2.3 - 2.3.4" + } +} diff --git a/test/Template/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/ValueContainsPackagesAndVersionConstraints/HasEntries/Yes/HasNormalizedVersionConstraints/No/LeadingV/Hyphenated/Stable/original.json b/test/Template/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/ValueContainsPackagesAndVersionConstraints/HasEntries/Yes/HasNormalizedVersionConstraints/No/LeadingV/Hyphenated/Stable/original.json new file mode 100644 index 00000000..5e9dd32b --- /dev/null +++ b/test/Template/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/ValueContainsPackagesAndVersionConstraints/HasEntries/Yes/HasNormalizedVersionConstraints/No/LeadingV/Hyphenated/Stable/original.json @@ -0,0 +1,17 @@ +{ + "homepage": "https://getcomposer.org/doc/articles/versions.md#hyphenated-version-range-", + "value-contains-packages-and-version-constraints": { + "leading-v-hyphenated-stable/01-major-surrounded-by-space-single-trimmed": "v1 - v2", + "leading-v-hyphenated-stable/02-major-surrounded-by-space-single-untrimmed": " v1 - v2 ", + "leading-v-hyphenated-stable/03-major-surrounded-by-space-double-trimmed": "v1 - v2", + "leading-v-hyphenated-stable/04-major-surrounded-by-space-double-untrimmed": " v1 - v2 ", + "leading-v-hyphenated-stable/05-major-minor-surrounded-by-space-single-trimmed": "v1.2 - v2.3", + "leading-v-hyphenated-stable/06-major-minor-surrounded-by-space-single-untrimmed": " v1.2 - v2.3 ", + "leading-v-hyphenated-stable/07-major-minor-surrounded-by-space-double-trimmed": "v1.2 - v2.3", + "leading-v-hyphenated-stable/08-major-minor-surrounded-by-space-double-untrimmed": " v1.2 - v2.3 ", + "leading-v-hyphenated-stable/09-major-minor-patch-surrounded-by-space-single-trimmed": "v1.2.3 - v2.3.4", + "leading-v-hyphenated-stable/10-major-minor-patch-surrounded-by-space-single-untrimmed": " v1.2.3 - v2.3.4 ", + "leading-v-hyphenated-stable/11-major-minor-patch-surrounded-by-space-double-trimmed": "v1.2.3 - v2.3.4", + "leading-v-hyphenated-stable/12-major-minor-patch-surrounded-by-space-double-untrimmed": " v1.2.3 - v2.3.4" + } +} diff --git a/test/Template/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/ValueContainsPackagesAndVersionConstraints/HasEntries/Yes/HasNormalizedVersionConstraints/No/LeadingV/Hyphenated/Unstable/normalized.json b/test/Template/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/ValueContainsPackagesAndVersionConstraints/HasEntries/Yes/HasNormalizedVersionConstraints/No/LeadingV/Hyphenated/Unstable/normalized.json new file mode 100644 index 00000000..f8e0dbb7 --- /dev/null +++ b/test/Template/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/ValueContainsPackagesAndVersionConstraints/HasEntries/Yes/HasNormalizedVersionConstraints/No/LeadingV/Hyphenated/Unstable/normalized.json @@ -0,0 +1,13 @@ +{ + "homepage": "https://getcomposer.org/doc/articles/versions.md#hyphenated-version-range-", + "value-contains-packages-and-version-constraints": { + "leading-v-hyphenated-unstable/01-major-minor-surrounded-by-space-single-trimmed": "0.1 - 0.2", + "leading-v-hyphenated-unstable/02-major-minor-surrounded-by-space-single-untrimmed": "0.1 - 0.2", + "leading-v-hyphenated-unstable/03-major-minor-surrounded-by-space-double-trimmed": "0.1 - 0.2", + "leading-v-hyphenated-unstable/04-major-minor-surrounded-by-space-double-untrimmed": "0.1 - 0.2", + "leading-v-hyphenated-unstable/05-major-minor-patch-surrounded-by-space-single-trimmed": "0.1.2 - 0.2.3", + "leading-v-hyphenated-unstable/06-major-minor-patch-surrounded-by-space-single-untrimmed": "0.1.2 - 0.2.3", + "leading-v-hyphenated-unstable/07-major-minor-patch-surrounded-by-space-double-trimmed": "0.1.2 - 0.2.3", + "leading-v-hyphenated-unstable/08-major-minor-patch-surrounded-by-space-double-untrimmed": "0.1.2 - 0.2.3" + } +} diff --git a/test/Template/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/ValueContainsPackagesAndVersionConstraints/HasEntries/Yes/HasNormalizedVersionConstraints/No/LeadingV/Hyphenated/Unstable/original.json b/test/Template/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/ValueContainsPackagesAndVersionConstraints/HasEntries/Yes/HasNormalizedVersionConstraints/No/LeadingV/Hyphenated/Unstable/original.json new file mode 100644 index 00000000..ed28e852 --- /dev/null +++ b/test/Template/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/ValueContainsPackagesAndVersionConstraints/HasEntries/Yes/HasNormalizedVersionConstraints/No/LeadingV/Hyphenated/Unstable/original.json @@ -0,0 +1,13 @@ +{ + "homepage": "https://getcomposer.org/doc/articles/versions.md#hyphenated-version-range-", + "value-contains-packages-and-version-constraints": { + "leading-v-hyphenated-unstable/01-major-minor-surrounded-by-space-single-trimmed": "v0.1 - v0.2", + "leading-v-hyphenated-unstable/02-major-minor-surrounded-by-space-single-untrimmed": " v0.1 - v0.2 ", + "leading-v-hyphenated-unstable/03-major-minor-surrounded-by-space-double-trimmed": "v0.1 - v0.2", + "leading-v-hyphenated-unstable/04-major-minor-surrounded-by-space-double-untrimmed": " v0.1 - v0.2 ", + "leading-v-hyphenated-unstable/05-major-minor-patch-surrounded-by-space-single-trimmed": "v0.1.2 - v0.2.3", + "leading-v-hyphenated-unstable/06-major-minor-patch-surrounded-by-space-single-untrimmed": " v0.1.2 - v0.2.3 ", + "leading-v-hyphenated-unstable/07-major-minor-patch-surrounded-by-space-double-trimmed": "v0.1.2 - v0.2.3", + "leading-v-hyphenated-unstable/08-major-minor-patch-surrounded-by-space-double-untrimmed": " v0.1.2 - v0.2.3 " + } +} diff --git a/test/Template/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/ValueContainsPackagesAndVersionConstraints/HasEntries/Yes/HasNormalizedVersionConstraints/No/LeadingV/LessThan/Stable/normalized.json b/test/Template/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/ValueContainsPackagesAndVersionConstraints/HasEntries/Yes/HasNormalizedVersionConstraints/No/LeadingV/LessThan/Stable/normalized.json new file mode 100644 index 00000000..e508f673 --- /dev/null +++ b/test/Template/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/ValueContainsPackagesAndVersionConstraints/HasEntries/Yes/HasNormalizedVersionConstraints/No/LeadingV/LessThan/Stable/normalized.json @@ -0,0 +1,11 @@ +{ + "homepage": "https://getcomposer.org/doc/articles/versions.md#version-range", + "value-contains-packages-and-version-constraints": { + "leading-v-less-than-stable/01-major-trimmed": "<1", + "leading-v-less-than-stable/02-major-untrimmed": "<1", + "leading-v-less-than-stable/03-major-minor-trimmed": "<1.2", + "leading-v-less-than-stable/04-major-minor-untrimmed": "<1.2", + "leading-v-less-than-stable/05-major-minor-patch-trimmed": "<1.2.3", + "leading-v-less-than-stable/06-major-minor-patch-untrimmed": "<1.2.3" + } +} diff --git a/test/Template/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/ValueContainsPackagesAndVersionConstraints/HasEntries/Yes/HasNormalizedVersionConstraints/No/LeadingV/LessThan/Stable/original.json b/test/Template/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/ValueContainsPackagesAndVersionConstraints/HasEntries/Yes/HasNormalizedVersionConstraints/No/LeadingV/LessThan/Stable/original.json new file mode 100644 index 00000000..d0a20110 --- /dev/null +++ b/test/Template/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/ValueContainsPackagesAndVersionConstraints/HasEntries/Yes/HasNormalizedVersionConstraints/No/LeadingV/LessThan/Stable/original.json @@ -0,0 +1,11 @@ +{ + "homepage": "https://getcomposer.org/doc/articles/versions.md#version-range", + "value-contains-packages-and-version-constraints": { + "leading-v-less-than-stable/01-major-trimmed": " Date: Wed, 13 Dec 2023 10:18:21 +0100 Subject: [PATCH 049/111] Fix: Remove attribute --- test/Unit/Vendor/Composer/ComposerJsonNormalizerTest.php | 1 - 1 file changed, 1 deletion(-) diff --git a/test/Unit/Vendor/Composer/ComposerJsonNormalizerTest.php b/test/Unit/Vendor/Composer/ComposerJsonNormalizerTest.php index 73faf43f..d87b7041 100644 --- a/test/Unit/Vendor/Composer/ComposerJsonNormalizerTest.php +++ b/test/Unit/Vendor/Composer/ComposerJsonNormalizerTest.php @@ -33,7 +33,6 @@ #[Framework\Attributes\UsesClass(Exception\OriginalInvalidAccordingToSchema::class)] #[Framework\Attributes\UsesClass(Format\JsonEncodeOptions::class)] #[Framework\Attributes\UsesClass(SchemaNormalizer::class)] -#[Framework\Attributes\UsesClass(Vendor\Composer\VersionConstraintNormalizer::class)] #[Framework\Attributes\UsesClass(WithFinalNewLineNormalizer::class)] final class ComposerJsonNormalizerTest extends Framework\TestCase { From d584fe7895edc9cf9db7ac6c70639cab3fe2f0de Mon Sep 17 00:00:00 2001 From: Dan Wallis Date: Thu, 26 Oct 2023 10:34:06 +0100 Subject: [PATCH 050/111] Move sortPropertyWithWildcard() method to a trait --- src/Vendor/Composer/ConfigHashNormalizer.php | 56 +-------------- src/Vendor/Composer/WildcardSortTrait.php | 72 ++++++++++++++++++++ 2 files changed, 73 insertions(+), 55 deletions(-) create mode 100644 src/Vendor/Composer/WildcardSortTrait.php diff --git a/src/Vendor/Composer/ConfigHashNormalizer.php b/src/Vendor/Composer/ConfigHashNormalizer.php index 0490ed06..ff3d2817 100644 --- a/src/Vendor/Composer/ConfigHashNormalizer.php +++ b/src/Vendor/Composer/ConfigHashNormalizer.php @@ -19,6 +19,7 @@ final class ConfigHashNormalizer implements Normalizer { + use WildcardSortTrait; private const PROPERTIES_WITH_WILDCARDS = [ /** * @see https://getcomposer.org/doc/06-config.md#allow-plugins @@ -72,59 +73,4 @@ public function normalize(Json $json): Json return Json::fromString($encoded); } - - /** - * When sorting with wildcards, special care needs to be taken. - * - * @see https://github.com/ergebnis/json-normalizer/pull/775#issuecomment-1346095415 - * @see https://github.com/composer/composer/blob/2.6.5/src/Composer/Plugin/PluginManager.php#L85-L86 - * @see https://github.com/composer/composer/blob/2.6.5/src/Composer/Plugin/PluginManager.php#L626-L646 - * @see https://github.com/composer/composer/blob/2.6.5/src/Composer/Package/BasePackage.php#L252-L257 - * @see https://github.com/composer/composer/blob/2.6.5/src/Composer/Plugin/PluginManager.php#L687-L691 - */ - private static function sortPropertyWithWildcard( - array &$config, - string $property, - ): void { - if (!\array_key_exists($property, $config)) { - return; - } - - if (!\is_object($config[$property])) { - return; - } - - $value = (array) $config[$property]; - - if ([] === $value) { - return; - } - - foreach (\array_keys($value) as $package) { - /** @var string $package */ - if (\str_contains(\rtrim($package, '*'), '*')) { - // We cannot reliably sort allow-plugins when there's a wildcard other than at the end of the string. - return; - } - } - - $normalize = static function (string $package): string { - // Any key with an asterisk needs to be the last entry in its group - return \str_replace( - '*', - '~', - $package, - ); - }; - - /** @var array $value */ - \uksort($value, static function (string $a, string $b) use ($normalize): int { - return \strcmp( - $normalize($a), - $normalize($b), - ); - }); - - $config[$property] = $value; - } } diff --git a/src/Vendor/Composer/WildcardSortTrait.php b/src/Vendor/Composer/WildcardSortTrait.php new file mode 100644 index 00000000..d95fa131 --- /dev/null +++ b/src/Vendor/Composer/WildcardSortTrait.php @@ -0,0 +1,72 @@ + $value */ + \uksort($value, static function (string $a, string $b) use ($normalize): int { + return \strcmp( + $normalize($a), + $normalize($b), + ); + }); + + $config[$property] = $value; + } +} From 4cd649658c7038cd854462dcb4c2c45d512499e4 Mon Sep 17 00:00:00 2001 From: Dan Wallis Date: Fri, 27 Oct 2023 23:11:01 +0100 Subject: [PATCH 051/111] Sort repository filtering lists --- psalm-baseline.xml | 10 +++ .../Composer/ComposerJsonNormalizer.php | 1 + .../Composer/RepositoriesHashNormalizer.php | 76 +++++++++++++++++++ src/Vendor/Composer/WildcardSortTrait.php | 20 +++-- .../Composer/ComposerJsonNormalizerTest.php | 2 + 5 files changed, 104 insertions(+), 5 deletions(-) create mode 100644 src/Vendor/Composer/RepositoriesHashNormalizer.php diff --git a/psalm-baseline.xml b/psalm-baseline.xml index 6f36b8bb..07f6ef87 100644 --- a/psalm-baseline.xml +++ b/psalm-baseline.xml @@ -37,11 +37,21 @@ $value + + + $repository + + $value + + + $package + + key diff --git a/src/Vendor/Composer/ComposerJsonNormalizer.php b/src/Vendor/Composer/ComposerJsonNormalizer.php index b69bb848..2a67913b 100644 --- a/src/Vendor/Composer/ComposerJsonNormalizer.php +++ b/src/Vendor/Composer/ComposerJsonNormalizer.php @@ -93,6 +93,7 @@ public function __construct(string $schemaUri) new BinNormalizer(), new ConfigHashNormalizer(), new PackageHashNormalizer(), + new RepositoriesHashNormalizer(), new VersionConstraintNormalizer(new Semver\VersionParser()), new Normalizer\WithFinalNewLineNormalizer(), ); diff --git a/src/Vendor/Composer/RepositoriesHashNormalizer.php b/src/Vendor/Composer/RepositoriesHashNormalizer.php new file mode 100644 index 00000000..bcdde51e --- /dev/null +++ b/src/Vendor/Composer/RepositoriesHashNormalizer.php @@ -0,0 +1,76 @@ +decoded(); + + if (!\is_object($decoded)) { + return $json; + } + + if (!\property_exists($decoded, 'repositories')) { + return $json; + } + + if (!\is_object($decoded->repositories) && !\is_array($decoded->repositories)) { + return $json; + } + + /** @var array $FIXME */ + $repositories = (array) $decoded->repositories; + + if ([] === $repositories) { + return $json; + } + + foreach ($repositories as &$repository) { + $repository = (array) $repository; + + foreach (self::PROPERTIES_WITH_WILDCARDS as $property) { + self::sortPropertyWithWildcard( + $repository, + $property, + false, + ); + } + } + + $decoded->repositories = $repositories; + + /** @var string $encoded */ + $encoded = \json_encode( + $decoded, + Format\JsonEncodeOptions::default()->toInt(), + ); + + return Json::fromString($encoded); + } +} diff --git a/src/Vendor/Composer/WildcardSortTrait.php b/src/Vendor/Composer/WildcardSortTrait.php index d95fa131..6c608dc1 100644 --- a/src/Vendor/Composer/WildcardSortTrait.php +++ b/src/Vendor/Composer/WildcardSortTrait.php @@ -27,12 +27,13 @@ trait WildcardSortTrait private static function sortPropertyWithWildcard( array &$config, string $property, + bool $sortByKey = true, ): void { if (!\array_key_exists($property, $config)) { return; } - if (!\is_object($config[$property])) { + if (!\is_object($config[$property]) && !\is_array($config[$property])) { return; } @@ -42,7 +43,9 @@ private static function sortPropertyWithWildcard( return; } - foreach (\array_keys($value) as $package) { + $packages = $sortByKey ? \array_keys($value) : \array_values($value); + + foreach ($packages as $package) { /** @var string $package */ if (\str_contains(\rtrim($package, '*'), '*')) { // We cannot reliably sort allow-plugins when there's a wildcard other than at the end of the string. @@ -59,13 +62,20 @@ private static function sortPropertyWithWildcard( ); }; - /** @var array $value */ - \uksort($value, static function (string $a, string $b) use ($normalize): int { + $callback = static function (string $a, string $b) use ($normalize): int { return \strcmp( $normalize($a), $normalize($b), ); - }); + }; + + if ($sortByKey) { + /** @var array $value */ + \uksort($value, $callback); + } else { + /** @var array $value */ + \usort($value, $callback); + } $config[$property] = $value; } diff --git a/test/Unit/Vendor/Composer/ComposerJsonNormalizerTest.php b/test/Unit/Vendor/Composer/ComposerJsonNormalizerTest.php index d87b7041..bd7df888 100644 --- a/test/Unit/Vendor/Composer/ComposerJsonNormalizerTest.php +++ b/test/Unit/Vendor/Composer/ComposerJsonNormalizerTest.php @@ -26,6 +26,8 @@ #[Framework\Attributes\CoversClass(SchemaNormalizer::class)] #[Framework\Attributes\CoversClass(Vendor\Composer\BinNormalizer::class)] #[Framework\Attributes\CoversClass(Vendor\Composer\ComposerJsonNormalizer::class)] +#[Framework\Attributes\CoversClass(Vendor\Composer\RepositoriesHashNormalizer::class)] +#[Framework\Attributes\UsesClass(Vendor\Composer\RepositoriesHashNormalizer::class)] #[Framework\Attributes\CoversClass(Vendor\Composer\ConfigHashNormalizer::class)] #[Framework\Attributes\CoversClass(Vendor\Composer\PackageHashNormalizer::class)] #[Framework\Attributes\CoversClass(Vendor\Composer\VersionConstraintNormalizer::class)] From 022bbd7ccc1bb14df0ffcd5d8767c51ca0618fe4 Mon Sep 17 00:00:00 2001 From: Dan Wallis Date: Fri, 27 Oct 2023 23:11:44 +0100 Subject: [PATCH 052/111] Cover new functionality with tests --- CHANGELOG.md | 2 ++ README.md | 9 +++++++ psalm-baseline.xml | 2 +- src/Vendor/Composer/ConfigHashNormalizer.php | 9 +++++-- .../Composer/RepositoriesHashNormalizer.php | 11 +++++--- ...ldcardSortTrait.php => WildcardSorter.php} | 7 +++-- .../{ => UsesFiltering/No}/normalized.json | 5 +--- .../{ => UsesFiltering/No}/original.json | 1 - .../HasWildcard/No/normalized.json | 27 +++++++++++++++++++ .../WithExclude/HasWildcard/No/original.json | 24 +++++++++++++++++ .../Yes/WildcardIsAtEnd/No/normalized.json | 27 +++++++++++++++++++ .../Yes/WildcardIsAtEnd/No/original.json | 24 +++++++++++++++++ .../Yes/WildcardIsAtEnd/Yes/normalized.json | 27 +++++++++++++++++++ .../Yes/WildcardIsAtEnd/Yes/original.json | 24 +++++++++++++++++ .../WithOnly/HasWildcard/No/normalized.json | 27 +++++++++++++++++++ .../Yes/WithOnly/HasWildcard/No/original.json | 24 +++++++++++++++++ .../Yes/WildcardIsAtEnd/No/normalized.json | 27 +++++++++++++++++++ .../Yes/WildcardIsAtEnd/No/original.json | 24 +++++++++++++++++ .../Yes/WildcardIsAtEnd/Yes/normalized.json | 27 +++++++++++++++++++ .../Yes/WildcardIsAtEnd/Yes/original.json | 24 +++++++++++++++++ .../{ => UsesFiltering/No}/normalized.json | 5 +--- .../{ => UsesFiltering/No}/original.json | 1 - .../HasWildcard/No/normalized.json | 27 +++++++++++++++++++ .../WithExclude/HasWildcard/No/original.json | 24 +++++++++++++++++ .../Yes/WildcardIsAtEnd/No/normalized.json | 27 +++++++++++++++++++ .../Yes/WildcardIsAtEnd/No/original.json | 24 +++++++++++++++++ .../Yes/WildcardIsAtEnd/Yes/normalized.json | 27 +++++++++++++++++++ .../Yes/WildcardIsAtEnd/Yes/original.json | 24 +++++++++++++++++ .../WithOnly/HasWildcard/No/normalized.json | 27 +++++++++++++++++++ .../Yes/WithOnly/HasWildcard/No/original.json | 24 +++++++++++++++++ .../Yes/WildcardIsAtEnd/No/normalized.json | 27 +++++++++++++++++++ .../Yes/WildcardIsAtEnd/No/original.json | 24 +++++++++++++++++ .../Yes/WildcardIsAtEnd/Yes/normalized.json | 27 +++++++++++++++++++ .../Yes/WildcardIsAtEnd/Yes/original.json | 24 +++++++++++++++++ .../Composer/ComposerJsonNormalizerTest.php | 4 +-- 35 files changed, 648 insertions(+), 20 deletions(-) rename src/Vendor/Composer/{WildcardSortTrait.php => WildcardSorter.php} (96%) rename test/Fixture/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/Repositories/HasEntries/Yes/IsArray/{ => UsesFiltering/No}/normalized.json (92%) rename test/Fixture/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/Repositories/HasEntries/Yes/IsArray/{ => UsesFiltering/No}/original.json (97%) create mode 100644 test/Fixture/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/Repositories/HasEntries/Yes/IsArray/UsesFiltering/Yes/WithExclude/HasWildcard/No/normalized.json create mode 100644 test/Fixture/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/Repositories/HasEntries/Yes/IsArray/UsesFiltering/Yes/WithExclude/HasWildcard/No/original.json create mode 100644 test/Fixture/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/Repositories/HasEntries/Yes/IsArray/UsesFiltering/Yes/WithExclude/HasWildcard/Yes/WildcardIsAtEnd/No/normalized.json create mode 100644 test/Fixture/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/Repositories/HasEntries/Yes/IsArray/UsesFiltering/Yes/WithExclude/HasWildcard/Yes/WildcardIsAtEnd/No/original.json create mode 100644 test/Fixture/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/Repositories/HasEntries/Yes/IsArray/UsesFiltering/Yes/WithExclude/HasWildcard/Yes/WildcardIsAtEnd/Yes/normalized.json create mode 100644 test/Fixture/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/Repositories/HasEntries/Yes/IsArray/UsesFiltering/Yes/WithExclude/HasWildcard/Yes/WildcardIsAtEnd/Yes/original.json create mode 100644 test/Fixture/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/Repositories/HasEntries/Yes/IsArray/UsesFiltering/Yes/WithOnly/HasWildcard/No/normalized.json create mode 100644 test/Fixture/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/Repositories/HasEntries/Yes/IsArray/UsesFiltering/Yes/WithOnly/HasWildcard/No/original.json create mode 100644 test/Fixture/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/Repositories/HasEntries/Yes/IsArray/UsesFiltering/Yes/WithOnly/HasWildcard/Yes/WildcardIsAtEnd/No/normalized.json create mode 100644 test/Fixture/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/Repositories/HasEntries/Yes/IsArray/UsesFiltering/Yes/WithOnly/HasWildcard/Yes/WildcardIsAtEnd/No/original.json create mode 100644 test/Fixture/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/Repositories/HasEntries/Yes/IsArray/UsesFiltering/Yes/WithOnly/HasWildcard/Yes/WildcardIsAtEnd/Yes/normalized.json create mode 100644 test/Fixture/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/Repositories/HasEntries/Yes/IsArray/UsesFiltering/Yes/WithOnly/HasWildcard/Yes/WildcardIsAtEnd/Yes/original.json rename test/Fixture/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/Repositories/HasEntries/Yes/IsObject/{ => UsesFiltering/No}/normalized.json (87%) rename test/Fixture/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/Repositories/HasEntries/Yes/IsObject/{ => UsesFiltering/No}/original.json (96%) create mode 100644 test/Fixture/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/Repositories/HasEntries/Yes/IsObject/UsesFiltering/Yes/WithExclude/HasWildcard/No/normalized.json create mode 100644 test/Fixture/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/Repositories/HasEntries/Yes/IsObject/UsesFiltering/Yes/WithExclude/HasWildcard/No/original.json create mode 100644 test/Fixture/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/Repositories/HasEntries/Yes/IsObject/UsesFiltering/Yes/WithExclude/HasWildcard/Yes/WildcardIsAtEnd/No/normalized.json create mode 100644 test/Fixture/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/Repositories/HasEntries/Yes/IsObject/UsesFiltering/Yes/WithExclude/HasWildcard/Yes/WildcardIsAtEnd/No/original.json create mode 100644 test/Fixture/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/Repositories/HasEntries/Yes/IsObject/UsesFiltering/Yes/WithExclude/HasWildcard/Yes/WildcardIsAtEnd/Yes/normalized.json create mode 100644 test/Fixture/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/Repositories/HasEntries/Yes/IsObject/UsesFiltering/Yes/WithExclude/HasWildcard/Yes/WildcardIsAtEnd/Yes/original.json create mode 100644 test/Fixture/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/Repositories/HasEntries/Yes/IsObject/UsesFiltering/Yes/WithOnly/HasWildcard/No/normalized.json create mode 100644 test/Fixture/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/Repositories/HasEntries/Yes/IsObject/UsesFiltering/Yes/WithOnly/HasWildcard/No/original.json create mode 100644 test/Fixture/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/Repositories/HasEntries/Yes/IsObject/UsesFiltering/Yes/WithOnly/HasWildcard/Yes/WildcardIsAtEnd/No/normalized.json create mode 100644 test/Fixture/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/Repositories/HasEntries/Yes/IsObject/UsesFiltering/Yes/WithOnly/HasWildcard/Yes/WildcardIsAtEnd/No/original.json create mode 100644 test/Fixture/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/Repositories/HasEntries/Yes/IsObject/UsesFiltering/Yes/WithOnly/HasWildcard/Yes/WildcardIsAtEnd/Yes/normalized.json create mode 100644 test/Fixture/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/Repositories/HasEntries/Yes/IsObject/UsesFiltering/Yes/WithOnly/HasWildcard/Yes/WildcardIsAtEnd/Yes/original.json diff --git a/CHANGELOG.md b/CHANGELOG.md index 5f08228e..5d6ea75d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,7 @@ For a full diff see [`4.3.0...main`][4.3.0...main]. ### Changed - Started removing `v` prefixes from version constraints ([#1027]), by [@fredden] +- Started sorting items in the `exclude` and `only` properties of items listed in the `repositories` section ([#1001]), by [@fredden] ## [`4.3.0`][4.3.0] @@ -655,6 +656,7 @@ For a full diff see [`5d8b3e2...0.1.0`][5d8b3e2...0.1.0]. [#989]: https://github.com/ergebnis/json-normalizer/pull/989 [#991]: https://github.com/ergebnis/json-normalizer/pull/991 [#992]: https://github.com/ergebnis/json-normalizer/pull/992 +[#1001]: https://github.com/ergebnis/json-normalizer/pull/1001 [#1027]: https://github.com/ergebnis/json-normalizer/pull/1027 [@alexis-saransig-lullabot]: https://github.com/alexis-saransig-lullabot diff --git a/README.md b/README.md index 6148dac1..fb48c881 100644 --- a/README.md +++ b/README.md @@ -422,6 +422,7 @@ It composes the following normalizers: - [`Ergebnis\Composer\Json\Normalizer\Vendor\Composer\BinNormalizer`](#vendorcomposerbinnormalizer) - [`Ergebnis\Composer\Json\Normalizer\Vendor\Composer\ConfigHashNormalizer`](#vendorcomposerconfighashnormalizer) - [`Ergebnis\Composer\Json\Normalizer\Vendor\Composer\PackageHashNormalizer`](#vendorcomposerpackagehashnormalizer) +- [`Ergebnis\Composer\Json\Normalizer\Vendor\Composer\RepositoriesHashNormalizer`](#vendorcomposerrepositorieshashnormalizer) - [`Ergebnis\Composer\Json\Normalizer\Vendor\Composer\VersionConstraintNormalizer`](#vendorcomposerversionconstraintnormalizer) - [`Ergebnis\Composer\Json\Normalizer\Vendor\WithFinalNewLineNormalizer`](#withfinalnewlinenormalizer) @@ -452,6 +453,14 @@ sections, the `Vendor\Composer\PackageHashNormalizer` will sort the packages in :bulb: This transfers the behaviour from using the [`--sort-packages`](https://getcomposer.org/doc/03-cli.md#require) or [`sort-packages`](https://getcomposer.org/doc/06-config.md#sort-packages) configuration flag in `require` and `require-dev` to other sections. +#### `Vendor\Composer\RepositoriesHashNormalizer` + +When `composer.json` contains any configuration in the + +- [`repositories`](https://getcomposer.org/doc/04-schema.md#repositories) + +section, the `Vendor\Composer\RepositoriesHashNormalizer` will sort the repositories listed in the [`exclude` and `only` properties of repositories](https://getcomposer.org/doc/articles/repository-priorities.md#filtering-packages). + #### `Vendor\Composer\VersionConstraintNormalizer` When `composer.json` contains version constraints in the diff --git a/psalm-baseline.xml b/psalm-baseline.xml index 07f6ef87..14792add 100644 --- a/psalm-baseline.xml +++ b/psalm-baseline.xml @@ -47,7 +47,7 @@ $value - + $package diff --git a/src/Vendor/Composer/ConfigHashNormalizer.php b/src/Vendor/Composer/ConfigHashNormalizer.php index ff3d2817..f6945ecd 100644 --- a/src/Vendor/Composer/ConfigHashNormalizer.php +++ b/src/Vendor/Composer/ConfigHashNormalizer.php @@ -19,7 +19,6 @@ final class ConfigHashNormalizer implements Normalizer { - use WildcardSortTrait; private const PROPERTIES_WITH_WILDCARDS = [ /** * @see https://getcomposer.org/doc/06-config.md#allow-plugins @@ -30,6 +29,12 @@ final class ConfigHashNormalizer implements Normalizer */ 'preferred-install', ]; + private readonly WildcardSorter $wildcardSorter; + + public function __construct() + { + $this->wildcardSorter = new WildcardSorter(); + } public function normalize(Json $json): Json { @@ -57,7 +62,7 @@ public function normalize(Json $json): Json \ksort($config); foreach (self::PROPERTIES_WITH_WILDCARDS as $property) { - self::sortPropertyWithWildcard( + $this->wildcardSorter->sortPropertyWithWildcard( $config, $property, ); diff --git a/src/Vendor/Composer/RepositoriesHashNormalizer.php b/src/Vendor/Composer/RepositoriesHashNormalizer.php index bcdde51e..c6438486 100644 --- a/src/Vendor/Composer/RepositoriesHashNormalizer.php +++ b/src/Vendor/Composer/RepositoriesHashNormalizer.php @@ -19,7 +19,6 @@ final class RepositoriesHashNormalizer implements Normalizer { - use WildcardSortTrait; private const PROPERTIES_WITH_WILDCARDS = [ /** * @see https://getcomposer.org/doc/articles/repository-priorities.md#filtering-packages @@ -27,6 +26,12 @@ final class RepositoriesHashNormalizer implements Normalizer 'exclude', 'only', ]; + private readonly WildcardSorter $wildcardSorter; + + public function __construct() + { + $this->wildcardSorter = new WildcardSorter(); + } public function normalize(Json $json): Json { @@ -44,7 +49,7 @@ public function normalize(Json $json): Json return $json; } - /** @var array $FIXME */ + /** @var array $repositories */ $repositories = (array) $decoded->repositories; if ([] === $repositories) { @@ -55,7 +60,7 @@ public function normalize(Json $json): Json $repository = (array) $repository; foreach (self::PROPERTIES_WITH_WILDCARDS as $property) { - self::sortPropertyWithWildcard( + $this->wildcardSorter->sortPropertyWithWildcard( $repository, $property, false, diff --git a/src/Vendor/Composer/WildcardSortTrait.php b/src/Vendor/Composer/WildcardSorter.php similarity index 96% rename from src/Vendor/Composer/WildcardSortTrait.php rename to src/Vendor/Composer/WildcardSorter.php index 6c608dc1..4714f5e7 100644 --- a/src/Vendor/Composer/WildcardSortTrait.php +++ b/src/Vendor/Composer/WildcardSorter.php @@ -13,7 +13,10 @@ namespace Ergebnis\Json\Normalizer\Vendor\Composer; -trait WildcardSortTrait +/** + * @internal + */ +final class WildcardSorter { /** * When sorting with wildcards, special care needs to be taken. @@ -24,7 +27,7 @@ trait WildcardSortTrait * @see https://github.com/composer/composer/blob/2.6.5/src/Composer/Package/BasePackage.php#L252-L257 * @see https://github.com/composer/composer/blob/2.6.5/src/Composer/Plugin/PluginManager.php#L687-L691 */ - private static function sortPropertyWithWildcard( + public function sortPropertyWithWildcard( array &$config, string $property, bool $sortByKey = true, diff --git a/test/Fixture/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/Repositories/HasEntries/Yes/IsArray/normalized.json b/test/Fixture/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/Repositories/HasEntries/Yes/IsArray/UsesFiltering/No/normalized.json similarity index 92% rename from test/Fixture/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/Repositories/HasEntries/Yes/IsArray/normalized.json rename to test/Fixture/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/Repositories/HasEntries/Yes/IsArray/UsesFiltering/No/normalized.json index ed5d95e8..07dc4887 100644 --- a/test/Fixture/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/Repositories/HasEntries/Yes/IsArray/normalized.json +++ b/test/Fixture/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/Repositories/HasEntries/Yes/IsArray/UsesFiltering/No/normalized.json @@ -17,10 +17,7 @@ "repositories": [ { "type": "composer", - "url": "http://packages.example.com", - "only": [ - "example/*" - ] + "url": "http://packages.example.com" }, { "type": "composer", diff --git a/test/Fixture/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/Repositories/HasEntries/Yes/IsArray/original.json b/test/Fixture/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/Repositories/HasEntries/Yes/IsArray/UsesFiltering/No/original.json similarity index 97% rename from test/Fixture/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/Repositories/HasEntries/Yes/IsArray/original.json rename to test/Fixture/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/Repositories/HasEntries/Yes/IsArray/UsesFiltering/No/original.json index a476f8b0..165244d6 100644 --- a/test/Fixture/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/Repositories/HasEntries/Yes/IsArray/original.json +++ b/test/Fixture/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/Repositories/HasEntries/Yes/IsArray/UsesFiltering/No/original.json @@ -17,7 +17,6 @@ "repositories": [ { "url": "http://packages.example.com", - "only": [ "example/*" ], "type": "composer" }, { diff --git a/test/Fixture/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/Repositories/HasEntries/Yes/IsArray/UsesFiltering/Yes/WithExclude/HasWildcard/No/normalized.json b/test/Fixture/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/Repositories/HasEntries/Yes/IsArray/UsesFiltering/Yes/WithExclude/HasWildcard/No/normalized.json new file mode 100644 index 00000000..31777ed0 --- /dev/null +++ b/test/Fixture/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/Repositories/HasEntries/Yes/IsArray/UsesFiltering/Yes/WithExclude/HasWildcard/No/normalized.json @@ -0,0 +1,27 @@ +{ + "name": "ergebnis/json-normalizer", + "description": "Provides generic and vendor-specific normalizers for normalizing JSON documents.", + "license": "MIT", + "type": "library", + "keywords": [ + "json", + "normalizer" + ], + "authors": [ + { + "name": "Andreas Möller", + "email": "am@localheinz.com" + } + ], + "homepage": "https://getcomposer.org/doc/04-schema.md#repositories", + "repositories": [ + { + "type": "composer", + "url": "http://packages.foo.com", + "exclude": [ + "vendor/one", + "vendor/two" + ] + } + ] +} diff --git a/test/Fixture/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/Repositories/HasEntries/Yes/IsArray/UsesFiltering/Yes/WithExclude/HasWildcard/No/original.json b/test/Fixture/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/Repositories/HasEntries/Yes/IsArray/UsesFiltering/Yes/WithExclude/HasWildcard/No/original.json new file mode 100644 index 00000000..9ef2543e --- /dev/null +++ b/test/Fixture/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/Repositories/HasEntries/Yes/IsArray/UsesFiltering/Yes/WithExclude/HasWildcard/No/original.json @@ -0,0 +1,24 @@ +{ + "name": "ergebnis/json-normalizer", + "description": "Provides generic and vendor-specific normalizers for normalizing JSON documents.", + "license": "MIT", + "type": "library", + "keywords": [ + "json", + "normalizer" + ], + "authors": [ + { + "name": "Andreas Möller", + "email": "am@localheinz.com" + } + ], + "homepage": "https://getcomposer.org/doc/04-schema.md#repositories", + "repositories": [ + { + "url": "http://packages.foo.com", + "exclude": ["vendor/two","vendor/one"], + "type": "composer" + } + ] +} diff --git a/test/Fixture/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/Repositories/HasEntries/Yes/IsArray/UsesFiltering/Yes/WithExclude/HasWildcard/Yes/WildcardIsAtEnd/No/normalized.json b/test/Fixture/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/Repositories/HasEntries/Yes/IsArray/UsesFiltering/Yes/WithExclude/HasWildcard/Yes/WildcardIsAtEnd/No/normalized.json new file mode 100644 index 00000000..be185082 --- /dev/null +++ b/test/Fixture/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/Repositories/HasEntries/Yes/IsArray/UsesFiltering/Yes/WithExclude/HasWildcard/Yes/WildcardIsAtEnd/No/normalized.json @@ -0,0 +1,27 @@ +{ + "name": "ergebnis/json-normalizer", + "description": "Provides generic and vendor-specific normalizers for normalizing JSON documents.", + "license": "MIT", + "type": "library", + "keywords": [ + "json", + "normalizer" + ], + "authors": [ + { + "name": "Andreas Möller", + "email": "am@localheinz.com" + } + ], + "homepage": "https://getcomposer.org/doc/04-schema.md#repositories", + "repositories": [ + { + "type": "composer", + "url": "http://packages.foo.com", + "exclude": [ + "vendor-two/*-test", + "vendor-one/*-test" + ] + } + ] +} diff --git a/test/Fixture/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/Repositories/HasEntries/Yes/IsArray/UsesFiltering/Yes/WithExclude/HasWildcard/Yes/WildcardIsAtEnd/No/original.json b/test/Fixture/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/Repositories/HasEntries/Yes/IsArray/UsesFiltering/Yes/WithExclude/HasWildcard/Yes/WildcardIsAtEnd/No/original.json new file mode 100644 index 00000000..0ea16738 --- /dev/null +++ b/test/Fixture/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/Repositories/HasEntries/Yes/IsArray/UsesFiltering/Yes/WithExclude/HasWildcard/Yes/WildcardIsAtEnd/No/original.json @@ -0,0 +1,24 @@ +{ + "name": "ergebnis/json-normalizer", + "description": "Provides generic and vendor-specific normalizers for normalizing JSON documents.", + "license": "MIT", + "type": "library", + "keywords": [ + "json", + "normalizer" + ], + "authors": [ + { + "name": "Andreas Möller", + "email": "am@localheinz.com" + } + ], + "homepage": "https://getcomposer.org/doc/04-schema.md#repositories", + "repositories": [ + { + "url": "http://packages.foo.com", + "exclude": ["vendor-two/*-test","vendor-one/*-test"], + "type": "composer" + } + ] +} diff --git a/test/Fixture/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/Repositories/HasEntries/Yes/IsArray/UsesFiltering/Yes/WithExclude/HasWildcard/Yes/WildcardIsAtEnd/Yes/normalized.json b/test/Fixture/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/Repositories/HasEntries/Yes/IsArray/UsesFiltering/Yes/WithExclude/HasWildcard/Yes/WildcardIsAtEnd/Yes/normalized.json new file mode 100644 index 00000000..0cbb9655 --- /dev/null +++ b/test/Fixture/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/Repositories/HasEntries/Yes/IsArray/UsesFiltering/Yes/WithExclude/HasWildcard/Yes/WildcardIsAtEnd/Yes/normalized.json @@ -0,0 +1,27 @@ +{ + "name": "ergebnis/json-normalizer", + "description": "Provides generic and vendor-specific normalizers for normalizing JSON documents.", + "license": "MIT", + "type": "library", + "keywords": [ + "json", + "normalizer" + ], + "authors": [ + { + "name": "Andreas Möller", + "email": "am@localheinz.com" + } + ], + "homepage": "https://getcomposer.org/doc/04-schema.md#repositories", + "repositories": [ + { + "type": "composer", + "url": "http://packages.foo.com", + "exclude": [ + "vendor-one/*", + "vendor-two/*" + ] + } + ] +} diff --git a/test/Fixture/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/Repositories/HasEntries/Yes/IsArray/UsesFiltering/Yes/WithExclude/HasWildcard/Yes/WildcardIsAtEnd/Yes/original.json b/test/Fixture/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/Repositories/HasEntries/Yes/IsArray/UsesFiltering/Yes/WithExclude/HasWildcard/Yes/WildcardIsAtEnd/Yes/original.json new file mode 100644 index 00000000..c4602c19 --- /dev/null +++ b/test/Fixture/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/Repositories/HasEntries/Yes/IsArray/UsesFiltering/Yes/WithExclude/HasWildcard/Yes/WildcardIsAtEnd/Yes/original.json @@ -0,0 +1,24 @@ +{ + "name": "ergebnis/json-normalizer", + "description": "Provides generic and vendor-specific normalizers for normalizing JSON documents.", + "license": "MIT", + "type": "library", + "keywords": [ + "json", + "normalizer" + ], + "authors": [ + { + "name": "Andreas Möller", + "email": "am@localheinz.com" + } + ], + "homepage": "https://getcomposer.org/doc/04-schema.md#repositories", + "repositories": [ + { + "url": "http://packages.foo.com", + "exclude": ["vendor-two/*","vendor-one/*"], + "type": "composer" + } + ] +} diff --git a/test/Fixture/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/Repositories/HasEntries/Yes/IsArray/UsesFiltering/Yes/WithOnly/HasWildcard/No/normalized.json b/test/Fixture/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/Repositories/HasEntries/Yes/IsArray/UsesFiltering/Yes/WithOnly/HasWildcard/No/normalized.json new file mode 100644 index 00000000..9ebedc4f --- /dev/null +++ b/test/Fixture/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/Repositories/HasEntries/Yes/IsArray/UsesFiltering/Yes/WithOnly/HasWildcard/No/normalized.json @@ -0,0 +1,27 @@ +{ + "name": "ergebnis/json-normalizer", + "description": "Provides generic and vendor-specific normalizers for normalizing JSON documents.", + "license": "MIT", + "type": "library", + "keywords": [ + "json", + "normalizer" + ], + "authors": [ + { + "name": "Andreas Möller", + "email": "am@localheinz.com" + } + ], + "homepage": "https://getcomposer.org/doc/04-schema.md#repositories", + "repositories": [ + { + "type": "composer", + "url": "http://packages.foo.com", + "only": [ + "vendor/one", + "vendor/two" + ] + } + ] +} diff --git a/test/Fixture/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/Repositories/HasEntries/Yes/IsArray/UsesFiltering/Yes/WithOnly/HasWildcard/No/original.json b/test/Fixture/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/Repositories/HasEntries/Yes/IsArray/UsesFiltering/Yes/WithOnly/HasWildcard/No/original.json new file mode 100644 index 00000000..9b7dd137 --- /dev/null +++ b/test/Fixture/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/Repositories/HasEntries/Yes/IsArray/UsesFiltering/Yes/WithOnly/HasWildcard/No/original.json @@ -0,0 +1,24 @@ +{ + "name": "ergebnis/json-normalizer", + "description": "Provides generic and vendor-specific normalizers for normalizing JSON documents.", + "license": "MIT", + "type": "library", + "keywords": [ + "json", + "normalizer" + ], + "authors": [ + { + "name": "Andreas Möller", + "email": "am@localheinz.com" + } + ], + "homepage": "https://getcomposer.org/doc/04-schema.md#repositories", + "repositories": [ + { + "url": "http://packages.foo.com", + "only": ["vendor/two","vendor/one"], + "type": "composer" + } + ] +} diff --git a/test/Fixture/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/Repositories/HasEntries/Yes/IsArray/UsesFiltering/Yes/WithOnly/HasWildcard/Yes/WildcardIsAtEnd/No/normalized.json b/test/Fixture/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/Repositories/HasEntries/Yes/IsArray/UsesFiltering/Yes/WithOnly/HasWildcard/Yes/WildcardIsAtEnd/No/normalized.json new file mode 100644 index 00000000..10d1c9d6 --- /dev/null +++ b/test/Fixture/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/Repositories/HasEntries/Yes/IsArray/UsesFiltering/Yes/WithOnly/HasWildcard/Yes/WildcardIsAtEnd/No/normalized.json @@ -0,0 +1,27 @@ +{ + "name": "ergebnis/json-normalizer", + "description": "Provides generic and vendor-specific normalizers for normalizing JSON documents.", + "license": "MIT", + "type": "library", + "keywords": [ + "json", + "normalizer" + ], + "authors": [ + { + "name": "Andreas Möller", + "email": "am@localheinz.com" + } + ], + "homepage": "https://getcomposer.org/doc/04-schema.md#repositories", + "repositories": [ + { + "type": "composer", + "url": "http://packages.foo.com", + "only": [ + "vendor-two/*-test", + "vendor-one/*-test" + ] + } + ] +} diff --git a/test/Fixture/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/Repositories/HasEntries/Yes/IsArray/UsesFiltering/Yes/WithOnly/HasWildcard/Yes/WildcardIsAtEnd/No/original.json b/test/Fixture/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/Repositories/HasEntries/Yes/IsArray/UsesFiltering/Yes/WithOnly/HasWildcard/Yes/WildcardIsAtEnd/No/original.json new file mode 100644 index 00000000..9dfef2a0 --- /dev/null +++ b/test/Fixture/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/Repositories/HasEntries/Yes/IsArray/UsesFiltering/Yes/WithOnly/HasWildcard/Yes/WildcardIsAtEnd/No/original.json @@ -0,0 +1,24 @@ +{ + "name": "ergebnis/json-normalizer", + "description": "Provides generic and vendor-specific normalizers for normalizing JSON documents.", + "license": "MIT", + "type": "library", + "keywords": [ + "json", + "normalizer" + ], + "authors": [ + { + "name": "Andreas Möller", + "email": "am@localheinz.com" + } + ], + "homepage": "https://getcomposer.org/doc/04-schema.md#repositories", + "repositories": [ + { + "url": "http://packages.foo.com", + "only": ["vendor-two/*-test","vendor-one/*-test"], + "type": "composer" + } + ] +} diff --git a/test/Fixture/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/Repositories/HasEntries/Yes/IsArray/UsesFiltering/Yes/WithOnly/HasWildcard/Yes/WildcardIsAtEnd/Yes/normalized.json b/test/Fixture/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/Repositories/HasEntries/Yes/IsArray/UsesFiltering/Yes/WithOnly/HasWildcard/Yes/WildcardIsAtEnd/Yes/normalized.json new file mode 100644 index 00000000..9ecf44eb --- /dev/null +++ b/test/Fixture/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/Repositories/HasEntries/Yes/IsArray/UsesFiltering/Yes/WithOnly/HasWildcard/Yes/WildcardIsAtEnd/Yes/normalized.json @@ -0,0 +1,27 @@ +{ + "name": "ergebnis/json-normalizer", + "description": "Provides generic and vendor-specific normalizers for normalizing JSON documents.", + "license": "MIT", + "type": "library", + "keywords": [ + "json", + "normalizer" + ], + "authors": [ + { + "name": "Andreas Möller", + "email": "am@localheinz.com" + } + ], + "homepage": "https://getcomposer.org/doc/04-schema.md#repositories", + "repositories": [ + { + "type": "composer", + "url": "http://packages.foo.com", + "only": [ + "vendor-one/*", + "vendor-two/*" + ] + } + ] +} diff --git a/test/Fixture/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/Repositories/HasEntries/Yes/IsArray/UsesFiltering/Yes/WithOnly/HasWildcard/Yes/WildcardIsAtEnd/Yes/original.json b/test/Fixture/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/Repositories/HasEntries/Yes/IsArray/UsesFiltering/Yes/WithOnly/HasWildcard/Yes/WildcardIsAtEnd/Yes/original.json new file mode 100644 index 00000000..d466a358 --- /dev/null +++ b/test/Fixture/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/Repositories/HasEntries/Yes/IsArray/UsesFiltering/Yes/WithOnly/HasWildcard/Yes/WildcardIsAtEnd/Yes/original.json @@ -0,0 +1,24 @@ +{ + "name": "ergebnis/json-normalizer", + "description": "Provides generic and vendor-specific normalizers for normalizing JSON documents.", + "license": "MIT", + "type": "library", + "keywords": [ + "json", + "normalizer" + ], + "authors": [ + { + "name": "Andreas Möller", + "email": "am@localheinz.com" + } + ], + "homepage": "https://getcomposer.org/doc/04-schema.md#repositories", + "repositories": [ + { + "url": "http://packages.foo.com", + "only": ["vendor-two/*","vendor-one/*"], + "type": "composer" + } + ] +} diff --git a/test/Fixture/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/Repositories/HasEntries/Yes/IsObject/normalized.json b/test/Fixture/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/Repositories/HasEntries/Yes/IsObject/UsesFiltering/No/normalized.json similarity index 87% rename from test/Fixture/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/Repositories/HasEntries/Yes/IsObject/normalized.json rename to test/Fixture/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/Repositories/HasEntries/Yes/IsObject/UsesFiltering/No/normalized.json index fd2553c4..2488df56 100644 --- a/test/Fixture/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/Repositories/HasEntries/Yes/IsObject/normalized.json +++ b/test/Fixture/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/Repositories/HasEntries/Yes/IsObject/UsesFiltering/No/normalized.json @@ -17,10 +17,7 @@ "repositories": { "foo": { "type": "composer", - "url": "http://packages.foo.com", - "only": [ - "foo/*" - ] + "url": "http://packages.foo.com" }, "bar": { "type": "composer", diff --git a/test/Fixture/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/Repositories/HasEntries/Yes/IsObject/original.json b/test/Fixture/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/Repositories/HasEntries/Yes/IsObject/UsesFiltering/No/original.json similarity index 96% rename from test/Fixture/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/Repositories/HasEntries/Yes/IsObject/original.json rename to test/Fixture/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/Repositories/HasEntries/Yes/IsObject/UsesFiltering/No/original.json index 441409df..9598227a 100644 --- a/test/Fixture/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/Repositories/HasEntries/Yes/IsObject/original.json +++ b/test/Fixture/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/Repositories/HasEntries/Yes/IsObject/UsesFiltering/No/original.json @@ -17,7 +17,6 @@ "repositories": { "foo": { "url": "http://packages.foo.com", - "only": [ "foo/*" ], "type": "composer" }, "bar": { diff --git a/test/Fixture/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/Repositories/HasEntries/Yes/IsObject/UsesFiltering/Yes/WithExclude/HasWildcard/No/normalized.json b/test/Fixture/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/Repositories/HasEntries/Yes/IsObject/UsesFiltering/Yes/WithExclude/HasWildcard/No/normalized.json new file mode 100644 index 00000000..16eaa056 --- /dev/null +++ b/test/Fixture/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/Repositories/HasEntries/Yes/IsObject/UsesFiltering/Yes/WithExclude/HasWildcard/No/normalized.json @@ -0,0 +1,27 @@ +{ + "name": "ergebnis/json-normalizer", + "description": "Provides generic and vendor-specific normalizers for normalizing JSON documents.", + "license": "MIT", + "type": "library", + "keywords": [ + "json", + "normalizer" + ], + "authors": [ + { + "name": "Andreas Möller", + "email": "am@localheinz.com" + } + ], + "homepage": "https://getcomposer.org/doc/04-schema.md#repositories", + "repositories": { + "foo": { + "type": "composer", + "url": "http://packages.foo.com", + "exclude": [ + "vendor/one", + "vendor/two" + ] + } + } +} diff --git a/test/Fixture/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/Repositories/HasEntries/Yes/IsObject/UsesFiltering/Yes/WithExclude/HasWildcard/No/original.json b/test/Fixture/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/Repositories/HasEntries/Yes/IsObject/UsesFiltering/Yes/WithExclude/HasWildcard/No/original.json new file mode 100644 index 00000000..31692d34 --- /dev/null +++ b/test/Fixture/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/Repositories/HasEntries/Yes/IsObject/UsesFiltering/Yes/WithExclude/HasWildcard/No/original.json @@ -0,0 +1,24 @@ +{ + "name": "ergebnis/json-normalizer", + "description": "Provides generic and vendor-specific normalizers for normalizing JSON documents.", + "license": "MIT", + "type": "library", + "keywords": [ + "json", + "normalizer" + ], + "authors": [ + { + "name": "Andreas Möller", + "email": "am@localheinz.com" + } + ], + "homepage": "https://getcomposer.org/doc/04-schema.md#repositories", + "repositories": { + "foo": { + "url": "http://packages.foo.com", + "exclude": ["vendor/two","vendor/one"], + "type": "composer" + } + } +} diff --git a/test/Fixture/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/Repositories/HasEntries/Yes/IsObject/UsesFiltering/Yes/WithExclude/HasWildcard/Yes/WildcardIsAtEnd/No/normalized.json b/test/Fixture/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/Repositories/HasEntries/Yes/IsObject/UsesFiltering/Yes/WithExclude/HasWildcard/Yes/WildcardIsAtEnd/No/normalized.json new file mode 100644 index 00000000..7f625719 --- /dev/null +++ b/test/Fixture/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/Repositories/HasEntries/Yes/IsObject/UsesFiltering/Yes/WithExclude/HasWildcard/Yes/WildcardIsAtEnd/No/normalized.json @@ -0,0 +1,27 @@ +{ + "name": "ergebnis/json-normalizer", + "description": "Provides generic and vendor-specific normalizers for normalizing JSON documents.", + "license": "MIT", + "type": "library", + "keywords": [ + "json", + "normalizer" + ], + "authors": [ + { + "name": "Andreas Möller", + "email": "am@localheinz.com" + } + ], + "homepage": "https://getcomposer.org/doc/04-schema.md#repositories", + "repositories": { + "foo": { + "type": "composer", + "url": "http://packages.foo.com", + "exclude": [ + "vendor-two/*-test", + "vendor-one/*-test" + ] + } + } +} diff --git a/test/Fixture/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/Repositories/HasEntries/Yes/IsObject/UsesFiltering/Yes/WithExclude/HasWildcard/Yes/WildcardIsAtEnd/No/original.json b/test/Fixture/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/Repositories/HasEntries/Yes/IsObject/UsesFiltering/Yes/WithExclude/HasWildcard/Yes/WildcardIsAtEnd/No/original.json new file mode 100644 index 00000000..3d9318fe --- /dev/null +++ b/test/Fixture/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/Repositories/HasEntries/Yes/IsObject/UsesFiltering/Yes/WithExclude/HasWildcard/Yes/WildcardIsAtEnd/No/original.json @@ -0,0 +1,24 @@ +{ + "name": "ergebnis/json-normalizer", + "description": "Provides generic and vendor-specific normalizers for normalizing JSON documents.", + "license": "MIT", + "type": "library", + "keywords": [ + "json", + "normalizer" + ], + "authors": [ + { + "name": "Andreas Möller", + "email": "am@localheinz.com" + } + ], + "homepage": "https://getcomposer.org/doc/04-schema.md#repositories", + "repositories": { + "foo": { + "url": "http://packages.foo.com", + "exclude": ["vendor-two/*-test","vendor-one/*-test"], + "type": "composer" + } + } +} diff --git a/test/Fixture/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/Repositories/HasEntries/Yes/IsObject/UsesFiltering/Yes/WithExclude/HasWildcard/Yes/WildcardIsAtEnd/Yes/normalized.json b/test/Fixture/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/Repositories/HasEntries/Yes/IsObject/UsesFiltering/Yes/WithExclude/HasWildcard/Yes/WildcardIsAtEnd/Yes/normalized.json new file mode 100644 index 00000000..ce74ab59 --- /dev/null +++ b/test/Fixture/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/Repositories/HasEntries/Yes/IsObject/UsesFiltering/Yes/WithExclude/HasWildcard/Yes/WildcardIsAtEnd/Yes/normalized.json @@ -0,0 +1,27 @@ +{ + "name": "ergebnis/json-normalizer", + "description": "Provides generic and vendor-specific normalizers for normalizing JSON documents.", + "license": "MIT", + "type": "library", + "keywords": [ + "json", + "normalizer" + ], + "authors": [ + { + "name": "Andreas Möller", + "email": "am@localheinz.com" + } + ], + "homepage": "https://getcomposer.org/doc/04-schema.md#repositories", + "repositories": { + "foo": { + "type": "composer", + "url": "http://packages.foo.com", + "exclude": [ + "vendor-one/*", + "vendor-two/*" + ] + } + } +} diff --git a/test/Fixture/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/Repositories/HasEntries/Yes/IsObject/UsesFiltering/Yes/WithExclude/HasWildcard/Yes/WildcardIsAtEnd/Yes/original.json b/test/Fixture/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/Repositories/HasEntries/Yes/IsObject/UsesFiltering/Yes/WithExclude/HasWildcard/Yes/WildcardIsAtEnd/Yes/original.json new file mode 100644 index 00000000..6e1b55ff --- /dev/null +++ b/test/Fixture/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/Repositories/HasEntries/Yes/IsObject/UsesFiltering/Yes/WithExclude/HasWildcard/Yes/WildcardIsAtEnd/Yes/original.json @@ -0,0 +1,24 @@ +{ + "name": "ergebnis/json-normalizer", + "description": "Provides generic and vendor-specific normalizers for normalizing JSON documents.", + "license": "MIT", + "type": "library", + "keywords": [ + "json", + "normalizer" + ], + "authors": [ + { + "name": "Andreas Möller", + "email": "am@localheinz.com" + } + ], + "homepage": "https://getcomposer.org/doc/04-schema.md#repositories", + "repositories": { + "foo": { + "url": "http://packages.foo.com", + "exclude": ["vendor-two/*","vendor-one/*"], + "type": "composer" + } + } +} diff --git a/test/Fixture/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/Repositories/HasEntries/Yes/IsObject/UsesFiltering/Yes/WithOnly/HasWildcard/No/normalized.json b/test/Fixture/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/Repositories/HasEntries/Yes/IsObject/UsesFiltering/Yes/WithOnly/HasWildcard/No/normalized.json new file mode 100644 index 00000000..91c3e0e5 --- /dev/null +++ b/test/Fixture/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/Repositories/HasEntries/Yes/IsObject/UsesFiltering/Yes/WithOnly/HasWildcard/No/normalized.json @@ -0,0 +1,27 @@ +{ + "name": "ergebnis/json-normalizer", + "description": "Provides generic and vendor-specific normalizers for normalizing JSON documents.", + "license": "MIT", + "type": "library", + "keywords": [ + "json", + "normalizer" + ], + "authors": [ + { + "name": "Andreas Möller", + "email": "am@localheinz.com" + } + ], + "homepage": "https://getcomposer.org/doc/04-schema.md#repositories", + "repositories": { + "foo": { + "type": "composer", + "url": "http://packages.foo.com", + "only": [ + "vendor/one", + "vendor/two" + ] + } + } +} diff --git a/test/Fixture/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/Repositories/HasEntries/Yes/IsObject/UsesFiltering/Yes/WithOnly/HasWildcard/No/original.json b/test/Fixture/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/Repositories/HasEntries/Yes/IsObject/UsesFiltering/Yes/WithOnly/HasWildcard/No/original.json new file mode 100644 index 00000000..02e1811d --- /dev/null +++ b/test/Fixture/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/Repositories/HasEntries/Yes/IsObject/UsesFiltering/Yes/WithOnly/HasWildcard/No/original.json @@ -0,0 +1,24 @@ +{ + "name": "ergebnis/json-normalizer", + "description": "Provides generic and vendor-specific normalizers for normalizing JSON documents.", + "license": "MIT", + "type": "library", + "keywords": [ + "json", + "normalizer" + ], + "authors": [ + { + "name": "Andreas Möller", + "email": "am@localheinz.com" + } + ], + "homepage": "https://getcomposer.org/doc/04-schema.md#repositories", + "repositories": { + "foo": { + "url": "http://packages.foo.com", + "only": ["vendor/two","vendor/one"], + "type": "composer" + } + } +} diff --git a/test/Fixture/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/Repositories/HasEntries/Yes/IsObject/UsesFiltering/Yes/WithOnly/HasWildcard/Yes/WildcardIsAtEnd/No/normalized.json b/test/Fixture/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/Repositories/HasEntries/Yes/IsObject/UsesFiltering/Yes/WithOnly/HasWildcard/Yes/WildcardIsAtEnd/No/normalized.json new file mode 100644 index 00000000..ddb15a2f --- /dev/null +++ b/test/Fixture/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/Repositories/HasEntries/Yes/IsObject/UsesFiltering/Yes/WithOnly/HasWildcard/Yes/WildcardIsAtEnd/No/normalized.json @@ -0,0 +1,27 @@ +{ + "name": "ergebnis/json-normalizer", + "description": "Provides generic and vendor-specific normalizers for normalizing JSON documents.", + "license": "MIT", + "type": "library", + "keywords": [ + "json", + "normalizer" + ], + "authors": [ + { + "name": "Andreas Möller", + "email": "am@localheinz.com" + } + ], + "homepage": "https://getcomposer.org/doc/04-schema.md#repositories", + "repositories": { + "foo": { + "type": "composer", + "url": "http://packages.foo.com", + "only": [ + "vendor-two/*-test", + "vendor-one/*-test" + ] + } + } +} diff --git a/test/Fixture/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/Repositories/HasEntries/Yes/IsObject/UsesFiltering/Yes/WithOnly/HasWildcard/Yes/WildcardIsAtEnd/No/original.json b/test/Fixture/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/Repositories/HasEntries/Yes/IsObject/UsesFiltering/Yes/WithOnly/HasWildcard/Yes/WildcardIsAtEnd/No/original.json new file mode 100644 index 00000000..8b3136ff --- /dev/null +++ b/test/Fixture/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/Repositories/HasEntries/Yes/IsObject/UsesFiltering/Yes/WithOnly/HasWildcard/Yes/WildcardIsAtEnd/No/original.json @@ -0,0 +1,24 @@ +{ + "name": "ergebnis/json-normalizer", + "description": "Provides generic and vendor-specific normalizers for normalizing JSON documents.", + "license": "MIT", + "type": "library", + "keywords": [ + "json", + "normalizer" + ], + "authors": [ + { + "name": "Andreas Möller", + "email": "am@localheinz.com" + } + ], + "homepage": "https://getcomposer.org/doc/04-schema.md#repositories", + "repositories": { + "foo": { + "url": "http://packages.foo.com", + "only": ["vendor-two/*-test","vendor-one/*-test"], + "type": "composer" + } + } +} diff --git a/test/Fixture/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/Repositories/HasEntries/Yes/IsObject/UsesFiltering/Yes/WithOnly/HasWildcard/Yes/WildcardIsAtEnd/Yes/normalized.json b/test/Fixture/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/Repositories/HasEntries/Yes/IsObject/UsesFiltering/Yes/WithOnly/HasWildcard/Yes/WildcardIsAtEnd/Yes/normalized.json new file mode 100644 index 00000000..ac9e89ed --- /dev/null +++ b/test/Fixture/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/Repositories/HasEntries/Yes/IsObject/UsesFiltering/Yes/WithOnly/HasWildcard/Yes/WildcardIsAtEnd/Yes/normalized.json @@ -0,0 +1,27 @@ +{ + "name": "ergebnis/json-normalizer", + "description": "Provides generic and vendor-specific normalizers for normalizing JSON documents.", + "license": "MIT", + "type": "library", + "keywords": [ + "json", + "normalizer" + ], + "authors": [ + { + "name": "Andreas Möller", + "email": "am@localheinz.com" + } + ], + "homepage": "https://getcomposer.org/doc/04-schema.md#repositories", + "repositories": { + "foo": { + "type": "composer", + "url": "http://packages.foo.com", + "only": [ + "vendor-one/*", + "vendor-two/*" + ] + } + } +} diff --git a/test/Fixture/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/Repositories/HasEntries/Yes/IsObject/UsesFiltering/Yes/WithOnly/HasWildcard/Yes/WildcardIsAtEnd/Yes/original.json b/test/Fixture/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/Repositories/HasEntries/Yes/IsObject/UsesFiltering/Yes/WithOnly/HasWildcard/Yes/WildcardIsAtEnd/Yes/original.json new file mode 100644 index 00000000..5724a962 --- /dev/null +++ b/test/Fixture/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/Repositories/HasEntries/Yes/IsObject/UsesFiltering/Yes/WithOnly/HasWildcard/Yes/WildcardIsAtEnd/Yes/original.json @@ -0,0 +1,24 @@ +{ + "name": "ergebnis/json-normalizer", + "description": "Provides generic and vendor-specific normalizers for normalizing JSON documents.", + "license": "MIT", + "type": "library", + "keywords": [ + "json", + "normalizer" + ], + "authors": [ + { + "name": "Andreas Möller", + "email": "am@localheinz.com" + } + ], + "homepage": "https://getcomposer.org/doc/04-schema.md#repositories", + "repositories": { + "foo": { + "url": "http://packages.foo.com", + "only": ["vendor-two/*","vendor-one/*"], + "type": "composer" + } + } +} diff --git a/test/Unit/Vendor/Composer/ComposerJsonNormalizerTest.php b/test/Unit/Vendor/Composer/ComposerJsonNormalizerTest.php index bd7df888..7c8ee3cd 100644 --- a/test/Unit/Vendor/Composer/ComposerJsonNormalizerTest.php +++ b/test/Unit/Vendor/Composer/ComposerJsonNormalizerTest.php @@ -26,11 +26,11 @@ #[Framework\Attributes\CoversClass(SchemaNormalizer::class)] #[Framework\Attributes\CoversClass(Vendor\Composer\BinNormalizer::class)] #[Framework\Attributes\CoversClass(Vendor\Composer\ComposerJsonNormalizer::class)] -#[Framework\Attributes\CoversClass(Vendor\Composer\RepositoriesHashNormalizer::class)] -#[Framework\Attributes\UsesClass(Vendor\Composer\RepositoriesHashNormalizer::class)] #[Framework\Attributes\CoversClass(Vendor\Composer\ConfigHashNormalizer::class)] #[Framework\Attributes\CoversClass(Vendor\Composer\PackageHashNormalizer::class)] +#[Framework\Attributes\CoversClass(Vendor\Composer\RepositoriesHashNormalizer::class)] #[Framework\Attributes\CoversClass(Vendor\Composer\VersionConstraintNormalizer::class)] +#[Framework\Attributes\CoversClass(Vendor\Composer\WildcardSorter::class)] #[Framework\Attributes\UsesClass(ChainNormalizer::class)] #[Framework\Attributes\UsesClass(Exception\OriginalInvalidAccordingToSchema::class)] #[Framework\Attributes\UsesClass(Format\JsonEncodeOptions::class)] From 67fd0d513e5c79456b42ef5654ff29b5d4ce8256 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20M=C3=B6ller?= Date: Wed, 13 Dec 2023 10:35:38 +0100 Subject: [PATCH 053/111] Enhancement: Prepare release --- .github/SECURITY.md | 4 ++-- CHANGELOG.md | 10 ++++++++-- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/.github/SECURITY.md b/.github/SECURITY.md index 135f34c8..0fbc6da4 100644 --- a/.github/SECURITY.md +++ b/.github/SECURITY.md @@ -4,13 +4,13 @@ The following versions of `ergebnis/json-normalizer` have active support: -- `^4.3.0` +- `^4.4.0` ## Unsupported Versions The following versions of `ergebnis/json-normalizer` have reached their end of life: -- `<4.3.0` +- `<4.4.0` ## Reporting a Vulnerability diff --git a/CHANGELOG.md b/CHANGELOG.md index 5d6ea75d..59c28ccf 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,7 +6,11 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), ## Unreleased -For a full diff see [`4.3.0...main`][4.3.0...main]. +For a full diff see [`4.4.0...main`][4.4.0...main]. + +## [`4.4.0`][4.4.0] + +For a full diff see [`4.3.0...4.4.0`][4.3.0...4.4.0]. ### Changed @@ -492,6 +496,7 @@ For a full diff see [`5d8b3e2...0.1.0`][5d8b3e2...0.1.0]. [4.1.0]: https://github.com/ergebnis/json-normalizer/releases/tag/4.1.0 [4.2.0]: https://github.com/ergebnis/json-normalizer/releases/tag/4.2.0 [4.3.0]: https://github.com/ergebnis/json-normalizer/releases/tag/4.3.0 +[4.4.0]: https://github.com/ergebnis/json-normalizer/releases/tag/4.4.0 [5d8b3e2...0.1.0]: https://github.com/ergebnis/json-normalizer/compare/5d8b3e2...0.1.0 [0.1.0...0.2.0]: https://github.com/ergebnis/json-normalizer/compare/0.1.0...0.2.0 @@ -526,7 +531,8 @@ For a full diff see [`5d8b3e2...0.1.0`][5d8b3e2...0.1.0]. [4.0.2...4.1.0]: https://github.com/ergebnis/json-normalizer/compare/4.0.2...4.1.0 [4.1.0...4.2.0]: https://github.com/ergebnis/json-normalizer/compare/4.1.0...4.2.0 [4.2.0...4.3.0]: https://github.com/ergebnis/json-normalizer/compare/4.2.0...4.3.0 -[4.3.0...main]: https://github.com/ergebnis/json-normalizer/compare/4.3.0...main +[4.3.0...4.4.0]: https://github.com/ergebnis/json-normalizer/compare/4.4.0...main +[4.4.0...main]: https://github.com/ergebnis/json-normalizer/compare/4.4.0...main [#1]: https://github.com/ergebnis/json-normalizer/pull/1 [#2]: https://github.com/ergebnis/json-normalizer/pull/2 From db23122074df33b8a5d5acb7aea0d24e6ac5cc9c Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 13 Dec 2023 20:28:43 +0000 Subject: [PATCH 054/111] composer(deps-dev): Bump phpunit/phpunit from 10.5.2 to 10.5.3 Bumps [phpunit/phpunit](https://github.com/sebastianbergmann/phpunit) from 10.5.2 to 10.5.3. - [Changelog](https://github.com/sebastianbergmann/phpunit/blob/10.5.3/ChangeLog-10.5.md) - [Commits](https://github.com/sebastianbergmann/phpunit/compare/10.5.2...10.5.3) --- updated-dependencies: - dependency-name: phpunit/phpunit dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- composer.json | 2 +- composer.lock | 26 +++++++++++++------------- 2 files changed, 14 insertions(+), 14 deletions(-) diff --git a/composer.json b/composer.json index 27bd7202..20269ff3 100644 --- a/composer.json +++ b/composer.json @@ -37,7 +37,7 @@ "ergebnis/phpunit-slow-test-detector": "^2.7.0", "fakerphp/faker": "^1.23.0", "infection/infection": "~0.27.9", - "phpunit/phpunit": "^10.5.2", + "phpunit/phpunit": "^10.5.3", "psalm/plugin-phpunit": "~0.18.4", "rector/rector": "~0.18.12", "roave/backward-compatibility-check": "^8.4.0", diff --git a/composer.lock b/composer.lock index 4f135351..b97768ff 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "b8b3a20370606b88ee0e12f668ee82ce", + "content-hash": "54a6eba61cff1f16104e717fe1b1a168", "packages": [ { "name": "ergebnis/json", @@ -3254,16 +3254,16 @@ }, { "name": "phpunit/php-code-coverage", - "version": "10.1.9", + "version": "10.1.10", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/php-code-coverage.git", - "reference": "a56a9ab2f680246adcf3db43f38ddf1765774735" + "reference": "599109c8ca6bae97b23482d557d2874c25a65e59" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/a56a9ab2f680246adcf3db43f38ddf1765774735", - "reference": "a56a9ab2f680246adcf3db43f38ddf1765774735", + "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/599109c8ca6bae97b23482d557d2874c25a65e59", + "reference": "599109c8ca6bae97b23482d557d2874c25a65e59", "shasum": "" }, "require": { @@ -3320,7 +3320,7 @@ "support": { "issues": "https://github.com/sebastianbergmann/php-code-coverage/issues", "security": "https://github.com/sebastianbergmann/php-code-coverage/security/policy", - "source": "https://github.com/sebastianbergmann/php-code-coverage/tree/10.1.9" + "source": "https://github.com/sebastianbergmann/php-code-coverage/tree/10.1.10" }, "funding": [ { @@ -3328,7 +3328,7 @@ "type": "github" } ], - "time": "2023-11-23T12:23:20+00:00" + "time": "2023-12-11T06:28:43+00:00" }, { "name": "phpunit/php-file-iterator", @@ -3575,16 +3575,16 @@ }, { "name": "phpunit/phpunit", - "version": "10.5.2", + "version": "10.5.3", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/phpunit.git", - "reference": "5aedff46afba98dddecaa12349ec044d9103d4fe" + "reference": "6fce887c71076a73f32fd3e0774a6833fc5c7f19" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/5aedff46afba98dddecaa12349ec044d9103d4fe", - "reference": "5aedff46afba98dddecaa12349ec044d9103d4fe", + "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/6fce887c71076a73f32fd3e0774a6833fc5c7f19", + "reference": "6fce887c71076a73f32fd3e0774a6833fc5c7f19", "shasum": "" }, "require": { @@ -3656,7 +3656,7 @@ "support": { "issues": "https://github.com/sebastianbergmann/phpunit/issues", "security": "https://github.com/sebastianbergmann/phpunit/security/policy", - "source": "https://github.com/sebastianbergmann/phpunit/tree/10.5.2" + "source": "https://github.com/sebastianbergmann/phpunit/tree/10.5.3" }, "funding": [ { @@ -3672,7 +3672,7 @@ "type": "tidelift" } ], - "time": "2023-12-05T14:54:33+00:00" + "time": "2023-12-13T07:25:23+00:00" }, { "name": "psalm/plugin-phpunit", From 8fe1cdd21936ccef84946860ac1a40c7441d4437 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20M=C3=B6ller?= Date: Thu, 14 Dec 2023 09:57:04 +0100 Subject: [PATCH 055/111] Fix: Path --- .github/workflows/update.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/update.yaml b/.github/workflows/update.yaml index 0692bb83..825acc0a 100644 --- a/.github/workflows/update.yaml +++ b/.github/workflows/update.yaml @@ -64,7 +64,7 @@ jobs: - [x] updates `schema.json` commit-message: "Enhancement: Update schema.json" - path: "resource/" + path: "test/Fixture/Vendor/Composer/" title: "Enhancement: Update `schema.json`" env: GITHUB_TOKEN: "${{ secrets.ERGEBNIS_BOT_TOKEN }}" From 962f4297faae66d6fa695eae48fa817d9ba6b98a Mon Sep 17 00:00:00 2001 From: ergebnis-bot Date: Thu, 14 Dec 2023 09:02:04 +0000 Subject: [PATCH 056/111] Enhancement: Update schema.json --- test/Fixture/Vendor/Composer/schema.json | 44 ++++++++++++++++++++++++ 1 file changed, 44 insertions(+) diff --git a/test/Fixture/Vendor/Composer/schema.json b/test/Fixture/Vendor/Composer/schema.json index dd66766a..21173ba9 100644 --- a/test/Fixture/Vendor/Composer/schema.json +++ b/test/Fixture/Vendor/Composer/schema.json @@ -395,6 +395,41 @@ ] } }, + "audit": { + "type": "object", + "description": "Security audit configuration options", + "properties": { + "ignore": { + "anyOf": [ + { + "type": "object", + "description": "A list of advisory ids, remote ids or CVE ids (keys) and the explanations (values) for why they're being ignored. The listed items are reported but let the audit command pass.", + "additionalProperties": { + "type": [ + "string", + "string" + ] + } + }, + { + "type": "array", + "description": "A set of advisory ids, remote ids or CVE ids that are reported but let the audit command pass.", + "items": { + "type": "string" + } + } + ] + }, + "abandoned": { + "enum": [ + "ignore", + "report", + "fail" + ], + "description": "Whether abandoned packages should be ignored, reported as problems or cause an audit failure." + } + } + }, "notify-on-install": { "type": "boolean", "description": "Composer allows repositories to define a notification URL, so that they get notified whenever a package from that repository is installed. This option allows you to disable that behaviour, defaults to true." @@ -831,6 +866,15 @@ "additionalProperties": { "type": "string" } + }, + "scripts-aliases": { + "type": [ + "object" + ], + "description": "Aliases for custom commands.", + "additionalProperties": { + "type": "array" + } } }, "definitions": { From 30281a394f946ea9926bb9740b0a96d821f0bca0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20M=C3=B6ller?= Date: Thu, 14 Dec 2023 10:12:39 +0100 Subject: [PATCH 057/111] Enhancement: Update ergebnis/composer-normalize --- .phive/phars.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.phive/phars.xml b/.phive/phars.xml index 2b67938b..09b34434 100644 --- a/.phive/phars.xml +++ b/.phive/phars.xml @@ -1,5 +1,5 @@ - + From 1418fb73664afc4a4b66c02cabe8290377a7a70b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20M=C3=B6ller?= Date: Thu, 14 Dec 2023 10:12:55 +0100 Subject: [PATCH 058/111] Enhancement: Update schema --- test/Fixture/Vendor/Composer/schema.json | 44 ++++++++++++++++++++++++ 1 file changed, 44 insertions(+) diff --git a/test/Fixture/Vendor/Composer/schema.json b/test/Fixture/Vendor/Composer/schema.json index dd66766a..21173ba9 100644 --- a/test/Fixture/Vendor/Composer/schema.json +++ b/test/Fixture/Vendor/Composer/schema.json @@ -395,6 +395,41 @@ ] } }, + "audit": { + "type": "object", + "description": "Security audit configuration options", + "properties": { + "ignore": { + "anyOf": [ + { + "type": "object", + "description": "A list of advisory ids, remote ids or CVE ids (keys) and the explanations (values) for why they're being ignored. The listed items are reported but let the audit command pass.", + "additionalProperties": { + "type": [ + "string", + "string" + ] + } + }, + { + "type": "array", + "description": "A set of advisory ids, remote ids or CVE ids that are reported but let the audit command pass.", + "items": { + "type": "string" + } + } + ] + }, + "abandoned": { + "enum": [ + "ignore", + "report", + "fail" + ], + "description": "Whether abandoned packages should be ignored, reported as problems or cause an audit failure." + } + } + }, "notify-on-install": { "type": "boolean", "description": "Composer allows repositories to define a notification URL, so that they get notified whenever a package from that repository is installed. This option allows you to disable that behaviour, defaults to true." @@ -831,6 +866,15 @@ "additionalProperties": { "type": "string" } + }, + "scripts-aliases": { + "type": [ + "object" + ], + "description": "Aliases for custom commands.", + "additionalProperties": { + "type": "array" + } } }, "definitions": { From f41a29482bdfff37fdd2bbcb1c041aab2b21cba9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20M=C3=B6ller?= Date: Thu, 14 Dec 2023 10:17:07 +0100 Subject: [PATCH 059/111] Fix: Flip condition --- src/Vendor/Composer/RepositoriesHashNormalizer.php | 2 +- src/Vendor/Composer/WildcardSorter.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Vendor/Composer/RepositoriesHashNormalizer.php b/src/Vendor/Composer/RepositoriesHashNormalizer.php index c6438486..693bfe39 100644 --- a/src/Vendor/Composer/RepositoriesHashNormalizer.php +++ b/src/Vendor/Composer/RepositoriesHashNormalizer.php @@ -45,7 +45,7 @@ public function normalize(Json $json): Json return $json; } - if (!\is_object($decoded->repositories) && !\is_array($decoded->repositories)) { + if (!\is_array($decoded->repositories) && !\is_object($decoded->repositories)) { return $json; } diff --git a/src/Vendor/Composer/WildcardSorter.php b/src/Vendor/Composer/WildcardSorter.php index 4714f5e7..46bff27f 100644 --- a/src/Vendor/Composer/WildcardSorter.php +++ b/src/Vendor/Composer/WildcardSorter.php @@ -36,7 +36,7 @@ public function sortPropertyWithWildcard( return; } - if (!\is_object($config[$property]) && !\is_array($config[$property])) { + if (!\is_array($config[$property]) && !\is_object($config[$property])) { return; } From 87634f5e63bbf4a5cc8e2c9d92f911e5bd6c3871 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20M=C3=B6ller?= Date: Thu, 14 Dec 2023 10:10:42 +0100 Subject: [PATCH 060/111] Fix: Add tests for disabling packagist --- .../DisablesPackagist/Yes/normalized.json | 22 +++++++++++++++++++ .../DisablesPackagist/Yes/original.json | 22 +++++++++++++++++++ .../DisablesPackagist/Yes/normalized.json | 20 +++++++++++++++++ .../DisablesPackagist/Yes/original.json | 20 +++++++++++++++++ 4 files changed, 84 insertions(+) create mode 100644 test/Fixture/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/Repositories/HasEntries/Yes/IsArray/DisablesPackagist/Yes/normalized.json create mode 100644 test/Fixture/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/Repositories/HasEntries/Yes/IsArray/DisablesPackagist/Yes/original.json create mode 100644 test/Fixture/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/Repositories/HasEntries/Yes/IsObject/DisablesPackagist/Yes/normalized.json create mode 100644 test/Fixture/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/Repositories/HasEntries/Yes/IsObject/DisablesPackagist/Yes/original.json diff --git a/test/Fixture/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/Repositories/HasEntries/Yes/IsArray/DisablesPackagist/Yes/normalized.json b/test/Fixture/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/Repositories/HasEntries/Yes/IsArray/DisablesPackagist/Yes/normalized.json new file mode 100644 index 00000000..71c52ca4 --- /dev/null +++ b/test/Fixture/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/Repositories/HasEntries/Yes/IsArray/DisablesPackagist/Yes/normalized.json @@ -0,0 +1,22 @@ +{ + "name": "ergebnis/json-normalizer", + "description": "Provides generic and vendor-specific normalizers for normalizing JSON documents.", + "license": "MIT", + "type": "library", + "keywords": [ + "json", + "normalizer" + ], + "authors": [ + { + "name": "Andreas Möller", + "email": "am@localheinz.com" + } + ], + "homepage": "https://getcomposer.org/doc/05-repositories.md#disabling-packagist-org", + "repositories": [ + { + "packagist": false + } + ] +} diff --git a/test/Fixture/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/Repositories/HasEntries/Yes/IsArray/DisablesPackagist/Yes/original.json b/test/Fixture/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/Repositories/HasEntries/Yes/IsArray/DisablesPackagist/Yes/original.json new file mode 100644 index 00000000..5a251d92 --- /dev/null +++ b/test/Fixture/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/Repositories/HasEntries/Yes/IsArray/DisablesPackagist/Yes/original.json @@ -0,0 +1,22 @@ +{ + "name": "ergebnis/json-normalizer", + "description": "Provides generic and vendor-specific normalizers for normalizing JSON documents.", + "license": "MIT", + "type": "library", + "keywords": [ + "json", + "normalizer" + ], + "authors": [ + { + "name": "Andreas Möller", + "email": "am@localheinz.com" + } + ], + "homepage": "https://getcomposer.org/doc/05-repositories.md#disabling-packagist-org", + "repositories": [ + { + "packagist": false + } + ] +} diff --git a/test/Fixture/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/Repositories/HasEntries/Yes/IsObject/DisablesPackagist/Yes/normalized.json b/test/Fixture/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/Repositories/HasEntries/Yes/IsObject/DisablesPackagist/Yes/normalized.json new file mode 100644 index 00000000..0c2328c5 --- /dev/null +++ b/test/Fixture/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/Repositories/HasEntries/Yes/IsObject/DisablesPackagist/Yes/normalized.json @@ -0,0 +1,20 @@ +{ + "name": "ergebnis/json-normalizer", + "description": "Provides generic and vendor-specific normalizers for normalizing JSON documents.", + "license": "MIT", + "type": "library", + "keywords": [ + "json", + "normalizer" + ], + "authors": [ + { + "name": "Andreas Möller", + "email": "am@localheinz.com" + } + ], + "homepage": "https://getcomposer.org/doc/05-repositories.md#disabling-packagist-org", + "repositories": { + "packagist": false + } +} diff --git a/test/Fixture/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/Repositories/HasEntries/Yes/IsObject/DisablesPackagist/Yes/original.json b/test/Fixture/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/Repositories/HasEntries/Yes/IsObject/DisablesPackagist/Yes/original.json new file mode 100644 index 00000000..830ea243 --- /dev/null +++ b/test/Fixture/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Json/IsObject/HasEntries/Yes/HasProperty/Repositories/HasEntries/Yes/IsObject/DisablesPackagist/Yes/original.json @@ -0,0 +1,20 @@ +{ + "name": "ergebnis/json-normalizer", + "description": "Provides generic and vendor-specific normalizers for normalizing JSON documents.", + "license": "MIT", + "type": "library", + "keywords": [ + "json", + "normalizer" + ], + "authors": [ + { + "name": "Andreas Möller", + "email": "am@localheinz.com" + } + ], + "homepage": "https://getcomposer.org/doc/05-repositories.md#disabling-packagist-org", + "repositories": { + "packagist": false + } +} From 574aded66833ab0dcd7130ae4c07d57d69c45348 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20M=C3=B6ller?= Date: Thu, 14 Dec 2023 10:22:39 +0100 Subject: [PATCH 061/111] Fix: Do not attempt to sort item when it disables packagist --- CHANGELOG.md | 5 +++++ psalm-baseline.xml | 5 ----- src/Vendor/Composer/RepositoriesHashNormalizer.php | 7 +++++++ 3 files changed, 12 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 59c28ccf..b51ce27e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), For a full diff see [`4.4.0...main`][4.4.0...main]. +### Fixed + +- Stopped sorting an item in `repositories` when it disables packagist ([#1039]), by [@localheinz] + ## [`4.4.0`][4.4.0] For a full diff see [`4.3.0...4.4.0`][4.3.0...4.4.0]. @@ -664,6 +668,7 @@ For a full diff see [`5d8b3e2...0.1.0`][5d8b3e2...0.1.0]. [#992]: https://github.com/ergebnis/json-normalizer/pull/992 [#1001]: https://github.com/ergebnis/json-normalizer/pull/1001 [#1027]: https://github.com/ergebnis/json-normalizer/pull/1027 +[#1039]: https://github.com/ergebnis/json-normalizer/pull/1039 [@alexis-saransig-lullabot]: https://github.com/alexis-saransig-lullabot [@BackEndTea]: https://github.com/BackEndTea diff --git a/psalm-baseline.xml b/psalm-baseline.xml index 14792add..26d2e945 100644 --- a/psalm-baseline.xml +++ b/psalm-baseline.xml @@ -37,11 +37,6 @@ $value - - - $repository - - $value diff --git a/src/Vendor/Composer/RepositoriesHashNormalizer.php b/src/Vendor/Composer/RepositoriesHashNormalizer.php index 693bfe39..c0c3bb67 100644 --- a/src/Vendor/Composer/RepositoriesHashNormalizer.php +++ b/src/Vendor/Composer/RepositoriesHashNormalizer.php @@ -57,6 +57,13 @@ public function normalize(Json $json): Json } foreach ($repositories as &$repository) { + /** + * @see https://getcomposer.org/doc/05-repositories.md#disabling-packagist-org + */ + if (!\is_array($repository) && !\is_object($repository)) { + continue; + } + $repository = (array) $repository; foreach (self::PROPERTIES_WITH_WILDCARDS as $property) { From d28f36af9763ee6bc4e2a2390c0348963df7881b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20M=C3=B6ller?= Date: Thu, 14 Dec 2023 10:30:24 +0100 Subject: [PATCH 062/111] Enhancement: Prepare release --- .github/SECURITY.md | 4 ++-- CHANGELOG.md | 9 +++++++-- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/.github/SECURITY.md b/.github/SECURITY.md index 0fbc6da4..aebfa1d9 100644 --- a/.github/SECURITY.md +++ b/.github/SECURITY.md @@ -4,13 +4,13 @@ The following versions of `ergebnis/json-normalizer` have active support: -- `^4.4.0` +- `^4.4.1` ## Unsupported Versions The following versions of `ergebnis/json-normalizer` have reached their end of life: -- `<4.4.0` +- `<4.4.1` ## Reporting a Vulnerability diff --git a/CHANGELOG.md b/CHANGELOG.md index b51ce27e..f8ed5be5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,7 +6,11 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), ## Unreleased -For a full diff see [`4.4.0...main`][4.4.0...main]. +For a full diff see [`4.4.1...main`][4.4.1...main]. + +## [`4.4.1`][4.4.1] + +For a full diff see [`4.4.0...4.4.1`][4.4.0...4.4.1]. ### Fixed @@ -536,7 +540,8 @@ For a full diff see [`5d8b3e2...0.1.0`][5d8b3e2...0.1.0]. [4.1.0...4.2.0]: https://github.com/ergebnis/json-normalizer/compare/4.1.0...4.2.0 [4.2.0...4.3.0]: https://github.com/ergebnis/json-normalizer/compare/4.2.0...4.3.0 [4.3.0...4.4.0]: https://github.com/ergebnis/json-normalizer/compare/4.4.0...main -[4.4.0...main]: https://github.com/ergebnis/json-normalizer/compare/4.4.0...main +[4.4.0...4.4.1]: https://github.com/ergebnis/json-normalizer/compare/4.4.0...4.4.1 +[4.4.1...main]: https://github.com/ergebnis/json-normalizer/compare/4.4.1...main [#1]: https://github.com/ergebnis/json-normalizer/pull/1 [#2]: https://github.com/ergebnis/json-normalizer/pull/2 From b6c73467cdc81024c8392b1f0ecbbe7e18421f3a Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 18 Dec 2023 20:47:40 +0000 Subject: [PATCH 063/111] composer(deps-dev): Bump vimeo/psalm from 5.17.0 to 5.18.0 Bumps [vimeo/psalm](https://github.com/vimeo/psalm) from 5.17.0 to 5.18.0. - [Release notes](https://github.com/vimeo/psalm/releases) - [Commits](https://github.com/vimeo/psalm/compare/5.17.0...5.18.0) --- updated-dependencies: - dependency-name: vimeo/psalm dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- composer.json | 2 +- composer.lock | 42 +++++++++++++++++++++--------------------- 2 files changed, 22 insertions(+), 22 deletions(-) diff --git a/composer.json b/composer.json index 20269ff3..684d47dc 100644 --- a/composer.json +++ b/composer.json @@ -43,7 +43,7 @@ "roave/backward-compatibility-check": "^8.4.0", "symfony/filesystem": "^6.4.0", "symfony/finder": "^6.4.0", - "vimeo/psalm": "^5.17.0" + "vimeo/psalm": "^5.18.0" }, "suggest": { "composer/semver": "If you want to use ComposerJsonNormalizer or VersionConstraintNormalizer" diff --git a/composer.lock b/composer.lock index b97768ff..165eec6f 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "54a6eba61cff1f16104e717fe1b1a168", + "content-hash": "4fa27a1a50d5b77e163ee7b013dc7620", "packages": [ { "name": "ergebnis/json", @@ -1944,16 +1944,16 @@ }, { "name": "fidry/cpu-core-counter", - "version": "0.5.1", + "version": "1.0.0", "source": { "type": "git", "url": "https://github.com/theofidry/cpu-core-counter.git", - "reference": "b58e5a3933e541dc286cc91fc4f3898bbc6f1623" + "reference": "85193c0b0cb5c47894b5eaec906e946f054e7077" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/theofidry/cpu-core-counter/zipball/b58e5a3933e541dc286cc91fc4f3898bbc6f1623", - "reference": "b58e5a3933e541dc286cc91fc4f3898bbc6f1623", + "url": "https://api.github.com/repos/theofidry/cpu-core-counter/zipball/85193c0b0cb5c47894b5eaec906e946f054e7077", + "reference": "85193c0b0cb5c47894b5eaec906e946f054e7077", "shasum": "" }, "require": { @@ -1961,13 +1961,13 @@ }, "require-dev": { "fidry/makefile": "^0.2.0", + "fidry/php-cs-fixer-config": "^1.1.2", "phpstan/extension-installer": "^1.2.0", "phpstan/phpstan": "^1.9.2", "phpstan/phpstan-deprecation-rules": "^1.0.0", "phpstan/phpstan-phpunit": "^1.2.2", "phpstan/phpstan-strict-rules": "^1.4.4", - "phpunit/phpunit": "^9.5.26 || ^8.5.31", - "theofidry/php-cs-fixer-config": "^1.0", + "phpunit/phpunit": "^8.5.31 || ^9.5.26", "webmozarts/strict-phpunit": "^7.5" }, "type": "library", @@ -1993,7 +1993,7 @@ ], "support": { "issues": "https://github.com/theofidry/cpu-core-counter/issues", - "source": "https://github.com/theofidry/cpu-core-counter/tree/0.5.1" + "source": "https://github.com/theofidry/cpu-core-counter/tree/1.0.0" }, "funding": [ { @@ -2001,7 +2001,7 @@ "type": "github" } ], - "time": "2022-12-24T12:35:10+00:00" + "time": "2023-09-17T21:38:23+00:00" }, { "name": "friendsofphp/php-cs-fixer", @@ -3145,16 +3145,16 @@ }, { "name": "phpstan/phpdoc-parser", - "version": "1.24.4", + "version": "1.24.5", "source": { "type": "git", "url": "https://github.com/phpstan/phpdoc-parser.git", - "reference": "6bd0c26f3786cd9b7c359675cb789e35a8e07496" + "reference": "fedf211ff14ec8381c9bf5714e33a7a552dd1acc" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpstan/phpdoc-parser/zipball/6bd0c26f3786cd9b7c359675cb789e35a8e07496", - "reference": "6bd0c26f3786cd9b7c359675cb789e35a8e07496", + "url": "https://api.github.com/repos/phpstan/phpdoc-parser/zipball/fedf211ff14ec8381c9bf5714e33a7a552dd1acc", + "reference": "fedf211ff14ec8381c9bf5714e33a7a552dd1acc", "shasum": "" }, "require": { @@ -3186,9 +3186,9 @@ "description": "PHPDoc parser with support for nullable, intersection and generic types", "support": { "issues": "https://github.com/phpstan/phpdoc-parser/issues", - "source": "https://github.com/phpstan/phpdoc-parser/tree/1.24.4" + "source": "https://github.com/phpstan/phpdoc-parser/tree/1.24.5" }, - "time": "2023-11-26T18:29:22+00:00" + "time": "2023-12-16T09:33:33+00:00" }, { "name": "phpstan/phpstan", @@ -7115,16 +7115,16 @@ }, { "name": "vimeo/psalm", - "version": "5.17.0", + "version": "5.18.0", "source": { "type": "git", "url": "https://github.com/vimeo/psalm.git", - "reference": "c620f6e80d0abfca532b00bda366062aaedf6e5d" + "reference": "b113f3ed0259fd6e212d87c3df80eec95a6abf19" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/vimeo/psalm/zipball/c620f6e80d0abfca532b00bda366062aaedf6e5d", - "reference": "c620f6e80d0abfca532b00bda366062aaedf6e5d", + "url": "https://api.github.com/repos/vimeo/psalm/zipball/b113f3ed0259fd6e212d87c3df80eec95a6abf19", + "reference": "b113f3ed0259fd6e212d87c3df80eec95a6abf19", "shasum": "" }, "require": { @@ -7143,7 +7143,7 @@ "ext-tokenizer": "*", "felixfbecker/advanced-json-rpc": "^3.1", "felixfbecker/language-server-protocol": "^1.5.2", - "fidry/cpu-core-counter": "^0.4.1 || ^0.5.1", + "fidry/cpu-core-counter": "^0.4.1 || ^0.5.1 || ^1.0.0", "netresearch/jsonmapper": "^1.0 || ^2.0 || ^3.0 || ^4.0", "nikic/php-parser": "^4.16", "php": "^7.4 || ~8.0.0 || ~8.1.0 || ~8.2.0 || ~8.3.0", @@ -7221,7 +7221,7 @@ "issues": "https://github.com/vimeo/psalm/issues", "source": "https://github.com/vimeo/psalm" }, - "time": "2023-12-03T20:21:41+00:00" + "time": "2023-12-16T09:37:35+00:00" }, { "name": "webmozart/assert", From e3fe48e508fcf8528b2e464d43d036086d5abdc9 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 18 Dec 2023 20:59:00 +0000 Subject: [PATCH 064/111] github-actions(deps): Bump ergebnis/.github from 1.8.0 to 1.9.0 Bumps [ergebnis/.github](https://github.com/ergebnis/.github) from 1.8.0 to 1.9.0. - [Release notes](https://github.com/ergebnis/.github/releases) - [Changelog](https://github.com/ergebnis/.github/blob/main/CHANGELOG.md) - [Commits](https://github.com/ergebnis/.github/compare/1.8.0...1.9.0) --- updated-dependencies: - dependency-name: ergebnis/.github dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- .github/workflows/integrate.yaml | 40 ++++++++++++++++---------------- .github/workflows/merge.yaml | 8 +++---- .github/workflows/release.yaml | 2 +- .github/workflows/renew.yaml | 4 ++-- .github/workflows/triage.yaml | 2 +- .github/workflows/update.yaml | 4 ++-- 6 files changed, 30 insertions(+), 30 deletions(-) diff --git a/.github/workflows/integrate.yaml b/.github/workflows/integrate.yaml index de051c6d..f6589c90 100644 --- a/.github/workflows/integrate.yaml +++ b/.github/workflows/integrate.yaml @@ -47,7 +47,7 @@ jobs: run: "composer validate --ansi --strict" - name: "Determine composer cache directory" - uses: "ergebnis/.github/actions/composer/determine-cache-directory@1.8.0" + uses: "ergebnis/.github/actions/composer/determine-cache-directory@1.9.0" - name: "Cache dependencies installed with composer" uses: "actions/cache@v3.3.2" @@ -57,7 +57,7 @@ jobs: restore-keys: "php-${{ matrix.php-version }}-composer-${{ matrix.dependencies }}-" - name: "Install ${{ matrix.dependencies }} dependencies with composer" - uses: "ergebnis/.github/actions/composer/install@1.8.0" + uses: "ergebnis/.github/actions/composer/install@1.9.0" with: dependencies: "${{ matrix.dependencies }}" @@ -100,7 +100,7 @@ jobs: run: "composer validate --ansi --strict" - name: "Determine composer cache directory" - uses: "ergebnis/.github/actions/composer/determine-cache-directory@1.8.0" + uses: "ergebnis/.github/actions/composer/determine-cache-directory@1.9.0" - name: "Cache dependencies installed with composer" uses: "actions/cache@v3.3.2" @@ -110,7 +110,7 @@ jobs: restore-keys: "php-${{ matrix.php-version }}-composer-${{ matrix.dependencies }}-" - name: "Install ${{ matrix.dependencies }} dependencies with composer" - uses: "ergebnis/.github/actions/composer/install@1.8.0" + uses: "ergebnis/.github/actions/composer/install@1.9.0" with: dependencies: "${{ matrix.dependencies }}" @@ -166,7 +166,7 @@ jobs: run: "composer validate --ansi --strict" - name: "Determine composer cache directory" - uses: "ergebnis/.github/actions/composer/determine-cache-directory@1.8.0" + uses: "ergebnis/.github/actions/composer/determine-cache-directory@1.9.0" - name: "Cache dependencies installed with composer" uses: "actions/cache@v3.3.2" @@ -176,12 +176,12 @@ jobs: restore-keys: "php-${{ matrix.php-version }}-composer-${{ matrix.dependencies }}-" - name: "Install ${{ matrix.dependencies }} dependencies with composer" - uses: "ergebnis/.github/actions/composer/install@1.8.0" + uses: "ergebnis/.github/actions/composer/install@1.9.0" with: dependencies: "${{ matrix.dependencies }}" - name: "Install dependencies with phive" - uses: "ergebnis/.github/actions/phive/install@1.8.0" + uses: "ergebnis/.github/actions/phive/install@1.9.0" with: trust-gpg-keys: "0xC00543248C87FB13,0x033E5F8D801A2F8D" @@ -237,7 +237,7 @@ jobs: run: "composer validate --ansi --strict" - name: "Determine composer cache directory" - uses: "ergebnis/.github/actions/composer/determine-cache-directory@1.8.0" + uses: "ergebnis/.github/actions/composer/determine-cache-directory@1.9.0" - name: "Cache dependencies installed with composer" uses: "actions/cache@v3.3.2" @@ -247,12 +247,12 @@ jobs: restore-keys: "php-${{ matrix.php-version }}-composer-${{ matrix.dependencies }}-" - name: "Install ${{ matrix.dependencies }} dependencies with composer" - uses: "ergebnis/.github/actions/composer/install@1.8.0" + uses: "ergebnis/.github/actions/composer/install@1.9.0" with: dependencies: "${{ matrix.dependencies }}" - name: "Install dependencies with phive" - uses: "ergebnis/.github/actions/phive/install@1.8.0" + uses: "ergebnis/.github/actions/phive/install@1.9.0" with: trust-gpg-keys: "0xC00543248C87FB13,0x033E5F8D801A2F8D" @@ -292,7 +292,7 @@ jobs: run: "composer validate --ansi --strict" - name: "Determine composer cache directory" - uses: "ergebnis/.github/actions/composer/determine-cache-directory@1.8.0" + uses: "ergebnis/.github/actions/composer/determine-cache-directory@1.9.0" - name: "Cache dependencies installed with composer" uses: "actions/cache@v3.3.2" @@ -302,7 +302,7 @@ jobs: restore-keys: "php-${{ matrix.php-version }}-composer-${{ matrix.dependencies }}-" - name: "Install ${{ matrix.dependencies }} dependencies with composer" - uses: "ergebnis/.github/actions/composer/install@1.8.0" + uses: "ergebnis/.github/actions/composer/install@1.9.0" with: dependencies: "${{ matrix.dependencies }}" @@ -344,7 +344,7 @@ jobs: run: "composer validate --ansi --strict" - name: "Determine composer cache directory" - uses: "ergebnis/.github/actions/composer/determine-cache-directory@1.8.0" + uses: "ergebnis/.github/actions/composer/determine-cache-directory@1.9.0" - name: "Cache dependencies installed with composer" uses: "actions/cache@v3.3.2" @@ -354,7 +354,7 @@ jobs: restore-keys: "php-${{ matrix.php-version }}-composer-${{ matrix.dependencies }}-" - name: "Install ${{ matrix.dependencies }} dependencies with composer" - uses: "ergebnis/.github/actions/composer/install@1.8.0" + uses: "ergebnis/.github/actions/composer/install@1.9.0" with: dependencies: "${{ matrix.dependencies }}" @@ -406,7 +406,7 @@ jobs: run: "composer validate --ansi --strict" - name: "Determine composer cache directory" - uses: "ergebnis/.github/actions/composer/determine-cache-directory@1.8.0" + uses: "ergebnis/.github/actions/composer/determine-cache-directory@1.9.0" - name: "Cache dependencies installed with composer" uses: "actions/cache@v3.3.2" @@ -416,7 +416,7 @@ jobs: restore-keys: "php-${{ matrix.php-version }}-composer-${{ matrix.dependencies }}-" - name: "Install ${{ matrix.dependencies }} dependencies with composer" - uses: "ergebnis/.github/actions/composer/install@1.8.0" + uses: "ergebnis/.github/actions/composer/install@1.9.0" with: dependencies: "${{ matrix.dependencies }}" @@ -456,7 +456,7 @@ jobs: run: "composer validate --ansi --strict" - name: "Determine composer cache directory" - uses: "ergebnis/.github/actions/composer/determine-cache-directory@1.8.0" + uses: "ergebnis/.github/actions/composer/determine-cache-directory@1.9.0" - name: "Cache dependencies installed with composer" uses: "actions/cache@v3.3.2" @@ -466,7 +466,7 @@ jobs: restore-keys: "php-${{ matrix.php-version }}-composer-${{ matrix.dependencies }}-" - name: "Install ${{ matrix.dependencies }} dependencies with composer" - uses: "ergebnis/.github/actions/composer/install@1.8.0" + uses: "ergebnis/.github/actions/composer/install@1.9.0" with: dependencies: "${{ matrix.dependencies }}" @@ -517,7 +517,7 @@ jobs: run: "composer validate --ansi --strict" - name: "Determine composer cache directory" - uses: "ergebnis/.github/actions/composer/determine-cache-directory@1.8.0" + uses: "ergebnis/.github/actions/composer/determine-cache-directory@1.9.0" - name: "Cache dependencies installed with composer" uses: "actions/cache@v3.3.2" @@ -531,7 +531,7 @@ jobs: run: "composer config platform.php --ansi --unset" - name: "Install ${{ matrix.dependencies }} dependencies with composer" - uses: "ergebnis/.github/actions/composer/install@1.8.0" + uses: "ergebnis/.github/actions/composer/install@1.9.0" with: dependencies: "${{ matrix.dependencies }}" diff --git a/.github/workflows/merge.yaml b/.github/workflows/merge.yaml index 5b326809..eab8b476 100644 --- a/.github/workflows/merge.yaml +++ b/.github/workflows/merge.yaml @@ -27,23 +27,23 @@ jobs: steps: - name: "Request review from @ergebnis-bot" - uses: "ergebnis/.github/actions/github/pull-request/request-review@1.8.0" + uses: "ergebnis/.github/actions/github/pull-request/request-review@1.9.0" with: github-token: "${{ secrets.ERGEBNIS_BOT_TOKEN }}" reviewer: "ergebnis-bot" - name: "Assign @ergebnis-bot" - uses: "ergebnis/.github/actions/github/pull-request/add-assignee@1.8.0" + uses: "ergebnis/.github/actions/github/pull-request/add-assignee@1.9.0" with: assignee: "ergebnis-bot" github-token: "${{ secrets.ERGEBNIS_BOT_TOKEN }}" - name: "Approve pull request" - uses: "ergebnis/.github/actions/github/pull-request/approve@1.8.0" + uses: "ergebnis/.github/actions/github/pull-request/approve@1.9.0" with: github-token: "${{ secrets.ERGEBNIS_BOT_TOKEN }}" - name: "Merge pull request" - uses: "ergebnis/.github/actions/github/pull-request/merge@1.8.0" + uses: "ergebnis/.github/actions/github/pull-request/merge@1.9.0" with: github-token: "${{ secrets.ERGEBNIS_BOT_TOKEN }}" diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index bbed7cdb..dc949a58 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -17,6 +17,6 @@ jobs: steps: - name: "Create release" - uses: "ergebnis/.github/actions/github/release/create@1.8.0" + uses: "ergebnis/.github/actions/github/release/create@1.9.0" with: github-token: "${{ secrets.ERGEBNIS_BOT_TOKEN }}" diff --git a/.github/workflows/renew.yaml b/.github/workflows/renew.yaml index 17294c16..9dbaa5cc 100644 --- a/.github/workflows/renew.yaml +++ b/.github/workflows/renew.yaml @@ -42,7 +42,7 @@ jobs: run: "composer validate --ansi --strict" - name: "Determine composer cache directory" - uses: "ergebnis/.github/actions/composer/determine-cache-directory@1.8.0" + uses: "ergebnis/.github/actions/composer/determine-cache-directory@1.9.0" - name: "Cache dependencies installed with composer" uses: "actions/cache@v3.3.2" @@ -52,7 +52,7 @@ jobs: restore-keys: "php-${{ matrix.php-version }}-composer-${{ matrix.dependencies }}-" - name: "Install ${{ matrix.dependencies }} dependencies with composer" - uses: "ergebnis/.github/actions/composer/install@1.8.0" + uses: "ergebnis/.github/actions/composer/install@1.9.0" with: dependencies: "${{ matrix.dependencies }}" diff --git a/.github/workflows/triage.yaml b/.github/workflows/triage.yaml index 6b1217b6..9a2c6308 100644 --- a/.github/workflows/triage.yaml +++ b/.github/workflows/triage.yaml @@ -17,6 +17,6 @@ jobs: steps: - name: "Add labels based on branch name" - uses: "ergebnis/.github/actions/github/pull-request/add-label-based-on-branch-name@1.8.0" + uses: "ergebnis/.github/actions/github/pull-request/add-label-based-on-branch-name@1.9.0" with: github-token: "${{ secrets.ERGEBNIS_BOT_TOKEN }}" diff --git a/.github/workflows/update.yaml b/.github/workflows/update.yaml index 825acc0a..4b5dbf3b 100644 --- a/.github/workflows/update.yaml +++ b/.github/workflows/update.yaml @@ -37,7 +37,7 @@ jobs: run: "git diff test/Fixture/Vendor/Composer/schema.json" - name: "Determine composer cache directory" - uses: "ergebnis/.github/actions/composer/determine-cache-directory@1.8.0" + uses: "ergebnis/.github/actions/composer/determine-cache-directory@1.9.0" - name: "Cache dependencies installed with composer" uses: "actions/cache@v3.3.2" @@ -47,7 +47,7 @@ jobs: restore-keys: "php-${{ matrix.php-version }}-composer-${{ matrix.dependencies }}-" - name: "Install ${{ matrix.dependencies }} dependencies with composer" - uses: "ergebnis/.github/actions/composer/install@1.8.0" + uses: "ergebnis/.github/actions/composer/install@1.9.0" with: dependencies: "${{ matrix.dependencies }}" From 46b11cb6be581c741f289560e06e828b6c293661 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 20 Dec 2023 20:59:34 +0000 Subject: [PATCH 065/111] composer(deps-dev): Bump roave/backward-compatibility-check Bumps [roave/backward-compatibility-check](https://github.com/Roave/BackwardCompatibilityCheck) from 8.4.0 to 8.6.0. - [Release notes](https://github.com/Roave/BackwardCompatibilityCheck/releases) - [Commits](https://github.com/Roave/BackwardCompatibilityCheck/compare/8.4.0...8.6.0) --- updated-dependencies: - dependency-name: roave/backward-compatibility-check dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- composer.json | 2 +- composer.lock | 77 +++++++++++++++++++++++++-------------------------- 2 files changed, 39 insertions(+), 40 deletions(-) diff --git a/composer.json b/composer.json index 684d47dc..ed2c134f 100644 --- a/composer.json +++ b/composer.json @@ -40,7 +40,7 @@ "phpunit/phpunit": "^10.5.3", "psalm/plugin-phpunit": "~0.18.4", "rector/rector": "~0.18.12", - "roave/backward-compatibility-check": "^8.4.0", + "roave/backward-compatibility-check": "^8.6.0", "symfony/filesystem": "^6.4.0", "symfony/finder": "^6.4.0", "vimeo/psalm": "^5.18.0" diff --git a/composer.lock b/composer.lock index 165eec6f..a5925fd1 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "4fa27a1a50d5b77e163ee7b013dc7620", + "content-hash": "13133b290db990465830b85b3eff12b4", "packages": [ { "name": "ergebnis/json", @@ -742,16 +742,16 @@ }, { "name": "composer/ca-bundle", - "version": "1.3.7", + "version": "1.4.0", "source": { "type": "git", "url": "https://github.com/composer/ca-bundle.git", - "reference": "76e46335014860eec1aa5a724799a00a2e47cc85" + "reference": "b66d11b7479109ab547f9405b97205640b17d385" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/composer/ca-bundle/zipball/76e46335014860eec1aa5a724799a00a2e47cc85", - "reference": "76e46335014860eec1aa5a724799a00a2e47cc85", + "url": "https://api.github.com/repos/composer/ca-bundle/zipball/b66d11b7479109ab547f9405b97205640b17d385", + "reference": "b66d11b7479109ab547f9405b97205640b17d385", "shasum": "" }, "require": { @@ -763,7 +763,7 @@ "phpstan/phpstan": "^0.12.55", "psr/log": "^1.0", "symfony/phpunit-bridge": "^4.2 || ^5", - "symfony/process": "^2.5 || ^3.0 || ^4.0 || ^5.0 || ^6.0" + "symfony/process": "^2.5 || ^3.0 || ^4.0 || ^5.0 || ^6.0 || ^7.0" }, "type": "library", "extra": { @@ -798,7 +798,7 @@ "support": { "irc": "irc://irc.freenode.org/composer", "issues": "https://github.com/composer/ca-bundle/issues", - "source": "https://github.com/composer/ca-bundle/tree/1.3.7" + "source": "https://github.com/composer/ca-bundle/tree/1.4.0" }, "funding": [ { @@ -814,7 +814,7 @@ "type": "tidelift" } ], - "time": "2023-08-30T09:31:38+00:00" + "time": "2023-12-18T12:05:55+00:00" }, { "name": "composer/class-map-generator", @@ -2405,16 +2405,16 @@ }, { "name": "jetbrains/phpstorm-stubs", - "version": "v2023.2", + "version": "v2023.3", "source": { "type": "git", "url": "https://github.com/JetBrains/phpstorm-stubs.git", - "reference": "3bb9c8a1050ad324c2dca7964487fa9f081f1005" + "reference": "99d8bcab934ae5362f33660b1cd4b8c4d617c40b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/JetBrains/phpstorm-stubs/zipball/3bb9c8a1050ad324c2dca7964487fa9f081f1005", - "reference": "3bb9c8a1050ad324c2dca7964487fa9f081f1005", + "url": "https://api.github.com/repos/JetBrains/phpstorm-stubs/zipball/99d8bcab934ae5362f33660b1cd4b8c4d617c40b", + "reference": "99d8bcab934ae5362f33660b1cd4b8c4d617c40b", "shasum": "" }, "require-dev": { @@ -2447,9 +2447,9 @@ "type" ], "support": { - "source": "https://github.com/JetBrains/phpstorm-stubs/tree/v2023.2" + "source": "https://github.com/JetBrains/phpstorm-stubs/tree/v2023.3" }, - "time": "2023-07-14T12:50:15+00:00" + "time": "2023-11-01T18:52:29+00:00" }, { "name": "kubawerlos/php-cs-fixer-custom-fixers", @@ -4090,22 +4090,21 @@ }, { "name": "roave/backward-compatibility-check", - "version": "8.4.0", + "version": "8.6.0", "source": { "type": "git", "url": "https://github.com/Roave/BackwardCompatibilityCheck.git", - "reference": "9b45bc3431f3dc651a8f2d6e199ca0d1e60a9978" + "reference": "5e533114a996f73a7551846c06c59a80185f4d16" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/Roave/BackwardCompatibilityCheck/zipball/9b45bc3431f3dc651a8f2d6e199ca0d1e60a9978", - "reference": "9b45bc3431f3dc651a8f2d6e199ca0d1e60a9978", + "url": "https://api.github.com/repos/Roave/BackwardCompatibilityCheck/zipball/5e533114a996f73a7551846c06c59a80185f4d16", + "reference": "5e533114a996f73a7551846c06c59a80185f4d16", "shasum": "" }, "require": { "azjezz/psl": "^2.3.1", - "composer/composer": "^2.5.1", - "ext-json": "*", + "composer/composer": "^2.6.4", "nikic/php-parser": "^4.15.3", "nikolaposa/version": "^4.1.0", "ocramius/package-versions": "^2.7.0", @@ -4153,28 +4152,28 @@ "description": "Tool to compare two revisions of a public API to check for BC breaks", "support": { "issues": "https://github.com/Roave/BackwardCompatibilityCheck/issues", - "source": "https://github.com/Roave/BackwardCompatibilityCheck/tree/8.4.0" + "source": "https://github.com/Roave/BackwardCompatibilityCheck/tree/8.6.0" }, - "time": "2023-11-25T16:28:35+00:00" + "time": "2023-12-20T14:01:33+00:00" }, { "name": "roave/better-reflection", - "version": "6.19.0", + "version": "6.20.0", "source": { "type": "git", "url": "https://github.com/Roave/BetterReflection.git", - "reference": "92e9cbd9ccfea0924135a29f4be3959cd59cf54c" + "reference": "a1fcefb03ced1e8f3a5be4d92e23bb9e95f51bca" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/Roave/BetterReflection/zipball/92e9cbd9ccfea0924135a29f4be3959cd59cf54c", - "reference": "92e9cbd9ccfea0924135a29f4be3959cd59cf54c", + "url": "https://api.github.com/repos/Roave/BetterReflection/zipball/a1fcefb03ced1e8f3a5be4d92e23bb9e95f51bca", + "reference": "a1fcefb03ced1e8f3a5be4d92e23bb9e95f51bca", "shasum": "" }, "require": { "ext-json": "*", - "jetbrains/phpstorm-stubs": "2023.2", - "nikic/php-parser": "^4.17.1", + "jetbrains/phpstorm-stubs": "2023.3", + "nikic/php-parser": "^4.18.0", "php": "~8.1.0 || ~8.2.0 || ~8.3.0", "roave/signature": "^1.8.0" }, @@ -4183,9 +4182,9 @@ }, "require-dev": { "doctrine/coding-standard": "^12.0.0", - "phpstan/phpstan": "^1.10.47", + "phpstan/phpstan": "^1.10.50", "phpstan/phpstan-phpunit": "^1.3.15", - "phpunit/phpunit": "^10.5.2", + "phpunit/phpunit": "^10.5.3", "roave/infection-static-analysis-plugin": "^1.34.0", "vimeo/psalm": "5.17.0" }, @@ -4227,9 +4226,9 @@ "description": "Better Reflection - an improved code reflection API", "support": { "issues": "https://github.com/Roave/BetterReflection/issues", - "source": "https://github.com/Roave/BetterReflection/tree/6.19.0" + "source": "https://github.com/Roave/BetterReflection/tree/6.20.0" }, - "time": "2023-12-07T10:58:42+00:00" + "time": "2023-12-16T12:01:31+00:00" }, { "name": "roave/signature", @@ -5317,16 +5316,16 @@ }, { "name": "seld/jsonlint", - "version": "1.10.0", + "version": "1.10.1", "source": { "type": "git", "url": "https://github.com/Seldaek/jsonlint.git", - "reference": "594fd6462aad8ecee0b45ca5045acea4776667f1" + "reference": "76d449a358ece77d6f1d6331c68453e657172202" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/Seldaek/jsonlint/zipball/594fd6462aad8ecee0b45ca5045acea4776667f1", - "reference": "594fd6462aad8ecee0b45ca5045acea4776667f1", + "url": "https://api.github.com/repos/Seldaek/jsonlint/zipball/76d449a358ece77d6f1d6331c68453e657172202", + "reference": "76d449a358ece77d6f1d6331c68453e657172202", "shasum": "" }, "require": { @@ -5353,7 +5352,7 @@ { "name": "Jordi Boggiano", "email": "j.boggiano@seld.be", - "homepage": "http://seld.be" + "homepage": "https://seld.be" } ], "description": "JSON Linter", @@ -5365,7 +5364,7 @@ ], "support": { "issues": "https://github.com/Seldaek/jsonlint/issues", - "source": "https://github.com/Seldaek/jsonlint/tree/1.10.0" + "source": "https://github.com/Seldaek/jsonlint/tree/1.10.1" }, "funding": [ { @@ -5377,7 +5376,7 @@ "type": "tidelift" } ], - "time": "2023-05-11T13:16:46+00:00" + "time": "2023-12-18T13:03:25+00:00" }, { "name": "seld/phar-utils", From 0fa5c1ed9b16be1289ad8eab3179e4cd30273557 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 20 Dec 2023 21:02:31 +0000 Subject: [PATCH 066/111] composer(deps-dev): Bump rector/rector from 0.18.12 to 0.18.13 Bumps [rector/rector](https://github.com/rectorphp/rector) from 0.18.12 to 0.18.13. - [Release notes](https://github.com/rectorphp/rector/releases) - [Commits](https://github.com/rectorphp/rector/compare/0.18.12...0.18.13) --- updated-dependencies: - dependency-name: rector/rector dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- composer.json | 2 +- composer.lock | 24 ++++++++++++------------ 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/composer.json b/composer.json index ed2c134f..bdcd9e55 100644 --- a/composer.json +++ b/composer.json @@ -39,7 +39,7 @@ "infection/infection": "~0.27.9", "phpunit/phpunit": "^10.5.3", "psalm/plugin-phpunit": "~0.18.4", - "rector/rector": "~0.18.12", + "rector/rector": "~0.18.13", "roave/backward-compatibility-check": "^8.6.0", "symfony/filesystem": "^6.4.0", "symfony/finder": "^6.4.0", diff --git a/composer.lock b/composer.lock index a5925fd1..125bdb88 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "13133b290db990465830b85b3eff12b4", + "content-hash": "4b02d1ad5b43778e733b5e7dd1ed4159", "packages": [ { "name": "ergebnis/json", @@ -3192,16 +3192,16 @@ }, { "name": "phpstan/phpstan", - "version": "1.10.47", + "version": "1.10.50", "source": { "type": "git", "url": "https://github.com/phpstan/phpstan.git", - "reference": "84dbb33b520ea28b6cf5676a3941f4bae1c1ff39" + "reference": "06a98513ac72c03e8366b5a0cb00750b487032e4" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpstan/phpstan/zipball/84dbb33b520ea28b6cf5676a3941f4bae1c1ff39", - "reference": "84dbb33b520ea28b6cf5676a3941f4bae1c1ff39", + "url": "https://api.github.com/repos/phpstan/phpstan/zipball/06a98513ac72c03e8366b5a0cb00750b487032e4", + "reference": "06a98513ac72c03e8366b5a0cb00750b487032e4", "shasum": "" }, "require": { @@ -3250,7 +3250,7 @@ "type": "tidelift" } ], - "time": "2023-12-01T15:19:17+00:00" + "time": "2023-12-13T10:59:42+00:00" }, { "name": "phpunit/php-code-coverage", @@ -3962,16 +3962,16 @@ }, { "name": "rector/rector", - "version": "0.18.12", + "version": "0.18.13", "source": { "type": "git", "url": "https://github.com/rectorphp/rector.git", - "reference": "ed8d5352a3faa69e4a5e315896abffd4bc29c828" + "reference": "f8011a76d36aa4f839f60f3b4f97707d97176618" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/rectorphp/rector/zipball/ed8d5352a3faa69e4a5e315896abffd4bc29c828", - "reference": "ed8d5352a3faa69e4a5e315896abffd4bc29c828", + "url": "https://api.github.com/repos/rectorphp/rector/zipball/f8011a76d36aa4f839f60f3b4f97707d97176618", + "reference": "f8011a76d36aa4f839f60f3b4f97707d97176618", "shasum": "" }, "require": { @@ -4006,7 +4006,7 @@ ], "support": { "issues": "https://github.com/rectorphp/rector/issues", - "source": "https://github.com/rectorphp/rector/tree/0.18.12" + "source": "https://github.com/rectorphp/rector/tree/0.18.13" }, "funding": [ { @@ -4014,7 +4014,7 @@ "type": "github" } ], - "time": "2023-12-04T08:47:30+00:00" + "time": "2023-12-20T16:08:01+00:00" }, { "name": "revolt/event-loop", From c4f1f2fbe15eb5032337efbc555d7155e4c8d009 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 21 Dec 2023 20:20:12 +0000 Subject: [PATCH 067/111] composer(deps-dev): Bump ergebnis/phpunit-slow-test-detector Bumps [ergebnis/phpunit-slow-test-detector](https://github.com/ergebnis/phpunit-slow-test-detector) from 2.7.0 to 2.8.0. - [Release notes](https://github.com/ergebnis/phpunit-slow-test-detector/releases) - [Changelog](https://github.com/ergebnis/phpunit-slow-test-detector/blob/main/CHANGELOG.md) - [Commits](https://github.com/ergebnis/phpunit-slow-test-detector/compare/2.7.0...2.8.0) --- updated-dependencies: - dependency-name: ergebnis/phpunit-slow-test-detector dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- composer.json | 2 +- composer.lock | 64 +++++++++++++++++++++++++-------------------------- 2 files changed, 33 insertions(+), 33 deletions(-) diff --git a/composer.json b/composer.json index bdcd9e55..b3726f92 100644 --- a/composer.json +++ b/composer.json @@ -34,7 +34,7 @@ "ergebnis/data-provider": "^3.2.0", "ergebnis/license": "^2.4.0", "ergebnis/php-cs-fixer-config": "~6.14.0", - "ergebnis/phpunit-slow-test-detector": "^2.7.0", + "ergebnis/phpunit-slow-test-detector": "^2.8.0", "fakerphp/faker": "^1.23.0", "infection/infection": "~0.27.9", "phpunit/phpunit": "^10.5.3", diff --git a/composer.lock b/composer.lock index 125bdb88..27064117 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "4b02d1ad5b43778e733b5e7dd1ed4159", + "content-hash": "d45dbe0917074e3486c15316c9f01c46", "packages": [ { "name": "ergebnis/json", @@ -1646,31 +1646,31 @@ }, { "name": "ergebnis/phpunit-slow-test-detector", - "version": "2.7.0", + "version": "2.8.0", "source": { "type": "git", "url": "https://github.com/ergebnis/phpunit-slow-test-detector.git", - "reference": "c101046731d256046efdb37f3c1800897a6cccfe" + "reference": "0afb91c574c7b0561d132234a02316c3138cf44a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/ergebnis/phpunit-slow-test-detector/zipball/c101046731d256046efdb37f3c1800897a6cccfe", - "reference": "c101046731d256046efdb37f3c1800897a6cccfe", + "url": "https://api.github.com/repos/ergebnis/phpunit-slow-test-detector/zipball/0afb91c574c7b0561d132234a02316c3138cf44a", + "reference": "0afb91c574c7b0561d132234a02316c3138cf44a", "shasum": "" }, "require": { "php": "~7.4.0 || ~8.0.0 || ~8.1.0 || ~8.2.0 || ~8.3.0", - "phpunit/phpunit": "^8.5.19 || ^9.0.0 || ^10.0.0" + "phpunit/phpunit": "^7.1.0 || ^8.5.19 || ^9.0.0 || ^10.0.0" }, "require-dev": { "ergebnis/composer-normalize": "^2.28.3", "ergebnis/data-provider": "^3.2.0", "ergebnis/license": "^2.4.0", - "ergebnis/php-cs-fixer-config": "^6.13.0", + "ergebnis/php-cs-fixer-config": "^6.14.0", "fakerphp/faker": "^1.23.0", "psalm/plugin-phpunit": "~0.18.4", - "rector/rector": "~0.18.11", - "vimeo/psalm": "^5.16.0" + "rector/rector": "~0.18.13", + "vimeo/psalm": "^5.18.0" }, "type": "library", "extra": { @@ -1709,7 +1709,7 @@ "security": "https://github.com/ergebnis/phpunit-slow-test-detector/blob/main/.github/SECURITY.md", "source": "https://github.com/ergebnis/phpunit-slow-test-detector" }, - "time": "2023-12-03T14:14:57+00:00" + "time": "2023-12-21T15:10:46+00:00" }, { "name": "erickskrauch/php-cs-fixer-custom-fixers", @@ -3254,23 +3254,23 @@ }, { "name": "phpunit/php-code-coverage", - "version": "10.1.10", + "version": "10.1.11", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/php-code-coverage.git", - "reference": "599109c8ca6bae97b23482d557d2874c25a65e59" + "reference": "78c3b7625965c2513ee96569a4dbb62601784145" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/599109c8ca6bae97b23482d557d2874c25a65e59", - "reference": "599109c8ca6bae97b23482d557d2874c25a65e59", + "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/78c3b7625965c2513ee96569a4dbb62601784145", + "reference": "78c3b7625965c2513ee96569a4dbb62601784145", "shasum": "" }, "require": { "ext-dom": "*", "ext-libxml": "*", "ext-xmlwriter": "*", - "nikic/php-parser": "^4.15", + "nikic/php-parser": "^4.18 || ^5.0", "php": ">=8.1", "phpunit/php-file-iterator": "^4.0", "phpunit/php-text-template": "^3.0", @@ -3320,7 +3320,7 @@ "support": { "issues": "https://github.com/sebastianbergmann/php-code-coverage/issues", "security": "https://github.com/sebastianbergmann/php-code-coverage/security/policy", - "source": "https://github.com/sebastianbergmann/php-code-coverage/tree/10.1.10" + "source": "https://github.com/sebastianbergmann/php-code-coverage/tree/10.1.11" }, "funding": [ { @@ -3328,7 +3328,7 @@ "type": "github" } ], - "time": "2023-12-11T06:28:43+00:00" + "time": "2023-12-21T15:38:30+00:00" }, { "name": "phpunit/php-file-iterator", @@ -4645,20 +4645,20 @@ }, { "name": "sebastian/complexity", - "version": "3.1.0", + "version": "3.2.0", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/complexity.git", - "reference": "68cfb347a44871f01e33ab0ef8215966432f6957" + "reference": "68ff824baeae169ec9f2137158ee529584553799" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/complexity/zipball/68cfb347a44871f01e33ab0ef8215966432f6957", - "reference": "68cfb347a44871f01e33ab0ef8215966432f6957", + "url": "https://api.github.com/repos/sebastianbergmann/complexity/zipball/68ff824baeae169ec9f2137158ee529584553799", + "reference": "68ff824baeae169ec9f2137158ee529584553799", "shasum": "" }, "require": { - "nikic/php-parser": "^4.10", + "nikic/php-parser": "^4.18 || ^5.0", "php": ">=8.1" }, "require-dev": { @@ -4667,7 +4667,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "3.1-dev" + "dev-main": "3.2-dev" } }, "autoload": { @@ -4691,7 +4691,7 @@ "support": { "issues": "https://github.com/sebastianbergmann/complexity/issues", "security": "https://github.com/sebastianbergmann/complexity/security/policy", - "source": "https://github.com/sebastianbergmann/complexity/tree/3.1.0" + "source": "https://github.com/sebastianbergmann/complexity/tree/3.2.0" }, "funding": [ { @@ -4699,7 +4699,7 @@ "type": "github" } ], - "time": "2023-09-28T11:50:59+00:00" + "time": "2023-12-21T08:37:17+00:00" }, { "name": "sebastian/diff", @@ -4974,20 +4974,20 @@ }, { "name": "sebastian/lines-of-code", - "version": "2.0.1", + "version": "2.0.2", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/lines-of-code.git", - "reference": "649e40d279e243d985aa8fb6e74dd5bb28dc185d" + "reference": "856e7f6a75a84e339195d48c556f23be2ebf75d0" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/lines-of-code/zipball/649e40d279e243d985aa8fb6e74dd5bb28dc185d", - "reference": "649e40d279e243d985aa8fb6e74dd5bb28dc185d", + "url": "https://api.github.com/repos/sebastianbergmann/lines-of-code/zipball/856e7f6a75a84e339195d48c556f23be2ebf75d0", + "reference": "856e7f6a75a84e339195d48c556f23be2ebf75d0", "shasum": "" }, "require": { - "nikic/php-parser": "^4.10", + "nikic/php-parser": "^4.18 || ^5.0", "php": ">=8.1" }, "require-dev": { @@ -5020,7 +5020,7 @@ "support": { "issues": "https://github.com/sebastianbergmann/lines-of-code/issues", "security": "https://github.com/sebastianbergmann/lines-of-code/security/policy", - "source": "https://github.com/sebastianbergmann/lines-of-code/tree/2.0.1" + "source": "https://github.com/sebastianbergmann/lines-of-code/tree/2.0.2" }, "funding": [ { @@ -5028,7 +5028,7 @@ "type": "github" } ], - "time": "2023-08-31T09:25:50+00:00" + "time": "2023-12-21T08:38:20+00:00" }, { "name": "sebastian/object-enumerator", From 8328199e54981c449c4a84d6213a95e3b0ba7303 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20M=C3=B6ller?= Date: Sun, 24 Dec 2023 13:37:05 +0100 Subject: [PATCH 068/111] Fix: Run 'make static-code-analysis-baseline' --- psalm-baseline.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/psalm-baseline.xml b/psalm-baseline.xml index 26d2e945..ab2a6943 100644 --- a/psalm-baseline.xml +++ b/psalm-baseline.xml @@ -1,5 +1,5 @@ - + Json From 6993f9200683e1160d159f33cf79b13d663f05fb Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 25 Dec 2023 20:38:11 +0000 Subject: [PATCH 069/111] composer(deps-dev): Bump ergebnis/php-cs-fixer-config Bumps [ergebnis/php-cs-fixer-config](https://github.com/ergebnis/php-cs-fixer-config) from 6.14.0 to 6.15.0. - [Release notes](https://github.com/ergebnis/php-cs-fixer-config/releases) - [Changelog](https://github.com/ergebnis/php-cs-fixer-config/blob/main/CHANGELOG.md) - [Commits](https://github.com/ergebnis/php-cs-fixer-config/compare/6.14.0...6.15.0) --- updated-dependencies: - dependency-name: ergebnis/php-cs-fixer-config dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- composer.json | 2 +- composer.lock | 61 +++++++++++++++++++++++++-------------------------- 2 files changed, 31 insertions(+), 32 deletions(-) diff --git a/composer.json b/composer.json index b3726f92..8f44a8c1 100644 --- a/composer.json +++ b/composer.json @@ -33,7 +33,7 @@ "composer/semver": "^3.4.0", "ergebnis/data-provider": "^3.2.0", "ergebnis/license": "^2.4.0", - "ergebnis/php-cs-fixer-config": "~6.14.0", + "ergebnis/php-cs-fixer-config": "~6.15.0", "ergebnis/phpunit-slow-test-detector": "^2.8.0", "fakerphp/faker": "^1.23.0", "infection/infection": "~0.27.9", diff --git a/composer.lock b/composer.lock index 27064117..2fc6b152 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "d45dbe0917074e3486c15316c9f01c46", + "content-hash": "cb322f16932c83b1e2201c5e6350d029", "packages": [ { "name": "ergebnis/json", @@ -1578,39 +1578,39 @@ }, { "name": "ergebnis/php-cs-fixer-config", - "version": "6.14.0", + "version": "6.15.0", "source": { "type": "git", "url": "https://github.com/ergebnis/php-cs-fixer-config.git", - "reference": "bd7552cc3c25e97662fb36c64ac40fcc311acb2f" + "reference": "00f89eceb11cae0e2d1f6fc2e5bd8225f850dc75" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/ergebnis/php-cs-fixer-config/zipball/bd7552cc3c25e97662fb36c64ac40fcc311acb2f", - "reference": "bd7552cc3c25e97662fb36c64ac40fcc311acb2f", + "url": "https://api.github.com/repos/ergebnis/php-cs-fixer-config/zipball/00f89eceb11cae0e2d1f6fc2e5bd8225f850dc75", + "reference": "00f89eceb11cae0e2d1f6fc2e5bd8225f850dc75", "shasum": "" }, "require": { "erickskrauch/php-cs-fixer-custom-fixers": "~1.2.1", "ext-filter": "*", - "friendsofphp/php-cs-fixer": "~3.41.1", - "kubawerlos/php-cs-fixer-custom-fixers": "~3.17.0", + "friendsofphp/php-cs-fixer": "~3.42.0", + "kubawerlos/php-cs-fixer-custom-fixers": "~3.17.1", "php": "~7.4.0 || ~8.0.0 || ~8.1.0 || ~8.2.0 || ~8.3.0" }, "require-dev": { "ergebnis/composer-normalize": "^2.28.3", "ergebnis/data-provider": "^3.2.0", "ergebnis/license": "^2.4.0", - "ergebnis/phpunit-slow-test-detector": "^2.7.0", + "ergebnis/phpunit-slow-test-detector": "^2.9.0", "ergebnis/rector-rules": "~0.3.0", "fakerphp/faker": "^1.23.0", "infection/infection": "~0.26.6", "phpunit/phpunit": "^9.6.15", "psalm/plugin-phpunit": "~0.18.4", - "rector/rector": "~0.18.12", + "rector/rector": "~0.18.13", "symfony/filesystem": "^5.0.0 || ^6.0.0", "symfony/process": "^5.0.0 || ^6.0.0", - "vimeo/psalm": "^5.17.0" + "vimeo/psalm": "^5.18.0" }, "type": "library", "extra": { @@ -1642,7 +1642,7 @@ "security": "https://github.com/ergebnis/php-cs-fixer-config/blob/main/.github/SECURITY.md", "source": "https://github.com/ergebnis/php-cs-fixer-config" }, - "time": "2023-12-12T09:19:31+00:00" + "time": "2023-12-24T18:39:10+00:00" }, { "name": "ergebnis/phpunit-slow-test-detector", @@ -2005,16 +2005,16 @@ }, { "name": "friendsofphp/php-cs-fixer", - "version": "v3.41.1", + "version": "v3.42.0", "source": { "type": "git", "url": "https://github.com/PHP-CS-Fixer/PHP-CS-Fixer.git", - "reference": "8b6ae8dcbaf23f09680643ab832a4a3a260265f6" + "reference": "632ef1be3447a9b890bef06147475facee535d0f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/PHP-CS-Fixer/PHP-CS-Fixer/zipball/8b6ae8dcbaf23f09680643ab832a4a3a260265f6", - "reference": "8b6ae8dcbaf23f09680643ab832a4a3a260265f6", + "url": "https://api.github.com/repos/PHP-CS-Fixer/PHP-CS-Fixer/zipball/632ef1be3447a9b890bef06147475facee535d0f", + "reference": "632ef1be3447a9b890bef06147475facee535d0f", "shasum": "" }, "require": { @@ -2045,7 +2045,6 @@ "php-cs-fixer/phpunit-constraint-isidenticalstring": "^1.4", "php-cs-fixer/phpunit-constraint-xmlmatchesxsd": "^1.4", "phpunit/phpunit": "^9.6", - "symfony/phpunit-bridge": "^6.3.8 || ^7.0", "symfony/yaml": "^5.4 || ^6.0 || ^7.0" }, "suggest": { @@ -2084,7 +2083,7 @@ ], "support": { "issues": "https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues", - "source": "https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/tree/v3.41.1" + "source": "https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/tree/v3.42.0" }, "funding": [ { @@ -2092,7 +2091,7 @@ "type": "github" } ], - "time": "2023-12-10T19:59:27+00:00" + "time": "2023-12-24T14:38:51+00:00" }, { "name": "infection/abstract-testframework-adapter", @@ -2453,16 +2452,16 @@ }, { "name": "kubawerlos/php-cs-fixer-custom-fixers", - "version": "v3.17.0", + "version": "v3.17.1", "source": { "type": "git", "url": "https://github.com/kubawerlos/php-cs-fixer-custom-fixers.git", - "reference": "bbfb4ff20d148ed9531b1cfc9c9a861faba72b9a" + "reference": "1adfc79e5bd11ff713b1c2a512c382cc8fcff34e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/kubawerlos/php-cs-fixer-custom-fixers/zipball/bbfb4ff20d148ed9531b1cfc9c9a861faba72b9a", - "reference": "bbfb4ff20d148ed9531b1cfc9c9a861faba72b9a", + "url": "https://api.github.com/repos/kubawerlos/php-cs-fixer-custom-fixers/zipball/1adfc79e5bd11ff713b1c2a512c382cc8fcff34e", + "reference": "1adfc79e5bd11ff713b1c2a512c382cc8fcff34e", "shasum": "" }, "require": { @@ -2493,9 +2492,9 @@ "description": "A set of custom fixers for PHP CS Fixer", "support": { "issues": "https://github.com/kubawerlos/php-cs-fixer-custom-fixers/issues", - "source": "https://github.com/kubawerlos/php-cs-fixer-custom-fixers/tree/v3.17.0" + "source": "https://github.com/kubawerlos/php-cs-fixer-custom-fixers/tree/v3.17.1" }, - "time": "2023-11-19T12:08:42+00:00" + "time": "2023-12-23T14:34:27+00:00" }, { "name": "myclabs/deep-copy", @@ -4703,16 +4702,16 @@ }, { "name": "sebastian/diff", - "version": "5.0.3", + "version": "5.1.0", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/diff.git", - "reference": "912dc2fbe3e3c1e7873313cc801b100b6c68c87b" + "reference": "fbf413a49e54f6b9b17e12d900ac7f6101591b7f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/diff/zipball/912dc2fbe3e3c1e7873313cc801b100b6c68c87b", - "reference": "912dc2fbe3e3c1e7873313cc801b100b6c68c87b", + "url": "https://api.github.com/repos/sebastianbergmann/diff/zipball/fbf413a49e54f6b9b17e12d900ac7f6101591b7f", + "reference": "fbf413a49e54f6b9b17e12d900ac7f6101591b7f", "shasum": "" }, "require": { @@ -4725,7 +4724,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "5.0-dev" + "dev-main": "5.1-dev" } }, "autoload": { @@ -4758,7 +4757,7 @@ "support": { "issues": "https://github.com/sebastianbergmann/diff/issues", "security": "https://github.com/sebastianbergmann/diff/security/policy", - "source": "https://github.com/sebastianbergmann/diff/tree/5.0.3" + "source": "https://github.com/sebastianbergmann/diff/tree/5.1.0" }, "funding": [ { @@ -4766,7 +4765,7 @@ "type": "github" } ], - "time": "2023-05-01T07:48:21+00:00" + "time": "2023-12-22T10:55:06+00:00" }, { "name": "sebastian/environment", From 25c2abc9ffab30eedeb223f29241d8b6d4132e95 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 25 Dec 2023 20:40:32 +0000 Subject: [PATCH 070/111] composer(deps-dev): Bump ergebnis/phpunit-slow-test-detector Bumps [ergebnis/phpunit-slow-test-detector](https://github.com/ergebnis/phpunit-slow-test-detector) from 2.8.0 to 2.9.0. - [Release notes](https://github.com/ergebnis/phpunit-slow-test-detector/releases) - [Changelog](https://github.com/ergebnis/phpunit-slow-test-detector/blob/main/CHANGELOG.md) - [Commits](https://github.com/ergebnis/phpunit-slow-test-detector/compare/2.8.0...2.9.0) --- updated-dependencies: - dependency-name: ergebnis/phpunit-slow-test-detector dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- composer.json | 2 +- composer.lock | 14 +++++++------- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/composer.json b/composer.json index 8f44a8c1..9631152d 100644 --- a/composer.json +++ b/composer.json @@ -34,7 +34,7 @@ "ergebnis/data-provider": "^3.2.0", "ergebnis/license": "^2.4.0", "ergebnis/php-cs-fixer-config": "~6.15.0", - "ergebnis/phpunit-slow-test-detector": "^2.8.0", + "ergebnis/phpunit-slow-test-detector": "^2.9.0", "fakerphp/faker": "^1.23.0", "infection/infection": "~0.27.9", "phpunit/phpunit": "^10.5.3", diff --git a/composer.lock b/composer.lock index 2fc6b152..a146d715 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "cb322f16932c83b1e2201c5e6350d029", + "content-hash": "9938471b70726a9759135e7722c88812", "packages": [ { "name": "ergebnis/json", @@ -1646,21 +1646,21 @@ }, { "name": "ergebnis/phpunit-slow-test-detector", - "version": "2.8.0", + "version": "2.9.0", "source": { "type": "git", "url": "https://github.com/ergebnis/phpunit-slow-test-detector.git", - "reference": "0afb91c574c7b0561d132234a02316c3138cf44a" + "reference": "0a3cae476e6472840d9a09191998fe07906ba0bd" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/ergebnis/phpunit-slow-test-detector/zipball/0afb91c574c7b0561d132234a02316c3138cf44a", - "reference": "0afb91c574c7b0561d132234a02316c3138cf44a", + "url": "https://api.github.com/repos/ergebnis/phpunit-slow-test-detector/zipball/0a3cae476e6472840d9a09191998fe07906ba0bd", + "reference": "0a3cae476e6472840d9a09191998fe07906ba0bd", "shasum": "" }, "require": { "php": "~7.4.0 || ~8.0.0 || ~8.1.0 || ~8.2.0 || ~8.3.0", - "phpunit/phpunit": "^7.1.0 || ^8.5.19 || ^9.0.0 || ^10.0.0" + "phpunit/phpunit": "^7.5.0 || ^8.5.19 || ^9.0.0 || ^10.0.0" }, "require-dev": { "ergebnis/composer-normalize": "^2.28.3", @@ -1709,7 +1709,7 @@ "security": "https://github.com/ergebnis/phpunit-slow-test-detector/blob/main/.github/SECURITY.md", "source": "https://github.com/ergebnis/phpunit-slow-test-detector" }, - "time": "2023-12-21T15:10:46+00:00" + "time": "2023-12-23T16:16:07+00:00" }, { "name": "erickskrauch/php-cs-fixer-custom-fixers", From a436b6729126962857ba55b10899eb24be881e27 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 27 Dec 2023 20:13:16 +0000 Subject: [PATCH 071/111] composer(deps-dev): Bump phpunit/phpunit from 10.5.3 to 10.5.5 Bumps [phpunit/phpunit](https://github.com/sebastianbergmann/phpunit) from 10.5.3 to 10.5.5. - [Changelog](https://github.com/sebastianbergmann/phpunit/blob/10.5.5/ChangeLog-10.5.md) - [Commits](https://github.com/sebastianbergmann/phpunit/compare/10.5.3...10.5.5) --- updated-dependencies: - dependency-name: phpunit/phpunit dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- composer.json | 2 +- composer.lock | 14 +++++++------- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/composer.json b/composer.json index 9631152d..ca582c9d 100644 --- a/composer.json +++ b/composer.json @@ -37,7 +37,7 @@ "ergebnis/phpunit-slow-test-detector": "^2.9.0", "fakerphp/faker": "^1.23.0", "infection/infection": "~0.27.9", - "phpunit/phpunit": "^10.5.3", + "phpunit/phpunit": "^10.5.5", "psalm/plugin-phpunit": "~0.18.4", "rector/rector": "~0.18.13", "roave/backward-compatibility-check": "^8.6.0", diff --git a/composer.lock b/composer.lock index a146d715..cb0039b1 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "9938471b70726a9759135e7722c88812", + "content-hash": "b47940f0a9cf59f3acf5875d62b364ca", "packages": [ { "name": "ergebnis/json", @@ -3574,16 +3574,16 @@ }, { "name": "phpunit/phpunit", - "version": "10.5.3", + "version": "10.5.5", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/phpunit.git", - "reference": "6fce887c71076a73f32fd3e0774a6833fc5c7f19" + "reference": "ed21115d505b4b4f7dc7b5651464e19a2c7f7856" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/6fce887c71076a73f32fd3e0774a6833fc5c7f19", - "reference": "6fce887c71076a73f32fd3e0774a6833fc5c7f19", + "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/ed21115d505b4b4f7dc7b5651464e19a2c7f7856", + "reference": "ed21115d505b4b4f7dc7b5651464e19a2c7f7856", "shasum": "" }, "require": { @@ -3655,7 +3655,7 @@ "support": { "issues": "https://github.com/sebastianbergmann/phpunit/issues", "security": "https://github.com/sebastianbergmann/phpunit/security/policy", - "source": "https://github.com/sebastianbergmann/phpunit/tree/10.5.3" + "source": "https://github.com/sebastianbergmann/phpunit/tree/10.5.5" }, "funding": [ { @@ -3671,7 +3671,7 @@ "type": "tidelift" } ], - "time": "2023-12-13T07:25:23+00:00" + "time": "2023-12-27T15:13:52+00:00" }, { "name": "psalm/plugin-phpunit", From 61ac8fffe1a227d02c7f56456a05e6774e981afb Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 28 Dec 2023 20:50:03 +0000 Subject: [PATCH 072/111] composer(deps-dev): Bump ergebnis/php-cs-fixer-config Bumps [ergebnis/php-cs-fixer-config](https://github.com/ergebnis/php-cs-fixer-config) from 6.15.0 to 6.16.0. - [Release notes](https://github.com/ergebnis/php-cs-fixer-config/releases) - [Changelog](https://github.com/ergebnis/php-cs-fixer-config/blob/main/CHANGELOG.md) - [Commits](https://github.com/ergebnis/php-cs-fixer-config/compare/6.15.0...6.16.0) --- updated-dependencies: - dependency-name: ergebnis/php-cs-fixer-config dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- composer.json | 2 +- composer.lock | 42 +++++++++++++++++++++--------------------- 2 files changed, 22 insertions(+), 22 deletions(-) diff --git a/composer.json b/composer.json index ca582c9d..a5eb964a 100644 --- a/composer.json +++ b/composer.json @@ -33,7 +33,7 @@ "composer/semver": "^3.4.0", "ergebnis/data-provider": "^3.2.0", "ergebnis/license": "^2.4.0", - "ergebnis/php-cs-fixer-config": "~6.15.0", + "ergebnis/php-cs-fixer-config": "~6.16.0", "ergebnis/phpunit-slow-test-detector": "^2.9.0", "fakerphp/faker": "^1.23.0", "infection/infection": "~0.27.9", diff --git a/composer.lock b/composer.lock index cb0039b1..113551d7 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "b47940f0a9cf59f3acf5875d62b364ca", + "content-hash": "eccdddfd9ca16e21faab55aa9cb9cc05", "packages": [ { "name": "ergebnis/json", @@ -1578,22 +1578,22 @@ }, { "name": "ergebnis/php-cs-fixer-config", - "version": "6.15.0", + "version": "6.16.0", "source": { "type": "git", "url": "https://github.com/ergebnis/php-cs-fixer-config.git", - "reference": "00f89eceb11cae0e2d1f6fc2e5bd8225f850dc75" + "reference": "89a16e82443c17b9e2a647b6d289d0299237cf75" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/ergebnis/php-cs-fixer-config/zipball/00f89eceb11cae0e2d1f6fc2e5bd8225f850dc75", - "reference": "00f89eceb11cae0e2d1f6fc2e5bd8225f850dc75", + "url": "https://api.github.com/repos/ergebnis/php-cs-fixer-config/zipball/89a16e82443c17b9e2a647b6d289d0299237cf75", + "reference": "89a16e82443c17b9e2a647b6d289d0299237cf75", "shasum": "" }, "require": { "erickskrauch/php-cs-fixer-custom-fixers": "~1.2.1", "ext-filter": "*", - "friendsofphp/php-cs-fixer": "~3.42.0", + "friendsofphp/php-cs-fixer": "~3.43.0", "kubawerlos/php-cs-fixer-custom-fixers": "~3.17.1", "php": "~7.4.0 || ~8.0.0 || ~8.1.0 || ~8.2.0 || ~8.3.0" }, @@ -1642,7 +1642,7 @@ "security": "https://github.com/ergebnis/php-cs-fixer-config/blob/main/.github/SECURITY.md", "source": "https://github.com/ergebnis/php-cs-fixer-config" }, - "time": "2023-12-24T18:39:10+00:00" + "time": "2023-12-28T18:29:52+00:00" }, { "name": "ergebnis/phpunit-slow-test-detector", @@ -2005,16 +2005,16 @@ }, { "name": "friendsofphp/php-cs-fixer", - "version": "v3.42.0", + "version": "v3.43.0", "source": { "type": "git", "url": "https://github.com/PHP-CS-Fixer/PHP-CS-Fixer.git", - "reference": "632ef1be3447a9b890bef06147475facee535d0f" + "reference": "39b5632c39ca9deb4eb7e670ba96fcf5c3a72e3c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/PHP-CS-Fixer/PHP-CS-Fixer/zipball/632ef1be3447a9b890bef06147475facee535d0f", - "reference": "632ef1be3447a9b890bef06147475facee535d0f", + "url": "https://api.github.com/repos/PHP-CS-Fixer/PHP-CS-Fixer/zipball/39b5632c39ca9deb4eb7e670ba96fcf5c3a72e3c", + "reference": "39b5632c39ca9deb4eb7e670ba96fcf5c3a72e3c", "shasum": "" }, "require": { @@ -2044,7 +2044,7 @@ "php-cs-fixer/accessible-object": "^1.1", "php-cs-fixer/phpunit-constraint-isidenticalstring": "^1.4", "php-cs-fixer/phpunit-constraint-xmlmatchesxsd": "^1.4", - "phpunit/phpunit": "^9.6", + "phpunit/phpunit": "^9.6 || ^10.5.5", "symfony/yaml": "^5.4 || ^6.0 || ^7.0" }, "suggest": { @@ -2083,7 +2083,7 @@ ], "support": { "issues": "https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues", - "source": "https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/tree/v3.42.0" + "source": "https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/tree/v3.43.0" }, "funding": [ { @@ -2091,7 +2091,7 @@ "type": "github" } ], - "time": "2023-12-24T14:38:51+00:00" + "time": "2023-12-28T17:36:39+00:00" }, { "name": "infection/abstract-testframework-adapter", @@ -6694,21 +6694,21 @@ }, { "name": "symfony/service-contracts", - "version": "v3.4.0", + "version": "v3.4.1", "source": { "type": "git", "url": "https://github.com/symfony/service-contracts.git", - "reference": "b3313c2dbffaf71c8de2934e2ea56ed2291a3838" + "reference": "fe07cbc8d837f60caf7018068e350cc5163681a0" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/service-contracts/zipball/b3313c2dbffaf71c8de2934e2ea56ed2291a3838", - "reference": "b3313c2dbffaf71c8de2934e2ea56ed2291a3838", + "url": "https://api.github.com/repos/symfony/service-contracts/zipball/fe07cbc8d837f60caf7018068e350cc5163681a0", + "reference": "fe07cbc8d837f60caf7018068e350cc5163681a0", "shasum": "" }, "require": { "php": ">=8.1", - "psr/container": "^2.0" + "psr/container": "^1.1|^2.0" }, "conflict": { "ext-psr": "<1.1|>=2" @@ -6756,7 +6756,7 @@ "standards" ], "support": { - "source": "https://github.com/symfony/service-contracts/tree/v3.4.0" + "source": "https://github.com/symfony/service-contracts/tree/v3.4.1" }, "funding": [ { @@ -6772,7 +6772,7 @@ "type": "tidelift" } ], - "time": "2023-07-30T20:28:31+00:00" + "time": "2023-12-26T14:02:43+00:00" }, { "name": "symfony/stopwatch", From 8e764fecda17e7cd11c1263cdb1e6189d5dd746b Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 29 Dec 2023 20:19:53 +0000 Subject: [PATCH 073/111] composer(deps-dev): Bump ergebnis/php-cs-fixer-config Bumps [ergebnis/php-cs-fixer-config](https://github.com/ergebnis/php-cs-fixer-config) from 6.16.0 to 6.16.1. - [Release notes](https://github.com/ergebnis/php-cs-fixer-config/releases) - [Changelog](https://github.com/ergebnis/php-cs-fixer-config/blob/main/CHANGELOG.md) - [Commits](https://github.com/ergebnis/php-cs-fixer-config/compare/6.16.0...6.16.1) --- updated-dependencies: - dependency-name: ergebnis/php-cs-fixer-config dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- composer.json | 2 +- composer.lock | 26 +++++++++++++------------- 2 files changed, 14 insertions(+), 14 deletions(-) diff --git a/composer.json b/composer.json index a5eb964a..4cfd0cec 100644 --- a/composer.json +++ b/composer.json @@ -33,7 +33,7 @@ "composer/semver": "^3.4.0", "ergebnis/data-provider": "^3.2.0", "ergebnis/license": "^2.4.0", - "ergebnis/php-cs-fixer-config": "~6.16.0", + "ergebnis/php-cs-fixer-config": "~6.16.1", "ergebnis/phpunit-slow-test-detector": "^2.9.0", "fakerphp/faker": "^1.23.0", "infection/infection": "~0.27.9", diff --git a/composer.lock b/composer.lock index 113551d7..9cfdec06 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "eccdddfd9ca16e21faab55aa9cb9cc05", + "content-hash": "d02c4b57c96368fa81bfd4911cb19ccb", "packages": [ { "name": "ergebnis/json", @@ -1578,22 +1578,22 @@ }, { "name": "ergebnis/php-cs-fixer-config", - "version": "6.16.0", + "version": "6.16.1", "source": { "type": "git", "url": "https://github.com/ergebnis/php-cs-fixer-config.git", - "reference": "89a16e82443c17b9e2a647b6d289d0299237cf75" + "reference": "0b9979c7ce3664723328787875ba672cea353c55" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/ergebnis/php-cs-fixer-config/zipball/89a16e82443c17b9e2a647b6d289d0299237cf75", - "reference": "89a16e82443c17b9e2a647b6d289d0299237cf75", + "url": "https://api.github.com/repos/ergebnis/php-cs-fixer-config/zipball/0b9979c7ce3664723328787875ba672cea353c55", + "reference": "0b9979c7ce3664723328787875ba672cea353c55", "shasum": "" }, "require": { "erickskrauch/php-cs-fixer-custom-fixers": "~1.2.1", "ext-filter": "*", - "friendsofphp/php-cs-fixer": "~3.43.0", + "friendsofphp/php-cs-fixer": "~3.43.1", "kubawerlos/php-cs-fixer-custom-fixers": "~3.17.1", "php": "~7.4.0 || ~8.0.0 || ~8.1.0 || ~8.2.0 || ~8.3.0" }, @@ -1642,7 +1642,7 @@ "security": "https://github.com/ergebnis/php-cs-fixer-config/blob/main/.github/SECURITY.md", "source": "https://github.com/ergebnis/php-cs-fixer-config" }, - "time": "2023-12-28T18:29:52+00:00" + "time": "2023-12-29T13:21:50+00:00" }, { "name": "ergebnis/phpunit-slow-test-detector", @@ -2005,16 +2005,16 @@ }, { "name": "friendsofphp/php-cs-fixer", - "version": "v3.43.0", + "version": "v3.43.1", "source": { "type": "git", "url": "https://github.com/PHP-CS-Fixer/PHP-CS-Fixer.git", - "reference": "39b5632c39ca9deb4eb7e670ba96fcf5c3a72e3c" + "reference": "91c0b47216aa43b09656b4d99aa9dade2f3ad8fc" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/PHP-CS-Fixer/PHP-CS-Fixer/zipball/39b5632c39ca9deb4eb7e670ba96fcf5c3a72e3c", - "reference": "39b5632c39ca9deb4eb7e670ba96fcf5c3a72e3c", + "url": "https://api.github.com/repos/PHP-CS-Fixer/PHP-CS-Fixer/zipball/91c0b47216aa43b09656b4d99aa9dade2f3ad8fc", + "reference": "91c0b47216aa43b09656b4d99aa9dade2f3ad8fc", "shasum": "" }, "require": { @@ -2083,7 +2083,7 @@ ], "support": { "issues": "https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues", - "source": "https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/tree/v3.43.0" + "source": "https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/tree/v3.43.1" }, "funding": [ { @@ -2091,7 +2091,7 @@ "type": "github" } ], - "time": "2023-12-28T17:36:39+00:00" + "time": "2023-12-29T09:42:16+00:00" }, { "name": "infection/abstract-testframework-adapter", From 5b88c7dcb1ef8ab27048bf8d23590808b00c202d Mon Sep 17 00:00:00 2001 From: ergebnis-bot Date: Mon, 1 Jan 2024 00:12:39 +0000 Subject: [PATCH 074/111] Enhancement: Update license year --- .php-cs-fixer.php | 2 +- LICENSE.md | 2 +- bin/laxify-schema.php | 2 +- rector.php | 2 +- src/CallableNormalizer.php | 2 +- src/ChainNormalizer.php | 2 +- src/Exception/DependencyMissing.php | 2 +- src/Exception/Exception.php | 2 +- src/Exception/InvalidIndentSize.php | 2 +- src/Exception/InvalidIndentString.php | 2 +- src/Exception/InvalidIndentStyle.php | 2 +- src/Exception/InvalidJsonEncodeOptions.php | 2 +- src/Exception/InvalidNewLineString.php | 2 +- src/Exception/NormalizedInvalidAccordingToSchema.php | 2 +- src/Exception/OriginalInvalidAccordingToSchema.php | 2 +- src/Exception/SchemaUriCouldNotBeRead.php | 2 +- src/Exception/SchemaUriCouldNotBeResolved.php | 2 +- .../SchemaUriReferencesDocumentWithInvalidMediaType.php | 2 +- src/Exception/SchemaUriReferencesInvalidJsonDocument.php | 2 +- src/Format/DefaultFormatter.php | 2 +- src/Format/Format.php | 2 +- src/Format/Formatter.php | 2 +- src/Format/Indent.php | 2 +- src/Format/JsonEncodeOptions.php | 2 +- src/Format/NewLine.php | 2 +- src/FormatNormalizer.php | 2 +- src/IndentNormalizer.php | 2 +- src/JsonEncodeNormalizer.php | 2 +- src/Normalizer.php | 2 +- src/SchemaNormalizer.php | 2 +- src/Vendor/Composer/BinNormalizer.php | 2 +- src/Vendor/Composer/ComposerJsonNormalizer.php | 2 +- src/Vendor/Composer/ConfigHashNormalizer.php | 2 +- src/Vendor/Composer/PackageHashNormalizer.php | 2 +- src/Vendor/Composer/RepositoriesHashNormalizer.php | 2 +- src/Vendor/Composer/VersionConstraintNormalizer.php | 2 +- src/Vendor/Composer/WildcardSorter.php | 2 +- src/WithFinalNewLineNormalizer.php | 2 +- src/WithoutFinalNewLineNormalizer.php | 2 +- .../Json/IsObject/HasFinalNewLine/False/format.php | 2 +- .../Json/IsObject/HasFinalNewLine/True/format.php | 2 +- .../Json/IsObject/Indent/Size/One/format.php | 2 +- .../Json/IsObject/Indent/Size/Three/format.php | 2 +- .../Json/IsObject/Indent/Style/Space/format.php | 2 +- .../Json/IsObject/Indent/Style/Tab/format.php | 2 +- .../IsObject/JsonEncodeOptions/JsonUnescapedSlashes/format.php | 2 +- .../IsObject/JsonEncodeOptions/JsonUnescapedUnicode/format.php | 2 +- .../Json/IsObject/JsonEncodeOptions/Zero/format.php | 2 +- .../FormatNormalizer/NormalizeNormalizesJson/Scenario.php | 2 +- .../SchemaNormalizer/NormalizeNormalizesJson/Scenario.php | 2 +- ...cification-for-pointer-to-data-that-should-not-be-sorted.php | 2 +- ...cification-for-pointer-to-data-that-should-not-be-sorted.php | 2 +- ...cification-for-pointer-to-data-that-should-not-be-sorted.php | 2 +- ...cification-for-pointer-to-data-that-should-not-be-sorted.php | 2 +- .../ComposerJsonNormalizer/NormalizeNormalizesJson/Scenario.php | 2 +- .../ComposerJsonNormalizer/NormalizeRejectsJson/Scenario.php | 2 +- test/Unit/CallableNormalizerTest.php | 2 +- test/Unit/ChainNormalizerTest.php | 2 +- test/Unit/Exception/DependencyMissingTest.php | 2 +- test/Unit/Exception/InvalidIndentSizeTest.php | 2 +- test/Unit/Exception/InvalidIndentStringTest.php | 2 +- test/Unit/Exception/InvalidIndentStyleTest.php | 2 +- test/Unit/Exception/InvalidJsonEncodeOptionsTest.php | 2 +- test/Unit/Exception/InvalidNewLineStringTest.php | 2 +- test/Unit/Exception/NormalizedInvalidAccordingToSchemaTest.php | 2 +- test/Unit/Exception/OriginalInvalidAccordingToSchemaTest.php | 2 +- test/Unit/Exception/SchemaUriCouldNotBeReadTest.php | 2 +- test/Unit/Exception/SchemaUriCouldNotBeResolvedTest.php | 2 +- .../SchemaUriReferencesDocumentWithInvalidMediaTypeTest.php | 2 +- .../Exception/SchemaUriReferencesInvalidJsonDocumentTest.php | 2 +- test/Unit/Format/DefaultFormatterTest.php | 2 +- test/Unit/Format/FormatTest.php | 2 +- test/Unit/Format/IndentTest.php | 2 +- test/Unit/Format/JsonEncodeOptionsTest.php | 2 +- test/Unit/Format/NewLineTest.php | 2 +- test/Unit/FormatNormalizerTest.php | 2 +- test/Unit/IndentNormalizerTest.php | 2 +- test/Unit/JsonEncodeNormalizerTest.php | 2 +- test/Unit/SchemaNormalizerTest.php | 2 +- test/Unit/Vendor/Composer/ComposerJsonNormalizerTest.php | 2 +- test/Unit/WithFinalNewLineNormalizerTest.php | 2 +- test/Unit/WithoutFinalNewLineNormalizerTest.php | 2 +- test/Unit/bootstrap.php | 2 +- test/Util/Helper.php | 2 +- 84 files changed, 84 insertions(+), 84 deletions(-) diff --git a/.php-cs-fixer.php b/.php-cs-fixer.php index 4f514715..b614ae97 100644 --- a/.php-cs-fixer.php +++ b/.php-cs-fixer.php @@ -3,7 +3,7 @@ declare(strict_types=1); /** - * Copyright (c) 2018-2023 Andreas Möller + * Copyright (c) 2018-2024 Andreas Möller * * For the full copyright and license information, please view * the LICENSE.md file that was distributed with this source code. diff --git a/LICENSE.md b/LICENSE.md index 96580b54..afd82ebc 100644 --- a/LICENSE.md +++ b/LICENSE.md @@ -1,6 +1,6 @@ # The MIT License (MIT) -Copyright (c) 2018-2023 Andreas Möller +Copyright (c) 2018-2024 Andreas Möller Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the _Software_), to deal in the Software without restriction, including without limitation the diff --git a/bin/laxify-schema.php b/bin/laxify-schema.php index ac4087de..5e21156d 100644 --- a/bin/laxify-schema.php +++ b/bin/laxify-schema.php @@ -3,7 +3,7 @@ declare(strict_types=1); /** - * Copyright (c) 2018-2023 Andreas Möller + * Copyright (c) 2018-2024 Andreas Möller * * For the full copyright and license information, please view * the LICENSE.md file that was distributed with this source code. diff --git a/rector.php b/rector.php index ad10e6c6..bd1ff968 100644 --- a/rector.php +++ b/rector.php @@ -3,7 +3,7 @@ declare(strict_types=1); /** - * Copyright (c) 2018-2023 Andreas Möller + * Copyright (c) 2018-2024 Andreas Möller * * For the full copyright and license information, please view * the LICENSE.md file that was distributed with this source code. diff --git a/src/CallableNormalizer.php b/src/CallableNormalizer.php index 104cca3d..57c8e1b3 100644 --- a/src/CallableNormalizer.php +++ b/src/CallableNormalizer.php @@ -3,7 +3,7 @@ declare(strict_types=1); /** - * Copyright (c) 2018-2023 Andreas Möller + * Copyright (c) 2018-2024 Andreas Möller * * For the full copyright and license information, please view * the LICENSE.md file that was distributed with this source code. diff --git a/src/ChainNormalizer.php b/src/ChainNormalizer.php index b7577218..b848be56 100644 --- a/src/ChainNormalizer.php +++ b/src/ChainNormalizer.php @@ -3,7 +3,7 @@ declare(strict_types=1); /** - * Copyright (c) 2018-2023 Andreas Möller + * Copyright (c) 2018-2024 Andreas Möller * * For the full copyright and license information, please view * the LICENSE.md file that was distributed with this source code. diff --git a/src/Exception/DependencyMissing.php b/src/Exception/DependencyMissing.php index a1428152..cc36fd9d 100644 --- a/src/Exception/DependencyMissing.php +++ b/src/Exception/DependencyMissing.php @@ -3,7 +3,7 @@ declare(strict_types=1); /** - * Copyright (c) 2018-2023 Andreas Möller + * Copyright (c) 2018-2024 Andreas Möller * * For the full copyright and license information, please view * the LICENSE.md file that was distributed with this source code. diff --git a/src/Exception/Exception.php b/src/Exception/Exception.php index 4619fc76..1964ae4f 100644 --- a/src/Exception/Exception.php +++ b/src/Exception/Exception.php @@ -3,7 +3,7 @@ declare(strict_types=1); /** - * Copyright (c) 2018-2023 Andreas Möller + * Copyright (c) 2018-2024 Andreas Möller * * For the full copyright and license information, please view * the LICENSE.md file that was distributed with this source code. diff --git a/src/Exception/InvalidIndentSize.php b/src/Exception/InvalidIndentSize.php index 374c4e0d..78274d5e 100644 --- a/src/Exception/InvalidIndentSize.php +++ b/src/Exception/InvalidIndentSize.php @@ -3,7 +3,7 @@ declare(strict_types=1); /** - * Copyright (c) 2018-2023 Andreas Möller + * Copyright (c) 2018-2024 Andreas Möller * * For the full copyright and license information, please view * the LICENSE.md file that was distributed with this source code. diff --git a/src/Exception/InvalidIndentString.php b/src/Exception/InvalidIndentString.php index 58ee861d..eb1ea263 100644 --- a/src/Exception/InvalidIndentString.php +++ b/src/Exception/InvalidIndentString.php @@ -3,7 +3,7 @@ declare(strict_types=1); /** - * Copyright (c) 2018-2023 Andreas Möller + * Copyright (c) 2018-2024 Andreas Möller * * For the full copyright and license information, please view * the LICENSE.md file that was distributed with this source code. diff --git a/src/Exception/InvalidIndentStyle.php b/src/Exception/InvalidIndentStyle.php index 1f3cfef7..3bcf185c 100644 --- a/src/Exception/InvalidIndentStyle.php +++ b/src/Exception/InvalidIndentStyle.php @@ -3,7 +3,7 @@ declare(strict_types=1); /** - * Copyright (c) 2018-2023 Andreas Möller + * Copyright (c) 2018-2024 Andreas Möller * * For the full copyright and license information, please view * the LICENSE.md file that was distributed with this source code. diff --git a/src/Exception/InvalidJsonEncodeOptions.php b/src/Exception/InvalidJsonEncodeOptions.php index 065d4f8b..ae92d5cc 100644 --- a/src/Exception/InvalidJsonEncodeOptions.php +++ b/src/Exception/InvalidJsonEncodeOptions.php @@ -3,7 +3,7 @@ declare(strict_types=1); /** - * Copyright (c) 2018-2023 Andreas Möller + * Copyright (c) 2018-2024 Andreas Möller * * For the full copyright and license information, please view * the LICENSE.md file that was distributed with this source code. diff --git a/src/Exception/InvalidNewLineString.php b/src/Exception/InvalidNewLineString.php index 6f2bcb9b..c9408927 100644 --- a/src/Exception/InvalidNewLineString.php +++ b/src/Exception/InvalidNewLineString.php @@ -3,7 +3,7 @@ declare(strict_types=1); /** - * Copyright (c) 2018-2023 Andreas Möller + * Copyright (c) 2018-2024 Andreas Möller * * For the full copyright and license information, please view * the LICENSE.md file that was distributed with this source code. diff --git a/src/Exception/NormalizedInvalidAccordingToSchema.php b/src/Exception/NormalizedInvalidAccordingToSchema.php index 5cb0f45c..3053438b 100644 --- a/src/Exception/NormalizedInvalidAccordingToSchema.php +++ b/src/Exception/NormalizedInvalidAccordingToSchema.php @@ -3,7 +3,7 @@ declare(strict_types=1); /** - * Copyright (c) 2018-2023 Andreas Möller + * Copyright (c) 2018-2024 Andreas Möller * * For the full copyright and license information, please view * the LICENSE.md file that was distributed with this source code. diff --git a/src/Exception/OriginalInvalidAccordingToSchema.php b/src/Exception/OriginalInvalidAccordingToSchema.php index 049f5119..aeb7ea78 100644 --- a/src/Exception/OriginalInvalidAccordingToSchema.php +++ b/src/Exception/OriginalInvalidAccordingToSchema.php @@ -3,7 +3,7 @@ declare(strict_types=1); /** - * Copyright (c) 2018-2023 Andreas Möller + * Copyright (c) 2018-2024 Andreas Möller * * For the full copyright and license information, please view * the LICENSE.md file that was distributed with this source code. diff --git a/src/Exception/SchemaUriCouldNotBeRead.php b/src/Exception/SchemaUriCouldNotBeRead.php index 64ec7cae..7ffa2474 100644 --- a/src/Exception/SchemaUriCouldNotBeRead.php +++ b/src/Exception/SchemaUriCouldNotBeRead.php @@ -3,7 +3,7 @@ declare(strict_types=1); /** - * Copyright (c) 2018-2023 Andreas Möller + * Copyright (c) 2018-2024 Andreas Möller * * For the full copyright and license information, please view * the LICENSE.md file that was distributed with this source code. diff --git a/src/Exception/SchemaUriCouldNotBeResolved.php b/src/Exception/SchemaUriCouldNotBeResolved.php index 19a526e0..9399e9f8 100644 --- a/src/Exception/SchemaUriCouldNotBeResolved.php +++ b/src/Exception/SchemaUriCouldNotBeResolved.php @@ -3,7 +3,7 @@ declare(strict_types=1); /** - * Copyright (c) 2018-2023 Andreas Möller + * Copyright (c) 2018-2024 Andreas Möller * * For the full copyright and license information, please view * the LICENSE.md file that was distributed with this source code. diff --git a/src/Exception/SchemaUriReferencesDocumentWithInvalidMediaType.php b/src/Exception/SchemaUriReferencesDocumentWithInvalidMediaType.php index fd535f66..a97f48a6 100644 --- a/src/Exception/SchemaUriReferencesDocumentWithInvalidMediaType.php +++ b/src/Exception/SchemaUriReferencesDocumentWithInvalidMediaType.php @@ -3,7 +3,7 @@ declare(strict_types=1); /** - * Copyright (c) 2018-2023 Andreas Möller + * Copyright (c) 2018-2024 Andreas Möller * * For the full copyright and license information, please view * the LICENSE.md file that was distributed with this source code. diff --git a/src/Exception/SchemaUriReferencesInvalidJsonDocument.php b/src/Exception/SchemaUriReferencesInvalidJsonDocument.php index 7cedd4b7..dafc69a0 100644 --- a/src/Exception/SchemaUriReferencesInvalidJsonDocument.php +++ b/src/Exception/SchemaUriReferencesInvalidJsonDocument.php @@ -3,7 +3,7 @@ declare(strict_types=1); /** - * Copyright (c) 2018-2023 Andreas Möller + * Copyright (c) 2018-2024 Andreas Möller * * For the full copyright and license information, please view * the LICENSE.md file that was distributed with this source code. diff --git a/src/Format/DefaultFormatter.php b/src/Format/DefaultFormatter.php index f02d800c..0be0a2a3 100644 --- a/src/Format/DefaultFormatter.php +++ b/src/Format/DefaultFormatter.php @@ -3,7 +3,7 @@ declare(strict_types=1); /** - * Copyright (c) 2018-2023 Andreas Möller + * Copyright (c) 2018-2024 Andreas Möller * * For the full copyright and license information, please view * the LICENSE.md file that was distributed with this source code. diff --git a/src/Format/Format.php b/src/Format/Format.php index dc3f34f7..b50a9c8e 100644 --- a/src/Format/Format.php +++ b/src/Format/Format.php @@ -3,7 +3,7 @@ declare(strict_types=1); /** - * Copyright (c) 2018-2023 Andreas Möller + * Copyright (c) 2018-2024 Andreas Möller * * For the full copyright and license information, please view * the LICENSE.md file that was distributed with this source code. diff --git a/src/Format/Formatter.php b/src/Format/Formatter.php index ac55a37b..591d73b3 100644 --- a/src/Format/Formatter.php +++ b/src/Format/Formatter.php @@ -3,7 +3,7 @@ declare(strict_types=1); /** - * Copyright (c) 2018-2023 Andreas Möller + * Copyright (c) 2018-2024 Andreas Möller * * For the full copyright and license information, please view * the LICENSE.md file that was distributed with this source code. diff --git a/src/Format/Indent.php b/src/Format/Indent.php index 8799275b..d25dd923 100644 --- a/src/Format/Indent.php +++ b/src/Format/Indent.php @@ -3,7 +3,7 @@ declare(strict_types=1); /** - * Copyright (c) 2018-2023 Andreas Möller + * Copyright (c) 2018-2024 Andreas Möller * * For the full copyright and license information, please view * the LICENSE.md file that was distributed with this source code. diff --git a/src/Format/JsonEncodeOptions.php b/src/Format/JsonEncodeOptions.php index 2b153be9..1679a6a8 100644 --- a/src/Format/JsonEncodeOptions.php +++ b/src/Format/JsonEncodeOptions.php @@ -3,7 +3,7 @@ declare(strict_types=1); /** - * Copyright (c) 2018-2023 Andreas Möller + * Copyright (c) 2018-2024 Andreas Möller * * For the full copyright and license information, please view * the LICENSE.md file that was distributed with this source code. diff --git a/src/Format/NewLine.php b/src/Format/NewLine.php index c962a480..6c09d1bf 100644 --- a/src/Format/NewLine.php +++ b/src/Format/NewLine.php @@ -3,7 +3,7 @@ declare(strict_types=1); /** - * Copyright (c) 2018-2023 Andreas Möller + * Copyright (c) 2018-2024 Andreas Möller * * For the full copyright and license information, please view * the LICENSE.md file that was distributed with this source code. diff --git a/src/FormatNormalizer.php b/src/FormatNormalizer.php index 4b5b3146..a53e2810 100644 --- a/src/FormatNormalizer.php +++ b/src/FormatNormalizer.php @@ -3,7 +3,7 @@ declare(strict_types=1); /** - * Copyright (c) 2018-2023 Andreas Möller + * Copyright (c) 2018-2024 Andreas Möller * * For the full copyright and license information, please view * the LICENSE.md file that was distributed with this source code. diff --git a/src/IndentNormalizer.php b/src/IndentNormalizer.php index 33d85af7..78569155 100644 --- a/src/IndentNormalizer.php +++ b/src/IndentNormalizer.php @@ -3,7 +3,7 @@ declare(strict_types=1); /** - * Copyright (c) 2018-2023 Andreas Möller + * Copyright (c) 2018-2024 Andreas Möller * * For the full copyright and license information, please view * the LICENSE.md file that was distributed with this source code. diff --git a/src/JsonEncodeNormalizer.php b/src/JsonEncodeNormalizer.php index 801d4b90..a78ffcf5 100644 --- a/src/JsonEncodeNormalizer.php +++ b/src/JsonEncodeNormalizer.php @@ -3,7 +3,7 @@ declare(strict_types=1); /** - * Copyright (c) 2018-2023 Andreas Möller + * Copyright (c) 2018-2024 Andreas Möller * * For the full copyright and license information, please view * the LICENSE.md file that was distributed with this source code. diff --git a/src/Normalizer.php b/src/Normalizer.php index 1e42ea9d..8d3c1005 100644 --- a/src/Normalizer.php +++ b/src/Normalizer.php @@ -3,7 +3,7 @@ declare(strict_types=1); /** - * Copyright (c) 2018-2023 Andreas Möller + * Copyright (c) 2018-2024 Andreas Möller * * For the full copyright and license information, please view * the LICENSE.md file that was distributed with this source code. diff --git a/src/SchemaNormalizer.php b/src/SchemaNormalizer.php index e85d5802..42be735c 100644 --- a/src/SchemaNormalizer.php +++ b/src/SchemaNormalizer.php @@ -3,7 +3,7 @@ declare(strict_types=1); /** - * Copyright (c) 2018-2023 Andreas Möller + * Copyright (c) 2018-2024 Andreas Möller * * For the full copyright and license information, please view * the LICENSE.md file that was distributed with this source code. diff --git a/src/Vendor/Composer/BinNormalizer.php b/src/Vendor/Composer/BinNormalizer.php index a80d0c95..ce4543a2 100644 --- a/src/Vendor/Composer/BinNormalizer.php +++ b/src/Vendor/Composer/BinNormalizer.php @@ -3,7 +3,7 @@ declare(strict_types=1); /** - * Copyright (c) 2018-2023 Andreas Möller + * Copyright (c) 2018-2024 Andreas Möller * * For the full copyright and license information, please view * the LICENSE.md file that was distributed with this source code. diff --git a/src/Vendor/Composer/ComposerJsonNormalizer.php b/src/Vendor/Composer/ComposerJsonNormalizer.php index 2a67913b..c6612014 100644 --- a/src/Vendor/Composer/ComposerJsonNormalizer.php +++ b/src/Vendor/Composer/ComposerJsonNormalizer.php @@ -3,7 +3,7 @@ declare(strict_types=1); /** - * Copyright (c) 2018-2023 Andreas Möller + * Copyright (c) 2018-2024 Andreas Möller * * For the full copyright and license information, please view * the LICENSE.md file that was distributed with this source code. diff --git a/src/Vendor/Composer/ConfigHashNormalizer.php b/src/Vendor/Composer/ConfigHashNormalizer.php index f6945ecd..bda8d25d 100644 --- a/src/Vendor/Composer/ConfigHashNormalizer.php +++ b/src/Vendor/Composer/ConfigHashNormalizer.php @@ -3,7 +3,7 @@ declare(strict_types=1); /** - * Copyright (c) 2018-2023 Andreas Möller + * Copyright (c) 2018-2024 Andreas Möller * * For the full copyright and license information, please view * the LICENSE.md file that was distributed with this source code. diff --git a/src/Vendor/Composer/PackageHashNormalizer.php b/src/Vendor/Composer/PackageHashNormalizer.php index 0f73d4dd..c35c2d6a 100644 --- a/src/Vendor/Composer/PackageHashNormalizer.php +++ b/src/Vendor/Composer/PackageHashNormalizer.php @@ -3,7 +3,7 @@ declare(strict_types=1); /** - * Copyright (c) 2018-2023 Andreas Möller + * Copyright (c) 2018-2024 Andreas Möller * * For the full copyright and license information, please view * the LICENSE.md file that was distributed with this source code. diff --git a/src/Vendor/Composer/RepositoriesHashNormalizer.php b/src/Vendor/Composer/RepositoriesHashNormalizer.php index c0c3bb67..ab26e78d 100644 --- a/src/Vendor/Composer/RepositoriesHashNormalizer.php +++ b/src/Vendor/Composer/RepositoriesHashNormalizer.php @@ -3,7 +3,7 @@ declare(strict_types=1); /** - * Copyright (c) 2018-2023 Andreas Möller + * Copyright (c) 2018-2024 Andreas Möller * * For the full copyright and license information, please view * the LICENSE.md file that was distributed with this source code. diff --git a/src/Vendor/Composer/VersionConstraintNormalizer.php b/src/Vendor/Composer/VersionConstraintNormalizer.php index 172c3379..01c995ba 100644 --- a/src/Vendor/Composer/VersionConstraintNormalizer.php +++ b/src/Vendor/Composer/VersionConstraintNormalizer.php @@ -3,7 +3,7 @@ declare(strict_types=1); /** - * Copyright (c) 2018-2023 Andreas Möller + * Copyright (c) 2018-2024 Andreas Möller * * For the full copyright and license information, please view * the LICENSE.md file that was distributed with this source code. diff --git a/src/Vendor/Composer/WildcardSorter.php b/src/Vendor/Composer/WildcardSorter.php index 46bff27f..98e0af30 100644 --- a/src/Vendor/Composer/WildcardSorter.php +++ b/src/Vendor/Composer/WildcardSorter.php @@ -3,7 +3,7 @@ declare(strict_types=1); /** - * Copyright (c) 2018-2023 Andreas Möller + * Copyright (c) 2018-2024 Andreas Möller * * For the full copyright and license information, please view * the LICENSE.md file that was distributed with this source code. diff --git a/src/WithFinalNewLineNormalizer.php b/src/WithFinalNewLineNormalizer.php index 1c629cd5..87b03a23 100644 --- a/src/WithFinalNewLineNormalizer.php +++ b/src/WithFinalNewLineNormalizer.php @@ -3,7 +3,7 @@ declare(strict_types=1); /** - * Copyright (c) 2018-2023 Andreas Möller + * Copyright (c) 2018-2024 Andreas Möller * * For the full copyright and license information, please view * the LICENSE.md file that was distributed with this source code. diff --git a/src/WithoutFinalNewLineNormalizer.php b/src/WithoutFinalNewLineNormalizer.php index c6f5bd23..f99227cd 100644 --- a/src/WithoutFinalNewLineNormalizer.php +++ b/src/WithoutFinalNewLineNormalizer.php @@ -3,7 +3,7 @@ declare(strict_types=1); /** - * Copyright (c) 2018-2023 Andreas Möller + * Copyright (c) 2018-2024 Andreas Möller * * For the full copyright and license information, please view * the LICENSE.md file that was distributed with this source code. diff --git a/test/Fixture/FormatNormalizer/NormalizeNormalizesJson/Json/IsObject/HasFinalNewLine/False/format.php b/test/Fixture/FormatNormalizer/NormalizeNormalizesJson/Json/IsObject/HasFinalNewLine/False/format.php index 55e756ba..4ebdf93c 100644 --- a/test/Fixture/FormatNormalizer/NormalizeNormalizesJson/Json/IsObject/HasFinalNewLine/False/format.php +++ b/test/Fixture/FormatNormalizer/NormalizeNormalizesJson/Json/IsObject/HasFinalNewLine/False/format.php @@ -3,7 +3,7 @@ declare(strict_types=1); /** - * Copyright (c) 2018-2023 Andreas Möller + * Copyright (c) 2018-2024 Andreas Möller * * For the full copyright and license information, please view * the LICENSE.md file that was distributed with this source code. diff --git a/test/Fixture/FormatNormalizer/NormalizeNormalizesJson/Json/IsObject/HasFinalNewLine/True/format.php b/test/Fixture/FormatNormalizer/NormalizeNormalizesJson/Json/IsObject/HasFinalNewLine/True/format.php index 61b7f397..e8cf2da0 100644 --- a/test/Fixture/FormatNormalizer/NormalizeNormalizesJson/Json/IsObject/HasFinalNewLine/True/format.php +++ b/test/Fixture/FormatNormalizer/NormalizeNormalizesJson/Json/IsObject/HasFinalNewLine/True/format.php @@ -3,7 +3,7 @@ declare(strict_types=1); /** - * Copyright (c) 2018-2023 Andreas Möller + * Copyright (c) 2018-2024 Andreas Möller * * For the full copyright and license information, please view * the LICENSE.md file that was distributed with this source code. diff --git a/test/Fixture/FormatNormalizer/NormalizeNormalizesJson/Json/IsObject/Indent/Size/One/format.php b/test/Fixture/FormatNormalizer/NormalizeNormalizesJson/Json/IsObject/Indent/Size/One/format.php index 3e0aabcf..fd8adbb0 100644 --- a/test/Fixture/FormatNormalizer/NormalizeNormalizesJson/Json/IsObject/Indent/Size/One/format.php +++ b/test/Fixture/FormatNormalizer/NormalizeNormalizesJson/Json/IsObject/Indent/Size/One/format.php @@ -3,7 +3,7 @@ declare(strict_types=1); /** - * Copyright (c) 2018-2023 Andreas Möller + * Copyright (c) 2018-2024 Andreas Möller * * For the full copyright and license information, please view * the LICENSE.md file that was distributed with this source code. diff --git a/test/Fixture/FormatNormalizer/NormalizeNormalizesJson/Json/IsObject/Indent/Size/Three/format.php b/test/Fixture/FormatNormalizer/NormalizeNormalizesJson/Json/IsObject/Indent/Size/Three/format.php index 75efb42d..3f13851d 100644 --- a/test/Fixture/FormatNormalizer/NormalizeNormalizesJson/Json/IsObject/Indent/Size/Three/format.php +++ b/test/Fixture/FormatNormalizer/NormalizeNormalizesJson/Json/IsObject/Indent/Size/Three/format.php @@ -3,7 +3,7 @@ declare(strict_types=1); /** - * Copyright (c) 2018-2023 Andreas Möller + * Copyright (c) 2018-2024 Andreas Möller * * For the full copyright and license information, please view * the LICENSE.md file that was distributed with this source code. diff --git a/test/Fixture/FormatNormalizer/NormalizeNormalizesJson/Json/IsObject/Indent/Style/Space/format.php b/test/Fixture/FormatNormalizer/NormalizeNormalizesJson/Json/IsObject/Indent/Style/Space/format.php index 713a02cf..18ae82ba 100644 --- a/test/Fixture/FormatNormalizer/NormalizeNormalizesJson/Json/IsObject/Indent/Style/Space/format.php +++ b/test/Fixture/FormatNormalizer/NormalizeNormalizesJson/Json/IsObject/Indent/Style/Space/format.php @@ -3,7 +3,7 @@ declare(strict_types=1); /** - * Copyright (c) 2018-2023 Andreas Möller + * Copyright (c) 2018-2024 Andreas Möller * * For the full copyright and license information, please view * the LICENSE.md file that was distributed with this source code. diff --git a/test/Fixture/FormatNormalizer/NormalizeNormalizesJson/Json/IsObject/Indent/Style/Tab/format.php b/test/Fixture/FormatNormalizer/NormalizeNormalizesJson/Json/IsObject/Indent/Style/Tab/format.php index c578defe..4daa2055 100644 --- a/test/Fixture/FormatNormalizer/NormalizeNormalizesJson/Json/IsObject/Indent/Style/Tab/format.php +++ b/test/Fixture/FormatNormalizer/NormalizeNormalizesJson/Json/IsObject/Indent/Style/Tab/format.php @@ -3,7 +3,7 @@ declare(strict_types=1); /** - * Copyright (c) 2018-2023 Andreas Möller + * Copyright (c) 2018-2024 Andreas Möller * * For the full copyright and license information, please view * the LICENSE.md file that was distributed with this source code. diff --git a/test/Fixture/FormatNormalizer/NormalizeNormalizesJson/Json/IsObject/JsonEncodeOptions/JsonUnescapedSlashes/format.php b/test/Fixture/FormatNormalizer/NormalizeNormalizesJson/Json/IsObject/JsonEncodeOptions/JsonUnescapedSlashes/format.php index 48983452..8c9ed55f 100644 --- a/test/Fixture/FormatNormalizer/NormalizeNormalizesJson/Json/IsObject/JsonEncodeOptions/JsonUnescapedSlashes/format.php +++ b/test/Fixture/FormatNormalizer/NormalizeNormalizesJson/Json/IsObject/JsonEncodeOptions/JsonUnescapedSlashes/format.php @@ -3,7 +3,7 @@ declare(strict_types=1); /** - * Copyright (c) 2018-2023 Andreas Möller + * Copyright (c) 2018-2024 Andreas Möller * * For the full copyright and license information, please view * the LICENSE.md file that was distributed with this source code. diff --git a/test/Fixture/FormatNormalizer/NormalizeNormalizesJson/Json/IsObject/JsonEncodeOptions/JsonUnescapedUnicode/format.php b/test/Fixture/FormatNormalizer/NormalizeNormalizesJson/Json/IsObject/JsonEncodeOptions/JsonUnescapedUnicode/format.php index aaca95ed..f29ee95c 100644 --- a/test/Fixture/FormatNormalizer/NormalizeNormalizesJson/Json/IsObject/JsonEncodeOptions/JsonUnescapedUnicode/format.php +++ b/test/Fixture/FormatNormalizer/NormalizeNormalizesJson/Json/IsObject/JsonEncodeOptions/JsonUnescapedUnicode/format.php @@ -3,7 +3,7 @@ declare(strict_types=1); /** - * Copyright (c) 2018-2023 Andreas Möller + * Copyright (c) 2018-2024 Andreas Möller * * For the full copyright and license information, please view * the LICENSE.md file that was distributed with this source code. diff --git a/test/Fixture/FormatNormalizer/NormalizeNormalizesJson/Json/IsObject/JsonEncodeOptions/Zero/format.php b/test/Fixture/FormatNormalizer/NormalizeNormalizesJson/Json/IsObject/JsonEncodeOptions/Zero/format.php index 94acf30c..bc5ead2a 100644 --- a/test/Fixture/FormatNormalizer/NormalizeNormalizesJson/Json/IsObject/JsonEncodeOptions/Zero/format.php +++ b/test/Fixture/FormatNormalizer/NormalizeNormalizesJson/Json/IsObject/JsonEncodeOptions/Zero/format.php @@ -3,7 +3,7 @@ declare(strict_types=1); /** - * Copyright (c) 2018-2023 Andreas Möller + * Copyright (c) 2018-2024 Andreas Möller * * For the full copyright and license information, please view * the LICENSE.md file that was distributed with this source code. diff --git a/test/Fixture/FormatNormalizer/NormalizeNormalizesJson/Scenario.php b/test/Fixture/FormatNormalizer/NormalizeNormalizesJson/Scenario.php index 13eeb393..131efa40 100644 --- a/test/Fixture/FormatNormalizer/NormalizeNormalizesJson/Scenario.php +++ b/test/Fixture/FormatNormalizer/NormalizeNormalizesJson/Scenario.php @@ -3,7 +3,7 @@ declare(strict_types=1); /** - * Copyright (c) 2018-2023 Andreas Möller + * Copyright (c) 2018-2024 Andreas Möller * * For the full copyright and license information, please view * the LICENSE.md file that was distributed with this source code. diff --git a/test/Fixture/SchemaNormalizer/NormalizeNormalizesJson/Scenario.php b/test/Fixture/SchemaNormalizer/NormalizeNormalizesJson/Scenario.php index 510af2dd..c53bcf47 100644 --- a/test/Fixture/SchemaNormalizer/NormalizeNormalizesJson/Scenario.php +++ b/test/Fixture/SchemaNormalizer/NormalizeNormalizesJson/Scenario.php @@ -3,7 +3,7 @@ declare(strict_types=1); /** - * Copyright (c) 2018-2023 Andreas Möller + * Copyright (c) 2018-2024 Andreas Möller * * For the full copyright and license information, please view * the LICENSE.md file that was distributed with this source code. diff --git a/test/Fixture/SchemaNormalizer/NormalizeNormalizesJson/WithCustomJsonPointerSpecification/Json/IsObject/Schema/HasType/IsScalar/WithPropertyDefinitions/specification-for-pointer-to-data-that-should-not-be-sorted.php b/test/Fixture/SchemaNormalizer/NormalizeNormalizesJson/WithCustomJsonPointerSpecification/Json/IsObject/Schema/HasType/IsScalar/WithPropertyDefinitions/specification-for-pointer-to-data-that-should-not-be-sorted.php index 36869cc1..224b1cb7 100644 --- a/test/Fixture/SchemaNormalizer/NormalizeNormalizesJson/WithCustomJsonPointerSpecification/Json/IsObject/Schema/HasType/IsScalar/WithPropertyDefinitions/specification-for-pointer-to-data-that-should-not-be-sorted.php +++ b/test/Fixture/SchemaNormalizer/NormalizeNormalizesJson/WithCustomJsonPointerSpecification/Json/IsObject/Schema/HasType/IsScalar/WithPropertyDefinitions/specification-for-pointer-to-data-that-should-not-be-sorted.php @@ -3,7 +3,7 @@ declare(strict_types=1); /** - * Copyright (c) 2018-2023 Andreas Möller + * Copyright (c) 2018-2024 Andreas Möller * * For the full copyright and license information, please view * the LICENSE.md file that was distributed with this source code. diff --git a/test/Fixture/SchemaNormalizer/NormalizeNormalizesJson/WithCustomJsonPointerSpecification/Json/IsObject/Schema/HasType/IsScalar/WithPropertyDefinitionsAndAdditionalProperties/specification-for-pointer-to-data-that-should-not-be-sorted.php b/test/Fixture/SchemaNormalizer/NormalizeNormalizesJson/WithCustomJsonPointerSpecification/Json/IsObject/Schema/HasType/IsScalar/WithPropertyDefinitionsAndAdditionalProperties/specification-for-pointer-to-data-that-should-not-be-sorted.php index 36869cc1..224b1cb7 100644 --- a/test/Fixture/SchemaNormalizer/NormalizeNormalizesJson/WithCustomJsonPointerSpecification/Json/IsObject/Schema/HasType/IsScalar/WithPropertyDefinitionsAndAdditionalProperties/specification-for-pointer-to-data-that-should-not-be-sorted.php +++ b/test/Fixture/SchemaNormalizer/NormalizeNormalizesJson/WithCustomJsonPointerSpecification/Json/IsObject/Schema/HasType/IsScalar/WithPropertyDefinitionsAndAdditionalProperties/specification-for-pointer-to-data-that-should-not-be-sorted.php @@ -3,7 +3,7 @@ declare(strict_types=1); /** - * Copyright (c) 2018-2023 Andreas Möller + * Copyright (c) 2018-2024 Andreas Möller * * For the full copyright and license information, please view * the LICENSE.md file that was distributed with this source code. diff --git a/test/Fixture/SchemaNormalizer/NormalizeNormalizesJson/WithCustomJsonPointerSpecification/Json/IsObject/Schema/HasType/IsScalar/WithoutPropertyDefinitions/specification-for-pointer-to-data-that-should-not-be-sorted.php b/test/Fixture/SchemaNormalizer/NormalizeNormalizesJson/WithCustomJsonPointerSpecification/Json/IsObject/Schema/HasType/IsScalar/WithoutPropertyDefinitions/specification-for-pointer-to-data-that-should-not-be-sorted.php index 36869cc1..224b1cb7 100644 --- a/test/Fixture/SchemaNormalizer/NormalizeNormalizesJson/WithCustomJsonPointerSpecification/Json/IsObject/Schema/HasType/IsScalar/WithoutPropertyDefinitions/specification-for-pointer-to-data-that-should-not-be-sorted.php +++ b/test/Fixture/SchemaNormalizer/NormalizeNormalizesJson/WithCustomJsonPointerSpecification/Json/IsObject/Schema/HasType/IsScalar/WithoutPropertyDefinitions/specification-for-pointer-to-data-that-should-not-be-sorted.php @@ -3,7 +3,7 @@ declare(strict_types=1); /** - * Copyright (c) 2018-2023 Andreas Möller + * Copyright (c) 2018-2024 Andreas Möller * * For the full copyright and license information, please view * the LICENSE.md file that was distributed with this source code. diff --git a/test/Fixture/SchemaNormalizer/NormalizeNormalizesJson/WithCustomJsonPointerSpecification/Json/IsObject/Schema/IsEmpty/specification-for-pointer-to-data-that-should-not-be-sorted.php b/test/Fixture/SchemaNormalizer/NormalizeNormalizesJson/WithCustomJsonPointerSpecification/Json/IsObject/Schema/IsEmpty/specification-for-pointer-to-data-that-should-not-be-sorted.php index b60bef7a..f8dd3cb4 100644 --- a/test/Fixture/SchemaNormalizer/NormalizeNormalizesJson/WithCustomJsonPointerSpecification/Json/IsObject/Schema/IsEmpty/specification-for-pointer-to-data-that-should-not-be-sorted.php +++ b/test/Fixture/SchemaNormalizer/NormalizeNormalizesJson/WithCustomJsonPointerSpecification/Json/IsObject/Schema/IsEmpty/specification-for-pointer-to-data-that-should-not-be-sorted.php @@ -3,7 +3,7 @@ declare(strict_types=1); /** - * Copyright (c) 2018-2023 Andreas Möller + * Copyright (c) 2018-2024 Andreas Möller * * For the full copyright and license information, please view * the LICENSE.md file that was distributed with this source code. diff --git a/test/Fixture/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Scenario.php b/test/Fixture/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Scenario.php index 3e66f176..c7d3b772 100644 --- a/test/Fixture/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Scenario.php +++ b/test/Fixture/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Scenario.php @@ -3,7 +3,7 @@ declare(strict_types=1); /** - * Copyright (c) 2018-2023 Andreas Möller + * Copyright (c) 2018-2024 Andreas Möller * * For the full copyright and license information, please view * the LICENSE.md file that was distributed with this source code. diff --git a/test/Fixture/Vendor/Composer/ComposerJsonNormalizer/NormalizeRejectsJson/Scenario.php b/test/Fixture/Vendor/Composer/ComposerJsonNormalizer/NormalizeRejectsJson/Scenario.php index 0f935fe9..deff845b 100644 --- a/test/Fixture/Vendor/Composer/ComposerJsonNormalizer/NormalizeRejectsJson/Scenario.php +++ b/test/Fixture/Vendor/Composer/ComposerJsonNormalizer/NormalizeRejectsJson/Scenario.php @@ -3,7 +3,7 @@ declare(strict_types=1); /** - * Copyright (c) 2018-2023 Andreas Möller + * Copyright (c) 2018-2024 Andreas Möller * * For the full copyright and license information, please view * the LICENSE.md file that was distributed with this source code. diff --git a/test/Unit/CallableNormalizerTest.php b/test/Unit/CallableNormalizerTest.php index eabf68ed..18dc7821 100644 --- a/test/Unit/CallableNormalizerTest.php +++ b/test/Unit/CallableNormalizerTest.php @@ -3,7 +3,7 @@ declare(strict_types=1); /** - * Copyright (c) 2018-2023 Andreas Möller + * Copyright (c) 2018-2024 Andreas Möller * * For the full copyright and license information, please view * the LICENSE.md file that was distributed with this source code. diff --git a/test/Unit/ChainNormalizerTest.php b/test/Unit/ChainNormalizerTest.php index b8c301eb..f29f85d1 100644 --- a/test/Unit/ChainNormalizerTest.php +++ b/test/Unit/ChainNormalizerTest.php @@ -3,7 +3,7 @@ declare(strict_types=1); /** - * Copyright (c) 2018-2023 Andreas Möller + * Copyright (c) 2018-2024 Andreas Möller * * For the full copyright and license information, please view * the LICENSE.md file that was distributed with this source code. diff --git a/test/Unit/Exception/DependencyMissingTest.php b/test/Unit/Exception/DependencyMissingTest.php index 7fadf6a2..ee303f68 100644 --- a/test/Unit/Exception/DependencyMissingTest.php +++ b/test/Unit/Exception/DependencyMissingTest.php @@ -3,7 +3,7 @@ declare(strict_types=1); /** - * Copyright (c) 2018-2023 Andreas Möller + * Copyright (c) 2018-2024 Andreas Möller * * For the full copyright and license information, please view * the LICENSE.md file that was distributed with this source code. diff --git a/test/Unit/Exception/InvalidIndentSizeTest.php b/test/Unit/Exception/InvalidIndentSizeTest.php index f516cfbb..f9de2424 100644 --- a/test/Unit/Exception/InvalidIndentSizeTest.php +++ b/test/Unit/Exception/InvalidIndentSizeTest.php @@ -3,7 +3,7 @@ declare(strict_types=1); /** - * Copyright (c) 2018-2023 Andreas Möller + * Copyright (c) 2018-2024 Andreas Möller * * For the full copyright and license information, please view * the LICENSE.md file that was distributed with this source code. diff --git a/test/Unit/Exception/InvalidIndentStringTest.php b/test/Unit/Exception/InvalidIndentStringTest.php index dfdf0038..06520fed 100644 --- a/test/Unit/Exception/InvalidIndentStringTest.php +++ b/test/Unit/Exception/InvalidIndentStringTest.php @@ -3,7 +3,7 @@ declare(strict_types=1); /** - * Copyright (c) 2018-2023 Andreas Möller + * Copyright (c) 2018-2024 Andreas Möller * * For the full copyright and license information, please view * the LICENSE.md file that was distributed with this source code. diff --git a/test/Unit/Exception/InvalidIndentStyleTest.php b/test/Unit/Exception/InvalidIndentStyleTest.php index 9eab44c0..3092a9eb 100644 --- a/test/Unit/Exception/InvalidIndentStyleTest.php +++ b/test/Unit/Exception/InvalidIndentStyleTest.php @@ -3,7 +3,7 @@ declare(strict_types=1); /** - * Copyright (c) 2018-2023 Andreas Möller + * Copyright (c) 2018-2024 Andreas Möller * * For the full copyright and license information, please view * the LICENSE.md file that was distributed with this source code. diff --git a/test/Unit/Exception/InvalidJsonEncodeOptionsTest.php b/test/Unit/Exception/InvalidJsonEncodeOptionsTest.php index 13e924e7..6466f6d4 100644 --- a/test/Unit/Exception/InvalidJsonEncodeOptionsTest.php +++ b/test/Unit/Exception/InvalidJsonEncodeOptionsTest.php @@ -3,7 +3,7 @@ declare(strict_types=1); /** - * Copyright (c) 2018-2023 Andreas Möller + * Copyright (c) 2018-2024 Andreas Möller * * For the full copyright and license information, please view * the LICENSE.md file that was distributed with this source code. diff --git a/test/Unit/Exception/InvalidNewLineStringTest.php b/test/Unit/Exception/InvalidNewLineStringTest.php index 6be9b359..ace4310d 100644 --- a/test/Unit/Exception/InvalidNewLineStringTest.php +++ b/test/Unit/Exception/InvalidNewLineStringTest.php @@ -3,7 +3,7 @@ declare(strict_types=1); /** - * Copyright (c) 2018-2023 Andreas Möller + * Copyright (c) 2018-2024 Andreas Möller * * For the full copyright and license information, please view * the LICENSE.md file that was distributed with this source code. diff --git a/test/Unit/Exception/NormalizedInvalidAccordingToSchemaTest.php b/test/Unit/Exception/NormalizedInvalidAccordingToSchemaTest.php index 98647c45..155bf980 100644 --- a/test/Unit/Exception/NormalizedInvalidAccordingToSchemaTest.php +++ b/test/Unit/Exception/NormalizedInvalidAccordingToSchemaTest.php @@ -3,7 +3,7 @@ declare(strict_types=1); /** - * Copyright (c) 2018-2023 Andreas Möller + * Copyright (c) 2018-2024 Andreas Möller * * For the full copyright and license information, please view * the LICENSE.md file that was distributed with this source code. diff --git a/test/Unit/Exception/OriginalInvalidAccordingToSchemaTest.php b/test/Unit/Exception/OriginalInvalidAccordingToSchemaTest.php index ea649a1d..d6b6fa07 100644 --- a/test/Unit/Exception/OriginalInvalidAccordingToSchemaTest.php +++ b/test/Unit/Exception/OriginalInvalidAccordingToSchemaTest.php @@ -3,7 +3,7 @@ declare(strict_types=1); /** - * Copyright (c) 2018-2023 Andreas Möller + * Copyright (c) 2018-2024 Andreas Möller * * For the full copyright and license information, please view * the LICENSE.md file that was distributed with this source code. diff --git a/test/Unit/Exception/SchemaUriCouldNotBeReadTest.php b/test/Unit/Exception/SchemaUriCouldNotBeReadTest.php index 1b2d3588..3de5899f 100644 --- a/test/Unit/Exception/SchemaUriCouldNotBeReadTest.php +++ b/test/Unit/Exception/SchemaUriCouldNotBeReadTest.php @@ -3,7 +3,7 @@ declare(strict_types=1); /** - * Copyright (c) 2018-2023 Andreas Möller + * Copyright (c) 2018-2024 Andreas Möller * * For the full copyright and license information, please view * the LICENSE.md file that was distributed with this source code. diff --git a/test/Unit/Exception/SchemaUriCouldNotBeResolvedTest.php b/test/Unit/Exception/SchemaUriCouldNotBeResolvedTest.php index 2ab394a2..e59ebe92 100644 --- a/test/Unit/Exception/SchemaUriCouldNotBeResolvedTest.php +++ b/test/Unit/Exception/SchemaUriCouldNotBeResolvedTest.php @@ -3,7 +3,7 @@ declare(strict_types=1); /** - * Copyright (c) 2018-2023 Andreas Möller + * Copyright (c) 2018-2024 Andreas Möller * * For the full copyright and license information, please view * the LICENSE.md file that was distributed with this source code. diff --git a/test/Unit/Exception/SchemaUriReferencesDocumentWithInvalidMediaTypeTest.php b/test/Unit/Exception/SchemaUriReferencesDocumentWithInvalidMediaTypeTest.php index ebaaa09c..c966bd51 100644 --- a/test/Unit/Exception/SchemaUriReferencesDocumentWithInvalidMediaTypeTest.php +++ b/test/Unit/Exception/SchemaUriReferencesDocumentWithInvalidMediaTypeTest.php @@ -3,7 +3,7 @@ declare(strict_types=1); /** - * Copyright (c) 2018-2023 Andreas Möller + * Copyright (c) 2018-2024 Andreas Möller * * For the full copyright and license information, please view * the LICENSE.md file that was distributed with this source code. diff --git a/test/Unit/Exception/SchemaUriReferencesInvalidJsonDocumentTest.php b/test/Unit/Exception/SchemaUriReferencesInvalidJsonDocumentTest.php index 074f8fa2..d3fa248b 100644 --- a/test/Unit/Exception/SchemaUriReferencesInvalidJsonDocumentTest.php +++ b/test/Unit/Exception/SchemaUriReferencesInvalidJsonDocumentTest.php @@ -3,7 +3,7 @@ declare(strict_types=1); /** - * Copyright (c) 2018-2023 Andreas Möller + * Copyright (c) 2018-2024 Andreas Möller * * For the full copyright and license information, please view * the LICENSE.md file that was distributed with this source code. diff --git a/test/Unit/Format/DefaultFormatterTest.php b/test/Unit/Format/DefaultFormatterTest.php index d2e5aa44..5469b4b8 100644 --- a/test/Unit/Format/DefaultFormatterTest.php +++ b/test/Unit/Format/DefaultFormatterTest.php @@ -3,7 +3,7 @@ declare(strict_types=1); /** - * Copyright (c) 2018-2023 Andreas Möller + * Copyright (c) 2018-2024 Andreas Möller * * For the full copyright and license information, please view * the LICENSE.md file that was distributed with this source code. diff --git a/test/Unit/Format/FormatTest.php b/test/Unit/Format/FormatTest.php index 0e9a9ddb..047843d0 100644 --- a/test/Unit/Format/FormatTest.php +++ b/test/Unit/Format/FormatTest.php @@ -3,7 +3,7 @@ declare(strict_types=1); /** - * Copyright (c) 2018-2023 Andreas Möller + * Copyright (c) 2018-2024 Andreas Möller * * For the full copyright and license information, please view * the LICENSE.md file that was distributed with this source code. diff --git a/test/Unit/Format/IndentTest.php b/test/Unit/Format/IndentTest.php index 7ad6c197..902e12aa 100644 --- a/test/Unit/Format/IndentTest.php +++ b/test/Unit/Format/IndentTest.php @@ -3,7 +3,7 @@ declare(strict_types=1); /** - * Copyright (c) 2018-2023 Andreas Möller + * Copyright (c) 2018-2024 Andreas Möller * * For the full copyright and license information, please view * the LICENSE.md file that was distributed with this source code. diff --git a/test/Unit/Format/JsonEncodeOptionsTest.php b/test/Unit/Format/JsonEncodeOptionsTest.php index cb878469..84fa345c 100644 --- a/test/Unit/Format/JsonEncodeOptionsTest.php +++ b/test/Unit/Format/JsonEncodeOptionsTest.php @@ -3,7 +3,7 @@ declare(strict_types=1); /** - * Copyright (c) 2018-2023 Andreas Möller + * Copyright (c) 2018-2024 Andreas Möller * * For the full copyright and license information, please view * the LICENSE.md file that was distributed with this source code. diff --git a/test/Unit/Format/NewLineTest.php b/test/Unit/Format/NewLineTest.php index acf6e1f9..38039364 100644 --- a/test/Unit/Format/NewLineTest.php +++ b/test/Unit/Format/NewLineTest.php @@ -3,7 +3,7 @@ declare(strict_types=1); /** - * Copyright (c) 2018-2023 Andreas Möller + * Copyright (c) 2018-2024 Andreas Möller * * For the full copyright and license information, please view * the LICENSE.md file that was distributed with this source code. diff --git a/test/Unit/FormatNormalizerTest.php b/test/Unit/FormatNormalizerTest.php index 3438529a..73a88e1d 100644 --- a/test/Unit/FormatNormalizerTest.php +++ b/test/Unit/FormatNormalizerTest.php @@ -3,7 +3,7 @@ declare(strict_types=1); /** - * Copyright (c) 2018-2023 Andreas Möller + * Copyright (c) 2018-2024 Andreas Möller * * For the full copyright and license information, please view * the LICENSE.md file that was distributed with this source code. diff --git a/test/Unit/IndentNormalizerTest.php b/test/Unit/IndentNormalizerTest.php index 80f99d18..663b01b6 100644 --- a/test/Unit/IndentNormalizerTest.php +++ b/test/Unit/IndentNormalizerTest.php @@ -3,7 +3,7 @@ declare(strict_types=1); /** - * Copyright (c) 2018-2023 Andreas Möller + * Copyright (c) 2018-2024 Andreas Möller * * For the full copyright and license information, please view * the LICENSE.md file that was distributed with this source code. diff --git a/test/Unit/JsonEncodeNormalizerTest.php b/test/Unit/JsonEncodeNormalizerTest.php index 63153dc7..63873b90 100644 --- a/test/Unit/JsonEncodeNormalizerTest.php +++ b/test/Unit/JsonEncodeNormalizerTest.php @@ -3,7 +3,7 @@ declare(strict_types=1); /** - * Copyright (c) 2018-2023 Andreas Möller + * Copyright (c) 2018-2024 Andreas Möller * * For the full copyright and license information, please view * the LICENSE.md file that was distributed with this source code. diff --git a/test/Unit/SchemaNormalizerTest.php b/test/Unit/SchemaNormalizerTest.php index 2f4f03f7..2d6ef4c3 100644 --- a/test/Unit/SchemaNormalizerTest.php +++ b/test/Unit/SchemaNormalizerTest.php @@ -3,7 +3,7 @@ declare(strict_types=1); /** - * Copyright (c) 2018-2023 Andreas Möller + * Copyright (c) 2018-2024 Andreas Möller * * For the full copyright and license information, please view * the LICENSE.md file that was distributed with this source code. diff --git a/test/Unit/Vendor/Composer/ComposerJsonNormalizerTest.php b/test/Unit/Vendor/Composer/ComposerJsonNormalizerTest.php index 7c8ee3cd..660ea9fa 100644 --- a/test/Unit/Vendor/Composer/ComposerJsonNormalizerTest.php +++ b/test/Unit/Vendor/Composer/ComposerJsonNormalizerTest.php @@ -3,7 +3,7 @@ declare(strict_types=1); /** - * Copyright (c) 2018-2023 Andreas Möller + * Copyright (c) 2018-2024 Andreas Möller * * For the full copyright and license information, please view * the LICENSE.md file that was distributed with this source code. diff --git a/test/Unit/WithFinalNewLineNormalizerTest.php b/test/Unit/WithFinalNewLineNormalizerTest.php index 6e0daafe..fa1410da 100644 --- a/test/Unit/WithFinalNewLineNormalizerTest.php +++ b/test/Unit/WithFinalNewLineNormalizerTest.php @@ -3,7 +3,7 @@ declare(strict_types=1); /** - * Copyright (c) 2018-2023 Andreas Möller + * Copyright (c) 2018-2024 Andreas Möller * * For the full copyright and license information, please view * the LICENSE.md file that was distributed with this source code. diff --git a/test/Unit/WithoutFinalNewLineNormalizerTest.php b/test/Unit/WithoutFinalNewLineNormalizerTest.php index 732c0017..8e54ee62 100644 --- a/test/Unit/WithoutFinalNewLineNormalizerTest.php +++ b/test/Unit/WithoutFinalNewLineNormalizerTest.php @@ -3,7 +3,7 @@ declare(strict_types=1); /** - * Copyright (c) 2018-2023 Andreas Möller + * Copyright (c) 2018-2024 Andreas Möller * * For the full copyright and license information, please view * the LICENSE.md file that was distributed with this source code. diff --git a/test/Unit/bootstrap.php b/test/Unit/bootstrap.php index ccef7853..d2a41573 100644 --- a/test/Unit/bootstrap.php +++ b/test/Unit/bootstrap.php @@ -3,7 +3,7 @@ declare(strict_types=1); /** - * Copyright (c) 2018-2023 Andreas Möller + * Copyright (c) 2018-2024 Andreas Möller * * For the full copyright and license information, please view * the LICENSE.md file that was distributed with this source code. diff --git a/test/Util/Helper.php b/test/Util/Helper.php index c1be178e..0182f88e 100644 --- a/test/Util/Helper.php +++ b/test/Util/Helper.php @@ -3,7 +3,7 @@ declare(strict_types=1); /** - * Copyright (c) 2018-2023 Andreas Möller + * Copyright (c) 2018-2024 Andreas Möller * * For the full copyright and license information, please view * the LICENSE.md file that was distributed with this source code. From b6f2d3105233566e0ce14cd68783ffeb240ba2d8 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 1 Jan 2024 20:14:13 +0000 Subject: [PATCH 075/111] composer(deps-dev): Bump ergebnis/php-cs-fixer-config Bumps [ergebnis/php-cs-fixer-config](https://github.com/ergebnis/php-cs-fixer-config) from 6.16.1 to 6.17.0. - [Release notes](https://github.com/ergebnis/php-cs-fixer-config/releases) - [Changelog](https://github.com/ergebnis/php-cs-fixer-config/blob/main/CHANGELOG.md) - [Commits](https://github.com/ergebnis/php-cs-fixer-config/compare/6.16.1...6.17.0) --- updated-dependencies: - dependency-name: ergebnis/php-cs-fixer-config dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- composer.json | 2 +- composer.lock | 74 +++++++++++++++++++++++++-------------------------- 2 files changed, 38 insertions(+), 38 deletions(-) diff --git a/composer.json b/composer.json index 4cfd0cec..a41c429c 100644 --- a/composer.json +++ b/composer.json @@ -33,7 +33,7 @@ "composer/semver": "^3.4.0", "ergebnis/data-provider": "^3.2.0", "ergebnis/license": "^2.4.0", - "ergebnis/php-cs-fixer-config": "~6.16.1", + "ergebnis/php-cs-fixer-config": "~6.17.0", "ergebnis/phpunit-slow-test-detector": "^2.9.0", "fakerphp/faker": "^1.23.0", "infection/infection": "~0.27.9", diff --git a/composer.lock b/composer.lock index 9cfdec06..95ed22b6 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "d02c4b57c96368fa81bfd4911cb19ccb", + "content-hash": "dc65d19f17829406fcc6c63c81d0a560", "packages": [ { "name": "ergebnis/json", @@ -1578,22 +1578,22 @@ }, { "name": "ergebnis/php-cs-fixer-config", - "version": "6.16.1", + "version": "6.17.0", "source": { "type": "git", "url": "https://github.com/ergebnis/php-cs-fixer-config.git", - "reference": "0b9979c7ce3664723328787875ba672cea353c55" + "reference": "8189355c101621f216755c6cecbc01ee74176a99" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/ergebnis/php-cs-fixer-config/zipball/0b9979c7ce3664723328787875ba672cea353c55", - "reference": "0b9979c7ce3664723328787875ba672cea353c55", + "url": "https://api.github.com/repos/ergebnis/php-cs-fixer-config/zipball/8189355c101621f216755c6cecbc01ee74176a99", + "reference": "8189355c101621f216755c6cecbc01ee74176a99", "shasum": "" }, "require": { "erickskrauch/php-cs-fixer-custom-fixers": "~1.2.1", "ext-filter": "*", - "friendsofphp/php-cs-fixer": "~3.43.1", + "friendsofphp/php-cs-fixer": "~3.45.0", "kubawerlos/php-cs-fixer-custom-fixers": "~3.17.1", "php": "~7.4.0 || ~8.0.0 || ~8.1.0 || ~8.2.0 || ~8.3.0" }, @@ -1642,7 +1642,7 @@ "security": "https://github.com/ergebnis/php-cs-fixer-config/blob/main/.github/SECURITY.md", "source": "https://github.com/ergebnis/php-cs-fixer-config" }, - "time": "2023-12-29T13:21:50+00:00" + "time": "2023-12-30T08:34:18+00:00" }, { "name": "ergebnis/phpunit-slow-test-detector", @@ -2005,16 +2005,16 @@ }, { "name": "friendsofphp/php-cs-fixer", - "version": "v3.43.1", + "version": "v3.45.0", "source": { "type": "git", "url": "https://github.com/PHP-CS-Fixer/PHP-CS-Fixer.git", - "reference": "91c0b47216aa43b09656b4d99aa9dade2f3ad8fc" + "reference": "c0daa33cb2533cd73f48dde1c70c2afa3e7953b5" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/PHP-CS-Fixer/PHP-CS-Fixer/zipball/91c0b47216aa43b09656b4d99aa9dade2f3ad8fc", - "reference": "91c0b47216aa43b09656b4d99aa9dade2f3ad8fc", + "url": "https://api.github.com/repos/PHP-CS-Fixer/PHP-CS-Fixer/zipball/c0daa33cb2533cd73f48dde1c70c2afa3e7953b5", + "reference": "c0daa33cb2533cd73f48dde1c70c2afa3e7953b5", "shasum": "" }, "require": { @@ -2083,7 +2083,7 @@ ], "support": { "issues": "https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues", - "source": "https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/tree/v3.43.1" + "source": "https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/tree/v3.45.0" }, "funding": [ { @@ -2091,7 +2091,7 @@ "type": "github" } ], - "time": "2023-12-29T09:42:16+00:00" + "time": "2023-12-30T02:07:07+00:00" }, { "name": "infection/abstract-testframework-adapter", @@ -5551,16 +5551,16 @@ }, { "name": "symfony/console", - "version": "v6.4.1", + "version": "v6.4.2", "source": { "type": "git", "url": "https://github.com/symfony/console.git", - "reference": "a550a7c99daeedef3f9d23fb82e3531525ff11fd" + "reference": "0254811a143e6bc6c8deea08b589a7e68a37f625" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/console/zipball/a550a7c99daeedef3f9d23fb82e3531525ff11fd", - "reference": "a550a7c99daeedef3f9d23fb82e3531525ff11fd", + "url": "https://api.github.com/repos/symfony/console/zipball/0254811a143e6bc6c8deea08b589a7e68a37f625", + "reference": "0254811a143e6bc6c8deea08b589a7e68a37f625", "shasum": "" }, "require": { @@ -5625,7 +5625,7 @@ "terminal" ], "support": { - "source": "https://github.com/symfony/console/tree/v6.4.1" + "source": "https://github.com/symfony/console/tree/v6.4.2" }, "funding": [ { @@ -5641,7 +5641,7 @@ "type": "tidelift" } ], - "time": "2023-11-30T10:54:28+00:00" + "time": "2023-12-10T16:15:48+00:00" }, { "name": "symfony/deprecation-contracts", @@ -5712,16 +5712,16 @@ }, { "name": "symfony/event-dispatcher", - "version": "v6.4.0", + "version": "v6.4.2", "source": { "type": "git", "url": "https://github.com/symfony/event-dispatcher.git", - "reference": "d76d2632cfc2206eecb5ad2b26cd5934082941b6" + "reference": "e95216850555cd55e71b857eb9d6c2674124603a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/d76d2632cfc2206eecb5ad2b26cd5934082941b6", - "reference": "d76d2632cfc2206eecb5ad2b26cd5934082941b6", + "url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/e95216850555cd55e71b857eb9d6c2674124603a", + "reference": "e95216850555cd55e71b857eb9d6c2674124603a", "shasum": "" }, "require": { @@ -5772,7 +5772,7 @@ "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/event-dispatcher/tree/v6.4.0" + "source": "https://github.com/symfony/event-dispatcher/tree/v6.4.2" }, "funding": [ { @@ -5788,7 +5788,7 @@ "type": "tidelift" } ], - "time": "2023-07-27T06:52:43+00:00" + "time": "2023-12-27T22:16:42+00:00" }, { "name": "symfony/event-dispatcher-contracts", @@ -6633,16 +6633,16 @@ }, { "name": "symfony/process", - "version": "v6.4.0", + "version": "v6.4.2", "source": { "type": "git", "url": "https://github.com/symfony/process.git", - "reference": "191703b1566d97a5425dc969e4350d32b8ef17aa" + "reference": "c4b1ef0bc80533d87a2e969806172f1c2a980241" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/process/zipball/191703b1566d97a5425dc969e4350d32b8ef17aa", - "reference": "191703b1566d97a5425dc969e4350d32b8ef17aa", + "url": "https://api.github.com/repos/symfony/process/zipball/c4b1ef0bc80533d87a2e969806172f1c2a980241", + "reference": "c4b1ef0bc80533d87a2e969806172f1c2a980241", "shasum": "" }, "require": { @@ -6674,7 +6674,7 @@ "description": "Executes commands in sub-processes", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/process/tree/v6.4.0" + "source": "https://github.com/symfony/process/tree/v6.4.2" }, "funding": [ { @@ -6690,7 +6690,7 @@ "type": "tidelift" } ], - "time": "2023-11-17T21:06:49+00:00" + "time": "2023-12-22T16:42:54+00:00" }, { "name": "symfony/service-contracts", @@ -6838,16 +6838,16 @@ }, { "name": "symfony/string", - "version": "v6.4.0", + "version": "v6.4.2", "source": { "type": "git", "url": "https://github.com/symfony/string.git", - "reference": "b45fcf399ea9c3af543a92edf7172ba21174d809" + "reference": "7cb80bc10bfcdf6b5492741c0b9357dac66940bc" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/string/zipball/b45fcf399ea9c3af543a92edf7172ba21174d809", - "reference": "b45fcf399ea9c3af543a92edf7172ba21174d809", + "url": "https://api.github.com/repos/symfony/string/zipball/7cb80bc10bfcdf6b5492741c0b9357dac66940bc", + "reference": "7cb80bc10bfcdf6b5492741c0b9357dac66940bc", "shasum": "" }, "require": { @@ -6904,7 +6904,7 @@ "utf8" ], "support": { - "source": "https://github.com/symfony/string/tree/v6.4.0" + "source": "https://github.com/symfony/string/tree/v6.4.2" }, "funding": [ { @@ -6920,7 +6920,7 @@ "type": "tidelift" } ], - "time": "2023-11-28T20:41:49+00:00" + "time": "2023-12-10T16:15:48+00:00" }, { "name": "thecodingmachine/safe", From eaf35a2bac6e98b34a9667b072151af1b95d2395 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 2 Jan 2024 20:20:35 +0000 Subject: [PATCH 076/111] composer(deps-dev): Bump fakerphp/faker from 1.23.0 to 1.23.1 Bumps [fakerphp/faker](https://github.com/FakerPHP/Faker) from 1.23.0 to 1.23.1. - [Release notes](https://github.com/FakerPHP/Faker/releases) - [Changelog](https://github.com/FakerPHP/Faker/blob/v1.23.1/CHANGELOG.md) - [Commits](https://github.com/FakerPHP/Faker/compare/v1.23.0...v1.23.1) --- updated-dependencies: - dependency-name: fakerphp/faker dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- composer.json | 2 +- composer.lock | 19 +++++++------------ 2 files changed, 8 insertions(+), 13 deletions(-) diff --git a/composer.json b/composer.json index a41c429c..cd027456 100644 --- a/composer.json +++ b/composer.json @@ -35,7 +35,7 @@ "ergebnis/license": "^2.4.0", "ergebnis/php-cs-fixer-config": "~6.17.0", "ergebnis/phpunit-slow-test-detector": "^2.9.0", - "fakerphp/faker": "^1.23.0", + "fakerphp/faker": "^1.23.1", "infection/infection": "~0.27.9", "phpunit/phpunit": "^10.5.5", "psalm/plugin-phpunit": "~0.18.4", diff --git a/composer.lock b/composer.lock index 95ed22b6..85bb4ab5 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "dc65d19f17829406fcc6c63c81d0a560", + "content-hash": "76db1d732d613ab390f43704fb8974c9", "packages": [ { "name": "ergebnis/json", @@ -1775,16 +1775,16 @@ }, { "name": "fakerphp/faker", - "version": "v1.23.0", + "version": "v1.23.1", "source": { "type": "git", "url": "https://github.com/FakerPHP/Faker.git", - "reference": "e3daa170d00fde61ea7719ef47bb09bb8f1d9b01" + "reference": "bfb4fe148adbf78eff521199619b93a52ae3554b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/FakerPHP/Faker/zipball/e3daa170d00fde61ea7719ef47bb09bb8f1d9b01", - "reference": "e3daa170d00fde61ea7719ef47bb09bb8f1d9b01", + "url": "https://api.github.com/repos/FakerPHP/Faker/zipball/bfb4fe148adbf78eff521199619b93a52ae3554b", + "reference": "bfb4fe148adbf78eff521199619b93a52ae3554b", "shasum": "" }, "require": { @@ -1810,11 +1810,6 @@ "ext-mbstring": "Required for multibyte Unicode string functionality." }, "type": "library", - "extra": { - "branch-alias": { - "dev-main": "v1.21-dev" - } - }, "autoload": { "psr-4": { "Faker\\": "src/Faker/" @@ -1837,9 +1832,9 @@ ], "support": { "issues": "https://github.com/FakerPHP/Faker/issues", - "source": "https://github.com/FakerPHP/Faker/tree/v1.23.0" + "source": "https://github.com/FakerPHP/Faker/tree/v1.23.1" }, - "time": "2023-06-12T08:44:38+00:00" + "time": "2024-01-02T13:46:09+00:00" }, { "name": "felixfbecker/advanced-json-rpc", From 14a193bc871ba8eb54dc865b23214c8350edd033 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 4 Jan 2024 20:24:20 +0000 Subject: [PATCH 077/111] composer(deps-dev): Bump ergebnis/php-cs-fixer-config Bumps [ergebnis/php-cs-fixer-config](https://github.com/ergebnis/php-cs-fixer-config) from 6.17.0 to 6.19.0. - [Release notes](https://github.com/ergebnis/php-cs-fixer-config/releases) - [Changelog](https://github.com/ergebnis/php-cs-fixer-config/blob/main/CHANGELOG.md) - [Commits](https://github.com/ergebnis/php-cs-fixer-config/compare/6.17.0...6.19.0) --- updated-dependencies: - dependency-name: ergebnis/php-cs-fixer-config dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- composer.json | 2 +- composer.lock | 43 ++++++++++++++++++++++--------------------- 2 files changed, 23 insertions(+), 22 deletions(-) diff --git a/composer.json b/composer.json index cd027456..90631cf7 100644 --- a/composer.json +++ b/composer.json @@ -33,7 +33,7 @@ "composer/semver": "^3.4.0", "ergebnis/data-provider": "^3.2.0", "ergebnis/license": "^2.4.0", - "ergebnis/php-cs-fixer-config": "~6.17.0", + "ergebnis/php-cs-fixer-config": "~6.19.0", "ergebnis/phpunit-slow-test-detector": "^2.9.0", "fakerphp/faker": "^1.23.1", "infection/infection": "~0.27.9", diff --git a/composer.lock b/composer.lock index 85bb4ab5..007d31be 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "76db1d732d613ab390f43704fb8974c9", + "content-hash": "a3cf4f6b33fefcd7fa484a5e44d6ed60", "packages": [ { "name": "ergebnis/json", @@ -1578,23 +1578,23 @@ }, { "name": "ergebnis/php-cs-fixer-config", - "version": "6.17.0", + "version": "6.19.0", "source": { "type": "git", "url": "https://github.com/ergebnis/php-cs-fixer-config.git", - "reference": "8189355c101621f216755c6cecbc01ee74176a99" + "reference": "2c268b13551fee83fbdbe8297150fe38b3598598" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/ergebnis/php-cs-fixer-config/zipball/8189355c101621f216755c6cecbc01ee74176a99", - "reference": "8189355c101621f216755c6cecbc01ee74176a99", + "url": "https://api.github.com/repos/ergebnis/php-cs-fixer-config/zipball/2c268b13551fee83fbdbe8297150fe38b3598598", + "reference": "2c268b13551fee83fbdbe8297150fe38b3598598", "shasum": "" }, "require": { "erickskrauch/php-cs-fixer-custom-fixers": "~1.2.1", "ext-filter": "*", - "friendsofphp/php-cs-fixer": "~3.45.0", - "kubawerlos/php-cs-fixer-custom-fixers": "~3.17.1", + "friendsofphp/php-cs-fixer": "~3.46.0", + "kubawerlos/php-cs-fixer-custom-fixers": "~3.18.0", "php": "~7.4.0 || ~8.0.0 || ~8.1.0 || ~8.2.0 || ~8.3.0" }, "require-dev": { @@ -1603,7 +1603,7 @@ "ergebnis/license": "^2.4.0", "ergebnis/phpunit-slow-test-detector": "^2.9.0", "ergebnis/rector-rules": "~0.3.0", - "fakerphp/faker": "^1.23.0", + "fakerphp/faker": "^1.23.1", "infection/infection": "~0.26.6", "phpunit/phpunit": "^9.6.15", "psalm/plugin-phpunit": "~0.18.4", @@ -1642,7 +1642,7 @@ "security": "https://github.com/ergebnis/php-cs-fixer-config/blob/main/.github/SECURITY.md", "source": "https://github.com/ergebnis/php-cs-fixer-config" }, - "time": "2023-12-30T08:34:18+00:00" + "time": "2024-01-04T10:45:13+00:00" }, { "name": "ergebnis/phpunit-slow-test-detector", @@ -2000,21 +2000,22 @@ }, { "name": "friendsofphp/php-cs-fixer", - "version": "v3.45.0", + "version": "v3.46.0", "source": { "type": "git", "url": "https://github.com/PHP-CS-Fixer/PHP-CS-Fixer.git", - "reference": "c0daa33cb2533cd73f48dde1c70c2afa3e7953b5" + "reference": "be6831c9af1740470d2a773119b9273f8ac1c3d2" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/PHP-CS-Fixer/PHP-CS-Fixer/zipball/c0daa33cb2533cd73f48dde1c70c2afa3e7953b5", - "reference": "c0daa33cb2533cd73f48dde1c70c2afa3e7953b5", + "url": "https://api.github.com/repos/PHP-CS-Fixer/PHP-CS-Fixer/zipball/be6831c9af1740470d2a773119b9273f8ac1c3d2", + "reference": "be6831c9af1740470d2a773119b9273f8ac1c3d2", "shasum": "" }, "require": { "composer/semver": "^3.4", "composer/xdebug-handler": "^3.0.3", + "ext-filter": "*", "ext-json": "*", "ext-tokenizer": "*", "php": "^7.4 || ^8.0", @@ -2078,7 +2079,7 @@ ], "support": { "issues": "https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues", - "source": "https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/tree/v3.45.0" + "source": "https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/tree/v3.46.0" }, "funding": [ { @@ -2086,7 +2087,7 @@ "type": "github" } ], - "time": "2023-12-30T02:07:07+00:00" + "time": "2024-01-03T21:38:46+00:00" }, { "name": "infection/abstract-testframework-adapter", @@ -2447,16 +2448,16 @@ }, { "name": "kubawerlos/php-cs-fixer-custom-fixers", - "version": "v3.17.1", + "version": "v3.18.0", "source": { "type": "git", "url": "https://github.com/kubawerlos/php-cs-fixer-custom-fixers.git", - "reference": "1adfc79e5bd11ff713b1c2a512c382cc8fcff34e" + "reference": "e03b07a58e08133c92c9e7a5ccc69e1457f8c98d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/kubawerlos/php-cs-fixer-custom-fixers/zipball/1adfc79e5bd11ff713b1c2a512c382cc8fcff34e", - "reference": "1adfc79e5bd11ff713b1c2a512c382cc8fcff34e", + "url": "https://api.github.com/repos/kubawerlos/php-cs-fixer-custom-fixers/zipball/e03b07a58e08133c92c9e7a5ccc69e1457f8c98d", + "reference": "e03b07a58e08133c92c9e7a5ccc69e1457f8c98d", "shasum": "" }, "require": { @@ -2487,9 +2488,9 @@ "description": "A set of custom fixers for PHP CS Fixer", "support": { "issues": "https://github.com/kubawerlos/php-cs-fixer-custom-fixers/issues", - "source": "https://github.com/kubawerlos/php-cs-fixer-custom-fixers/tree/v3.17.1" + "source": "https://github.com/kubawerlos/php-cs-fixer-custom-fixers/tree/v3.18.0" }, - "time": "2023-12-23T14:34:27+00:00" + "time": "2023-12-31T13:36:45+00:00" }, { "name": "myclabs/deep-copy", From 19052e0eb987e304f4871500fafa041c57d2d492 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20M=C3=B6ller?= Date: Sun, 7 Jan 2024 17:55:00 +0100 Subject: [PATCH 078/111] Fix: Run 'make coding-standards' --- .php-cs-fixer.php | 2 +- src/Exception/InvalidIndentStyle.php | 2 +- test/Unit/Exception/InvalidIndentStyleTest.php | 2 +- test/Unit/Format/JsonEncodeOptionsTest.php | 2 +- test/Unit/JsonEncodeNormalizerTest.php | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.php-cs-fixer.php b/.php-cs-fixer.php index b614ae97..e6753f35 100644 --- a/.php-cs-fixer.php +++ b/.php-cs-fixer.php @@ -18,7 +18,7 @@ __DIR__ . '/LICENSE.md', License\Range::since( License\Year::fromString('2018'), - new \DateTimeZone('UTC'), + new DateTimeZone('UTC'), ), License\Holder::fromString('Andreas Möller'), License\Url::fromString('https://github.com/ergebnis/json-normalizer'), diff --git a/src/Exception/InvalidIndentStyle.php b/src/Exception/InvalidIndentStyle.php index 3bcf185c..ee27e308 100644 --- a/src/Exception/InvalidIndentStyle.php +++ b/src/Exception/InvalidIndentStyle.php @@ -22,7 +22,7 @@ final class InvalidIndentStyle extends \InvalidArgumentException implements Exce * * @psalm-var list * - * @var array + * @var list */ private array $allowedStyles = []; diff --git a/test/Unit/Exception/InvalidIndentStyleTest.php b/test/Unit/Exception/InvalidIndentStyleTest.php index 3092a9eb..29a924c1 100644 --- a/test/Unit/Exception/InvalidIndentStyleTest.php +++ b/test/Unit/Exception/InvalidIndentStyleTest.php @@ -36,7 +36,7 @@ public function testFromStyleAndAllowedStylesReturnsInvalidIndentStyleException( $style = $faker->word(); - /** @var array $allowedStyles */ + /** @var list $allowedStyles */ $allowedStyles = $faker->words(); $exception = Exception\InvalidIndentStyle::fromStyleAndAllowedStyles( diff --git a/test/Unit/Format/JsonEncodeOptionsTest.php b/test/Unit/Format/JsonEncodeOptionsTest.php index 84fa345c..80111f25 100644 --- a/test/Unit/Format/JsonEncodeOptionsTest.php +++ b/test/Unit/Format/JsonEncodeOptionsTest.php @@ -97,7 +97,7 @@ public function testFromJsonReturnsJsonEncodeOptions( } /** - * @return array + * @return list */ public static function provideJsonEncodeOptionsAndEncoded(): array { diff --git a/test/Unit/JsonEncodeNormalizerTest.php b/test/Unit/JsonEncodeNormalizerTest.php index 63873b90..e736d61c 100644 --- a/test/Unit/JsonEncodeNormalizerTest.php +++ b/test/Unit/JsonEncodeNormalizerTest.php @@ -94,7 +94,7 @@ static function (int $jsonEncodeFlag, int $jsonEncodeOptions): int { * * @param array $elements * - * @return array> + * @return list> */ private static function combinations(array $elements): array { From 97e43d73c4d017a095d35e78f3fb70a8ce8321c1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20M=C3=B6ller?= Date: Sun, 7 Jan 2024 18:00:28 +0100 Subject: [PATCH 079/111] Fix: Remove vendor-specific annotations --- src/ChainNormalizer.php | 4 ---- src/Exception/InvalidIndentStyle.php | 8 -------- src/Exception/NormalizedInvalidAccordingToSchema.php | 8 -------- src/Exception/OriginalInvalidAccordingToSchema.php | 8 -------- 4 files changed, 28 deletions(-) diff --git a/src/ChainNormalizer.php b/src/ChainNormalizer.php index b848be56..ea291999 100644 --- a/src/ChainNormalizer.php +++ b/src/ChainNormalizer.php @@ -18,10 +18,6 @@ final class ChainNormalizer implements Normalizer { /** - * @phpstan-var list - * - * @psalm-var list - * * @var array */ private readonly array $normalizers; diff --git a/src/Exception/InvalidIndentStyle.php b/src/Exception/InvalidIndentStyle.php index ee27e308..41ff5024 100644 --- a/src/Exception/InvalidIndentStyle.php +++ b/src/Exception/InvalidIndentStyle.php @@ -18,10 +18,6 @@ final class InvalidIndentStyle extends \InvalidArgumentException implements Exce private string $style = ''; /** - * @phpstan-var list - * - * @psalm-var list - * * @var list */ private array $allowedStyles = []; @@ -51,10 +47,6 @@ public function style(): string } /** - * @phpstan-return list - * - * @psalm-return list - * * @return array */ public function allowedStyles(): array diff --git a/src/Exception/NormalizedInvalidAccordingToSchema.php b/src/Exception/NormalizedInvalidAccordingToSchema.php index 3053438b..2d1d00f4 100644 --- a/src/Exception/NormalizedInvalidAccordingToSchema.php +++ b/src/Exception/NormalizedInvalidAccordingToSchema.php @@ -18,10 +18,6 @@ final class NormalizedInvalidAccordingToSchema extends \RuntimeException impleme private string $schemaUri = ''; /** - * @phpstan-var list - * - * @psalm-var list - * * @var array */ private array $errors = []; @@ -47,10 +43,6 @@ public function schemaUri(): string } /** - * @phpstan-return list - * - * @psalm-return list - * * @return array */ public function errors(): array diff --git a/src/Exception/OriginalInvalidAccordingToSchema.php b/src/Exception/OriginalInvalidAccordingToSchema.php index aeb7ea78..97392248 100644 --- a/src/Exception/OriginalInvalidAccordingToSchema.php +++ b/src/Exception/OriginalInvalidAccordingToSchema.php @@ -18,10 +18,6 @@ final class OriginalInvalidAccordingToSchema extends \RuntimeException implement private string $schemaUri = ''; /** - * @phpstan-var list - * - * @psalm-var list - * * @var array */ private array $errors = []; @@ -47,10 +43,6 @@ public function schemaUri(): string } /** - * @phpstan-return list - * - * @psalm-return list - * * @return array */ public function errors(): array From e5e3f3b303586ad4b7ab999cdbc3c069712d4002 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20M=C3=B6ller?= Date: Sun, 7 Jan 2024 18:02:29 +0100 Subject: [PATCH 080/111] Fix: DocBlocks --- src/Exception/InvalidIndentStyle.php | 2 +- src/Exception/NormalizedInvalidAccordingToSchema.php | 4 ++-- src/Exception/OriginalInvalidAccordingToSchema.php | 4 ++-- src/Vendor/Composer/VersionConstraintNormalizer.php | 4 ++-- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/Exception/InvalidIndentStyle.php b/src/Exception/InvalidIndentStyle.php index 41ff5024..95141814 100644 --- a/src/Exception/InvalidIndentStyle.php +++ b/src/Exception/InvalidIndentStyle.php @@ -47,7 +47,7 @@ public function style(): string } /** - * @return array + * @return list */ public function allowedStyles(): array { diff --git a/src/Exception/NormalizedInvalidAccordingToSchema.php b/src/Exception/NormalizedInvalidAccordingToSchema.php index 2d1d00f4..3696a9bf 100644 --- a/src/Exception/NormalizedInvalidAccordingToSchema.php +++ b/src/Exception/NormalizedInvalidAccordingToSchema.php @@ -18,7 +18,7 @@ final class NormalizedInvalidAccordingToSchema extends \RuntimeException impleme private string $schemaUri = ''; /** - * @var array + * @var list */ private array $errors = []; @@ -43,7 +43,7 @@ public function schemaUri(): string } /** - * @return array + * @return list */ public function errors(): array { diff --git a/src/Exception/OriginalInvalidAccordingToSchema.php b/src/Exception/OriginalInvalidAccordingToSchema.php index 97392248..11dd35d1 100644 --- a/src/Exception/OriginalInvalidAccordingToSchema.php +++ b/src/Exception/OriginalInvalidAccordingToSchema.php @@ -18,7 +18,7 @@ final class OriginalInvalidAccordingToSchema extends \RuntimeException implement private string $schemaUri = ''; /** - * @var array + * @var list */ private array $errors = []; @@ -43,7 +43,7 @@ public function schemaUri(): string } /** - * @return array + * @return list */ public function errors(): array { diff --git a/src/Vendor/Composer/VersionConstraintNormalizer.php b/src/Vendor/Composer/VersionConstraintNormalizer.php index 01c995ba..4bfdb297 100644 --- a/src/Vendor/Composer/VersionConstraintNormalizer.php +++ b/src/Vendor/Composer/VersionConstraintNormalizer.php @@ -286,7 +286,7 @@ private static function sortVersionConstraints(string $versionConstraint): strin /** * @see https://github.com/composer/semver/blob/3.3.2/src/VersionParser.php#L257 * - * @return array + * @return list */ private static function splitIntoOrConstraints(string $versionConstraint): array { @@ -307,7 +307,7 @@ private static function joinOrConstraints(string ...$orConstraints): string /** * @see https://github.com/composer/semver/blob/3.3.2/src/VersionParser.php#L264 * - * @return array + * @return list */ private static function splitIntoAndConstraints(string $orConstraint): array { From be70357c87c729ea265372ba0bc3ebcf161cafd1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20M=C3=B6ller?= Date: Sun, 7 Jan 2024 18:09:24 +0100 Subject: [PATCH 081/111] Enhancement: Synchronize with ergebnis/php-package-template --- .github/dependabot.yaml | 2 +- .github/settings.yml | 2 +- .github/workflows/integrate.yaml | 14 +------------- .github/workflows/release.yaml | 13 +++++++++++++ .github/workflows/renew.yaml | 5 +---- Makefile | 10 +--------- 6 files changed, 18 insertions(+), 28 deletions(-) diff --git a/.github/dependabot.yaml b/.github/dependabot.yaml index da211c1e..fdebab6f 100644 --- a/.github/dependabot.yaml +++ b/.github/dependabot.yaml @@ -1,4 +1,4 @@ -# https://docs.github.com/en/github/administering-a-repository/configuration-options-for-dependency-updates +# https://docs.github.com/en/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file version: 2 diff --git a/.github/settings.yml b/.github/settings.yml index d7ea0a80..890b608c 100644 --- a/.github/settings.yml +++ b/.github/settings.yml @@ -77,7 +77,7 @@ repository: archived: false default_branch: "main" delete_branch_on_merge: true - description: ":page_with_curl: Provides generic and vendor-specific normalizers for normalizing JSON documents." + description: "📃 Provides a composer package with generic and vendor-specific normalizers for normalizing JSON documents." enable_automated_security_fixes: true enable_vulnerability_alerts: true has_discussions: false diff --git a/.github/workflows/integrate.yaml b/.github/workflows/integrate.yaml index f6589c90..e3083b43 100644 --- a/.github/workflows/integrate.yaml +++ b/.github/workflows/integrate.yaml @@ -40,9 +40,6 @@ jobs: - name: "Set up problem matchers for PHP" run: "echo \"::add-matcher::${{ runner.tool_cache }}/php.json\"" - - name: "Set up problem matchers for phpunit/phpunit" - run: "echo \"::add-matcher::${{ runner.tool_cache }}/phpunit.json\"" - - name: "Validate composer.json and composer.lock" run: "composer validate --ansi --strict" @@ -188,9 +185,6 @@ jobs: - name: "Run ergebnis/composer-normalize" run: ".phive/composer-normalize --ansi --dry-run" - - name: "Create cache directory for friendsofphp/php-cs-fixer" - run: "mkdir -p .build/php-cs-fixer/" - - name: "Cache cache directory for friendsofphp/php-cs-fixer" uses: "actions/cache@v3.3.2" with: @@ -201,7 +195,7 @@ jobs: php-${{ matrix.php-version }}-php-cs-fixer- - name: "Run friendsofphp/php-cs-fixer" - run: "vendor/bin/php-cs-fixer fix --ansi --config=.php-cs-fixer.php --diff --dry-run --verbose" + run: "vendor/bin/php-cs-fixer fix --ansi --config=.php-cs-fixer.php --diff --dry-run --show-progress=dots --verbose" dependency-analysis: name: "Dependency Analysis" @@ -358,9 +352,6 @@ jobs: with: dependencies: "${{ matrix.dependencies }}" - - name: "Create cache directory for rector/rector" - run: "mkdir -p .build/rector/" - - name: "Cache cache directory for rector/rector" uses: "actions/cache@v3.3.2" with: @@ -470,9 +461,6 @@ jobs: with: dependencies: "${{ matrix.dependencies }}" - - name: "Create cache directory for vimeo/psalm" - run: "mkdir -p .build/psalm/" - - name: "Run vimeo/psalm" run: "vendor/bin/psalm --config=psalm.xml --output-format=github --shepherd --show-info=false --stats --threads=4" diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index dc949a58..7d104aa9 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -20,3 +20,16 @@ jobs: uses: "ergebnis/.github/actions/github/release/create@1.9.0" with: github-token: "${{ secrets.ERGEBNIS_BOT_TOKEN }}" + + - name: "Post to twitter.com about release" + uses: "Eomm/why-don-t-you-tweet@v1.1.0" + env: + TWITTER_ACCESS_TOKEN: "${{ secrets.ERGEBNIS_TWITTER_ACCESS_TOKEN }}" + TWITTER_ACCESS_TOKEN_SECRET: "${{ secrets.ERGEBNIS_TWITTER_ACCESS_TOKEN_SECRET }}" + TWITTER_CONSUMER_API_KEY: "${{ secrets.ERGEBNIS_TWITTER_CONSUMER_API_KEY }}" + TWITTER_CONSUMER_API_SECRET: "${{ secrets.ERGEBNIS_TWITTER_CONSUMER_API_KEY_SECRET }}" + with: + tweet-message: | + 📃 Just released: ${{ github.event.repository.owner.login }}/${{ github.event.repository.name }}:${{ env.RELEASE_TAG }}. + + ${{ env.RELEASE_HTML_URL }} diff --git a/.github/workflows/renew.yaml b/.github/workflows/renew.yaml index 9dbaa5cc..a3bc567e 100644 --- a/.github/workflows/renew.yaml +++ b/.github/workflows/renew.yaml @@ -56,9 +56,6 @@ jobs: with: dependencies: "${{ matrix.dependencies }}" - - name: "Create cache directory for friendsofphp/php-cs-fixer" - run: "mkdir -p .build/php-cs-fixer" - - name: "Cache cache directory for friendsofphp/php-cs-fixer" uses: "actions/cache@v3.3.2" with: @@ -69,7 +66,7 @@ jobs: php-${{ matrix.php-version }}-php-cs-fixer- - name: "Run friendsofphp/php-cs-fixer" - run: "vendor/bin/php-cs-fixer fix --ansi --config=.php-cs-fixer.php --diff --verbose" + run: "vendor/bin/php-cs-fixer fix --ansi --config=.php-cs-fixer.php --diff --show-progress=dots --verbose" - name: "Commit modified files" uses: "stefanzweifel/git-auto-commit-action@v5.0.0" diff --git a/Makefile b/Makefile index 88bc2b28..a1debbec 100644 --- a/Makefile +++ b/Makefile @@ -7,15 +7,13 @@ backward-compatibility-analysis: vendor ## Runs a backward-compatibility analysi .PHONY: code-coverage code-coverage: vendor ## Collects coverage from running unit tests with phpunit/phpunit - mkdir -p .build/phpunit/ vendor/bin/phpunit --configuration=test/Unit/phpunit.xml --coverage-text .PHONY: coding-standards coding-standards: phive vendor ## Lints YAML files with yamllint, normalizes composer.json with ergebnis/composer-normalize, and fixes code style issues with friendsofphp/php-cs-fixer yamllint -c .yamllint.yaml --strict . .phive/composer-normalize - mkdir -p .build/php-cs-fixer - vendor/bin/php-cs-fixer fix --config=.php-cs-fixer.php --diff --verbose + vendor/bin/php-cs-fixer fix --config=.php-cs-fixer.php --diff --show-progress=dots --verbose .PHONY: dependency-analysis dependency-analysis: phive vendor ## Runs a dependency analysis with maglnet/composer-require-checker @@ -27,17 +25,14 @@ help: ## Displays this list of targets with descriptions .PHONY: mutation-tests mutation-tests: vendor ## Runs mutation tests with infection/infection - mkdir -p .build/infection/ vendor/bin/infection --configuration=infection.json .PHONY: phive phive: .phive ## Installs dependencies with phive - mkdir -p .build/phive/ PHIVE_HOME=.build/phive phive install --trust-gpg-keys 0xC00543248C87FB13,0x033E5F8D801A2F8D .PHONY: refactoring refactoring: vendor ## Runs automated refactoring with rector/rector - mkdir -p .build/rector/ vendor/bin/rector process --config=rector.php .PHONY: schema @@ -51,19 +46,16 @@ security-analysis: vendor ## Runs a security analysis with composer .PHONY: static-code-analysis static-code-analysis: vendor ## Runs a static code analysis with vimeo/psalm - mkdir -p .build/psalm/ vendor/bin/psalm --config=psalm.xml --clear-cache vendor/bin/psalm --config=psalm.xml --show-info=false --stats --threads=4 .PHONY: static-code-analysis-baseline static-code-analysis-baseline: vendor ## Generates a baseline for static code analysis with vimeo/psalm - mkdir -p .build/psalm/ vendor/bin/psalm --config=psalm.xml --clear-cache vendor/bin/psalm --config=psalm.xml --set-baseline=psalm-baseline.xml .PHONY: tests tests: vendor ## Runs unit tests with phpunit/phpunit - mkdir -p .build/phpunit/ vendor/bin/phpunit --configuration=test/Unit/phpunit.xml vendor: composer.json composer.lock From 686756d4b8648f4cc85508c0f7b53827e4ccb67c Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 10 Jan 2024 20:54:29 +0000 Subject: [PATCH 082/111] composer(deps-dev): Bump vimeo/psalm from 5.18.0 to 5.19.0 Bumps [vimeo/psalm](https://github.com/vimeo/psalm) from 5.18.0 to 5.19.0. - [Release notes](https://github.com/vimeo/psalm/releases) - [Commits](https://github.com/vimeo/psalm/compare/5.18.0...5.19.0) --- updated-dependencies: - dependency-name: vimeo/psalm dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- composer.json | 2 +- composer.lock | 24 ++++++++++++------------ 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/composer.json b/composer.json index 90631cf7..d47fcdb8 100644 --- a/composer.json +++ b/composer.json @@ -43,7 +43,7 @@ "roave/backward-compatibility-check": "^8.6.0", "symfony/filesystem": "^6.4.0", "symfony/finder": "^6.4.0", - "vimeo/psalm": "^5.18.0" + "vimeo/psalm": "^5.19.0" }, "suggest": { "composer/semver": "If you want to use ComposerJsonNormalizer or VersionConstraintNormalizer" diff --git a/composer.lock b/composer.lock index 007d31be..3e92efdb 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "a3cf4f6b33fefcd7fa484a5e44d6ed60", + "content-hash": "5b50f5b6810ef0e4a73d042ed9f50c3e", "packages": [ { "name": "ergebnis/json", @@ -3140,16 +3140,16 @@ }, { "name": "phpstan/phpdoc-parser", - "version": "1.24.5", + "version": "1.25.0", "source": { "type": "git", "url": "https://github.com/phpstan/phpdoc-parser.git", - "reference": "fedf211ff14ec8381c9bf5714e33a7a552dd1acc" + "reference": "bd84b629c8de41aa2ae82c067c955e06f1b00240" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpstan/phpdoc-parser/zipball/fedf211ff14ec8381c9bf5714e33a7a552dd1acc", - "reference": "fedf211ff14ec8381c9bf5714e33a7a552dd1acc", + "url": "https://api.github.com/repos/phpstan/phpdoc-parser/zipball/bd84b629c8de41aa2ae82c067c955e06f1b00240", + "reference": "bd84b629c8de41aa2ae82c067c955e06f1b00240", "shasum": "" }, "require": { @@ -3181,9 +3181,9 @@ "description": "PHPDoc parser with support for nullable, intersection and generic types", "support": { "issues": "https://github.com/phpstan/phpdoc-parser/issues", - "source": "https://github.com/phpstan/phpdoc-parser/tree/1.24.5" + "source": "https://github.com/phpstan/phpdoc-parser/tree/1.25.0" }, - "time": "2023-12-16T09:33:33+00:00" + "time": "2024-01-04T17:06:16+00:00" }, { "name": "phpstan/phpstan", @@ -7109,16 +7109,16 @@ }, { "name": "vimeo/psalm", - "version": "5.18.0", + "version": "5.19.0", "source": { "type": "git", "url": "https://github.com/vimeo/psalm.git", - "reference": "b113f3ed0259fd6e212d87c3df80eec95a6abf19" + "reference": "06b71be009a6bd6d81b9811855d6629b9fe90e1b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/vimeo/psalm/zipball/b113f3ed0259fd6e212d87c3df80eec95a6abf19", - "reference": "b113f3ed0259fd6e212d87c3df80eec95a6abf19", + "url": "https://api.github.com/repos/vimeo/psalm/zipball/06b71be009a6bd6d81b9811855d6629b9fe90e1b", + "reference": "06b71be009a6bd6d81b9811855d6629b9fe90e1b", "shasum": "" }, "require": { @@ -7215,7 +7215,7 @@ "issues": "https://github.com/vimeo/psalm/issues", "source": "https://github.com/vimeo/psalm" }, - "time": "2023-12-16T09:37:35+00:00" + "time": "2024-01-09T21:02:43+00:00" }, { "name": "webmozart/assert", From 42a35186f4f0cc5868b57badde69753703724f0b Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 10 Jan 2024 20:57:33 +0000 Subject: [PATCH 083/111] composer(deps-dev): Bump rector/rector from 0.18.13 to 0.19.0 Bumps [rector/rector](https://github.com/rectorphp/rector) from 0.18.13 to 0.19.0. - [Release notes](https://github.com/rectorphp/rector/releases) - [Commits](https://github.com/rectorphp/rector/compare/0.18.13...0.19.0) --- updated-dependencies: - dependency-name: rector/rector dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- composer.json | 2 +- composer.lock | 26 +++++++++++++------------- 2 files changed, 14 insertions(+), 14 deletions(-) diff --git a/composer.json b/composer.json index d47fcdb8..6034ee8c 100644 --- a/composer.json +++ b/composer.json @@ -39,7 +39,7 @@ "infection/infection": "~0.27.9", "phpunit/phpunit": "^10.5.5", "psalm/plugin-phpunit": "~0.18.4", - "rector/rector": "~0.18.13", + "rector/rector": "~0.19.0", "roave/backward-compatibility-check": "^8.6.0", "symfony/filesystem": "^6.4.0", "symfony/finder": "^6.4.0", diff --git a/composer.lock b/composer.lock index 3e92efdb..fc60778e 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "5b50f5b6810ef0e4a73d042ed9f50c3e", + "content-hash": "8b37c955a3644576282ed4e5d3857015", "packages": [ { "name": "ergebnis/json", @@ -3187,16 +3187,16 @@ }, { "name": "phpstan/phpstan", - "version": "1.10.50", + "version": "1.10.55", "source": { "type": "git", "url": "https://github.com/phpstan/phpstan.git", - "reference": "06a98513ac72c03e8366b5a0cb00750b487032e4" + "reference": "9a88f9d18ddf4cf54c922fbeac16c4cb164c5949" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpstan/phpstan/zipball/06a98513ac72c03e8366b5a0cb00750b487032e4", - "reference": "06a98513ac72c03e8366b5a0cb00750b487032e4", + "url": "https://api.github.com/repos/phpstan/phpstan/zipball/9a88f9d18ddf4cf54c922fbeac16c4cb164c5949", + "reference": "9a88f9d18ddf4cf54c922fbeac16c4cb164c5949", "shasum": "" }, "require": { @@ -3245,7 +3245,7 @@ "type": "tidelift" } ], - "time": "2023-12-13T10:59:42+00:00" + "time": "2024-01-08T12:32:40+00:00" }, { "name": "phpunit/php-code-coverage", @@ -3957,21 +3957,21 @@ }, { "name": "rector/rector", - "version": "0.18.13", + "version": "0.19.0", "source": { "type": "git", "url": "https://github.com/rectorphp/rector.git", - "reference": "f8011a76d36aa4f839f60f3b4f97707d97176618" + "reference": "503f4ead06b3892bd106f67f3c86d4e36c94423d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/rectorphp/rector/zipball/f8011a76d36aa4f839f60f3b4f97707d97176618", - "reference": "f8011a76d36aa4f839f60f3b4f97707d97176618", + "url": "https://api.github.com/repos/rectorphp/rector/zipball/503f4ead06b3892bd106f67f3c86d4e36c94423d", + "reference": "503f4ead06b3892bd106f67f3c86d4e36c94423d", "shasum": "" }, "require": { "php": "^7.2|^8.0", - "phpstan/phpstan": "^1.10.35" + "phpstan/phpstan": "^1.10.52" }, "conflict": { "rector/rector-doctrine": "*", @@ -4001,7 +4001,7 @@ ], "support": { "issues": "https://github.com/rectorphp/rector/issues", - "source": "https://github.com/rectorphp/rector/tree/0.18.13" + "source": "https://github.com/rectorphp/rector/tree/0.19.0" }, "funding": [ { @@ -4009,7 +4009,7 @@ "type": "github" } ], - "time": "2023-12-20T16:08:01+00:00" + "time": "2024-01-09T00:49:06+00:00" }, { "name": "revolt/event-loop", From a73bb78f0f89874135d28aece15ab33b55f6e3a4 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 11 Jan 2024 20:19:46 +0000 Subject: [PATCH 084/111] github-actions(deps): Bump actions/cache from 3.3.2 to 3.3.3 Bumps [actions/cache](https://github.com/actions/cache) from 3.3.2 to 3.3.3. - [Release notes](https://github.com/actions/cache/releases) - [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md) - [Commits](https://github.com/actions/cache/compare/v3.3.2...v3.3.3) --- updated-dependencies: - dependency-name: actions/cache dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- .github/workflows/integrate.yaml | 22 +++++++++++----------- .github/workflows/renew.yaml | 4 ++-- .github/workflows/update.yaml | 2 +- 3 files changed, 14 insertions(+), 14 deletions(-) diff --git a/.github/workflows/integrate.yaml b/.github/workflows/integrate.yaml index e3083b43..8246f95c 100644 --- a/.github/workflows/integrate.yaml +++ b/.github/workflows/integrate.yaml @@ -47,7 +47,7 @@ jobs: uses: "ergebnis/.github/actions/composer/determine-cache-directory@1.9.0" - name: "Cache dependencies installed with composer" - uses: "actions/cache@v3.3.2" + uses: "actions/cache@v3.3.3" with: path: "${{ env.COMPOSER_CACHE_DIR }}" key: "php-${{ matrix.php-version }}-composer-${{ matrix.dependencies }}-${{ hashFiles('composer.lock') }}" @@ -100,7 +100,7 @@ jobs: uses: "ergebnis/.github/actions/composer/determine-cache-directory@1.9.0" - name: "Cache dependencies installed with composer" - uses: "actions/cache@v3.3.2" + uses: "actions/cache@v3.3.3" with: path: "${{ env.COMPOSER_CACHE_DIR }}" key: "php-${{ matrix.php-version }}-composer-${{ matrix.dependencies }}-${{ hashFiles('composer.lock') }}" @@ -166,7 +166,7 @@ jobs: uses: "ergebnis/.github/actions/composer/determine-cache-directory@1.9.0" - name: "Cache dependencies installed with composer" - uses: "actions/cache@v3.3.2" + uses: "actions/cache@v3.3.3" with: path: "${{ env.COMPOSER_CACHE_DIR }}" key: "php-${{ matrix.php-version }}-composer-${{ matrix.dependencies }}-${{ hashFiles('composer.lock') }}" @@ -186,7 +186,7 @@ jobs: run: ".phive/composer-normalize --ansi --dry-run" - name: "Cache cache directory for friendsofphp/php-cs-fixer" - uses: "actions/cache@v3.3.2" + uses: "actions/cache@v3.3.3" with: path: ".build/php-cs-fixer" key: "php-${{ matrix.php-version }}-php-cs-fixer-${{ github.ref_name }}" @@ -234,7 +234,7 @@ jobs: uses: "ergebnis/.github/actions/composer/determine-cache-directory@1.9.0" - name: "Cache dependencies installed with composer" - uses: "actions/cache@v3.3.2" + uses: "actions/cache@v3.3.3" with: path: "${{ env.COMPOSER_CACHE_DIR }}" key: "php-${{ matrix.php-version }}-composer-${{ matrix.dependencies }}-${{ hashFiles('composer.lock') }}" @@ -289,7 +289,7 @@ jobs: uses: "ergebnis/.github/actions/composer/determine-cache-directory@1.9.0" - name: "Cache dependencies installed with composer" - uses: "actions/cache@v3.3.2" + uses: "actions/cache@v3.3.3" with: path: "${{ env.COMPOSER_CACHE_DIR }}" key: "php-${{ matrix.php-version }}-composer-${{ matrix.dependencies }}-${{ hashFiles('composer.lock') }}" @@ -341,7 +341,7 @@ jobs: uses: "ergebnis/.github/actions/composer/determine-cache-directory@1.9.0" - name: "Cache dependencies installed with composer" - uses: "actions/cache@v3.3.2" + uses: "actions/cache@v3.3.3" with: path: "${{ env.COMPOSER_CACHE_DIR }}" key: "php-${{ matrix.php-version }}-composer-${{ matrix.dependencies }}-${{ hashFiles('composer.lock') }}" @@ -353,7 +353,7 @@ jobs: dependencies: "${{ matrix.dependencies }}" - name: "Cache cache directory for rector/rector" - uses: "actions/cache@v3.3.2" + uses: "actions/cache@v3.3.3" with: path: ".build/rector" key: "php-${{ matrix.php-version }}-rector-${{ github.ref_name }}" @@ -400,7 +400,7 @@ jobs: uses: "ergebnis/.github/actions/composer/determine-cache-directory@1.9.0" - name: "Cache dependencies installed with composer" - uses: "actions/cache@v3.3.2" + uses: "actions/cache@v3.3.3" with: path: "${{ env.COMPOSER_CACHE_DIR }}" key: "php-${{ matrix.php-version }}-composer-${{ matrix.dependencies }}-${{ hashFiles('composer.lock') }}" @@ -450,7 +450,7 @@ jobs: uses: "ergebnis/.github/actions/composer/determine-cache-directory@1.9.0" - name: "Cache dependencies installed with composer" - uses: "actions/cache@v3.3.2" + uses: "actions/cache@v3.3.3" with: path: "${{ env.COMPOSER_CACHE_DIR }}" key: "php-${{ matrix.php-version }}-composer-${{ matrix.dependencies }}-${{ hashFiles('composer.lock') }}" @@ -508,7 +508,7 @@ jobs: uses: "ergebnis/.github/actions/composer/determine-cache-directory@1.9.0" - name: "Cache dependencies installed with composer" - uses: "actions/cache@v3.3.2" + uses: "actions/cache@v3.3.3" with: path: "${{ env.COMPOSER_CACHE_DIR }}" key: "php-${{ matrix.php-version }}-composer-${{ matrix.dependencies }}-${{ hashFiles('composer.lock') }}" diff --git a/.github/workflows/renew.yaml b/.github/workflows/renew.yaml index a3bc567e..ecefe66e 100644 --- a/.github/workflows/renew.yaml +++ b/.github/workflows/renew.yaml @@ -45,7 +45,7 @@ jobs: uses: "ergebnis/.github/actions/composer/determine-cache-directory@1.9.0" - name: "Cache dependencies installed with composer" - uses: "actions/cache@v3.3.2" + uses: "actions/cache@v3.3.3" with: path: "${{ env.COMPOSER_CACHE_DIR }}" key: "php-${{ matrix.php-version }}-composer-${{ matrix.dependencies }}-${{ hashFiles('composer.lock') }}" @@ -57,7 +57,7 @@ jobs: dependencies: "${{ matrix.dependencies }}" - name: "Cache cache directory for friendsofphp/php-cs-fixer" - uses: "actions/cache@v3.3.2" + uses: "actions/cache@v3.3.3" with: path: ".build/php-cs-fixer" key: "php-${{ matrix.php-version }}-php-cs-fixer-${{ github.ref_name }}" diff --git a/.github/workflows/update.yaml b/.github/workflows/update.yaml index 4b5dbf3b..1e41fce0 100644 --- a/.github/workflows/update.yaml +++ b/.github/workflows/update.yaml @@ -40,7 +40,7 @@ jobs: uses: "ergebnis/.github/actions/composer/determine-cache-directory@1.9.0" - name: "Cache dependencies installed with composer" - uses: "actions/cache@v3.3.2" + uses: "actions/cache@v3.3.3" with: path: "${{ env.COMPOSER_CACHE_DIR }}" key: "php-${{ matrix.php-version }}-composer-${{ matrix.dependencies }}-${{ hashFiles('composer.lock') }}" From 32c80621301759bc0096027f26425997979ab6fc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20M=C3=B6ller?= Date: Mon, 15 Jan 2024 10:52:04 +0100 Subject: [PATCH 085/111] Fix: Namespace --- rector.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rector.php b/rector.php index bd1ff968..2b6023f2 100644 --- a/rector.php +++ b/rector.php @@ -12,9 +12,9 @@ */ use Rector\Config; -use Rector\Core; use Rector\Php81; use Rector\PHPUnit; +use Rector\ValueObject; return static function (Config\RectorConfig $rectorConfig): void { $rectorConfig->cacheDirectory(__DIR__ . '/.build/rector/'); @@ -26,7 +26,7 @@ __DIR__ . '/test/', ]); - $rectorConfig->phpVersion(Core\ValueObject\PhpVersion::PHP_81); + $rectorConfig->phpVersion(ValueObject\PhpVersion::PHP_81); $rectorConfig->rules([ Php81\Rector\Property\ReadOnlyPropertyRector::class, From 31732556adf1dec7c05ac8ad76aa3ec9b2e6dcd0 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 15 Jan 2024 20:42:44 +0000 Subject: [PATCH 086/111] composer(deps-dev): Bump phpunit/phpunit from 10.5.5 to 10.5.7 Bumps [phpunit/phpunit](https://github.com/sebastianbergmann/phpunit) from 10.5.5 to 10.5.7. - [Changelog](https://github.com/sebastianbergmann/phpunit/blob/10.5.7/ChangeLog-10.5.md) - [Commits](https://github.com/sebastianbergmann/phpunit/compare/10.5.5...10.5.7) --- updated-dependencies: - dependency-name: phpunit/phpunit dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- composer.json | 2 +- composer.lock | 14 +++++++------- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/composer.json b/composer.json index 6034ee8c..5ac35d42 100644 --- a/composer.json +++ b/composer.json @@ -37,7 +37,7 @@ "ergebnis/phpunit-slow-test-detector": "^2.9.0", "fakerphp/faker": "^1.23.1", "infection/infection": "~0.27.9", - "phpunit/phpunit": "^10.5.5", + "phpunit/phpunit": "^10.5.7", "psalm/plugin-phpunit": "~0.18.4", "rector/rector": "~0.19.0", "roave/backward-compatibility-check": "^8.6.0", diff --git a/composer.lock b/composer.lock index fc60778e..e2cf63ef 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "8b37c955a3644576282ed4e5d3857015", + "content-hash": "52b0a7db4242307c1431d34706d938ab", "packages": [ { "name": "ergebnis/json", @@ -3570,16 +3570,16 @@ }, { "name": "phpunit/phpunit", - "version": "10.5.5", + "version": "10.5.7", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/phpunit.git", - "reference": "ed21115d505b4b4f7dc7b5651464e19a2c7f7856" + "reference": "e5c5b397a95cb0db013270a985726fcae93e61b8" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/ed21115d505b4b4f7dc7b5651464e19a2c7f7856", - "reference": "ed21115d505b4b4f7dc7b5651464e19a2c7f7856", + "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/e5c5b397a95cb0db013270a985726fcae93e61b8", + "reference": "e5c5b397a95cb0db013270a985726fcae93e61b8", "shasum": "" }, "require": { @@ -3651,7 +3651,7 @@ "support": { "issues": "https://github.com/sebastianbergmann/phpunit/issues", "security": "https://github.com/sebastianbergmann/phpunit/security/policy", - "source": "https://github.com/sebastianbergmann/phpunit/tree/10.5.5" + "source": "https://github.com/sebastianbergmann/phpunit/tree/10.5.7" }, "funding": [ { @@ -3667,7 +3667,7 @@ "type": "tidelift" } ], - "time": "2023-12-27T15:13:52+00:00" + "time": "2024-01-14T16:40:30+00:00" }, { "name": "psalm/plugin-phpunit", From 391ebe7299e8f74bf76c4918ebbed770b3bfb097 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 15 Jan 2024 20:44:27 +0000 Subject: [PATCH 087/111] github-actions(deps): Bump shivammathur/setup-php from 2.28.0 to 2.29.0 Bumps [shivammathur/setup-php](https://github.com/shivammathur/setup-php) from 2.28.0 to 2.29.0. - [Release notes](https://github.com/shivammathur/setup-php/releases) - [Commits](https://github.com/shivammathur/setup-php/compare/2.28.0...2.29.0) --- updated-dependencies: - dependency-name: shivammathur/setup-php dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- .github/workflows/integrate.yaml | 18 +++++++++--------- .github/workflows/renew.yaml | 2 +- .github/workflows/update.yaml | 2 +- 3 files changed, 11 insertions(+), 11 deletions(-) diff --git a/.github/workflows/integrate.yaml b/.github/workflows/integrate.yaml index 8246f95c..fa144627 100644 --- a/.github/workflows/integrate.yaml +++ b/.github/workflows/integrate.yaml @@ -31,7 +31,7 @@ jobs: fetch-depth: 0 - name: "Set up PHP" - uses: "shivammathur/setup-php@2.28.0" + uses: "shivammathur/setup-php@2.29.0" with: coverage: "none" extensions: "none, bcmath, ctype, curl, dom, intl, json, mbstring, phar, simplexml, tokenizer, xml, xmlwriter" @@ -81,7 +81,7 @@ jobs: uses: "actions/checkout@v4.1.1" - name: "Set up PHP" - uses: "shivammathur/setup-php@2.28.0" + uses: "shivammathur/setup-php@2.29.0" with: coverage: "xdebug" extensions: "none, bcmath, ctype, curl, dom, intl, json, mbstring, phar, simplexml, tokenizer, xml, xmlwriter" @@ -149,7 +149,7 @@ jobs: strict: true - name: "Set up PHP" - uses: "shivammathur/setup-php@2.28.0" + uses: "shivammathur/setup-php@2.29.0" with: coverage: "none" extensions: "none, bcmath, ctype, curl, dom, intl, json, mbstring, phar, simplexml, tokenizer, xml, xmlwriter" @@ -217,7 +217,7 @@ jobs: uses: "actions/checkout@v4.1.1" - name: "Set up PHP" - uses: "shivammathur/setup-php@2.28.0" + uses: "shivammathur/setup-php@2.29.0" with: coverage: "none" extensions: "none, bcmath, ctype, curl, dom, intl, json, mbstring, phar, simplexml, tokenizer, xml, xmlwriter" @@ -273,7 +273,7 @@ jobs: uses: "actions/checkout@v4.1.1" - name: "Set up PHP" - uses: "shivammathur/setup-php@2.28.0" + uses: "shivammathur/setup-php@2.29.0" with: coverage: "xdebug" extensions: "none, bcmath, ctype, curl, dom, intl, json, mbstring, phar, simplexml, tokenizer, xml, xmlwriter" @@ -325,7 +325,7 @@ jobs: uses: "actions/checkout@v4.1.1" - name: "Set up PHP" - uses: "shivammathur/setup-php@2.28.0" + uses: "shivammathur/setup-php@2.29.0" with: coverage: "none" extensions: "none, bcmath, ctype, curl, dom, intl, json, mbstring, phar, simplexml, tokenizer, xml, xmlwriter" @@ -384,7 +384,7 @@ jobs: uses: "actions/checkout@v4.1.1" - name: "Set up PHP" - uses: "shivammathur/setup-php@2.28.0" + uses: "shivammathur/setup-php@2.29.0" with: coverage: "none" extensions: "none, bcmath, ctype, curl, dom, intl, json, mbstring, phar, simplexml, tokenizer, xml, xmlwriter" @@ -434,7 +434,7 @@ jobs: uses: "actions/checkout@v4.1.1" - name: "Set up PHP" - uses: "shivammathur/setup-php@2.28.0" + uses: "shivammathur/setup-php@2.29.0" with: coverage: "none" extensions: "none, bcmath, ctype, curl, dom, intl, json, mbstring, opcache, pcntl, phar, posix, simplexml, tokenizer, xml, xmlwriter" @@ -489,7 +489,7 @@ jobs: uses: "actions/checkout@v4.1.1" - name: "Set up PHP" - uses: "shivammathur/setup-php@2.28.0" + uses: "shivammathur/setup-php@2.29.0" with: coverage: "none" extensions: "none, bcmath, ctype, curl, dom, intl, json, mbstring, phar, simplexml, tokenizer, xml, xmlwriter" diff --git a/.github/workflows/renew.yaml b/.github/workflows/renew.yaml index ecefe66e..48fe6e97 100644 --- a/.github/workflows/renew.yaml +++ b/.github/workflows/renew.yaml @@ -29,7 +29,7 @@ jobs: token: "${{ secrets.ERGEBNIS_BOT_TOKEN }}" - name: "Set up PHP" - uses: "shivammathur/setup-php@2.28.0" + uses: "shivammathur/setup-php@2.29.0" with: coverage: "none" extensions: "none, bcmath, ctype, curl, dom, intl, json, mbstring, phar, simplexml, tokenizer, xml, xmlwriter" diff --git a/.github/workflows/update.yaml b/.github/workflows/update.yaml index 1e41fce0..1c674a0d 100644 --- a/.github/workflows/update.yaml +++ b/.github/workflows/update.yaml @@ -25,7 +25,7 @@ jobs: uses: "actions/checkout@v4.1.1" - name: "Set up PHP" - uses: "shivammathur/setup-php@2.28.0" + uses: "shivammathur/setup-php@2.29.0" with: coverage: "none" php-version: "${{ matrix.php-version }}" From e33bb55b512b5d61626b2a72a3726651d17bb2a2 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 15 Jan 2024 20:45:49 +0000 Subject: [PATCH 088/111] composer(deps-dev): Bump rector/rector from 0.19.0 to 0.19.1 Bumps [rector/rector](https://github.com/rectorphp/rector) from 0.19.0 to 0.19.1. - [Release notes](https://github.com/rectorphp/rector/releases) - [Commits](https://github.com/rectorphp/rector/compare/0.19.0...0.19.1) --- updated-dependencies: - dependency-name: rector/rector dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- composer.json | 2 +- composer.lock | 24 ++++++++++++------------ 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/composer.json b/composer.json index 5ac35d42..39f4d820 100644 --- a/composer.json +++ b/composer.json @@ -39,7 +39,7 @@ "infection/infection": "~0.27.9", "phpunit/phpunit": "^10.5.7", "psalm/plugin-phpunit": "~0.18.4", - "rector/rector": "~0.19.0", + "rector/rector": "~0.19.1", "roave/backward-compatibility-check": "^8.6.0", "symfony/filesystem": "^6.4.0", "symfony/finder": "^6.4.0", diff --git a/composer.lock b/composer.lock index e2cf63ef..e9407a34 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "52b0a7db4242307c1431d34706d938ab", + "content-hash": "a86ec64e6455e536f1c2b56e0fcd029e", "packages": [ { "name": "ergebnis/json", @@ -3187,16 +3187,16 @@ }, { "name": "phpstan/phpstan", - "version": "1.10.55", + "version": "1.10.56", "source": { "type": "git", "url": "https://github.com/phpstan/phpstan.git", - "reference": "9a88f9d18ddf4cf54c922fbeac16c4cb164c5949" + "reference": "27816a01aea996191ee14d010f325434c0ee76fa" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpstan/phpstan/zipball/9a88f9d18ddf4cf54c922fbeac16c4cb164c5949", - "reference": "9a88f9d18ddf4cf54c922fbeac16c4cb164c5949", + "url": "https://api.github.com/repos/phpstan/phpstan/zipball/27816a01aea996191ee14d010f325434c0ee76fa", + "reference": "27816a01aea996191ee14d010f325434c0ee76fa", "shasum": "" }, "require": { @@ -3245,7 +3245,7 @@ "type": "tidelift" } ], - "time": "2024-01-08T12:32:40+00:00" + "time": "2024-01-15T10:43:00+00:00" }, { "name": "phpunit/php-code-coverage", @@ -3957,16 +3957,16 @@ }, { "name": "rector/rector", - "version": "0.19.0", + "version": "0.19.1", "source": { "type": "git", "url": "https://github.com/rectorphp/rector.git", - "reference": "503f4ead06b3892bd106f67f3c86d4e36c94423d" + "reference": "2bba0dd55ba92c23f1253d9e60d0242a896d1025" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/rectorphp/rector/zipball/503f4ead06b3892bd106f67f3c86d4e36c94423d", - "reference": "503f4ead06b3892bd106f67f3c86d4e36c94423d", + "url": "https://api.github.com/repos/rectorphp/rector/zipball/2bba0dd55ba92c23f1253d9e60d0242a896d1025", + "reference": "2bba0dd55ba92c23f1253d9e60d0242a896d1025", "shasum": "" }, "require": { @@ -4001,7 +4001,7 @@ ], "support": { "issues": "https://github.com/rectorphp/rector/issues", - "source": "https://github.com/rectorphp/rector/tree/0.19.0" + "source": "https://github.com/rectorphp/rector/tree/0.19.1" }, "funding": [ { @@ -4009,7 +4009,7 @@ "type": "github" } ], - "time": "2024-01-09T00:49:06+00:00" + "time": "2024-01-15T18:02:43+00:00" }, { "name": "revolt/event-loop", From 99125877e072c5756264832614e7a632dffeb3be Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 17 Jan 2024 20:10:48 +0000 Subject: [PATCH 089/111] composer(deps-dev): Bump vimeo/psalm from 5.19.0 to 5.19.1 Bumps [vimeo/psalm](https://github.com/vimeo/psalm) from 5.19.0 to 5.19.1. - [Release notes](https://github.com/vimeo/psalm/releases) - [Commits](https://github.com/vimeo/psalm/compare/5.19.0...5.19.1) --- updated-dependencies: - dependency-name: vimeo/psalm dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- composer.json | 2 +- composer.lock | 24 ++++++++++++------------ 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/composer.json b/composer.json index 39f4d820..436a6c39 100644 --- a/composer.json +++ b/composer.json @@ -43,7 +43,7 @@ "roave/backward-compatibility-check": "^8.6.0", "symfony/filesystem": "^6.4.0", "symfony/finder": "^6.4.0", - "vimeo/psalm": "^5.19.0" + "vimeo/psalm": "^5.19.1" }, "suggest": { "composer/semver": "If you want to use ComposerJsonNormalizer or VersionConstraintNormalizer" diff --git a/composer.lock b/composer.lock index e9407a34..74fd01c6 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "a86ec64e6455e536f1c2b56e0fcd029e", + "content-hash": "db0e987c005fcd888e4423f6b3491aba", "packages": [ { "name": "ergebnis/json", @@ -3082,16 +3082,16 @@ }, { "name": "phpdocumentor/type-resolver", - "version": "1.7.3", + "version": "1.8.0", "source": { "type": "git", "url": "https://github.com/phpDocumentor/TypeResolver.git", - "reference": "3219c6ee25c9ea71e3d9bbaf39c67c9ebd499419" + "reference": "fad452781b3d774e3337b0c0b245dd8e5a4455fc" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpDocumentor/TypeResolver/zipball/3219c6ee25c9ea71e3d9bbaf39c67c9ebd499419", - "reference": "3219c6ee25c9ea71e3d9bbaf39c67c9ebd499419", + "url": "https://api.github.com/repos/phpDocumentor/TypeResolver/zipball/fad452781b3d774e3337b0c0b245dd8e5a4455fc", + "reference": "fad452781b3d774e3337b0c0b245dd8e5a4455fc", "shasum": "" }, "require": { @@ -3134,9 +3134,9 @@ "description": "A PSR-5 based resolver of Class names, Types and Structural Element Names", "support": { "issues": "https://github.com/phpDocumentor/TypeResolver/issues", - "source": "https://github.com/phpDocumentor/TypeResolver/tree/1.7.3" + "source": "https://github.com/phpDocumentor/TypeResolver/tree/1.8.0" }, - "time": "2023-08-12T11:01:26+00:00" + "time": "2024-01-11T11:49:22+00:00" }, { "name": "phpstan/phpdoc-parser", @@ -7109,16 +7109,16 @@ }, { "name": "vimeo/psalm", - "version": "5.19.0", + "version": "5.19.1", "source": { "type": "git", "url": "https://github.com/vimeo/psalm.git", - "reference": "06b71be009a6bd6d81b9811855d6629b9fe90e1b" + "reference": "b9583493b08eb36259c0f6b746a787c4c9b3ac45" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/vimeo/psalm/zipball/06b71be009a6bd6d81b9811855d6629b9fe90e1b", - "reference": "06b71be009a6bd6d81b9811855d6629b9fe90e1b", + "url": "https://api.github.com/repos/vimeo/psalm/zipball/b9583493b08eb36259c0f6b746a787c4c9b3ac45", + "reference": "b9583493b08eb36259c0f6b746a787c4c9b3ac45", "shasum": "" }, "require": { @@ -7215,7 +7215,7 @@ "issues": "https://github.com/vimeo/psalm/issues", "source": "https://github.com/vimeo/psalm" }, - "time": "2024-01-09T21:02:43+00:00" + "time": "2024-01-14T22:41:50+00:00" }, { "name": "webmozart/assert", From daa30724d012084b1b2f0d3c0f2fc7181f41ff8d Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 17 Jan 2024 20:40:22 +0000 Subject: [PATCH 090/111] github-actions(deps): Bump actions/cache from 3.3.3 to 4.0.0 Bumps [actions/cache](https://github.com/actions/cache) from 3.3.3 to 4.0.0. - [Release notes](https://github.com/actions/cache/releases) - [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md) - [Commits](https://github.com/actions/cache/compare/v3.3.3...v4.0.0) --- updated-dependencies: - dependency-name: actions/cache dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- .github/workflows/integrate.yaml | 22 +++++++++++----------- .github/workflows/renew.yaml | 4 ++-- .github/workflows/update.yaml | 2 +- 3 files changed, 14 insertions(+), 14 deletions(-) diff --git a/.github/workflows/integrate.yaml b/.github/workflows/integrate.yaml index fa144627..50cadd5a 100644 --- a/.github/workflows/integrate.yaml +++ b/.github/workflows/integrate.yaml @@ -47,7 +47,7 @@ jobs: uses: "ergebnis/.github/actions/composer/determine-cache-directory@1.9.0" - name: "Cache dependencies installed with composer" - uses: "actions/cache@v3.3.3" + uses: "actions/cache@v4.0.0" with: path: "${{ env.COMPOSER_CACHE_DIR }}" key: "php-${{ matrix.php-version }}-composer-${{ matrix.dependencies }}-${{ hashFiles('composer.lock') }}" @@ -100,7 +100,7 @@ jobs: uses: "ergebnis/.github/actions/composer/determine-cache-directory@1.9.0" - name: "Cache dependencies installed with composer" - uses: "actions/cache@v3.3.3" + uses: "actions/cache@v4.0.0" with: path: "${{ env.COMPOSER_CACHE_DIR }}" key: "php-${{ matrix.php-version }}-composer-${{ matrix.dependencies }}-${{ hashFiles('composer.lock') }}" @@ -166,7 +166,7 @@ jobs: uses: "ergebnis/.github/actions/composer/determine-cache-directory@1.9.0" - name: "Cache dependencies installed with composer" - uses: "actions/cache@v3.3.3" + uses: "actions/cache@v4.0.0" with: path: "${{ env.COMPOSER_CACHE_DIR }}" key: "php-${{ matrix.php-version }}-composer-${{ matrix.dependencies }}-${{ hashFiles('composer.lock') }}" @@ -186,7 +186,7 @@ jobs: run: ".phive/composer-normalize --ansi --dry-run" - name: "Cache cache directory for friendsofphp/php-cs-fixer" - uses: "actions/cache@v3.3.3" + uses: "actions/cache@v4.0.0" with: path: ".build/php-cs-fixer" key: "php-${{ matrix.php-version }}-php-cs-fixer-${{ github.ref_name }}" @@ -234,7 +234,7 @@ jobs: uses: "ergebnis/.github/actions/composer/determine-cache-directory@1.9.0" - name: "Cache dependencies installed with composer" - uses: "actions/cache@v3.3.3" + uses: "actions/cache@v4.0.0" with: path: "${{ env.COMPOSER_CACHE_DIR }}" key: "php-${{ matrix.php-version }}-composer-${{ matrix.dependencies }}-${{ hashFiles('composer.lock') }}" @@ -289,7 +289,7 @@ jobs: uses: "ergebnis/.github/actions/composer/determine-cache-directory@1.9.0" - name: "Cache dependencies installed with composer" - uses: "actions/cache@v3.3.3" + uses: "actions/cache@v4.0.0" with: path: "${{ env.COMPOSER_CACHE_DIR }}" key: "php-${{ matrix.php-version }}-composer-${{ matrix.dependencies }}-${{ hashFiles('composer.lock') }}" @@ -341,7 +341,7 @@ jobs: uses: "ergebnis/.github/actions/composer/determine-cache-directory@1.9.0" - name: "Cache dependencies installed with composer" - uses: "actions/cache@v3.3.3" + uses: "actions/cache@v4.0.0" with: path: "${{ env.COMPOSER_CACHE_DIR }}" key: "php-${{ matrix.php-version }}-composer-${{ matrix.dependencies }}-${{ hashFiles('composer.lock') }}" @@ -353,7 +353,7 @@ jobs: dependencies: "${{ matrix.dependencies }}" - name: "Cache cache directory for rector/rector" - uses: "actions/cache@v3.3.3" + uses: "actions/cache@v4.0.0" with: path: ".build/rector" key: "php-${{ matrix.php-version }}-rector-${{ github.ref_name }}" @@ -400,7 +400,7 @@ jobs: uses: "ergebnis/.github/actions/composer/determine-cache-directory@1.9.0" - name: "Cache dependencies installed with composer" - uses: "actions/cache@v3.3.3" + uses: "actions/cache@v4.0.0" with: path: "${{ env.COMPOSER_CACHE_DIR }}" key: "php-${{ matrix.php-version }}-composer-${{ matrix.dependencies }}-${{ hashFiles('composer.lock') }}" @@ -450,7 +450,7 @@ jobs: uses: "ergebnis/.github/actions/composer/determine-cache-directory@1.9.0" - name: "Cache dependencies installed with composer" - uses: "actions/cache@v3.3.3" + uses: "actions/cache@v4.0.0" with: path: "${{ env.COMPOSER_CACHE_DIR }}" key: "php-${{ matrix.php-version }}-composer-${{ matrix.dependencies }}-${{ hashFiles('composer.lock') }}" @@ -508,7 +508,7 @@ jobs: uses: "ergebnis/.github/actions/composer/determine-cache-directory@1.9.0" - name: "Cache dependencies installed with composer" - uses: "actions/cache@v3.3.3" + uses: "actions/cache@v4.0.0" with: path: "${{ env.COMPOSER_CACHE_DIR }}" key: "php-${{ matrix.php-version }}-composer-${{ matrix.dependencies }}-${{ hashFiles('composer.lock') }}" diff --git a/.github/workflows/renew.yaml b/.github/workflows/renew.yaml index 48fe6e97..179a98ae 100644 --- a/.github/workflows/renew.yaml +++ b/.github/workflows/renew.yaml @@ -45,7 +45,7 @@ jobs: uses: "ergebnis/.github/actions/composer/determine-cache-directory@1.9.0" - name: "Cache dependencies installed with composer" - uses: "actions/cache@v3.3.3" + uses: "actions/cache@v4.0.0" with: path: "${{ env.COMPOSER_CACHE_DIR }}" key: "php-${{ matrix.php-version }}-composer-${{ matrix.dependencies }}-${{ hashFiles('composer.lock') }}" @@ -57,7 +57,7 @@ jobs: dependencies: "${{ matrix.dependencies }}" - name: "Cache cache directory for friendsofphp/php-cs-fixer" - uses: "actions/cache@v3.3.3" + uses: "actions/cache@v4.0.0" with: path: ".build/php-cs-fixer" key: "php-${{ matrix.php-version }}-php-cs-fixer-${{ github.ref_name }}" diff --git a/.github/workflows/update.yaml b/.github/workflows/update.yaml index 1c674a0d..22b78e73 100644 --- a/.github/workflows/update.yaml +++ b/.github/workflows/update.yaml @@ -40,7 +40,7 @@ jobs: uses: "ergebnis/.github/actions/composer/determine-cache-directory@1.9.0" - name: "Cache dependencies installed with composer" - uses: "actions/cache@v3.3.3" + uses: "actions/cache@v4.0.0" with: path: "${{ env.COMPOSER_CACHE_DIR }}" key: "php-${{ matrix.php-version }}-composer-${{ matrix.dependencies }}-${{ hashFiles('composer.lock') }}" From 5263d38336e893b9d9dd85608306ceadab99faa8 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 18 Jan 2024 20:17:37 +0000 Subject: [PATCH 091/111] composer(deps-dev): Bump vimeo/psalm from 5.19.1 to 5.20.0 Bumps [vimeo/psalm](https://github.com/vimeo/psalm) from 5.19.1 to 5.20.0. - [Release notes](https://github.com/vimeo/psalm/releases) - [Commits](https://github.com/vimeo/psalm/compare/5.19.1...5.20.0) --- updated-dependencies: - dependency-name: vimeo/psalm dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- composer.json | 2 +- composer.lock | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/composer.json b/composer.json index 436a6c39..c0236cca 100644 --- a/composer.json +++ b/composer.json @@ -43,7 +43,7 @@ "roave/backward-compatibility-check": "^8.6.0", "symfony/filesystem": "^6.4.0", "symfony/finder": "^6.4.0", - "vimeo/psalm": "^5.19.1" + "vimeo/psalm": "^5.20.0" }, "suggest": { "composer/semver": "If you want to use ComposerJsonNormalizer or VersionConstraintNormalizer" diff --git a/composer.lock b/composer.lock index 74fd01c6..3353b213 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "db0e987c005fcd888e4423f6b3491aba", + "content-hash": "188d41535bb9b6d36bec13ee31c82c43", "packages": [ { "name": "ergebnis/json", @@ -7109,16 +7109,16 @@ }, { "name": "vimeo/psalm", - "version": "5.19.1", + "version": "5.20.0", "source": { "type": "git", "url": "https://github.com/vimeo/psalm.git", - "reference": "b9583493b08eb36259c0f6b746a787c4c9b3ac45" + "reference": "3f284e96c9d9be6fe6b15c79416e1d1903dcfef4" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/vimeo/psalm/zipball/b9583493b08eb36259c0f6b746a787c4c9b3ac45", - "reference": "b9583493b08eb36259c0f6b746a787c4c9b3ac45", + "url": "https://api.github.com/repos/vimeo/psalm/zipball/3f284e96c9d9be6fe6b15c79416e1d1903dcfef4", + "reference": "3f284e96c9d9be6fe6b15c79416e1d1903dcfef4", "shasum": "" }, "require": { @@ -7215,7 +7215,7 @@ "issues": "https://github.com/vimeo/psalm/issues", "source": "https://github.com/vimeo/psalm" }, - "time": "2024-01-14T22:41:50+00:00" + "time": "2024-01-18T12:15:06+00:00" }, { "name": "webmozart/assert", From 317bc5cfedb4b2a2c1a7dd00506cdf6a7271af4a Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 19 Jan 2024 20:16:36 +0000 Subject: [PATCH 092/111] composer(deps-dev): Bump rector/rector from 0.19.1 to 0.19.2 Bumps [rector/rector](https://github.com/rectorphp/rector) from 0.19.1 to 0.19.2. - [Release notes](https://github.com/rectorphp/rector/releases) - [Commits](https://github.com/rectorphp/rector/compare/0.19.1...0.19.2) --- updated-dependencies: - dependency-name: rector/rector dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- composer.json | 2 +- composer.lock | 16 ++++++++-------- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/composer.json b/composer.json index c0236cca..6b8d34fa 100644 --- a/composer.json +++ b/composer.json @@ -39,7 +39,7 @@ "infection/infection": "~0.27.9", "phpunit/phpunit": "^10.5.7", "psalm/plugin-phpunit": "~0.18.4", - "rector/rector": "~0.19.1", + "rector/rector": "~0.19.2", "roave/backward-compatibility-check": "^8.6.0", "symfony/filesystem": "^6.4.0", "symfony/finder": "^6.4.0", diff --git a/composer.lock b/composer.lock index 3353b213..6d0e5786 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "188d41535bb9b6d36bec13ee31c82c43", + "content-hash": "8e849e48c5564c23b3c8453a79b725a4", "packages": [ { "name": "ergebnis/json", @@ -3957,21 +3957,21 @@ }, { "name": "rector/rector", - "version": "0.19.1", + "version": "0.19.2", "source": { "type": "git", "url": "https://github.com/rectorphp/rector.git", - "reference": "2bba0dd55ba92c23f1253d9e60d0242a896d1025" + "reference": "bc96a99895bf47c6bfe70ea1b799f0081ed5a903" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/rectorphp/rector/zipball/2bba0dd55ba92c23f1253d9e60d0242a896d1025", - "reference": "2bba0dd55ba92c23f1253d9e60d0242a896d1025", + "url": "https://api.github.com/repos/rectorphp/rector/zipball/bc96a99895bf47c6bfe70ea1b799f0081ed5a903", + "reference": "bc96a99895bf47c6bfe70ea1b799f0081ed5a903", "shasum": "" }, "require": { "php": "^7.2|^8.0", - "phpstan/phpstan": "^1.10.52" + "phpstan/phpstan": "^1.10.56" }, "conflict": { "rector/rector-doctrine": "*", @@ -4001,7 +4001,7 @@ ], "support": { "issues": "https://github.com/rectorphp/rector/issues", - "source": "https://github.com/rectorphp/rector/tree/0.19.1" + "source": "https://github.com/rectorphp/rector/tree/0.19.2" }, "funding": [ { @@ -4009,7 +4009,7 @@ "type": "github" } ], - "time": "2024-01-15T18:02:43+00:00" + "time": "2024-01-19T10:58:30+00:00" }, { "name": "revolt/event-loop", From ab49921e7bfb12971ff4454d56737f09df75df53 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 19 Jan 2024 20:19:06 +0000 Subject: [PATCH 093/111] composer(deps-dev): Bump phpunit/phpunit from 10.5.7 to 10.5.8 Bumps [phpunit/phpunit](https://github.com/sebastianbergmann/phpunit) from 10.5.7 to 10.5.8. - [Changelog](https://github.com/sebastianbergmann/phpunit/blob/10.5.8/ChangeLog-10.5.md) - [Commits](https://github.com/sebastianbergmann/phpunit/compare/10.5.7...10.5.8) --- updated-dependencies: - dependency-name: phpunit/phpunit dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- composer.json | 2 +- composer.lock | 14 +++++++------- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/composer.json b/composer.json index 6b8d34fa..43d4099d 100644 --- a/composer.json +++ b/composer.json @@ -37,7 +37,7 @@ "ergebnis/phpunit-slow-test-detector": "^2.9.0", "fakerphp/faker": "^1.23.1", "infection/infection": "~0.27.9", - "phpunit/phpunit": "^10.5.7", + "phpunit/phpunit": "^10.5.8", "psalm/plugin-phpunit": "~0.18.4", "rector/rector": "~0.19.2", "roave/backward-compatibility-check": "^8.6.0", diff --git a/composer.lock b/composer.lock index 6d0e5786..030db8a1 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "8e849e48c5564c23b3c8453a79b725a4", + "content-hash": "d6f453a433bd695f623ee4f67d784b25", "packages": [ { "name": "ergebnis/json", @@ -3570,16 +3570,16 @@ }, { "name": "phpunit/phpunit", - "version": "10.5.7", + "version": "10.5.8", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/phpunit.git", - "reference": "e5c5b397a95cb0db013270a985726fcae93e61b8" + "reference": "08f4fa74d5fbfff1ef22abffee47aaedcaea227e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/e5c5b397a95cb0db013270a985726fcae93e61b8", - "reference": "e5c5b397a95cb0db013270a985726fcae93e61b8", + "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/08f4fa74d5fbfff1ef22abffee47aaedcaea227e", + "reference": "08f4fa74d5fbfff1ef22abffee47aaedcaea227e", "shasum": "" }, "require": { @@ -3651,7 +3651,7 @@ "support": { "issues": "https://github.com/sebastianbergmann/phpunit/issues", "security": "https://github.com/sebastianbergmann/phpunit/security/policy", - "source": "https://github.com/sebastianbergmann/phpunit/tree/10.5.7" + "source": "https://github.com/sebastianbergmann/phpunit/tree/10.5.8" }, "funding": [ { @@ -3667,7 +3667,7 @@ "type": "tidelift" } ], - "time": "2024-01-14T16:40:30+00:00" + "time": "2024-01-19T07:07:27+00:00" }, { "name": "psalm/plugin-phpunit", From 2b29d3be19bc1698f70bba563e0ac372eb67cf0b Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 22 Jan 2024 20:52:52 +0000 Subject: [PATCH 094/111] composer(deps-dev): Bump phpunit/phpunit from 10.5.8 to 10.5.9 Bumps [phpunit/phpunit](https://github.com/sebastianbergmann/phpunit) from 10.5.8 to 10.5.9. - [Changelog](https://github.com/sebastianbergmann/phpunit/blob/10.5.9/ChangeLog-10.5.md) - [Commits](https://github.com/sebastianbergmann/phpunit/compare/10.5.8...10.5.9) --- updated-dependencies: - dependency-name: phpunit/phpunit dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- composer.json | 2 +- composer.lock | 14 +++++++------- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/composer.json b/composer.json index 43d4099d..642e6fe0 100644 --- a/composer.json +++ b/composer.json @@ -37,7 +37,7 @@ "ergebnis/phpunit-slow-test-detector": "^2.9.0", "fakerphp/faker": "^1.23.1", "infection/infection": "~0.27.9", - "phpunit/phpunit": "^10.5.8", + "phpunit/phpunit": "^10.5.9", "psalm/plugin-phpunit": "~0.18.4", "rector/rector": "~0.19.2", "roave/backward-compatibility-check": "^8.6.0", diff --git a/composer.lock b/composer.lock index 030db8a1..9da900bf 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "d6f453a433bd695f623ee4f67d784b25", + "content-hash": "edf175c0ff5b51216faa928a29e15885", "packages": [ { "name": "ergebnis/json", @@ -3570,16 +3570,16 @@ }, { "name": "phpunit/phpunit", - "version": "10.5.8", + "version": "10.5.9", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/phpunit.git", - "reference": "08f4fa74d5fbfff1ef22abffee47aaedcaea227e" + "reference": "0bd663704f0165c9e76fe4f06ffa6a1ca727fdbe" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/08f4fa74d5fbfff1ef22abffee47aaedcaea227e", - "reference": "08f4fa74d5fbfff1ef22abffee47aaedcaea227e", + "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/0bd663704f0165c9e76fe4f06ffa6a1ca727fdbe", + "reference": "0bd663704f0165c9e76fe4f06ffa6a1ca727fdbe", "shasum": "" }, "require": { @@ -3651,7 +3651,7 @@ "support": { "issues": "https://github.com/sebastianbergmann/phpunit/issues", "security": "https://github.com/sebastianbergmann/phpunit/security/policy", - "source": "https://github.com/sebastianbergmann/phpunit/tree/10.5.8" + "source": "https://github.com/sebastianbergmann/phpunit/tree/10.5.9" }, "funding": [ { @@ -3667,7 +3667,7 @@ "type": "tidelift" } ], - "time": "2024-01-19T07:07:27+00:00" + "time": "2024-01-22T14:35:40+00:00" }, { "name": "psalm/plugin-phpunit", From fcadc6addd8bb151e8be766d3998c5452725fbd8 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 22 Jan 2024 20:55:20 +0000 Subject: [PATCH 095/111] composer(deps-dev): Bump ergebnis/php-cs-fixer-config Bumps [ergebnis/php-cs-fixer-config](https://github.com/ergebnis/php-cs-fixer-config) from 6.19.0 to 6.20.0. - [Release notes](https://github.com/ergebnis/php-cs-fixer-config/releases) - [Changelog](https://github.com/ergebnis/php-cs-fixer-config/blob/main/CHANGELOG.md) - [Commits](https://github.com/ergebnis/php-cs-fixer-config/compare/6.19.0...6.20.0) --- updated-dependencies: - dependency-name: ergebnis/php-cs-fixer-config dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- composer.json | 2 +- composer.lock | 48 ++++++++++++++++++++++++++---------------------- 2 files changed, 27 insertions(+), 23 deletions(-) diff --git a/composer.json b/composer.json index 642e6fe0..883def8a 100644 --- a/composer.json +++ b/composer.json @@ -33,7 +33,7 @@ "composer/semver": "^3.4.0", "ergebnis/data-provider": "^3.2.0", "ergebnis/license": "^2.4.0", - "ergebnis/php-cs-fixer-config": "~6.19.0", + "ergebnis/php-cs-fixer-config": "~6.20.0", "ergebnis/phpunit-slow-test-detector": "^2.9.0", "fakerphp/faker": "^1.23.1", "infection/infection": "~0.27.9", diff --git a/composer.lock b/composer.lock index 9da900bf..c274d380 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "edf175c0ff5b51216faa928a29e15885", + "content-hash": "a85551771125e4b01e60f36f8076aa16", "packages": [ { "name": "ergebnis/json", @@ -1578,22 +1578,22 @@ }, { "name": "ergebnis/php-cs-fixer-config", - "version": "6.19.0", + "version": "6.20.0", "source": { "type": "git", "url": "https://github.com/ergebnis/php-cs-fixer-config.git", - "reference": "2c268b13551fee83fbdbe8297150fe38b3598598" + "reference": "067587d29d4b59645a91a3c2dee5594024e48feb" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/ergebnis/php-cs-fixer-config/zipball/2c268b13551fee83fbdbe8297150fe38b3598598", - "reference": "2c268b13551fee83fbdbe8297150fe38b3598598", + "url": "https://api.github.com/repos/ergebnis/php-cs-fixer-config/zipball/067587d29d4b59645a91a3c2dee5594024e48feb", + "reference": "067587d29d4b59645a91a3c2dee5594024e48feb", "shasum": "" }, "require": { - "erickskrauch/php-cs-fixer-custom-fixers": "~1.2.1", + "erickskrauch/php-cs-fixer-custom-fixers": "~1.2.4", "ext-filter": "*", - "friendsofphp/php-cs-fixer": "~3.46.0", + "friendsofphp/php-cs-fixer": "~3.48.0", "kubawerlos/php-cs-fixer-custom-fixers": "~3.18.0", "php": "~7.4.0 || ~8.0.0 || ~8.1.0 || ~8.2.0 || ~8.3.0" }, @@ -1605,12 +1605,12 @@ "ergebnis/rector-rules": "~0.3.0", "fakerphp/faker": "^1.23.1", "infection/infection": "~0.26.6", - "phpunit/phpunit": "^9.6.15", + "phpunit/phpunit": "^9.6.16", "psalm/plugin-phpunit": "~0.18.4", "rector/rector": "~0.18.13", "symfony/filesystem": "^5.0.0 || ^6.0.0", "symfony/process": "^5.0.0 || ^6.0.0", - "vimeo/psalm": "^5.18.0" + "vimeo/psalm": "^5.20.0" }, "type": "library", "extra": { @@ -1642,7 +1642,7 @@ "security": "https://github.com/ergebnis/php-cs-fixer-config/blob/main/.github/SECURITY.md", "source": "https://github.com/ergebnis/php-cs-fixer-config" }, - "time": "2024-01-04T10:45:13+00:00" + "time": "2024-01-22T12:46:02+00:00" }, { "name": "ergebnis/phpunit-slow-test-detector", @@ -1713,16 +1713,16 @@ }, { "name": "erickskrauch/php-cs-fixer-custom-fixers", - "version": "1.2.1", + "version": "1.2.4", "source": { "type": "git", "url": "https://github.com/erickskrauch/php-cs-fixer-custom-fixers.git", - "reference": "6b0e22fd12fb3110f74e34aa6988468a220609bf" + "reference": "4f379ec92b78c68d154d5d42fe780aa798a66b5c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/erickskrauch/php-cs-fixer-custom-fixers/zipball/6b0e22fd12fb3110f74e34aa6988468a220609bf", - "reference": "6b0e22fd12fb3110f74e34aa6988468a220609bf", + "url": "https://api.github.com/repos/erickskrauch/php-cs-fixer-custom-fixers/zipball/4f379ec92b78c68d154d5d42fe780aa798a66b5c", + "reference": "4f379ec92b78c68d154d5d42fe780aa798a66b5c", "shasum": "" }, "require": { @@ -1735,6 +1735,10 @@ "php-cs-fixer/phpunit-constraint-isidenticalstring": "^1.2", "phpspec/prophecy": "^1.15", "phpspec/prophecy-phpunit": "^2.0", + "phpstan/extension-installer": "^1.3", + "phpstan/phpstan": "^1.10", + "phpstan/phpstan-phpunit": "^1.3", + "phpstan/phpstan-strict-rules": "^1.5", "phpunit/phpunit": "^9.5", "phpunitgoodpractices/polyfill": "^1.5", "phpunitgoodpractices/traits": "^1.9.1", @@ -1769,9 +1773,9 @@ ], "support": { "issues": "https://github.com/erickskrauch/php-cs-fixer-custom-fixers/issues", - "source": "https://github.com/erickskrauch/php-cs-fixer-custom-fixers/tree/1.2.1" + "source": "https://github.com/erickskrauch/php-cs-fixer-custom-fixers/tree/1.2.4" }, - "time": "2023-11-16T16:27:33+00:00" + "time": "2024-01-15T00:18:34+00:00" }, { "name": "fakerphp/faker", @@ -2000,16 +2004,16 @@ }, { "name": "friendsofphp/php-cs-fixer", - "version": "v3.46.0", + "version": "v3.48.0", "source": { "type": "git", "url": "https://github.com/PHP-CS-Fixer/PHP-CS-Fixer.git", - "reference": "be6831c9af1740470d2a773119b9273f8ac1c3d2" + "reference": "a92472c6fb66349de25211f31c77eceae3df024e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/PHP-CS-Fixer/PHP-CS-Fixer/zipball/be6831c9af1740470d2a773119b9273f8ac1c3d2", - "reference": "be6831c9af1740470d2a773119b9273f8ac1c3d2", + "url": "https://api.github.com/repos/PHP-CS-Fixer/PHP-CS-Fixer/zipball/a92472c6fb66349de25211f31c77eceae3df024e", + "reference": "a92472c6fb66349de25211f31c77eceae3df024e", "shasum": "" }, "require": { @@ -2079,7 +2083,7 @@ ], "support": { "issues": "https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues", - "source": "https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/tree/v3.46.0" + "source": "https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/tree/v3.48.0" }, "funding": [ { @@ -2087,7 +2091,7 @@ "type": "github" } ], - "time": "2024-01-03T21:38:46+00:00" + "time": "2024-01-19T21:44:39+00:00" }, { "name": "infection/abstract-testframework-adapter", From c41e39719e51c2cd18399975e85f42648263ff53 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 25 Jan 2024 20:40:16 +0000 Subject: [PATCH 096/111] github-actions(deps): Bump codecov/codecov-action from 3.1.4 to 3.1.5 Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 3.1.4 to 3.1.5. - [Release notes](https://github.com/codecov/codecov-action/releases) - [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md) - [Commits](https://github.com/codecov/codecov-action/compare/v3.1.4...v3.1.5) --- updated-dependencies: - dependency-name: codecov/codecov-action dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- .github/workflows/integrate.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/integrate.yaml b/.github/workflows/integrate.yaml index 50cadd5a..af7a04e6 100644 --- a/.github/workflows/integrate.yaml +++ b/.github/workflows/integrate.yaml @@ -117,7 +117,7 @@ jobs: run: "vendor/bin/phpunit --colors=always --configuration=test/Unit/phpunit.xml --coverage-clover=.build/phpunit/logs/clover.xml" - name: "Send code coverage report to codecov.io" - uses: "codecov/codecov-action@v3.1.4" + uses: "codecov/codecov-action@v3.1.5" with: files: ".build/phpunit/logs/clover.xml" token: "${{ secrets.CODECOV_TOKEN }}" From 1bd2825328fce1e22adcf17914fb316471cda04b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20M=C3=B6ller?= Date: Mon, 29 Jan 2024 16:35:42 +0100 Subject: [PATCH 097/111] Fix: Run 'make coding-standards' --- test/Unit/Format/JsonEncodeOptionsTest.php | 24 ++++++++++++++-------- 1 file changed, 16 insertions(+), 8 deletions(-) diff --git a/test/Unit/Format/JsonEncodeOptionsTest.php b/test/Unit/Format/JsonEncodeOptionsTest.php index 80111f25..a6f21b84 100644 --- a/test/Unit/Format/JsonEncodeOptionsTest.php +++ b/test/Unit/Format/JsonEncodeOptionsTest.php @@ -104,31 +104,39 @@ public static function provideJsonEncodeOptionsAndEncoded(): array return [ [ 0, - '{ + <<<'EOD' +{ "name": "Andreas M\u00f6ller", "url": "https:\/\/github.com\/localheinz\/json-normalizer" -}', +} +EOD, ], [ \JSON_UNESCAPED_SLASHES, - '{ + <<<'EOD' +{ "name": "Andreas M\u00F6ller", "url": "https://github.com/ergebnis/json-normalizer" -}', +} +EOD, ], [ \JSON_UNESCAPED_UNICODE, - '{ + <<<'EOD' +{ "name": "Andreas Möller", "url": "https:\/\/github.com\/localheinz\/json-normalizer" -}', +} +EOD, ], [ \JSON_UNESCAPED_SLASHES | \JSON_UNESCAPED_UNICODE, - '{ + <<<'EOD' +{ "name": "Andreas Möller", "url": "https://github.com/ergebnis/json-normalizer" -}', +} +EOD, ], ]; } From 8540a743d669e0714df4f52c0acd40b20f6ff4f2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20M=C3=B6ller?= Date: Mon, 29 Jan 2024 16:36:22 +0100 Subject: [PATCH 098/111] Fix: Replace marker --- test/Unit/Format/JsonEncodeOptionsTest.php | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/test/Unit/Format/JsonEncodeOptionsTest.php b/test/Unit/Format/JsonEncodeOptionsTest.php index a6f21b84..a026bfc4 100644 --- a/test/Unit/Format/JsonEncodeOptionsTest.php +++ b/test/Unit/Format/JsonEncodeOptionsTest.php @@ -104,39 +104,39 @@ public static function provideJsonEncodeOptionsAndEncoded(): array return [ [ 0, - <<<'EOD' + <<<'JSON' { "name": "Andreas M\u00f6ller", "url": "https:\/\/github.com\/localheinz\/json-normalizer" } -EOD, +JSON, ], [ \JSON_UNESCAPED_SLASHES, - <<<'EOD' + <<<'JSON' { "name": "Andreas M\u00F6ller", "url": "https://github.com/ergebnis/json-normalizer" } -EOD, +JSON, ], [ \JSON_UNESCAPED_UNICODE, - <<<'EOD' + <<<'JSON' { "name": "Andreas Möller", "url": "https:\/\/github.com\/localheinz\/json-normalizer" } -EOD, +JSON, ], [ \JSON_UNESCAPED_SLASHES | \JSON_UNESCAPED_UNICODE, - <<<'EOD' + <<<'JSON' { "name": "Andreas Möller", "url": "https://github.com/ergebnis/json-normalizer" } -EOD, +JSON, ], ]; } From 41ee5d831de69726c6f713956307d161018e678a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20M=C3=B6ller?= Date: Mon, 29 Jan 2024 16:38:06 +0100 Subject: [PATCH 099/111] Fix: Use caret operator --- composer.json | 2 +- composer.lock | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/composer.json b/composer.json index 883def8a..5e9e3914 100644 --- a/composer.json +++ b/composer.json @@ -33,7 +33,7 @@ "composer/semver": "^3.4.0", "ergebnis/data-provider": "^3.2.0", "ergebnis/license": "^2.4.0", - "ergebnis/php-cs-fixer-config": "~6.20.0", + "ergebnis/php-cs-fixer-config": "^6.20.0", "ergebnis/phpunit-slow-test-detector": "^2.9.0", "fakerphp/faker": "^1.23.1", "infection/infection": "~0.27.9", diff --git a/composer.lock b/composer.lock index c274d380..674f7613 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "a85551771125e4b01e60f36f8076aa16", + "content-hash": "ecad6f2ec74afea6e6c43290bc55eabd", "packages": [ { "name": "ergebnis/json", From 3035540aa0f9e5ef70b3d3583a7b2320e2004e25 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20M=C3=B6ller?= Date: Mon, 29 Jan 2024 16:40:28 +0100 Subject: [PATCH 100/111] Enhancement: Require ergebnis/json:^1.2.0 --- CHANGELOG.md | 5 +++++ composer.json | 2 +- composer.lock | 34 +++++++++++++++++----------------- 3 files changed, 23 insertions(+), 18 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f8ed5be5..8cf3c893 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), For a full diff see [`4.4.1...main`][4.4.1...main]. +### Changed + +- Required `ergebnis/json:^1.2.0` ([#1073]), by [@localheinz] + ## [`4.4.1`][4.4.1] For a full diff see [`4.4.0...4.4.1`][4.4.0...4.4.1]. @@ -674,6 +678,7 @@ For a full diff see [`5d8b3e2...0.1.0`][5d8b3e2...0.1.0]. [#1001]: https://github.com/ergebnis/json-normalizer/pull/1001 [#1027]: https://github.com/ergebnis/json-normalizer/pull/1027 [#1039]: https://github.com/ergebnis/json-normalizer/pull/1039 +[#10373]: https://github.com/ergebnis/json-normalizer/pull/1073 [@alexis-saransig-lullabot]: https://github.com/alexis-saransig-lullabot [@BackEndTea]: https://github.com/BackEndTea diff --git a/composer.json b/composer.json index 5e9e3914..b6ece3f8 100644 --- a/composer.json +++ b/composer.json @@ -23,7 +23,7 @@ "require": { "php": "~8.1.0 || ~8.2.0 || ~8.3.0", "ext-json": "*", - "ergebnis/json": "^1.1.0", + "ergebnis/json": "^1.2.0", "ergebnis/json-pointer": "^3.2.0", "ergebnis/json-printer": "^3.4.0", "ergebnis/json-schema-validator": "^4.1.0", diff --git a/composer.lock b/composer.lock index 674f7613..97ccd0a1 100644 --- a/composer.lock +++ b/composer.lock @@ -4,37 +4,37 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "ecad6f2ec74afea6e6c43290bc55eabd", + "content-hash": "e441c78f2f93ce1159d1ccbb8bf3a9ba", "packages": [ { "name": "ergebnis/json", - "version": "1.1.0", + "version": "1.2.0", "source": { "type": "git", "url": "https://github.com/ergebnis/json.git", - "reference": "9f2b9086c43b189d7044a5b6215a931fb6e9125d" + "reference": "a457f25a5ba7ea11fc94f84d53678c5211abfce0" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/ergebnis/json/zipball/9f2b9086c43b189d7044a5b6215a931fb6e9125d", - "reference": "9f2b9086c43b189d7044a5b6215a931fb6e9125d", + "url": "https://api.github.com/repos/ergebnis/json/zipball/a457f25a5ba7ea11fc94f84d53678c5211abfce0", + "reference": "a457f25a5ba7ea11fc94f84d53678c5211abfce0", "shasum": "" }, "require": { - "php": "~8.1.0 || ~8.2.0 || ~8.3.0" + "ext-json": "*", + "php": "~7.4.0 || ~8.0.0 || ~8.1.0 || ~8.2.0 || ~8.3.0" }, "require-dev": { - "ergebnis/composer-normalize": "^2.29.0", - "ergebnis/data-provider": "^3.0.0", - "ergebnis/license": "^2.2.0", - "ergebnis/php-cs-fixer-config": "^6.6.0", - "ergebnis/phpunit-slow-test-detector": "^2.3.0", - "fakerphp/faker": "^1.23.0", - "infection/infection": "~0.27.4", - "phpunit/phpunit": "^10.4.1", + "ergebnis/data-provider": "^3.2.0", + "ergebnis/license": "^2.4.0", + "ergebnis/php-cs-fixer-config": "^6.20.0", + "ergebnis/phpunit-slow-test-detector": "^2.9.0", + "fakerphp/faker": "^1.23.1", + "infection/infection": "~0.26.6", + "phpunit/phpunit": "^9.6.16", "psalm/plugin-phpunit": "~0.18.4", - "rector/rector": "~0.18.5", - "vimeo/psalm": "^5.15.0" + "rector/rector": "~0.19.2", + "vimeo/psalm": "^5.20.0" }, "type": "library", "extra": { @@ -69,7 +69,7 @@ "security": "https://github.com/ergebnis/json/blob/main/.github/SECURITY.md", "source": "https://github.com/ergebnis/json" }, - "time": "2023-10-10T07:57:48+00:00" + "time": "2024-01-29T15:09:24+00:00" }, { "name": "ergebnis/json-pointer", From 805df416b1b244316b4eded73a0e320eb69139af Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20M=C3=B6ller?= Date: Mon, 29 Jan 2024 16:42:53 +0100 Subject: [PATCH 101/111] Fix: Reference --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8cf3c893..bc838f66 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -678,7 +678,7 @@ For a full diff see [`5d8b3e2...0.1.0`][5d8b3e2...0.1.0]. [#1001]: https://github.com/ergebnis/json-normalizer/pull/1001 [#1027]: https://github.com/ergebnis/json-normalizer/pull/1027 [#1039]: https://github.com/ergebnis/json-normalizer/pull/1039 -[#10373]: https://github.com/ergebnis/json-normalizer/pull/1073 +[#1073]: https://github.com/ergebnis/json-normalizer/pull/1073 [@alexis-saransig-lullabot]: https://github.com/alexis-saransig-lullabot [@BackEndTea]: https://github.com/BackEndTea From 95499949bdb9724629d0e5202a30ab4c42aeb2dd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20M=C3=B6ller?= Date: Mon, 29 Jan 2024 16:43:28 +0100 Subject: [PATCH 102/111] Enhancement: Require ergebnis/json-printer:^3.5.0 --- CHANGELOG.md | 2 ++ composer.json | 2 +- composer.lock | 31 ++++++++++++++++--------------- 3 files changed, 19 insertions(+), 16 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index bc838f66..dd92b034 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,7 @@ For a full diff see [`4.4.1...main`][4.4.1...main]. ### Changed - Required `ergebnis/json:^1.2.0` ([#1073]), by [@localheinz] +- Required `ergebnis/json-printer:^3.5.0` ([#1074]), by [@localheinz] ## [`4.4.1`][4.4.1] @@ -679,6 +680,7 @@ For a full diff see [`5d8b3e2...0.1.0`][5d8b3e2...0.1.0]. [#1027]: https://github.com/ergebnis/json-normalizer/pull/1027 [#1039]: https://github.com/ergebnis/json-normalizer/pull/1039 [#1073]: https://github.com/ergebnis/json-normalizer/pull/1073 +[#1074]: https://github.com/ergebnis/json-normalizer/pull/1074 [@alexis-saransig-lullabot]: https://github.com/alexis-saransig-lullabot [@BackEndTea]: https://github.com/BackEndTea diff --git a/composer.json b/composer.json index b6ece3f8..75268f93 100644 --- a/composer.json +++ b/composer.json @@ -25,7 +25,7 @@ "ext-json": "*", "ergebnis/json": "^1.2.0", "ergebnis/json-pointer": "^3.2.0", - "ergebnis/json-printer": "^3.4.0", + "ergebnis/json-printer": "^3.5.0", "ergebnis/json-schema-validator": "^4.1.0", "justinrainbow/json-schema": "^5.2.12" }, diff --git a/composer.lock b/composer.lock index 97ccd0a1..ef339e43 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "e441c78f2f93ce1159d1ccbb8bf3a9ba", + "content-hash": "e0436f9a3b31b0c27a65d81f77e866eb", "packages": [ { "name": "ergebnis/json", @@ -140,33 +140,34 @@ }, { "name": "ergebnis/json-printer", - "version": "3.4.0", + "version": "3.5.0", "source": { "type": "git", "url": "https://github.com/ergebnis/json-printer.git", - "reference": "05841593d72499de4f7ce4034a237c77e470558f" + "reference": "549e16fe6de34b8c3aee7b421be12caa552f3ced" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/ergebnis/json-printer/zipball/05841593d72499de4f7ce4034a237c77e470558f", - "reference": "05841593d72499de4f7ce4034a237c77e470558f", + "url": "https://api.github.com/repos/ergebnis/json-printer/zipball/549e16fe6de34b8c3aee7b421be12caa552f3ced", + "reference": "549e16fe6de34b8c3aee7b421be12caa552f3ced", "shasum": "" }, "require": { "ext-json": "*", "ext-mbstring": "*", - "php": "~8.1.0 || ~8.2.0 || ~8.3.0" + "php": "~7.4.0 || ~8.0.0 || ~8.1.0 || ~8.2.0 || ~8.3.0" }, "require-dev": { - "ergebnis/license": "^2.2.0", - "ergebnis/php-cs-fixer-config": "^6.6.0", - "ergebnis/phpunit-slow-test-detector": "^2.3.0", - "fakerphp/faker": "^1.23.0", - "infection/infection": "~0.27.3", - "phpunit/phpunit": "^10.4.1", + "ergebnis/data-provider": "^3.2.0", + "ergebnis/license": "^2.4.0", + "ergebnis/php-cs-fixer-config": "^6.20.0", + "ergebnis/phpunit-slow-test-detector": "^2.9.0", + "fakerphp/faker": "^1.23.1", + "infection/infection": "~0.26.6", + "phpunit/phpunit": "^9.6.16", "psalm/plugin-phpunit": "~0.18.4", - "rector/rector": "~0.18.5", - "vimeo/psalm": "^5.15.0" + "rector/rector": "~0.19.2", + "vimeo/psalm": "^5.20.0" }, "type": "library", "autoload": { @@ -197,7 +198,7 @@ "security": "https://github.com/ergebnis/json-printer/blob/main/.github/SECURITY.md", "source": "https://github.com/ergebnis/json-printer" }, - "time": "2023-10-10T07:42:48+00:00" + "time": "2024-01-29T15:33:37+00:00" }, { "name": "ergebnis/json-schema-validator", From 2bfd4bdcbbee67c69caebce33eb07f873c9de686 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20M=C3=B6ller?= Date: Mon, 29 Jan 2024 17:52:42 +0100 Subject: [PATCH 103/111] Enhancement: Require ergebnis/json-pointer:^3.4.0 --- CHANGELOG.md | 2 ++ composer.json | 2 +- composer.lock | 35 +++++++++++++++++------------------ 3 files changed, 20 insertions(+), 19 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index dd92b034..190af5b6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,6 +12,7 @@ For a full diff see [`4.4.1...main`][4.4.1...main]. - Required `ergebnis/json:^1.2.0` ([#1073]), by [@localheinz] - Required `ergebnis/json-printer:^3.5.0` ([#1074]), by [@localheinz] +- Required `ergebnis/json-pointer:^3.4.0` ([#1075]), by [@localheinz] ## [`4.4.1`][4.4.1] @@ -681,6 +682,7 @@ For a full diff see [`5d8b3e2...0.1.0`][5d8b3e2...0.1.0]. [#1039]: https://github.com/ergebnis/json-normalizer/pull/1039 [#1073]: https://github.com/ergebnis/json-normalizer/pull/1073 [#1074]: https://github.com/ergebnis/json-normalizer/pull/1074 +[#1075]: https://github.com/ergebnis/json-normalizer/pull/1075 [@alexis-saransig-lullabot]: https://github.com/alexis-saransig-lullabot [@BackEndTea]: https://github.com/BackEndTea diff --git a/composer.json b/composer.json index 75268f93..80988a53 100644 --- a/composer.json +++ b/composer.json @@ -24,7 +24,7 @@ "php": "~8.1.0 || ~8.2.0 || ~8.3.0", "ext-json": "*", "ergebnis/json": "^1.2.0", - "ergebnis/json-pointer": "^3.2.0", + "ergebnis/json-pointer": "^3.4.0", "ergebnis/json-printer": "^3.5.0", "ergebnis/json-schema-validator": "^4.1.0", "justinrainbow/json-schema": "^5.2.12" diff --git a/composer.lock b/composer.lock index ef339e43..fe8d3e10 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "e0436f9a3b31b0c27a65d81f77e866eb", + "content-hash": "be9e5ee4a19bbcba036e77cafcb7b9da", "packages": [ { "name": "ergebnis/json", @@ -73,33 +73,32 @@ }, { "name": "ergebnis/json-pointer", - "version": "3.3.0", + "version": "3.4.0", "source": { "type": "git", "url": "https://github.com/ergebnis/json-pointer.git", - "reference": "8e517faefc06b7c761eaa041febef51a9375819a" + "reference": "b654757d873050622c2166f55ab25d04685261c5" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/ergebnis/json-pointer/zipball/8e517faefc06b7c761eaa041febef51a9375819a", - "reference": "8e517faefc06b7c761eaa041febef51a9375819a", + "url": "https://api.github.com/repos/ergebnis/json-pointer/zipball/b654757d873050622c2166f55ab25d04685261c5", + "reference": "b654757d873050622c2166f55ab25d04685261c5", "shasum": "" }, "require": { - "php": "~8.1.0 || ~8.2.0 || ~8.3.0" + "php": "~7.4.0 || ~8.0.0 || ~8.1.0 || ~8.2.0 || ~8.3.0" }, "require-dev": { - "ergebnis/composer-normalize": "^2.29.0", - "ergebnis/data-provider": "^3.0.0", - "ergebnis/license": "^2.2.0", - "ergebnis/php-cs-fixer-config": "~6.7.0", - "ergebnis/phpunit-slow-test-detector": "^2.3.0", - "fakerphp/faker": "^1.23.0", - "infection/infection": "~0.27.4", - "phpunit/phpunit": "^10.4.1", + "ergebnis/data-provider": "^3.2.0", + "ergebnis/license": "^2.4.0", + "ergebnis/php-cs-fixer-config": "^6.20.0", + "ergebnis/phpunit-slow-test-detector": "^2.9.0", + "fakerphp/faker": "^1.23.1", + "infection/infection": "~0.26.6", + "phpunit/phpunit": "^9.6.16", "psalm/plugin-phpunit": "~0.18.4", - "rector/rector": "~0.18.5", - "vimeo/psalm": "^5.15.0" + "rector/rector": "~0.19.2", + "vimeo/psalm": "^5.20.0" }, "type": "library", "extra": { @@ -124,7 +123,7 @@ "homepage": "https://localheinz.com" } ], - "description": "Provides JSON pointer as a value object.", + "description": "Provides an abstraction of a JSON pointer.", "homepage": "https://github.com/ergebnis/json-pointer", "keywords": [ "RFC6901", @@ -136,7 +135,7 @@ "security": "https://github.com/ergebnis/json-pointer/blob/main/.github/SECURITY.md", "source": "https://github.com/ergebnis/json-pointer" }, - "time": "2023-10-10T14:41:06+00:00" + "time": "2024-01-29T16:37:15+00:00" }, { "name": "ergebnis/json-printer", From e19c9e3aeb1ff84cff5f632e832af40c42ce3d3c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20M=C3=B6ller?= Date: Mon, 29 Jan 2024 17:55:32 +0100 Subject: [PATCH 104/111] Enhancement: Require ergebnis/json-schema-validator:^4.2.0 --- CHANGELOG.md | 2 ++ composer.json | 2 +- composer.lock | 37 ++++++++++++++++++------------------- 3 files changed, 21 insertions(+), 20 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 190af5b6..3f787340 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,6 +13,7 @@ For a full diff see [`4.4.1...main`][4.4.1...main]. - Required `ergebnis/json:^1.2.0` ([#1073]), by [@localheinz] - Required `ergebnis/json-printer:^3.5.0` ([#1074]), by [@localheinz] - Required `ergebnis/json-pointer:^3.4.0` ([#1075]), by [@localheinz] +- Required `ergebnis/json-schema-validator:^4.2.0` ([#1076]), by [@localheinz] ## [`4.4.1`][4.4.1] @@ -683,6 +684,7 @@ For a full diff see [`5d8b3e2...0.1.0`][5d8b3e2...0.1.0]. [#1073]: https://github.com/ergebnis/json-normalizer/pull/1073 [#1074]: https://github.com/ergebnis/json-normalizer/pull/1074 [#1075]: https://github.com/ergebnis/json-normalizer/pull/1075 +[#1076]: https://github.com/ergebnis/json-normalizer/pull/1076 [@alexis-saransig-lullabot]: https://github.com/alexis-saransig-lullabot [@BackEndTea]: https://github.com/BackEndTea diff --git a/composer.json b/composer.json index 80988a53..cbc27ed7 100644 --- a/composer.json +++ b/composer.json @@ -26,7 +26,7 @@ "ergebnis/json": "^1.2.0", "ergebnis/json-pointer": "^3.4.0", "ergebnis/json-printer": "^3.5.0", - "ergebnis/json-schema-validator": "^4.1.0", + "ergebnis/json-schema-validator": "^4.2.0", "justinrainbow/json-schema": "^5.2.12" }, "require-dev": { diff --git a/composer.lock b/composer.lock index fe8d3e10..a6a56b52 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "be9e5ee4a19bbcba036e77cafcb7b9da", + "content-hash": "611ec9fd7d878ba696ee80bf5064aa21", "packages": [ { "name": "ergebnis/json", @@ -201,37 +201,36 @@ }, { "name": "ergebnis/json-schema-validator", - "version": "4.1.0", + "version": "4.2.0", "source": { "type": "git", "url": "https://github.com/ergebnis/json-schema-validator.git", - "reference": "d568ed85d1cdc2e49d650c2fc234dc2516f3f25b" + "reference": "10ed514fdc3f9b71f8a92c567afea21a2f6fa1ef" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/ergebnis/json-schema-validator/zipball/d568ed85d1cdc2e49d650c2fc234dc2516f3f25b", - "reference": "d568ed85d1cdc2e49d650c2fc234dc2516f3f25b", + "url": "https://api.github.com/repos/ergebnis/json-schema-validator/zipball/10ed514fdc3f9b71f8a92c567afea21a2f6fa1ef", + "reference": "10ed514fdc3f9b71f8a92c567afea21a2f6fa1ef", "shasum": "" }, "require": { - "ergebnis/json": "^1.0.1", - "ergebnis/json-pointer": "^3.2.0", + "ergebnis/json": "^1.2.0", + "ergebnis/json-pointer": "^3.4.0", "ext-json": "*", "justinrainbow/json-schema": "^5.2.12", - "php": "~8.1.0 || ~8.2.0 || ~8.3.0" + "php": "~7.4.0 || ~8.0.0 || ~8.1.0 || ~8.2.0 || ~8.3.0" }, "require-dev": { - "ergebnis/composer-normalize": "^2.21.0", - "ergebnis/data-provider": "^3.0.0", - "ergebnis/license": "^2.2.0", - "ergebnis/php-cs-fixer-config": "~6.6.0", - "ergebnis/phpunit-slow-test-detector": "^2.3.0", - "fakerphp/faker": "^1.23.0", - "infection/infection": "~0.27.4", - "phpunit/phpunit": "^10.4.1", + "ergebnis/data-provider": "^3.2.0", + "ergebnis/license": "^2.4.0", + "ergebnis/php-cs-fixer-config": "^6.20.0", + "ergebnis/phpunit-slow-test-detector": "^2.9.0", + "fakerphp/faker": "^1.23.1", + "infection/infection": "~0.26.6", + "phpunit/phpunit": "^9.6.16", "psalm/plugin-phpunit": "~0.18.4", - "rector/rector": "~0.18.5", - "vimeo/psalm": "^5.15.0" + "rector/rector": "~0.19.2", + "vimeo/psalm": "^5.20.0" }, "type": "library", "extra": { @@ -268,7 +267,7 @@ "security": "https://github.com/ergebnis/json-schema-validator/blob/main/.github/SECURITY.md", "source": "https://github.com/ergebnis/json-schema-validator" }, - "time": "2023-10-10T14:16:57+00:00" + "time": "2024-01-29T16:50:15+00:00" }, { "name": "justinrainbow/json-schema", From 7567c99ccf014e3484e6ee963dabfd7d4cb8f536 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20M=C3=B6ller?= Date: Mon, 29 Jan 2024 18:16:28 +0100 Subject: [PATCH 105/111] Fix: Reference --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3f787340..c35716d6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -512,6 +512,7 @@ For a full diff see [`5d8b3e2...0.1.0`][5d8b3e2...0.1.0]. [4.2.0]: https://github.com/ergebnis/json-normalizer/releases/tag/4.2.0 [4.3.0]: https://github.com/ergebnis/json-normalizer/releases/tag/4.3.0 [4.4.0]: https://github.com/ergebnis/json-normalizer/releases/tag/4.4.0 +[4.4.1]: https://github.com/ergebnis/json-normalizer/releases/tag/4.4.1 [5d8b3e2...0.1.0]: https://github.com/ergebnis/json-normalizer/compare/5d8b3e2...0.1.0 [0.1.0...0.2.0]: https://github.com/ergebnis/json-normalizer/compare/0.1.0...0.2.0 From c1e65890868bb37e8e73af7e2976b30da87af093 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 29 Jan 2024 20:57:49 +0000 Subject: [PATCH 106/111] composer(deps-dev): Bump rector/rector from 0.19.2 to 0.19.3 Bumps [rector/rector](https://github.com/rectorphp/rector) from 0.19.2 to 0.19.3. - [Release notes](https://github.com/rectorphp/rector/releases) - [Commits](https://github.com/rectorphp/rector/compare/0.19.2...0.19.3) --- updated-dependencies: - dependency-name: rector/rector dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- composer.json | 2 +- composer.lock | 24 ++++++++++++------------ 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/composer.json b/composer.json index cbc27ed7..9e8ae7a0 100644 --- a/composer.json +++ b/composer.json @@ -39,7 +39,7 @@ "infection/infection": "~0.27.9", "phpunit/phpunit": "^10.5.9", "psalm/plugin-phpunit": "~0.18.4", - "rector/rector": "~0.19.2", + "rector/rector": "~0.19.3", "roave/backward-compatibility-check": "^8.6.0", "symfony/filesystem": "^6.4.0", "symfony/finder": "^6.4.0", diff --git a/composer.lock b/composer.lock index a6a56b52..6cbacbc3 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "611ec9fd7d878ba696ee80bf5064aa21", + "content-hash": "18daf08d908300dc93bc4440d756706a", "packages": [ { "name": "ergebnis/json", @@ -3190,16 +3190,16 @@ }, { "name": "phpstan/phpstan", - "version": "1.10.56", + "version": "1.10.57", "source": { "type": "git", "url": "https://github.com/phpstan/phpstan.git", - "reference": "27816a01aea996191ee14d010f325434c0ee76fa" + "reference": "1627b1d03446904aaa77593f370c5201d2ecc34e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpstan/phpstan/zipball/27816a01aea996191ee14d010f325434c0ee76fa", - "reference": "27816a01aea996191ee14d010f325434c0ee76fa", + "url": "https://api.github.com/repos/phpstan/phpstan/zipball/1627b1d03446904aaa77593f370c5201d2ecc34e", + "reference": "1627b1d03446904aaa77593f370c5201d2ecc34e", "shasum": "" }, "require": { @@ -3248,7 +3248,7 @@ "type": "tidelift" } ], - "time": "2024-01-15T10:43:00+00:00" + "time": "2024-01-24T11:51:34+00:00" }, { "name": "phpunit/php-code-coverage", @@ -3960,16 +3960,16 @@ }, { "name": "rector/rector", - "version": "0.19.2", + "version": "0.19.3", "source": { "type": "git", "url": "https://github.com/rectorphp/rector.git", - "reference": "bc96a99895bf47c6bfe70ea1b799f0081ed5a903" + "reference": "5c1dd52a62206858660cd39a347ece0ce93af1ba" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/rectorphp/rector/zipball/bc96a99895bf47c6bfe70ea1b799f0081ed5a903", - "reference": "bc96a99895bf47c6bfe70ea1b799f0081ed5a903", + "url": "https://api.github.com/repos/rectorphp/rector/zipball/5c1dd52a62206858660cd39a347ece0ce93af1ba", + "reference": "5c1dd52a62206858660cd39a347ece0ce93af1ba", "shasum": "" }, "require": { @@ -4004,7 +4004,7 @@ ], "support": { "issues": "https://github.com/rectorphp/rector/issues", - "source": "https://github.com/rectorphp/rector/tree/0.19.2" + "source": "https://github.com/rectorphp/rector/tree/0.19.3" }, "funding": [ { @@ -4012,7 +4012,7 @@ "type": "github" } ], - "time": "2024-01-19T10:58:30+00:00" + "time": "2024-01-29T19:04:58+00:00" }, { "name": "revolt/event-loop", From abf356535e313823aadb55df06a5da970af95479 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 29 Jan 2024 23:11:25 +0000 Subject: [PATCH 107/111] composer(deps-dev): Bump rector/rector from 0.19.3 to 0.19.4 Bumps [rector/rector](https://github.com/rectorphp/rector) from 0.19.3 to 0.19.4. - [Release notes](https://github.com/rectorphp/rector/releases) - [Commits](https://github.com/rectorphp/rector/compare/0.19.3...0.19.4) --- updated-dependencies: - dependency-name: rector/rector dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- composer.json | 2 +- composer.lock | 14 +++++++------- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/composer.json b/composer.json index 9e8ae7a0..e8cfcd72 100644 --- a/composer.json +++ b/composer.json @@ -39,7 +39,7 @@ "infection/infection": "~0.27.9", "phpunit/phpunit": "^10.5.9", "psalm/plugin-phpunit": "~0.18.4", - "rector/rector": "~0.19.3", + "rector/rector": "~0.19.4", "roave/backward-compatibility-check": "^8.6.0", "symfony/filesystem": "^6.4.0", "symfony/finder": "^6.4.0", diff --git a/composer.lock b/composer.lock index 6cbacbc3..5ec1fa1d 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "18daf08d908300dc93bc4440d756706a", + "content-hash": "b2b33a2e9113906e7c03a8bdde7972df", "packages": [ { "name": "ergebnis/json", @@ -3960,16 +3960,16 @@ }, { "name": "rector/rector", - "version": "0.19.3", + "version": "0.19.4", "source": { "type": "git", "url": "https://github.com/rectorphp/rector.git", - "reference": "5c1dd52a62206858660cd39a347ece0ce93af1ba" + "reference": "0d3dcc384284aff5f865480186a620166af6d031" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/rectorphp/rector/zipball/5c1dd52a62206858660cd39a347ece0ce93af1ba", - "reference": "5c1dd52a62206858660cd39a347ece0ce93af1ba", + "url": "https://api.github.com/repos/rectorphp/rector/zipball/0d3dcc384284aff5f865480186a620166af6d031", + "reference": "0d3dcc384284aff5f865480186a620166af6d031", "shasum": "" }, "require": { @@ -4004,7 +4004,7 @@ ], "support": { "issues": "https://github.com/rectorphp/rector/issues", - "source": "https://github.com/rectorphp/rector/tree/0.19.3" + "source": "https://github.com/rectorphp/rector/tree/0.19.4" }, "funding": [ { @@ -4012,7 +4012,7 @@ "type": "github" } ], - "time": "2024-01-29T19:04:58+00:00" + "time": "2024-01-29T21:18:03+00:00" }, { "name": "revolt/event-loop", From 5416df065f1e9c227092446140682d8e5b917cf5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20M=C3=B6ller?= Date: Mon, 29 Jan 2024 18:01:44 +0100 Subject: [PATCH 108/111] Enhancement: Add support for PHP 8.0 --- .github/CONTRIBUTING.md | 12 - .github/settings.yml | 18 +- .github/workflows/integrate.yaml | 83 +- .github/workflows/renew.yaml | 4 +- .github/workflows/update.yaml | 2 +- .phive/phars.xml | 4 +- .php-cs-fixer.php | 2 +- CHANGELOG.md | 2 + Makefile | 4 - composer.json | 12 +- composer.lock | 2229 +++++------------ psalm-baseline.xml | 48 +- rector.php | 9 +- src/ChainNormalizer.php | 2 +- src/Format/DefaultFormatter.php | 2 +- src/Format/Indent.php | 2 +- src/Format/JsonEncodeOptions.php | 2 +- src/Format/NewLine.php | 2 +- src/FormatNormalizer.php | 4 +- src/IndentNormalizer.php | 4 +- src/JsonEncodeNormalizer.php | 2 +- src/SchemaNormalizer.php | 8 +- .../Composer/ComposerJsonNormalizer.php | 2 +- src/Vendor/Composer/ConfigHashNormalizer.php | 2 +- .../Composer/RepositoriesHashNormalizer.php | 2 +- .../Composer/VersionConstraintNormalizer.php | 2 +- .../NormalizeNormalizesJson/Scenario.php | 8 +- .../NormalizeNormalizesJson/Scenario.php | 10 +- .../NormalizeNormalizesJson/Scenario.php | 6 +- .../NormalizeRejectsJson/Scenario.php | 4 +- test/Unit/CallableNormalizerTest.php | 4 +- test/Unit/ChainNormalizerTest.php | 4 +- test/Unit/Exception/DependencyMissingTest.php | 4 +- test/Unit/Exception/InvalidIndentSizeTest.php | 4 +- .../Exception/InvalidIndentStringTest.php | 4 +- .../Unit/Exception/InvalidIndentStyleTest.php | 4 +- .../InvalidJsonEncodeOptionsTest.php | 4 +- .../Exception/InvalidNewLineStringTest.php | 4 +- ...NormalizedInvalidAccordingToSchemaTest.php | 4 +- .../OriginalInvalidAccordingToSchemaTest.php | 4 +- .../Exception/SchemaUriCouldNotBeReadTest.php | 4 +- .../SchemaUriCouldNotBeResolvedTest.php | 4 +- ...rencesDocumentWithInvalidMediaTypeTest.php | 4 +- ...maUriReferencesInvalidJsonDocumentTest.php | 4 +- test/Unit/Format/DefaultFormatterTest.php | 17 +- test/Unit/Format/FormatTest.php | 37 +- test/Unit/Format/IndentTest.php | 51 +- test/Unit/Format/JsonEncodeOptionsTest.php | 27 +- test/Unit/Format/NewLineTest.php | 29 +- test/Unit/FormatNormalizerTest.php | 19 +- test/Unit/IndentNormalizerTest.php | 7 +- test/Unit/JsonEncodeNormalizerTest.php | 13 +- test/Unit/SchemaNormalizerTest.php | 30 +- .../Composer/ComposerJsonNormalizerTest.php | 45 +- test/Unit/WithFinalNewLineNormalizerTest.php | 8 +- .../WithoutFinalNewLineNormalizerTest.php | 8 +- test/Unit/phpunit.xml | 37 +- 57 files changed, 884 insertions(+), 1993 deletions(-) diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md index 12107da5..893a0cbe 100644 --- a/.github/CONTRIBUTING.md +++ b/.github/CONTRIBUTING.md @@ -11,18 +11,6 @@ For details, take a look at the following workflow configuration files: - [`workflows/triage.yaml`](workflows/triage.yaml) - [`workflows/update.yaml`](workflows/update.yaml) -## Backward-Compatibility Analysis - -We use [`roave/backward-compatibility-check`](https://github.com/Roave/BackwardCompatibilityCheck) to prevent breaking backwards-compatibility. - -Run - -```sh -make backward-compatibility-analysis -``` - -to run a backward-compatibility analysis. - ## Coding Standards We use [`ergebnis/composer-normalize`](https://github.com/ergebnis/composer-normalize) to normalize `composer.json`. diff --git a/.github/settings.yml b/.github/settings.yml index 890b608c..73d81e05 100644 --- a/.github/settings.yml +++ b/.github/settings.yml @@ -14,14 +14,16 @@ branches: required_approving_review_count: 1 required_status_checks: checks: - - context: "Backward-Compatibility Analysis (8.1, locked)" - - context: "Code Coverage (8.1, locked)" - - context: "Coding Standards (8.1, locked)" - - context: "Dependency Analysis (8.1, locked)" - - context: "Mutation Tests (8.1, locked)" - - context: "Refactoring (8.1, locked)" - - context: "Security Analysis (8.1, locked)" - - context: "Static Code Analysis (8.1, locked)" + - context: "Code Coverage (8.0, locked)" + - context: "Coding Standards (8.0, locked)" + - context: "Dependency Analysis (8.0, locked)" + - context: "Mutation Tests (8.0, locked)" + - context: "Refactoring (8.0, locked)" + - context: "Security Analysis (8.0, locked)" + - context: "Static Code Analysis (8.0, locked)" + - context: "Tests (8.0, highest)" + - context: "Tests (8.0, locked)" + - context: "Tests (8.0, lowest)" - context: "Tests (8.1, highest)" - context: "Tests (8.1, locked)" - context: "Tests (8.1, lowest)" diff --git a/.github/workflows/integrate.yaml b/.github/workflows/integrate.yaml index af7a04e6..3b8a3d6b 100644 --- a/.github/workflows/integrate.yaml +++ b/.github/workflows/integrate.yaml @@ -9,58 +9,6 @@ on: # yamllint disable-line rule:truthy - "main" jobs: - backward-compatibility-analysis: - name: "Backward-Compatibility Analysis" - - runs-on: "ubuntu-latest" - - timeout-minutes: 5 - - strategy: - matrix: - php-version: - - "8.1" - - dependencies: - - "locked" - - steps: - - name: "Checkout" - uses: "actions/checkout@v4.1.1" - with: - fetch-depth: 0 - - - name: "Set up PHP" - uses: "shivammathur/setup-php@2.29.0" - with: - coverage: "none" - extensions: "none, bcmath, ctype, curl, dom, intl, json, mbstring, phar, simplexml, tokenizer, xml, xmlwriter" - php-version: "${{ matrix.php-version }}" - - - name: "Set up problem matchers for PHP" - run: "echo \"::add-matcher::${{ runner.tool_cache }}/php.json\"" - - - name: "Validate composer.json and composer.lock" - run: "composer validate --ansi --strict" - - - name: "Determine composer cache directory" - uses: "ergebnis/.github/actions/composer/determine-cache-directory@1.9.0" - - - name: "Cache dependencies installed with composer" - uses: "actions/cache@v4.0.0" - with: - path: "${{ env.COMPOSER_CACHE_DIR }}" - key: "php-${{ matrix.php-version }}-composer-${{ matrix.dependencies }}-${{ hashFiles('composer.lock') }}" - restore-keys: "php-${{ matrix.php-version }}-composer-${{ matrix.dependencies }}-" - - - name: "Install ${{ matrix.dependencies }} dependencies with composer" - uses: "ergebnis/.github/actions/composer/install@1.9.0" - with: - dependencies: "${{ matrix.dependencies }}" - - - name: "Run backward-compatibility analysis with roave/backward-compatibility-check" - run: "vendor/bin/roave-backward-compatibility-check --ansi --format=github-actions" - code-coverage: name: "Code Coverage" @@ -71,7 +19,7 @@ jobs: strategy: matrix: php-version: - - "8.1" + - "8.0" dependencies: - "locked" @@ -84,7 +32,7 @@ jobs: uses: "shivammathur/setup-php@2.29.0" with: coverage: "xdebug" - extensions: "none, bcmath, ctype, curl, dom, intl, json, mbstring, phar, simplexml, tokenizer, xml, xmlwriter" + extensions: "none, ctype, curl, dom, json, mbstring, phar, simplexml, tokenizer, xml, xmlwriter" php-version: "${{ matrix.php-version }}" - name: "Set up problem matchers for PHP" @@ -132,7 +80,7 @@ jobs: strategy: matrix: php-version: - - "8.1" + - "8.0" dependencies: - "locked" @@ -152,7 +100,7 @@ jobs: uses: "shivammathur/setup-php@2.29.0" with: coverage: "none" - extensions: "none, bcmath, ctype, curl, dom, intl, json, mbstring, phar, simplexml, tokenizer, xml, xmlwriter" + extensions: "none, ctype, curl, dom, json, mbstring, phar, simplexml, tokenizer, xml, xmlwriter" php-version: "${{ matrix.php-version }}" tools: "phive" @@ -207,7 +155,7 @@ jobs: strategy: matrix: php-version: - - "8.1" + - "8.0" dependencies: - "locked" @@ -220,7 +168,7 @@ jobs: uses: "shivammathur/setup-php@2.29.0" with: coverage: "none" - extensions: "none, bcmath, ctype, curl, dom, intl, json, mbstring, phar, simplexml, tokenizer, xml, xmlwriter" + extensions: "none, ctype, curl, dom, json, mbstring, phar, simplexml, tokenizer, xml, xmlwriter" php-version: "${{ matrix.php-version }}" tools: "phive" @@ -263,7 +211,7 @@ jobs: strategy: matrix: php-version: - - "8.1" + - "8.0" dependencies: - "locked" @@ -276,7 +224,7 @@ jobs: uses: "shivammathur/setup-php@2.29.0" with: coverage: "xdebug" - extensions: "none, bcmath, ctype, curl, dom, intl, json, mbstring, phar, simplexml, tokenizer, xml, xmlwriter" + extensions: "none, ctype, curl, dom, json, mbstring, phar, simplexml, tokenizer, xml, xmlwriter" php-version: "${{ matrix.php-version }}" - name: "Set up problem matchers for PHP" @@ -315,7 +263,7 @@ jobs: strategy: matrix: php-version: - - "8.1" + - "8.0" dependencies: - "locked" @@ -328,7 +276,7 @@ jobs: uses: "shivammathur/setup-php@2.29.0" with: coverage: "none" - extensions: "none, bcmath, ctype, curl, dom, intl, json, mbstring, phar, simplexml, tokenizer, xml, xmlwriter" + extensions: "none, ctype, curl, dom, json, mbstring, phar, simplexml, tokenizer, xml, xmlwriter" php-version: "${{ matrix.php-version }}" - name: "Set up problem matchers for PHP" @@ -374,7 +322,7 @@ jobs: strategy: matrix: php-version: - - "8.1" + - "8.0" dependencies: - "locked" @@ -387,7 +335,7 @@ jobs: uses: "shivammathur/setup-php@2.29.0" with: coverage: "none" - extensions: "none, bcmath, ctype, curl, dom, intl, json, mbstring, phar, simplexml, tokenizer, xml, xmlwriter" + extensions: "none, ctype, curl, dom, json, mbstring, phar, simplexml, tokenizer, xml, xmlwriter" php-version: "${{ matrix.php-version }}" - name: "Set up problem matchers for PHP" @@ -424,7 +372,7 @@ jobs: strategy: matrix: php-version: - - "8.1" + - "8.0" dependencies: - "locked" @@ -437,7 +385,7 @@ jobs: uses: "shivammathur/setup-php@2.29.0" with: coverage: "none" - extensions: "none, bcmath, ctype, curl, dom, intl, json, mbstring, opcache, pcntl, phar, posix, simplexml, tokenizer, xml, xmlwriter" + extensions: "none, ctype, curl, dom, json, mbstring, opcache, pcntl, phar, posix, simplexml, tokenizer, xml, xmlwriter" php-version: "${{ matrix.php-version }}" - name: "Set up problem matchers for PHP" @@ -475,6 +423,7 @@ jobs: fail-fast: false matrix: php-version: + - "8.0" - "8.1" - "8.2" - "8.3" @@ -492,7 +441,7 @@ jobs: uses: "shivammathur/setup-php@2.29.0" with: coverage: "none" - extensions: "none, bcmath, ctype, curl, dom, intl, json, mbstring, phar, simplexml, tokenizer, xml, xmlwriter" + extensions: "none, ctype, curl, dom, json, mbstring, phar, simplexml, tokenizer, xml, xmlwriter" php-version: "${{ matrix.php-version }}" - name: "Set up problem matchers for PHP" diff --git a/.github/workflows/renew.yaml b/.github/workflows/renew.yaml index 179a98ae..9d3aaca1 100644 --- a/.github/workflows/renew.yaml +++ b/.github/workflows/renew.yaml @@ -17,7 +17,7 @@ jobs: strategy: matrix: php-version: - - "8.1" + - "8.0" dependencies: - "locked" @@ -32,7 +32,7 @@ jobs: uses: "shivammathur/setup-php@2.29.0" with: coverage: "none" - extensions: "none, bcmath, ctype, curl, dom, intl, json, mbstring, phar, simplexml, tokenizer, xml, xmlwriter" + extensions: "none, ctype, curl, dom, json, mbstring, phar, simplexml, tokenizer, xml, xmlwriter" php-version: "${{ matrix.php-version }}" - name: "Set up problem matchers for PHP" diff --git a/.github/workflows/update.yaml b/.github/workflows/update.yaml index 22b78e73..3e6be69e 100644 --- a/.github/workflows/update.yaml +++ b/.github/workflows/update.yaml @@ -15,7 +15,7 @@ jobs: strategy: matrix: php-version: - - "8.1" + - "8.0" dependencies: - "locked" diff --git a/.phive/phars.xml b/.phive/phars.xml index 09b34434..4a2bbfa0 100644 --- a/.phive/phars.xml +++ b/.phive/phars.xml @@ -1,5 +1,5 @@ - - + + diff --git a/.php-cs-fixer.php b/.php-cs-fixer.php index e6753f35..c094d1c9 100644 --- a/.php-cs-fixer.php +++ b/.php-cs-fixer.php @@ -26,7 +26,7 @@ $license->save(); -$ruleSet = PhpCsFixer\Config\RuleSet\Php81::create() +$ruleSet = PhpCsFixer\Config\RuleSet\Php80::create() ->withHeader($license->header()) ->withRules(PhpCsFixer\Config\Rules::fromArray([ 'mb_str_functions' => false, diff --git a/CHANGELOG.md b/CHANGELOG.md index c35716d6..a7cc1d67 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,6 +14,7 @@ For a full diff see [`4.4.1...main`][4.4.1...main]. - Required `ergebnis/json-printer:^3.5.0` ([#1074]), by [@localheinz] - Required `ergebnis/json-pointer:^3.4.0` ([#1075]), by [@localheinz] - Required `ergebnis/json-schema-validator:^4.2.0` ([#1076]), by [@localheinz] +- Added support for PHP 8.3 ([#1077]), by [@localheinz] ## [`4.4.1`][4.4.1] @@ -686,6 +687,7 @@ For a full diff see [`5d8b3e2...0.1.0`][5d8b3e2...0.1.0]. [#1074]: https://github.com/ergebnis/json-normalizer/pull/1074 [#1075]: https://github.com/ergebnis/json-normalizer/pull/1075 [#1076]: https://github.com/ergebnis/json-normalizer/pull/1076 +[#1077]: https://github.com/ergebnis/json-normalizer/pull/1077 [@alexis-saransig-lullabot]: https://github.com/alexis-saransig-lullabot [@BackEndTea]: https://github.com/BackEndTea diff --git a/Makefile b/Makefile index a1debbec..1e93c5e4 100644 --- a/Makefile +++ b/Makefile @@ -1,10 +1,6 @@ .PHONY: it it: refactoring coding-standards security-analysis static-code-analysis tests ## Runs the refactoring, coding-standards, security-analysis, static-code-analysis, and tests targets -.PHONY: backward-compatibility-analysis -backward-compatibility-analysis: vendor ## Runs a backward-compatibility analysis with roave/backward-compatibility-check - vendor/bin/roave-backward-compatibility-check - .PHONY: code-coverage code-coverage: vendor ## Collects coverage from running unit tests with phpunit/phpunit vendor/bin/phpunit --configuration=test/Unit/phpunit.xml --coverage-text diff --git a/composer.json b/composer.json index e8cfcd72..f654f27d 100644 --- a/composer.json +++ b/composer.json @@ -21,7 +21,7 @@ "security": "https://github.com/ergebnis/json-normalizer/blob/main/.github/SECURITY.md" }, "require": { - "php": "~8.1.0 || ~8.2.0 || ~8.3.0", + "php": "~8.0.0 || ~8.1.0 || ~8.2.0 || ~8.3.0", "ext-json": "*", "ergebnis/json": "^1.2.0", "ergebnis/json-pointer": "^3.4.0", @@ -36,13 +36,10 @@ "ergebnis/php-cs-fixer-config": "^6.20.0", "ergebnis/phpunit-slow-test-detector": "^2.9.0", "fakerphp/faker": "^1.23.1", - "infection/infection": "~0.27.9", - "phpunit/phpunit": "^10.5.9", + "infection/infection": "~0.26.19", + "phpunit/phpunit": "^9.6.16", "psalm/plugin-phpunit": "~0.18.4", "rector/rector": "~0.19.4", - "roave/backward-compatibility-check": "^8.6.0", - "symfony/filesystem": "^6.4.0", - "symfony/finder": "^6.4.0", "vimeo/psalm": "^5.20.0" }, "suggest": { @@ -66,6 +63,9 @@ "audit": { "abandoned": "report" }, + "platform": { + "php": "8.0.30" + }, "preferred-install": "dist", "sort-packages": true } diff --git a/composer.lock b/composer.lock index 5ec1fa1d..0092ddfc 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "b2b33a2e9113906e7c03a8bdde7972df", + "content-hash": "5cdec39cffb31581185f2de8fececf8a", "packages": [ { "name": "ergebnis/json", @@ -507,147 +507,6 @@ ], "time": "2021-03-30T17:13:30+00:00" }, - { - "name": "azjezz/psl", - "version": "2.8.0", - "source": { - "type": "git", - "url": "https://github.com/azjezz/psl.git", - "reference": "4955aa9d30790a3618b7933762359abdb41fd313" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/azjezz/psl/zipball/4955aa9d30790a3618b7933762359abdb41fd313", - "reference": "4955aa9d30790a3618b7933762359abdb41fd313", - "shasum": "" - }, - "require": { - "ext-bcmath": "*", - "ext-intl": "*", - "ext-json": "*", - "ext-mbstring": "*", - "ext-sodium": "*", - "php": "~8.1.0 || ~8.2.0 || ~8.3.0", - "revolt/event-loop": "^1.0.1" - }, - "require-dev": { - "friendsofphp/php-cs-fixer": "^3.22.0", - "php-coveralls/php-coveralls": "^2.6.0", - "php-standard-library/psalm-plugin": "^2.2.1", - "phpbench/phpbench": "^1.2.14", - "phpunit/phpunit": "^9.6.10", - "roave/infection-static-analysis-plugin": "^1.32.0", - "squizlabs/php_codesniffer": "^3.7.2", - "vimeo/psalm": "^5.13.1" - }, - "suggest": { - "php-standard-library/psalm-plugin": "Psalm integration" - }, - "type": "library", - "extra": { - "thanks": { - "name": "hhvm/hsl", - "url": "https://github.com/hhvm/hsl" - } - }, - "autoload": { - "files": [ - "src/bootstrap.php" - ], - "psr-4": { - "Psl\\": "src/Psl" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "azjezz", - "email": "azjezz@protonmail.com" - } - ], - "description": "PHP Standard Library", - "support": { - "issues": "https://github.com/azjezz/psl/issues", - "source": "https://github.com/azjezz/psl/tree/2.8.0" - }, - "funding": [ - { - "url": "https://github.com/azjezz", - "type": "github" - } - ], - "time": "2023-11-22T07:49:48+00:00" - }, - { - "name": "beberlei/assert", - "version": "v3.3.2", - "source": { - "type": "git", - "url": "https://github.com/beberlei/assert.git", - "reference": "cb70015c04be1baee6f5f5c953703347c0ac1655" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/beberlei/assert/zipball/cb70015c04be1baee6f5f5c953703347c0ac1655", - "reference": "cb70015c04be1baee6f5f5c953703347c0ac1655", - "shasum": "" - }, - "require": { - "ext-ctype": "*", - "ext-json": "*", - "ext-mbstring": "*", - "ext-simplexml": "*", - "php": "^7.0 || ^8.0" - }, - "require-dev": { - "friendsofphp/php-cs-fixer": "*", - "phpstan/phpstan": "*", - "phpunit/phpunit": ">=6.0.0", - "yoast/phpunit-polyfills": "^0.1.0" - }, - "suggest": { - "ext-intl": "Needed to allow Assertion::count(), Assertion::isCountable(), Assertion::minCount(), and Assertion::maxCount() to operate on ResourceBundles" - }, - "type": "library", - "autoload": { - "files": [ - "lib/Assert/functions.php" - ], - "psr-4": { - "Assert\\": "lib/Assert" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-2-Clause" - ], - "authors": [ - { - "name": "Benjamin Eberlei", - "email": "kontakt@beberlei.de", - "role": "Lead Developer" - }, - { - "name": "Richard Quadling", - "email": "rquadling@gmail.com", - "role": "Collaborator" - } - ], - "description": "Thin assertion library for input validation in business models.", - "keywords": [ - "assert", - "assertion", - "validation" - ], - "support": { - "issues": "https://github.com/beberlei/assert/issues", - "source": "https://github.com/beberlei/assert/tree/v3.3.2" - }, - "time": "2021-12-16T21:41:27+00:00" - }, { "name": "colinodell/json5", "version": "v2.3.0", @@ -740,221 +599,41 @@ "time": "2022-12-27T16:44:40+00:00" }, { - "name": "composer/ca-bundle", - "version": "1.4.0", + "name": "composer/package-versions-deprecated", + "version": "1.11.99.5", "source": { "type": "git", - "url": "https://github.com/composer/ca-bundle.git", - "reference": "b66d11b7479109ab547f9405b97205640b17d385" + "url": "https://github.com/composer/package-versions-deprecated.git", + "reference": "b4f54f74ef3453349c24a845d22392cd31e65f1d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/composer/ca-bundle/zipball/b66d11b7479109ab547f9405b97205640b17d385", - "reference": "b66d11b7479109ab547f9405b97205640b17d385", + "url": "https://api.github.com/repos/composer/package-versions-deprecated/zipball/b4f54f74ef3453349c24a845d22392cd31e65f1d", + "reference": "b4f54f74ef3453349c24a845d22392cd31e65f1d", "shasum": "" }, "require": { - "ext-openssl": "*", - "ext-pcre": "*", - "php": "^5.3.2 || ^7.0 || ^8.0" - }, - "require-dev": { - "phpstan/phpstan": "^0.12.55", - "psr/log": "^1.0", - "symfony/phpunit-bridge": "^4.2 || ^5", - "symfony/process": "^2.5 || ^3.0 || ^4.0 || ^5.0 || ^6.0 || ^7.0" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-main": "1.x-dev" - } - }, - "autoload": { - "psr-4": { - "Composer\\CaBundle\\": "src" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Jordi Boggiano", - "email": "j.boggiano@seld.be", - "homepage": "http://seld.be" - } - ], - "description": "Lets you find a path to the system CA bundle, and includes a fallback to the Mozilla CA bundle.", - "keywords": [ - "cabundle", - "cacert", - "certificate", - "ssl", - "tls" - ], - "support": { - "irc": "irc://irc.freenode.org/composer", - "issues": "https://github.com/composer/ca-bundle/issues", - "source": "https://github.com/composer/ca-bundle/tree/1.4.0" + "composer-plugin-api": "^1.1.0 || ^2.0", + "php": "^7 || ^8" }, - "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": "2023-12-18T12:05:55+00:00" - }, - { - "name": "composer/class-map-generator", - "version": "1.1.0", - "source": { - "type": "git", - "url": "https://github.com/composer/class-map-generator.git", - "reference": "953cc4ea32e0c31f2185549c7d216d7921f03da9" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/composer/class-map-generator/zipball/953cc4ea32e0c31f2185549c7d216d7921f03da9", - "reference": "953cc4ea32e0c31f2185549c7d216d7921f03da9", - "shasum": "" - }, - "require": { - "composer/pcre": "^2.1 || ^3.1", - "php": "^7.2 || ^8.0", - "symfony/finder": "^4.4 || ^5.3 || ^6 || ^7" - }, - "require-dev": { - "phpstan/phpstan": "^1.6", - "phpstan/phpstan-deprecation-rules": "^1", - "phpstan/phpstan-phpunit": "^1", - "phpstan/phpstan-strict-rules": "^1.1", - "symfony/filesystem": "^5.4 || ^6", - "symfony/phpunit-bridge": "^5" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-main": "1.x-dev" - } - }, - "autoload": { - "psr-4": { - "Composer\\ClassMapGenerator\\": "src" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Jordi Boggiano", - "email": "j.boggiano@seld.be", - "homepage": "https://seld.be" - } - ], - "description": "Utilities to scan PHP code and generate class maps.", - "keywords": [ - "classmap" - ], - "support": { - "issues": "https://github.com/composer/class-map-generator/issues", - "source": "https://github.com/composer/class-map-generator/tree/1.1.0" - }, - "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": "2023-06-30T13:58:57+00:00" - }, - { - "name": "composer/composer", - "version": "2.6.6", - "source": { - "type": "git", - "url": "https://github.com/composer/composer.git", - "reference": "683557bd2466072777309d039534bb1332d0dda5" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/composer/composer/zipball/683557bd2466072777309d039534bb1332d0dda5", - "reference": "683557bd2466072777309d039534bb1332d0dda5", - "shasum": "" - }, - "require": { - "composer/ca-bundle": "^1.0", - "composer/class-map-generator": "^1.0", - "composer/metadata-minifier": "^1.0", - "composer/pcre": "^2.1 || ^3.1", - "composer/semver": "^3.2.5", - "composer/spdx-licenses": "^1.5.7", - "composer/xdebug-handler": "^2.0.2 || ^3.0.3", - "justinrainbow/json-schema": "^5.2.11", - "php": "^7.2.5 || ^8.0", - "psr/log": "^1.0 || ^2.0 || ^3.0", - "react/promise": "^2.8 || ^3", - "seld/jsonlint": "^1.4", - "seld/phar-utils": "^1.2", - "seld/signal-handler": "^2.0", - "symfony/console": "^5.4.11 || ^6.0.11", - "symfony/filesystem": "^5.4 || ^6.0 || ^7", - "symfony/finder": "^5.4 || ^6.0 || ^7", - "symfony/polyfill-php73": "^1.24", - "symfony/polyfill-php80": "^1.24", - "symfony/polyfill-php81": "^1.24", - "symfony/process": "^5.4 || ^6.0 || ^7" + "replace": { + "ocramius/package-versions": "1.11.99" }, "require-dev": { - "phpstan/phpstan": "^1.9.3", - "phpstan/phpstan-deprecation-rules": "^1", - "phpstan/phpstan-phpunit": "^1.0", - "phpstan/phpstan-strict-rules": "^1", - "phpstan/phpstan-symfony": "^1.2.10", - "symfony/phpunit-bridge": "^6.0 || ^7" - }, - "suggest": { - "ext-openssl": "Enabling the openssl extension allows you to access https URLs for repositories and packages", - "ext-zip": "Enabling the zip extension allows you to unzip archives", - "ext-zlib": "Allow gzip compression of HTTP requests" + "composer/composer": "^1.9.3 || ^2.0@dev", + "ext-zip": "^1.13", + "phpunit/phpunit": "^6.5 || ^7" }, - "bin": [ - "bin/composer" - ], - "type": "library", + "type": "composer-plugin", "extra": { + "class": "PackageVersions\\Installer", "branch-alias": { - "dev-main": "2.6-dev" - }, - "phpstan": { - "includes": [ - "phpstan/rules.neon" - ] + "dev-master": "1.x-dev" } }, "autoload": { "psr-4": { - "Composer\\": "src/Composer/" + "PackageVersions\\": "src/PackageVersions" } }, "notification-url": "https://packagist.org/downloads/", @@ -963,97 +642,18 @@ ], "authors": [ { - "name": "Nils Adermann", - "email": "naderman@naderman.de", - "homepage": "https://www.naderman.de" - }, - { - "name": "Jordi Boggiano", - "email": "j.boggiano@seld.be", - "homepage": "https://seld.be" - } - ], - "description": "Composer helps you declare, manage and install dependencies of PHP projects. It ensures you have the right stack everywhere.", - "homepage": "https://getcomposer.org/", - "keywords": [ - "autoload", - "dependency", - "package" - ], - "support": { - "irc": "ircs://irc.libera.chat:6697/composer", - "issues": "https://github.com/composer/composer/issues", - "security": "https://github.com/composer/composer/security/policy", - "source": "https://github.com/composer/composer/tree/2.6.6" - }, - "funding": [ - { - "url": "https://packagist.com", - "type": "custom" - }, - { - "url": "https://github.com/composer", - "type": "github" + "name": "Marco Pivetta", + "email": "ocramius@gmail.com" }, - { - "url": "https://tidelift.com/funding/github/packagist/composer/composer", - "type": "tidelift" - } - ], - "time": "2023-12-08T17:32:26+00:00" - }, - { - "name": "composer/metadata-minifier", - "version": "1.0.0", - "source": { - "type": "git", - "url": "https://github.com/composer/metadata-minifier.git", - "reference": "c549d23829536f0d0e984aaabbf02af91f443207" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/composer/metadata-minifier/zipball/c549d23829536f0d0e984aaabbf02af91f443207", - "reference": "c549d23829536f0d0e984aaabbf02af91f443207", - "shasum": "" - }, - "require": { - "php": "^5.3.2 || ^7.0 || ^8.0" - }, - "require-dev": { - "composer/composer": "^2", - "phpstan/phpstan": "^0.12.55", - "symfony/phpunit-bridge": "^4.2 || ^5" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-main": "1.x-dev" - } - }, - "autoload": { - "psr-4": { - "Composer\\MetadataMinifier\\": "src" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ { "name": "Jordi Boggiano", - "email": "j.boggiano@seld.be", - "homepage": "http://seld.be" + "email": "j.boggiano@seld.be" } ], - "description": "Small utility library that handles metadata minification and expansion.", - "keywords": [ - "composer", - "compression" - ], + "description": "Composer plugin that provides efficient querying for installed package versions (no runtime IO)", "support": { - "issues": "https://github.com/composer/metadata-minifier/issues", - "source": "https://github.com/composer/metadata-minifier/tree/1.0.0" + "issues": "https://github.com/composer/package-versions-deprecated/issues", + "source": "https://github.com/composer/package-versions-deprecated/tree/1.11.99.5" }, "funding": [ { @@ -1069,7 +669,7 @@ "type": "tidelift" } ], - "time": "2021-04-07T13:37:33+00:00" + "time": "2022-01-17T14:14:24+00:00" }, { "name": "composer/pcre", @@ -1223,86 +823,6 @@ ], "time": "2023-08-31T09:50:34+00:00" }, - { - "name": "composer/spdx-licenses", - "version": "1.5.8", - "source": { - "type": "git", - "url": "https://github.com/composer/spdx-licenses.git", - "reference": "560bdcf8deb88ae5d611c80a2de8ea9d0358cc0a" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/composer/spdx-licenses/zipball/560bdcf8deb88ae5d611c80a2de8ea9d0358cc0a", - "reference": "560bdcf8deb88ae5d611c80a2de8ea9d0358cc0a", - "shasum": "" - }, - "require": { - "php": "^5.3.2 || ^7.0 || ^8.0" - }, - "require-dev": { - "phpstan/phpstan": "^0.12.55", - "symfony/phpunit-bridge": "^4.2 || ^5" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-main": "1.x-dev" - } - }, - "autoload": { - "psr-4": { - "Composer\\Spdx\\": "src" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "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": "SPDX licenses list and validation library.", - "keywords": [ - "license", - "spdx", - "validator" - ], - "support": { - "irc": "ircs://irc.libera.chat:6697/composer", - "issues": "https://github.com/composer/spdx-licenses/issues", - "source": "https://github.com/composer/spdx-licenses/tree/1.5.8" - }, - "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": "2023-11-20T07:44:33+00:00" - }, { "name": "composer/xdebug-handler", "version": "3.0.3", @@ -1453,6 +973,76 @@ }, "time": "2023-09-27T20:04:15+00:00" }, + { + "name": "doctrine/instantiator", + "version": "1.5.0", + "source": { + "type": "git", + "url": "https://github.com/doctrine/instantiator.git", + "reference": "0a0fa9780f5d4e507415a065172d26a98d02047b" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/doctrine/instantiator/zipball/0a0fa9780f5d4e507415a065172d26a98d02047b", + "reference": "0a0fa9780f5d4e507415a065172d26a98d02047b", + "shasum": "" + }, + "require": { + "php": "^7.1 || ^8.0" + }, + "require-dev": { + "doctrine/coding-standard": "^9 || ^11", + "ext-pdo": "*", + "ext-phar": "*", + "phpbench/phpbench": "^0.16 || ^1", + "phpstan/phpstan": "^1.4", + "phpstan/phpstan-phpunit": "^1", + "phpunit/phpunit": "^7.5 || ^8.5 || ^9.5", + "vimeo/psalm": "^4.30 || ^5.4" + }, + "type": "library", + "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/1.5.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:15:36+00:00" + }, { "name": "ergebnis/data-provider", "version": "3.2.0", @@ -1942,16 +1532,16 @@ }, { "name": "fidry/cpu-core-counter", - "version": "1.0.0", + "version": "0.4.1", "source": { "type": "git", "url": "https://github.com/theofidry/cpu-core-counter.git", - "reference": "85193c0b0cb5c47894b5eaec906e946f054e7077" + "reference": "79261cc280aded96d098e1b0e0ba0c4881b432c2" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/theofidry/cpu-core-counter/zipball/85193c0b0cb5c47894b5eaec906e946f054e7077", - "reference": "85193c0b0cb5c47894b5eaec906e946f054e7077", + "url": "https://api.github.com/repos/theofidry/cpu-core-counter/zipball/79261cc280aded96d098e1b0e0ba0c4881b432c2", + "reference": "79261cc280aded96d098e1b0e0ba0c4881b432c2", "shasum": "" }, "require": { @@ -1959,13 +1549,13 @@ }, "require-dev": { "fidry/makefile": "^0.2.0", - "fidry/php-cs-fixer-config": "^1.1.2", "phpstan/extension-installer": "^1.2.0", "phpstan/phpstan": "^1.9.2", "phpstan/phpstan-deprecation-rules": "^1.0.0", "phpstan/phpstan-phpunit": "^1.2.2", "phpstan/phpstan-strict-rules": "^1.4.4", - "phpunit/phpunit": "^8.5.31 || ^9.5.26", + "phpunit/phpunit": "^9.5.26 || ^8.5.31", + "theofidry/php-cs-fixer-config": "^1.0", "webmozarts/strict-phpunit": "^7.5" }, "type": "library", @@ -1991,7 +1581,7 @@ ], "support": { "issues": "https://github.com/theofidry/cpu-core-counter/issues", - "source": "https://github.com/theofidry/cpu-core-counter/tree/1.0.0" + "source": "https://github.com/theofidry/cpu-core-counter/tree/0.4.1" }, "funding": [ { @@ -1999,7 +1589,7 @@ "type": "github" } ], - "time": "2023-09-17T21:38:23+00:00" + "time": "2022-12-16T22:01:02+00:00" }, { "name": "friendsofphp/php-cs-fixer", @@ -2271,16 +1861,16 @@ }, { "name": "infection/infection", - "version": "0.27.9", + "version": "0.26.19", "source": { "type": "git", "url": "https://github.com/infection/infection.git", - "reference": "61e6d0645b89104fbd660218d3408219ad7176b5" + "reference": "bd7351c88f3a797ea8977e68fe6a3f4d4c5f457f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/infection/infection/zipball/61e6d0645b89104fbd660218d3408219ad7176b5", - "reference": "61e6d0645b89104fbd660218d3408219ad7176b5", + "url": "https://api.github.com/repos/infection/infection/zipball/bd7351c88f3a797ea8977e68fe6a3f4d4c5f457f", + "reference": "bd7351c88f3a797ea8977e68fe6a3f4d4c5f457f", "shasum": "" }, "require": { @@ -2291,46 +1881,42 @@ "ext-json": "*", "ext-libxml": "*", "ext-mbstring": "*", - "fidry/cpu-core-counter": "^0.4.0 || ^0.5.0 || ^1.0", + "fidry/cpu-core-counter": "^0.4.0", "infection/abstract-testframework-adapter": "^0.5.0", "infection/extension-installer": "^0.1.0", "infection/include-interceptor": "^0.2.5", "justinrainbow/json-schema": "^5.2.10", "nikic/php-parser": "^4.15.1", "ondram/ci-detector": "^4.1.0", - "php": "^8.1", + "php": "^8.0", "sanmai/later": "^0.1.1", "sanmai/pipeline": "^5.1 || ^6", "sebastian/diff": "^3.0.2 || ^4.0 || ^5.0", - "symfony/console": "^5.4 || ^6.0 || ^7.0", - "symfony/filesystem": "^5.4 || ^6.0 || ^7.0", - "symfony/finder": "^5.4 || ^6.0 || ^7.0", - "symfony/process": "^5.4 || ^6.0 || ^7.0", + "symfony/console": "^5.4 || ^6.0", + "symfony/filesystem": "^5.4 || ^6.0", + "symfony/finder": "^5.4 || ^6.0", + "symfony/process": "^5.4 || ^6.0", "thecodingmachine/safe": "^2.1.2", "webmozart/assert": "^1.11" }, "conflict": { - "antecedent/patchwork": "<2.1.25", "dg/bypass-finals": "<1.4.1", "phpunit/php-code-coverage": ">9,<9.1.4 || >9.2.17,<9.2.21" }, "require-dev": { - "brianium/paratest": "^6.11", + "brianium/paratest": "^6.3", "ext-simplexml": "*", "fidry/makefile": "^0.2.0", "helmich/phpunit-json-assert": "^3.0", - "phpspec/prophecy": "^1.15", "phpspec/prophecy-phpunit": "^2.0", "phpstan/extension-installer": "^1.1.0", - "phpstan/phpstan": "^1.10.15", + "phpstan/phpstan": "^1.3.0", "phpstan/phpstan-phpunit": "^1.0.0", "phpstan/phpstan-strict-rules": "^1.1.0", "phpstan/phpstan-webmozart-assert": "^1.0.2", - "phpunit/phpunit": "^9.6", - "rector/rector": "^0.16.0", - "sidz/phpstan-rules": "^0.4.0", - "symfony/phpunit-bridge": "^5.4 || ^6.0 || ^7.0", - "symfony/yaml": "^5.4 || ^6.0 || ^7.0", + "phpunit/phpunit": "^9.5.5", + "symfony/phpunit-bridge": "^5.4 || ^6.0", + "symfony/yaml": "^5.4 || ^6.0", "thecodingmachine/phpstan-safe-rule": "^1.2.0" }, "bin": [ @@ -2387,7 +1973,7 @@ ], "support": { "issues": "https://github.com/infection/infection/issues", - "source": "https://github.com/infection/infection/tree/0.27.9" + "source": "https://github.com/infection/infection/tree/0.26.19" }, "funding": [ { @@ -2399,55 +1985,7 @@ "type": "open_collective" } ], - "time": "2023-12-07T17:42:43+00:00" - }, - { - "name": "jetbrains/phpstorm-stubs", - "version": "v2023.3", - "source": { - "type": "git", - "url": "https://github.com/JetBrains/phpstorm-stubs.git", - "reference": "99d8bcab934ae5362f33660b1cd4b8c4d617c40b" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/JetBrains/phpstorm-stubs/zipball/99d8bcab934ae5362f33660b1cd4b8c4d617c40b", - "reference": "99d8bcab934ae5362f33660b1cd4b8c4d617c40b", - "shasum": "" - }, - "require-dev": { - "friendsofphp/php-cs-fixer": "@stable", - "nikic/php-parser": "@stable", - "php": "^8.0", - "phpdocumentor/reflection-docblock": "@stable", - "phpunit/phpunit": "^9.6" - }, - "type": "library", - "autoload": { - "files": [ - "PhpStormStubsMap.php" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "Apache-2.0" - ], - "description": "PHP runtime & extensions header files for PhpStorm", - "homepage": "https://www.jetbrains.com/phpstorm", - "keywords": [ - "autocomplete", - "code", - "inference", - "inspection", - "jetbrains", - "phpstorm", - "stubs", - "type" - ], - "support": { - "source": "https://github.com/JetBrains/phpstorm-stubs/tree/v2023.3" - }, - "time": "2023-11-01T18:52:29+00:00" + "time": "2023-02-05T21:47:26+00:00" }, { "name": "kubawerlos/php-cs-fixer-custom-fixers", @@ -2556,16 +2094,16 @@ }, { "name": "netresearch/jsonmapper", - "version": "v4.2.0", + "version": "v4.4.0", "source": { "type": "git", "url": "https://github.com/cweiske/jsonmapper.git", - "reference": "f60565f8c0566a31acf06884cdaa591867ecc956" + "reference": "18133a2d8c24e10e58e02b700308ed3a4a60c97f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/cweiske/jsonmapper/zipball/f60565f8c0566a31acf06884cdaa591867ecc956", - "reference": "f60565f8c0566a31acf06884cdaa591867ecc956", + "url": "https://api.github.com/repos/cweiske/jsonmapper/zipball/18133a2d8c24e10e58e02b700308ed3a4a60c97f", + "reference": "18133a2d8c24e10e58e02b700308ed3a4a60c97f", "shasum": "" }, "require": { @@ -2576,7 +2114,7 @@ "php": ">=7.1" }, "require-dev": { - "phpunit/phpunit": "~7.5 || ~8.0 || ~9.0", + "phpunit/phpunit": "~7.5 || ~8.0 || ~9.0 || ~10.0", "squizlabs/php_codesniffer": "~3.5" }, "type": "library", @@ -2601,9 +2139,9 @@ "support": { "email": "cweiske@cweiske.de", "issues": "https://github.com/cweiske/jsonmapper/issues", - "source": "https://github.com/cweiske/jsonmapper/tree/v4.2.0" + "source": "https://github.com/cweiske/jsonmapper/tree/v4.4.0" }, - "time": "2023-04-09T17:37:40+00:00" + "time": "2024-01-28T07:31:37+00:00" }, { "name": "nikic/php-parser", @@ -2620,169 +2158,46 @@ "shasum": "" }, "require": { - "ext-tokenizer": "*", - "php": ">=7.0" - }, - "require-dev": { - "ircmaxell/php-yacc": "^0.0.7", - "phpunit/phpunit": "^6.5 || ^7.0 || ^8.0 || ^9.0" - }, - "bin": [ - "bin/php-parse" - ], - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "4.9-dev" - } - }, - "autoload": { - "psr-4": { - "PhpParser\\": "lib/PhpParser" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Nikita Popov" - } - ], - "description": "A PHP parser written in PHP", - "keywords": [ - "parser", - "php" - ], - "support": { - "issues": "https://github.com/nikic/PHP-Parser/issues", - "source": "https://github.com/nikic/PHP-Parser/tree/v4.18.0" - }, - "time": "2023-12-10T21:03:43+00:00" - }, - { - "name": "nikolaposa/version", - "version": "4.1.1", - "source": { - "type": "git", - "url": "https://github.com/nikolaposa/version.git", - "reference": "f6bdd64be914940529b843a67335d6386d980cec" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/nikolaposa/version/zipball/f6bdd64be914940529b843a67335d6386d980cec", - "reference": "f6bdd64be914940529b843a67335d6386d980cec", - "shasum": "" - }, - "require": { - "beberlei/assert": "^3.2", - "php": "^7.2 || ^8.0" - }, - "require-dev": { - "friendsofphp/php-cs-fixer": "^2.17", - "phpstan/phpstan": "^0.12.10", - "phpstan/phpstan-beberlei-assert": "^0.12.2", - "phpstan/phpstan-phpunit": "^0.12.6", - "phpunit/phpunit": "^8.0" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "4.1.x-dev" - } - }, - "autoload": { - "psr-4": { - "Version\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nikola Poša", - "email": "posa.nikola@gmail.com", - "homepage": "https://www.nikolaposa.in.rs" - } - ], - "description": "Value Object that represents a SemVer-compliant version number.", - "homepage": "https://github.com/nikolaposa/version", - "keywords": [ - "semantic", - "semver", - "version", - "versioning" - ], - "support": { - "issues": "https://github.com/nikolaposa/version/issues", - "source": "https://github.com/nikolaposa/version/tree/4.1.1" - }, - "time": "2023-08-04T17:13:40+00:00" - }, - { - "name": "ocramius/package-versions", - "version": "2.8.0", - "source": { - "type": "git", - "url": "https://github.com/Ocramius/PackageVersions.git", - "reference": "7b5821f854cf1e6753c4ed7ceb3b11ae83bbad4e" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/Ocramius/PackageVersions/zipball/7b5821f854cf1e6753c4ed7ceb3b11ae83bbad4e", - "reference": "7b5821f854cf1e6753c4ed7ceb3b11ae83bbad4e", - "shasum": "" - }, - "require": { - "composer-runtime-api": "^2.2.0", - "php": "~8.1.0 || ~8.2.0 || ~8.3.0" - }, - "replace": { - "composer/package-versions-deprecated": "*" + "ext-tokenizer": "*", + "php": ">=7.0" }, "require-dev": { - "composer/composer": "^2.6.3", - "doctrine/coding-standard": "^12.0.0", - "ext-zip": "^1.15.0", - "phpunit/phpunit": "^9.6.12", - "roave/infection-static-analysis-plugin": "^1.33", - "vimeo/psalm": "^5.15.0" + "ircmaxell/php-yacc": "^0.0.7", + "phpunit/phpunit": "^6.5 || ^7.0 || ^8.0 || ^9.0" }, + "bin": [ + "bin/php-parse" + ], "type": "library", + "extra": { + "branch-alias": { + "dev-master": "4.9-dev" + } + }, "autoload": { "psr-4": { - "PackageVersions\\": "src/PackageVersions" + "PhpParser\\": "lib/PhpParser" } }, "notification-url": "https://packagist.org/downloads/", "license": [ - "MIT" + "BSD-3-Clause" ], "authors": [ { - "name": "Marco Pivetta", - "email": "ocramius@gmail.com" + "name": "Nikita Popov" } ], - "description": "Provides efficient querying for installed package versions (no runtime IO)", + "description": "A PHP parser written in PHP", + "keywords": [ + "parser", + "php" + ], "support": { - "issues": "https://github.com/Ocramius/PackageVersions/issues", - "source": "https://github.com/Ocramius/PackageVersions/tree/2.8.0" + "issues": "https://github.com/nikic/PHP-Parser/issues", + "source": "https://github.com/nikic/PHP-Parser/tree/v4.18.0" }, - "funding": [ - { - "url": "https://github.com/Ocramius", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/ocramius/package-versions", - "type": "tidelift" - } - ], - "time": "2023-09-15T11:02:59+00:00" + "time": "2023-12-10T21:03:43+00:00" }, { "name": "ondram/ci-detector", @@ -3252,16 +2667,16 @@ }, { "name": "phpunit/php-code-coverage", - "version": "10.1.11", + "version": "9.2.30", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/php-code-coverage.git", - "reference": "78c3b7625965c2513ee96569a4dbb62601784145" + "reference": "ca2bd87d2f9215904682a9cb9bb37dda98e76089" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/78c3b7625965c2513ee96569a4dbb62601784145", - "reference": "78c3b7625965c2513ee96569a4dbb62601784145", + "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/ca2bd87d2f9215904682a9cb9bb37dda98e76089", + "reference": "ca2bd87d2f9215904682a9cb9bb37dda98e76089", "shasum": "" }, "require": { @@ -3269,18 +2684,18 @@ "ext-libxml": "*", "ext-xmlwriter": "*", "nikic/php-parser": "^4.18 || ^5.0", - "php": ">=8.1", - "phpunit/php-file-iterator": "^4.0", - "phpunit/php-text-template": "^3.0", - "sebastian/code-unit-reverse-lookup": "^3.0", - "sebastian/complexity": "^3.0", - "sebastian/environment": "^6.0", - "sebastian/lines-of-code": "^2.0", - "sebastian/version": "^4.0", + "php": ">=7.3", + "phpunit/php-file-iterator": "^3.0.3", + "phpunit/php-text-template": "^2.0.2", + "sebastian/code-unit-reverse-lookup": "^2.0.2", + "sebastian/complexity": "^2.0", + "sebastian/environment": "^5.1.2", + "sebastian/lines-of-code": "^1.0.3", + "sebastian/version": "^3.0.1", "theseer/tokenizer": "^1.2.0" }, "require-dev": { - "phpunit/phpunit": "^10.1" + "phpunit/phpunit": "^9.3" }, "suggest": { "ext-pcov": "PHP extension that provides line coverage", @@ -3289,7 +2704,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "10.1-dev" + "dev-master": "9.2-dev" } }, "autoload": { @@ -3318,7 +2733,7 @@ "support": { "issues": "https://github.com/sebastianbergmann/php-code-coverage/issues", "security": "https://github.com/sebastianbergmann/php-code-coverage/security/policy", - "source": "https://github.com/sebastianbergmann/php-code-coverage/tree/10.1.11" + "source": "https://github.com/sebastianbergmann/php-code-coverage/tree/9.2.30" }, "funding": [ { @@ -3326,32 +2741,32 @@ "type": "github" } ], - "time": "2023-12-21T15:38:30+00:00" + "time": "2023-12-22T06:47:57+00:00" }, { "name": "phpunit/php-file-iterator", - "version": "4.1.0", + "version": "3.0.6", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/php-file-iterator.git", - "reference": "a95037b6d9e608ba092da1b23931e537cadc3c3c" + "reference": "cf1c2e7c203ac650e352f4cc675a7021e7d1b3cf" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-file-iterator/zipball/a95037b6d9e608ba092da1b23931e537cadc3c3c", - "reference": "a95037b6d9e608ba092da1b23931e537cadc3c3c", + "url": "https://api.github.com/repos/sebastianbergmann/php-file-iterator/zipball/cf1c2e7c203ac650e352f4cc675a7021e7d1b3cf", + "reference": "cf1c2e7c203ac650e352f4cc675a7021e7d1b3cf", "shasum": "" }, "require": { - "php": ">=8.1" + "php": ">=7.3" }, "require-dev": { - "phpunit/phpunit": "^10.0" + "phpunit/phpunit": "^9.3" }, "type": "library", "extra": { "branch-alias": { - "dev-main": "4.0-dev" + "dev-master": "3.0-dev" } }, "autoload": { @@ -3378,8 +2793,7 @@ ], "support": { "issues": "https://github.com/sebastianbergmann/php-file-iterator/issues", - "security": "https://github.com/sebastianbergmann/php-file-iterator/security/policy", - "source": "https://github.com/sebastianbergmann/php-file-iterator/tree/4.1.0" + "source": "https://github.com/sebastianbergmann/php-file-iterator/tree/3.0.6" }, "funding": [ { @@ -3387,28 +2801,28 @@ "type": "github" } ], - "time": "2023-08-31T06:24:48+00:00" + "time": "2021-12-02T12:48:52+00:00" }, { "name": "phpunit/php-invoker", - "version": "4.0.0", + "version": "3.1.1", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/php-invoker.git", - "reference": "f5e568ba02fa5ba0ddd0f618391d5a9ea50b06d7" + "reference": "5a10147d0aaf65b58940a0b72f71c9ac0423cc67" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-invoker/zipball/f5e568ba02fa5ba0ddd0f618391d5a9ea50b06d7", - "reference": "f5e568ba02fa5ba0ddd0f618391d5a9ea50b06d7", + "url": "https://api.github.com/repos/sebastianbergmann/php-invoker/zipball/5a10147d0aaf65b58940a0b72f71c9ac0423cc67", + "reference": "5a10147d0aaf65b58940a0b72f71c9ac0423cc67", "shasum": "" }, "require": { - "php": ">=8.1" + "php": ">=7.3" }, "require-dev": { "ext-pcntl": "*", - "phpunit/phpunit": "^10.0" + "phpunit/phpunit": "^9.3" }, "suggest": { "ext-pcntl": "*" @@ -3416,7 +2830,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "4.0-dev" + "dev-master": "3.1-dev" } }, "autoload": { @@ -3442,7 +2856,7 @@ ], "support": { "issues": "https://github.com/sebastianbergmann/php-invoker/issues", - "source": "https://github.com/sebastianbergmann/php-invoker/tree/4.0.0" + "source": "https://github.com/sebastianbergmann/php-invoker/tree/3.1.1" }, "funding": [ { @@ -3450,32 +2864,32 @@ "type": "github" } ], - "time": "2023-02-03T06:56:09+00:00" + "time": "2020-09-28T05:58:55+00:00" }, { "name": "phpunit/php-text-template", - "version": "3.0.1", + "version": "2.0.4", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/php-text-template.git", - "reference": "0c7b06ff49e3d5072f057eb1fa59258bf287a748" + "reference": "5da5f67fc95621df9ff4c4e5a84d6a8a2acf7c28" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-text-template/zipball/0c7b06ff49e3d5072f057eb1fa59258bf287a748", - "reference": "0c7b06ff49e3d5072f057eb1fa59258bf287a748", + "url": "https://api.github.com/repos/sebastianbergmann/php-text-template/zipball/5da5f67fc95621df9ff4c4e5a84d6a8a2acf7c28", + "reference": "5da5f67fc95621df9ff4c4e5a84d6a8a2acf7c28", "shasum": "" }, "require": { - "php": ">=8.1" + "php": ">=7.3" }, "require-dev": { - "phpunit/phpunit": "^10.0" + "phpunit/phpunit": "^9.3" }, "type": "library", "extra": { "branch-alias": { - "dev-main": "3.0-dev" + "dev-master": "2.0-dev" } }, "autoload": { @@ -3501,8 +2915,7 @@ ], "support": { "issues": "https://github.com/sebastianbergmann/php-text-template/issues", - "security": "https://github.com/sebastianbergmann/php-text-template/security/policy", - "source": "https://github.com/sebastianbergmann/php-text-template/tree/3.0.1" + "source": "https://github.com/sebastianbergmann/php-text-template/tree/2.0.4" }, "funding": [ { @@ -3510,32 +2923,32 @@ "type": "github" } ], - "time": "2023-08-31T14:07:24+00:00" + "time": "2020-10-26T05:33:50+00:00" }, { "name": "phpunit/php-timer", - "version": "6.0.0", + "version": "5.0.3", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/php-timer.git", - "reference": "e2a2d67966e740530f4a3343fe2e030ffdc1161d" + "reference": "5a63ce20ed1b5bf577850e2c4e87f4aa902afbd2" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-timer/zipball/e2a2d67966e740530f4a3343fe2e030ffdc1161d", - "reference": "e2a2d67966e740530f4a3343fe2e030ffdc1161d", + "url": "https://api.github.com/repos/sebastianbergmann/php-timer/zipball/5a63ce20ed1b5bf577850e2c4e87f4aa902afbd2", + "reference": "5a63ce20ed1b5bf577850e2c4e87f4aa902afbd2", "shasum": "" }, "require": { - "php": ">=8.1" + "php": ">=7.3" }, "require-dev": { - "phpunit/phpunit": "^10.0" + "phpunit/phpunit": "^9.3" }, "type": "library", "extra": { "branch-alias": { - "dev-main": "6.0-dev" + "dev-master": "5.0-dev" } }, "autoload": { @@ -3561,7 +2974,7 @@ ], "support": { "issues": "https://github.com/sebastianbergmann/php-timer/issues", - "source": "https://github.com/sebastianbergmann/php-timer/tree/6.0.0" + "source": "https://github.com/sebastianbergmann/php-timer/tree/5.0.3" }, "funding": [ { @@ -3569,23 +2982,24 @@ "type": "github" } ], - "time": "2023-02-03T06:57:52+00:00" + "time": "2020-10-26T13:16:10+00:00" }, { "name": "phpunit/phpunit", - "version": "10.5.9", + "version": "9.6.16", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/phpunit.git", - "reference": "0bd663704f0165c9e76fe4f06ffa6a1ca727fdbe" + "reference": "3767b2c56ce02d01e3491046f33466a1ae60a37f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/0bd663704f0165c9e76fe4f06ffa6a1ca727fdbe", - "reference": "0bd663704f0165c9e76fe4f06ffa6a1ca727fdbe", + "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/3767b2c56ce02d01e3491046f33466a1ae60a37f", + "reference": "3767b2c56ce02d01e3491046f33466a1ae60a37f", "shasum": "" }, "require": { + "doctrine/instantiator": "^1.3.1 || ^2", "ext-dom": "*", "ext-json": "*", "ext-libxml": "*", @@ -3595,26 +3009,27 @@ "myclabs/deep-copy": "^1.10.1", "phar-io/manifest": "^2.0.3", "phar-io/version": "^3.0.2", - "php": ">=8.1", - "phpunit/php-code-coverage": "^10.1.5", - "phpunit/php-file-iterator": "^4.0", - "phpunit/php-invoker": "^4.0", - "phpunit/php-text-template": "^3.0", - "phpunit/php-timer": "^6.0", - "sebastian/cli-parser": "^2.0", - "sebastian/code-unit": "^2.0", - "sebastian/comparator": "^5.0", - "sebastian/diff": "^5.0", - "sebastian/environment": "^6.0", - "sebastian/exporter": "^5.1", - "sebastian/global-state": "^6.0.1", - "sebastian/object-enumerator": "^5.0", - "sebastian/recursion-context": "^5.0", - "sebastian/type": "^4.0", - "sebastian/version": "^4.0" + "php": ">=7.3", + "phpunit/php-code-coverage": "^9.2.28", + "phpunit/php-file-iterator": "^3.0.5", + "phpunit/php-invoker": "^3.1.1", + "phpunit/php-text-template": "^2.0.3", + "phpunit/php-timer": "^5.0.2", + "sebastian/cli-parser": "^1.0.1", + "sebastian/code-unit": "^1.0.6", + "sebastian/comparator": "^4.0.8", + "sebastian/diff": "^4.0.3", + "sebastian/environment": "^5.1.3", + "sebastian/exporter": "^4.0.5", + "sebastian/global-state": "^5.0.1", + "sebastian/object-enumerator": "^4.0.3", + "sebastian/resource-operations": "^3.0.3", + "sebastian/type": "^3.2", + "sebastian/version": "^3.0.2" }, "suggest": { - "ext-soap": "To be able to generate mocks based on WSDL files" + "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" @@ -3622,7 +3037,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "10.5-dev" + "dev-master": "9.6-dev" } }, "autoload": { @@ -3654,7 +3069,7 @@ "support": { "issues": "https://github.com/sebastianbergmann/phpunit/issues", "security": "https://github.com/sebastianbergmann/phpunit/security/policy", - "source": "https://github.com/sebastianbergmann/phpunit/tree/10.5.9" + "source": "https://github.com/sebastianbergmann/phpunit/tree/9.6.16" }, "funding": [ { @@ -3670,7 +3085,7 @@ "type": "tidelift" } ], - "time": "2024-01-22T14:35:40+00:00" + "time": "2024-01-19T07:03:14+00:00" }, { "name": "psalm/plugin-phpunit", @@ -3885,79 +3300,6 @@ }, "time": "2021-07-14T16:46:02+00:00" }, - { - "name": "react/promise", - "version": "v3.1.0", - "source": { - "type": "git", - "url": "https://github.com/reactphp/promise.git", - "reference": "e563d55d1641de1dea9f5e84f3cccc66d2bfe02c" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/reactphp/promise/zipball/e563d55d1641de1dea9f5e84f3cccc66d2bfe02c", - "reference": "e563d55d1641de1dea9f5e84f3cccc66d2bfe02c", - "shasum": "" - }, - "require": { - "php": ">=7.1.0" - }, - "require-dev": { - "phpstan/phpstan": "1.10.39 || 1.4.10", - "phpunit/phpunit": "^9.6 || ^7.5" - }, - "type": "library", - "autoload": { - "files": [ - "src/functions_include.php" - ], - "psr-4": { - "React\\Promise\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Jan Sorgalla", - "email": "jsorgalla@gmail.com", - "homepage": "https://sorgalla.com/" - }, - { - "name": "Christian Lück", - "email": "christian@clue.engineering", - "homepage": "https://clue.engineering/" - }, - { - "name": "Cees-Jan Kiewiet", - "email": "reactphp@ceesjankiewiet.nl", - "homepage": "https://wyrihaximus.net/" - }, - { - "name": "Chris Boden", - "email": "cboden@gmail.com", - "homepage": "https://cboden.dev/" - } - ], - "description": "A lightweight implementation of CommonJS Promises/A for PHP", - "keywords": [ - "promise", - "promises" - ], - "support": { - "issues": "https://github.com/reactphp/promise/issues", - "source": "https://github.com/reactphp/promise/tree/v3.1.0" - }, - "funding": [ - { - "url": "https://opencollective.com/reactphp", - "type": "open_collective" - } - ], - "time": "2023-11-16T16:21:57+00:00" - }, { "name": "rector/rector", "version": "0.19.4", @@ -3984,289 +3326,35 @@ }, "bin": [ "bin/rector" - ], - "type": "library", - "autoload": { - "files": [ - "bootstrap.php" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "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.19.4" - }, - "funding": [ - { - "url": "https://github.com/tomasvotruba", - "type": "github" - } - ], - "time": "2024-01-29T21:18:03+00:00" - }, - { - "name": "revolt/event-loop", - "version": "v1.0.6", - "source": { - "type": "git", - "url": "https://github.com/revoltphp/event-loop.git", - "reference": "25de49af7223ba039f64da4ae9a28ec2d10d0254" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/revoltphp/event-loop/zipball/25de49af7223ba039f64da4ae9a28ec2d10d0254", - "reference": "25de49af7223ba039f64da4ae9a28ec2d10d0254", - "shasum": "" - }, - "require": { - "php": ">=8.1" - }, - "require-dev": { - "ext-json": "*", - "jetbrains/phpstorm-stubs": "^2019.3", - "phpunit/phpunit": "^9", - "psalm/phar": "^5.15" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-main": "1.x-dev" - } - }, - "autoload": { - "psr-4": { - "Revolt\\": "src" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Aaron Piotrowski", - "email": "aaron@trowski.com" - }, - { - "name": "Cees-Jan Kiewiet", - "email": "ceesjank@gmail.com" - }, - { - "name": "Christian Lück", - "email": "christian@clue.engineering" - }, - { - "name": "Niklas Keller", - "email": "me@kelunik.com" - } - ], - "description": "Rock-solid event loop for concurrent PHP applications.", - "keywords": [ - "async", - "asynchronous", - "concurrency", - "event", - "event-loop", - "non-blocking", - "scheduler" - ], - "support": { - "issues": "https://github.com/revoltphp/event-loop/issues", - "source": "https://github.com/revoltphp/event-loop/tree/v1.0.6" - }, - "time": "2023-11-30T05:34:44+00:00" - }, - { - "name": "roave/backward-compatibility-check", - "version": "8.6.0", - "source": { - "type": "git", - "url": "https://github.com/Roave/BackwardCompatibilityCheck.git", - "reference": "5e533114a996f73a7551846c06c59a80185f4d16" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/Roave/BackwardCompatibilityCheck/zipball/5e533114a996f73a7551846c06c59a80185f4d16", - "reference": "5e533114a996f73a7551846c06c59a80185f4d16", - "shasum": "" - }, - "require": { - "azjezz/psl": "^2.3.1", - "composer/composer": "^2.6.4", - "nikic/php-parser": "^4.15.3", - "nikolaposa/version": "^4.1.0", - "ocramius/package-versions": "^2.7.0", - "php": "~8.1.0 || ~8.2.0 || ~8.3.0", - "roave/better-reflection": "^6.5.0", - "symfony/console": "^6.2.3" - }, - "conflict": { - "revolt/event-loop": "<0.2.5", - "symfony/process": "<5.3.7" - }, - "require-dev": { - "doctrine/coding-standard": "^12.0.0", - "php-standard-library/psalm-plugin": "^2.2.1", - "phpunit/phpunit": "^9.5.27", - "psalm/plugin-phpunit": "^0.18.4", - "roave/infection-static-analysis-plugin": "^1.27.0", - "roave/security-advisories": "dev-master", - "squizlabs/php_codesniffer": "^3.7.1", - "vimeo/psalm": "^5.4.0" - }, - "bin": [ - "bin/roave-backward-compatibility-check" - ], - "type": "library", - "autoload": { - "psr-4": { - "Roave\\BackwardCompatibility\\": "src" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "James Titcumb", - "email": "james@asgrim.com" - }, - { - "name": "Marco Pivetta", - "email": "ocramius@gmail.com" - } - ], - "description": "Tool to compare two revisions of a public API to check for BC breaks", - "support": { - "issues": "https://github.com/Roave/BackwardCompatibilityCheck/issues", - "source": "https://github.com/Roave/BackwardCompatibilityCheck/tree/8.6.0" - }, - "time": "2023-12-20T14:01:33+00:00" - }, - { - "name": "roave/better-reflection", - "version": "6.20.0", - "source": { - "type": "git", - "url": "https://github.com/Roave/BetterReflection.git", - "reference": "a1fcefb03ced1e8f3a5be4d92e23bb9e95f51bca" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/Roave/BetterReflection/zipball/a1fcefb03ced1e8f3a5be4d92e23bb9e95f51bca", - "reference": "a1fcefb03ced1e8f3a5be4d92e23bb9e95f51bca", - "shasum": "" - }, - "require": { - "ext-json": "*", - "jetbrains/phpstorm-stubs": "2023.3", - "nikic/php-parser": "^4.18.0", - "php": "~8.1.0 || ~8.2.0 || ~8.3.0", - "roave/signature": "^1.8.0" - }, - "conflict": { - "thecodingmachine/safe": "<1.1.3" - }, - "require-dev": { - "doctrine/coding-standard": "^12.0.0", - "phpstan/phpstan": "^1.10.50", - "phpstan/phpstan-phpunit": "^1.3.15", - "phpunit/phpunit": "^10.5.3", - "roave/infection-static-analysis-plugin": "^1.34.0", - "vimeo/psalm": "5.17.0" - }, - "suggest": { - "composer/composer": "Required to use the ComposerSourceLocator" - }, - "type": "library", - "autoload": { - "psr-4": { - "Roave\\BetterReflection\\": "src" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "James Titcumb", - "email": "james@asgrim.com", - "homepage": "https://github.com/asgrim" - }, - { - "name": "Marco Pivetta", - "email": "ocramius@gmail.com", - "homepage": "https://ocramius.github.io/" - }, - { - "name": "Gary Hockin", - "email": "gary@roave.com", - "homepage": "https://github.com/geeh" - }, - { - "name": "Jaroslav Hanslík", - "email": "kukulich@kukulich.cz", - "homepage": "https://github.com/kukulich" - } - ], - "description": "Better Reflection - an improved code reflection API", - "support": { - "issues": "https://github.com/Roave/BetterReflection/issues", - "source": "https://github.com/Roave/BetterReflection/tree/6.20.0" - }, - "time": "2023-12-16T12:01:31+00:00" - }, - { - "name": "roave/signature", - "version": "1.8.0", - "source": { - "type": "git", - "url": "https://github.com/Roave/Signature.git", - "reference": "f92ce20f82c9a1df3b50fc56fbdaeb82cf4c9c5b" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/Roave/Signature/zipball/f92ce20f82c9a1df3b50fc56fbdaeb82cf4c9c5b", - "reference": "f92ce20f82c9a1df3b50fc56fbdaeb82cf4c9c5b", - "shasum": "" - }, - "require": { - "php": "~8.0.0 || ~8.1.0 || ~8.2.0 || ~8.3.0" - }, - "require-dev": { - "doctrine/coding-standard": "^12.0.0", - "infection/infection": "^0.26.19", - "phpunit/phpunit": "^9.6.7", - "vimeo/psalm": "^5.9.0" - }, + ], "type": "library", "autoload": { - "psr-4": { - "Roave\\Signature\\": "src" - } + "files": [ + "bootstrap.php" + ] }, "notification-url": "https://packagist.org/downloads/", "license": [ "MIT" ], - "description": "Sign and verify stuff", + "description": "Instant Upgrade and Automated Refactoring of any PHP code", + "keywords": [ + "automation", + "dev", + "migration", + "refactoring" + ], "support": { - "issues": "https://github.com/Roave/Signature/issues", - "source": "https://github.com/Roave/Signature/tree/1.8.0" + "issues": "https://github.com/rectorphp/rector/issues", + "source": "https://github.com/rectorphp/rector/tree/0.19.4" }, - "time": "2023-11-25T00:11:29+00:00" + "funding": [ + { + "url": "https://github.com/tomasvotruba", + "type": "github" + } + ], + "time": "2024-01-29T21:18:03+00:00" }, { "name": "sanmai/later", @@ -4399,28 +3487,28 @@ }, { "name": "sebastian/cli-parser", - "version": "2.0.0", + "version": "1.0.1", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/cli-parser.git", - "reference": "efdc130dbbbb8ef0b545a994fd811725c5282cae" + "reference": "442e7c7e687e42adc03470c7b668bc4b2402c0b2" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/cli-parser/zipball/efdc130dbbbb8ef0b545a994fd811725c5282cae", - "reference": "efdc130dbbbb8ef0b545a994fd811725c5282cae", + "url": "https://api.github.com/repos/sebastianbergmann/cli-parser/zipball/442e7c7e687e42adc03470c7b668bc4b2402c0b2", + "reference": "442e7c7e687e42adc03470c7b668bc4b2402c0b2", "shasum": "" }, "require": { - "php": ">=8.1" + "php": ">=7.3" }, "require-dev": { - "phpunit/phpunit": "^10.0" + "phpunit/phpunit": "^9.3" }, "type": "library", "extra": { "branch-alias": { - "dev-main": "2.0-dev" + "dev-master": "1.0-dev" } }, "autoload": { @@ -4443,7 +3531,7 @@ "homepage": "https://github.com/sebastianbergmann/cli-parser", "support": { "issues": "https://github.com/sebastianbergmann/cli-parser/issues", - "source": "https://github.com/sebastianbergmann/cli-parser/tree/2.0.0" + "source": "https://github.com/sebastianbergmann/cli-parser/tree/1.0.1" }, "funding": [ { @@ -4451,32 +3539,32 @@ "type": "github" } ], - "time": "2023-02-03T06:58:15+00:00" + "time": "2020-09-28T06:08:49+00:00" }, { "name": "sebastian/code-unit", - "version": "2.0.0", + "version": "1.0.8", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/code-unit.git", - "reference": "a81fee9eef0b7a76af11d121767abc44c104e503" + "reference": "1fc9f64c0927627ef78ba436c9b17d967e68e120" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/code-unit/zipball/a81fee9eef0b7a76af11d121767abc44c104e503", - "reference": "a81fee9eef0b7a76af11d121767abc44c104e503", + "url": "https://api.github.com/repos/sebastianbergmann/code-unit/zipball/1fc9f64c0927627ef78ba436c9b17d967e68e120", + "reference": "1fc9f64c0927627ef78ba436c9b17d967e68e120", "shasum": "" }, "require": { - "php": ">=8.1" + "php": ">=7.3" }, "require-dev": { - "phpunit/phpunit": "^10.0" + "phpunit/phpunit": "^9.3" }, "type": "library", "extra": { "branch-alias": { - "dev-main": "2.0-dev" + "dev-master": "1.0-dev" } }, "autoload": { @@ -4499,7 +3587,7 @@ "homepage": "https://github.com/sebastianbergmann/code-unit", "support": { "issues": "https://github.com/sebastianbergmann/code-unit/issues", - "source": "https://github.com/sebastianbergmann/code-unit/tree/2.0.0" + "source": "https://github.com/sebastianbergmann/code-unit/tree/1.0.8" }, "funding": [ { @@ -4507,32 +3595,32 @@ "type": "github" } ], - "time": "2023-02-03T06:58:43+00:00" + "time": "2020-10-26T13:08:54+00:00" }, { "name": "sebastian/code-unit-reverse-lookup", - "version": "3.0.0", + "version": "2.0.3", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/code-unit-reverse-lookup.git", - "reference": "5e3a687f7d8ae33fb362c5c0743794bbb2420a1d" + "reference": "ac91f01ccec49fb77bdc6fd1e548bc70f7faa3e5" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/code-unit-reverse-lookup/zipball/5e3a687f7d8ae33fb362c5c0743794bbb2420a1d", - "reference": "5e3a687f7d8ae33fb362c5c0743794bbb2420a1d", + "url": "https://api.github.com/repos/sebastianbergmann/code-unit-reverse-lookup/zipball/ac91f01ccec49fb77bdc6fd1e548bc70f7faa3e5", + "reference": "ac91f01ccec49fb77bdc6fd1e548bc70f7faa3e5", "shasum": "" }, "require": { - "php": ">=8.1" + "php": ">=7.3" }, "require-dev": { - "phpunit/phpunit": "^10.0" + "phpunit/phpunit": "^9.3" }, "type": "library", "extra": { "branch-alias": { - "dev-main": "3.0-dev" + "dev-master": "2.0-dev" } }, "autoload": { @@ -4554,7 +3642,7 @@ "homepage": "https://github.com/sebastianbergmann/code-unit-reverse-lookup/", "support": { "issues": "https://github.com/sebastianbergmann/code-unit-reverse-lookup/issues", - "source": "https://github.com/sebastianbergmann/code-unit-reverse-lookup/tree/3.0.0" + "source": "https://github.com/sebastianbergmann/code-unit-reverse-lookup/tree/2.0.3" }, "funding": [ { @@ -4562,36 +3650,34 @@ "type": "github" } ], - "time": "2023-02-03T06:59:15+00:00" + "time": "2020-09-28T05:30:19+00:00" }, { "name": "sebastian/comparator", - "version": "5.0.1", + "version": "4.0.8", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/comparator.git", - "reference": "2db5010a484d53ebf536087a70b4a5423c102372" + "reference": "fa0f136dd2334583309d32b62544682ee972b51a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/comparator/zipball/2db5010a484d53ebf536087a70b4a5423c102372", - "reference": "2db5010a484d53ebf536087a70b4a5423c102372", + "url": "https://api.github.com/repos/sebastianbergmann/comparator/zipball/fa0f136dd2334583309d32b62544682ee972b51a", + "reference": "fa0f136dd2334583309d32b62544682ee972b51a", "shasum": "" }, "require": { - "ext-dom": "*", - "ext-mbstring": "*", - "php": ">=8.1", - "sebastian/diff": "^5.0", - "sebastian/exporter": "^5.0" + "php": ">=7.3", + "sebastian/diff": "^4.0", + "sebastian/exporter": "^4.0" }, "require-dev": { - "phpunit/phpunit": "^10.3" + "phpunit/phpunit": "^9.3" }, "type": "library", "extra": { "branch-alias": { - "dev-main": "5.0-dev" + "dev-master": "4.0-dev" } }, "autoload": { @@ -4630,8 +3716,7 @@ ], "support": { "issues": "https://github.com/sebastianbergmann/comparator/issues", - "security": "https://github.com/sebastianbergmann/comparator/security/policy", - "source": "https://github.com/sebastianbergmann/comparator/tree/5.0.1" + "source": "https://github.com/sebastianbergmann/comparator/tree/4.0.8" }, "funding": [ { @@ -4639,33 +3724,33 @@ "type": "github" } ], - "time": "2023-08-14T13:18:12+00:00" + "time": "2022-09-14T12:41:17+00:00" }, { "name": "sebastian/complexity", - "version": "3.2.0", + "version": "2.0.3", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/complexity.git", - "reference": "68ff824baeae169ec9f2137158ee529584553799" + "reference": "25f207c40d62b8b7aa32f5ab026c53561964053a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/complexity/zipball/68ff824baeae169ec9f2137158ee529584553799", - "reference": "68ff824baeae169ec9f2137158ee529584553799", + "url": "https://api.github.com/repos/sebastianbergmann/complexity/zipball/25f207c40d62b8b7aa32f5ab026c53561964053a", + "reference": "25f207c40d62b8b7aa32f5ab026c53561964053a", "shasum": "" }, "require": { "nikic/php-parser": "^4.18 || ^5.0", - "php": ">=8.1" + "php": ">=7.3" }, "require-dev": { - "phpunit/phpunit": "^10.0" + "phpunit/phpunit": "^9.3" }, "type": "library", "extra": { "branch-alias": { - "dev-main": "3.2-dev" + "dev-master": "2.0-dev" } }, "autoload": { @@ -4688,8 +3773,7 @@ "homepage": "https://github.com/sebastianbergmann/complexity", "support": { "issues": "https://github.com/sebastianbergmann/complexity/issues", - "security": "https://github.com/sebastianbergmann/complexity/security/policy", - "source": "https://github.com/sebastianbergmann/complexity/tree/3.2.0" + "source": "https://github.com/sebastianbergmann/complexity/tree/2.0.3" }, "funding": [ { @@ -4697,33 +3781,33 @@ "type": "github" } ], - "time": "2023-12-21T08:37:17+00:00" + "time": "2023-12-22T06:19:30+00:00" }, { "name": "sebastian/diff", - "version": "5.1.0", + "version": "4.0.5", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/diff.git", - "reference": "fbf413a49e54f6b9b17e12d900ac7f6101591b7f" + "reference": "74be17022044ebaaecfdf0c5cd504fc9cd5a7131" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/diff/zipball/fbf413a49e54f6b9b17e12d900ac7f6101591b7f", - "reference": "fbf413a49e54f6b9b17e12d900ac7f6101591b7f", + "url": "https://api.github.com/repos/sebastianbergmann/diff/zipball/74be17022044ebaaecfdf0c5cd504fc9cd5a7131", + "reference": "74be17022044ebaaecfdf0c5cd504fc9cd5a7131", "shasum": "" }, "require": { - "php": ">=8.1" + "php": ">=7.3" }, "require-dev": { - "phpunit/phpunit": "^10.0", + "phpunit/phpunit": "^9.3", "symfony/process": "^4.2 || ^5" }, "type": "library", "extra": { "branch-alias": { - "dev-main": "5.1-dev" + "dev-master": "4.0-dev" } }, "autoload": { @@ -4755,8 +3839,7 @@ ], "support": { "issues": "https://github.com/sebastianbergmann/diff/issues", - "security": "https://github.com/sebastianbergmann/diff/security/policy", - "source": "https://github.com/sebastianbergmann/diff/tree/5.1.0" + "source": "https://github.com/sebastianbergmann/diff/tree/4.0.5" }, "funding": [ { @@ -4764,27 +3847,27 @@ "type": "github" } ], - "time": "2023-12-22T10:55:06+00:00" + "time": "2023-05-07T05:35:17+00:00" }, { "name": "sebastian/environment", - "version": "6.0.1", + "version": "5.1.5", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/environment.git", - "reference": "43c751b41d74f96cbbd4e07b7aec9675651e2951" + "reference": "830c43a844f1f8d5b7a1f6d6076b784454d8b7ed" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/environment/zipball/43c751b41d74f96cbbd4e07b7aec9675651e2951", - "reference": "43c751b41d74f96cbbd4e07b7aec9675651e2951", + "url": "https://api.github.com/repos/sebastianbergmann/environment/zipball/830c43a844f1f8d5b7a1f6d6076b784454d8b7ed", + "reference": "830c43a844f1f8d5b7a1f6d6076b784454d8b7ed", "shasum": "" }, "require": { - "php": ">=8.1" + "php": ">=7.3" }, "require-dev": { - "phpunit/phpunit": "^10.0" + "phpunit/phpunit": "^9.3" }, "suggest": { "ext-posix": "*" @@ -4792,7 +3875,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "6.0-dev" + "dev-master": "5.1-dev" } }, "autoload": { @@ -4811,7 +3894,7 @@ } ], "description": "Provides functionality to handle HHVM/PHP environments", - "homepage": "https://github.com/sebastianbergmann/environment", + "homepage": "http://www.github.com/sebastianbergmann/environment", "keywords": [ "Xdebug", "environment", @@ -4819,8 +3902,7 @@ ], "support": { "issues": "https://github.com/sebastianbergmann/environment/issues", - "security": "https://github.com/sebastianbergmann/environment/security/policy", - "source": "https://github.com/sebastianbergmann/environment/tree/6.0.1" + "source": "https://github.com/sebastianbergmann/environment/tree/5.1.5" }, "funding": [ { @@ -4828,34 +3910,34 @@ "type": "github" } ], - "time": "2023-04-11T05:39:26+00:00" + "time": "2023-02-03T06:03:51+00:00" }, { "name": "sebastian/exporter", - "version": "5.1.1", + "version": "4.0.5", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/exporter.git", - "reference": "64f51654862e0f5e318db7e9dcc2292c63cdbddc" + "reference": "ac230ed27f0f98f597c8a2b6eb7ac563af5e5b9d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/exporter/zipball/64f51654862e0f5e318db7e9dcc2292c63cdbddc", - "reference": "64f51654862e0f5e318db7e9dcc2292c63cdbddc", + "url": "https://api.github.com/repos/sebastianbergmann/exporter/zipball/ac230ed27f0f98f597c8a2b6eb7ac563af5e5b9d", + "reference": "ac230ed27f0f98f597c8a2b6eb7ac563af5e5b9d", "shasum": "" }, "require": { - "ext-mbstring": "*", - "php": ">=8.1", - "sebastian/recursion-context": "^5.0" + "php": ">=7.3", + "sebastian/recursion-context": "^4.0" }, "require-dev": { - "phpunit/phpunit": "^10.0" + "ext-mbstring": "*", + "phpunit/phpunit": "^9.3" }, "type": "library", "extra": { "branch-alias": { - "dev-main": "5.1-dev" + "dev-master": "4.0-dev" } }, "autoload": { @@ -4897,8 +3979,7 @@ ], "support": { "issues": "https://github.com/sebastianbergmann/exporter/issues", - "security": "https://github.com/sebastianbergmann/exporter/security/policy", - "source": "https://github.com/sebastianbergmann/exporter/tree/5.1.1" + "source": "https://github.com/sebastianbergmann/exporter/tree/4.0.5" }, "funding": [ { @@ -4906,35 +3987,38 @@ "type": "github" } ], - "time": "2023-09-24T13:22:09+00:00" + "time": "2022-09-14T06:03:37+00:00" }, { "name": "sebastian/global-state", - "version": "6.0.1", + "version": "5.0.6", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/global-state.git", - "reference": "7ea9ead78f6d380d2a667864c132c2f7b83055e4" + "reference": "bde739e7565280bda77be70044ac1047bc007e34" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/global-state/zipball/7ea9ead78f6d380d2a667864c132c2f7b83055e4", - "reference": "7ea9ead78f6d380d2a667864c132c2f7b83055e4", + "url": "https://api.github.com/repos/sebastianbergmann/global-state/zipball/bde739e7565280bda77be70044ac1047bc007e34", + "reference": "bde739e7565280bda77be70044ac1047bc007e34", "shasum": "" }, "require": { - "php": ">=8.1", - "sebastian/object-reflector": "^3.0", - "sebastian/recursion-context": "^5.0" + "php": ">=7.3", + "sebastian/object-reflector": "^2.0", + "sebastian/recursion-context": "^4.0" }, "require-dev": { "ext-dom": "*", - "phpunit/phpunit": "^10.0" + "phpunit/phpunit": "^9.3" + }, + "suggest": { + "ext-uopz": "*" }, "type": "library", "extra": { "branch-alias": { - "dev-main": "6.0-dev" + "dev-master": "5.0-dev" } }, "autoload": { @@ -4959,8 +4043,7 @@ ], "support": { "issues": "https://github.com/sebastianbergmann/global-state/issues", - "security": "https://github.com/sebastianbergmann/global-state/security/policy", - "source": "https://github.com/sebastianbergmann/global-state/tree/6.0.1" + "source": "https://github.com/sebastianbergmann/global-state/tree/5.0.6" }, "funding": [ { @@ -4968,33 +4051,33 @@ "type": "github" } ], - "time": "2023-07-19T07:19:23+00:00" + "time": "2023-08-02T09:26:13+00:00" }, { "name": "sebastian/lines-of-code", - "version": "2.0.2", + "version": "1.0.4", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/lines-of-code.git", - "reference": "856e7f6a75a84e339195d48c556f23be2ebf75d0" + "reference": "e1e4a170560925c26d424b6a03aed157e7dcc5c5" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/lines-of-code/zipball/856e7f6a75a84e339195d48c556f23be2ebf75d0", - "reference": "856e7f6a75a84e339195d48c556f23be2ebf75d0", + "url": "https://api.github.com/repos/sebastianbergmann/lines-of-code/zipball/e1e4a170560925c26d424b6a03aed157e7dcc5c5", + "reference": "e1e4a170560925c26d424b6a03aed157e7dcc5c5", "shasum": "" }, "require": { "nikic/php-parser": "^4.18 || ^5.0", - "php": ">=8.1" + "php": ">=7.3" }, "require-dev": { - "phpunit/phpunit": "^10.0" + "phpunit/phpunit": "^9.3" }, "type": "library", "extra": { "branch-alias": { - "dev-main": "2.0-dev" + "dev-master": "1.0-dev" } }, "autoload": { @@ -5017,8 +4100,7 @@ "homepage": "https://github.com/sebastianbergmann/lines-of-code", "support": { "issues": "https://github.com/sebastianbergmann/lines-of-code/issues", - "security": "https://github.com/sebastianbergmann/lines-of-code/security/policy", - "source": "https://github.com/sebastianbergmann/lines-of-code/tree/2.0.2" + "source": "https://github.com/sebastianbergmann/lines-of-code/tree/1.0.4" }, "funding": [ { @@ -5026,34 +4108,34 @@ "type": "github" } ], - "time": "2023-12-21T08:38:20+00:00" + "time": "2023-12-22T06:20:34+00:00" }, { "name": "sebastian/object-enumerator", - "version": "5.0.0", + "version": "4.0.4", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/object-enumerator.git", - "reference": "202d0e344a580d7f7d04b3fafce6933e59dae906" + "reference": "5c9eeac41b290a3712d88851518825ad78f45c71" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/object-enumerator/zipball/202d0e344a580d7f7d04b3fafce6933e59dae906", - "reference": "202d0e344a580d7f7d04b3fafce6933e59dae906", + "url": "https://api.github.com/repos/sebastianbergmann/object-enumerator/zipball/5c9eeac41b290a3712d88851518825ad78f45c71", + "reference": "5c9eeac41b290a3712d88851518825ad78f45c71", "shasum": "" }, "require": { - "php": ">=8.1", - "sebastian/object-reflector": "^3.0", - "sebastian/recursion-context": "^5.0" + "php": ">=7.3", + "sebastian/object-reflector": "^2.0", + "sebastian/recursion-context": "^4.0" }, "require-dev": { - "phpunit/phpunit": "^10.0" + "phpunit/phpunit": "^9.3" }, "type": "library", "extra": { "branch-alias": { - "dev-main": "5.0-dev" + "dev-master": "4.0-dev" } }, "autoload": { @@ -5075,7 +4157,7 @@ "homepage": "https://github.com/sebastianbergmann/object-enumerator/", "support": { "issues": "https://github.com/sebastianbergmann/object-enumerator/issues", - "source": "https://github.com/sebastianbergmann/object-enumerator/tree/5.0.0" + "source": "https://github.com/sebastianbergmann/object-enumerator/tree/4.0.4" }, "funding": [ { @@ -5083,32 +4165,32 @@ "type": "github" } ], - "time": "2023-02-03T07:08:32+00:00" + "time": "2020-10-26T13:12:34+00:00" }, { "name": "sebastian/object-reflector", - "version": "3.0.0", + "version": "2.0.4", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/object-reflector.git", - "reference": "24ed13d98130f0e7122df55d06c5c4942a577957" + "reference": "b4f479ebdbf63ac605d183ece17d8d7fe49c15c7" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/object-reflector/zipball/24ed13d98130f0e7122df55d06c5c4942a577957", - "reference": "24ed13d98130f0e7122df55d06c5c4942a577957", + "url": "https://api.github.com/repos/sebastianbergmann/object-reflector/zipball/b4f479ebdbf63ac605d183ece17d8d7fe49c15c7", + "reference": "b4f479ebdbf63ac605d183ece17d8d7fe49c15c7", "shasum": "" }, "require": { - "php": ">=8.1" + "php": ">=7.3" }, "require-dev": { - "phpunit/phpunit": "^10.0" + "phpunit/phpunit": "^9.3" }, "type": "library", "extra": { "branch-alias": { - "dev-main": "3.0-dev" + "dev-master": "2.0-dev" } }, "autoload": { @@ -5130,7 +4212,7 @@ "homepage": "https://github.com/sebastianbergmann/object-reflector/", "support": { "issues": "https://github.com/sebastianbergmann/object-reflector/issues", - "source": "https://github.com/sebastianbergmann/object-reflector/tree/3.0.0" + "source": "https://github.com/sebastianbergmann/object-reflector/tree/2.0.4" }, "funding": [ { @@ -5138,32 +4220,32 @@ "type": "github" } ], - "time": "2023-02-03T07:06:18+00:00" + "time": "2020-10-26T13:14:26+00:00" }, { "name": "sebastian/recursion-context", - "version": "5.0.0", + "version": "4.0.5", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/recursion-context.git", - "reference": "05909fb5bc7df4c52992396d0116aed689f93712" + "reference": "e75bd0f07204fec2a0af9b0f3cfe97d05f92efc1" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/recursion-context/zipball/05909fb5bc7df4c52992396d0116aed689f93712", - "reference": "05909fb5bc7df4c52992396d0116aed689f93712", + "url": "https://api.github.com/repos/sebastianbergmann/recursion-context/zipball/e75bd0f07204fec2a0af9b0f3cfe97d05f92efc1", + "reference": "e75bd0f07204fec2a0af9b0f3cfe97d05f92efc1", "shasum": "" }, "require": { - "php": ">=8.1" + "php": ">=7.3" }, "require-dev": { - "phpunit/phpunit": "^10.0" + "phpunit/phpunit": "^9.3" }, "type": "library", "extra": { "branch-alias": { - "dev-main": "5.0-dev" + "dev-master": "4.0-dev" } }, "autoload": { @@ -5193,7 +4275,7 @@ "homepage": "https://github.com/sebastianbergmann/recursion-context", "support": { "issues": "https://github.com/sebastianbergmann/recursion-context/issues", - "source": "https://github.com/sebastianbergmann/recursion-context/tree/5.0.0" + "source": "https://github.com/sebastianbergmann/recursion-context/tree/4.0.5" }, "funding": [ { @@ -5201,32 +4283,32 @@ "type": "github" } ], - "time": "2023-02-03T07:05:40+00:00" + "time": "2023-02-03T06:07:39+00:00" }, { - "name": "sebastian/type", - "version": "4.0.0", + "name": "sebastian/resource-operations", + "version": "3.0.3", "source": { "type": "git", - "url": "https://github.com/sebastianbergmann/type.git", - "reference": "462699a16464c3944eefc02ebdd77882bd3925bf" + "url": "https://github.com/sebastianbergmann/resource-operations.git", + "reference": "0f4443cb3a1d92ce809899753bc0d5d5a8dd19a8" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/type/zipball/462699a16464c3944eefc02ebdd77882bd3925bf", - "reference": "462699a16464c3944eefc02ebdd77882bd3925bf", + "url": "https://api.github.com/repos/sebastianbergmann/resource-operations/zipball/0f4443cb3a1d92ce809899753bc0d5d5a8dd19a8", + "reference": "0f4443cb3a1d92ce809899753bc0d5d5a8dd19a8", "shasum": "" }, "require": { - "php": ">=8.1" + "php": ">=7.3" }, "require-dev": { - "phpunit/phpunit": "^10.0" + "phpunit/phpunit": "^9.0" }, "type": "library", "extra": { "branch-alias": { - "dev-main": "4.0-dev" + "dev-master": "3.0-dev" } }, "autoload": { @@ -5241,15 +4323,14 @@ "authors": [ { "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de", - "role": "lead" + "email": "sebastian@phpunit.de" } ], - "description": "Collection of value objects that represent the types of the PHP type system", - "homepage": "https://github.com/sebastianbergmann/type", + "description": "Provides a list of PHP built-in functions that operate on resources", + "homepage": "https://www.github.com/sebastianbergmann/resource-operations", "support": { - "issues": "https://github.com/sebastianbergmann/type/issues", - "source": "https://github.com/sebastianbergmann/type/tree/4.0.0" + "issues": "https://github.com/sebastianbergmann/resource-operations/issues", + "source": "https://github.com/sebastianbergmann/resource-operations/tree/3.0.3" }, "funding": [ { @@ -5257,29 +4338,32 @@ "type": "github" } ], - "time": "2023-02-03T07:10:45+00:00" + "time": "2020-09-28T06:45:17+00:00" }, { - "name": "sebastian/version", - "version": "4.0.1", + "name": "sebastian/type", + "version": "3.2.1", "source": { "type": "git", - "url": "https://github.com/sebastianbergmann/version.git", - "reference": "c51fa83a5d8f43f1402e3f32a005e6262244ef17" + "url": "https://github.com/sebastianbergmann/type.git", + "reference": "75e2c2a32f5e0b3aef905b9ed0b179b953b3d7c7" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/version/zipball/c51fa83a5d8f43f1402e3f32a005e6262244ef17", - "reference": "c51fa83a5d8f43f1402e3f32a005e6262244ef17", + "url": "https://api.github.com/repos/sebastianbergmann/type/zipball/75e2c2a32f5e0b3aef905b9ed0b179b953b3d7c7", + "reference": "75e2c2a32f5e0b3aef905b9ed0b179b953b3d7c7", "shasum": "" }, "require": { - "php": ">=8.1" + "php": ">=7.3" + }, + "require-dev": { + "phpunit/phpunit": "^9.5" }, "type": "library", "extra": { "branch-alias": { - "dev-main": "4.0-dev" + "dev-master": "3.2-dev" } }, "autoload": { @@ -5298,11 +4382,11 @@ "role": "lead" } ], - "description": "Library that helps with managing the version number of Git-hosted PHP projects", - "homepage": "https://github.com/sebastianbergmann/version", + "description": "Collection of value objects that represent the types of the PHP type system", + "homepage": "https://github.com/sebastianbergmann/type", "support": { - "issues": "https://github.com/sebastianbergmann/version/issues", - "source": "https://github.com/sebastianbergmann/version/tree/4.0.1" + "issues": "https://github.com/sebastianbergmann/type/issues", + "source": "https://github.com/sebastianbergmann/type/tree/3.2.1" }, "funding": [ { @@ -5310,180 +4394,60 @@ "type": "github" } ], - "time": "2023-02-07T11:34:05+00:00" - }, - { - "name": "seld/jsonlint", - "version": "1.10.1", - "source": { - "type": "git", - "url": "https://github.com/Seldaek/jsonlint.git", - "reference": "76d449a358ece77d6f1d6331c68453e657172202" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/Seldaek/jsonlint/zipball/76d449a358ece77d6f1d6331c68453e657172202", - "reference": "76d449a358ece77d6f1d6331c68453e657172202", - "shasum": "" - }, - "require": { - "php": "^5.3 || ^7.0 || ^8.0" - }, - "require-dev": { - "phpstan/phpstan": "^1.5", - "phpunit/phpunit": "^4.8.35 || ^5.7 || ^6.0 || ^8.5.13" - }, - "bin": [ - "bin/jsonlint" - ], - "type": "library", - "autoload": { - "psr-4": { - "Seld\\JsonLint\\": "src/Seld/JsonLint/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Jordi Boggiano", - "email": "j.boggiano@seld.be", - "homepage": "https://seld.be" - } - ], - "description": "JSON Linter", - "keywords": [ - "json", - "linter", - "parser", - "validator" - ], - "support": { - "issues": "https://github.com/Seldaek/jsonlint/issues", - "source": "https://github.com/Seldaek/jsonlint/tree/1.10.1" - }, - "funding": [ - { - "url": "https://github.com/Seldaek", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/seld/jsonlint", - "type": "tidelift" - } - ], - "time": "2023-12-18T13:03:25+00:00" + "time": "2023-02-03T06:13:03+00:00" }, { - "name": "seld/phar-utils", - "version": "1.2.1", + "name": "sebastian/version", + "version": "3.0.2", "source": { "type": "git", - "url": "https://github.com/Seldaek/phar-utils.git", - "reference": "ea2f4014f163c1be4c601b9b7bd6af81ba8d701c" + "url": "https://github.com/sebastianbergmann/version.git", + "reference": "c6c1022351a901512170118436c764e473f6de8c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/Seldaek/phar-utils/zipball/ea2f4014f163c1be4c601b9b7bd6af81ba8d701c", - "reference": "ea2f4014f163c1be4c601b9b7bd6af81ba8d701c", + "url": "https://api.github.com/repos/sebastianbergmann/version/zipball/c6c1022351a901512170118436c764e473f6de8c", + "reference": "c6c1022351a901512170118436c764e473f6de8c", "shasum": "" }, "require": { - "php": ">=5.3" + "php": ">=7.3" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "1.x-dev" + "dev-master": "3.0-dev" } }, "autoload": { - "psr-4": { - "Seld\\PharUtils\\": "src/" - } + "classmap": [ + "src/" + ] }, "notification-url": "https://packagist.org/downloads/", "license": [ - "MIT" + "BSD-3-Clause" ], "authors": [ { - "name": "Jordi Boggiano", - "email": "j.boggiano@seld.be" + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de", + "role": "lead" } ], - "description": "PHAR file format utilities, for when PHP phars you up", - "keywords": [ - "phar" - ], + "description": "Library that helps with managing the version number of Git-hosted PHP projects", + "homepage": "https://github.com/sebastianbergmann/version", "support": { - "issues": "https://github.com/Seldaek/phar-utils/issues", - "source": "https://github.com/Seldaek/phar-utils/tree/1.2.1" - }, - "time": "2022-08-31T10:31:18+00:00" - }, - { - "name": "seld/signal-handler", - "version": "2.0.2", - "source": { - "type": "git", - "url": "https://github.com/Seldaek/signal-handler.git", - "reference": "04a6112e883ad76c0ada8e4a9f7520bbfdb6bb98" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/Seldaek/signal-handler/zipball/04a6112e883ad76c0ada8e4a9f7520bbfdb6bb98", - "reference": "04a6112e883ad76c0ada8e4a9f7520bbfdb6bb98", - "shasum": "" - }, - "require": { - "php": ">=7.2.0" - }, - "require-dev": { - "phpstan/phpstan": "^1", - "phpstan/phpstan-deprecation-rules": "^1.0", - "phpstan/phpstan-phpunit": "^1", - "phpstan/phpstan-strict-rules": "^1.3", - "phpunit/phpunit": "^7.5.20 || ^8.5.23", - "psr/log": "^1 || ^2 || ^3" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-main": "2.x-dev" - } - }, - "autoload": { - "psr-4": { - "Seld\\Signal\\": "src/" - } + "issues": "https://github.com/sebastianbergmann/version/issues", + "source": "https://github.com/sebastianbergmann/version/tree/3.0.2" }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ + "funding": [ { - "name": "Jordi Boggiano", - "email": "j.boggiano@seld.be", - "homepage": "http://seld.be" + "url": "https://github.com/sebastianbergmann", + "type": "github" } ], - "description": "Simple unix signal handler that silently fails where signals are not supported for easy cross-platform development", - "keywords": [ - "posix", - "sigint", - "signal", - "sigterm", - "unix" - ], - "support": { - "issues": "https://github.com/Seldaek/signal-handler/issues", - "source": "https://github.com/Seldaek/signal-handler/tree/2.0.2" - }, - "time": "2023-09-03T09:24:00+00:00" + "time": "2020-09-28T06:39:44+00:00" }, { "name": "spatie/array-to-xml", @@ -5550,24 +4514,23 @@ }, { "name": "symfony/console", - "version": "v6.4.2", + "version": "v6.0.19", "source": { "type": "git", "url": "https://github.com/symfony/console.git", - "reference": "0254811a143e6bc6c8deea08b589a7e68a37f625" + "reference": "c3ebc83d031b71c39da318ca8b7a07ecc67507ed" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/console/zipball/0254811a143e6bc6c8deea08b589a7e68a37f625", - "reference": "0254811a143e6bc6c8deea08b589a7e68a37f625", + "url": "https://api.github.com/repos/symfony/console/zipball/c3ebc83d031b71c39da318ca8b7a07ecc67507ed", + "reference": "c3ebc83d031b71c39da318ca8b7a07ecc67507ed", "shasum": "" }, "require": { - "php": ">=8.1", - "symfony/deprecation-contracts": "^2.5|^3", + "php": ">=8.0.2", "symfony/polyfill-mbstring": "~1.0", - "symfony/service-contracts": "^2.5|^3", - "symfony/string": "^5.4|^6.0|^7.0" + "symfony/service-contracts": "^1.1|^2|^3", + "symfony/string": "^5.4|^6.0" }, "conflict": { "symfony/dependency-injection": "<5.4", @@ -5581,16 +4544,18 @@ }, "require-dev": { "psr/log": "^1|^2|^3", - "symfony/config": "^5.4|^6.0|^7.0", - "symfony/dependency-injection": "^5.4|^6.0|^7.0", - "symfony/event-dispatcher": "^5.4|^6.0|^7.0", - "symfony/http-foundation": "^6.4|^7.0", - "symfony/http-kernel": "^6.4|^7.0", - "symfony/lock": "^5.4|^6.0|^7.0", - "symfony/messenger": "^5.4|^6.0|^7.0", - "symfony/process": "^5.4|^6.0|^7.0", - "symfony/stopwatch": "^5.4|^6.0|^7.0", - "symfony/var-dumper": "^5.4|^6.0|^7.0" + "symfony/config": "^5.4|^6.0", + "symfony/dependency-injection": "^5.4|^6.0", + "symfony/event-dispatcher": "^5.4|^6.0", + "symfony/lock": "^5.4|^6.0", + "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": { @@ -5619,12 +4584,12 @@ "homepage": "https://symfony.com", "keywords": [ "cli", - "command-line", + "command line", "console", "terminal" ], "support": { - "source": "https://github.com/symfony/console/tree/v6.4.2" + "source": "https://github.com/symfony/console/tree/v6.0.19" }, "funding": [ { @@ -5640,29 +4605,29 @@ "type": "tidelift" } ], - "time": "2023-12-10T16:15:48+00:00" + "time": "2023-01-01T08:36:10+00:00" }, { "name": "symfony/deprecation-contracts", - "version": "v3.4.0", + "version": "v3.0.2", "source": { "type": "git", "url": "https://github.com/symfony/deprecation-contracts.git", - "reference": "7c3aff79d10325257a001fcf92d991f24fc967cf" + "reference": "26954b3d62a6c5fd0ea8a2a00c0353a14978d05c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/7c3aff79d10325257a001fcf92d991f24fc967cf", - "reference": "7c3aff79d10325257a001fcf92d991f24fc967cf", + "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/26954b3d62a6c5fd0ea8a2a00c0353a14978d05c", + "reference": "26954b3d62a6c5fd0ea8a2a00c0353a14978d05c", "shasum": "" }, "require": { - "php": ">=8.1" + "php": ">=8.0.2" }, "type": "library", "extra": { "branch-alias": { - "dev-main": "3.4-dev" + "dev-main": "3.0-dev" }, "thanks": { "name": "symfony/contracts", @@ -5691,7 +4656,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.4.0" + "source": "https://github.com/symfony/deprecation-contracts/tree/v3.0.2" }, "funding": [ { @@ -5707,29 +4672,28 @@ "type": "tidelift" } ], - "time": "2023-05-23T14:45:45+00:00" + "time": "2022-01-02T09:55:41+00:00" }, { "name": "symfony/event-dispatcher", - "version": "v6.4.2", + "version": "v6.0.19", "source": { "type": "git", "url": "https://github.com/symfony/event-dispatcher.git", - "reference": "e95216850555cd55e71b857eb9d6c2674124603a" + "reference": "2eaf8e63bc5b8cefabd4a800157f0d0c094f677a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/e95216850555cd55e71b857eb9d6c2674124603a", - "reference": "e95216850555cd55e71b857eb9d6c2674124603a", + "url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/2eaf8e63bc5b8cefabd4a800157f0d0c094f677a", + "reference": "2eaf8e63bc5b8cefabd4a800157f0d0c094f677a", "shasum": "" }, "require": { - "php": ">=8.1", - "symfony/event-dispatcher-contracts": "^2.5|^3" + "php": ">=8.0.2", + "symfony/event-dispatcher-contracts": "^2|^3" }, "conflict": { - "symfony/dependency-injection": "<5.4", - "symfony/service-contracts": "<2.5" + "symfony/dependency-injection": "<5.4" }, "provide": { "psr/event-dispatcher-implementation": "1.0", @@ -5737,13 +4701,17 @@ }, "require-dev": { "psr/log": "^1|^2|^3", - "symfony/config": "^5.4|^6.0|^7.0", - "symfony/dependency-injection": "^5.4|^6.0|^7.0", - "symfony/error-handler": "^5.4|^6.0|^7.0", - "symfony/expression-language": "^5.4|^6.0|^7.0", - "symfony/http-foundation": "^5.4|^6.0|^7.0", - "symfony/service-contracts": "^2.5|^3", - "symfony/stopwatch": "^5.4|^6.0|^7.0" + "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": "^1.1|^2|^3", + "symfony/stopwatch": "^5.4|^6.0" + }, + "suggest": { + "symfony/dependency-injection": "", + "symfony/http-kernel": "" }, "type": "library", "autoload": { @@ -5771,7 +4739,7 @@ "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/event-dispatcher/tree/v6.4.2" + "source": "https://github.com/symfony/event-dispatcher/tree/v6.0.19" }, "funding": [ { @@ -5787,30 +4755,33 @@ "type": "tidelift" } ], - "time": "2023-12-27T22:16:42+00:00" + "time": "2023-01-01T08:36:10+00:00" }, { "name": "symfony/event-dispatcher-contracts", - "version": "v3.4.0", + "version": "v3.0.2", "source": { "type": "git", "url": "https://github.com/symfony/event-dispatcher-contracts.git", - "reference": "a76aed96a42d2b521153fb382d418e30d18b59df" + "reference": "7bc61cc2db649b4637d331240c5346dcc7708051" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/event-dispatcher-contracts/zipball/a76aed96a42d2b521153fb382d418e30d18b59df", - "reference": "a76aed96a42d2b521153fb382d418e30d18b59df", + "url": "https://api.github.com/repos/symfony/event-dispatcher-contracts/zipball/7bc61cc2db649b4637d331240c5346dcc7708051", + "reference": "7bc61cc2db649b4637d331240c5346dcc7708051", "shasum": "" }, "require": { - "php": ">=8.1", + "php": ">=8.0.2", "psr/event-dispatcher": "^1" }, + "suggest": { + "symfony/event-dispatcher-implementation": "" + }, "type": "library", "extra": { "branch-alias": { - "dev-main": "3.4-dev" + "dev-main": "3.0-dev" }, "thanks": { "name": "symfony/contracts", @@ -5847,7 +4818,7 @@ "standards" ], "support": { - "source": "https://github.com/symfony/event-dispatcher-contracts/tree/v3.4.0" + "source": "https://github.com/symfony/event-dispatcher-contracts/tree/v3.0.2" }, "funding": [ { @@ -5863,24 +4834,24 @@ "type": "tidelift" } ], - "time": "2023-05-23T14:45:45+00:00" + "time": "2022-01-02T09:55:41+00:00" }, { "name": "symfony/filesystem", - "version": "v6.4.0", + "version": "v6.0.19", "source": { "type": "git", "url": "https://github.com/symfony/filesystem.git", - "reference": "952a8cb588c3bc6ce76f6023000fb932f16a6e59" + "reference": "3d49eec03fda1f0fc19b7349fbbe55ebc1004214" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/filesystem/zipball/952a8cb588c3bc6ce76f6023000fb932f16a6e59", - "reference": "952a8cb588c3bc6ce76f6023000fb932f16a6e59", + "url": "https://api.github.com/repos/symfony/filesystem/zipball/3d49eec03fda1f0fc19b7349fbbe55ebc1004214", + "reference": "3d49eec03fda1f0fc19b7349fbbe55ebc1004214", "shasum": "" }, "require": { - "php": ">=8.1", + "php": ">=8.0.2", "symfony/polyfill-ctype": "~1.8", "symfony/polyfill-mbstring": "~1.8" }, @@ -5910,7 +4881,7 @@ "description": "Provides basic utilities for the filesystem", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/filesystem/tree/v6.4.0" + "source": "https://github.com/symfony/filesystem/tree/v6.0.19" }, "funding": [ { @@ -5926,27 +4897,24 @@ "type": "tidelift" } ], - "time": "2023-07-26T17:27:13+00:00" + "time": "2023-01-20T17:44:14+00:00" }, { "name": "symfony/finder", - "version": "v6.4.0", + "version": "v6.0.19", "source": { "type": "git", "url": "https://github.com/symfony/finder.git", - "reference": "11d736e97f116ac375a81f96e662911a34cd50ce" + "reference": "5cc9cac6586fc0c28cd173780ca696e419fefa11" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/finder/zipball/11d736e97f116ac375a81f96e662911a34cd50ce", - "reference": "11d736e97f116ac375a81f96e662911a34cd50ce", + "url": "https://api.github.com/repos/symfony/finder/zipball/5cc9cac6586fc0c28cd173780ca696e419fefa11", + "reference": "5cc9cac6586fc0c28cd173780ca696e419fefa11", "shasum": "" }, "require": { - "php": ">=8.1" - }, - "require-dev": { - "symfony/filesystem": "^6.0|^7.0" + "php": ">=8.0.2" }, "type": "library", "autoload": { @@ -5974,7 +4942,7 @@ "description": "Finds files and directories via an intuitive fluent interface", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/finder/tree/v6.4.0" + "source": "https://github.com/symfony/finder/tree/v6.0.19" }, "funding": [ { @@ -5990,25 +4958,25 @@ "type": "tidelift" } ], - "time": "2023-10-31T17:30:12+00:00" + "time": "2023-01-20T17:44:14+00:00" }, { "name": "symfony/options-resolver", - "version": "v6.4.0", + "version": "v6.0.19", "source": { "type": "git", "url": "https://github.com/symfony/options-resolver.git", - "reference": "22301f0e7fdeaacc14318928612dee79be99860e" + "reference": "6a180d1c45e0d9797470ca9eb46215692de00fa3" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/options-resolver/zipball/22301f0e7fdeaacc14318928612dee79be99860e", - "reference": "22301f0e7fdeaacc14318928612dee79be99860e", + "url": "https://api.github.com/repos/symfony/options-resolver/zipball/6a180d1c45e0d9797470ca9eb46215692de00fa3", + "reference": "6a180d1c45e0d9797470ca9eb46215692de00fa3", "shasum": "" }, "require": { - "php": ">=8.1", - "symfony/deprecation-contracts": "^2.5|^3" + "php": ">=8.0.2", + "symfony/deprecation-contracts": "^2.1|^3" }, "type": "library", "autoload": { @@ -6041,7 +5009,7 @@ "options" ], "support": { - "source": "https://github.com/symfony/options-resolver/tree/v6.4.0" + "source": "https://github.com/symfony/options-resolver/tree/v6.0.19" }, "funding": [ { @@ -6057,7 +5025,7 @@ "type": "tidelift" } ], - "time": "2023-08-08T10:16:24+00:00" + "time": "2023-01-01T08:36:10+00:00" }, { "name": "symfony/polyfill-ctype", @@ -6389,85 +5357,6 @@ ], "time": "2023-07-28T09:04:16+00:00" }, - { - "name": "symfony/polyfill-php73", - "version": "v1.28.0", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-php73.git", - "reference": "fe2f306d1d9d346a7fee353d0d5012e401e984b5" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-php73/zipball/fe2f306d1d9d346a7fee353d0d5012e401e984b5", - "reference": "fe2f306d1d9d346a7fee353d0d5012e401e984b5", - "shasum": "" - }, - "require": { - "php": ">=7.1" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-main": "1.28-dev" - }, - "thanks": { - "name": "symfony/polyfill", - "url": "https://github.com/symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Php73\\": "" - }, - "classmap": [ - "Resources/stubs" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill backporting some PHP 7.3+ features to lower PHP versions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-php73/tree/v1.28.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": "2023-01-26T09:26:14+00:00" - }, { "name": "symfony/polyfill-php80", "version": "v1.28.0", @@ -6632,20 +5521,20 @@ }, { "name": "symfony/process", - "version": "v6.4.2", + "version": "v6.0.19", "source": { "type": "git", "url": "https://github.com/symfony/process.git", - "reference": "c4b1ef0bc80533d87a2e969806172f1c2a980241" + "reference": "2114fd60f26a296cc403a7939ab91478475a33d4" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/process/zipball/c4b1ef0bc80533d87a2e969806172f1c2a980241", - "reference": "c4b1ef0bc80533d87a2e969806172f1c2a980241", + "url": "https://api.github.com/repos/symfony/process/zipball/2114fd60f26a296cc403a7939ab91478475a33d4", + "reference": "2114fd60f26a296cc403a7939ab91478475a33d4", "shasum": "" }, "require": { - "php": ">=8.1" + "php": ">=8.0.2" }, "type": "library", "autoload": { @@ -6673,7 +5562,7 @@ "description": "Executes commands in sub-processes", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/process/tree/v6.4.2" + "source": "https://github.com/symfony/process/tree/v6.0.19" }, "funding": [ { @@ -6689,33 +5578,36 @@ "type": "tidelift" } ], - "time": "2023-12-22T16:42:54+00:00" + "time": "2023-01-01T08:36:10+00:00" }, { "name": "symfony/service-contracts", - "version": "v3.4.1", + "version": "v3.0.2", "source": { "type": "git", "url": "https://github.com/symfony/service-contracts.git", - "reference": "fe07cbc8d837f60caf7018068e350cc5163681a0" + "reference": "d78d39c1599bd1188b8e26bb341da52c3c6d8a66" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/service-contracts/zipball/fe07cbc8d837f60caf7018068e350cc5163681a0", - "reference": "fe07cbc8d837f60caf7018068e350cc5163681a0", + "url": "https://api.github.com/repos/symfony/service-contracts/zipball/d78d39c1599bd1188b8e26bb341da52c3c6d8a66", + "reference": "d78d39c1599bd1188b8e26bb341da52c3c6d8a66", "shasum": "" }, "require": { - "php": ">=8.1", - "psr/container": "^1.1|^2.0" + "php": ">=8.0.2", + "psr/container": "^2.0" }, "conflict": { "ext-psr": "<1.1|>=2" }, + "suggest": { + "symfony/service-implementation": "" + }, "type": "library", "extra": { "branch-alias": { - "dev-main": "3.4-dev" + "dev-main": "3.0-dev" }, "thanks": { "name": "symfony/contracts", @@ -6725,10 +5617,7 @@ "autoload": { "psr-4": { "Symfony\\Contracts\\Service\\": "" - }, - "exclude-from-classmap": [ - "/Test/" - ] + } }, "notification-url": "https://packagist.org/downloads/", "license": [ @@ -6755,7 +5644,7 @@ "standards" ], "support": { - "source": "https://github.com/symfony/service-contracts/tree/v3.4.1" + "source": "https://github.com/symfony/service-contracts/tree/v3.0.2" }, "funding": [ { @@ -6771,25 +5660,25 @@ "type": "tidelift" } ], - "time": "2023-12-26T14:02:43+00:00" + "time": "2022-05-30T19:17:58+00:00" }, { "name": "symfony/stopwatch", - "version": "v6.4.0", + "version": "v6.0.19", "source": { "type": "git", "url": "https://github.com/symfony/stopwatch.git", - "reference": "fc47f1015ec80927ff64ba9094dfe8b9d48fe9f2" + "reference": "011e781839dd1d2eb8119f65ac516a530f60226d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/stopwatch/zipball/fc47f1015ec80927ff64ba9094dfe8b9d48fe9f2", - "reference": "fc47f1015ec80927ff64ba9094dfe8b9d48fe9f2", + "url": "https://api.github.com/repos/symfony/stopwatch/zipball/011e781839dd1d2eb8119f65ac516a530f60226d", + "reference": "011e781839dd1d2eb8119f65ac516a530f60226d", "shasum": "" }, "require": { - "php": ">=8.1", - "symfony/service-contracts": "^2.5|^3" + "php": ">=8.0.2", + "symfony/service-contracts": "^1|^2|^3" }, "type": "library", "autoload": { @@ -6817,7 +5706,7 @@ "description": "Provides a way to profile code", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/stopwatch/tree/v6.4.0" + "source": "https://github.com/symfony/stopwatch/tree/v6.0.19" }, "funding": [ { @@ -6833,38 +5722,37 @@ "type": "tidelift" } ], - "time": "2023-02-16T10:14:28+00:00" + "time": "2023-01-01T08:36:10+00:00" }, { "name": "symfony/string", - "version": "v6.4.2", + "version": "v6.0.19", "source": { "type": "git", "url": "https://github.com/symfony/string.git", - "reference": "7cb80bc10bfcdf6b5492741c0b9357dac66940bc" + "reference": "d9e72497367c23e08bf94176d2be45b00a9d232a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/string/zipball/7cb80bc10bfcdf6b5492741c0b9357dac66940bc", - "reference": "7cb80bc10bfcdf6b5492741c0b9357dac66940bc", + "url": "https://api.github.com/repos/symfony/string/zipball/d9e72497367c23e08bf94176d2be45b00a9d232a", + "reference": "d9e72497367c23e08bf94176d2be45b00a9d232a", "shasum": "" }, "require": { - "php": ">=8.1", + "php": ">=8.0.2", "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.5" + "symfony/translation-contracts": "<2.0" }, "require-dev": { - "symfony/error-handler": "^5.4|^6.0|^7.0", - "symfony/http-client": "^5.4|^6.0|^7.0", - "symfony/intl": "^6.2|^7.0", - "symfony/translation-contracts": "^2.5|^3.0", - "symfony/var-exporter": "^5.4|^6.0|^7.0" + "symfony/error-handler": "^5.4|^6.0", + "symfony/http-client": "^5.4|^6.0", + "symfony/translation-contracts": "^2.0|^3.0", + "symfony/var-exporter": "^5.4|^6.0" }, "type": "library", "autoload": { @@ -6903,7 +5791,7 @@ "utf8" ], "support": { - "source": "https://github.com/symfony/string/tree/v6.4.2" + "source": "https://github.com/symfony/string/tree/v6.0.19" }, "funding": [ { @@ -6919,7 +5807,7 @@ "type": "tidelift" } ], - "time": "2023-12-10T16:15:48+00:00" + "time": "2023-01-01T08:36:10+00:00" }, { "name": "thecodingmachine/safe", @@ -7285,9 +6173,12 @@ "prefer-stable": false, "prefer-lowest": false, "platform": { - "php": "~8.1.0 || ~8.2.0 || ~8.3.0", + "php": "~8.0.0 || ~8.1.0 || ~8.2.0 || ~8.3.0", "ext-json": "*" }, "platform-dev": [], - "plugin-api-version": "2.6.0" + "platform-overrides": { + "php": "8.0.30" + }, + "plugin-api-version": "2.3.0" } diff --git a/psalm-baseline.xml b/psalm-baseline.xml index ab2a6943..824011e7 100644 --- a/psalm-baseline.xml +++ b/psalm-baseline.xml @@ -1,5 +1,5 @@ - + Json @@ -75,13 +75,6 @@ $newLineString - - - provideEncodedWithoutIndent - provideWhitespaceWithNewLine - provideWhitespaceWithoutNewLine - - $style @@ -89,14 +82,6 @@ $style - - provideInvalidIndentString - provideInvalidSize - provideMixedIndentAndSniffedIndent - providePureIndentAndSniffedIndent - provideSizeStyleAndIndentString - provideValidIndentString - $key $key @@ -104,31 +89,14 @@ - - provideInvalidValue - provideJsonEncodeOptionsAndEncoded - provideValidValue - - - - - provideInvalidNewLineString - provideNewLine - provideValidNewLineString - + + ]]> + $fileInfo - - provideScenario - - - - - provideJsonEncodeOptions - @@ -136,19 +104,11 @@ $fileInfo $schemaDecoded - - provideScenarioWithCustomJsonPointerSpecification - provideScenarioWithDefaultJsonPointerSpecification - $fileInfo $fileInfo - - provideScenarioWhereJsonIsInvalidAccordingToSchema - provideScenarioWhereJsonIsValidAccordingToSchema - diff --git a/rector.php b/rector.php index 2b6023f2..9f747c0e 100644 --- a/rector.php +++ b/rector.php @@ -12,7 +12,6 @@ */ use Rector\Config; -use Rector\Php81; use Rector\PHPUnit; use Rector\ValueObject; @@ -26,13 +25,9 @@ __DIR__ . '/test/', ]); - $rectorConfig->phpVersion(ValueObject\PhpVersion::PHP_81); - - $rectorConfig->rules([ - Php81\Rector\Property\ReadOnlyPropertyRector::class, - ]); + $rectorConfig->phpVersion(ValueObject\PhpVersion::PHP_80); $rectorConfig->sets([ - PHPUnit\Set\PHPUnitSetList::PHPUNIT_100, + PHPUnit\Set\PHPUnitSetList::PHPUNIT_90, ]); }; diff --git a/src/ChainNormalizer.php b/src/ChainNormalizer.php index ea291999..2b49c6f6 100644 --- a/src/ChainNormalizer.php +++ b/src/ChainNormalizer.php @@ -20,7 +20,7 @@ final class ChainNormalizer implements Normalizer /** * @var array */ - private readonly array $normalizers; + private array $normalizers; public function __construct(Normalizer ...$normalizers) { diff --git a/src/Format/DefaultFormatter.php b/src/Format/DefaultFormatter.php index 0be0a2a3..29e1b0f6 100644 --- a/src/Format/DefaultFormatter.php +++ b/src/Format/DefaultFormatter.php @@ -18,7 +18,7 @@ final class DefaultFormatter implements Formatter { - public function __construct(private readonly Printer\PrinterInterface $printer) + public function __construct(private Printer\PrinterInterface $printer) { } diff --git a/src/Format/Indent.php b/src/Format/Indent.php index d25dd923..51a5c1d4 100644 --- a/src/Format/Indent.php +++ b/src/Format/Indent.php @@ -26,7 +26,7 @@ final class Indent 'tab' => "\t", ]; - private function __construct(private readonly string $value) + private function __construct(private string $value) { } diff --git a/src/Format/JsonEncodeOptions.php b/src/Format/JsonEncodeOptions.php index 1679a6a8..cacaae57 100644 --- a/src/Format/JsonEncodeOptions.php +++ b/src/Format/JsonEncodeOptions.php @@ -21,7 +21,7 @@ */ final class JsonEncodeOptions { - private function __construct(private readonly int $value) + private function __construct(private int $value) { } diff --git a/src/Format/NewLine.php b/src/Format/NewLine.php index 6c09d1bf..3bd0c6c9 100644 --- a/src/Format/NewLine.php +++ b/src/Format/NewLine.php @@ -21,7 +21,7 @@ */ final class NewLine { - private function __construct(private readonly string $value) + private function __construct(private string $value) { } diff --git a/src/FormatNormalizer.php b/src/FormatNormalizer.php index a53e2810..db35ff3f 100644 --- a/src/FormatNormalizer.php +++ b/src/FormatNormalizer.php @@ -19,8 +19,8 @@ final class FormatNormalizer implements Normalizer { public function __construct( - private readonly Printer\PrinterInterface $printer, - private readonly Format\Format $format, + private Printer\PrinterInterface $printer, + private Format\Format $format, ) { } diff --git a/src/IndentNormalizer.php b/src/IndentNormalizer.php index 78569155..c4a90ce6 100644 --- a/src/IndentNormalizer.php +++ b/src/IndentNormalizer.php @@ -19,8 +19,8 @@ final class IndentNormalizer implements Normalizer { public function __construct( - private readonly Format\Indent $indent, - private readonly Printer\PrinterInterface $printer, + private Format\Indent $indent, + private Printer\PrinterInterface $printer, ) { } diff --git a/src/JsonEncodeNormalizer.php b/src/JsonEncodeNormalizer.php index a78ffcf5..57a8dde6 100644 --- a/src/JsonEncodeNormalizer.php +++ b/src/JsonEncodeNormalizer.php @@ -17,7 +17,7 @@ final class JsonEncodeNormalizer implements Normalizer { - public function __construct(private readonly Format\JsonEncodeOptions $jsonEncodeOptions) + public function __construct(private Format\JsonEncodeOptions $jsonEncodeOptions) { } diff --git a/src/SchemaNormalizer.php b/src/SchemaNormalizer.php index 42be735c..127c4a13 100644 --- a/src/SchemaNormalizer.php +++ b/src/SchemaNormalizer.php @@ -25,10 +25,10 @@ final class SchemaNormalizer implements Normalizer { public function __construct( - private readonly string $schemaUri, - private readonly SchemaStorage $schemaStorage, - private readonly SchemaValidator\SchemaValidator $schemaValidator, - private readonly Pointer\Specification $specificationForPointerToDataThatShouldNotBeSorted, + private string $schemaUri, + private SchemaStorage $schemaStorage, + private SchemaValidator\SchemaValidator $schemaValidator, + private Pointer\Specification $specificationForPointerToDataThatShouldNotBeSorted, ) { } diff --git a/src/Vendor/Composer/ComposerJsonNormalizer.php b/src/Vendor/Composer/ComposerJsonNormalizer.php index c6612014..91b60f76 100644 --- a/src/Vendor/Composer/ComposerJsonNormalizer.php +++ b/src/Vendor/Composer/ComposerJsonNormalizer.php @@ -22,7 +22,7 @@ final class ComposerJsonNormalizer implements Normalizer\Normalizer { - private readonly Normalizer\Normalizer $normalizer; + private Normalizer\Normalizer $normalizer; /** * @throws Normalizer\Exception\DependencyMissing diff --git a/src/Vendor/Composer/ConfigHashNormalizer.php b/src/Vendor/Composer/ConfigHashNormalizer.php index bda8d25d..76e266d9 100644 --- a/src/Vendor/Composer/ConfigHashNormalizer.php +++ b/src/Vendor/Composer/ConfigHashNormalizer.php @@ -29,7 +29,7 @@ final class ConfigHashNormalizer implements Normalizer */ 'preferred-install', ]; - private readonly WildcardSorter $wildcardSorter; + private WildcardSorter $wildcardSorter; public function __construct() { diff --git a/src/Vendor/Composer/RepositoriesHashNormalizer.php b/src/Vendor/Composer/RepositoriesHashNormalizer.php index ab26e78d..8ee800f0 100644 --- a/src/Vendor/Composer/RepositoriesHashNormalizer.php +++ b/src/Vendor/Composer/RepositoriesHashNormalizer.php @@ -26,7 +26,7 @@ final class RepositoriesHashNormalizer implements Normalizer 'exclude', 'only', ]; - private readonly WildcardSorter $wildcardSorter; + private WildcardSorter $wildcardSorter; public function __construct() { diff --git a/src/Vendor/Composer/VersionConstraintNormalizer.php b/src/Vendor/Composer/VersionConstraintNormalizer.php index 4bfdb297..4e7dc40f 100644 --- a/src/Vendor/Composer/VersionConstraintNormalizer.php +++ b/src/Vendor/Composer/VersionConstraintNormalizer.php @@ -28,7 +28,7 @@ final class VersionConstraintNormalizer implements Normalizer 'require-dev', ]; - public function __construct(private readonly Semver\VersionParser $versionParser) + public function __construct(private Semver\VersionParser $versionParser) { } diff --git a/test/Fixture/FormatNormalizer/NormalizeNormalizesJson/Scenario.php b/test/Fixture/FormatNormalizer/NormalizeNormalizesJson/Scenario.php index 131efa40..52b0f69b 100644 --- a/test/Fixture/FormatNormalizer/NormalizeNormalizesJson/Scenario.php +++ b/test/Fixture/FormatNormalizer/NormalizeNormalizesJson/Scenario.php @@ -22,10 +22,10 @@ final class Scenario { private function __construct( - private readonly string $key, - private readonly Normalizer\Format\Format $format, - private readonly Json $original, - private readonly Json $normalized, + private string $key, + private Normalizer\Format\Format $format, + private Json $original, + private Json $normalized, ) { } diff --git a/test/Fixture/SchemaNormalizer/NormalizeNormalizesJson/Scenario.php b/test/Fixture/SchemaNormalizer/NormalizeNormalizesJson/Scenario.php index c53bcf47..6d3a6e84 100644 --- a/test/Fixture/SchemaNormalizer/NormalizeNormalizesJson/Scenario.php +++ b/test/Fixture/SchemaNormalizer/NormalizeNormalizesJson/Scenario.php @@ -22,11 +22,11 @@ final class Scenario { private function __construct( - private readonly string $key, - private readonly string $schemaUri, - private readonly Pointer\Specification $specificationForPointerToDataThatShouldNotBeSorted, - private readonly Json $original, - private readonly Json $normalized, + private string $key, + private string $schemaUri, + private Pointer\Specification $specificationForPointerToDataThatShouldNotBeSorted, + private Json $original, + private Json $normalized, ) { } diff --git a/test/Fixture/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Scenario.php b/test/Fixture/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Scenario.php index c7d3b772..319558ba 100644 --- a/test/Fixture/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Scenario.php +++ b/test/Fixture/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Scenario.php @@ -21,9 +21,9 @@ final class Scenario { private function __construct( - private readonly string $key, - private readonly Json $original, - private readonly Json $normalized, + private string $key, + private Json $original, + private Json $normalized, ) { } diff --git a/test/Fixture/Vendor/Composer/ComposerJsonNormalizer/NormalizeRejectsJson/Scenario.php b/test/Fixture/Vendor/Composer/ComposerJsonNormalizer/NormalizeRejectsJson/Scenario.php index deff845b..38f7380d 100644 --- a/test/Fixture/Vendor/Composer/ComposerJsonNormalizer/NormalizeRejectsJson/Scenario.php +++ b/test/Fixture/Vendor/Composer/ComposerJsonNormalizer/NormalizeRejectsJson/Scenario.php @@ -21,8 +21,8 @@ final class Scenario { private function __construct( - private readonly string $key, - private readonly Json $original, + private string $key, + private Json $original, ) { } diff --git a/test/Unit/CallableNormalizerTest.php b/test/Unit/CallableNormalizerTest.php index 18dc7821..f47f6c94 100644 --- a/test/Unit/CallableNormalizerTest.php +++ b/test/Unit/CallableNormalizerTest.php @@ -18,7 +18,9 @@ use Ergebnis\Json\Normalizer\Test; use PHPUnit\Framework; -#[Framework\Attributes\CoversClass(CallableNormalizer::class)] +/** + * @covers \Ergebnis\Json\Normalizer\CallableNormalizer + */ final class CallableNormalizerTest extends Framework\TestCase { use Test\Util\Helper; diff --git a/test/Unit/ChainNormalizerTest.php b/test/Unit/ChainNormalizerTest.php index f29f85d1..41226ec0 100644 --- a/test/Unit/ChainNormalizerTest.php +++ b/test/Unit/ChainNormalizerTest.php @@ -19,7 +19,9 @@ use Ergebnis\Json\Normalizer\Test; use PHPUnit\Framework; -#[Framework\Attributes\CoversClass(ChainNormalizer::class)] +/** + * @covers \Ergebnis\Json\Normalizer\ChainNormalizer + */ final class ChainNormalizerTest extends Framework\TestCase { use Test\Util\Helper; diff --git a/test/Unit/Exception/DependencyMissingTest.php b/test/Unit/Exception/DependencyMissingTest.php index ee303f68..fca62ecb 100644 --- a/test/Unit/Exception/DependencyMissingTest.php +++ b/test/Unit/Exception/DependencyMissingTest.php @@ -17,7 +17,9 @@ use Ergebnis\Json\Normalizer\Test; use PHPUnit\Framework; -#[Framework\Attributes\CoversClass(Exception\DependencyMissing::class)] +/** + * @covers \Ergebnis\Json\Normalizer\Exception\DependencyMissing + */ final class DependencyMissingTest extends Framework\TestCase { use Test\Util\Helper; diff --git a/test/Unit/Exception/InvalidIndentSizeTest.php b/test/Unit/Exception/InvalidIndentSizeTest.php index f9de2424..35c87fbc 100644 --- a/test/Unit/Exception/InvalidIndentSizeTest.php +++ b/test/Unit/Exception/InvalidIndentSizeTest.php @@ -17,7 +17,9 @@ use Ergebnis\Json\Normalizer\Test; use PHPUnit\Framework; -#[Framework\Attributes\CoversClass(Exception\InvalidIndentSize::class)] +/** + * @covers \Ergebnis\Json\Normalizer\Exception\InvalidIndentSize + */ final class InvalidIndentSizeTest extends Framework\TestCase { use Test\Util\Helper; diff --git a/test/Unit/Exception/InvalidIndentStringTest.php b/test/Unit/Exception/InvalidIndentStringTest.php index 06520fed..2aca9fc0 100644 --- a/test/Unit/Exception/InvalidIndentStringTest.php +++ b/test/Unit/Exception/InvalidIndentStringTest.php @@ -17,7 +17,9 @@ use Ergebnis\Json\Normalizer\Test; use PHPUnit\Framework; -#[Framework\Attributes\CoversClass(Exception\InvalidIndentString::class)] +/** + * @covers \Ergebnis\Json\Normalizer\Exception\InvalidIndentString + */ final class InvalidIndentStringTest extends Framework\TestCase { use Test\Util\Helper; diff --git a/test/Unit/Exception/InvalidIndentStyleTest.php b/test/Unit/Exception/InvalidIndentStyleTest.php index 29a924c1..ace27131 100644 --- a/test/Unit/Exception/InvalidIndentStyleTest.php +++ b/test/Unit/Exception/InvalidIndentStyleTest.php @@ -17,7 +17,9 @@ use Ergebnis\Json\Normalizer\Test; use PHPUnit\Framework; -#[Framework\Attributes\CoversClass(Exception\InvalidIndentStyle::class)] +/** + * @covers \Ergebnis\Json\Normalizer\Exception\InvalidIndentStyle + */ final class InvalidIndentStyleTest extends Framework\TestCase { use Test\Util\Helper; diff --git a/test/Unit/Exception/InvalidJsonEncodeOptionsTest.php b/test/Unit/Exception/InvalidJsonEncodeOptionsTest.php index 6466f6d4..86af6c36 100644 --- a/test/Unit/Exception/InvalidJsonEncodeOptionsTest.php +++ b/test/Unit/Exception/InvalidJsonEncodeOptionsTest.php @@ -17,7 +17,9 @@ use Ergebnis\Json\Normalizer\Test; use PHPUnit\Framework; -#[Framework\Attributes\CoversClass(Exception\InvalidJsonEncodeOptions::class)] +/** + * @covers \Ergebnis\Json\Normalizer\Exception\InvalidJsonEncodeOptions + */ final class InvalidJsonEncodeOptionsTest extends Framework\TestCase { use Test\Util\Helper; diff --git a/test/Unit/Exception/InvalidNewLineStringTest.php b/test/Unit/Exception/InvalidNewLineStringTest.php index ace4310d..fddebc22 100644 --- a/test/Unit/Exception/InvalidNewLineStringTest.php +++ b/test/Unit/Exception/InvalidNewLineStringTest.php @@ -17,7 +17,9 @@ use Ergebnis\Json\Normalizer\Test; use PHPUnit\Framework; -#[Framework\Attributes\CoversClass(Exception\InvalidNewLineString::class)] +/** + * @covers \Ergebnis\Json\Normalizer\Exception\InvalidNewLineString + */ final class InvalidNewLineStringTest extends Framework\TestCase { use Test\Util\Helper; diff --git a/test/Unit/Exception/NormalizedInvalidAccordingToSchemaTest.php b/test/Unit/Exception/NormalizedInvalidAccordingToSchemaTest.php index 155bf980..b83daaab 100644 --- a/test/Unit/Exception/NormalizedInvalidAccordingToSchemaTest.php +++ b/test/Unit/Exception/NormalizedInvalidAccordingToSchemaTest.php @@ -17,7 +17,9 @@ use Ergebnis\Json\Normalizer\Test; use PHPUnit\Framework; -#[Framework\Attributes\CoversClass(Exception\NormalizedInvalidAccordingToSchema::class)] +/** + * @covers \Ergebnis\Json\Normalizer\Exception\NormalizedInvalidAccordingToSchema + */ final class NormalizedInvalidAccordingToSchemaTest extends Framework\TestCase { use Test\Util\Helper; diff --git a/test/Unit/Exception/OriginalInvalidAccordingToSchemaTest.php b/test/Unit/Exception/OriginalInvalidAccordingToSchemaTest.php index d6b6fa07..00e2b036 100644 --- a/test/Unit/Exception/OriginalInvalidAccordingToSchemaTest.php +++ b/test/Unit/Exception/OriginalInvalidAccordingToSchemaTest.php @@ -17,7 +17,9 @@ use Ergebnis\Json\Normalizer\Test; use PHPUnit\Framework; -#[Framework\Attributes\CoversClass(Exception\OriginalInvalidAccordingToSchema::class)] +/** + * @covers \Ergebnis\Json\Normalizer\Exception\OriginalInvalidAccordingToSchema + */ final class OriginalInvalidAccordingToSchemaTest extends Framework\TestCase { use Test\Util\Helper; diff --git a/test/Unit/Exception/SchemaUriCouldNotBeReadTest.php b/test/Unit/Exception/SchemaUriCouldNotBeReadTest.php index 3de5899f..06550d92 100644 --- a/test/Unit/Exception/SchemaUriCouldNotBeReadTest.php +++ b/test/Unit/Exception/SchemaUriCouldNotBeReadTest.php @@ -17,7 +17,9 @@ use Ergebnis\Json\Normalizer\Test; use PHPUnit\Framework; -#[Framework\Attributes\CoversClass(Exception\SchemaUriCouldNotBeRead::class)] +/** + * @covers \Ergebnis\Json\Normalizer\Exception\SchemaUriCouldNotBeRead + */ final class SchemaUriCouldNotBeReadTest extends Framework\TestCase { use Test\Util\Helper; diff --git a/test/Unit/Exception/SchemaUriCouldNotBeResolvedTest.php b/test/Unit/Exception/SchemaUriCouldNotBeResolvedTest.php index e59ebe92..d8f3a753 100644 --- a/test/Unit/Exception/SchemaUriCouldNotBeResolvedTest.php +++ b/test/Unit/Exception/SchemaUriCouldNotBeResolvedTest.php @@ -17,7 +17,9 @@ use Ergebnis\Json\Normalizer\Test; use PHPUnit\Framework; -#[Framework\Attributes\CoversClass(Exception\SchemaUriCouldNotBeResolved::class)] +/** + * @covers \Ergebnis\Json\Normalizer\Exception\SchemaUriCouldNotBeResolved + */ final class SchemaUriCouldNotBeResolvedTest extends Framework\TestCase { use Test\Util\Helper; diff --git a/test/Unit/Exception/SchemaUriReferencesDocumentWithInvalidMediaTypeTest.php b/test/Unit/Exception/SchemaUriReferencesDocumentWithInvalidMediaTypeTest.php index c966bd51..e747bbb6 100644 --- a/test/Unit/Exception/SchemaUriReferencesDocumentWithInvalidMediaTypeTest.php +++ b/test/Unit/Exception/SchemaUriReferencesDocumentWithInvalidMediaTypeTest.php @@ -17,7 +17,9 @@ use Ergebnis\Json\Normalizer\Test; use PHPUnit\Framework; -#[Framework\Attributes\CoversClass(Exception\SchemaUriReferencesDocumentWithInvalidMediaType::class)] +/** + * @covers \Ergebnis\Json\Normalizer\Exception\SchemaUriReferencesDocumentWithInvalidMediaType + */ final class SchemaUriReferencesDocumentWithInvalidMediaTypeTest extends Framework\TestCase { use Test\Util\Helper; diff --git a/test/Unit/Exception/SchemaUriReferencesInvalidJsonDocumentTest.php b/test/Unit/Exception/SchemaUriReferencesInvalidJsonDocumentTest.php index d3fa248b..c03416fc 100644 --- a/test/Unit/Exception/SchemaUriReferencesInvalidJsonDocumentTest.php +++ b/test/Unit/Exception/SchemaUriReferencesInvalidJsonDocumentTest.php @@ -17,7 +17,9 @@ use Ergebnis\Json\Normalizer\Test; use PHPUnit\Framework; -#[Framework\Attributes\CoversClass(Exception\SchemaUriReferencesInvalidJsonDocument::class)] +/** + * @covers \Ergebnis\Json\Normalizer\Exception\SchemaUriReferencesInvalidJsonDocument + */ final class SchemaUriReferencesInvalidJsonDocumentTest extends Framework\TestCase { use Test\Util\Helper; diff --git a/test/Unit/Format/DefaultFormatterTest.php b/test/Unit/Format/DefaultFormatterTest.php index 5469b4b8..b1edd8e1 100644 --- a/test/Unit/Format/DefaultFormatterTest.php +++ b/test/Unit/Format/DefaultFormatterTest.php @@ -20,16 +20,21 @@ use Ergebnis\Json\Printer; use PHPUnit\Framework; -#[Framework\Attributes\CoversClass(Format\DefaultFormatter::class)] -#[Framework\Attributes\UsesClass(Format\Format::class)] -#[Framework\Attributes\UsesClass(Format\Indent::class)] -#[Framework\Attributes\UsesClass(Format\JsonEncodeOptions::class)] -#[Framework\Attributes\UsesClass(Format\NewLine::class)] +/** + * @covers \Ergebnis\Json\Normalizer\Format\DefaultFormatter + * + * @uses \Ergebnis\Json\Normalizer\Format\Format + * @uses \Ergebnis\Json\Normalizer\Format\Indent + * @uses \Ergebnis\Json\Normalizer\Format\JsonEncodeOptions + * @uses \Ergebnis\Json\Normalizer\Format\NewLine + */ final class DefaultFormatterTest extends Framework\TestCase { use Test\Util\Helper; - #[Framework\Attributes\DataProviderExternal(DataProvider\BoolProvider::class, 'arbitrary')] + /** + * @dataProvider \Ergebnis\DataProvider\BoolProvider::arbitrary() + */ public function testFormatEncodesWithJsonEncodeOptionsIndentsAndPossiblySuffixesWithFinalNewLine(bool $hasFinalNewLine): void { $faker = self::faker(); diff --git a/test/Unit/Format/FormatTest.php b/test/Unit/Format/FormatTest.php index 047843d0..997ddb98 100644 --- a/test/Unit/Format/FormatTest.php +++ b/test/Unit/Format/FormatTest.php @@ -18,13 +18,18 @@ use Ergebnis\Json\Normalizer\Format; use PHPUnit\Framework; -#[Framework\Attributes\CoversClass(Format\Format::class)] -#[Framework\Attributes\UsesClass(Format\Indent::class)] -#[Framework\Attributes\UsesClass(Format\JsonEncodeOptions::class)] -#[Framework\Attributes\UsesClass(Format\NewLine::class)] +/** + * @covers \Ergebnis\Json\Normalizer\Format\Format + * + * @uses \Ergebnis\Json\Normalizer\Format\Indent + * @uses \Ergebnis\Json\Normalizer\Format\JsonEncodeOptions + * @uses \Ergebnis\Json\Normalizer\Format\NewLine + */ final class FormatTest extends Framework\TestCase { - #[Framework\Attributes\DataProviderExternal(DataProvider\BoolProvider::class, 'arbitrary')] + /** + * @dataProvider \Ergebnis\DataProvider\BoolProvider::arbitrary + */ public function testCreateReturnsFormat(bool $hasFinalNewLine): void { $jsonEncodeOptions = Format\JsonEncodeOptions::fromInt(\JSON_UNESCAPED_UNICODE | \JSON_UNESCAPED_SLASHES); @@ -95,7 +100,9 @@ public function testWithNewLineClonesFormatAndSetsNewLine(): void self::assertSame($newLine, $mutated->newLine()); } - #[Framework\Attributes\DataProviderExternal(DataProvider\BoolProvider::class, 'arbitrary')] + /** + * @dataProvider \Ergebnis\DataProvider\BoolProvider::arbitrary + */ public function testWithHasFinalNewLineClonesFormatAndSetsFinalNewLine(bool $hasFinalNewLine): void { $format = Format\Format::create( @@ -111,7 +118,9 @@ public function testWithHasFinalNewLineClonesFormatAndSetsFinalNewLine(bool $has self::assertSame($hasFinalNewLine, $mutated->hasFinalNewLine()); } - #[Framework\Attributes\DataProvider('provideEncodedWithoutIndent')] + /** + * @dataProvider provideEncodedWithoutIndent + */ public function testFromJsonReturnsFormatWithDefaultIndentIfJsonIsWithoutIndent(string $encoded): void { $json = Json::fromString($encoded); @@ -124,7 +133,7 @@ public function testFromJsonReturnsFormatWithDefaultIndentIfJsonIsWithoutIndent( /** * @return \Generator */ - public static function provideEncodedWithoutIndent(): \Generator + public static function provideEncodedWithoutIndent(): iterable { $values = [ 'array-empty' => '[]', @@ -147,7 +156,9 @@ public static function provideEncodedWithoutIndent(): \Generator } } - #[Framework\Attributes\DataProvider('provideWhitespaceWithoutNewLine')] + /** + * @dataProvider provideWhitespaceWithoutNewLine + */ public function testFromFormatReturnsFormatWithoutFinalNewLineIfThereIsNoFinalNewLine(string $actualWhitespace): void { $json = Json::fromString( @@ -170,7 +181,7 @@ public function testFromFormatReturnsFormatWithoutFinalNewLineIfThereIsNoFinalNe /** * @return \Generator */ - public static function provideWhitespaceWithoutNewLine(): \Generator + public static function provideWhitespaceWithoutNewLine(): iterable { $characters = [ ' ', @@ -188,7 +199,9 @@ public static function provideWhitespaceWithoutNewLine(): \Generator } } - #[Framework\Attributes\DataProvider('provideWhitespaceWithNewLine')] + /** + * @dataProvider provideWhitespaceWithNewLine + */ public function testFromFormatReturnsFormatWithFinalNewLineIfThereIsAtLeastOneFinalNewLine(string $actualWhitespace): void { $json = Json::fromString( @@ -211,7 +224,7 @@ public function testFromFormatReturnsFormatWithFinalNewLineIfThereIsAtLeastOneFi /** * @return \Generator */ - public static function provideWhitespaceWithNewLine(): \Generator + public static function provideWhitespaceWithNewLine(): iterable { $characters = [ '', diff --git a/test/Unit/Format/IndentTest.php b/test/Unit/Format/IndentTest.php index 902e12aa..28fcc09e 100644 --- a/test/Unit/Format/IndentTest.php +++ b/test/Unit/Format/IndentTest.php @@ -19,10 +19,13 @@ use Ergebnis\Json\Normalizer\Test; use PHPUnit\Framework; -#[Framework\Attributes\CoversClass(Format\Indent::class)] -#[Framework\Attributes\UsesClass(Exception\InvalidIndentSize::class)] -#[Framework\Attributes\UsesClass(Exception\InvalidIndentString::class)] -#[Framework\Attributes\UsesClass(Exception\InvalidIndentStyle::class)] +/** + * @covers \Ergebnis\Json\Normalizer\Format\Indent + * + * @uses \Ergebnis\Json\Normalizer\Exception\InvalidIndentSize + * @uses \Ergebnis\Json\Normalizer\Exception\InvalidIndentString + * @uses \Ergebnis\Json\Normalizer\Exception\InvalidIndentStyle + */ final class IndentTest extends Framework\TestCase { use Test\Util\Helper; @@ -37,7 +40,9 @@ public function testConstants(): void self::assertSame($characters, Format\Indent::CHARACTERS); } - #[Framework\Attributes\DataProvider('provideInvalidSize')] + /** + * @dataProvider provideInvalidSize + */ public function testFromSizeAndStyleRejectsInvalidSize(int $size): void { $style = self::faker()->randomElement(\array_keys(Format\Indent::CHARACTERS)); @@ -54,7 +59,7 @@ public function testFromSizeAndStyleRejectsInvalidSize(int $size): void /** * @return \Generator */ - public static function provideInvalidSize(): \Generator + public static function provideInvalidSize(): iterable { $sizes = [ 'int-zero' => 0, @@ -85,7 +90,9 @@ public function testFromSizeAndStyleRejectsInvalidStyle(): void ); } - #[Framework\Attributes\DataProvider('provideSizeStyleAndIndentString')] + /** + * @dataProvider provideSizeStyleAndIndentString + */ public function testFromSizeAndStyleReturnsIndent( int $size, string $style, @@ -102,7 +109,7 @@ public function testFromSizeAndStyleReturnsIndent( /** * @return \Generator */ - public static function provideSizeStyleAndIndentString(): \Generator + public static function provideSizeStyleAndIndentString(): iterable { foreach (self::sizes() as $key => $size) { foreach (Format\Indent::CHARACTERS as $style => $character) { @@ -120,7 +127,9 @@ public static function provideSizeStyleAndIndentString(): \Generator } } - #[Framework\Attributes\DataProvider('provideInvalidIndentString')] + /** + * @dataProvider provideInvalidIndentString + */ public function testFromStringRejectsInvalidIndentString(string $string): void { $this->expectException(Exception\InvalidIndentString::class); @@ -131,7 +140,7 @@ public function testFromStringRejectsInvalidIndentString(string $string): void /** * @return \Generator */ - public static function provideInvalidIndentString(): \Generator + public static function provideInvalidIndentString(): iterable { $strings = [ 'string-not-whitespace' => self::faker()->sentence(), @@ -146,7 +155,9 @@ public static function provideInvalidIndentString(): \Generator } } - #[Framework\Attributes\DataProvider('provideValidIndentString')] + /** + * @dataProvider provideValidIndentString + */ public function testFromStringReturnsIndent(string $string): void { $indent = Format\Indent::fromString($string); @@ -157,7 +168,7 @@ public function testFromStringReturnsIndent(string $string): void /** * @return \Generator */ - public static function provideValidIndentString(): \Generator + public static function provideValidIndentString(): iterable { foreach (self::sizes() as $key => $size) { foreach (Format\Indent::CHARACTERS as $style => $character) { @@ -173,8 +184,10 @@ public static function provideValidIndentString(): \Generator } } - #[Framework\Attributes\DataProvider('provideMixedIndentAndSniffedIndent')] - #[Framework\Attributes\DataProvider('providePureIndentAndSniffedIndent')] + /** + * @dataProvider provideMixedIndentAndSniffedIndent + * @dataProvider providePureIndentAndSniffedIndent + */ public function testFromJsonReturnsIndentSniffedFromArray( string $actualIndent, string $sniffedIndent, @@ -196,8 +209,10 @@ public function testFromJsonReturnsIndentSniffedFromArray( self::assertSame($sniffedIndent, $indent->toString()); } - #[Framework\Attributes\DataProvider('provideMixedIndentAndSniffedIndent')] - #[Framework\Attributes\DataProvider('providePureIndentAndSniffedIndent')] + /** + * @dataProvider provideMixedIndentAndSniffedIndent + * @dataProvider providePureIndentAndSniffedIndent + */ public function testFromJsonReturnsIndentSniffedFromObject( string $actualIndent, string $sniffedIndent, @@ -222,7 +237,7 @@ public function testFromJsonReturnsIndentSniffedFromObject( /** * @return \Generator */ - public static function providePureIndentAndSniffedIndent(): \Generator + public static function providePureIndentAndSniffedIndent(): iterable { $sizes = [ 1, @@ -253,7 +268,7 @@ public static function providePureIndentAndSniffedIndent(): \Generator /** * @return \Generator */ - public static function provideMixedIndentAndSniffedIndent(): \Generator + public static function provideMixedIndentAndSniffedIndent(): iterable { $mixedIndents = [ 'space-and-tab' => [ diff --git a/test/Unit/Format/JsonEncodeOptionsTest.php b/test/Unit/Format/JsonEncodeOptionsTest.php index a026bfc4..70d7e663 100644 --- a/test/Unit/Format/JsonEncodeOptionsTest.php +++ b/test/Unit/Format/JsonEncodeOptionsTest.php @@ -19,8 +19,11 @@ use Ergebnis\Json\Normalizer\Test; use PHPUnit\Framework; -#[Framework\Attributes\CoversClass(Format\JsonEncodeOptions::class)] -#[Framework\Attributes\UsesClass(Exception\InvalidJsonEncodeOptions::class)] +/** + * @covers \Ergebnis\Json\Normalizer\Format\JsonEncodeOptions + * + * @uses \Ergebnis\Json\Normalizer\Exception\InvalidJsonEncodeOptions + */ final class JsonEncodeOptionsTest extends Framework\TestCase { use Test\Util\Helper; @@ -34,7 +37,9 @@ public function testDefaultReturnsJsonEncodeOptions(): void self::assertSame($expected, $jsonEncodeOptions->toInt()); } - #[Framework\Attributes\DataProvider('provideInvalidValue')] + /** + * @dataProvider provideInvalidValue + */ public function testFromIntRejectsInvalidValue(int $value): void { $this->expectException(Exception\InvalidJsonEncodeOptions::class); @@ -45,7 +50,7 @@ public function testFromIntRejectsInvalidValue(int $value): void /** * @return \Generator */ - public static function provideInvalidValue(): \Generator + public static function provideInvalidValue(): iterable { $values = [ 'int-minus-one' => -1, @@ -59,7 +64,9 @@ public static function provideInvalidValue(): \Generator } } - #[Framework\Attributes\DataProvider('provideValidValue')] + /** + * @dataProvider provideValidValue + */ public function testFromIntReturnsJsonEncodeOptions(int $value): void { $jsonEncodeOptions = Format\JsonEncodeOptions::fromInt($value); @@ -70,7 +77,7 @@ public function testFromIntReturnsJsonEncodeOptions(int $value): void /** * @return \Generator */ - public static function provideValidValue(): \Generator + public static function provideValidValue(): iterable { $values = [ 'int-zero' => 0, @@ -84,7 +91,9 @@ public static function provideValidValue(): \Generator } } - #[Framework\Attributes\DataProvider('provideJsonEncodeOptionsAndEncoded')] + /** + * @dataProvider provideJsonEncodeOptionsAndEncoded + */ public function testFromJsonReturnsJsonEncodeOptions( int $value, string $encoded, @@ -99,9 +108,9 @@ public function testFromJsonReturnsJsonEncodeOptions( /** * @return list */ - public static function provideJsonEncodeOptionsAndEncoded(): array + public static function provideJsonEncodeOptionsAndEncoded(): iterable { - return [ + yield from [ [ 0, <<<'JSON' diff --git a/test/Unit/Format/NewLineTest.php b/test/Unit/Format/NewLineTest.php index 38039364..ff8bde87 100644 --- a/test/Unit/Format/NewLineTest.php +++ b/test/Unit/Format/NewLineTest.php @@ -18,11 +18,16 @@ use Ergebnis\Json\Normalizer\Format; use PHPUnit\Framework; -#[Framework\Attributes\CoversClass(Format\NewLine::class)] -#[Framework\Attributes\UsesClass(Exception\InvalidNewLineString::class)] +/** + * @covers \Ergebnis\Json\Normalizer\Format\NewLine + * + * @uses \Ergebnis\Json\Normalizer\Exception\InvalidNewLineString + */ final class NewLineTest extends Framework\TestCase { - #[Framework\Attributes\DataProvider('provideInvalidNewLineString')] + /** + * @dataProvider provideInvalidNewLineString + */ public function testFromStringRejectsInvalidNewLineString(string $string): void { $this->expectException(Exception\InvalidNewLineString::class); @@ -34,7 +39,7 @@ public function testFromStringRejectsInvalidNewLineString(string $string): void /** * @return \Generator */ - public static function provideInvalidNewLineString(): \Generator + public static function provideInvalidNewLineString(): iterable { $strings = [ "\t", @@ -54,7 +59,9 @@ public static function provideInvalidNewLineString(): \Generator } } - #[Framework\Attributes\DataProvider('provideValidNewLineString')] + /** + * @dataProvider provideValidNewLineString + */ public function testFromStringReturnsNewLine(string $string): void { $newLine = Format\NewLine::fromString($string); @@ -65,7 +72,7 @@ public function testFromStringReturnsNewLine(string $string): void /** * @return \Generator */ - public static function provideValidNewLineString(): \Generator + public static function provideValidNewLineString(): iterable { $strings = [ "\n", @@ -91,7 +98,9 @@ public function testFromJsonReturnsFormatWithDefaultNewLineIfNoneFound(): void self::assertSame(\PHP_EOL, $newLine->toString()); } - #[Framework\Attributes\DataProvider('provideNewLine')] + /** + * @dataProvider provideNewLine + */ public function testFromFormatReturnsFormatWithNewLineSniffedFromArray(string $newLineString): void { $json = Json::fromString( @@ -105,7 +114,9 @@ public function testFromFormatReturnsFormatWithNewLineSniffedFromArray(string $n self::assertSame($newLineString, $newLine->toString()); } - #[Framework\Attributes\DataProvider('provideNewLine')] + /** + * @dataProvider provideNewLine + */ public function testFromFormatReturnsFormatWithNewLineNewLineSniffedFromObject(string $newLineString): void { $json = Json::fromString( @@ -122,7 +133,7 @@ public function testFromFormatReturnsFormatWithNewLineNewLineSniffedFromObject(s /** * @return \Generator */ - public static function provideNewLine(): \Generator + public static function provideNewLine(): iterable { $values = [ "\r\n", diff --git a/test/Unit/FormatNormalizerTest.php b/test/Unit/FormatNormalizerTest.php index 73a88e1d..c1176fb7 100644 --- a/test/Unit/FormatNormalizerTest.php +++ b/test/Unit/FormatNormalizerTest.php @@ -20,16 +20,21 @@ use Ergebnis\Json\Printer; use PHPUnit\Framework; -#[Framework\Attributes\CoversClass(FormatNormalizer::class)] -#[Framework\Attributes\UsesClass(Format\Format::class)] -#[Framework\Attributes\UsesClass(Format\Indent::class)] -#[Framework\Attributes\UsesClass(Format\JsonEncodeOptions::class)] -#[Framework\Attributes\UsesClass(Format\NewLine::class)] +/** + * @covers \Ergebnis\Json\Normalizer\FormatNormalizer + * + * @uses \Ergebnis\Json\Normalizer\Format\Format + * @uses \Ergebnis\Json\Normalizer\Format\Indent + * @uses \Ergebnis\Json\Normalizer\Format\JsonEncodeOptions + * @uses \Ergebnis\Json\Normalizer\Format\NewLine + */ final class FormatNormalizerTest extends Framework\TestCase { use Test\Util\Helper; - #[Framework\Attributes\DataProvider('provideScenario')] + /** + * @dataProvider provideScenario + */ public function testNormalizeNormalizes(Test\Fixture\FormatNormalizer\NormalizeNormalizesJson\Scenario $scenario): void { $normalizer = new FormatNormalizer( @@ -45,7 +50,7 @@ public function testNormalizeNormalizes(Test\Fixture\FormatNormalizer\NormalizeN /** * @return \Generator */ - public static function provideScenario(): \Generator + public static function provideScenario(): iterable { $basePath = __DIR__ . '/../'; diff --git a/test/Unit/IndentNormalizerTest.php b/test/Unit/IndentNormalizerTest.php index 663b01b6..f7d077e6 100644 --- a/test/Unit/IndentNormalizerTest.php +++ b/test/Unit/IndentNormalizerTest.php @@ -20,8 +20,11 @@ use Ergebnis\Json\Printer\PrinterInterface; use PHPUnit\Framework; -#[Framework\Attributes\CoversClass(IndentNormalizer::class)] -#[Framework\Attributes\UsesClass(Format\Indent::class)] +/** + * @covers \Ergebnis\Json\Normalizer\IndentNormalizer + * + * @uses \Ergebnis\Json\Normalizer\Format\Indent + */ final class IndentNormalizerTest extends Framework\TestCase { use Test\Util\Helper; diff --git a/test/Unit/JsonEncodeNormalizerTest.php b/test/Unit/JsonEncodeNormalizerTest.php index e736d61c..45ce25ac 100644 --- a/test/Unit/JsonEncodeNormalizerTest.php +++ b/test/Unit/JsonEncodeNormalizerTest.php @@ -19,13 +19,18 @@ use Ergebnis\Json\Normalizer\Test; use PHPUnit\Framework; -#[Framework\Attributes\CoversClass(JsonEncodeNormalizer::class)] -#[Framework\Attributes\UsesClass(Format\JsonEncodeOptions::class)] +/** + * @covers \Ergebnis\Json\Normalizer\JsonEncodeNormalizer + * + * @uses \Ergebnis\Json\Normalizer\Format\JsonEncodeOptions + */ final class JsonEncodeNormalizerTest extends Framework\TestCase { use Test\Util\Helper; - #[Framework\Attributes\DataProvider('provideJsonEncodeOptions')] + /** + * @dataProvider provideJsonEncodeOptions + */ public function testNormalizeDecodesAndEncodesJsonWithJsonEncodeOptions(int $jsonEncodeOptions): void { $json = Json::fromString( @@ -56,7 +61,7 @@ public function testNormalizeDecodesAndEncodesJsonWithJsonEncodeOptions(int $jso /** * @return \Generator */ - public static function provideJsonEncodeOptions(): \Generator + public static function provideJsonEncodeOptions(): iterable { /** * Could add more, but the idea counts. diff --git a/test/Unit/SchemaNormalizerTest.php b/test/Unit/SchemaNormalizerTest.php index 2d6ef4c3..01c6c35d 100644 --- a/test/Unit/SchemaNormalizerTest.php +++ b/test/Unit/SchemaNormalizerTest.php @@ -15,7 +15,6 @@ use Ergebnis\Json\Json; use Ergebnis\Json\Normalizer\Exception; -use Ergebnis\Json\Normalizer\Format; use Ergebnis\Json\Normalizer\SchemaNormalizer; use Ergebnis\Json\Normalizer\Test; use Ergebnis\Json\Pointer; @@ -27,14 +26,17 @@ use JsonSchema\SchemaStorage; use PHPUnit\Framework; -#[Framework\Attributes\CoversClass(SchemaNormalizer::class)] -#[Framework\Attributes\UsesClass(Exception\NormalizedInvalidAccordingToSchema::class)] -#[Framework\Attributes\UsesClass(Exception\OriginalInvalidAccordingToSchema::class)] -#[Framework\Attributes\UsesClass(Exception\SchemaUriCouldNotBeRead::class)] -#[Framework\Attributes\UsesClass(Exception\SchemaUriCouldNotBeResolved::class)] -#[Framework\Attributes\UsesClass(Exception\SchemaUriReferencesDocumentWithInvalidMediaType::class)] -#[Framework\Attributes\UsesClass(Exception\SchemaUriReferencesInvalidJsonDocument::class)] -#[Framework\Attributes\UsesClass(Format\JsonEncodeOptions::class)] +/** + * @covers \Ergebnis\Json\Normalizer\SchemaNormalizer + * + * @uses \Ergebnis\Json\Normalizer\Exception\NormalizedInvalidAccordingToSchema + * @uses \Ergebnis\Json\Normalizer\Exception\OriginalInvalidAccordingToSchema + * @uses \Ergebnis\Json\Normalizer\Exception\SchemaUriCouldNotBeRead + * @uses \Ergebnis\Json\Normalizer\Exception\SchemaUriCouldNotBeResolved + * @uses \Ergebnis\Json\Normalizer\Exception\SchemaUriReferencesDocumentWithInvalidMediaType + * @uses \Ergebnis\Json\Normalizer\Exception\SchemaUriReferencesInvalidJsonDocument + * @uses \Ergebnis\Json\Normalizer\Format\JsonEncodeOptions + */ final class SchemaNormalizerTest extends Framework\TestCase { use Test\Util\Helper; @@ -214,8 +216,10 @@ public function testNormalizeThrowsOriginalInvalidAccordingToSchemaExceptionWhen $normalizer->normalize($json); } - #[Framework\Attributes\DataProvider('provideScenarioWithCustomJsonPointerSpecification')] - #[Framework\Attributes\DataProvider('provideScenarioWithDefaultJsonPointerSpecification')] + /** + * @dataProvider provideScenarioWithCustomJsonPointerSpecification + * @dataProvider provideScenarioWithDefaultJsonPointerSpecification + */ public function testNormalizeNormalizes(Test\Fixture\SchemaNormalizer\NormalizeNormalizesJson\Scenario $scenario): void { $json = $scenario->original(); @@ -235,7 +239,7 @@ public function testNormalizeNormalizes(Test\Fixture\SchemaNormalizer\NormalizeN /** * @return \Generator */ - public static function provideScenarioWithDefaultJsonPointerSpecification(): \Generator + public static function provideScenarioWithDefaultJsonPointerSpecification(): iterable { $basePath = __DIR__ . '/../'; @@ -316,7 +320,7 @@ public static function provideScenarioWithDefaultJsonPointerSpecification(): \Ge /** * @return \Generator */ - public static function provideScenarioWithCustomJsonPointerSpecification(): \Generator + public static function provideScenarioWithCustomJsonPointerSpecification(): iterable { $basePath = __DIR__ . '/../'; diff --git a/test/Unit/Vendor/Composer/ComposerJsonNormalizerTest.php b/test/Unit/Vendor/Composer/ComposerJsonNormalizerTest.php index 660ea9fa..e23c88a9 100644 --- a/test/Unit/Vendor/Composer/ComposerJsonNormalizerTest.php +++ b/test/Unit/Vendor/Composer/ComposerJsonNormalizerTest.php @@ -14,33 +14,34 @@ namespace Ergebnis\Json\Normalizer\Test\Unit\Vendor\Composer; use Ergebnis\Json\Json; -use Ergebnis\Json\Normalizer\ChainNormalizer; use Ergebnis\Json\Normalizer\Exception; -use Ergebnis\Json\Normalizer\Format; -use Ergebnis\Json\Normalizer\SchemaNormalizer; use Ergebnis\Json\Normalizer\Test; use Ergebnis\Json\Normalizer\Vendor; -use Ergebnis\Json\Normalizer\WithFinalNewLineNormalizer; use PHPUnit\Framework; -#[Framework\Attributes\CoversClass(SchemaNormalizer::class)] -#[Framework\Attributes\CoversClass(Vendor\Composer\BinNormalizer::class)] -#[Framework\Attributes\CoversClass(Vendor\Composer\ComposerJsonNormalizer::class)] -#[Framework\Attributes\CoversClass(Vendor\Composer\ConfigHashNormalizer::class)] -#[Framework\Attributes\CoversClass(Vendor\Composer\PackageHashNormalizer::class)] -#[Framework\Attributes\CoversClass(Vendor\Composer\RepositoriesHashNormalizer::class)] -#[Framework\Attributes\CoversClass(Vendor\Composer\VersionConstraintNormalizer::class)] -#[Framework\Attributes\CoversClass(Vendor\Composer\WildcardSorter::class)] -#[Framework\Attributes\UsesClass(ChainNormalizer::class)] -#[Framework\Attributes\UsesClass(Exception\OriginalInvalidAccordingToSchema::class)] -#[Framework\Attributes\UsesClass(Format\JsonEncodeOptions::class)] -#[Framework\Attributes\UsesClass(SchemaNormalizer::class)] -#[Framework\Attributes\UsesClass(WithFinalNewLineNormalizer::class)] +/** + * @covers \Ergebnis\Json\Normalizer\SchemaNormalizer + * @covers \Ergebnis\Json\Normalizer\Vendor\Composer\BinNormalizer + * @covers \Ergebnis\Json\Normalizer\Vendor\Composer\ComposerJsonNormalizer + * @covers \Ergebnis\Json\Normalizer\Vendor\Composer\ConfigHashNormalizer + * @covers \Ergebnis\Json\Normalizer\Vendor\Composer\PackageHashNormalizer + * @covers \Ergebnis\Json\Normalizer\Vendor\Composer\RepositoriesHashNormalizer + * @covers \Ergebnis\Json\Normalizer\Vendor\Composer\VersionConstraintNormalizer + * @covers \Ergebnis\Json\Normalizer\Vendor\Composer\WildcardSorter + * + * @uses \Ergebnis\Json\Normalizer\ChainNormalizer + * @uses \Ergebnis\Json\Normalizer\Exception\OriginalInvalidAccordingToSchema + * @uses \Ergebnis\Json\Normalizer\Format\JsonEncodeOptions + * @uses \Ergebnis\Json\Normalizer\SchemaNormalizer + * @uses \Ergebnis\Json\Normalizer\WithFinalNewLineNormalizer + */ final class ComposerJsonNormalizerTest extends Framework\TestCase { use Test\Util\Helper; - #[Framework\Attributes\DataProvider('provideScenarioWhereJsonIsInvalidAccordingToSchema')] + /** + * @dataProvider provideScenarioWhereJsonIsInvalidAccordingToSchema + */ public function testNormalizeRejectsJsonWhenItIsInvalidAccordingToSchema(Test\Fixture\Vendor\Composer\ComposerJsonNormalizer\NormalizeRejectsJson\Scenario $scenario): void { $json = $scenario->original(); @@ -58,7 +59,7 @@ public function testNormalizeRejectsJsonWhenItIsInvalidAccordingToSchema(Test\Fi /** * @return \Generator */ - public static function provideScenarioWhereJsonIsInvalidAccordingToSchema(): \Generator + public static function provideScenarioWhereJsonIsInvalidAccordingToSchema(): iterable { $basePath = __DIR__ . '/../../../'; @@ -90,7 +91,9 @@ public static function provideScenarioWhereJsonIsInvalidAccordingToSchema(): \Ge } } - #[Framework\Attributes\DataProvider('provideScenarioWhereJsonIsValidAccordingToSchema')] + /** + * @dataProvider provideScenarioWhereJsonIsValidAccordingToSchema + */ public function testNormalizeNormalizesJsonWhenItIsValidAccordingToSchema(Test\Fixture\Vendor\Composer\ComposerJsonNormalizer\NormalizeNormalizesJson\Scenario $scenario): void { $json = $scenario->original(); @@ -108,7 +111,7 @@ public function testNormalizeNormalizesJsonWhenItIsValidAccordingToSchema(Test\F /** * @return \Generator */ - public static function provideScenarioWhereJsonIsValidAccordingToSchema(): \Generator + public static function provideScenarioWhereJsonIsValidAccordingToSchema(): iterable { $basePath = __DIR__ . '/../../../'; diff --git a/test/Unit/WithFinalNewLineNormalizerTest.php b/test/Unit/WithFinalNewLineNormalizerTest.php index fa1410da..224ba608 100644 --- a/test/Unit/WithFinalNewLineNormalizerTest.php +++ b/test/Unit/WithFinalNewLineNormalizerTest.php @@ -19,12 +19,16 @@ use Ergebnis\Json\Normalizer\WithFinalNewLineNormalizer; use PHPUnit\Framework; -#[Framework\Attributes\CoversClass(WithFinalNewLineNormalizer::class)] +/** + * @covers \Ergebnis\Json\Normalizer\WithFinalNewLineNormalizer + */ final class WithFinalNewLineNormalizerTest extends Framework\TestCase { use Test\Util\Helper; - #[Framework\Attributes\DataProviderExternal(DataProvider\StringProvider::class, 'blank')] + /** + * @dataProvider \Ergebnis\DataProvider\StringProvider::blank + */ public function testNormalizeEnsuresSingleFinalNewLine(string $whitespace): void { $json = Json::fromString( diff --git a/test/Unit/WithoutFinalNewLineNormalizerTest.php b/test/Unit/WithoutFinalNewLineNormalizerTest.php index 8e54ee62..34c20ff6 100644 --- a/test/Unit/WithoutFinalNewLineNormalizerTest.php +++ b/test/Unit/WithoutFinalNewLineNormalizerTest.php @@ -19,12 +19,16 @@ use Ergebnis\Json\Normalizer\WithoutFinalNewLineNormalizer; use PHPUnit\Framework; -#[Framework\Attributes\CoversClass(WithoutFinalNewLineNormalizer::class)] +/** + * @covers \Ergebnis\Json\Normalizer\WithoutFinalNewLineNormalizer + */ final class WithoutFinalNewLineNormalizerTest extends Framework\TestCase { use Test\Util\Helper; - #[Framework\Attributes\DataProviderExternal(DataProvider\StringProvider::class, 'blank')] + /** + * @dataProvider \Ergebnis\DataProvider\StringProvider::blank + */ public function testNormalizeRemovesAllWhitespaceFromEndOfJson(string $whitespace): void { $json = Json::fromString( diff --git a/test/Unit/phpunit.xml b/test/Unit/phpunit.xml index 8192e53d..e4881a6c 100644 --- a/test/Unit/phpunit.xml +++ b/test/Unit/phpunit.xml @@ -1,38 +1,37 @@ - - - - - - + ../../src/ - + + ../../src/Subscriber/ + + + + + . From 68e3b491fa8509be845eca786fb03e8ca5ff74f7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20M=C3=B6ller?= Date: Tue, 30 Jan 2024 00:28:32 +0100 Subject: [PATCH 109/111] Enhancement: Add support for PHP 7.4 --- .github/settings.yml | 17 +- .github/workflows/integrate.yaml | 15 +- .github/workflows/renew.yaml | 2 +- .github/workflows/update.yaml | 2 +- .phive/phars.xml | 4 +- .php-cs-fixer.php | 2 +- CHANGELOG.md | 2 + composer-require-checker.json | 13 +- composer.json | 6 +- composer.lock | 702 ++++++++++-------- rector.php | 2 +- src/Exception/DependencyMissing.php | 2 +- src/Exception/InvalidIndentSize.php | 2 +- src/Exception/InvalidIndentStyle.php | 2 +- .../NormalizedInvalidAccordingToSchema.php | 2 +- .../OriginalInvalidAccordingToSchema.php | 2 +- src/Format/DefaultFormatter.php | 7 +- src/Format/Format.php | 19 +- src/Format/Formatter.php | 2 +- src/Format/Indent.php | 6 +- src/Format/JsonEncodeOptions.php | 7 +- src/Format/NewLine.php | 5 +- src/FormatNormalizer.php | 9 +- src/IndentNormalizer.php | 9 +- src/JsonEncodeNormalizer.php | 5 +- src/SchemaNormalizer.php | 33 +- .../Composer/VersionConstraintNormalizer.php | 6 +- src/Vendor/Composer/WildcardSorter.php | 4 +- .../NormalizeNormalizesJson/Scenario.php | 19 +- .../NormalizeNormalizesJson/Scenario.php | 23 +- .../NormalizeNormalizesJson/Scenario.php | 15 +- .../NormalizeRejectsJson/Scenario.php | 11 +- test/Unit/Format/IndentTest.php | 6 +- test/Unit/Format/JsonEncodeOptionsTest.php | 2 +- test/Util/Helper.php | 2 +- 35 files changed, 577 insertions(+), 390 deletions(-) diff --git a/.github/settings.yml b/.github/settings.yml index 73d81e05..860fbf34 100644 --- a/.github/settings.yml +++ b/.github/settings.yml @@ -14,13 +14,16 @@ branches: required_approving_review_count: 1 required_status_checks: checks: - - context: "Code Coverage (8.0, locked)" - - context: "Coding Standards (8.0, locked)" - - context: "Dependency Analysis (8.0, locked)" - - context: "Mutation Tests (8.0, locked)" - - context: "Refactoring (8.0, locked)" - - context: "Security Analysis (8.0, locked)" - - context: "Static Code Analysis (8.0, locked)" + - context: "Code Coverage (7.4, locked)" + - context: "Coding Standards (7.4, locked)" + - context: "Dependency Analysis (7.4, locked)" + - context: "Mutation Tests (7.4, locked)" + - context: "Refactoring (7.4, locked)" + - context: "Security Analysis (7.4, locked)" + - context: "Static Code Analysis (7.4, locked)" + - context: "Tests (7.4, highest)" + - context: "Tests (7.4, locked)" + - context: "Tests (7.4, lowest)" - context: "Tests (8.0, highest)" - context: "Tests (8.0, locked)" - context: "Tests (8.0, lowest)" diff --git a/.github/workflows/integrate.yaml b/.github/workflows/integrate.yaml index 3b8a3d6b..d19a9879 100644 --- a/.github/workflows/integrate.yaml +++ b/.github/workflows/integrate.yaml @@ -19,7 +19,7 @@ jobs: strategy: matrix: php-version: - - "8.0" + - "7.4" dependencies: - "locked" @@ -80,7 +80,7 @@ jobs: strategy: matrix: php-version: - - "8.0" + - "7.4" dependencies: - "locked" @@ -155,7 +155,7 @@ jobs: strategy: matrix: php-version: - - "8.0" + - "7.4" dependencies: - "locked" @@ -211,7 +211,7 @@ jobs: strategy: matrix: php-version: - - "8.0" + - "7.4" dependencies: - "locked" @@ -263,7 +263,7 @@ jobs: strategy: matrix: php-version: - - "8.0" + - "7.4" dependencies: - "locked" @@ -322,7 +322,7 @@ jobs: strategy: matrix: php-version: - - "8.0" + - "7.4" dependencies: - "locked" @@ -372,7 +372,7 @@ jobs: strategy: matrix: php-version: - - "8.0" + - "7.4" dependencies: - "locked" @@ -423,6 +423,7 @@ jobs: fail-fast: false matrix: php-version: + - "7.4" - "8.0" - "8.1" - "8.2" diff --git a/.github/workflows/renew.yaml b/.github/workflows/renew.yaml index 9d3aaca1..e566ee24 100644 --- a/.github/workflows/renew.yaml +++ b/.github/workflows/renew.yaml @@ -17,7 +17,7 @@ jobs: strategy: matrix: php-version: - - "8.0" + - "7.4" dependencies: - "locked" diff --git a/.github/workflows/update.yaml b/.github/workflows/update.yaml index 3e6be69e..7923b6a2 100644 --- a/.github/workflows/update.yaml +++ b/.github/workflows/update.yaml @@ -15,7 +15,7 @@ jobs: strategy: matrix: php-version: - - "8.0" + - "7.4" dependencies: - "locked" diff --git a/.phive/phars.xml b/.phive/phars.xml index 4a2bbfa0..f19b6f12 100644 --- a/.phive/phars.xml +++ b/.phive/phars.xml @@ -1,5 +1,5 @@ - - + + diff --git a/.php-cs-fixer.php b/.php-cs-fixer.php index c094d1c9..6b330851 100644 --- a/.php-cs-fixer.php +++ b/.php-cs-fixer.php @@ -26,7 +26,7 @@ $license->save(); -$ruleSet = PhpCsFixer\Config\RuleSet\Php80::create() +$ruleSet = PhpCsFixer\Config\RuleSet\Php74::create() ->withHeader($license->header()) ->withRules(PhpCsFixer\Config\Rules::fromArray([ 'mb_str_functions' => false, diff --git a/CHANGELOG.md b/CHANGELOG.md index a7cc1d67..0779fc24 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -15,6 +15,7 @@ For a full diff see [`4.4.1...main`][4.4.1...main]. - Required `ergebnis/json-pointer:^3.4.0` ([#1075]), by [@localheinz] - Required `ergebnis/json-schema-validator:^4.2.0` ([#1076]), by [@localheinz] - Added support for PHP 8.3 ([#1077]), by [@localheinz] +- Added support for PHP 7.7 ([#1079]), by [@localheinz] ## [`4.4.1`][4.4.1] @@ -688,6 +689,7 @@ For a full diff see [`5d8b3e2...0.1.0`][5d8b3e2...0.1.0]. [#1075]: https://github.com/ergebnis/json-normalizer/pull/1075 [#1076]: https://github.com/ergebnis/json-normalizer/pull/1076 [#1077]: https://github.com/ergebnis/json-normalizer/pull/1077 +[#1079]: https://github.com/ergebnis/json-normalizer/pull/1079 [@alexis-saransig-lullabot]: https://github.com/alexis-saransig-lullabot [@BackEndTea]: https://github.com/BackEndTea diff --git a/composer-require-checker.json b/composer-require-checker.json index d1fbc5cb..f27a313b 100644 --- a/composer-require-checker.json +++ b/composer-require-checker.json @@ -1,6 +1,17 @@ { "symbol-whitelist": [ + "array", + "bool", + "callable", "Composer\\Semver\\Semver", - "Composer\\Semver\\VersionParser" + "Composer\\Semver\\VersionParser", + "false", + "int", + "null", + "object", + "self", + "string", + "true", + "void" ] } diff --git a/composer.json b/composer.json index f654f27d..0555873d 100644 --- a/composer.json +++ b/composer.json @@ -21,7 +21,7 @@ "security": "https://github.com/ergebnis/json-normalizer/blob/main/.github/SECURITY.md" }, "require": { - "php": "~8.0.0 || ~8.1.0 || ~8.2.0 || ~8.3.0", + "php": "~7.4.0 || ~8.0.0 || ~8.1.0 || ~8.2.0 || ~8.3.0", "ext-json": "*", "ergebnis/json": "^1.2.0", "ergebnis/json-pointer": "^3.4.0", @@ -36,7 +36,7 @@ "ergebnis/php-cs-fixer-config": "^6.20.0", "ergebnis/phpunit-slow-test-detector": "^2.9.0", "fakerphp/faker": "^1.23.1", - "infection/infection": "~0.26.19", + "infection/infection": "~0.26.6", "phpunit/phpunit": "^9.6.16", "psalm/plugin-phpunit": "~0.18.4", "rector/rector": "~0.19.4", @@ -64,7 +64,7 @@ "abandoned": "report" }, "platform": { - "php": "8.0.30" + "php": "7.4.33" }, "preferred-install": "dist", "sort-packages": true diff --git a/composer.lock b/composer.lock index 0092ddfc..51b63b9b 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "5cdec39cffb31581185f2de8fececf8a", + "content-hash": "416787585772db41e344d86f53a45606", "packages": [ { "name": "ergebnis/json", @@ -507,97 +507,6 @@ ], "time": "2021-03-30T17:13:30+00:00" }, - { - "name": "colinodell/json5", - "version": "v2.3.0", - "source": { - "type": "git", - "url": "https://github.com/colinodell/json5.git", - "reference": "15b063f8cb5e6deb15f0cd39123264ec0d19c710" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/colinodell/json5/zipball/15b063f8cb5e6deb15f0cd39123264ec0d19c710", - "reference": "15b063f8cb5e6deb15f0cd39123264ec0d19c710", - "shasum": "" - }, - "require": { - "ext-json": "*", - "ext-mbstring": "*", - "php": "^7.1.3|^8.0" - }, - "conflict": { - "scrutinizer/ocular": "1.7.*" - }, - "require-dev": { - "mikehaertl/php-shellcommand": "^1.2.5", - "phpstan/phpstan": "^1.4", - "scrutinizer/ocular": "^1.6", - "squizlabs/php_codesniffer": "^2.3 || ^3.0", - "symfony/finder": "^4.4|^5.4|^6.0", - "symfony/phpunit-bridge": "^5.4|^6.0" - }, - "bin": [ - "bin/json5" - ], - "type": "library", - "extra": { - "branch-alias": { - "dev-main": "3.0-dev" - } - }, - "autoload": { - "files": [ - "src/global.php" - ], - "psr-4": { - "ColinODell\\Json5\\": "src" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Colin O'Dell", - "email": "colinodell@gmail.com", - "homepage": "https://www.colinodell.com", - "role": "Developer" - } - ], - "description": "UTF-8 compatible JSON5 parser for PHP", - "homepage": "https://github.com/colinodell/json5", - "keywords": [ - "JSON5", - "json", - "json5_decode", - "json_decode" - ], - "support": { - "issues": "https://github.com/colinodell/json5/issues", - "source": "https://github.com/colinodell/json5/tree/v2.3.0" - }, - "funding": [ - { - "url": "https://www.colinodell.com/sponsor", - "type": "custom" - }, - { - "url": "https://www.paypal.me/colinpodell/10.00", - "type": "custom" - }, - { - "url": "https://github.com/colinodell", - "type": "github" - }, - { - "url": "https://www.patreon.com/colinodell", - "type": "patreon" - } - ], - "time": "2022-12-27T16:44:40+00:00" - }, { "name": "composer/package-versions-deprecated", "version": "1.11.99.5", @@ -1532,16 +1441,16 @@ }, { "name": "fidry/cpu-core-counter", - "version": "0.4.1", + "version": "1.0.0", "source": { "type": "git", "url": "https://github.com/theofidry/cpu-core-counter.git", - "reference": "79261cc280aded96d098e1b0e0ba0c4881b432c2" + "reference": "85193c0b0cb5c47894b5eaec906e946f054e7077" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/theofidry/cpu-core-counter/zipball/79261cc280aded96d098e1b0e0ba0c4881b432c2", - "reference": "79261cc280aded96d098e1b0e0ba0c4881b432c2", + "url": "https://api.github.com/repos/theofidry/cpu-core-counter/zipball/85193c0b0cb5c47894b5eaec906e946f054e7077", + "reference": "85193c0b0cb5c47894b5eaec906e946f054e7077", "shasum": "" }, "require": { @@ -1549,13 +1458,13 @@ }, "require-dev": { "fidry/makefile": "^0.2.0", + "fidry/php-cs-fixer-config": "^1.1.2", "phpstan/extension-installer": "^1.2.0", "phpstan/phpstan": "^1.9.2", "phpstan/phpstan-deprecation-rules": "^1.0.0", "phpstan/phpstan-phpunit": "^1.2.2", "phpstan/phpstan-strict-rules": "^1.4.4", - "phpunit/phpunit": "^9.5.26 || ^8.5.31", - "theofidry/php-cs-fixer-config": "^1.0", + "phpunit/phpunit": "^8.5.31 || ^9.5.26", "webmozarts/strict-phpunit": "^7.5" }, "type": "library", @@ -1581,7 +1490,7 @@ ], "support": { "issues": "https://github.com/theofidry/cpu-core-counter/issues", - "source": "https://github.com/theofidry/cpu-core-counter/tree/0.4.1" + "source": "https://github.com/theofidry/cpu-core-counter/tree/1.0.0" }, "funding": [ { @@ -1589,7 +1498,7 @@ "type": "github" } ], - "time": "2022-12-16T22:01:02+00:00" + "time": "2023-09-17T21:38:23+00:00" }, { "name": "friendsofphp/php-cs-fixer", @@ -1861,63 +1770,61 @@ }, { "name": "infection/infection", - "version": "0.26.19", + "version": "0.26.6", "source": { "type": "git", "url": "https://github.com/infection/infection.git", - "reference": "bd7351c88f3a797ea8977e68fe6a3f4d4c5f457f" + "reference": "de9b6b92f00ff1cb39decddf95797a4ebec3a1ee" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/infection/infection/zipball/bd7351c88f3a797ea8977e68fe6a3f4d4c5f457f", - "reference": "bd7351c88f3a797ea8977e68fe6a3f4d4c5f457f", + "url": "https://api.github.com/repos/infection/infection/zipball/de9b6b92f00ff1cb39decddf95797a4ebec3a1ee", + "reference": "de9b6b92f00ff1cb39decddf95797a4ebec3a1ee", "shasum": "" }, "require": { - "colinodell/json5": "^2.2", "composer-runtime-api": "^2.0", "composer/xdebug-handler": "^2.0 || ^3.0", "ext-dom": "*", "ext-json": "*", "ext-libxml": "*", - "ext-mbstring": "*", - "fidry/cpu-core-counter": "^0.4.0", "infection/abstract-testframework-adapter": "^0.5.0", "infection/extension-installer": "^0.1.0", "infection/include-interceptor": "^0.2.5", "justinrainbow/json-schema": "^5.2.10", - "nikic/php-parser": "^4.15.1", + "nikic/php-parser": "^4.13.2", "ondram/ci-detector": "^4.1.0", - "php": "^8.0", + "php": "^7.4.7 || ^8.0", "sanmai/later": "^0.1.1", "sanmai/pipeline": "^5.1 || ^6", - "sebastian/diff": "^3.0.2 || ^4.0 || ^5.0", - "symfony/console": "^5.4 || ^6.0", - "symfony/filesystem": "^5.4 || ^6.0", - "symfony/finder": "^5.4 || ^6.0", - "symfony/process": "^5.4 || ^6.0", - "thecodingmachine/safe": "^2.1.2", - "webmozart/assert": "^1.11" + "sebastian/diff": "^3.0.2 || ^4.0", + "seld/jsonlint": "^1.7", + "symfony/console": "^3.4.29 || ^4.1.19 || ^5.0 || ^6.0", + "symfony/filesystem": "^3.4.29 || ^4.1.19 || ^5.0 || ^6.0", + "symfony/finder": "^3.4.29 || ^4.1.19 || ^5.0 || ^6.0", + "symfony/process": "^3.4.29 || ^4.1.19 || ^5.0 || ^6.0", + "thecodingmachine/safe": "^1.1.3", + "webmozart/assert": "^1.3", + "webmozart/path-util": "^2.3" }, "conflict": { - "dg/bypass-finals": "<1.4.1", - "phpunit/php-code-coverage": ">9,<9.1.4 || >9.2.17,<9.2.21" + "dg/bypass-finals": "*", + "phpunit/php-code-coverage": ">9 <9.1.4" }, "require-dev": { "brianium/paratest": "^6.3", "ext-simplexml": "*", - "fidry/makefile": "^0.2.0", "helmich/phpunit-json-assert": "^3.0", "phpspec/prophecy-phpunit": "^2.0", "phpstan/extension-installer": "^1.1.0", - "phpstan/phpstan": "^1.3.0", + "phpstan/phpstan": "^1.2.0", "phpstan/phpstan-phpunit": "^1.0.0", "phpstan/phpstan-strict-rules": "^1.1.0", "phpstan/phpstan-webmozart-assert": "^1.0.2", - "phpunit/phpunit": "^9.5.5", - "symfony/phpunit-bridge": "^5.4 || ^6.0", - "symfony/yaml": "^5.4 || ^6.0", - "thecodingmachine/phpstan-safe-rule": "^1.2.0" + "phpunit/phpunit": "^9.3.11", + "symfony/phpunit-bridge": "^4.4.18 || ^5.1.10", + "symfony/yaml": "^5.0", + "thecodingmachine/phpstan-safe-rule": "^1.1.0" }, "bin": [ "bin/infection" @@ -1973,7 +1880,7 @@ ], "support": { "issues": "https://github.com/infection/infection/issues", - "source": "https://github.com/infection/infection/tree/0.26.19" + "source": "https://github.com/infection/infection/tree/0.26.6" }, "funding": [ { @@ -1985,7 +1892,7 @@ "type": "open_collective" } ], - "time": "2023-02-05T21:47:26+00:00" + "time": "2022-03-07T11:40:30+00:00" }, { "name": "kubawerlos/php-cs-fixer-custom-fixers", @@ -3252,30 +3159,30 @@ }, { "name": "psr/log", - "version": "3.0.0", + "version": "1.1.4", "source": { "type": "git", "url": "https://github.com/php-fig/log.git", - "reference": "fe5ea303b0887d5caefd3d431c3e61ad47037001" + "reference": "d49695b909c3b7628b6289db5479a1c204601f11" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/php-fig/log/zipball/fe5ea303b0887d5caefd3d431c3e61ad47037001", - "reference": "fe5ea303b0887d5caefd3d431c3e61ad47037001", + "url": "https://api.github.com/repos/php-fig/log/zipball/d49695b909c3b7628b6289db5479a1c204601f11", + "reference": "d49695b909c3b7628b6289db5479a1c204601f11", "shasum": "" }, "require": { - "php": ">=8.0.0" + "php": ">=5.3.0" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "3.x-dev" + "dev-master": "1.1.x-dev" } }, "autoload": { "psr-4": { - "Psr\\Log\\": "src" + "Psr\\Log\\": "Psr/Log/" } }, "notification-url": "https://packagist.org/downloads/", @@ -3296,9 +3203,9 @@ "psr-3" ], "support": { - "source": "https://github.com/php-fig/log/tree/3.0.0" + "source": "https://github.com/php-fig/log/tree/1.1.4" }, - "time": "2021-07-14T16:46:02+00:00" + "time": "2021-05-03T11:20:27+00:00" }, { "name": "rector/rector", @@ -4449,27 +4356,92 @@ ], "time": "2020-09-28T06:39:44+00:00" }, + { + "name": "seld/jsonlint", + "version": "1.10.1", + "source": { + "type": "git", + "url": "https://github.com/Seldaek/jsonlint.git", + "reference": "76d449a358ece77d6f1d6331c68453e657172202" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/Seldaek/jsonlint/zipball/76d449a358ece77d6f1d6331c68453e657172202", + "reference": "76d449a358ece77d6f1d6331c68453e657172202", + "shasum": "" + }, + "require": { + "php": "^5.3 || ^7.0 || ^8.0" + }, + "require-dev": { + "phpstan/phpstan": "^1.5", + "phpunit/phpunit": "^4.8.35 || ^5.7 || ^6.0 || ^8.5.13" + }, + "bin": [ + "bin/jsonlint" + ], + "type": "library", + "autoload": { + "psr-4": { + "Seld\\JsonLint\\": "src/Seld/JsonLint/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Jordi Boggiano", + "email": "j.boggiano@seld.be", + "homepage": "https://seld.be" + } + ], + "description": "JSON Linter", + "keywords": [ + "json", + "linter", + "parser", + "validator" + ], + "support": { + "issues": "https://github.com/Seldaek/jsonlint/issues", + "source": "https://github.com/Seldaek/jsonlint/tree/1.10.1" + }, + "funding": [ + { + "url": "https://github.com/Seldaek", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/seld/jsonlint", + "type": "tidelift" + } + ], + "time": "2023-12-18T13:03:25+00:00" + }, { "name": "spatie/array-to-xml", - "version": "3.2.2", + "version": "2.17.1", "source": { "type": "git", "url": "https://github.com/spatie/array-to-xml.git", - "reference": "96be97e664c87613121d073ea39af4c74e57a7f8" + "reference": "5cbec9c6ab17e320c58a259f0cebe88bde4a7c46" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/spatie/array-to-xml/zipball/96be97e664c87613121d073ea39af4c74e57a7f8", - "reference": "96be97e664c87613121d073ea39af4c74e57a7f8", + "url": "https://api.github.com/repos/spatie/array-to-xml/zipball/5cbec9c6ab17e320c58a259f0cebe88bde4a7c46", + "reference": "5cbec9c6ab17e320c58a259f0cebe88bde4a7c46", "shasum": "" }, "require": { "ext-dom": "*", - "php": "^8.0" + "php": "^7.4|^8.0" }, "require-dev": { "mockery/mockery": "^1.2", "pestphp/pest": "^1.21", + "phpunit/phpunit": "^9.0", "spatie/pest-plugin-snapshots": "^1.1" }, "type": "library", @@ -4498,7 +4470,7 @@ "xml" ], "support": { - "source": "https://github.com/spatie/array-to-xml/tree/3.2.2" + "source": "https://github.com/spatie/array-to-xml/tree/2.17.1" }, "funding": [ { @@ -4510,46 +4482,50 @@ "type": "github" } ], - "time": "2023-11-14T14:08:51+00:00" + "time": "2022-12-26T08:22:07+00:00" }, { "name": "symfony/console", - "version": "v6.0.19", + "version": "v5.4.34", "source": { "type": "git", "url": "https://github.com/symfony/console.git", - "reference": "c3ebc83d031b71c39da318ca8b7a07ecc67507ed" + "reference": "4b4d8cd118484aa604ec519062113dd87abde18c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/console/zipball/c3ebc83d031b71c39da318ca8b7a07ecc67507ed", - "reference": "c3ebc83d031b71c39da318ca8b7a07ecc67507ed", + "url": "https://api.github.com/repos/symfony/console/zipball/4b4d8cd118484aa604ec519062113dd87abde18c", + "reference": "4b4d8cd118484aa604ec519062113dd87abde18c", "shasum": "" }, "require": { - "php": ">=8.0.2", + "php": ">=7.2.5", + "symfony/deprecation-contracts": "^2.1|^3", "symfony/polyfill-mbstring": "~1.0", + "symfony/polyfill-php73": "^1.9", + "symfony/polyfill-php80": "^1.16", "symfony/service-contracts": "^1.1|^2|^3", - "symfony/string": "^5.4|^6.0" + "symfony/string": "^5.1|^6.0" }, "conflict": { - "symfony/dependency-injection": "<5.4", - "symfony/dotenv": "<5.4", - "symfony/event-dispatcher": "<5.4", - "symfony/lock": "<5.4", - "symfony/process": "<5.4" + "psr/log": ">=3", + "symfony/dependency-injection": "<4.4", + "symfony/dotenv": "<5.1", + "symfony/event-dispatcher": "<4.4", + "symfony/lock": "<4.4", + "symfony/process": "<4.4" }, "provide": { - "psr/log-implementation": "1.0|2.0|3.0" + "psr/log-implementation": "1.0|2.0" }, "require-dev": { - "psr/log": "^1|^2|^3", - "symfony/config": "^5.4|^6.0", - "symfony/dependency-injection": "^5.4|^6.0", - "symfony/event-dispatcher": "^5.4|^6.0", - "symfony/lock": "^5.4|^6.0", - "symfony/process": "^5.4|^6.0", - "symfony/var-dumper": "^5.4|^6.0" + "psr/log": "^1|^2", + "symfony/config": "^4.4|^5.0|^6.0", + "symfony/dependency-injection": "^4.4|^5.0|^6.0", + "symfony/event-dispatcher": "^4.4|^5.0|^6.0", + "symfony/lock": "^4.4|^5.0|^6.0", + "symfony/process": "^4.4|^5.0|^6.0", + "symfony/var-dumper": "^4.4|^5.0|^6.0" }, "suggest": { "psr/log": "For using the console logger", @@ -4584,12 +4560,12 @@ "homepage": "https://symfony.com", "keywords": [ "cli", - "command line", + "command-line", "console", "terminal" ], "support": { - "source": "https://github.com/symfony/console/tree/v6.0.19" + "source": "https://github.com/symfony/console/tree/v5.4.34" }, "funding": [ { @@ -4605,29 +4581,29 @@ "type": "tidelift" } ], - "time": "2023-01-01T08:36:10+00:00" + "time": "2023-12-08T13:33:03+00:00" }, { "name": "symfony/deprecation-contracts", - "version": "v3.0.2", + "version": "v2.5.2", "source": { "type": "git", "url": "https://github.com/symfony/deprecation-contracts.git", - "reference": "26954b3d62a6c5fd0ea8a2a00c0353a14978d05c" + "reference": "e8b495ea28c1d97b5e0c121748d6f9b53d075c66" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/26954b3d62a6c5fd0ea8a2a00c0353a14978d05c", - "reference": "26954b3d62a6c5fd0ea8a2a00c0353a14978d05c", + "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/e8b495ea28c1d97b5e0c121748d6f9b53d075c66", + "reference": "e8b495ea28c1d97b5e0c121748d6f9b53d075c66", "shasum": "" }, "require": { - "php": ">=8.0.2" + "php": ">=7.1" }, "type": "library", "extra": { "branch-alias": { - "dev-main": "3.0-dev" + "dev-main": "2.5-dev" }, "thanks": { "name": "symfony/contracts", @@ -4656,7 +4632,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.0.2" + "source": "https://github.com/symfony/deprecation-contracts/tree/v2.5.2" }, "funding": [ { @@ -4672,42 +4648,44 @@ "type": "tidelift" } ], - "time": "2022-01-02T09:55:41+00:00" + "time": "2022-01-02T09:53:40+00:00" }, { "name": "symfony/event-dispatcher", - "version": "v6.0.19", + "version": "v5.4.34", "source": { "type": "git", "url": "https://github.com/symfony/event-dispatcher.git", - "reference": "2eaf8e63bc5b8cefabd4a800157f0d0c094f677a" + "reference": "e3bca343efeb613f843c254e7718ef17c9bdf7a3" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/2eaf8e63bc5b8cefabd4a800157f0d0c094f677a", - "reference": "2eaf8e63bc5b8cefabd4a800157f0d0c094f677a", + "url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/e3bca343efeb613f843c254e7718ef17c9bdf7a3", + "reference": "e3bca343efeb613f843c254e7718ef17c9bdf7a3", "shasum": "" }, "require": { - "php": ">=8.0.2", - "symfony/event-dispatcher-contracts": "^2|^3" + "php": ">=7.2.5", + "symfony/deprecation-contracts": "^2.1|^3", + "symfony/event-dispatcher-contracts": "^2|^3", + "symfony/polyfill-php80": "^1.16" }, "conflict": { - "symfony/dependency-injection": "<5.4" + "symfony/dependency-injection": "<4.4" }, "provide": { "psr/event-dispatcher-implementation": "1.0", - "symfony/event-dispatcher-implementation": "2.0|3.0" + "symfony/event-dispatcher-implementation": "2.0" }, "require-dev": { "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/config": "^4.4|^5.0|^6.0", + "symfony/dependency-injection": "^4.4|^5.0|^6.0", + "symfony/error-handler": "^4.4|^5.0|^6.0", + "symfony/expression-language": "^4.4|^5.0|^6.0", + "symfony/http-foundation": "^4.4|^5.0|^6.0", "symfony/service-contracts": "^1.1|^2|^3", - "symfony/stopwatch": "^5.4|^6.0" + "symfony/stopwatch": "^4.4|^5.0|^6.0" }, "suggest": { "symfony/dependency-injection": "", @@ -4739,7 +4717,7 @@ "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/event-dispatcher/tree/v6.0.19" + "source": "https://github.com/symfony/event-dispatcher/tree/v5.4.34" }, "funding": [ { @@ -4755,24 +4733,24 @@ "type": "tidelift" } ], - "time": "2023-01-01T08:36:10+00:00" + "time": "2023-12-27T21:12:56+00:00" }, { "name": "symfony/event-dispatcher-contracts", - "version": "v3.0.2", + "version": "v2.5.2", "source": { "type": "git", "url": "https://github.com/symfony/event-dispatcher-contracts.git", - "reference": "7bc61cc2db649b4637d331240c5346dcc7708051" + "reference": "f98b54df6ad059855739db6fcbc2d36995283fe1" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/event-dispatcher-contracts/zipball/7bc61cc2db649b4637d331240c5346dcc7708051", - "reference": "7bc61cc2db649b4637d331240c5346dcc7708051", + "url": "https://api.github.com/repos/symfony/event-dispatcher-contracts/zipball/f98b54df6ad059855739db6fcbc2d36995283fe1", + "reference": "f98b54df6ad059855739db6fcbc2d36995283fe1", "shasum": "" }, "require": { - "php": ">=8.0.2", + "php": ">=7.2.5", "psr/event-dispatcher": "^1" }, "suggest": { @@ -4781,7 +4759,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "3.0-dev" + "dev-main": "2.5-dev" }, "thanks": { "name": "symfony/contracts", @@ -4818,7 +4796,7 @@ "standards" ], "support": { - "source": "https://github.com/symfony/event-dispatcher-contracts/tree/v3.0.2" + "source": "https://github.com/symfony/event-dispatcher-contracts/tree/v2.5.2" }, "funding": [ { @@ -4834,26 +4812,27 @@ "type": "tidelift" } ], - "time": "2022-01-02T09:55:41+00:00" + "time": "2022-01-02T09:53:40+00:00" }, { "name": "symfony/filesystem", - "version": "v6.0.19", + "version": "v5.4.25", "source": { "type": "git", "url": "https://github.com/symfony/filesystem.git", - "reference": "3d49eec03fda1f0fc19b7349fbbe55ebc1004214" + "reference": "0ce3a62c9579a53358d3a7eb6b3dfb79789a6364" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/filesystem/zipball/3d49eec03fda1f0fc19b7349fbbe55ebc1004214", - "reference": "3d49eec03fda1f0fc19b7349fbbe55ebc1004214", + "url": "https://api.github.com/repos/symfony/filesystem/zipball/0ce3a62c9579a53358d3a7eb6b3dfb79789a6364", + "reference": "0ce3a62c9579a53358d3a7eb6b3dfb79789a6364", "shasum": "" }, "require": { - "php": ">=8.0.2", + "php": ">=7.2.5", "symfony/polyfill-ctype": "~1.8", - "symfony/polyfill-mbstring": "~1.8" + "symfony/polyfill-mbstring": "~1.8", + "symfony/polyfill-php80": "^1.16" }, "type": "library", "autoload": { @@ -4881,7 +4860,7 @@ "description": "Provides basic utilities for the filesystem", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/filesystem/tree/v6.0.19" + "source": "https://github.com/symfony/filesystem/tree/v5.4.25" }, "funding": [ { @@ -4897,24 +4876,26 @@ "type": "tidelift" } ], - "time": "2023-01-20T17:44:14+00:00" + "time": "2023-05-31T13:04:02+00:00" }, { "name": "symfony/finder", - "version": "v6.0.19", + "version": "v5.4.27", "source": { "type": "git", "url": "https://github.com/symfony/finder.git", - "reference": "5cc9cac6586fc0c28cd173780ca696e419fefa11" + "reference": "ff4bce3c33451e7ec778070e45bd23f74214cd5d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/finder/zipball/5cc9cac6586fc0c28cd173780ca696e419fefa11", - "reference": "5cc9cac6586fc0c28cd173780ca696e419fefa11", + "url": "https://api.github.com/repos/symfony/finder/zipball/ff4bce3c33451e7ec778070e45bd23f74214cd5d", + "reference": "ff4bce3c33451e7ec778070e45bd23f74214cd5d", "shasum": "" }, "require": { - "php": ">=8.0.2" + "php": ">=7.2.5", + "symfony/deprecation-contracts": "^2.1|^3", + "symfony/polyfill-php80": "^1.16" }, "type": "library", "autoload": { @@ -4942,7 +4923,7 @@ "description": "Finds files and directories via an intuitive fluent interface", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/finder/tree/v6.0.19" + "source": "https://github.com/symfony/finder/tree/v5.4.27" }, "funding": [ { @@ -4958,25 +4939,27 @@ "type": "tidelift" } ], - "time": "2023-01-20T17:44:14+00:00" + "time": "2023-07-31T08:02:31+00:00" }, { "name": "symfony/options-resolver", - "version": "v6.0.19", + "version": "v5.4.21", "source": { "type": "git", "url": "https://github.com/symfony/options-resolver.git", - "reference": "6a180d1c45e0d9797470ca9eb46215692de00fa3" + "reference": "4fe5cf6ede71096839f0e4b4444d65dd3a7c1eb9" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/options-resolver/zipball/6a180d1c45e0d9797470ca9eb46215692de00fa3", - "reference": "6a180d1c45e0d9797470ca9eb46215692de00fa3", + "url": "https://api.github.com/repos/symfony/options-resolver/zipball/4fe5cf6ede71096839f0e4b4444d65dd3a7c1eb9", + "reference": "4fe5cf6ede71096839f0e4b4444d65dd3a7c1eb9", "shasum": "" }, "require": { - "php": ">=8.0.2", - "symfony/deprecation-contracts": "^2.1|^3" + "php": ">=7.2.5", + "symfony/deprecation-contracts": "^2.1|^3", + "symfony/polyfill-php73": "~1.0", + "symfony/polyfill-php80": "^1.16" }, "type": "library", "autoload": { @@ -5009,7 +4992,7 @@ "options" ], "support": { - "source": "https://github.com/symfony/options-resolver/tree/v6.0.19" + "source": "https://github.com/symfony/options-resolver/tree/v5.4.21" }, "funding": [ { @@ -5025,7 +5008,7 @@ "type": "tidelift" } ], - "time": "2023-01-01T08:36:10+00:00" + "time": "2023-02-14T08:03:56+00:00" }, { "name": "symfony/polyfill-ctype", @@ -5357,6 +5340,85 @@ ], "time": "2023-07-28T09:04:16+00:00" }, + { + "name": "symfony/polyfill-php73", + "version": "v1.28.0", + "source": { + "type": "git", + "url": "https://github.com/symfony/polyfill-php73.git", + "reference": "fe2f306d1d9d346a7fee353d0d5012e401e984b5" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/polyfill-php73/zipball/fe2f306d1d9d346a7fee353d0d5012e401e984b5", + "reference": "fe2f306d1d9d346a7fee353d0d5012e401e984b5", + "shasum": "" + }, + "require": { + "php": ">=7.1" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "1.28-dev" + }, + "thanks": { + "name": "symfony/polyfill", + "url": "https://github.com/symfony/polyfill" + } + }, + "autoload": { + "files": [ + "bootstrap.php" + ], + "psr-4": { + "Symfony\\Polyfill\\Php73\\": "" + }, + "classmap": [ + "Resources/stubs" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Nicolas Grekas", + "email": "p@tchwork.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony polyfill backporting some PHP 7.3+ features to lower PHP versions", + "homepage": "https://symfony.com", + "keywords": [ + "compatibility", + "polyfill", + "portable", + "shim" + ], + "support": { + "source": "https://github.com/symfony/polyfill-php73/tree/v1.28.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": "2023-01-26T09:26:14+00:00" + }, { "name": "symfony/polyfill-php80", "version": "v1.28.0", @@ -5521,20 +5583,21 @@ }, { "name": "symfony/process", - "version": "v6.0.19", + "version": "v5.4.34", "source": { "type": "git", "url": "https://github.com/symfony/process.git", - "reference": "2114fd60f26a296cc403a7939ab91478475a33d4" + "reference": "8fa22178dfc368911dbd513b431cd9b06f9afe7a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/process/zipball/2114fd60f26a296cc403a7939ab91478475a33d4", - "reference": "2114fd60f26a296cc403a7939ab91478475a33d4", + "url": "https://api.github.com/repos/symfony/process/zipball/8fa22178dfc368911dbd513b431cd9b06f9afe7a", + "reference": "8fa22178dfc368911dbd513b431cd9b06f9afe7a", "shasum": "" }, "require": { - "php": ">=8.0.2" + "php": ">=7.2.5", + "symfony/polyfill-php80": "^1.16" }, "type": "library", "autoload": { @@ -5562,7 +5625,7 @@ "description": "Executes commands in sub-processes", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/process/tree/v6.0.19" + "source": "https://github.com/symfony/process/tree/v5.4.34" }, "funding": [ { @@ -5578,40 +5641,33 @@ "type": "tidelift" } ], - "time": "2023-01-01T08:36:10+00:00" + "time": "2023-12-02T08:41:43+00:00" }, { "name": "symfony/service-contracts", - "version": "v3.0.2", + "version": "v1.1.2", "source": { "type": "git", "url": "https://github.com/symfony/service-contracts.git", - "reference": "d78d39c1599bd1188b8e26bb341da52c3c6d8a66" + "reference": "191afdcb5804db960d26d8566b7e9a2843cab3a0" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/service-contracts/zipball/d78d39c1599bd1188b8e26bb341da52c3c6d8a66", - "reference": "d78d39c1599bd1188b8e26bb341da52c3c6d8a66", + "url": "https://api.github.com/repos/symfony/service-contracts/zipball/191afdcb5804db960d26d8566b7e9a2843cab3a0", + "reference": "191afdcb5804db960d26d8566b7e9a2843cab3a0", "shasum": "" }, "require": { - "php": ">=8.0.2", - "psr/container": "^2.0" - }, - "conflict": { - "ext-psr": "<1.1|>=2" + "php": "^7.1.3" }, "suggest": { + "psr/container": "", "symfony/service-implementation": "" }, "type": "library", "extra": { "branch-alias": { - "dev-main": "3.0-dev" - }, - "thanks": { - "name": "symfony/contracts", - "url": "https://github.com/symfony/contracts" + "dev-master": "1.1-dev" } }, "autoload": { @@ -5644,40 +5700,26 @@ "standards" ], "support": { - "source": "https://github.com/symfony/service-contracts/tree/v3.0.2" + "source": "https://github.com/symfony/service-contracts/tree/v1.1.2" }, - "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-05-30T19:17:58+00:00" + "time": "2019-05-28T07:50:59+00:00" }, { "name": "symfony/stopwatch", - "version": "v6.0.19", + "version": "v5.4.21", "source": { "type": "git", "url": "https://github.com/symfony/stopwatch.git", - "reference": "011e781839dd1d2eb8119f65ac516a530f60226d" + "reference": "f83692cd869a6f2391691d40a01e8acb89e76fee" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/stopwatch/zipball/011e781839dd1d2eb8119f65ac516a530f60226d", - "reference": "011e781839dd1d2eb8119f65ac516a530f60226d", + "url": "https://api.github.com/repos/symfony/stopwatch/zipball/f83692cd869a6f2391691d40a01e8acb89e76fee", + "reference": "f83692cd869a6f2391691d40a01e8acb89e76fee", "shasum": "" }, "require": { - "php": ">=8.0.2", + "php": ">=7.2.5", "symfony/service-contracts": "^1|^2|^3" }, "type": "library", @@ -5706,7 +5748,7 @@ "description": "Provides a way to profile code", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/stopwatch/tree/v6.0.19" + "source": "https://github.com/symfony/stopwatch/tree/v5.4.21" }, "funding": [ { @@ -5722,37 +5764,38 @@ "type": "tidelift" } ], - "time": "2023-01-01T08:36:10+00:00" + "time": "2023-02-14T08:03:56+00:00" }, { "name": "symfony/string", - "version": "v6.0.19", + "version": "v5.4.34", "source": { "type": "git", "url": "https://github.com/symfony/string.git", - "reference": "d9e72497367c23e08bf94176d2be45b00a9d232a" + "reference": "e3f98bfc7885c957488f443df82d97814a3ce061" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/string/zipball/d9e72497367c23e08bf94176d2be45b00a9d232a", - "reference": "d9e72497367c23e08bf94176d2be45b00a9d232a", + "url": "https://api.github.com/repos/symfony/string/zipball/e3f98bfc7885c957488f443df82d97814a3ce061", + "reference": "e3f98bfc7885c957488f443df82d97814a3ce061", "shasum": "" }, "require": { - "php": ">=8.0.2", + "php": ">=7.2.5", "symfony/polyfill-ctype": "~1.8", "symfony/polyfill-intl-grapheme": "~1.0", "symfony/polyfill-intl-normalizer": "~1.0", - "symfony/polyfill-mbstring": "~1.0" + "symfony/polyfill-mbstring": "~1.0", + "symfony/polyfill-php80": "~1.15" }, "conflict": { - "symfony/translation-contracts": "<2.0" + "symfony/translation-contracts": ">=3.0" }, "require-dev": { - "symfony/error-handler": "^5.4|^6.0", - "symfony/http-client": "^5.4|^6.0", - "symfony/translation-contracts": "^2.0|^3.0", - "symfony/var-exporter": "^5.4|^6.0" + "symfony/error-handler": "^4.4|^5.0|^6.0", + "symfony/http-client": "^4.4|^5.0|^6.0", + "symfony/translation-contracts": "^1.1|^2", + "symfony/var-exporter": "^4.4|^5.0|^6.0" }, "type": "library", "autoload": { @@ -5791,7 +5834,7 @@ "utf8" ], "support": { - "source": "https://github.com/symfony/string/tree/v6.0.19" + "source": "https://github.com/symfony/string/tree/v5.4.34" }, "funding": [ { @@ -5807,50 +5850,43 @@ "type": "tidelift" } ], - "time": "2023-01-01T08:36:10+00:00" + "time": "2023-12-09T13:20:28+00:00" }, { "name": "thecodingmachine/safe", - "version": "v2.5.0", + "version": "v1.3.3", "source": { "type": "git", "url": "https://github.com/thecodingmachine/safe.git", - "reference": "3115ecd6b4391662b4931daac4eba6b07a2ac1f0" + "reference": "a8ab0876305a4cdaef31b2350fcb9811b5608dbc" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/thecodingmachine/safe/zipball/3115ecd6b4391662b4931daac4eba6b07a2ac1f0", - "reference": "3115ecd6b4391662b4931daac4eba6b07a2ac1f0", + "url": "https://api.github.com/repos/thecodingmachine/safe/zipball/a8ab0876305a4cdaef31b2350fcb9811b5608dbc", + "reference": "a8ab0876305a4cdaef31b2350fcb9811b5608dbc", "shasum": "" }, "require": { - "php": "^8.0" + "php": ">=7.2" }, "require-dev": { - "phpstan/phpstan": "^1.5", - "phpunit/phpunit": "^9.5", + "phpstan/phpstan": "^0.12", "squizlabs/php_codesniffer": "^3.2", - "thecodingmachine/phpstan-strict-rules": "^1.0" + "thecodingmachine/phpstan-strict-rules": "^0.12" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "2.2.x-dev" + "dev-master": "0.1-dev" } }, "autoload": { "files": [ "deprecated/apc.php", - "deprecated/array.php", - "deprecated/datetime.php", "deprecated/libevent.php", - "deprecated/misc.php", - "deprecated/password.php", "deprecated/mssql.php", "deprecated/stats.php", - "deprecated/strings.php", "lib/special_cases.php", - "deprecated/mysqli.php", "generated/apache.php", "generated/apcu.php", "generated/array.php", @@ -5871,7 +5907,6 @@ "generated/fpm.php", "generated/ftp.php", "generated/funchand.php", - "generated/gettext.php", "generated/gmp.php", "generated/gnupg.php", "generated/hash.php", @@ -5881,6 +5916,7 @@ "generated/image.php", "generated/imap.php", "generated/info.php", + "generated/ingres-ii.php", "generated/inotify.php", "generated/json.php", "generated/ldap.php", @@ -5889,14 +5925,20 @@ "generated/mailparse.php", "generated/mbstring.php", "generated/misc.php", + "generated/msql.php", "generated/mysql.php", + "generated/mysqli.php", + "generated/mysqlndMs.php", + "generated/mysqlndQc.php", "generated/network.php", "generated/oci8.php", "generated/opcache.php", "generated/openssl.php", "generated/outcontrol.php", + "generated/password.php", "generated/pcntl.php", "generated/pcre.php", + "generated/pdf.php", "generated/pgsql.php", "generated/posix.php", "generated/ps.php", @@ -5907,6 +5949,7 @@ "generated/sem.php", "generated/session.php", "generated/shmop.php", + "generated/simplexml.php", "generated/sockets.php", "generated/sodium.php", "generated/solr.php", @@ -5929,13 +5972,13 @@ "generated/zip.php", "generated/zlib.php" ], - "classmap": [ - "lib/DateTime.php", - "lib/DateTimeImmutable.php", - "lib/Exceptions/", - "deprecated/Exceptions/", - "generated/Exceptions/" - ] + "psr-4": { + "Safe\\": [ + "lib/", + "deprecated/", + "generated/" + ] + } }, "notification-url": "https://packagist.org/downloads/", "license": [ @@ -5944,9 +5987,9 @@ "description": "PHP core functions that throw exceptions instead of returning FALSE on error", "support": { "issues": "https://github.com/thecodingmachine/safe/issues", - "source": "https://github.com/thecodingmachine/safe/tree/v2.5.0" + "source": "https://github.com/thecodingmachine/safe/tree/v1.3.3" }, - "time": "2023-04-05T11:54:14+00:00" + "time": "2020-10-28T17:51:34+00:00" }, { "name": "theseer/tokenizer", @@ -6165,6 +6208,57 @@ "source": "https://github.com/webmozarts/assert/tree/1.11.0" }, "time": "2022-06-03T18:03:27+00:00" + }, + { + "name": "webmozart/path-util", + "version": "2.3.0", + "source": { + "type": "git", + "url": "https://github.com/webmozart/path-util.git", + "reference": "d939f7edc24c9a1bb9c0dee5cb05d8e859490725" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/webmozart/path-util/zipball/d939f7edc24c9a1bb9c0dee5cb05d8e859490725", + "reference": "d939f7edc24c9a1bb9c0dee5cb05d8e859490725", + "shasum": "" + }, + "require": { + "php": ">=5.3.3", + "webmozart/assert": "~1.0" + }, + "require-dev": { + "phpunit/phpunit": "^4.6", + "sebastian/version": "^1.0.1" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "2.3-dev" + } + }, + "autoload": { + "psr-4": { + "Webmozart\\PathUtil\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Bernhard Schussek", + "email": "bschussek@gmail.com" + } + ], + "description": "A robust cross-platform utility for normalizing, comparing and modifying file paths.", + "support": { + "issues": "https://github.com/webmozart/path-util/issues", + "source": "https://github.com/webmozart/path-util/tree/2.3.0" + }, + "abandoned": "symfony/filesystem", + "time": "2015-12-17T08:42:14+00:00" } ], "aliases": [], @@ -6173,12 +6267,12 @@ "prefer-stable": false, "prefer-lowest": false, "platform": { - "php": "~8.0.0 || ~8.1.0 || ~8.2.0 || ~8.3.0", + "php": "~7.4.0 || ~8.0.0 || ~8.1.0 || ~8.2.0 || ~8.3.0", "ext-json": "*" }, "platform-dev": [], "platform-overrides": { - "php": "8.0.30" + "php": "7.4.33" }, - "plugin-api-version": "2.3.0" + "plugin-api-version": "2.6.0" } diff --git a/rector.php b/rector.php index 9f747c0e..2fc757ca 100644 --- a/rector.php +++ b/rector.php @@ -25,7 +25,7 @@ __DIR__ . '/test/', ]); - $rectorConfig->phpVersion(ValueObject\PhpVersion::PHP_80); + $rectorConfig->phpVersion(ValueObject\PhpVersion::PHP_74); $rectorConfig->sets([ PHPUnit\Set\PHPUnitSetList::PHPUNIT_90, diff --git a/src/Exception/DependencyMissing.php b/src/Exception/DependencyMissing.php index cc36fd9d..fb2a744e 100644 --- a/src/Exception/DependencyMissing.php +++ b/src/Exception/DependencyMissing.php @@ -17,7 +17,7 @@ final class DependencyMissing extends \RuntimeException implements Exception { public static function for( string $className, - string $packageName, + string $packageName ): self { return new self(\sprintf( <<<'TXT' diff --git a/src/Exception/InvalidIndentSize.php b/src/Exception/InvalidIndentSize.php index 78274d5e..edf70e6c 100644 --- a/src/Exception/InvalidIndentSize.php +++ b/src/Exception/InvalidIndentSize.php @@ -20,7 +20,7 @@ final class InvalidIndentSize extends \InvalidArgumentException implements Excep public static function fromSizeAndMinimumSize( int $size, - int $minimumSize, + int $minimumSize ): self { $exception = new self(\sprintf( 'Size needs to be greater than %d, but %d is not.', diff --git a/src/Exception/InvalidIndentStyle.php b/src/Exception/InvalidIndentStyle.php index 95141814..e4bab3ad 100644 --- a/src/Exception/InvalidIndentStyle.php +++ b/src/Exception/InvalidIndentStyle.php @@ -24,7 +24,7 @@ final class InvalidIndentStyle extends \InvalidArgumentException implements Exce public static function fromStyleAndAllowedStyles( string $style, - string ...$allowedStyles, + string ...$allowedStyles ): self { $exception = new self(\sprintf( 'Style needs to be one of "%s", but "%s" is not.', diff --git a/src/Exception/NormalizedInvalidAccordingToSchema.php b/src/Exception/NormalizedInvalidAccordingToSchema.php index 3696a9bf..21a9bb26 100644 --- a/src/Exception/NormalizedInvalidAccordingToSchema.php +++ b/src/Exception/NormalizedInvalidAccordingToSchema.php @@ -24,7 +24,7 @@ final class NormalizedInvalidAccordingToSchema extends \RuntimeException impleme public static function fromSchemaUriAndErrors( string $schemaUri, - string ...$errors, + string ...$errors ): self { $exception = new self(\sprintf( 'Normalized JSON is not valid according to schema "%s".', diff --git a/src/Exception/OriginalInvalidAccordingToSchema.php b/src/Exception/OriginalInvalidAccordingToSchema.php index 11dd35d1..68eceb71 100644 --- a/src/Exception/OriginalInvalidAccordingToSchema.php +++ b/src/Exception/OriginalInvalidAccordingToSchema.php @@ -24,7 +24,7 @@ final class OriginalInvalidAccordingToSchema extends \RuntimeException implement public static function fromSchemaUriAndErrors( string $schemaUri, - string ...$errors, + string ...$errors ): self { $exception = new self(\sprintf( 'Original JSON is not valid according to schema "%s".', diff --git a/src/Format/DefaultFormatter.php b/src/Format/DefaultFormatter.php index 29e1b0f6..9bda0586 100644 --- a/src/Format/DefaultFormatter.php +++ b/src/Format/DefaultFormatter.php @@ -18,13 +18,16 @@ final class DefaultFormatter implements Formatter { - public function __construct(private Printer\PrinterInterface $printer) + private Printer\PrinterInterface $printer; + + public function __construct(Printer\PrinterInterface $printer) { + $this->printer = $printer; } public function format( Json $json, - Format $format, + Format $format ): Json { /** @var string $encoded */ $encoded = \json_encode( diff --git a/src/Format/Format.php b/src/Format/Format.php index b50a9c8e..cb08fb37 100644 --- a/src/Format/Format.php +++ b/src/Format/Format.php @@ -20,19 +20,28 @@ */ final class Format { + private bool $hasFinalNewLine; + private NewLine $newLine; + private Indent $indent; + private JsonEncodeOptions $jsonEncodeOptions; + private function __construct( - private JsonEncodeOptions $jsonEncodeOptions, - private Indent $indent, - private NewLine $newLine, - private bool $hasFinalNewLine, + JsonEncodeOptions $jsonEncodeOptions, + Indent $indent, + NewLine $newLine, + bool $hasFinalNewLine ) { + $this->jsonEncodeOptions = $jsonEncodeOptions; + $this->indent = $indent; + $this->newLine = $newLine; + $this->hasFinalNewLine = $hasFinalNewLine; } public static function create( JsonEncodeOptions $jsonEncodeOptions, Indent $indent, NewLine $newLine, - bool $hasFinalNewLine, + bool $hasFinalNewLine ): self { return new self( $jsonEncodeOptions, diff --git a/src/Format/Formatter.php b/src/Format/Formatter.php index 591d73b3..560c70ac 100644 --- a/src/Format/Formatter.php +++ b/src/Format/Formatter.php @@ -19,6 +19,6 @@ interface Formatter { public function format( Json $json, - Format $format, + Format $format ): Json; } diff --git a/src/Format/Indent.php b/src/Format/Indent.php index 51a5c1d4..7744fd3e 100644 --- a/src/Format/Indent.php +++ b/src/Format/Indent.php @@ -25,9 +25,11 @@ final class Indent 'space' => ' ', 'tab' => "\t", ]; + private string $value; - private function __construct(private string $value) + private function __construct(string $value) { + $this->value = $value; } /** @@ -48,7 +50,7 @@ public static function fromString(string $value): self */ public static function fromSizeAndStyle( int $size, - string $style, + string $style ): self { $minimumSize = 1; diff --git a/src/Format/JsonEncodeOptions.php b/src/Format/JsonEncodeOptions.php index cacaae57..e5ee1ccc 100644 --- a/src/Format/JsonEncodeOptions.php +++ b/src/Format/JsonEncodeOptions.php @@ -21,8 +21,11 @@ */ final class JsonEncodeOptions { - private function __construct(private int $value) + private int $value; + + private function __construct(int $value) { + $this->value = $value; } public static function default(): self @@ -46,7 +49,7 @@ public static function fromJson(Json $json): self { $jsonEncodeOptions = 0; - if (!\str_contains($json->encoded(), '\/')) { + if (false === \strpos($json->encoded(), '\/')) { $jsonEncodeOptions = \JSON_UNESCAPED_SLASHES; } diff --git a/src/Format/NewLine.php b/src/Format/NewLine.php index 3bd0c6c9..3fbc3cd3 100644 --- a/src/Format/NewLine.php +++ b/src/Format/NewLine.php @@ -21,8 +21,11 @@ */ final class NewLine { - private function __construct(private string $value) + private string $value; + + private function __construct(string $value) { + $this->value = $value; } /** diff --git a/src/FormatNormalizer.php b/src/FormatNormalizer.php index db35ff3f..d2e1f16a 100644 --- a/src/FormatNormalizer.php +++ b/src/FormatNormalizer.php @@ -18,10 +18,15 @@ final class FormatNormalizer implements Normalizer { + private Format\Format $format; + private Printer\PrinterInterface $printer; + public function __construct( - private Printer\PrinterInterface $printer, - private Format\Format $format, + Printer\PrinterInterface $printer, + Format\Format $format ) { + $this->printer = $printer; + $this->format = $format; } public function normalize(Json $json): Json diff --git a/src/IndentNormalizer.php b/src/IndentNormalizer.php index c4a90ce6..d56fd97b 100644 --- a/src/IndentNormalizer.php +++ b/src/IndentNormalizer.php @@ -18,10 +18,15 @@ final class IndentNormalizer implements Normalizer { + private Printer\PrinterInterface $printer; + private Format\Indent $indent; + public function __construct( - private Format\Indent $indent, - private Printer\PrinterInterface $printer, + Format\Indent $indent, + Printer\PrinterInterface $printer ) { + $this->indent = $indent; + $this->printer = $printer; } public function normalize(Json $json): Json diff --git a/src/JsonEncodeNormalizer.php b/src/JsonEncodeNormalizer.php index 57a8dde6..0cd9114c 100644 --- a/src/JsonEncodeNormalizer.php +++ b/src/JsonEncodeNormalizer.php @@ -17,8 +17,11 @@ final class JsonEncodeNormalizer implements Normalizer { - public function __construct(private Format\JsonEncodeOptions $jsonEncodeOptions) + private Format\JsonEncodeOptions $jsonEncodeOptions; + + public function __construct(Format\JsonEncodeOptions $jsonEncodeOptions) { + $this->jsonEncodeOptions = $jsonEncodeOptions; } public function normalize(Json $json): Json diff --git a/src/SchemaNormalizer.php b/src/SchemaNormalizer.php index 127c4a13..678d44df 100644 --- a/src/SchemaNormalizer.php +++ b/src/SchemaNormalizer.php @@ -24,25 +24,34 @@ final class SchemaNormalizer implements Normalizer { + private Pointer\Specification $specificationForPointerToDataThatShouldNotBeSorted; + private SchemaValidator\SchemaValidator $schemaValidator; + private SchemaStorage $schemaStorage; + private string $schemaUri; + public function __construct( - private string $schemaUri, - private SchemaStorage $schemaStorage, - private SchemaValidator\SchemaValidator $schemaValidator, - private Pointer\Specification $specificationForPointerToDataThatShouldNotBeSorted, + string $schemaUri, + SchemaStorage $schemaStorage, + SchemaValidator\SchemaValidator $schemaValidator, + Pointer\Specification $specificationForPointerToDataThatShouldNotBeSorted ) { + $this->schemaUri = $schemaUri; + $this->schemaStorage = $schemaStorage; + $this->schemaValidator = $schemaValidator; + $this->specificationForPointerToDataThatShouldNotBeSorted = $specificationForPointerToDataThatShouldNotBeSorted; } public function normalize(Json $json): Json { try { $schema = $this->schemaStorage->getSchema($this->schemaUri); - } catch (UriResolverException) { + } catch (UriResolverException $exception) { throw Exception\SchemaUriCouldNotBeResolved::fromSchemaUri($this->schemaUri); - } catch (ResourceNotFoundException) { + } catch (ResourceNotFoundException $exception) { throw Exception\SchemaUriCouldNotBeRead::fromSchemaUri($this->schemaUri); - } catch (InvalidSchemaMediaTypeException) { + } catch (InvalidSchemaMediaTypeException $exception) { throw Exception\SchemaUriReferencesDocumentWithInvalidMediaType::fromSchemaUri($this->schemaUri); - } catch (JsonDecodingException) { + } catch (JsonDecodingException $exception) { throw Exception\SchemaUriReferencesInvalidJsonDocument::fromSchemaUri($this->schemaUri); } @@ -98,7 +107,7 @@ public function normalize(Json $json): Json private function normalizeData( $data, object $schema, - Pointer\JsonPointer $pointerToData, + Pointer\JsonPointer $pointerToData ) { if (\is_array($data)) { return $this->normalizeArray( @@ -127,7 +136,7 @@ private function normalizeData( private function normalizeArray( array $data, object $schema, - Pointer\JsonPointer $pointerToData, + Pointer\JsonPointer $pointerToData ): array { $schema = $this->resolveSchema( $data, @@ -171,7 +180,7 @@ private function normalizeArray( private function normalizeObject( object $data, object $schema, - Pointer\JsonPointer $pointerToData, + Pointer\JsonPointer $pointerToData ): object { $schema = $this->resolveSchema( $data, @@ -253,7 +262,7 @@ private function normalizeObject( private function resolveSchema( $data, - object $schema, + object $schema ): object { /** * @see https://json-schema.org/understanding-json-schema/reference/combining.html#anyof diff --git a/src/Vendor/Composer/VersionConstraintNormalizer.php b/src/Vendor/Composer/VersionConstraintNormalizer.php index 4e7dc40f..f072cded 100644 --- a/src/Vendor/Composer/VersionConstraintNormalizer.php +++ b/src/Vendor/Composer/VersionConstraintNormalizer.php @@ -27,9 +27,11 @@ final class VersionConstraintNormalizer implements Normalizer 'require', 'require-dev', ]; + private Semver\VersionParser $versionParser; - public function __construct(private Semver\VersionParser $versionParser) + public function __construct(Semver\VersionParser $versionParser) { + $this->versionParser = $versionParser; } public function normalize(Json $json): Json @@ -62,7 +64,7 @@ public function normalize(Json $json): Json try { $this->versionParser->parseConstraints($versionConstraint); - } catch (\UnexpectedValueException) { + } catch (\UnexpectedValueException $exception) { return $versionConstraint; } diff --git a/src/Vendor/Composer/WildcardSorter.php b/src/Vendor/Composer/WildcardSorter.php index 98e0af30..4a3ef844 100644 --- a/src/Vendor/Composer/WildcardSorter.php +++ b/src/Vendor/Composer/WildcardSorter.php @@ -30,7 +30,7 @@ final class WildcardSorter public function sortPropertyWithWildcard( array &$config, string $property, - bool $sortByKey = true, + bool $sortByKey = true ): void { if (!\array_key_exists($property, $config)) { return; @@ -50,7 +50,7 @@ public function sortPropertyWithWildcard( foreach ($packages as $package) { /** @var string $package */ - if (\str_contains(\rtrim($package, '*'), '*')) { + if (false !== \strpos(\rtrim($package, '*'), '*')) { // We cannot reliably sort allow-plugins when there's a wildcard other than at the end of the string. return; } diff --git a/test/Fixture/FormatNormalizer/NormalizeNormalizesJson/Scenario.php b/test/Fixture/FormatNormalizer/NormalizeNormalizesJson/Scenario.php index 52b0f69b..19aeff0f 100644 --- a/test/Fixture/FormatNormalizer/NormalizeNormalizesJson/Scenario.php +++ b/test/Fixture/FormatNormalizer/NormalizeNormalizesJson/Scenario.php @@ -21,19 +21,28 @@ */ final class Scenario { + private Json $normalized; + private Json $original; + private Normalizer\Format\Format $format; + private string $key; + private function __construct( - private string $key, - private Normalizer\Format\Format $format, - private Json $original, - private Json $normalized, + string $key, + Normalizer\Format\Format $format, + Json $original, + Json $normalized ) { + $this->key = $key; + $this->format = $format; + $this->original = $original; + $this->normalized = $normalized; } public static function create( string $key, Normalizer\Format\Format $format, Json $original, - Json $normalized, + Json $normalized ): self { return new self( $key, diff --git a/test/Fixture/SchemaNormalizer/NormalizeNormalizesJson/Scenario.php b/test/Fixture/SchemaNormalizer/NormalizeNormalizesJson/Scenario.php index 6d3a6e84..c489fae1 100644 --- a/test/Fixture/SchemaNormalizer/NormalizeNormalizesJson/Scenario.php +++ b/test/Fixture/SchemaNormalizer/NormalizeNormalizesJson/Scenario.php @@ -21,13 +21,24 @@ */ final class Scenario { + private Json $normalized; + private Json $original; + private Pointer\Specification $specificationForPointerToDataThatShouldNotBeSorted; + private string $schemaUri; + private string $key; + private function __construct( - private string $key, - private string $schemaUri, - private Pointer\Specification $specificationForPointerToDataThatShouldNotBeSorted, - private Json $original, - private Json $normalized, + string $key, + string $schemaUri, + Pointer\Specification $specificationForPointerToDataThatShouldNotBeSorted, + Json $original, + Json $normalized ) { + $this->key = $key; + $this->schemaUri = $schemaUri; + $this->specificationForPointerToDataThatShouldNotBeSorted = $specificationForPointerToDataThatShouldNotBeSorted; + $this->original = $original; + $this->normalized = $normalized; } public static function create( @@ -35,7 +46,7 @@ public static function create( string $schemaUri, Pointer\Specification $jsonPointerSpecification, Json $original, - Json $normalized, + Json $normalized ): self { return new self( $key, diff --git a/test/Fixture/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Scenario.php b/test/Fixture/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Scenario.php index 319558ba..0ea11cb0 100644 --- a/test/Fixture/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Scenario.php +++ b/test/Fixture/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Scenario.php @@ -20,17 +20,24 @@ */ final class Scenario { + private Json $normalized; + private Json $original; + private string $key; + private function __construct( - private string $key, - private Json $original, - private Json $normalized, + string $key, + Json $original, + Json $normalized ) { + $this->key = $key; + $this->original = $original; + $this->normalized = $normalized; } public static function create( string $key, Json $original, - Json $normalized, + Json $normalized ): self { return new self( $key, diff --git a/test/Fixture/Vendor/Composer/ComposerJsonNormalizer/NormalizeRejectsJson/Scenario.php b/test/Fixture/Vendor/Composer/ComposerJsonNormalizer/NormalizeRejectsJson/Scenario.php index 38f7380d..191b186c 100644 --- a/test/Fixture/Vendor/Composer/ComposerJsonNormalizer/NormalizeRejectsJson/Scenario.php +++ b/test/Fixture/Vendor/Composer/ComposerJsonNormalizer/NormalizeRejectsJson/Scenario.php @@ -20,15 +20,20 @@ */ final class Scenario { + private Json $original; + private string $key; + private function __construct( - private string $key, - private Json $original, + string $key, + Json $original ) { + $this->key = $key; + $this->original = $original; } public static function create( string $key, - Json $original, + Json $original ): self { return new self( $key, diff --git a/test/Unit/Format/IndentTest.php b/test/Unit/Format/IndentTest.php index 28fcc09e..8023f870 100644 --- a/test/Unit/Format/IndentTest.php +++ b/test/Unit/Format/IndentTest.php @@ -96,7 +96,7 @@ public function testFromSizeAndStyleRejectsInvalidStyle(): void public function testFromSizeAndStyleReturnsIndent( int $size, string $style, - string $string, + string $string ): void { $indent = Format\Indent::fromSizeAndStyle( $size, @@ -190,7 +190,7 @@ public static function provideValidIndentString(): iterable */ public function testFromJsonReturnsIndentSniffedFromArray( string $actualIndent, - string $sniffedIndent, + string $sniffedIndent ): void { $json = Json::fromString( << Date: Tue, 30 Jan 2024 10:08:26 +0100 Subject: [PATCH 110/111] Fix: Typo --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0779fc24..f7f1bb32 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -15,7 +15,7 @@ For a full diff see [`4.4.1...main`][4.4.1...main]. - Required `ergebnis/json-pointer:^3.4.0` ([#1075]), by [@localheinz] - Required `ergebnis/json-schema-validator:^4.2.0` ([#1076]), by [@localheinz] - Added support for PHP 8.3 ([#1077]), by [@localheinz] -- Added support for PHP 7.7 ([#1079]), by [@localheinz] +- Added support for PHP 7.4 ([#1079]), by [@localheinz] ## [`4.4.1`][4.4.1] From f0ee9e70739f121b27fac8b743e4a52b23de2152 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20M=C3=B6ller?= Date: Tue, 30 Jan 2024 10:10:15 +0100 Subject: [PATCH 111/111] Enhancement: Prepare release --- .github/SECURITY.md | 4 ++-- CHANGELOG.md | 10 ++++++++-- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/.github/SECURITY.md b/.github/SECURITY.md index aebfa1d9..6ee55fc8 100644 --- a/.github/SECURITY.md +++ b/.github/SECURITY.md @@ -4,13 +4,13 @@ The following versions of `ergebnis/json-normalizer` have active support: -- `^4.4.1` +- `^4.5.0` ## Unsupported Versions The following versions of `ergebnis/json-normalizer` have reached their end of life: -- `<4.4.1` +- `<4.5.0` ## Reporting a Vulnerability diff --git a/CHANGELOG.md b/CHANGELOG.md index f7f1bb32..4ca54241 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,7 +6,11 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), ## Unreleased -For a full diff see [`4.4.1...main`][4.4.1...main]. +For a full diff see [`4.5.0...main`][4.5.0...main]. + +## [`4.5.0`][4.5.0] + +For a full diff see [`4.4.1...4.5.0`][4.4.1...4.5.0]. ### Changed @@ -515,6 +519,7 @@ For a full diff see [`5d8b3e2...0.1.0`][5d8b3e2...0.1.0]. [4.3.0]: https://github.com/ergebnis/json-normalizer/releases/tag/4.3.0 [4.4.0]: https://github.com/ergebnis/json-normalizer/releases/tag/4.4.0 [4.4.1]: https://github.com/ergebnis/json-normalizer/releases/tag/4.4.1 +[4.5.0]: https://github.com/ergebnis/json-normalizer/releases/tag/4.5.0 [5d8b3e2...0.1.0]: https://github.com/ergebnis/json-normalizer/compare/5d8b3e2...0.1.0 [0.1.0...0.2.0]: https://github.com/ergebnis/json-normalizer/compare/0.1.0...0.2.0 @@ -551,7 +556,8 @@ For a full diff see [`5d8b3e2...0.1.0`][5d8b3e2...0.1.0]. [4.2.0...4.3.0]: https://github.com/ergebnis/json-normalizer/compare/4.2.0...4.3.0 [4.3.0...4.4.0]: https://github.com/ergebnis/json-normalizer/compare/4.4.0...main [4.4.0...4.4.1]: https://github.com/ergebnis/json-normalizer/compare/4.4.0...4.4.1 -[4.4.1...main]: https://github.com/ergebnis/json-normalizer/compare/4.4.1...main +[4.4.1...4.5.0]: https://github.com/ergebnis/json-normalizer/compare/4.4.1...4.5.0 +[4.5.0...main]: https://github.com/ergebnis/json-normalizer/compare/4.5.0...main [#1]: https://github.com/ergebnis/json-normalizer/pull/1 [#2]: https://github.com/ergebnis/json-normalizer/pull/2