From dd1af39672bcfb3eee8ebe53769b2ae1a6ccf255 Mon Sep 17 00:00:00 2001 From: Mohammad Emran Date: Wed, 9 Mar 2022 00:51:14 +0600 Subject: [PATCH 1/4] Add support for Laravel 9 --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index b5ba8f3..d97ba4e 100644 --- a/composer.json +++ b/composer.json @@ -18,7 +18,7 @@ "require": { "php": "^8.0", "spatie/laravel-package-tools": "^1.4.3", - "illuminate/contracts": "^8.37" + "illuminate/contracts": "^8.37|^9.0" }, "require-dev": { "brianium/paratest": "^6.2", From bbb2c5690dad4db5490b55219883184cebd4a661 Mon Sep 17 00:00:00 2001 From: Mohammad Emran Hasan Date: Wed, 9 Mar 2022 02:43:33 +0600 Subject: [PATCH 2/4] Update Github workflow --- .github/workflows/run-tests.yml | 6 ++++-- composer.json | 4 ++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 28b0602..208d285 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -13,12 +13,14 @@ jobs: fail-fast: true matrix: os: [ubuntu-latest, windows-latest] - php: [8.0] - laravel: [8.*] + php: ['8.0', 8.1] + laravel: [8.*, 9.*] stability: [prefer-lowest, prefer-stable] include: - laravel: 8.* testbench: ^6.6 + - laravel: 9.* + testbench: ^7.0 name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }} - ${{ matrix.os }} diff --git a/composer.json b/composer.json index d97ba4e..7b65f3b 100644 --- a/composer.json +++ b/composer.json @@ -22,8 +22,8 @@ }, "require-dev": { "brianium/paratest": "^6.2", - "nunomaduro/collision": "^5.3", - "orchestra/testbench": "^6.15", + "nunomaduro/collision": "^5.3|^6.0", + "orchestra/testbench": "^6.15|^7.0", "phpunit/phpunit": "^9.3", "spatie/laravel-ray": "^1.9", "vimeo/psalm": "^4.4" From 4edbd7451045b0115a95b42c23901d0524e8cd26 Mon Sep 17 00:00:00 2001 From: Mohammad Emran Hasan Date: Wed, 9 Mar 2022 02:48:49 +0600 Subject: [PATCH 3/4] Bump PHP version req --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 7b65f3b..4d5378b 100644 --- a/composer.json +++ b/composer.json @@ -16,7 +16,7 @@ } ], "require": { - "php": "^8.0", + "php": "^8.0|^8.1", "spatie/laravel-package-tools": "^1.4.3", "illuminate/contracts": "^8.37|^9.0" }, From 5ac1be597942fecec4147615cca369fa9745db85 Mon Sep 17 00:00:00 2001 From: Mohammad Emran Hasan Date: Wed, 9 Mar 2022 03:20:55 +0600 Subject: [PATCH 4/4] Use correct version of dependencies --- composer.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/composer.json b/composer.json index 4d5378b..792b57b 100644 --- a/composer.json +++ b/composer.json @@ -16,9 +16,9 @@ } ], "require": { - "php": "^8.0|^8.1", + "php": "^8.0", "spatie/laravel-package-tools": "^1.4.3", - "illuminate/contracts": "^8.37|^9.0" + "illuminate/contracts": "^8.83|^9.0" }, "require-dev": { "brianium/paratest": "^6.2",