diff --git a/framework/core/tests/integration/api/authentication/WithApiKeyTest.php b/framework/core/tests/integration/api/authentication/WithApiKeyTest.php index 2d716560d..4a07c5e42 100644 --- a/framework/core/tests/integration/api/authentication/WithApiKeyTest.php +++ b/framework/core/tests/integration/api/authentication/WithApiKeyTest.php @@ -19,7 +19,7 @@ class WithApiKeyTest extends TestCase { use RetrievesAuthorizedUsers; - public function setUp() + protected function setUp(): void { parent::setUp(); diff --git a/framework/core/tests/integration/api/authentication/WithTokenTest.php b/framework/core/tests/integration/api/authentication/WithTokenTest.php index 85775bb84..7bab5ec4a 100644 --- a/framework/core/tests/integration/api/authentication/WithTokenTest.php +++ b/framework/core/tests/integration/api/authentication/WithTokenTest.php @@ -17,7 +17,7 @@ class WithTokenTest extends TestCase { use RetrievesAuthorizedUsers; - public function setUp() + protected function setUp(): void { parent::setUp(); diff --git a/framework/core/tests/integration/api/csrf_protection/RequireCsrfTokenTest.php b/framework/core/tests/integration/api/csrf_protection/RequireCsrfTokenTest.php index 697eb3443..b6540eb66 100644 --- a/framework/core/tests/integration/api/csrf_protection/RequireCsrfTokenTest.php +++ b/framework/core/tests/integration/api/csrf_protection/RequireCsrfTokenTest.php @@ -16,7 +16,7 @@ class RequireCsrfTokenTest extends TestCase { use RetrievesAuthorizedUsers; - public function setUp() + protected function setUp(): void { parent::setUp(); diff --git a/framework/core/tests/integration/api/discussions/CreateTest.php b/framework/core/tests/integration/api/discussions/CreateTest.php index a711847f1..19d289e5e 100644 --- a/framework/core/tests/integration/api/discussions/CreateTest.php +++ b/framework/core/tests/integration/api/discussions/CreateTest.php @@ -18,7 +18,7 @@ class CreateTest extends TestCase { use RetrievesAuthorizedUsers; - public function setUp() + protected function setUp(): void { parent::setUp(); diff --git a/framework/core/tests/integration/api/discussions/DeletionTest.php b/framework/core/tests/integration/api/discussions/DeletionTest.php index 31f736240..aa948d046 100644 --- a/framework/core/tests/integration/api/discussions/DeletionTest.php +++ b/framework/core/tests/integration/api/discussions/DeletionTest.php @@ -17,7 +17,7 @@ class DeletionTest extends TestCase { use RetrievesAuthorizedUsers; - public function setUp() + protected function setUp(): void { parent::setUp(); diff --git a/framework/core/tests/integration/api/discussions/ListTest.php b/framework/core/tests/integration/api/discussions/ListTest.php index 2cb2c0be4..3e56c4150 100644 --- a/framework/core/tests/integration/api/discussions/ListTest.php +++ b/framework/core/tests/integration/api/discussions/ListTest.php @@ -17,7 +17,7 @@ class ListTest extends TestCase { use RetrievesAuthorizedUsers; - public function setUp() + protected function setUp(): void { parent::setUp(); diff --git a/framework/core/tests/integration/api/discussions/ShowTest.php b/framework/core/tests/integration/api/discussions/ShowTest.php index cb683dce0..df822cd99 100644 --- a/framework/core/tests/integration/api/discussions/ShowTest.php +++ b/framework/core/tests/integration/api/discussions/ShowTest.php @@ -20,7 +20,7 @@ class ShowTest extends TestCase { use RetrievesAuthorizedUsers; - public function setUp() + protected function setUp(): void { parent::setUp(); diff --git a/framework/core/tests/integration/api/groups/CreateTest.php b/framework/core/tests/integration/api/groups/CreateTest.php index 03fbeda79..360e7f3b3 100644 --- a/framework/core/tests/integration/api/groups/CreateTest.php +++ b/framework/core/tests/integration/api/groups/CreateTest.php @@ -18,7 +18,7 @@ class CreateTest extends TestCase { use RetrievesAuthorizedUsers; - public function setUp() + protected function setUp(): void { parent::setUp(); diff --git a/framework/core/tests/integration/api/notifications/ListTest.php b/framework/core/tests/integration/api/notifications/ListTest.php index 946885483..a33a756de 100644 --- a/framework/core/tests/integration/api/notifications/ListTest.php +++ b/framework/core/tests/integration/api/notifications/ListTest.php @@ -16,7 +16,7 @@ class ListTest extends TestCase { use RetrievesAuthorizedUsers; - public function setUp() + protected function setUp(): void { parent::setUp(); diff --git a/framework/core/tests/integration/api/posts/CreateTest.php b/framework/core/tests/integration/api/posts/CreateTest.php index a11f297cd..bad67ba42 100644 --- a/framework/core/tests/integration/api/posts/CreateTest.php +++ b/framework/core/tests/integration/api/posts/CreateTest.php @@ -17,7 +17,7 @@ class CreateTest extends TestCase { use RetrievesAuthorizedUsers; - public function setUp() + protected function setUp(): void { parent::setUp(); diff --git a/framework/core/tests/integration/api/users/CreateTest.php b/framework/core/tests/integration/api/users/CreateTest.php index 3c35c096d..d92ea868b 100644 --- a/framework/core/tests/integration/api/users/CreateTest.php +++ b/framework/core/tests/integration/api/users/CreateTest.php @@ -18,7 +18,7 @@ class CreateTest extends TestCase { use RetrievesAuthorizedUsers; - public function setUp() + protected function setUp(): void { parent::setUp(); diff --git a/framework/core/tests/integration/api/users/ListTest.php b/framework/core/tests/integration/api/users/ListTest.php index 627998f12..3e33786b4 100644 --- a/framework/core/tests/integration/api/users/ListTest.php +++ b/framework/core/tests/integration/api/users/ListTest.php @@ -17,7 +17,7 @@ class ListTest extends TestCase { use RetrievesAuthorizedUsers; - public function setUp() + protected function setUp(): void { parent::setUp(); diff --git a/framework/core/tests/integration/api/users/UpdateTest.php b/framework/core/tests/integration/api/users/UpdateTest.php index 2e9beb6ec..f07229757 100644 --- a/framework/core/tests/integration/api/users/UpdateTest.php +++ b/framework/core/tests/integration/api/users/UpdateTest.php @@ -16,7 +16,7 @@ class UpdateTest extends TestCase { use RetrievesAuthorizedUsers; - public function setUp() + protected function setUp(): void { parent::setUp(); diff --git a/framework/core/tests/unit/Foundation/ErrorHandling/ExceptionHandler/IlluminateValidationExceptionHandlerTest.php b/framework/core/tests/unit/Foundation/ErrorHandling/ExceptionHandler/IlluminateValidationExceptionHandlerTest.php index d3df2cf0e..0bf6d4441 100644 --- a/framework/core/tests/unit/Foundation/ErrorHandling/ExceptionHandler/IlluminateValidationExceptionHandlerTest.php +++ b/framework/core/tests/unit/Foundation/ErrorHandling/ExceptionHandler/IlluminateValidationExceptionHandlerTest.php @@ -20,7 +20,7 @@ class IlluminateValidationExceptionHandlerTest extends TestCase { private $handler; - public function setUp() + protected function setUp(): void { $this->handler = new IlluminateValidationExceptionHandler; } diff --git a/framework/core/tests/unit/Foundation/ErrorHandling/ExceptionHandler/ValidationExceptionHandlerTest.php b/framework/core/tests/unit/Foundation/ErrorHandling/ExceptionHandler/ValidationExceptionHandlerTest.php index 09e2797fd..edb4c0892 100644 --- a/framework/core/tests/unit/Foundation/ErrorHandling/ExceptionHandler/ValidationExceptionHandlerTest.php +++ b/framework/core/tests/unit/Foundation/ErrorHandling/ExceptionHandler/ValidationExceptionHandlerTest.php @@ -17,7 +17,7 @@ class ValidationExceptionHandlerTest extends TestCase { private $handler; - public function setUp() + protected function setUp(): void { $this->handler = new ValidationExceptionHandler; } diff --git a/framework/core/tests/unit/Settings/DatabaseSettingsRepositoryTest.php b/framework/core/tests/unit/Settings/DatabaseSettingsRepositoryTest.php index 2fb34c938..56de7ffd8 100644 --- a/framework/core/tests/unit/Settings/DatabaseSettingsRepositoryTest.php +++ b/framework/core/tests/unit/Settings/DatabaseSettingsRepositoryTest.php @@ -19,7 +19,7 @@ class DatabaseSettingsRepositoryTest extends TestCase private $connection; private $repository; - public function setUp() + protected function setUp(): void { $this->connection = m::mock(ConnectionInterface::class); $this->repository = new DatabaseSettingsRepository($this->connection); diff --git a/framework/core/tests/unit/Settings/MemoryCacheSettingsRepositoryTest.php b/framework/core/tests/unit/Settings/MemoryCacheSettingsRepositoryTest.php index 761e60558..4011e4d6b 100644 --- a/framework/core/tests/unit/Settings/MemoryCacheSettingsRepositoryTest.php +++ b/framework/core/tests/unit/Settings/MemoryCacheSettingsRepositoryTest.php @@ -19,7 +19,7 @@ class MemoryCacheSettingsRepositoryTest extends TestCase private $baseRepository; private $repository; - public function setUp() + protected function setUp(): void { $this->baseRepository = m::mock(SettingsRepositoryInterface::class); $this->repository = new MemoryCacheSettingsRepository($this->baseRepository); diff --git a/framework/core/tests/unit/User/AvatarUploaderTest.php b/framework/core/tests/unit/User/AvatarUploaderTest.php index beb5241df..392bbe70d 100644 --- a/framework/core/tests/unit/User/AvatarUploaderTest.php +++ b/framework/core/tests/unit/User/AvatarUploaderTest.php @@ -24,7 +24,7 @@ class AvatarUploaderTest extends TestCase private $filesystem; private $uploader; - public function setUp() + protected function setUp(): void { $this->dispatcher = m::mock(Dispatcher::class); $this->dispatcher->shouldIgnoreMissing();