From 838005327d453f0886c334a0d2146833b2d0e08e Mon Sep 17 00:00:00 2001 From: Arunas Skirius Date: Fri, 6 Mar 2026 14:59:44 +0200 Subject: [PATCH 1/5] Add Laravel 13 support --- .github/workflows/run-tests.yml | 10 +++++++++- .gitignore | 1 + composer.json | 4 ++-- 3 files changed, 12 insertions(+), 3 deletions(-) diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 8ebd26f9..ec0bb0a2 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -14,7 +14,7 @@ jobs: matrix: os: [ubuntu-latest, windows-latest] php: [8.2, 8.1, 8.0] - laravel: [9.*, 10.*, 11.*, 12.*] + laravel: [9.*, 10.*, 11.*, 12.*, 13.*] stability: [prefer-lowest, prefer-stable] exclude: - php: 8.0 @@ -27,6 +27,10 @@ jobs: laravel: 11.* - php: 8.1 laravel: 12.* + - php: 8.0 + laravel: 13.* + - php: 8.1 + laravel: 13.* - php: 8.2 laravel: 9.* include: @@ -46,6 +50,10 @@ jobs: testbench: 10.* pest: 3.* collision: 8.* + - laravel: 13.* + testbench: 11.* + pest: 3.* + collision: 8.* name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }} - ${{ matrix.os }} diff --git a/.gitignore b/.gitignore index 441f5b5d..cb71ce97 100644 --- a/.gitignore +++ b/.gitignore @@ -10,6 +10,7 @@ build phpunit.xml phpstan.neon testbench.yaml +/plans /vendor /node_modules /tests/Feature/performance_test.log diff --git a/composer.json b/composer.json index 07b72f98..f930b77e 100644 --- a/composer.json +++ b/composer.json @@ -20,7 +20,7 @@ ], "require": { "php": "^8.0", - "illuminate/contracts": "^8.0|^9.0|^10.0|^11.0|^12.0", + "illuminate/contracts": "^8.0|^9.0|^10.0|^11.0|^12.0|^13.0", "opcodesio/mail-parser": "^0.2.3" }, "require-dev": { @@ -28,7 +28,7 @@ "itsgoingd/clockwork": "^5.1", "laravel/pint": "^1.0", "nunomaduro/collision": "^7.0|^8.0", - "orchestra/testbench": "^7.6|^8.0|^9.5|^10.0", + "orchestra/testbench": "^7.6|^8.0|^9.5|^10.0|^11.0", "pestphp/pest": "^2.0|^3.7", "pestphp/pest-plugin-laravel": "^2.0|^3.1", "spatie/test-time": "^1.3" From b6ceee491bd114a233ac847759d9cd380c5689c5 Mon Sep 17 00:00:00 2001 From: Arunas Skirius Date: Fri, 6 Mar 2026 15:00:30 +0200 Subject: [PATCH 2/5] Use 13.x-dev for Laravel 13 CI matrix --- .github/workflows/run-tests.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index ec0bb0a2..d8c859d5 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -14,7 +14,7 @@ jobs: matrix: os: [ubuntu-latest, windows-latest] php: [8.2, 8.1, 8.0] - laravel: [9.*, 10.*, 11.*, 12.*, 13.*] + laravel: [9.*, 10.*, 11.*, 12.*, 13.x-dev] stability: [prefer-lowest, prefer-stable] exclude: - php: 8.0 @@ -28,9 +28,9 @@ jobs: - php: 8.1 laravel: 12.* - php: 8.0 - laravel: 13.* + laravel: 13.x-dev - php: 8.1 - laravel: 13.* + laravel: 13.x-dev - php: 8.2 laravel: 9.* include: @@ -50,8 +50,8 @@ jobs: testbench: 10.* pest: 3.* collision: 8.* - - laravel: 13.* - testbench: 11.* + - laravel: 13.x-dev + testbench: 11.x-dev pest: 3.* collision: 8.* From 2fe1d712b7d642dd004d710717b62435ef429713 Mon Sep 17 00:00:00 2001 From: Arunas Skirius Date: Fri, 6 Mar 2026 15:03:58 +0200 Subject: [PATCH 3/5] Fix L13 CI matrix: require PHP 8.3, use pest 3.x-dev --- .github/workflows/run-tests.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index d8c859d5..396fb598 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -13,7 +13,7 @@ jobs: fail-fast: true matrix: os: [ubuntu-latest, windows-latest] - php: [8.2, 8.1, 8.0] + php: [8.3, 8.2, 8.1, 8.0] laravel: [9.*, 10.*, 11.*, 12.*, 13.x-dev] stability: [prefer-lowest, prefer-stable] exclude: @@ -31,8 +31,12 @@ jobs: laravel: 13.x-dev - php: 8.1 laravel: 13.x-dev + - php: 8.2 + laravel: 13.x-dev - php: 8.2 laravel: 9.* + - php: 8.3 + laravel: 9.* include: - laravel: 9.* testbench: 7.* @@ -52,7 +56,7 @@ jobs: collision: 8.* - laravel: 13.x-dev testbench: 11.x-dev - pest: 3.* + pest: 3.x-dev collision: 8.* name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }} - ${{ matrix.os }} From f4a2524f9e77b012fdbb073db35654382cfed8f5 Mon Sep 17 00:00:00 2001 From: Arunas Skirius Date: Fri, 6 Mar 2026 15:05:18 +0200 Subject: [PATCH 4/5] Use pest v4 for L13 CI matrix, allow pest ^4.0 in composer.json --- .github/workflows/run-tests.yml | 2 +- composer.json | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 396fb598..24ab6299 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -56,7 +56,7 @@ jobs: collision: 8.* - laravel: 13.x-dev testbench: 11.x-dev - pest: 3.x-dev + pest: 4.* collision: 8.* name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }} - ${{ matrix.os }} diff --git a/composer.json b/composer.json index f930b77e..52ce3f1d 100644 --- a/composer.json +++ b/composer.json @@ -29,8 +29,8 @@ "laravel/pint": "^1.0", "nunomaduro/collision": "^7.0|^8.0", "orchestra/testbench": "^7.6|^8.0|^9.5|^10.0|^11.0", - "pestphp/pest": "^2.0|^3.7", - "pestphp/pest-plugin-laravel": "^2.0|^3.1", + "pestphp/pest": "^2.0|^3.7|^4.0", + "pestphp/pest-plugin-laravel": "^2.0|^3.1|^4.0", "spatie/test-time": "^1.3" }, "suggest": { From 172a90b67addc93fcc68c30e5b83a623519b638c Mon Sep 17 00:00:00 2001 From: Arunas Skirius Date: Fri, 6 Mar 2026 15:10:43 +0200 Subject: [PATCH 5/5] Pass --no-coverage to pest to fix silent exit on pest v4 --- .github/workflows/run-tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 24ab6299..e79983a8 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -83,4 +83,4 @@ jobs: composer update --${{ matrix.stability }} --prefer-dist --no-interaction - name: Execute tests - run: vendor/bin/pest + run: vendor/bin/pest --no-coverage