From 98bd58b0039d6d5c8f3724edd68438195b9a872b Mon Sep 17 00:00:00 2001 From: Aleksei Lebedev <1329824+LastDragon-ru@users.noreply.github.com> Date: Fri, 15 Mar 2024 15:37:58 +0400 Subject: [PATCH] Dependencies fix. --- packages/core/composer.json | 1 + packages/documentator/composer.json | 1 + packages/eloquent/composer.json | 1 + packages/migrator/composer.json | 2 +- packages/serializer/composer.json | 1 + packages/spa/composer.json | 2 +- packages/testing/composer.json | 4 +++- .../testing/docs/Assertions/AssertScoutQueryEqualsTest.php | 4 ++-- 8 files changed, 11 insertions(+), 5 deletions(-) diff --git a/packages/core/composer.json b/packages/core/composer.json index 17f9d7a69..34c2f7d9f 100644 --- a/packages/core/composer.json +++ b/packages/core/composer.json @@ -26,6 +26,7 @@ "require-dev": { "phpunit/phpunit": "^10.1.0", "lastdragon-ru/lara-asp-testing": "self.version", + "mockery/mockery": "^1.6.2", "orchestra/testbench": "^8.0.0" }, "autoload": { diff --git a/packages/documentator/composer.json b/packages/documentator/composer.json index 640c6b30d..b9d0af749 100644 --- a/packages/documentator/composer.json +++ b/packages/documentator/composer.json @@ -35,6 +35,7 @@ }, "require-dev": { "lastdragon-ru/lara-asp-testing": "self.version", + "mockery/mockery": "^1.6.2", "orchestra/testbench": "^8.0.0", "phpunit/phpunit": "^10.1.0" }, diff --git a/packages/eloquent/composer.json b/packages/eloquent/composer.json index 0a93a63e8..af242d027 100644 --- a/packages/eloquent/composer.json +++ b/packages/eloquent/composer.json @@ -25,6 +25,7 @@ "require-dev": { "ext-pdo_sqlite": "*", "lastdragon-ru/lara-asp-testing": "self.version", + "mockery/mockery": "^1.6.2", "orchestra/testbench": "^8.0.0", "phpunit/phpunit": "^10.1.0" }, diff --git a/packages/migrator/composer.json b/packages/migrator/composer.json index 1482b5ee4..d60ee22a5 100644 --- a/packages/migrator/composer.json +++ b/packages/migrator/composer.json @@ -24,7 +24,7 @@ "ext-json": "*", "laravel/framework": "^10.34.0", "lastdragon-ru/lara-asp-core": "self.version", - "symfony/filesystem": "^6.3.0", + "symfony/console": "^6.3.0", "symfony/finder": "^6.3.0", "symfony/polyfill-php83": "^1.28" }, diff --git a/packages/serializer/composer.json b/packages/serializer/composer.json index b9b513cd0..4b824fcbb 100644 --- a/packages/serializer/composer.json +++ b/packages/serializer/composer.json @@ -29,6 +29,7 @@ }, "require-dev": { "lastdragon-ru/lara-asp-testing": "self.version", + "mockery/mockery": "^1.6.2", "orchestra/testbench": "^8.0.0", "phpunit/phpunit": "^10.1.0" }, diff --git a/packages/spa/composer.json b/packages/spa/composer.json index 1b3bb138d..6ec5f73d7 100644 --- a/packages/spa/composer.json +++ b/packages/spa/composer.json @@ -29,7 +29,7 @@ "require-dev": { "phpunit/phpunit": "^10.1.0", "lastdragon-ru/lara-asp-testing": "self.version", - "symfony/filesystem": "^6.3.0", + "mockery/mockery": "^1.6.2", "orchestra/testbench": "^8.0.0" }, "autoload": { diff --git a/packages/testing/composer.json b/packages/testing/composer.json index cc985e432..2ab5b9e53 100644 --- a/packages/testing/composer.json +++ b/packages/testing/composer.json @@ -44,7 +44,9 @@ "require-dev": { "guzzlehttp/psr7": "^1.9.1|^2.4.5", "laravel/scout": "^9.8.0|^10.0.0", - "orchestra/testbench": "^8.0.0" + "orchestra/testbench": "^8.0.0", + "symfony/console": "^6.3.0", + "symfony/http-kernel": "^6.3.0" }, "autoload": { "files": [ diff --git a/packages/testing/docs/Assertions/AssertScoutQueryEqualsTest.php b/packages/testing/docs/Assertions/AssertScoutQueryEqualsTest.php index 1ad0a3e9a..5a3fdb673 100644 --- a/packages/testing/docs/Assertions/AssertScoutQueryEqualsTest.php +++ b/packages/testing/docs/Assertions/AssertScoutQueryEqualsTest.php @@ -4,8 +4,8 @@ use Illuminate\Database\Eloquent\Model; use Laravel\Scout\Builder; -use LastDragon_ru\LaraASP\GraphQL\Testing\Package\Requirements\RequiresLaravelScout; use LastDragon_ru\LaraASP\Testing\Assertions\ScoutAssertions; +use LastDragon_ru\LaraASP\Testing\Requirements\Requirements\RequiresComposerPackage; use Orchestra\Testbench\TestCase; use PHPUnit\Framework\Attributes\CoversNothing; @@ -13,7 +13,7 @@ * @internal */ #[CoversNothing] -#[RequiresLaravelScout] +#[RequiresComposerPackage('laravel/scout')] final class AssertScoutQueryEqualsTest extends TestCase { /** * Trait where assertion defined.