diff --git a/.gitignore b/.gitignore index 1ae19b6..2ac1c50 100644 --- a/.gitignore +++ b/.gitignore @@ -6,7 +6,7 @@ /vendor .env .env.backup -.phpunit.result.cache +/.phpunit.cache Homestead.json Homestead.yaml auth.json diff --git a/tests/Feature/ExampleTest.php b/tests/Feature/ExampleTest.php index 1eafba6..8364a84 100644 --- a/tests/Feature/ExampleTest.php +++ b/tests/Feature/ExampleTest.php @@ -9,10 +9,8 @@ class ExampleTest extends TestCase { /** * A basic test example. - * - * @return void */ - public function test_the_application_returns_a_successful_response() + public function test_the_application_returns_a_successful_response(): void { $response = $this->get('/'); diff --git a/tests/Unit/ExampleTest.php b/tests/Unit/ExampleTest.php index e5c5fef..5773b0c 100644 --- a/tests/Unit/ExampleTest.php +++ b/tests/Unit/ExampleTest.php @@ -8,10 +8,8 @@ class ExampleTest extends TestCase { /** * A basic test example. - * - * @return void */ - public function test_that_true_is_true() + public function test_that_true_is_true(): void { $this->assertTrue(true); }