From f156fb8073575b50ab387ce197cc449dacb61a03 Mon Sep 17 00:00:00 2001 From: Aleksei Lebedev <1329824+LastDragon-ru@users.noreply.github.com> Date: Thu, 28 Mar 2024 15:28:46 +0400 Subject: [PATCH] =?UTF-8?q?release:=20Laravel=20v11=20Support=20?= =?UTF-8?q?=F0=9F=A7=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 4 ++-- metadata.json | 13 ++++++++++++- packages/core/README.md | 4 ++-- packages/core/metadata.json | 13 ++++++++++++- packages/dev/README.md | 8 ++++---- packages/dev/metadata.json | 12 +++++++++++- packages/documentator/README.md | 4 ++-- packages/documentator/metadata.json | 13 ++++++++++++- .../Contracts/ParameterizableInstruction.php | 2 +- packages/documentator/src/Utils/Path.php | 4 ++-- packages/eloquent/README.md | 4 ++-- packages/eloquent/metadata.json | 13 ++++++++++++- packages/formatter/README.md | 4 ++-- packages/formatter/metadata.json | 13 ++++++++++++- packages/graphql-printer/metadata.json | 12 +++++++++++- packages/graphql/README.md | 4 ++-- packages/graphql/metadata.json | 16 +++++++++++++++- packages/migrator/README.md | 4 ++-- packages/migrator/metadata.json | 13 ++++++++++++- packages/serializer/README.md | 4 ++-- packages/serializer/metadata.json | 13 ++++++++++++- packages/spa/README.md | 4 ++-- packages/spa/metadata.json | 13 ++++++++++++- packages/spa/src/Http/Request.php | 4 ++-- packages/spa/src/Http/RequestTest.php | 2 +- packages/spa/src/Validation/Rules/Rule.php | 8 ++++---- packages/testing/README.md | 6 +++--- packages/testing/metadata.json | 17 ++++++++++++++++- .../src/Database/RefreshDatabaseIfEmpty.php | 4 ++-- .../src/Database/RefreshDatabaseIfEmptyTest.php | 2 +- packages/testing/src/TestCase.php | 4 ++-- 31 files changed, 189 insertions(+), 52 deletions(-) diff --git a/README.md b/README.md index aad225c79..86e11451f 100644 --- a/README.md +++ b/README.md @@ -17,8 +17,8 @@ The set provides best practices to make development more fun and classes/service | | `^8.0.0` | `1.1.2 ⋯ 0.12.0` | | | `>=8.0.0` | `0.11.0 ⋯ 0.4.0` | | | `>=7.4.0` | `0.3.0 ⋯ 0.1.0` | -| Laravel | `^11.0.0` | `HEAD` | -| | `^10.34.0` | `HEAD` | +| Laravel | `^11.0.0` | `HEAD` , `6.2.0` | +| | `^10.34.0` | `HEAD` , `6.2.0` | | | `^10.0.0` | `6.1.0 ⋯ 2.1.0` | | | `^9.21.0` | `5.6.0 ⋯ 5.0.0-beta.1` | | | `^9.0.0` | `5.0.0-beta.0 ⋯ 0.12.0` | diff --git a/metadata.json b/metadata.json index de337a71f..984495764 100644 --- a/metadata.json +++ b/metadata.json @@ -1,5 +1,5 @@ { - "version": "6.1.0", + "version": "6.2.0", "require": [], "merge": null, "requirements": { @@ -14,6 +14,17 @@ "^8.1" ] }, + "6.2.0": { + "laravel/framework": [ + "^11.0.0", + "^10.34.0" + ], + "php": [ + "^8.3", + "^8.2", + "^8.1" + ] + }, "6.1.0": { "laravel/framework": [ "^10.0.0" diff --git a/packages/core/README.md b/packages/core/README.md index 5677c3809..862d800e0 100644 --- a/packages/core/README.md +++ b/packages/core/README.md @@ -17,8 +17,8 @@ This package contains useful utilities and classes. | | `^8.0.0` | `1.1.2 ⋯ 0.12.0` | | | `>=8.0.0` | `0.11.0 ⋯ 0.4.0` | | | `>=7.4.0` | `0.3.0 ⋯ 0.1.0` | -| Laravel | `^11.0.0` | `HEAD` | -| | `^10.34.0` | `HEAD` | +| Laravel | `^11.0.0` | `HEAD` , `6.2.0` | +| | `^10.34.0` | `HEAD` , `6.2.0` | | | `^10.0.0` | `6.1.0 ⋯ 2.1.0` | | | `^9.21.0` | `5.6.0 ⋯ 5.0.0-beta.1` | | | `^9.0.0` | `5.0.0-beta.0 ⋯ 0.12.0` | diff --git a/packages/core/metadata.json b/packages/core/metadata.json index 7ffe3451a..363e29659 100644 --- a/packages/core/metadata.json +++ b/packages/core/metadata.json @@ -1,5 +1,5 @@ { - "version": "6.1.0", + "version": "6.2.0", "require": [], "merge": null, "requirements": { @@ -14,6 +14,17 @@ "^8.1" ] }, + "6.2.0": { + "laravel/framework": [ + "^11.0.0", + "^10.34.0" + ], + "php": [ + "^8.3", + "^8.2", + "^8.1" + ] + }, "6.1.0": { "laravel/framework": [ "^10.0.0" diff --git a/packages/dev/README.md b/packages/dev/README.md index 3856deab2..26992b6f0 100644 --- a/packages/dev/README.md +++ b/packages/dev/README.md @@ -10,10 +10,10 @@ Various internal tools and helpers to develop the package itself. | Requirement | Constraint | Supported by | |--------------|---------------------|------------------| -| PHP | `^8.3` | `HEAD` | -| | `^8.2` | `HEAD` | -| | `^8.1` | `HEAD` | -| PHPStan | `^1.10` | `HEAD` | +| PHP | `^8.3` | `HEAD` , `6.2.0` | +| | `^8.2` | `HEAD` , `6.2.0` | +| | `^8.1` | `HEAD` , `6.2.0` | +| PHPStan | `^1.10` | `HEAD` , `6.2.0` | [//]: # (end: 876a9177c0e8e3722ac84e8f3888245fc9070a64a87dedfe7c9d9ba2a13b374b) diff --git a/packages/dev/metadata.json b/packages/dev/metadata.json index f83fbef3a..0a0dc8154 100644 --- a/packages/dev/metadata.json +++ b/packages/dev/metadata.json @@ -1,5 +1,5 @@ { - "version": "HEAD", + "version": "6.2.0", "require": { "php": "PHP", "phpstan/phpstan": "PHPStan" @@ -15,6 +15,16 @@ "phpstan/phpstan": [ "^1.10" ] + }, + "6.2.0": { + "php": [ + "^8.3", + "^8.2", + "^8.1" + ], + "phpstan/phpstan": [ + "^1.10" + ] } } } diff --git a/packages/documentator/README.md b/packages/documentator/README.md index f83ae0239..d385d68b2 100644 --- a/packages/documentator/README.md +++ b/packages/documentator/README.md @@ -13,8 +13,8 @@ This package provides various utilities for documentation generation such as Mar | PHP | `^8.3` | `HEAD ⋯ 5.0.0` | | | `^8.2` | `HEAD ⋯ 5.0.0-beta.1` | | | `^8.1` | `HEAD ⋯ 5.0.0-beta.1` | -| Laravel | `^11.0.0` | `HEAD` | -| | `^10.34.0` | `HEAD` | +| Laravel | `^11.0.0` | `HEAD` , `6.2.0` | +| | `^10.34.0` | `HEAD` , `6.2.0` | | | `^10.0.0` | `6.1.0 ⋯ 5.0.0-beta.1` | | | `^9.21.0` | `5.6.0 ⋯ 5.0.0-beta.1` | diff --git a/packages/documentator/metadata.json b/packages/documentator/metadata.json index d87b978f8..f9cdf54bc 100644 --- a/packages/documentator/metadata.json +++ b/packages/documentator/metadata.json @@ -1,5 +1,5 @@ { - "version": "6.1.0", + "version": "6.2.0", "require": [], "merge": null, "requirements": { @@ -14,6 +14,17 @@ "^8.1" ] }, + "6.2.0": { + "laravel/framework": [ + "^11.0.0", + "^10.34.0" + ], + "php": [ + "^8.3", + "^8.2", + "^8.1" + ] + }, "6.1.0": { "laravel/framework": [ "^10.0.0" diff --git a/packages/documentator/src/Preprocessor/Contracts/ParameterizableInstruction.php b/packages/documentator/src/Preprocessor/Contracts/ParameterizableInstruction.php index 3047bcd2a..d00c38b87 100644 --- a/packages/documentator/src/Preprocessor/Contracts/ParameterizableInstruction.php +++ b/packages/documentator/src/Preprocessor/Contracts/ParameterizableInstruction.php @@ -14,7 +14,7 @@ interface ParameterizableInstruction extends Instruction { public static function getParameters(): string; /** - * @deprecated %{VERSION} Use docblock instead. + * @deprecated 6.2.0 Use docblock instead. * * @return array */ diff --git a/packages/documentator/src/Utils/Path.php b/packages/documentator/src/Utils/Path.php index 297c4d1af..ac4e3a23b 100644 --- a/packages/documentator/src/Utils/Path.php +++ b/packages/documentator/src/Utils/Path.php @@ -9,10 +9,10 @@ // phpcs:disable PSR1.Files.SideEffects -trigger_deprecation(Package::Name, '%{VERSION}', 'Please use `%s` instead.', CorePath::class); +trigger_deprecation(Package::Name, '6.2.0', 'Please use `%s` instead.', CorePath::class); /** - * @deprecated %{VERSION} Use {@see CorePath} instead. + * @deprecated 6.2.0 Use {@see CorePath} instead. */ class Path extends CorePath { // empty diff --git a/packages/eloquent/README.md b/packages/eloquent/README.md index 3391a444e..417dfa4b4 100644 --- a/packages/eloquent/README.md +++ b/packages/eloquent/README.md @@ -17,8 +17,8 @@ This package contains useful extensions and mixins for [Eloquent](https://larave | | `^8.0.0` | `1.1.2 ⋯ 0.12.0` | | | `>=8.0.0` | `0.11.0 ⋯ 0.4.0` | | | `>=7.4.0` | `0.3.0 ⋯ 0.1.0` | -| Laravel | `^11.0.0` | `HEAD` | -| | `^10.34.0` | `HEAD` | +| Laravel | `^11.0.0` | `HEAD` , `6.2.0` | +| | `^10.34.0` | `HEAD` , `6.2.0` | | | `^10.0.0` | `6.1.0 ⋯ 2.1.0` | | | `^9.21.0` | `5.6.0 ⋯ 5.0.0-beta.1` | | | `^9.0.0` | `5.0.0-beta.0 ⋯ 0.12.0` | diff --git a/packages/eloquent/metadata.json b/packages/eloquent/metadata.json index de337a71f..984495764 100644 --- a/packages/eloquent/metadata.json +++ b/packages/eloquent/metadata.json @@ -1,5 +1,5 @@ { - "version": "6.1.0", + "version": "6.2.0", "require": [], "merge": null, "requirements": { @@ -14,6 +14,17 @@ "^8.1" ] }, + "6.2.0": { + "laravel/framework": [ + "^11.0.0", + "^10.34.0" + ], + "php": [ + "^8.3", + "^8.2", + "^8.1" + ] + }, "6.1.0": { "laravel/framework": [ "^10.0.0" diff --git a/packages/formatter/README.md b/packages/formatter/README.md index c4a859514..b6297423f 100644 --- a/packages/formatter/README.md +++ b/packages/formatter/README.md @@ -17,8 +17,8 @@ This package provides a customizable wrapper around [Intl](https://www.php.net/m | | `^8.0.0` | `1.1.2 ⋯ 0.12.0` | | | `>=8.0.0` | `0.11.0 ⋯ 0.4.0` | | | `>=7.4.0` | `0.3.0 ⋯ 0.1.0` | -| Laravel | `^11.0.0` | `HEAD` | -| | `^10.34.0` | `HEAD` | +| Laravel | `^11.0.0` | `HEAD` , `6.2.0` | +| | `^10.34.0` | `HEAD` , `6.2.0` | | | `^10.0.0` | `6.1.0 ⋯ 2.1.0` | | | `^9.21.0` | `5.6.0 ⋯ 5.0.0-beta.1` | | | `^9.0.0` | `5.0.0-beta.0 ⋯ 0.12.0` | diff --git a/packages/formatter/metadata.json b/packages/formatter/metadata.json index de337a71f..984495764 100644 --- a/packages/formatter/metadata.json +++ b/packages/formatter/metadata.json @@ -1,5 +1,5 @@ { - "version": "6.1.0", + "version": "6.2.0", "require": [], "merge": null, "requirements": { @@ -14,6 +14,17 @@ "^8.1" ] }, + "6.2.0": { + "laravel/framework": [ + "^11.0.0", + "^10.34.0" + ], + "php": [ + "^8.3", + "^8.2", + "^8.1" + ] + }, "6.1.0": { "laravel/framework": [ "^10.0.0" diff --git a/packages/graphql-printer/metadata.json b/packages/graphql-printer/metadata.json index 2c912fc59..49c077b8b 100644 --- a/packages/graphql-printer/metadata.json +++ b/packages/graphql-printer/metadata.json @@ -1,5 +1,5 @@ { - "version": "6.1.0", + "version": "6.2.0", "require": { "php": "PHP", "webonyx/graphql-php": "`webonyx/graphql-php`" @@ -16,6 +16,16 @@ "^15.4.0" ] }, + "6.2.0": { + "php": [ + "^8.3", + "^8.2", + "^8.1" + ], + "webonyx/graphql-php": [ + "^15.4.0" + ] + }, "6.1.0": { "php": [ "^8.3", diff --git a/packages/graphql/README.md b/packages/graphql/README.md index 0788bccf1..2ad19a5e2 100644 --- a/packages/graphql/README.md +++ b/packages/graphql/README.md @@ -16,8 +16,8 @@ This package provides highly powerful `@searchBy`, `@sortBy`, `@stream` directiv | | `^8.0` | `4.6.0 ⋯ 2.0.0` | | | `^8.0.0` | `1.1.2 ⋯ 0.12.0` | | | `>=8.0.0` | `0.11.0 ⋯ 0.5.0` | -| Laravel | `^11.0.0` | `HEAD` | -| | `^10.34.0` | `HEAD` | +| Laravel | `^11.0.0` | `HEAD` , `6.2.0` | +| | `^10.34.0` | `HEAD` , `6.2.0` | | | `^10.0.0` | `6.1.0 ⋯ 2.1.0` | | | `^9.21.0` | `5.6.0 ⋯ 5.0.0-beta.1` | | | `^9.0.0` | `5.0.0-beta.0 ⋯ 0.12.0` | diff --git a/packages/graphql/metadata.json b/packages/graphql/metadata.json index 56bde222e..b3e98ac1a 100644 --- a/packages/graphql/metadata.json +++ b/packages/graphql/metadata.json @@ -1,5 +1,5 @@ { - "version": "6.1.0", + "version": "6.2.0", "require": { "php": "PHP", "laravel/framework": "Laravel", @@ -21,6 +21,20 @@ "^8.1" ] }, + "6.2.0": { + "laravel/framework": [ + "^11.0.0", + "^10.34.0" + ], + "nuwave/lighthouse": [ + "^6.5.0" + ], + "php": [ + "^8.3", + "^8.2", + "^8.1" + ] + }, "6.1.0": { "laravel/framework": [ "^10.0.0" diff --git a/packages/migrator/README.md b/packages/migrator/README.md index 066c9dc61..44096fe7e 100644 --- a/packages/migrator/README.md +++ b/packages/migrator/README.md @@ -21,8 +21,8 @@ This package improves standard Laravel migrations to add support for raw SQL fil | | `^8.0.0` | `1.1.2 ⋯ 0.12.0` | | | `>=8.0.0` | `0.11.0 ⋯ 0.4.0` | | | `>=7.4.0` | `0.3.0 ⋯ 0.1.0` | -| Laravel | `^11.0.0` | `HEAD` | -| | `^10.34.0` | `HEAD` | +| Laravel | `^11.0.0` | `HEAD` , `6.2.0` | +| | `^10.34.0` | `HEAD` , `6.2.0` | | | `^10.0.0` | `6.1.0 ⋯ 2.1.0` | | | `^9.21.0` | `5.6.0 ⋯ 5.0.0-beta.1` | | | `^9.0.0` | `5.0.0-beta.0 ⋯ 0.12.0` | diff --git a/packages/migrator/metadata.json b/packages/migrator/metadata.json index de337a71f..984495764 100644 --- a/packages/migrator/metadata.json +++ b/packages/migrator/metadata.json @@ -1,5 +1,5 @@ { - "version": "6.1.0", + "version": "6.2.0", "require": [], "merge": null, "requirements": { @@ -14,6 +14,17 @@ "^8.1" ] }, + "6.2.0": { + "laravel/framework": [ + "^11.0.0", + "^10.34.0" + ], + "php": [ + "^8.3", + "^8.2", + "^8.1" + ] + }, "6.1.0": { "laravel/framework": [ "^10.0.0" diff --git a/packages/serializer/README.md b/packages/serializer/README.md index 285dd419d..e69b09f1b 100644 --- a/packages/serializer/README.md +++ b/packages/serializer/README.md @@ -13,8 +13,8 @@ This package provides a customizable wrapper around the [Symfony Serializer Comp | PHP | `^8.3` | `HEAD ⋯ 5.0.0` | | | `^8.2` | `HEAD ⋯ 5.0.0-beta.0` | | | `^8.1` | `HEAD ⋯ 5.0.0-beta.0` | -| Laravel | `^11.0.0` | `HEAD` | -| | `^10.34.0` | `HEAD` | +| Laravel | `^11.0.0` | `HEAD` , `6.2.0` | +| | `^10.34.0` | `HEAD` , `6.2.0` | | | `^10.0.0` | `6.1.0 ⋯ 5.0.0-beta.0` | | | `^9.21.0` | `5.6.0 ⋯ 5.0.0-beta.1` | | | `^9.0.0` | `5.0.0-beta.0` | diff --git a/packages/serializer/metadata.json b/packages/serializer/metadata.json index 2f341b19d..fbacdf0b2 100644 --- a/packages/serializer/metadata.json +++ b/packages/serializer/metadata.json @@ -1,5 +1,5 @@ { - "version": "6.1.0", + "version": "6.2.0", "require": [], "merge": null, "requirements": { @@ -14,6 +14,17 @@ "^8.1" ] }, + "6.2.0": { + "laravel/framework": [ + "^11.0.0", + "^10.34.0" + ], + "php": [ + "^8.3", + "^8.2", + "^8.1" + ] + }, "6.1.0": { "laravel/framework": [ "^10.0.0" diff --git a/packages/spa/README.md b/packages/spa/README.md index 35a82b7e8..fe82e3dca 100644 --- a/packages/spa/README.md +++ b/packages/spa/README.md @@ -14,8 +14,8 @@ | | `^8.0` | `4.6.0 ⋯ 2.0.0` | | | `^8.0.0` | `1.1.2 ⋯ 0.12.0` | | | `>=8.0.0` | `0.11.0 ⋯ 0.4.0` | -| Laravel | `^11.0.0` | `HEAD` | -| | `^10.34.0` | `HEAD` | +| Laravel | `^11.0.0` | `HEAD` , `6.2.0` | +| | `^10.34.0` | `HEAD` , `6.2.0` | | | `^10.0.0` | `6.1.0 ⋯ 2.1.0` | | | `^9.21.0` | `5.6.0 ⋯ 5.0.0-beta.1` | | | `^9.0.0` | `5.0.0-beta.0 ⋯ 0.12.0` | diff --git a/packages/spa/metadata.json b/packages/spa/metadata.json index 92e7728ee..69ee49de6 100644 --- a/packages/spa/metadata.json +++ b/packages/spa/metadata.json @@ -1,5 +1,5 @@ { - "version": "6.1.0", + "version": "6.2.0", "require": [], "merge": null, "requirements": { @@ -14,6 +14,17 @@ "^8.1" ] }, + "6.2.0": { + "laravel/framework": [ + "^11.0.0", + "^10.34.0" + ], + "php": [ + "^8.3", + "^8.2", + "^8.1" + ] + }, "6.1.0": { "laravel/framework": [ "^10.0.0" diff --git a/packages/spa/src/Http/Request.php b/packages/spa/src/Http/Request.php index a70e58df6..517f5b995 100644 --- a/packages/spa/src/Http/Request.php +++ b/packages/spa/src/Http/Request.php @@ -10,10 +10,10 @@ // phpcs:disable PSR1.Files.SideEffects -trigger_deprecation(Package::Name, '%{VERSION}', 'Please use own class and `%s` trait.', WithValueProvider::class); +trigger_deprecation(Package::Name, '6.2.0', 'Please use own class and `%s` trait.', WithValueProvider::class); /** - * @deprecated %{VERSION} Please use own class and {@see WithValueProvider} trait. + * @deprecated 6.2.0 Please use own class and {@see WithValueProvider} trait. */ abstract class Request extends FormRequest { use WithValueProvider { diff --git a/packages/spa/src/Http/RequestTest.php b/packages/spa/src/Http/RequestTest.php index 2047e40aa..64ce1bee6 100644 --- a/packages/spa/src/Http/RequestTest.php +++ b/packages/spa/src/Http/RequestTest.php @@ -14,7 +14,7 @@ use PHPUnit\Framework\Attributes\CoversClass; /** - * @deprecated %{VERSION} + * @deprecated 6.2.0 * @internal */ #[CoversClass(Request::class)] diff --git a/packages/spa/src/Validation/Rules/Rule.php b/packages/spa/src/Validation/Rules/Rule.php index 97657cfc9..b62e8dd8d 100644 --- a/packages/spa/src/Validation/Rules/Rule.php +++ b/packages/spa/src/Validation/Rules/Rule.php @@ -36,7 +36,7 @@ public function validate(string $attribute, mixed $value, Closure $fail): void { protected function isValid(string $attribute, mixed $value): bool { trigger_deprecation( Package::Name, - '%{VERSION}', + '6.2.0', 'Implementing `%s` is deprecated, use `%s` instead.', RuleContract::class, ValidationRule::class, @@ -55,7 +55,7 @@ protected function isValid(string $attribute, mixed $value): bool { public function passes($attribute, $value): bool { trigger_deprecation( Package::Name, - '%{VERSION}', + '6.2.0', 'Implementing `%s` is deprecated, use `%s` instead.', RuleContract::class, ValidationRule::class, @@ -65,7 +65,7 @@ public function passes($attribute, $value): bool { } /** - * @deprecated %{VERSION} + * @deprecated 6.2.0 * * @return array|string */ @@ -73,7 +73,7 @@ public function passes($attribute, $value): bool { public function message(): array|string { trigger_deprecation( Package::Name, - '%{VERSION}', + '6.2.0', 'Implementing `%s` is deprecated, use `%s` instead.', RuleContract::class, ValidationRule::class, diff --git a/packages/testing/README.md b/packages/testing/README.md index 572e6227f..fb0147a15 100644 --- a/packages/testing/README.md +++ b/packages/testing/README.md @@ -17,14 +17,14 @@ This package provides various useful asserts for [PHPUnit](https://phpunit.de/) | | `^8.0.0` | `1.1.2 ⋯ 0.12.0` | | | `>=8.0.0` | `0.11.0 ⋯ 0.4.0` | | | `>=7.4.0` | `0.3.0 ⋯ 0.1.0` | -| Laravel | `^11.0.0` | `HEAD` | -| | `^10.34.0` | `HEAD` | +| Laravel | `^11.0.0` | `HEAD` , `6.2.0` | +| | `^10.34.0` | `HEAD` , `6.2.0` | | | `^10.0.0` | `6.1.0 ⋯ 2.1.0` | | | `^9.21.0` | `5.6.0 ⋯ 5.0.0-beta.1` | | | `^9.0.0` | `5.0.0-beta.0 ⋯ 0.12.0` | | | `^8.22.1` | `3.0.0 ⋯ 0.2.0` | | | `^8.0` | `0.1.0` | -| PHPUnit | `^11.0.0` | `HEAD` | +| PHPUnit | `^11.0.0` | `HEAD` , `6.2.0` | | | `^10.1.0` | `HEAD ⋯ 6.0.0` | [//]: # (end: 876a9177c0e8e3722ac84e8f3888245fc9070a64a87dedfe7c9d9ba2a13b374b) diff --git a/packages/testing/metadata.json b/packages/testing/metadata.json index 98c80096a..97a52f0aa 100644 --- a/packages/testing/metadata.json +++ b/packages/testing/metadata.json @@ -1,5 +1,5 @@ { - "version": "6.1.0", + "version": "6.2.0", "require": { "php": "PHP", "laravel/framework": "Laravel", @@ -22,6 +22,21 @@ "^10.1.0" ] }, + "6.2.0": { + "laravel/framework": [ + "^11.0.0", + "^10.34.0" + ], + "php": [ + "^8.3", + "^8.2", + "^8.1" + ], + "phpunit/phpunit": [ + "^11.0.0", + "^10.1.0" + ] + }, "6.1.0": { "laravel/framework": [ "^10.0.0" diff --git a/packages/testing/src/Database/RefreshDatabaseIfEmpty.php b/packages/testing/src/Database/RefreshDatabaseIfEmpty.php index 37c51b5ad..d5b54d4e0 100644 --- a/packages/testing/src/Database/RefreshDatabaseIfEmpty.php +++ b/packages/testing/src/Database/RefreshDatabaseIfEmpty.php @@ -13,14 +13,14 @@ // phpcs:disable PSR1.Files.SideEffects -trigger_deprecation(Package::Name, '%{VERSION}', 'Please use own trait.'); +trigger_deprecation(Package::Name, '6.2.0', 'Please use own trait.'); /** * The trait is very similar to standard {@link RefreshDatabase} but there is one * difference: it will refresh the database only if it is empty. This is very * useful for local testing and allow significantly reduce bootstrap time. * - * @deprecated %{VERSION} Please use own trait. + * @deprecated 6.2.0 Please use own trait. * * @phpstan-require-extends TestCase */ diff --git a/packages/testing/src/Database/RefreshDatabaseIfEmptyTest.php b/packages/testing/src/Database/RefreshDatabaseIfEmptyTest.php index 8d70bd501..6e644df6b 100644 --- a/packages/testing/src/Database/RefreshDatabaseIfEmptyTest.php +++ b/packages/testing/src/Database/RefreshDatabaseIfEmptyTest.php @@ -10,7 +10,7 @@ use Symfony\Component\HttpKernel\HttpKernelInterface; /** - * @deprecated %{VERSION} + * @deprecated 6.2.0 * @internal */ #[CoversClass(RefreshDatabaseIfEmpty::class)] diff --git a/packages/testing/src/TestCase.php b/packages/testing/src/TestCase.php index 78b7260dd..e9ddf3686 100644 --- a/packages/testing/src/TestCase.php +++ b/packages/testing/src/TestCase.php @@ -11,10 +11,10 @@ // phpcs:disable PSR1.Files.SideEffects -trigger_deprecation(Package::Name, '%{VERSION}', 'Please use own base TestCase class.'); +trigger_deprecation(Package::Name, '6.2.0', 'Please use own base TestCase class.'); /** - * @deprecated %{VERSION} Please use own class. + * @deprecated 6.2.0 Please use own class. */ abstract class TestCase extends BaseTestCase { use Assertions;