From 2a32e6621705867a87aa857d98368db275bf6ba0 Mon Sep 17 00:00:00 2001 From: Andrey Helldar Date: Thu, 20 Feb 2025 12:05:42 +0300 Subject: [PATCH 1/6] Added Laravel 12 support --- composer.json | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/composer.json b/composer.json index 1f94196..cb565d4 100644 --- a/composer.json +++ b/composer.json @@ -35,14 +35,14 @@ ], "require": { "php": "^8.1", - "illuminate/contracts": "^10.0 || ^11.0", - "illuminate/http": "^10.0 || ^11.0", - "illuminate/support": "^10.0 || ^11.0", + "illuminate/contracts": "^10.0 || ^11.0 || ^12.0", + "illuminate/http": "^10.0 || ^11.0 || ^12.0", + "illuminate/support": "^10.0 || ^11.0 || ^12.0", "lmc/http-constants": "^1.2", "symfony/http-foundation": "^6.0 || ^7.0" }, "require-dev": { - "orchestra/testbench": "^8.0 || ^9.0", + "orchestra/testbench": "^8.0 || ^9.0 || ^10.0", "phpunit/phpunit": "^10.0" }, "conflict": { @@ -77,4 +77,4 @@ ] } } -} \ No newline at end of file +} From da08e2d2d3f4f6695f80a8d0f8682fc6426e2854 Mon Sep 17 00:00:00 2001 From: Andrey Helldar Date: Thu, 20 Feb 2025 12:06:32 +0300 Subject: [PATCH 2/6] Update and rename laravel.yml to tests.yml --- .github/workflows/{laravel.yml => tests.yml} | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) rename .github/workflows/{laravel.yml => tests.yml} (82%) diff --git a/.github/workflows/laravel.yml b/.github/workflows/tests.yml similarity index 82% rename from .github/workflows/laravel.yml rename to .github/workflows/tests.yml index 904dac5..71f6d05 100644 --- a/.github/workflows/laravel.yml +++ b/.github/workflows/tests.yml @@ -1,4 +1,4 @@ -name: laravel +name: tests on: [ push ] @@ -9,12 +9,13 @@ jobs: strategy: fail-fast: true matrix: - php: [ "8.1", "8.2", "8.3" ] - laravel: [ "10.0", "11.0" ] + php: [ "8.1", "8.2", "8.3", "8.4" ] + laravel: [ "10.0", "11.0", "12.0" ] exclude: - laravel: "11.0" php: "8.1" - + - laravel: "12.0" + php: "8.1" name: PHP ${{ matrix.php }}, Laravel ${{ matrix.laravel }} From 3ac572576078af41fff0e23b15187febd13c19da Mon Sep 17 00:00:00 2001 From: Andrey Helldar Date: Mon, 24 Feb 2025 02:00:46 +0300 Subject: [PATCH 3/6] Update tests.yml --- .github/workflows/tests.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 71f6d05..e654a51 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -33,5 +33,8 @@ jobs: - name: Install dependencies run: composer require laravel/framework:^${{ matrix.laravel }} + - name: Update PHPUnit Configuration + run: vendor/bin/phpunit --migrate-configuration + - name: Execute tests run: sudo vendor/bin/phpunit From 5187ff60034c4c7780f1cfc5bcacbf65551e7a58 Mon Sep 17 00:00:00 2001 From: Andrey Helldar Date: Mon, 24 Feb 2025 02:01:04 +0300 Subject: [PATCH 4/6] Update tests.yml --- .github/workflows/tests.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index e654a51..b936022 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -12,6 +12,8 @@ jobs: php: [ "8.1", "8.2", "8.3", "8.4" ] laravel: [ "10.0", "11.0", "12.0" ] exclude: + - laravel: "10.0" + php: "8.4" - laravel: "11.0" php: "8.1" - laravel: "12.0" From 7e56fd915ecaa1f0405f9f40e2a880596148726d Mon Sep 17 00:00:00 2001 From: Andrey Helldar Date: Mon, 24 Feb 2025 16:57:08 +0300 Subject: [PATCH 5/6] Update tests.yml --- .github/workflows/tests.yml | 3 --- 1 file changed, 3 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index b936022..da00415 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -35,8 +35,5 @@ jobs: - name: Install dependencies run: composer require laravel/framework:^${{ matrix.laravel }} - - name: Update PHPUnit Configuration - run: vendor/bin/phpunit --migrate-configuration - - name: Execute tests run: sudo vendor/bin/phpunit From 0eb1cf5ce59d8f0be6cb9688f81a18953419d502 Mon Sep 17 00:00:00 2001 From: Andrey Helldar Date: Mon, 24 Feb 2025 16:58:16 +0300 Subject: [PATCH 6/6] Update composer.json --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index cb565d4..5107a4f 100644 --- a/composer.json +++ b/composer.json @@ -43,7 +43,7 @@ }, "require-dev": { "orchestra/testbench": "^8.0 || ^9.0 || ^10.0", - "phpunit/phpunit": "^10.0" + "phpunit/phpunit": "^10.0 || ^11.0 || ^12.0" }, "conflict": { "andrey-helldar/laravel-json-response": "*"