From bf5e9e5cb4cb312422ae87f65bd5d46b51b48e2b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Th=C3=A9o=20FIDRY?= Date: Mon, 22 Apr 2024 21:35:15 +0200 Subject: [PATCH] cs: Update CS --- src/Input/DecoratesInput.php | 2 +- src/Input/IO.php | 2 +- src/Input/TypedInput.php | 18 +- src/Internal/InputAssert.php | 12 +- src/Internal/Type/BackedEnumType.php | 4 +- src/Internal/Type/BooleanType.php | 2 +- src/Internal/Type/FloatType.php | 2 +- src/Internal/Type/InputType.php | 2 +- src/Internal/Type/ListType.php | 2 +- src/Internal/Type/NaturalRangeType.php | 2 +- src/Internal/Type/NaturalType.php | 2 +- src/Internal/Type/NonEmptyListType.php | 2 +- src/Internal/Type/NonEmptyStringType.php | 2 +- .../Type/NullOrNonEmptyStringType.php | 2 +- src/Internal/Type/NullableType.php | 2 +- src/Internal/Type/PositiveIntegerType.php | 2 +- src/Internal/Type/RawType.php | 2 +- src/Internal/Type/StringChoiceType.php | 2 +- src/Internal/Type/StringType.php | 2 +- src/Internal/Type/UntrimmedStringType.php | 2 +- tests/IO/TypedInput.php | 16 +- vendor-bin/php-cs-fixer/composer.lock | 272 ++++++++---------- 22 files changed, 169 insertions(+), 187 deletions(-) diff --git a/src/Input/DecoratesInput.php b/src/Input/DecoratesInput.php index d321326b..e4619e65 100644 --- a/src/Input/DecoratesInput.php +++ b/src/Input/DecoratesInput.php @@ -52,7 +52,7 @@ public function hasParameterOption(array|string $values, bool $onlyParams = fals public function getParameterOption( array|string $values, - null|array|bool|float|int|string $default = false, + array|bool|float|int|string|null $default = false, bool $onlyParams = false ): mixed { return $this->input->getParameterOption(...func_get_args()); diff --git a/src/Input/IO.php b/src/Input/IO.php index 81cf050d..d14d1e9e 100644 --- a/src/Input/IO.php +++ b/src/Input/IO.php @@ -17,7 +17,7 @@ use function class_alias; use function sprintf; -$alias = \Fidry\Console\Input\IO::class; +$alias = IO::class; $newClass = \Fidry\Console\IO::class; Deprecation::trigger( diff --git a/src/Input/TypedInput.php b/src/Input/TypedInput.php index 8589a038..a4c20d0c 100644 --- a/src/Input/TypedInput.php +++ b/src/Input/TypedInput.php @@ -36,7 +36,7 @@ final class TypedInput * @psalm-suppress RedundantCondition */ private function __construct( - private readonly null|array|bool|string $value, + private readonly array|bool|string|null $value, private readonly string $label, ) { Assert::stringNotEmpty($label); @@ -198,7 +198,7 @@ public function asNullableBackedEnum( /** * @return null|bool|string|list */ - public function asRaw(?string $errorMessage = null): null|array|bool|string + public function asRaw(?string $errorMessage = null): array|bool|string|null { $type = TypeFactory::createTypeFromClassNames([ \Fidry\Console\Internal\Type\RawType::class, @@ -241,7 +241,7 @@ public function asBoolean(?string $errorMessage = null): bool public function asNullableBoolean(?string $errorMessage = null): ?bool { $type = TypeFactory::createTypeFromClassNames([ - \Fidry\Console\Internal\Type\NullableType::class, + NullableType::class, \Fidry\Console\Internal\Type\BooleanType::class, ]); @@ -336,7 +336,7 @@ public function asNatural(?string $errorMessage = null): int public function asNullableNatural(?string $errorMessage = null): ?int { $type = TypeFactory::createTypeFromClassNames([ - \Fidry\Console\Internal\Type\NullableType::class, + NullableType::class, \Fidry\Console\Internal\Type\NaturalType::class, ]); @@ -431,7 +431,7 @@ public function asPositiveInteger(?string $errorMessage = null): int public function asNullablePositiveInteger(?string $errorMessage = null): ?int { $type = TypeFactory::createTypeFromClassNames([ - \Fidry\Console\Internal\Type\NullableType::class, + NullableType::class, \Fidry\Console\Internal\Type\PositiveIntegerType::class, ]); @@ -520,7 +520,7 @@ public function asFloat(?string $errorMessage = null): float public function asNullableFloat(?string $errorMessage = null): ?float { $type = TypeFactory::createTypeFromClassNames([ - \Fidry\Console\Internal\Type\NullableType::class, + NullableType::class, \Fidry\Console\Internal\Type\FloatType::class, ]); @@ -609,7 +609,7 @@ public function asString(?string $errorMessage = null): string public function asNullableString(?string $errorMessage = null): ?string { $type = TypeFactory::createTypeFromClassNames([ - \Fidry\Console\Internal\Type\NullableType::class, + NullableType::class, \Fidry\Console\Internal\Type\StringType::class, ]); @@ -704,7 +704,7 @@ public function asNonEmptyString(?string $errorMessage = null): string public function asNullableNonEmptyString(?string $errorMessage = null): ?string { $type = TypeFactory::createTypeFromClassNames([ - \Fidry\Console\Internal\Type\NullableType::class, + NullableType::class, \Fidry\Console\Internal\Type\NonEmptyStringType::class, ]); @@ -793,7 +793,7 @@ public function asUntrimmedString(?string $errorMessage = null): string public function asNullableUntrimmedString(?string $errorMessage = null): ?string { $type = TypeFactory::createTypeFromClassNames([ - \Fidry\Console\Internal\Type\NullableType::class, + NullableType::class, \Fidry\Console\Internal\Type\UntrimmedStringType::class, ]); diff --git a/src/Internal/InputAssert.php b/src/Internal/InputAssert.php index f7d812ea..695a86f4 100644 --- a/src/Internal/InputAssert.php +++ b/src/Internal/InputAssert.php @@ -89,7 +89,7 @@ public static function assertIsValidOptionType(mixed $option, string $name): voi * * @psalm-assert scalar|null $value */ - public static function assertIsScalar(null|array|bool|string $value, string $label): void + public static function assertIsScalar(array|bool|string|null $value, string $label): void { self::castThrowException( static function () use ($value): void { @@ -115,7 +115,7 @@ static function () use ($value): void { * * @psalm-assert list $value */ - public static function assertIsList(null|array|bool|string $value, string $label): void + public static function assertIsList(array|bool|string|null $value, string $label): void { self::castThrowException( static function () use ($value): void { @@ -145,7 +145,7 @@ static function () use ($value): void { * * @psalm-assert numeric $value */ - public static function numericString(null|array|bool|string $value, string $label): void + public static function numericString(array|bool|string|null $value, string $label): void { self::castThrowException( static function () use ($value, $label): void { @@ -175,7 +175,7 @@ static function () use ($value, $label): void { * * @psalm-assert string $value */ - public static function integerString(null|array|bool|string $value, string $label): void + public static function integerString(array|bool|string|null $value, string $label): void { self::castThrowException( static function () use ($value, $label): void { @@ -205,7 +205,7 @@ static function () use ($value, $label): void { * * @psalm-assert string $value */ - public static function string(null|array|bool|string $value, string $label): void + public static function string(array|bool|string|null $value, string $label): void { self::castThrowException( static function () use ($value, $label): void { @@ -238,7 +238,7 @@ public static function castThrowException(callable $callable, string $label): vo /** * @param ArgumentInput|OptionInput $value */ - public static function castType(null|array|bool|string $value): string + public static function castType(array|bool|string|null $value): string { return var_export($value, true); } diff --git a/src/Internal/Type/BackedEnumType.php b/src/Internal/Type/BackedEnumType.php index 9e4961f5..441562f8 100644 --- a/src/Internal/Type/BackedEnumType.php +++ b/src/Internal/Type/BackedEnumType.php @@ -34,7 +34,7 @@ public function __construct( ) { } - public function coerceValue(null|array|bool|string $value, string $label): BackedEnum + public function coerceValue(array|bool|string|null $value, string $label): BackedEnum { InputAssert::assertIsScalar($value, $label); @@ -70,7 +70,7 @@ public function getPhpTypeDeclaration(): ?string /** * @return T */ - private function coerce(null|bool|string $value): BackedEnum + private function coerce(bool|string|null $value): BackedEnum { try { return $this->backedEnumClassName::from((int) $value); diff --git a/src/Internal/Type/BooleanType.php b/src/Internal/Type/BooleanType.php index f8f5f248..b7fccc38 100644 --- a/src/Internal/Type/BooleanType.php +++ b/src/Internal/Type/BooleanType.php @@ -21,7 +21,7 @@ */ final class BooleanType implements ScalarType { - public function coerceValue(null|array|bool|string $value, string $label): bool + public function coerceValue(array|bool|string|null $value, string $label): bool { InputAssert::assertIsScalar($value, $label); diff --git a/src/Internal/Type/FloatType.php b/src/Internal/Type/FloatType.php index 6a7fb2eb..490dba4a 100644 --- a/src/Internal/Type/FloatType.php +++ b/src/Internal/Type/FloatType.php @@ -20,7 +20,7 @@ */ final class FloatType implements ScalarType { - public function coerceValue(null|array|bool|string $value, string $label): float + public function coerceValue(array|bool|string|null $value, string $label): float { InputAssert::numericString($value, $label); diff --git a/src/Internal/Type/InputType.php b/src/Internal/Type/InputType.php index ea691828..fd7cde05 100644 --- a/src/Internal/Type/InputType.php +++ b/src/Internal/Type/InputType.php @@ -26,7 +26,7 @@ interface InputType * * @return TypedValue */ - public function coerceValue(null|array|bool|string $value, string $label): mixed; + public function coerceValue(array|bool|string|null $value, string $label): mixed; /** * @return non-empty-list> diff --git a/src/Internal/Type/ListType.php b/src/Internal/Type/ListType.php index 2f139116..773bb957 100644 --- a/src/Internal/Type/ListType.php +++ b/src/Internal/Type/ListType.php @@ -36,7 +36,7 @@ public function __construct(InputType $innerType) $this->innerType = $innerType; } - public function coerceValue(null|array|bool|string $value, string $label): array + public function coerceValue(array|bool|string|null $value, string $label): array { InputAssert::assertIsList($value, $label); diff --git a/src/Internal/Type/NaturalRangeType.php b/src/Internal/Type/NaturalRangeType.php index 71d1580f..875cfefe 100644 --- a/src/Internal/Type/NaturalRangeType.php +++ b/src/Internal/Type/NaturalRangeType.php @@ -35,7 +35,7 @@ public function __construct(int $min, int $max) } } - public function coerceValue(null|array|bool|string $value, string $label): int + public function coerceValue(array|bool|string|null $value, string $label): int { $intValue = (new NaturalType())->coerceValue($value, $label); diff --git a/src/Internal/Type/NaturalType.php b/src/Internal/Type/NaturalType.php index 7aed015b..48387c20 100644 --- a/src/Internal/Type/NaturalType.php +++ b/src/Internal/Type/NaturalType.php @@ -25,7 +25,7 @@ */ final class NaturalType implements ScalarType { - public function coerceValue(null|array|bool|string $value, string $label): int + public function coerceValue(array|bool|string|null $value, string $label): int { InputAssert::integerString($value, $label); diff --git a/src/Internal/Type/NonEmptyListType.php b/src/Internal/Type/NonEmptyListType.php index 1754c768..fe2f7c22 100644 --- a/src/Internal/Type/NonEmptyListType.php +++ b/src/Internal/Type/NonEmptyListType.php @@ -36,7 +36,7 @@ public function __construct(InputType $innerType) $this->innerType = $innerType; } - public function coerceValue(null|array|bool|string $value, string $label): array + public function coerceValue(array|bool|string|null $value, string $label): array { $list = (new ListType($this->innerType))->coerceValue($value, $label); diff --git a/src/Internal/Type/NonEmptyStringType.php b/src/Internal/Type/NonEmptyStringType.php index 3b8273f7..8ada61c6 100644 --- a/src/Internal/Type/NonEmptyStringType.php +++ b/src/Internal/Type/NonEmptyStringType.php @@ -23,7 +23,7 @@ */ final class NonEmptyStringType implements ScalarType { - public function coerceValue(null|array|bool|string $value, string $label): string + public function coerceValue(array|bool|string|null $value, string $label): string { InputAssert::string($value, $label); diff --git a/src/Internal/Type/NullOrNonEmptyStringType.php b/src/Internal/Type/NullOrNonEmptyStringType.php index 2af31af7..6ba7cbfe 100644 --- a/src/Internal/Type/NullOrNonEmptyStringType.php +++ b/src/Internal/Type/NullOrNonEmptyStringType.php @@ -18,7 +18,7 @@ */ final class NullOrNonEmptyStringType implements ScalarType { - public function coerceValue(null|array|bool|string $value, string $label): ?string + public function coerceValue(array|bool|string|null $value, string $label): ?string { $trimmedValue = (new StringType())->coerceValue($value, $label); diff --git a/src/Internal/Type/NullableType.php b/src/Internal/Type/NullableType.php index af70553f..0fa86eca 100644 --- a/src/Internal/Type/NullableType.php +++ b/src/Internal/Type/NullableType.php @@ -32,7 +32,7 @@ public function __construct(InputType $innerType) $this->innerType = $innerType; } - public function coerceValue(null|array|bool|string $value, string $label): mixed + public function coerceValue(array|bool|string|null $value, string $label): mixed { return null === $value ? $value diff --git a/src/Internal/Type/PositiveIntegerType.php b/src/Internal/Type/PositiveIntegerType.php index a88fb06b..85309559 100644 --- a/src/Internal/Type/PositiveIntegerType.php +++ b/src/Internal/Type/PositiveIntegerType.php @@ -21,7 +21,7 @@ */ final class PositiveIntegerType implements ScalarType { - public function coerceValue(null|array|bool|string $value, string $label): int + public function coerceValue(array|bool|string|null $value, string $label): int { $intValue = (new NaturalType())->coerceValue($value, $label); diff --git a/src/Internal/Type/RawType.php b/src/Internal/Type/RawType.php index 34279039..f0b02bac 100644 --- a/src/Internal/Type/RawType.php +++ b/src/Internal/Type/RawType.php @@ -20,7 +20,7 @@ */ final class RawType implements InputType { - public function coerceValue(null|array|bool|string $value, string $label): mixed + public function coerceValue(array|bool|string|null $value, string $label): mixed { /** @psalm-suppress NullableReturnStatement */ return $value; diff --git a/src/Internal/Type/StringChoiceType.php b/src/Internal/Type/StringChoiceType.php index 7c1385f9..665289e4 100644 --- a/src/Internal/Type/StringChoiceType.php +++ b/src/Internal/Type/StringChoiceType.php @@ -34,7 +34,7 @@ public function __construct(array $choices) $this->choices = $choices; } - public function coerceValue(null|array|bool|string $value, string $label): string + public function coerceValue(array|bool|string|null $value, string $label): string { $value = (new StringType())->coerceValue($value, $label); diff --git a/src/Internal/Type/StringType.php b/src/Internal/Type/StringType.php index 3dccfe3b..87e70794 100644 --- a/src/Internal/Type/StringType.php +++ b/src/Internal/Type/StringType.php @@ -21,7 +21,7 @@ */ final class StringType implements ScalarType { - public function coerceValue(null|array|bool|string $value, string $label): string + public function coerceValue(array|bool|string|null $value, string $label): string { InputAssert::string($value, $label); diff --git a/src/Internal/Type/UntrimmedStringType.php b/src/Internal/Type/UntrimmedStringType.php index 9dbdf00d..7f5f83e2 100644 --- a/src/Internal/Type/UntrimmedStringType.php +++ b/src/Internal/Type/UntrimmedStringType.php @@ -20,7 +20,7 @@ */ final class UntrimmedStringType implements ScalarType { - public function coerceValue(null|array|bool|string $value, string $label): string + public function coerceValue(array|bool|string|null $value, string $label): string { InputAssert::string($value, $label); diff --git a/tests/IO/TypedInput.php b/tests/IO/TypedInput.php index 6385bade..fc8a960c 100644 --- a/tests/IO/TypedInput.php +++ b/tests/IO/TypedInput.php @@ -22,15 +22,15 @@ final class TypedInput */ public function __construct( public readonly bool|TypeException $boolean, - public readonly null|bool|TypeException $nullableBoolean, + public readonly bool|TypeException|null $nullableBoolean, public readonly string|TypeException $string, - public readonly null|string|TypeException $nullableString, + public readonly string|TypeException|null $nullableString, public readonly array|TypeException $stringArray, public readonly int|TypeException $integer, - public readonly null|int|TypeException $nullableInteger, + public readonly int|TypeException|null $nullableInteger, public readonly array|TypeException $integerArray, public readonly float|TypeException $float, - public readonly null|float|TypeException $nullableFloat, + public readonly float|TypeException|null $nullableFloat, public readonly array|TypeException $floatArray, ) { } @@ -38,13 +38,13 @@ public function __construct( public static function createForScalar( TypeException $arrayToScalarTypeException, bool|TypeException $boolean, - null|bool|TypeException $nullableBoolean, + bool|TypeException|null $nullableBoolean, string|TypeException $string, - null|string|TypeException $nullableString, + string|TypeException|null $nullableString, int|TypeException $integer, - null|int|TypeException $nullableInteger, + int|TypeException|null $nullableInteger, float|TypeException $float, - null|float|TypeException $nullableFloat, + float|TypeException|null $nullableFloat, ): self { return new self( $boolean, diff --git a/vendor-bin/php-cs-fixer/composer.lock b/vendor-bin/php-cs-fixer/composer.lock index 1ee5dab4..902a9d4e 100644 --- a/vendor-bin/php-cs-fixer/composer.lock +++ b/vendor-bin/php-cs-fixer/composer.lock @@ -9,16 +9,16 @@ "packages-dev": [ { "name": "composer/pcre", - "version": "3.1.1", + "version": "3.1.3", "source": { "type": "git", "url": "https://github.com/composer/pcre.git", - "reference": "00104306927c7a0919b4ced2aaa6782c1e61a3c9" + "reference": "5b16e25a5355f1f3afdfc2f954a0a80aec4826a8" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/composer/pcre/zipball/00104306927c7a0919b4ced2aaa6782c1e61a3c9", - "reference": "00104306927c7a0919b4ced2aaa6782c1e61a3c9", + "url": "https://api.github.com/repos/composer/pcre/zipball/5b16e25a5355f1f3afdfc2f954a0a80aec4826a8", + "reference": "5b16e25a5355f1f3afdfc2f954a0a80aec4826a8", "shasum": "" }, "require": { @@ -60,7 +60,7 @@ ], "support": { "issues": "https://github.com/composer/pcre/issues", - "source": "https://github.com/composer/pcre/tree/3.1.1" + "source": "https://github.com/composer/pcre/tree/3.1.3" }, "funding": [ { @@ -76,7 +76,7 @@ "type": "tidelift" } ], - "time": "2023-10-11T07:11:09+00:00" + "time": "2024-03-19T10:26:25+00:00" }, { "name": "composer/semver", @@ -161,16 +161,16 @@ }, { "name": "composer/xdebug-handler", - "version": "3.0.3", + "version": "3.0.4", "source": { "type": "git", "url": "https://github.com/composer/xdebug-handler.git", - "reference": "ced299686f41dce890debac69273b47ffe98a40c" + "reference": "4f988f8fdf580d53bdb2d1278fe93d1ed5462255" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/composer/xdebug-handler/zipball/ced299686f41dce890debac69273b47ffe98a40c", - "reference": "ced299686f41dce890debac69273b47ffe98a40c", + "url": "https://api.github.com/repos/composer/xdebug-handler/zipball/4f988f8fdf580d53bdb2d1278fe93d1ed5462255", + "reference": "4f988f8fdf580d53bdb2d1278fe93d1ed5462255", "shasum": "" }, "require": { @@ -181,7 +181,7 @@ "require-dev": { "phpstan/phpstan": "^1.0", "phpstan/phpstan-strict-rules": "^1.1", - "symfony/phpunit-bridge": "^6.0" + "phpunit/phpunit": "^8.5 || ^9.6 || ^10.5" }, "type": "library", "autoload": { @@ -205,9 +205,9 @@ "performance" ], "support": { - "irc": "irc://irc.freenode.org/composer", + "irc": "ircs://irc.libera.chat:6697/composer", "issues": "https://github.com/composer/xdebug-handler/issues", - "source": "https://github.com/composer/xdebug-handler/tree/3.0.3" + "source": "https://github.com/composer/xdebug-handler/tree/3.0.4" }, "funding": [ { @@ -223,30 +223,30 @@ "type": "tidelift" } ], - "time": "2022-02-25T21:32:43+00:00" + "time": "2024-03-26T18:29:49+00:00" }, { "name": "fidry/php-cs-fixer-config", - "version": "1.2.0", + "version": "1.2.1", "source": { "type": "git", "url": "https://github.com/theofidry/php-cs-fixer-config.git", - "reference": "3bf91a6c6aa79a096a4b329b02b4c4a946f2191e" + "reference": "0f4d3d2ce674d79d894dc72e79606685a41bed8c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/theofidry/php-cs-fixer-config/zipball/3bf91a6c6aa79a096a4b329b02b4c4a946f2191e", - "reference": "3bf91a6c6aa79a096a4b329b02b4c4a946f2191e", + "url": "https://api.github.com/repos/theofidry/php-cs-fixer-config/zipball/0f4d3d2ce674d79d894dc72e79606685a41bed8c", + "reference": "0f4d3d2ce674d79d894dc72e79606685a41bed8c", "shasum": "" }, "require": { "php": "^7.2 || ^8.0" }, "conflict": { - "friendsofphp/php-cs-fixer": "<3.32.0,>=4.0" + "friendsofphp/php-cs-fixer": "<3.32.0 || >=4.0" }, "require-dev": { - "ergebnis/composer-normalize": "~2.13.0", + "ergebnis/composer-normalize": "^2.13.0", "fidry/makefile": "^0.2.1 || ^1.0.0", "friendsofphp/php-cs-fixer": "^3.32.0", "phpunit/phpunit": "^9.4.3 || ^10.0", @@ -271,31 +271,32 @@ "description": "The PHP-CS-Fixer default config for my projects", "support": { "issues": "https://github.com/theofidry/php-cs-fixer-config/issues", - "source": "https://github.com/theofidry/php-cs-fixer-config/tree/1.2.0" + "source": "https://github.com/theofidry/php-cs-fixer-config/tree/1.2.1" }, - "time": "2023-11-22T09:14:35+00:00" + "time": "2024-04-01T13:32:19+00:00" }, { "name": "friendsofphp/php-cs-fixer", - "version": "v3.40.2", + "version": "v3.54.0", "source": { "type": "git", "url": "https://github.com/PHP-CS-Fixer/PHP-CS-Fixer.git", - "reference": "4344562a516b76afe8f2d64b2e52214c30d64ed8" + "reference": "2aecbc8640d7906c38777b3dcab6f4ca79004d08" }, "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/2aecbc8640d7906c38777b3dcab6f4ca79004d08", + "reference": "2aecbc8640d7906c38777b3dcab6f4ca79004d08", "shasum": "" }, "require": { "composer/semver": "^3.4", "composer/xdebug-handler": "^3.0.3", + "ext-filter": "*", "ext-json": "*", "ext-tokenizer": "*", "php": "^7.4 || ^8.0", - "sebastian/diff": "^4.0 || ^5.0", + "sebastian/diff": "^4.0 || ^5.0 || ^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", @@ -309,6 +310,7 @@ }, "require-dev": { "facile-it/paraunit": "^1.3 || ^2.0", + "infection/infection": "^0.27.11", "justinrainbow/json-schema": "^5.2", "keradus/cli-executor": "^2.1", "mikey179/vfsstream": "^1.6.11", @@ -316,10 +318,8 @@ "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", + "phpunit/phpunit": "^9.6 || ^10.5.5 || ^11.0.2", + "symfony/var-dumper": "^5.4 || ^6.0 || ^7.0", "symfony/yaml": "^5.4 || ^6.0 || ^7.0" }, "suggest": { @@ -358,7 +358,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.54.0" }, "funding": [ { @@ -366,7 +366,7 @@ "type": "github" } ], - "time": "2023-12-03T09:21:33+00:00" + "time": "2024-04-17T08:12:13+00:00" }, { "name": "psr/container", @@ -523,29 +523,29 @@ }, { "name": "sebastian/diff", - "version": "5.0.3", + "version": "6.0.1", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/diff.git", - "reference": "912dc2fbe3e3c1e7873313cc801b100b6c68c87b" + "reference": "ab83243ecc233de5655b76f577711de9f842e712" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/diff/zipball/912dc2fbe3e3c1e7873313cc801b100b6c68c87b", - "reference": "912dc2fbe3e3c1e7873313cc801b100b6c68c87b", + "url": "https://api.github.com/repos/sebastianbergmann/diff/zipball/ab83243ecc233de5655b76f577711de9f842e712", + "reference": "ab83243ecc233de5655b76f577711de9f842e712", "shasum": "" }, "require": { - "php": ">=8.1" + "php": ">=8.2" }, "require-dev": { - "phpunit/phpunit": "^10.0", + "phpunit/phpunit": "^11.0", "symfony/process": "^4.2 || ^5" }, "type": "library", "extra": { "branch-alias": { - "dev-main": "5.0-dev" + "dev-main": "6.0-dev" } }, "autoload": { @@ -578,7 +578,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/6.0.1" }, "funding": [ { @@ -586,20 +586,20 @@ "type": "github" } ], - "time": "2023-05-01T07:48:21+00:00" + "time": "2024-03-02T07:30:33+00:00" }, { "name": "symfony/console", - "version": "v7.0.1", + "version": "v7.0.6", "source": { "type": "git", "url": "https://github.com/symfony/console.git", - "reference": "cdce5c684b2f920bb1343deecdfba356ffad83d5" + "reference": "fde915cd8e7eb99b3d531d3d5c09531429c3f9e5" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/console/zipball/cdce5c684b2f920bb1343deecdfba356ffad83d5", - "reference": "cdce5c684b2f920bb1343deecdfba356ffad83d5", + "url": "https://api.github.com/repos/symfony/console/zipball/fde915cd8e7eb99b3d531d3d5c09531429c3f9e5", + "reference": "fde915cd8e7eb99b3d531d3d5c09531429c3f9e5", "shasum": "" }, "require": { @@ -663,7 +663,7 @@ "terminal" ], "support": { - "source": "https://github.com/symfony/console/tree/v7.0.1" + "source": "https://github.com/symfony/console/tree/v7.0.6" }, "funding": [ { @@ -679,7 +679,7 @@ "type": "tidelift" } ], - "time": "2023-12-01T15:10:06+00:00" + "time": "2024-04-01T11:04:53+00:00" }, { "name": "symfony/deprecation-contracts", @@ -750,16 +750,16 @@ }, { "name": "symfony/event-dispatcher", - "version": "v7.0.0", + "version": "v7.0.3", "source": { "type": "git", "url": "https://github.com/symfony/event-dispatcher.git", - "reference": "c459b40ffe67c49af6fd392aac374c9edf8a027e" + "reference": "834c28d533dd0636f910909d01b9ff45cc094b5e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/c459b40ffe67c49af6fd392aac374c9edf8a027e", - "reference": "c459b40ffe67c49af6fd392aac374c9edf8a027e", + "url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/834c28d533dd0636f910909d01b9ff45cc094b5e", + "reference": "834c28d533dd0636f910909d01b9ff45cc094b5e", "shasum": "" }, "require": { @@ -810,7 +810,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/v7.0.0" + "source": "https://github.com/symfony/event-dispatcher/tree/v7.0.3" }, "funding": [ { @@ -826,20 +826,20 @@ "type": "tidelift" } ], - "time": "2023-07-27T16:29:09+00:00" + "time": "2024-01-23T15:02:46+00:00" }, { "name": "symfony/event-dispatcher-contracts", - "version": "v3.4.0", + "version": "v3.4.2", "source": { "type": "git", "url": "https://github.com/symfony/event-dispatcher-contracts.git", - "reference": "a76aed96a42d2b521153fb382d418e30d18b59df" + "reference": "4e64b49bf370ade88e567de29465762e316e4224" }, "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/4e64b49bf370ade88e567de29465762e316e4224", + "reference": "4e64b49bf370ade88e567de29465762e316e4224", "shasum": "" }, "require": { @@ -886,7 +886,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.4.2" }, "funding": [ { @@ -902,20 +902,20 @@ "type": "tidelift" } ], - "time": "2023-05-23T14:45:45+00:00" + "time": "2024-01-23T14:51:35+00:00" }, { "name": "symfony/filesystem", - "version": "v7.0.0", + "version": "v7.0.6", "source": { "type": "git", "url": "https://github.com/symfony/filesystem.git", - "reference": "7da8ea2362a283771478c5f7729cfcb43a76b8b7" + "reference": "408105dff4c104454100730bdfd1a9cdd993f04d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/filesystem/zipball/7da8ea2362a283771478c5f7729cfcb43a76b8b7", - "reference": "7da8ea2362a283771478c5f7729cfcb43a76b8b7", + "url": "https://api.github.com/repos/symfony/filesystem/zipball/408105dff4c104454100730bdfd1a9cdd993f04d", + "reference": "408105dff4c104454100730bdfd1a9cdd993f04d", "shasum": "" }, "require": { @@ -949,7 +949,7 @@ "description": "Provides basic utilities for the filesystem", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/filesystem/tree/v7.0.0" + "source": "https://github.com/symfony/filesystem/tree/v7.0.6" }, "funding": [ { @@ -965,7 +965,7 @@ "type": "tidelift" } ], - "time": "2023-07-27T06:33:22+00:00" + "time": "2024-03-21T19:37:36+00:00" }, { "name": "symfony/finder", @@ -1100,16 +1100,16 @@ }, { "name": "symfony/polyfill-ctype", - "version": "v1.28.0", + "version": "v1.29.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-ctype.git", - "reference": "ea208ce43cbb04af6867b4fdddb1bdbf84cc28cb" + "reference": "ef4d7e442ca910c4764bce785146269b30cb5fc4" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/ea208ce43cbb04af6867b4fdddb1bdbf84cc28cb", - "reference": "ea208ce43cbb04af6867b4fdddb1bdbf84cc28cb", + "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/ef4d7e442ca910c4764bce785146269b30cb5fc4", + "reference": "ef4d7e442ca910c4764bce785146269b30cb5fc4", "shasum": "" }, "require": { @@ -1123,9 +1123,6 @@ }, "type": "library", "extra": { - "branch-alias": { - "dev-main": "1.28-dev" - }, "thanks": { "name": "symfony/polyfill", "url": "https://github.com/symfony/polyfill" @@ -1162,7 +1159,7 @@ "portable" ], "support": { - "source": "https://github.com/symfony/polyfill-ctype/tree/v1.28.0" + "source": "https://github.com/symfony/polyfill-ctype/tree/v1.29.0" }, "funding": [ { @@ -1178,20 +1175,20 @@ "type": "tidelift" } ], - "time": "2023-01-26T09:26:14+00:00" + "time": "2024-01-29T20:11:03+00:00" }, { "name": "symfony/polyfill-intl-grapheme", - "version": "v1.28.0", + "version": "v1.29.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-intl-grapheme.git", - "reference": "875e90aeea2777b6f135677f618529449334a612" + "reference": "32a9da87d7b3245e09ac426c83d334ae9f06f80f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-grapheme/zipball/875e90aeea2777b6f135677f618529449334a612", - "reference": "875e90aeea2777b6f135677f618529449334a612", + "url": "https://api.github.com/repos/symfony/polyfill-intl-grapheme/zipball/32a9da87d7b3245e09ac426c83d334ae9f06f80f", + "reference": "32a9da87d7b3245e09ac426c83d334ae9f06f80f", "shasum": "" }, "require": { @@ -1202,9 +1199,6 @@ }, "type": "library", "extra": { - "branch-alias": { - "dev-main": "1.28-dev" - }, "thanks": { "name": "symfony/polyfill", "url": "https://github.com/symfony/polyfill" @@ -1243,7 +1237,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-intl-grapheme/tree/v1.28.0" + "source": "https://github.com/symfony/polyfill-intl-grapheme/tree/v1.29.0" }, "funding": [ { @@ -1259,20 +1253,20 @@ "type": "tidelift" } ], - "time": "2023-01-26T09:26:14+00:00" + "time": "2024-01-29T20:11:03+00:00" }, { "name": "symfony/polyfill-intl-normalizer", - "version": "v1.28.0", + "version": "v1.29.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-intl-normalizer.git", - "reference": "8c4ad05dd0120b6a53c1ca374dca2ad0a1c4ed92" + "reference": "bc45c394692b948b4d383a08d7753968bed9a83d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-normalizer/zipball/8c4ad05dd0120b6a53c1ca374dca2ad0a1c4ed92", - "reference": "8c4ad05dd0120b6a53c1ca374dca2ad0a1c4ed92", + "url": "https://api.github.com/repos/symfony/polyfill-intl-normalizer/zipball/bc45c394692b948b4d383a08d7753968bed9a83d", + "reference": "bc45c394692b948b4d383a08d7753968bed9a83d", "shasum": "" }, "require": { @@ -1283,9 +1277,6 @@ }, "type": "library", "extra": { - "branch-alias": { - "dev-main": "1.28-dev" - }, "thanks": { "name": "symfony/polyfill", "url": "https://github.com/symfony/polyfill" @@ -1327,7 +1318,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-intl-normalizer/tree/v1.28.0" + "source": "https://github.com/symfony/polyfill-intl-normalizer/tree/v1.29.0" }, "funding": [ { @@ -1343,20 +1334,20 @@ "type": "tidelift" } ], - "time": "2023-01-26T09:26:14+00:00" + "time": "2024-01-29T20:11:03+00:00" }, { "name": "symfony/polyfill-mbstring", - "version": "v1.28.0", + "version": "v1.29.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-mbstring.git", - "reference": "42292d99c55abe617799667f454222c54c60e229" + "reference": "9773676c8a1bb1f8d4340a62efe641cf76eda7ec" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/42292d99c55abe617799667f454222c54c60e229", - "reference": "42292d99c55abe617799667f454222c54c60e229", + "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/9773676c8a1bb1f8d4340a62efe641cf76eda7ec", + "reference": "9773676c8a1bb1f8d4340a62efe641cf76eda7ec", "shasum": "" }, "require": { @@ -1370,9 +1361,6 @@ }, "type": "library", "extra": { - "branch-alias": { - "dev-main": "1.28-dev" - }, "thanks": { "name": "symfony/polyfill", "url": "https://github.com/symfony/polyfill" @@ -1410,7 +1398,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.28.0" + "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.29.0" }, "funding": [ { @@ -1426,20 +1414,20 @@ "type": "tidelift" } ], - "time": "2023-07-28T09:04:16+00:00" + "time": "2024-01-29T20:11:03+00:00" }, { "name": "symfony/polyfill-php80", - "version": "v1.28.0", + "version": "v1.29.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-php80.git", - "reference": "6caa57379c4aec19c0a12a38b59b26487dcfe4b5" + "reference": "87b68208d5c1188808dd7839ee1e6c8ec3b02f1b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-php80/zipball/6caa57379c4aec19c0a12a38b59b26487dcfe4b5", - "reference": "6caa57379c4aec19c0a12a38b59b26487dcfe4b5", + "url": "https://api.github.com/repos/symfony/polyfill-php80/zipball/87b68208d5c1188808dd7839ee1e6c8ec3b02f1b", + "reference": "87b68208d5c1188808dd7839ee1e6c8ec3b02f1b", "shasum": "" }, "require": { @@ -1447,9 +1435,6 @@ }, "type": "library", "extra": { - "branch-alias": { - "dev-main": "1.28-dev" - }, "thanks": { "name": "symfony/polyfill", "url": "https://github.com/symfony/polyfill" @@ -1493,7 +1478,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-php80/tree/v1.28.0" + "source": "https://github.com/symfony/polyfill-php80/tree/v1.29.0" }, "funding": [ { @@ -1509,20 +1494,20 @@ "type": "tidelift" } ], - "time": "2023-01-26T09:26:14+00:00" + "time": "2024-01-29T20:11:03+00:00" }, { "name": "symfony/polyfill-php81", - "version": "v1.28.0", + "version": "v1.29.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-php81.git", - "reference": "7581cd600fa9fd681b797d00b02f068e2f13263b" + "reference": "c565ad1e63f30e7477fc40738343c62b40bc672d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-php81/zipball/7581cd600fa9fd681b797d00b02f068e2f13263b", - "reference": "7581cd600fa9fd681b797d00b02f068e2f13263b", + "url": "https://api.github.com/repos/symfony/polyfill-php81/zipball/c565ad1e63f30e7477fc40738343c62b40bc672d", + "reference": "c565ad1e63f30e7477fc40738343c62b40bc672d", "shasum": "" }, "require": { @@ -1530,9 +1515,6 @@ }, "type": "library", "extra": { - "branch-alias": { - "dev-main": "1.28-dev" - }, "thanks": { "name": "symfony/polyfill", "url": "https://github.com/symfony/polyfill" @@ -1572,7 +1554,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-php81/tree/v1.28.0" + "source": "https://github.com/symfony/polyfill-php81/tree/v1.29.0" }, "funding": [ { @@ -1588,20 +1570,20 @@ "type": "tidelift" } ], - "time": "2023-01-26T09:26:14+00:00" + "time": "2024-01-29T20:11:03+00:00" }, { "name": "symfony/process", - "version": "v7.0.0", + "version": "v7.0.4", "source": { "type": "git", "url": "https://github.com/symfony/process.git", - "reference": "13bdb1670c7f510494e04fcb2bfa29af63db9c0d" + "reference": "0e7727191c3b71ebec6d529fa0e50a01ca5679e9" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/process/zipball/13bdb1670c7f510494e04fcb2bfa29af63db9c0d", - "reference": "13bdb1670c7f510494e04fcb2bfa29af63db9c0d", + "url": "https://api.github.com/repos/symfony/process/zipball/0e7727191c3b71ebec6d529fa0e50a01ca5679e9", + "reference": "0e7727191c3b71ebec6d529fa0e50a01ca5679e9", "shasum": "" }, "require": { @@ -1633,7 +1615,7 @@ "description": "Executes commands in sub-processes", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/process/tree/v7.0.0" + "source": "https://github.com/symfony/process/tree/v7.0.4" }, "funding": [ { @@ -1649,25 +1631,25 @@ "type": "tidelift" } ], - "time": "2023-11-20T16:43:42+00:00" + "time": "2024-02-22T20:27:20+00:00" }, { "name": "symfony/service-contracts", - "version": "v3.4.0", + "version": "v3.4.2", "source": { "type": "git", "url": "https://github.com/symfony/service-contracts.git", - "reference": "b3313c2dbffaf71c8de2934e2ea56ed2291a3838" + "reference": "11bbf19a0fb7b36345861e85c5768844c552906e" }, "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/11bbf19a0fb7b36345861e85c5768844c552906e", + "reference": "11bbf19a0fb7b36345861e85c5768844c552906e", "shasum": "" }, "require": { "php": ">=8.1", - "psr/container": "^2.0" + "psr/container": "^1.1|^2.0" }, "conflict": { "ext-psr": "<1.1|>=2" @@ -1715,7 +1697,7 @@ "standards" ], "support": { - "source": "https://github.com/symfony/service-contracts/tree/v3.4.0" + "source": "https://github.com/symfony/service-contracts/tree/v3.4.2" }, "funding": [ { @@ -1731,20 +1713,20 @@ "type": "tidelift" } ], - "time": "2023-07-30T20:28:31+00:00" + "time": "2023-12-19T21:51:00+00:00" }, { "name": "symfony/stopwatch", - "version": "v7.0.0", + "version": "v7.0.3", "source": { "type": "git", "url": "https://github.com/symfony/stopwatch.git", - "reference": "7bbfa3dd564a0ce12eb4acaaa46823c740f9cb7a" + "reference": "983900d6fddf2b0cbaacacbbad07610854bd8112" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/stopwatch/zipball/7bbfa3dd564a0ce12eb4acaaa46823c740f9cb7a", - "reference": "7bbfa3dd564a0ce12eb4acaaa46823c740f9cb7a", + "url": "https://api.github.com/repos/symfony/stopwatch/zipball/983900d6fddf2b0cbaacacbbad07610854bd8112", + "reference": "983900d6fddf2b0cbaacacbbad07610854bd8112", "shasum": "" }, "require": { @@ -1777,7 +1759,7 @@ "description": "Provides a way to profile code", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/stopwatch/tree/v7.0.0" + "source": "https://github.com/symfony/stopwatch/tree/v7.0.3" }, "funding": [ { @@ -1793,20 +1775,20 @@ "type": "tidelift" } ], - "time": "2023-07-05T13:06:06+00:00" + "time": "2024-01-23T15:02:46+00:00" }, { "name": "symfony/string", - "version": "v7.0.0", + "version": "v7.0.4", "source": { "type": "git", "url": "https://github.com/symfony/string.git", - "reference": "92bd2bfbba476d4a1838e5e12168bef2fd1e6620" + "reference": "f5832521b998b0bec40bee688ad5de98d4cf111b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/string/zipball/92bd2bfbba476d4a1838e5e12168bef2fd1e6620", - "reference": "92bd2bfbba476d4a1838e5e12168bef2fd1e6620", + "url": "https://api.github.com/repos/symfony/string/zipball/f5832521b998b0bec40bee688ad5de98d4cf111b", + "reference": "f5832521b998b0bec40bee688ad5de98d4cf111b", "shasum": "" }, "require": { @@ -1863,7 +1845,7 @@ "utf8" ], "support": { - "source": "https://github.com/symfony/string/tree/v7.0.0" + "source": "https://github.com/symfony/string/tree/v7.0.4" }, "funding": [ { @@ -1879,7 +1861,7 @@ "type": "tidelift" } ], - "time": "2023-11-29T08:40:23+00:00" + "time": "2024-02-01T13:17:36+00:00" } ], "aliases": [],