diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index e43c244..0c9edc4 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -9,7 +9,7 @@ jobs: fail-fast: false matrix: os: [ubuntu-latest] - php: [7.4, 8.0, 8.1, 8.2] + php: [7.4, 8.0, 8.1, 8.2, 8.3, 8.4] laravel: [8.*, 9.*, 10.*, 11.*] dependency-version: [prefer-lowest, prefer-stable] include: @@ -22,6 +22,12 @@ jobs: - laravel: 11.* testbench: 9.* exclude: + - laravel: 8.* + php: 8.4 + - laravel: 8.* + php: 8.3 + - laravel: 9.* + php: 8.4 - laravel: 9.* php: 7.4 - laravel: 10.* @@ -39,7 +45,7 @@ jobs: steps: - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Cache dependencies uses: actions/cache@v2 diff --git a/composer.json b/composer.json index 375d5b4..bba61ee 100644 --- a/composer.json +++ b/composer.json @@ -25,8 +25,8 @@ "require-dev": { "mockery/mockery": "^1.4", "orchestra/testbench": "^6.24|^7.0|^8.0|^9.0", - "pestphp/pest-plugin-laravel": "^1.3|^2.1", - "phpunit/phpunit": "^9.6|^10.5", + "pestphp/pest-plugin-laravel": "^1.3|^2.1|^3.0", + "phpunit/phpunit": "^9.6|^10.5|^11.1", "spatie/temporary-directory": "^1.2", "vimeo/psalm": "^4.2|^5.20" }, diff --git a/tests/MorphMapCommandsTest.php b/tests/MorphMapCommandsTest.php index ac3a71d..eb50be4 100644 --- a/tests/MorphMapCommandsTest.php +++ b/tests/MorphMapCommandsTest.php @@ -6,7 +6,6 @@ use Spatie\LaravelMorphMapGenerator\Cache\MorphMapCacheDriver; use Spatie\LaravelMorphMapGenerator\Commands\CacheMorphMapCommand; use Spatie\LaravelMorphMapGenerator\Commands\ClearMorphMapCommand; - use Spatie\TemporaryDirectory\TemporaryDirectory; beforeEach(function () {