From 996997e3a6086eee7caf194218b3a97d823b8659 Mon Sep 17 00:00:00 2001 From: Lasse Lehtinen Date: Thu, 9 Apr 2026 12:15:55 +0300 Subject: [PATCH 1/4] Added support for Laravel 13 --- .github/workflows/tests.yml | 4 +++- composer.json | 8 ++++---- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 9d757ca..b22d141 100755 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -18,7 +18,7 @@ jobs: fail-fast: false matrix: php: [ 8.1, 8.2, 8.3, 8.4 ] - laravel: [ '10.*', '11.*', '12.*' ] + laravel: [ '10.*', '11.*', '12.*', '13.*' ] dependency-version: [ prefer-lowest, prefer-stable ] exclude: @@ -26,6 +26,8 @@ jobs: php: 8.1 - laravel: 12.* php: 8.1 + - laravel: 13.* + php: 8.1, 8.2 name: P${{ matrix.php }} / L${{ matrix.laravel }} / ${{ matrix.dependency-version }} diff --git a/composer.json b/composer.json index 91a162a..55c56e0 100644 --- a/composer.json +++ b/composer.json @@ -11,13 +11,13 @@ ], "require": { "php": "^8.1", - "illuminate/support": "^10.0|^11.0|^12.0", - "illuminate/cache": "^10.0|^11.0|^12.0", - "illuminate/console": "^10.0|^11.0|^12.0" + "illuminate/support": "^10.0|^11.0|^12.0|^13.0", + "illuminate/cache": "^10.0|^11.0|^12.0|^13.0", + "illuminate/console": "^10.0|^11.0|^12.0|^13.0" }, "require-dev": { "mockery/mockery": "^1.6", - "phpunit/phpunit": "^10.5|^11.0", + "phpunit/phpunit": "^10.5|^11.0|^12.0", "orchestra/testbench": "^8.21|^9.5|^10.0" }, "autoload": { From 39f8dbca4abb5564454d4f3be26080a2da6c1374 Mon Sep 17 00:00:00 2001 From: Lasse Lehtinen Date: Thu, 9 Apr 2026 12:19:48 +0300 Subject: [PATCH 2/4] Added orchestra/testbench v11 --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 55c56e0..86a595c 100644 --- a/composer.json +++ b/composer.json @@ -18,7 +18,7 @@ "require-dev": { "mockery/mockery": "^1.6", "phpunit/phpunit": "^10.5|^11.0|^12.0", - "orchestra/testbench": "^8.21|^9.5|^10.0" + "orchestra/testbench": "^8.21|^9.5|^10.0|^11.0" }, "autoload": { "psr-4": { From 2baa0b8affa0df578aac9deda6e6d52f7aad3c36 Mon Sep 17 00:00:00 2001 From: lasselehtinen <1290186+lasselehtinen@users.noreply.github.com> Date: Thu, 9 Apr 2026 09:20:08 +0000 Subject: [PATCH 3/4] Fix code styling [ci skip] --- tests/Unit/Base.php | 3 ++- tests/Unit/BasicTest.php | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/tests/Unit/Base.php b/tests/Unit/Base.php index a51756c..8caf453 100644 --- a/tests/Unit/Base.php +++ b/tests/Unit/Base.php @@ -8,6 +8,7 @@ use AaronFrancis\Flaky\Providers\FlakyServiceProvider; use AaronFrancis\Flaky\Tests\Support\FlakyTestServiceProvider; +use Illuminate\Foundation\Application; use Orchestra\Testbench\TestCase; abstract class Base extends TestCase @@ -15,7 +16,7 @@ abstract class Base extends TestCase /** * Define environment setup. * - * @param \Illuminate\Foundation\Application $app + * @param Application $app * @return void */ protected function getEnvironmentSetup($app) {} diff --git a/tests/Unit/BasicTest.php b/tests/Unit/BasicTest.php index 2938da4..b65f3ce 100644 --- a/tests/Unit/BasicTest.php +++ b/tests/Unit/BasicTest.php @@ -252,4 +252,4 @@ public function handles_errors_as_well_as_exceptions() } } -class SpecificException extends \Exception {} +class SpecificException extends Exception {} From 60ce916537e133364bbd0b93f985e2699567d061 Mon Sep 17 00:00:00 2001 From: Lasse Lehtinen Date: Mon, 13 Apr 2026 11:25:10 +0300 Subject: [PATCH 4/4] Updated Laravel version in README --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 258c524..c41df58 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ third-parties. ## Requirements - PHP 8.1+ -- Laravel 10, 11, or 12 +- Laravel 10, 11, 12 or 13 ## Installation