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/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 diff --git a/composer.json b/composer.json index 91a162a..86a595c 100644 --- a/composer.json +++ b/composer.json @@ -11,14 +11,14 @@ ], "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", - "orchestra/testbench": "^8.21|^9.5|^10.0" + "phpunit/phpunit": "^10.5|^11.0|^12.0", + "orchestra/testbench": "^8.21|^9.5|^10.0|^11.0" }, "autoload": { "psr-4": { 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 {}