From 25aef1779e4269d04a6032ce1b19e0e7aabf57b4 Mon Sep 17 00:00:00 2001 From: SuperDJ <6484766+SuperDJ@users.noreply.github.com> Date: Thu, 2 Mar 2023 15:49:13 +0100 Subject: [PATCH 1/3] Added L10 support --- .github/workflows/tests.yml | 8 ++++++-- composer.json | 13 +++++++++---- 2 files changed, 15 insertions(+), 6 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index ae0b580..cc053d0 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -11,8 +11,8 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - php: ['7.4', '8.0', '8.1'] - laravel: [ '8.*', '9.*' ] + php: ['7.4', '8.0', '8.1', '8.2'] + laravel: [ '8.*', '9.*', '10.*' ] stability: [ prefer-lowest, prefer-stable ] include: - laravel: '9.*' @@ -22,6 +22,10 @@ jobs: exclude: - laravel: 9.* php: 7.4 + - laravel: 10.* + php: 7.4 + - laravel: 10.* + php: 8.0 name: PHP ${{ matrix.php }} - Laravel ${{ matrix.laravel }} - ${{ matrix.stability }} diff --git a/composer.json b/composer.json index 14e14d7..f2d13a1 100644 --- a/composer.json +++ b/composer.json @@ -14,16 +14,16 @@ } }, "require": { - "php": "^7.4|^8.0|^8.1", - "illuminate/support": "^8.16|^9.0" + "php": "^7.4|~8.0|~8.1|~8.2", + "illuminate/support": "^8.16|^9.0|^10.0" }, "require-dev": { "ext-soap": "*", "mockery/mockery": "^1.4", - "orchestra/testbench": "^6.24|^7.0", + "orchestra/testbench": "^6.24|^7.0|^8.0", "pestphp/pest": "^1.11", "phpoption/phpoption": "^1.8.1", - "phpunit/phpunit": "^9.4", + "phpunit/phpunit": "^9.5", "spatie/ray": "^1.17" }, "prefer-stable": true, @@ -46,5 +46,10 @@ "Soap": "RicorocksDigitalAgency\\Soap\\Facades\\Soap" } } + }, + "config": { + "allow-plugins": { + "pestphp/pest-plugin": true + } } } From 783dbd786bfd2542b41abe0c61bfff2544b08b18 Mon Sep 17 00:00:00 2001 From: SuperDJ <6484766+SuperDJ@users.noreply.github.com> Date: Fri, 3 Mar 2023 11:48:23 +0100 Subject: [PATCH 2/3] Add testbench for Laravel 10 --- .github/workflows/tests.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index cc053d0..08ee3b3 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -15,6 +15,8 @@ jobs: laravel: [ '8.*', '9.*', '10.*' ] stability: [ prefer-lowest, prefer-stable ] include: + - laravel: '10.*' + testbench: '^8.*' - laravel: '9.*' testbench: '7.*' - laravel: '8.*' From 48784573f0582c61a9a11d12173e14121f91b4e8 Mon Sep 17 00:00:00 2001 From: SuperDJ <6484766+SuperDJ@users.noreply.github.com> Date: Fri, 3 Mar 2023 11:58:45 +0100 Subject: [PATCH 3/3] Fix CI --- .github/workflows/tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 08ee3b3..54a6d66 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -16,7 +16,7 @@ jobs: stability: [ prefer-lowest, prefer-stable ] include: - laravel: '10.*' - testbench: '^8.*' + testbench: '8.*' - laravel: '9.*' testbench: '7.*' - laravel: '8.*'