diff --git a/.gitignore b/.gitignore index c40c4269d..1405403e9 100644 --- a/.gitignore +++ b/.gitignore @@ -15,3 +15,5 @@ npm-debug.log yarn-error.log /.idea /.vscode + +/.phpunit.cache \ No newline at end of file diff --git a/composer.json b/composer.json index 8a4a9aabe..feb394464 100644 --- a/composer.json +++ b/composer.json @@ -32,7 +32,7 @@ "laravel/sail": "^1.18", "mockery/mockery": "^1.4.4", "nunomaduro/collision": "^7.0", - "phpunit/phpunit": "^9.5.10", + "phpunit/phpunit": "^10.0", "spatie/laravel-ignition": "^2.0" }, "autoload": { diff --git a/tests/Feature/ExampleTest.php b/tests/Feature/ExampleTest.php index ee016053b..871bfbcf1 100644 --- a/tests/Feature/ExampleTest.php +++ b/tests/Feature/ExampleTest.php @@ -5,7 +5,7 @@ // use Illuminate\Foundation\Testing\RefreshDatabase; use Tests\TestCase; -class ExampleTest extends TestCase +final class ExampleTest extends TestCase { /** * A basic test example. diff --git a/tests/Unit/ExampleTest.php b/tests/Unit/ExampleTest.php index 5773b0ceb..fff6e3c4c 100644 --- a/tests/Unit/ExampleTest.php +++ b/tests/Unit/ExampleTest.php @@ -4,7 +4,7 @@ use PHPUnit\Framework\TestCase; -class ExampleTest extends TestCase +final class ExampleTest extends TestCase { /** * A basic test example.