From de048ce31f236aa69023c15167747608262f84a6 Mon Sep 17 00:00:00 2001 From: Stefan Zweifel Date: Fri, 29 Dec 2023 19:49:31 +0100 Subject: [PATCH] [v2] Drop Support for PHP 8.0 and PHP 8.1 and Laravel 8 and Laravel 9 (#106) * Drop PHP 8.0, 8.1 and Laravel 8 and 9 Support * Upgrade to Pest v2 * Enable prefer-lowest --- .github/workflows/run-tests.yml | 17 ++--------------- composer.json | 15 +++++++-------- 2 files changed, 9 insertions(+), 23 deletions(-) diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 6477ca0..e1357a7 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -14,25 +14,12 @@ jobs: max-parallel: 1 matrix: os: [ubuntu-latest] - php: [8.0, 8.1, 8.2, 8.3] - laravel: [8.*, 9.*, 10.*] + php: [8.2, 8.3] + laravel: [10.*] stability: [prefer-lowest, prefer-stable] include: - - laravel: 8.* - testbench: ^6.23 - - laravel: 9.* - testbench: ^7.0 - laravel: 10.* testbench: ^8.0 - exclude: - - laravel: 8.* - stability: prefer-lowest - - laravel: 9.* - stability: prefer-lowest - - laravel: 10.* - stability: prefer-lowest - - laravel: 10.* - php: 8.0 name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }} - ${{ matrix.os }} diff --git a/composer.json b/composer.json index 6c08861..5cc35c9 100644 --- a/composer.json +++ b/composer.json @@ -19,9 +19,9 @@ } ], "require": { - "php": "^8.0", + "php": "^8.2", "hammerstone/sidecar": "^0.4.0", - "illuminate/contracts": "^8.0|^9.0|^10.0", + "illuminate/contracts": "^10.0", "spatie/browsershot": "^3.60", "spatie/laravel-package-tools": "^1.9.2" }, @@ -29,15 +29,14 @@ "larastan/larastan": "^1.0|^2.0", "laravel/pint": "^1.13", "league/flysystem-aws-s3-v3": "^1.0|^2.0|^3.0", - "nunomaduro/collision": "^5.10|^6.0|^7.0|^8.0", - "orchestra/testbench": "^6.22|^7.0|^8.0", - "pestphp/pest": "^1.21 | ^2.0", - "pestphp/pest-plugin-laravel": "^1.1 | ^2.0", + "nunomaduro/collision": "^7.0|^8.0", + "orchestra/testbench": "^8.0", + "pestphp/pest": "^2.0", + "pestphp/pest-plugin-laravel": "^2.0", "phpstan/extension-installer": "^1.1", "phpstan/phpstan-deprecation-rules": "^1.0", "phpstan/phpstan-phpunit": "^1.0", - "phpunit/phpunit": "^9 | ^10", - "spatie/laravel-ray": "^1.26" + "phpunit/phpunit": "^10" }, "autoload": { "psr-4": {