From e34037d702d566177b1d0a711b272c6c322ba5f3 Mon Sep 17 00:00:00 2001 From: ousid Date: Wed, 12 Oct 2022 11:28:08 +0100 Subject: [PATCH 1/3] add php support --- .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 39ff7ee..3622eee 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.1] - laravel: [9.*] + php: [8.0, 8.1] + laravel: [9.*, 8.*] stability: [prefer-lowest, prefer-stable] include: - laravel: 9.* testbench: 7.* + - laravel: 8.* + testbench: ^6.23 name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }} - ${{ matrix.os }} diff --git a/composer.json b/composer.json index f360d19..391015c 100644 --- a/composer.json +++ b/composer.json @@ -16,7 +16,7 @@ } ], "require": { - "php": "^8.1", + "php": "^8.0", "spatie/laravel-package-tools": "^1.13.0", "illuminate/contracts": "^9.0" }, @@ -24,7 +24,7 @@ "laravel/pint": "^1.0", "nunomaduro/collision": "^6.0", "nunomaduro/larastan": "^2.0.1", - "orchestra/testbench": "^7.0", + "orchestra/testbench": "^6.0|^7.0", "pestphp/pest": "^1.21", "pestphp/pest-plugin-laravel": "^1.1", "phpstan/extension-installer": "^1.1", From 6caabd02e71b8168db0af08ee9f086e9dddae501 Mon Sep 17 00:00:00 2001 From: ousid Date: Wed, 12 Oct 2022 11:36:58 +0100 Subject: [PATCH 2/3] wip --- composer.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/composer.json b/composer.json index 391015c..4696b9e 100644 --- a/composer.json +++ b/composer.json @@ -18,13 +18,13 @@ "require": { "php": "^8.0", "spatie/laravel-package-tools": "^1.13.0", - "illuminate/contracts": "^9.0" + "illuminate/contracts": "^8.0|^9.0" }, "require-dev": { "laravel/pint": "^1.0", "nunomaduro/collision": "^6.0", "nunomaduro/larastan": "^2.0.1", - "orchestra/testbench": "^6.0|^7.0", + "orchestra/testbench": "^6.2|^7.0", "pestphp/pest": "^1.21", "pestphp/pest-plugin-laravel": "^1.1", "phpstan/extension-installer": "^1.1", From f431ece5238cb6bcbd22b3b0f7e0344a9c43ed95 Mon Sep 17 00:00:00 2001 From: ousid Date: Wed, 12 Oct 2022 11:43:37 +0100 Subject: [PATCH 3/3] wip --- .github/workflows/run-tests.yml | 4 +--- composer.json | 4 ++-- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 3622eee..a9237bc 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -14,13 +14,11 @@ jobs: matrix: os: [ubuntu-latest, windows-latest] php: [8.0, 8.1] - laravel: [9.*, 8.*] + laravel: [9.*] stability: [prefer-lowest, prefer-stable] include: - laravel: 9.* testbench: 7.* - - laravel: 8.* - testbench: ^6.23 name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }} - ${{ matrix.os }} diff --git a/composer.json b/composer.json index 4696b9e..4a914ba 100644 --- a/composer.json +++ b/composer.json @@ -18,13 +18,13 @@ "require": { "php": "^8.0", "spatie/laravel-package-tools": "^1.13.0", - "illuminate/contracts": "^8.0|^9.0" + "illuminate/contracts": "^9.0" }, "require-dev": { "laravel/pint": "^1.0", "nunomaduro/collision": "^6.0", "nunomaduro/larastan": "^2.0.1", - "orchestra/testbench": "^6.2|^7.0", + "orchestra/testbench": "^7.0", "pestphp/pest": "^1.21", "pestphp/pest-plugin-laravel": "^1.1", "phpstan/extension-installer": "^1.1",