From 9ee370364de3c7139bd4f318381f124c0e7ff10f Mon Sep 17 00:00:00 2001 From: Unay Santisteban Date: Tue, 2 Apr 2024 12:07:15 +1000 Subject: [PATCH] Feature/Upgrade domain model to 4.0 * Dropped support for PHP 8.1.x. --- .github/workflows/test.yml | 2 +- .gitignore | 1 + composer.json | 8 ++++---- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 99e1a3b..bffef68 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -12,7 +12,7 @@ jobs: strategy: matrix: - php-version: [ '8.1', '8.2', '8.3' ] + php-version: [ '8.2', '8.3' ] steps: - name: Checkout source code diff --git a/.gitignore b/.gitignore index 939b17b..14cd4aa 100644 --- a/.gitignore +++ b/.gitignore @@ -8,3 +8,4 @@ coverage.xml test.xml .phpunit.result.cache composer.lock +/.phpunit.cache diff --git a/composer.json b/composer.json index 54055e5..d93c29d 100644 --- a/composer.json +++ b/composer.json @@ -11,13 +11,13 @@ ], "minimum-stability": "stable", "require": { - "php": "^8.1", - "complex-heart/domain-model": "^3.0.0", - "ext-json": "*" + "php": "^8.2", + "ext-json": "*", + "complex-heart/domain-model": "^4.0.0" }, "require-dev": { + "mockery/mockery": "^1.6.0", "pestphp/pest": "^2.0", - "pestphp/pest-plugin-mock": "^2.0", "pestphp/pest-plugin-faker": "^2.0", "phpstan/phpstan": "^1.0", "phpstan/extension-installer": "^1.3",