From 2fecba25009819453bc35ac17ee548396bfef688 Mon Sep 17 00:00:00 2001 From: devfrey Date: Sat, 9 May 2020 18:00:52 +0200 Subject: [PATCH] Fix tests by adding required return type hints --- tests/Browser/BrowserTestCase.php | 4 ++-- tests/Browser/Processes/Authentication/LoginProcessTest.php | 2 +- tests/Browser/Processes/Dashboard/DashboardTestCase.php | 2 +- .../Api/Application/ApplicationApiIntegrationTestCase.php | 2 +- tests/Integration/Api/Application/Nests/EggControllerTest.php | 2 +- .../Integration/Api/Application/Nests/NestControllerTest.php | 2 +- tests/Integration/IntegrationTestCase.php | 2 +- tests/TestCase.php | 4 ++-- tests/Unit/Commands/Environment/EmailSettingsCommandTest.php | 2 +- tests/Unit/Commands/Location/DeleteLocationCommandTest.php | 2 +- tests/Unit/Commands/Location/MakeLocationCommandTest.php | 2 +- .../Maintenance/CleanServiceBackupFilesCommandTest.php | 2 +- tests/Unit/Commands/Schedule/ProcessRunnableCommandTest.php | 2 +- tests/Unit/Commands/Server/BulkPowerActionCommandTest.php | 2 +- tests/Unit/Commands/User/DeleteUserCommandTest.php | 2 +- tests/Unit/Commands/User/DisableTwoFactorCommandTest.php | 2 +- tests/Unit/Commands/User/MakeUserCommandTest.php | 2 +- tests/Unit/Http/Controllers/Admin/DatabaseControllerTest.php | 2 +- tests/Unit/Http/Controllers/Admin/MailControllerTest.php | 2 +- .../Unit/Http/Controllers/Admin/StatisticsControllerTest.php | 2 +- tests/Unit/Http/Controllers/Base/IndexControllerTest.php | 2 +- tests/Unit/Http/Controllers/Base/SecurityControllerTest.php | 2 +- tests/Unit/Http/Controllers/ControllerTestCase.php | 2 +- tests/Unit/Http/Middleware/API/AuthenticateKeyTest.php | 2 +- tests/Unit/Http/Middleware/API/SetSessionDriverTest.php | 2 +- .../Http/Middleware/Api/Daemon/DaemonAuthenticateTest.php | 2 +- tests/Unit/Http/Middleware/DaemonAuthenticateTest.php | 2 +- tests/Unit/Http/Middleware/LanguageMiddlewareTest.php | 2 +- tests/Unit/Http/Middleware/MaintenanceMiddlewareTest.php | 2 +- tests/Unit/Http/Middleware/MiddlewareTestCase.php | 2 +- tests/Unit/Http/Middleware/RedirectIfAuthenticatedTest.php | 2 +- .../Http/Middleware/RequireTwoFactorAuthenticationTest.php | 2 +- .../Unit/Http/Middleware/Server/AccessingValidServerTest.php | 2 +- .../Unit/Http/Middleware/Server/AuthenticateAsSubuserTest.php | 2 +- .../Http/Middleware/Server/DatabaseBelongsToServerTest.php | 2 +- .../Http/Middleware/Server/ScheduleBelongsToServerTest.php | 2 +- .../Http/Middleware/Server/SubuserBelongsToServerTest.php | 2 +- tests/Unit/Jobs/Schedule/RunTaskJobTest.php | 2 +- .../Services/Allocations/AllocationDeletionServiceTest.php | 2 +- tests/Unit/Services/Allocations/AssignmentServiceTest.php | 2 +- .../Services/Allocations/SetDefaultAllocationServiceTest.php | 2 +- tests/Unit/Services/Api/KeyCreationServiceTest.php | 2 +- .../Unit/Services/DaemonKeys/DaemonKeyCreationServiceTest.php | 2 +- .../Unit/Services/DaemonKeys/DaemonKeyProviderServiceTest.php | 2 +- tests/Unit/Services/DaemonKeys/DaemonKeyUpdateServiceTest.php | 2 +- .../DaemonKeys/RevokeMultipleDaemonKeysServiceTest.php | 2 +- tests/Unit/Services/Databases/DatabasePasswordServiceTest.php | 2 +- .../Services/Databases/DeployServerDatabaseServiceTest.php | 2 +- .../Unit/Services/Databases/Hosts/HostCreationServiceTest.php | 2 +- .../Unit/Services/Databases/Hosts/HostDeletionServiceTest.php | 2 +- tests/Unit/Services/Databases/Hosts/HostUpdateServiceTest.php | 2 +- tests/Unit/Services/Eggs/EggConfigurationServiceTest.php | 2 +- tests/Unit/Services/Eggs/EggCreationServiceTest.php | 2 +- tests/Unit/Services/Eggs/EggDeletionServiceTest.php | 2 +- tests/Unit/Services/Eggs/EggUpdateServiceTest.php | 2 +- tests/Unit/Services/Eggs/Scripts/InstallScriptServiceTest.php | 2 +- tests/Unit/Services/Eggs/Sharing/EggExporterServiceTest.php | 2 +- tests/Unit/Services/Eggs/Sharing/EggImporterServiceTest.php | 2 +- .../Services/Eggs/Sharing/EggUpdateImporterServiceTest.php | 2 +- .../Services/Eggs/Variables/VariableCreationServiceTest.php | 2 +- .../Services/Eggs/Variables/VariableUpdateServiceTest.php | 2 +- tests/Unit/Services/Helpers/SoftwareVersionServiceTest.php | 2 +- tests/Unit/Services/Locations/LocationCreationServiceTest.php | 2 +- tests/Unit/Services/Locations/LocationDeletionServiceTest.php | 2 +- tests/Unit/Services/Locations/LocationUpdateServiceTest.php | 2 +- tests/Unit/Services/Nests/NestCreationServiceTest.php | 2 +- tests/Unit/Services/Nests/NestDeletionServiceTest.php | 2 +- tests/Unit/Services/Nests/NestUpdateServiceTest.php | 2 +- tests/Unit/Services/Nodes/NodeCreationServiceTest.php | 2 +- tests/Unit/Services/Nodes/NodeDeletionServiceTest.php | 2 +- tests/Unit/Services/Nodes/NodeUpdateServiceTest.php | 2 +- tests/Unit/Services/Packs/ExportPackServiceTest.php | 2 +- tests/Unit/Services/Packs/PackCreationServiceTest.php | 2 +- tests/Unit/Services/Packs/PackDeletionServiceTest.php | 2 +- tests/Unit/Services/Packs/PackUpdateServiceTest.php | 2 +- tests/Unit/Services/Packs/TemplateUploadServiceTest.php | 2 +- tests/Unit/Services/Schedules/ProcessScheduleServiceTest.php | 2 +- tests/Unit/Services/Servers/EnvironmentServiceTest.php | 2 +- tests/Unit/Services/Servers/ReinstallServerServiceTest.php | 2 +- .../Servers/ServerConfigurationStructureServiceTest.php | 2 +- tests/Unit/Services/Servers/ServerCreationServiceTest.php | 2 +- tests/Unit/Services/Servers/ServerDeletionServiceTest.php | 2 +- tests/Unit/Services/Servers/StartupCommandViewServiceTest.php | 2 +- .../Unit/Services/Servers/StartupModificationServiceTest.php | 2 +- tests/Unit/Services/Servers/SuspensionServiceTest.php | 2 +- tests/Unit/Services/Servers/VariableValidatorServiceTest.php | 2 +- .../Unit/Services/Subusers/PermissionCreationServiceTest.php | 2 +- tests/Unit/Services/Subusers/SubuserCreationServiceTest.php | 2 +- tests/Unit/Services/Subusers/SubuserUpdateServiceTest.php | 2 +- tests/Unit/Services/Users/ToggleTwoFactorServiceTest.php | 2 +- tests/Unit/Services/Users/TwoFactorSetupServiceTest.php | 2 +- tests/Unit/Services/Users/UserCreationServiceTest.php | 2 +- tests/Unit/Services/Users/UserDeletionServiceTest.php | 2 +- tests/Unit/Services/Users/UserUpdateServiceTest.php | 2 +- 94 files changed, 96 insertions(+), 96 deletions(-) diff --git a/tests/Browser/BrowserTestCase.php b/tests/Browser/BrowserTestCase.php index 825978d3..6972a41d 100644 --- a/tests/Browser/BrowserTestCase.php +++ b/tests/Browser/BrowserTestCase.php @@ -49,7 +49,7 @@ abstract class BrowserTestCase extends TestCase /** * Setup tests. */ - protected function setUp() + protected function setUp(): void { // Don't accidentally run the migrations aganist the non-testing database. Ask me // how many times I've accidentally dropped my database... @@ -97,7 +97,7 @@ abstract class BrowserTestCase extends TestCase * Tear down the test and delete all cookies from the browser instance to address * instances where the test would be kicked over to the login page. */ - protected function tearDown() + protected function tearDown(): void { /** @var \Pterodactyl\Tests\Browser\PterodactylBrowser $browser */ foreach (static::$browsers as $browser) { diff --git a/tests/Browser/Processes/Authentication/LoginProcessTest.php b/tests/Browser/Processes/Authentication/LoginProcessTest.php index c6e58dd7..bf10fde5 100644 --- a/tests/Browser/Processes/Authentication/LoginProcessTest.php +++ b/tests/Browser/Processes/Authentication/LoginProcessTest.php @@ -14,7 +14,7 @@ class LoginProcessTest extends BrowserTestCase /** * Setup tests. */ - protected function setUp() + protected function setUp(): void { parent::setUp(); diff --git a/tests/Browser/Processes/Dashboard/DashboardTestCase.php b/tests/Browser/Processes/Dashboard/DashboardTestCase.php index b9641634..efbeb13b 100644 --- a/tests/Browser/Processes/Dashboard/DashboardTestCase.php +++ b/tests/Browser/Processes/Dashboard/DashboardTestCase.php @@ -14,7 +14,7 @@ abstract class DashboardTestCase extends BrowserTestCase /** * Setup tests and provide a default user to calling functions. */ - protected function setUp() + protected function setUp(): void { parent::setUp(); diff --git a/tests/Integration/Api/Application/ApplicationApiIntegrationTestCase.php b/tests/Integration/Api/Application/ApplicationApiIntegrationTestCase.php index fd15287d..ae7b4caf 100644 --- a/tests/Integration/Api/Application/ApplicationApiIntegrationTestCase.php +++ b/tests/Integration/Api/Application/ApplicationApiIntegrationTestCase.php @@ -31,7 +31,7 @@ abstract class ApplicationApiIntegrationTestCase extends IntegrationTestCase * Bootstrap application API tests. Creates a default admin user and associated API key * and also sets some default headers required for accessing the API. */ - public function setUp() + public function setUp(): void { parent::setUp(); diff --git a/tests/Integration/Api/Application/Nests/EggControllerTest.php b/tests/Integration/Api/Application/Nests/EggControllerTest.php index 4ec2fc5f..f9b42dae 100644 --- a/tests/Integration/Api/Application/Nests/EggControllerTest.php +++ b/tests/Integration/Api/Application/Nests/EggControllerTest.php @@ -18,7 +18,7 @@ class EggControllerTest extends ApplicationApiIntegrationTestCase /** * Setup tests. */ - public function setUp() + public function setUp(): void { parent::setUp(); diff --git a/tests/Integration/Api/Application/Nests/NestControllerTest.php b/tests/Integration/Api/Application/Nests/NestControllerTest.php index f0f7b280..58434ec4 100644 --- a/tests/Integration/Api/Application/Nests/NestControllerTest.php +++ b/tests/Integration/Api/Application/Nests/NestControllerTest.php @@ -17,7 +17,7 @@ class NestControllerTest extends ApplicationApiIntegrationTestCase /** * Setup tests. */ - public function setUp() + public function setUp(): void { parent::setUp(); diff --git a/tests/Integration/IntegrationTestCase.php b/tests/Integration/IntegrationTestCase.php index bfaa2e3f..cb81ef6c 100644 --- a/tests/Integration/IntegrationTestCase.php +++ b/tests/Integration/IntegrationTestCase.php @@ -12,7 +12,7 @@ abstract class IntegrationTestCase extends TestCase /** * Setup base integration test cases. */ - public function setUp() + public function setUp(): void { parent::setUp(); diff --git a/tests/TestCase.php b/tests/TestCase.php index 427744f7..830ba4c0 100644 --- a/tests/TestCase.php +++ b/tests/TestCase.php @@ -12,7 +12,7 @@ abstract class TestCase extends BaseTestCase /** * Setup tests. */ - public function setUp() + public function setUp(): void { parent::setUp(); @@ -22,7 +22,7 @@ abstract class TestCase extends BaseTestCase /** * Tear down tests. */ - protected function tearDown() + protected function tearDown(): void { parent::tearDown(); diff --git a/tests/Unit/Commands/Environment/EmailSettingsCommandTest.php b/tests/Unit/Commands/Environment/EmailSettingsCommandTest.php index 3b6865c4..63489c15 100644 --- a/tests/Unit/Commands/Environment/EmailSettingsCommandTest.php +++ b/tests/Unit/Commands/Environment/EmailSettingsCommandTest.php @@ -29,7 +29,7 @@ class EmailSettingsCommandTest extends CommandTestCase /** * Setup tests. */ - public function setUp() + public function setUp(): void { parent::setUp(); diff --git a/tests/Unit/Commands/Location/DeleteLocationCommandTest.php b/tests/Unit/Commands/Location/DeleteLocationCommandTest.php index 43c34105..8b292c3f 100644 --- a/tests/Unit/Commands/Location/DeleteLocationCommandTest.php +++ b/tests/Unit/Commands/Location/DeleteLocationCommandTest.php @@ -36,7 +36,7 @@ class DeleteLocationCommandTest extends CommandTestCase /** * Setup tests. */ - public function setUp() + public function setUp(): void { parent::setUp(); diff --git a/tests/Unit/Commands/Location/MakeLocationCommandTest.php b/tests/Unit/Commands/Location/MakeLocationCommandTest.php index 4490da8a..48823acf 100644 --- a/tests/Unit/Commands/Location/MakeLocationCommandTest.php +++ b/tests/Unit/Commands/Location/MakeLocationCommandTest.php @@ -30,7 +30,7 @@ class MakeLocationCommandTest extends CommandTestCase /** * Setup tests. */ - public function setUp() + public function setUp(): void { parent::setUp(); diff --git a/tests/Unit/Commands/Maintenance/CleanServiceBackupFilesCommandTest.php b/tests/Unit/Commands/Maintenance/CleanServiceBackupFilesCommandTest.php index f8de3803..ca3e5b74 100644 --- a/tests/Unit/Commands/Maintenance/CleanServiceBackupFilesCommandTest.php +++ b/tests/Unit/Commands/Maintenance/CleanServiceBackupFilesCommandTest.php @@ -30,7 +30,7 @@ class CleanServiceBackupFilesCommandTest extends CommandTestCase /** * Setup tests. */ - public function setUp() + public function setUp(): void { parent::setUp(); diff --git a/tests/Unit/Commands/Schedule/ProcessRunnableCommandTest.php b/tests/Unit/Commands/Schedule/ProcessRunnableCommandTest.php index 93ab0d1d..d483ede0 100644 --- a/tests/Unit/Commands/Schedule/ProcessRunnableCommandTest.php +++ b/tests/Unit/Commands/Schedule/ProcessRunnableCommandTest.php @@ -38,7 +38,7 @@ class ProcessRunnableCommandTest extends CommandTestCase /** * Setup tests. */ - public function setUp() + public function setUp(): void { parent::setUp(); diff --git a/tests/Unit/Commands/Server/BulkPowerActionCommandTest.php b/tests/Unit/Commands/Server/BulkPowerActionCommandTest.php index d3661ca6..7bac15d7 100644 --- a/tests/Unit/Commands/Server/BulkPowerActionCommandTest.php +++ b/tests/Unit/Commands/Server/BulkPowerActionCommandTest.php @@ -27,7 +27,7 @@ class BulkPowerActionCommandTest extends CommandTestCase /** * Setup test. */ - public function setUp() + public function setUp(): void { parent::setUp(); diff --git a/tests/Unit/Commands/User/DeleteUserCommandTest.php b/tests/Unit/Commands/User/DeleteUserCommandTest.php index fa5b5199..77516bbf 100644 --- a/tests/Unit/Commands/User/DeleteUserCommandTest.php +++ b/tests/Unit/Commands/User/DeleteUserCommandTest.php @@ -32,7 +32,7 @@ class DeleteUserCommandTest extends CommandTestCase /** * Setup tests. */ - public function setUp() + public function setUp(): void { parent::setUp(); diff --git a/tests/Unit/Commands/User/DisableTwoFactorCommandTest.php b/tests/Unit/Commands/User/DisableTwoFactorCommandTest.php index 32f9e43e..28c9377f 100644 --- a/tests/Unit/Commands/User/DisableTwoFactorCommandTest.php +++ b/tests/Unit/Commands/User/DisableTwoFactorCommandTest.php @@ -30,7 +30,7 @@ class DisableTwoFactorCommandTest extends CommandTestCase /** * Setup tests. */ - public function setUp() + public function setUp(): void { parent::setUp(); diff --git a/tests/Unit/Commands/User/MakeUserCommandTest.php b/tests/Unit/Commands/User/MakeUserCommandTest.php index 2fc9b9b4..d67e90ab 100644 --- a/tests/Unit/Commands/User/MakeUserCommandTest.php +++ b/tests/Unit/Commands/User/MakeUserCommandTest.php @@ -30,7 +30,7 @@ class MakeUserCommandTest extends CommandTestCase /** * Setup tests. */ - public function setUp() + public function setUp(): void { parent::setUp(); diff --git a/tests/Unit/Http/Controllers/Admin/DatabaseControllerTest.php b/tests/Unit/Http/Controllers/Admin/DatabaseControllerTest.php index c3735b92..6188c0c3 100644 --- a/tests/Unit/Http/Controllers/Admin/DatabaseControllerTest.php +++ b/tests/Unit/Http/Controllers/Admin/DatabaseControllerTest.php @@ -65,7 +65,7 @@ class DatabaseControllerTest extends TestCase /** * Setup tests. */ - public function setUp() + public function setUp(): void { parent::setUp(); diff --git a/tests/Unit/Http/Controllers/Admin/MailControllerTest.php b/tests/Unit/Http/Controllers/Admin/MailControllerTest.php index e99fe392..ecd5258e 100644 --- a/tests/Unit/Http/Controllers/Admin/MailControllerTest.php +++ b/tests/Unit/Http/Controllers/Admin/MailControllerTest.php @@ -40,7 +40,7 @@ class MailControllerTest extends ControllerTestCase /** * Setup tests. */ - public function setUp() + public function setUp(): void { parent::setUp(); diff --git a/tests/Unit/Http/Controllers/Admin/StatisticsControllerTest.php b/tests/Unit/Http/Controllers/Admin/StatisticsControllerTest.php index fe41932b..d9ea3ec2 100644 --- a/tests/Unit/Http/Controllers/Admin/StatisticsControllerTest.php +++ b/tests/Unit/Http/Controllers/Admin/StatisticsControllerTest.php @@ -54,7 +54,7 @@ class StatisticsControllerTest extends ControllerTestCase */ private $userRepository; - public function setUp() + public function setUp(): void { parent::setUp(); diff --git a/tests/Unit/Http/Controllers/Base/IndexControllerTest.php b/tests/Unit/Http/Controllers/Base/IndexControllerTest.php index 2cc4a270..7be401ac 100644 --- a/tests/Unit/Http/Controllers/Base/IndexControllerTest.php +++ b/tests/Unit/Http/Controllers/Base/IndexControllerTest.php @@ -52,7 +52,7 @@ class IndexControllerTest extends ControllerTestCase /** * Setup tests. */ - public function setUp() + public function setUp(): void { parent::setUp(); diff --git a/tests/Unit/Http/Controllers/Base/SecurityControllerTest.php b/tests/Unit/Http/Controllers/Base/SecurityControllerTest.php index 8efb51ce..fb79d3b3 100644 --- a/tests/Unit/Http/Controllers/Base/SecurityControllerTest.php +++ b/tests/Unit/Http/Controllers/Base/SecurityControllerTest.php @@ -44,7 +44,7 @@ class SecurityControllerTest extends ControllerTestCase /** * Setup tests. */ - public function setUp() + public function setUp(): void { parent::setUp(); diff --git a/tests/Unit/Http/Controllers/ControllerTestCase.php b/tests/Unit/Http/Controllers/ControllerTestCase.php index 3a6ea5cb..197f2625 100644 --- a/tests/Unit/Http/Controllers/ControllerTestCase.php +++ b/tests/Unit/Http/Controllers/ControllerTestCase.php @@ -19,7 +19,7 @@ abstract class ControllerTestCase extends TestCase /** * Setup tests. */ - public function setUp() + public function setUp(): void { parent::setUp(); diff --git a/tests/Unit/Http/Middleware/API/AuthenticateKeyTest.php b/tests/Unit/Http/Middleware/API/AuthenticateKeyTest.php index 0d68b264..2b1b91a9 100644 --- a/tests/Unit/Http/Middleware/API/AuthenticateKeyTest.php +++ b/tests/Unit/Http/Middleware/API/AuthenticateKeyTest.php @@ -34,7 +34,7 @@ class AuthenticateKeyTest extends MiddlewareTestCase /** * Setup tests. */ - public function setUp() + public function setUp(): void { parent::setUp(); Chronos::setTestNow(Chronos::now()); diff --git a/tests/Unit/Http/Middleware/API/SetSessionDriverTest.php b/tests/Unit/Http/Middleware/API/SetSessionDriverTest.php index c65f8a6b..68ed950c 100644 --- a/tests/Unit/Http/Middleware/API/SetSessionDriverTest.php +++ b/tests/Unit/Http/Middleware/API/SetSessionDriverTest.php @@ -17,7 +17,7 @@ class SetSessionDriverTest extends MiddlewareTestCase /** * Setup tests. */ - public function setUp() + public function setUp(): void { parent::setUp(); diff --git a/tests/Unit/Http/Middleware/Api/Daemon/DaemonAuthenticateTest.php b/tests/Unit/Http/Middleware/Api/Daemon/DaemonAuthenticateTest.php index d60f3eaf..f5de3267 100644 --- a/tests/Unit/Http/Middleware/Api/Daemon/DaemonAuthenticateTest.php +++ b/tests/Unit/Http/Middleware/Api/Daemon/DaemonAuthenticateTest.php @@ -20,7 +20,7 @@ class DaemonAuthenticateTest extends MiddlewareTestCase /** * Setup tests. */ - public function setUp() + public function setUp(): void { parent::setUp(); diff --git a/tests/Unit/Http/Middleware/DaemonAuthenticateTest.php b/tests/Unit/Http/Middleware/DaemonAuthenticateTest.php index 1b3deb57..7329eb2d 100644 --- a/tests/Unit/Http/Middleware/DaemonAuthenticateTest.php +++ b/tests/Unit/Http/Middleware/DaemonAuthenticateTest.php @@ -17,7 +17,7 @@ class DaemonAuthenticateTest extends MiddlewareTestCase /** * Setup tests. */ - public function setUp() + public function setUp(): void { parent::setUp(); diff --git a/tests/Unit/Http/Middleware/LanguageMiddlewareTest.php b/tests/Unit/Http/Middleware/LanguageMiddlewareTest.php index 337e4772..ad22bdca 100644 --- a/tests/Unit/Http/Middleware/LanguageMiddlewareTest.php +++ b/tests/Unit/Http/Middleware/LanguageMiddlewareTest.php @@ -17,7 +17,7 @@ class LanguageMiddlewareTest extends MiddlewareTestCase /** * Setup tests. */ - public function setUp() + public function setUp(): void { parent::setUp(); diff --git a/tests/Unit/Http/Middleware/MaintenanceMiddlewareTest.php b/tests/Unit/Http/Middleware/MaintenanceMiddlewareTest.php index fedeaa0c..68b971e6 100644 --- a/tests/Unit/Http/Middleware/MaintenanceMiddlewareTest.php +++ b/tests/Unit/Http/Middleware/MaintenanceMiddlewareTest.php @@ -19,7 +19,7 @@ class MaintenanceMiddlewareTest extends MiddlewareTestCase /** * Setup tests. */ - public function setUp() + public function setUp(): void { parent::setUp(); diff --git a/tests/Unit/Http/Middleware/MiddlewareTestCase.php b/tests/Unit/Http/Middleware/MiddlewareTestCase.php index 6356cde2..ac7fd509 100644 --- a/tests/Unit/Http/Middleware/MiddlewareTestCase.php +++ b/tests/Unit/Http/Middleware/MiddlewareTestCase.php @@ -14,7 +14,7 @@ abstract class MiddlewareTestCase extends TestCase /** * Setup tests with a mocked request object and normal attributes. */ - public function setUp() + public function setUp(): void { parent::setUp(); diff --git a/tests/Unit/Http/Middleware/RedirectIfAuthenticatedTest.php b/tests/Unit/Http/Middleware/RedirectIfAuthenticatedTest.php index 885108ec..24780c2a 100644 --- a/tests/Unit/Http/Middleware/RedirectIfAuthenticatedTest.php +++ b/tests/Unit/Http/Middleware/RedirectIfAuthenticatedTest.php @@ -17,7 +17,7 @@ class RedirectIfAuthenticatedTest extends MiddlewareTestCase /** * Setup tests. */ - public function setUp() + public function setUp(): void { parent::setUp(); diff --git a/tests/Unit/Http/Middleware/RequireTwoFactorAuthenticationTest.php b/tests/Unit/Http/Middleware/RequireTwoFactorAuthenticationTest.php index 562ff75c..37c0ec7e 100644 --- a/tests/Unit/Http/Middleware/RequireTwoFactorAuthenticationTest.php +++ b/tests/Unit/Http/Middleware/RequireTwoFactorAuthenticationTest.php @@ -18,7 +18,7 @@ class RequireTwoFactorAuthenticationTest extends MiddlewareTestCase /** * Setup tests. */ - public function setUp() + public function setUp(): void { parent::setUp(); diff --git a/tests/Unit/Http/Middleware/Server/AccessingValidServerTest.php b/tests/Unit/Http/Middleware/Server/AccessingValidServerTest.php index 67f61d68..56490288 100644 --- a/tests/Unit/Http/Middleware/Server/AccessingValidServerTest.php +++ b/tests/Unit/Http/Middleware/Server/AccessingValidServerTest.php @@ -30,7 +30,7 @@ class AccessingValidServerTest extends MiddlewareTestCase /** * Setup tests. */ - public function setUp() + public function setUp(): void { parent::setUp(); diff --git a/tests/Unit/Http/Middleware/Server/AuthenticateAsSubuserTest.php b/tests/Unit/Http/Middleware/Server/AuthenticateAsSubuserTest.php index 04965fac..b24a2c22 100644 --- a/tests/Unit/Http/Middleware/Server/AuthenticateAsSubuserTest.php +++ b/tests/Unit/Http/Middleware/Server/AuthenticateAsSubuserTest.php @@ -19,7 +19,7 @@ class AuthenticateAsSubuserTest extends MiddlewareTestCase /** * Setup tests. */ - public function setUp() + public function setUp(): void { parent::setUp(); diff --git a/tests/Unit/Http/Middleware/Server/DatabaseBelongsToServerTest.php b/tests/Unit/Http/Middleware/Server/DatabaseBelongsToServerTest.php index 856ea1b9..0eed6945 100644 --- a/tests/Unit/Http/Middleware/Server/DatabaseBelongsToServerTest.php +++ b/tests/Unit/Http/Middleware/Server/DatabaseBelongsToServerTest.php @@ -19,7 +19,7 @@ class DatabaseBelongsToServerTest extends MiddlewareTestCase /** * Setup tests. */ - public function setUp() + public function setUp(): void { parent::setUp(); diff --git a/tests/Unit/Http/Middleware/Server/ScheduleBelongsToServerTest.php b/tests/Unit/Http/Middleware/Server/ScheduleBelongsToServerTest.php index 755808e0..ac455a84 100644 --- a/tests/Unit/Http/Middleware/Server/ScheduleBelongsToServerTest.php +++ b/tests/Unit/Http/Middleware/Server/ScheduleBelongsToServerTest.php @@ -22,7 +22,7 @@ class ScheduleBelongsToServerTest extends MiddlewareTestCase */ private $repository; - public function setUp() + public function setUp(): void { parent::setUp(); diff --git a/tests/Unit/Http/Middleware/Server/SubuserBelongsToServerTest.php b/tests/Unit/Http/Middleware/Server/SubuserBelongsToServerTest.php index a4cd7e4f..7d06ece5 100644 --- a/tests/Unit/Http/Middleware/Server/SubuserBelongsToServerTest.php +++ b/tests/Unit/Http/Middleware/Server/SubuserBelongsToServerTest.php @@ -27,7 +27,7 @@ class SubuserBelongsToServerTest extends MiddlewareTestCase /** * Setup tests. */ - public function setUp() + public function setUp(): void { parent::setUp(); diff --git a/tests/Unit/Jobs/Schedule/RunTaskJobTest.php b/tests/Unit/Jobs/Schedule/RunTaskJobTest.php index c4d11673..adfe0b54 100644 --- a/tests/Unit/Jobs/Schedule/RunTaskJobTest.php +++ b/tests/Unit/Jobs/Schedule/RunTaskJobTest.php @@ -54,7 +54,7 @@ class RunTaskJobTest extends TestCase /** * Setup tests. */ - public function setUp() + public function setUp(): void { parent::setUp(); Bus::fake(); diff --git a/tests/Unit/Services/Allocations/AllocationDeletionServiceTest.php b/tests/Unit/Services/Allocations/AllocationDeletionServiceTest.php index cded75b2..f1ad8eb6 100644 --- a/tests/Unit/Services/Allocations/AllocationDeletionServiceTest.php +++ b/tests/Unit/Services/Allocations/AllocationDeletionServiceTest.php @@ -15,7 +15,7 @@ class AllocationDeletionServiceTest extends TestCase */ private $repository; - public function setUp() + public function setUp(): void { parent::setUp(); diff --git a/tests/Unit/Services/Allocations/AssignmentServiceTest.php b/tests/Unit/Services/Allocations/AssignmentServiceTest.php index 96a8b2d2..7449c81c 100644 --- a/tests/Unit/Services/Allocations/AssignmentServiceTest.php +++ b/tests/Unit/Services/Allocations/AssignmentServiceTest.php @@ -29,7 +29,7 @@ class AssignmentServiceTest extends TestCase /** * Setup tests. */ - public function setUp() + public function setUp(): void { parent::setUp(); diff --git a/tests/Unit/Services/Allocations/SetDefaultAllocationServiceTest.php b/tests/Unit/Services/Allocations/SetDefaultAllocationServiceTest.php index e382a863..75d1f32d 100644 --- a/tests/Unit/Services/Allocations/SetDefaultAllocationServiceTest.php +++ b/tests/Unit/Services/Allocations/SetDefaultAllocationServiceTest.php @@ -44,7 +44,7 @@ class SetDefaultAllocationServiceTest extends TestCase /** * Setup tests. */ - public function setUp() + public function setUp(): void { parent::setUp(); diff --git a/tests/Unit/Services/Api/KeyCreationServiceTest.php b/tests/Unit/Services/Api/KeyCreationServiceTest.php index 613be35f..3f04f24e 100644 --- a/tests/Unit/Services/Api/KeyCreationServiceTest.php +++ b/tests/Unit/Services/Api/KeyCreationServiceTest.php @@ -27,7 +27,7 @@ class KeyCreationServiceTest extends TestCase /** * Setup tests. */ - public function setUp() + public function setUp(): void { parent::setUp(); diff --git a/tests/Unit/Services/DaemonKeys/DaemonKeyCreationServiceTest.php b/tests/Unit/Services/DaemonKeys/DaemonKeyCreationServiceTest.php index 8efcb2f4..7c5bad2c 100644 --- a/tests/Unit/Services/DaemonKeys/DaemonKeyCreationServiceTest.php +++ b/tests/Unit/Services/DaemonKeys/DaemonKeyCreationServiceTest.php @@ -59,7 +59,7 @@ class DaemonKeyCreationServiceTest extends TestCase /** * Setup tests. */ - public function setUp() + public function setUp(): void { parent::setUp(); diff --git a/tests/Unit/Services/DaemonKeys/DaemonKeyProviderServiceTest.php b/tests/Unit/Services/DaemonKeys/DaemonKeyProviderServiceTest.php index 81d1b3a0..74c34d3c 100644 --- a/tests/Unit/Services/DaemonKeys/DaemonKeyProviderServiceTest.php +++ b/tests/Unit/Services/DaemonKeys/DaemonKeyProviderServiceTest.php @@ -48,7 +48,7 @@ class DaemonKeyProviderServiceTest extends TestCase /** * Setup tests. */ - public function setUp() + public function setUp(): void { parent::setUp(); Carbon::setTestNow(Carbon::now()); diff --git a/tests/Unit/Services/DaemonKeys/DaemonKeyUpdateServiceTest.php b/tests/Unit/Services/DaemonKeys/DaemonKeyUpdateServiceTest.php index badc29bf..b1beadbc 100644 --- a/tests/Unit/Services/DaemonKeys/DaemonKeyUpdateServiceTest.php +++ b/tests/Unit/Services/DaemonKeys/DaemonKeyUpdateServiceTest.php @@ -44,7 +44,7 @@ class DaemonKeyUpdateServiceTest extends TestCase /** * Setup tests. */ - public function setUp() + public function setUp(): void { parent::setUp(); diff --git a/tests/Unit/Services/DaemonKeys/RevokeMultipleDaemonKeysServiceTest.php b/tests/Unit/Services/DaemonKeys/RevokeMultipleDaemonKeysServiceTest.php index dbc20d57..a10753cc 100644 --- a/tests/Unit/Services/DaemonKeys/RevokeMultipleDaemonKeysServiceTest.php +++ b/tests/Unit/Services/DaemonKeys/RevokeMultipleDaemonKeysServiceTest.php @@ -30,7 +30,7 @@ class RevokeMultipleDaemonKeysServiceTest extends TestCase /** * Setup tests. */ - public function setUp() + public function setUp(): void { parent::setUp(); diff --git a/tests/Unit/Services/Databases/DatabasePasswordServiceTest.php b/tests/Unit/Services/Databases/DatabasePasswordServiceTest.php index 6edb7902..25bfee16 100644 --- a/tests/Unit/Services/Databases/DatabasePasswordServiceTest.php +++ b/tests/Unit/Services/Databases/DatabasePasswordServiceTest.php @@ -36,7 +36,7 @@ class DatabasePasswordServiceTest extends TestCase /** * Setup tests. */ - public function setUp() + public function setUp(): void { parent::setUp(); diff --git a/tests/Unit/Services/Databases/DeployServerDatabaseServiceTest.php b/tests/Unit/Services/Databases/DeployServerDatabaseServiceTest.php index f8f2ff70..b709417d 100644 --- a/tests/Unit/Services/Databases/DeployServerDatabaseServiceTest.php +++ b/tests/Unit/Services/Databases/DeployServerDatabaseServiceTest.php @@ -31,7 +31,7 @@ class DeployServerDatabaseServiceTest extends TestCase /** * Setup tests. */ - public function setUp() + public function setUp(): void { parent::setUp(); diff --git a/tests/Unit/Services/Databases/Hosts/HostCreationServiceTest.php b/tests/Unit/Services/Databases/Hosts/HostCreationServiceTest.php index ea28637d..41fbb5de 100644 --- a/tests/Unit/Services/Databases/Hosts/HostCreationServiceTest.php +++ b/tests/Unit/Services/Databases/Hosts/HostCreationServiceTest.php @@ -42,7 +42,7 @@ class HostCreationServiceTest extends TestCase /** * Setup tests. */ - public function setUp() + public function setUp(): void { parent::setUp(); diff --git a/tests/Unit/Services/Databases/Hosts/HostDeletionServiceTest.php b/tests/Unit/Services/Databases/Hosts/HostDeletionServiceTest.php index bd927b8e..092ceb6f 100644 --- a/tests/Unit/Services/Databases/Hosts/HostDeletionServiceTest.php +++ b/tests/Unit/Services/Databases/Hosts/HostDeletionServiceTest.php @@ -25,7 +25,7 @@ class HostDeletionServiceTest extends TestCase /** * Setup tests. */ - public function setUp() + public function setUp(): void { parent::setUp(); diff --git a/tests/Unit/Services/Databases/Hosts/HostUpdateServiceTest.php b/tests/Unit/Services/Databases/Hosts/HostUpdateServiceTest.php index fa7454ca..18bf336e 100644 --- a/tests/Unit/Services/Databases/Hosts/HostUpdateServiceTest.php +++ b/tests/Unit/Services/Databases/Hosts/HostUpdateServiceTest.php @@ -42,7 +42,7 @@ class HostUpdateServiceTest extends TestCase /** * Setup tests. */ - public function setUp() + public function setUp(): void { parent::setUp(); diff --git a/tests/Unit/Services/Eggs/EggConfigurationServiceTest.php b/tests/Unit/Services/Eggs/EggConfigurationServiceTest.php index 1dd124ab..f6b1bebb 100644 --- a/tests/Unit/Services/Eggs/EggConfigurationServiceTest.php +++ b/tests/Unit/Services/Eggs/EggConfigurationServiceTest.php @@ -23,7 +23,7 @@ class EggConfigurationServiceTest extends TestCase /** * Setup tests. */ - public function setUp() + public function setUp(): void { parent::setUp(); diff --git a/tests/Unit/Services/Eggs/EggCreationServiceTest.php b/tests/Unit/Services/Eggs/EggCreationServiceTest.php index ef4de9df..2b042571 100644 --- a/tests/Unit/Services/Eggs/EggCreationServiceTest.php +++ b/tests/Unit/Services/Eggs/EggCreationServiceTest.php @@ -41,7 +41,7 @@ class EggCreationServiceTest extends TestCase /** * Setup tests. */ - public function setUp() + public function setUp(): void { parent::setUp(); diff --git a/tests/Unit/Services/Eggs/EggDeletionServiceTest.php b/tests/Unit/Services/Eggs/EggDeletionServiceTest.php index c3ef3ef1..bfc93f4b 100644 --- a/tests/Unit/Services/Eggs/EggDeletionServiceTest.php +++ b/tests/Unit/Services/Eggs/EggDeletionServiceTest.php @@ -38,7 +38,7 @@ class EggDeletionServiceTest extends TestCase /** * Setup tests. */ - public function setUp() + public function setUp(): void { parent::setUp(); diff --git a/tests/Unit/Services/Eggs/EggUpdateServiceTest.php b/tests/Unit/Services/Eggs/EggUpdateServiceTest.php index 5e1d29bb..ec6cd4a2 100644 --- a/tests/Unit/Services/Eggs/EggUpdateServiceTest.php +++ b/tests/Unit/Services/Eggs/EggUpdateServiceTest.php @@ -37,7 +37,7 @@ class EggUpdateServiceTest extends TestCase /** * Setup tests. */ - public function setUp() + public function setUp(): void { parent::setUp(); diff --git a/tests/Unit/Services/Eggs/Scripts/InstallScriptServiceTest.php b/tests/Unit/Services/Eggs/Scripts/InstallScriptServiceTest.php index 5070fe33..02388af9 100644 --- a/tests/Unit/Services/Eggs/Scripts/InstallScriptServiceTest.php +++ b/tests/Unit/Services/Eggs/Scripts/InstallScriptServiceTest.php @@ -48,7 +48,7 @@ class InstallScriptServiceTest extends TestCase /** * Setup tests. */ - public function setUp() + public function setUp(): void { parent::setUp(); diff --git a/tests/Unit/Services/Eggs/Sharing/EggExporterServiceTest.php b/tests/Unit/Services/Eggs/Sharing/EggExporterServiceTest.php index c40531b9..416186c6 100644 --- a/tests/Unit/Services/Eggs/Sharing/EggExporterServiceTest.php +++ b/tests/Unit/Services/Eggs/Sharing/EggExporterServiceTest.php @@ -40,7 +40,7 @@ class EggExporterServiceTest extends TestCase /** * Setup tests. */ - public function setUp() + public function setUp(): void { parent::setUp(); diff --git a/tests/Unit/Services/Eggs/Sharing/EggImporterServiceTest.php b/tests/Unit/Services/Eggs/Sharing/EggImporterServiceTest.php index 98ee0379..48378a6c 100644 --- a/tests/Unit/Services/Eggs/Sharing/EggImporterServiceTest.php +++ b/tests/Unit/Services/Eggs/Sharing/EggImporterServiceTest.php @@ -62,7 +62,7 @@ class EggImporterServiceTest extends TestCase /** * Setup tests. */ - public function setUp() + public function setUp(): void { parent::setUp(); diff --git a/tests/Unit/Services/Eggs/Sharing/EggUpdateImporterServiceTest.php b/tests/Unit/Services/Eggs/Sharing/EggUpdateImporterServiceTest.php index 1818058c..18b26868 100644 --- a/tests/Unit/Services/Eggs/Sharing/EggUpdateImporterServiceTest.php +++ b/tests/Unit/Services/Eggs/Sharing/EggUpdateImporterServiceTest.php @@ -45,7 +45,7 @@ class EggUpdateImporterServiceTest extends TestCase /** * Setup tests. */ - public function setUp() + public function setUp(): void { parent::setUp(); diff --git a/tests/Unit/Services/Eggs/Variables/VariableCreationServiceTest.php b/tests/Unit/Services/Eggs/Variables/VariableCreationServiceTest.php index dd80b9f2..34c7bdbd 100644 --- a/tests/Unit/Services/Eggs/Variables/VariableCreationServiceTest.php +++ b/tests/Unit/Services/Eggs/Variables/VariableCreationServiceTest.php @@ -25,7 +25,7 @@ class VariableCreationServiceTest extends TestCase /** * Setup tests. */ - public function setUp() + public function setUp(): void { parent::setUp(); diff --git a/tests/Unit/Services/Eggs/Variables/VariableUpdateServiceTest.php b/tests/Unit/Services/Eggs/Variables/VariableUpdateServiceTest.php index 6416cf92..82dd00c0 100644 --- a/tests/Unit/Services/Eggs/Variables/VariableUpdateServiceTest.php +++ b/tests/Unit/Services/Eggs/Variables/VariableUpdateServiceTest.php @@ -32,7 +32,7 @@ class VariableUpdateServiceTest extends TestCase /** * Setup tests. */ - public function setUp() + public function setUp(): void { parent::setUp(); diff --git a/tests/Unit/Services/Helpers/SoftwareVersionServiceTest.php b/tests/Unit/Services/Helpers/SoftwareVersionServiceTest.php index 5eb0cd6f..d0ada1b4 100644 --- a/tests/Unit/Services/Helpers/SoftwareVersionServiceTest.php +++ b/tests/Unit/Services/Helpers/SoftwareVersionServiceTest.php @@ -51,7 +51,7 @@ class SoftwareVersionServiceTest extends TestCase /** * Setup tests. */ - public function setUp() + public function setUp(): void { parent::setUp(); diff --git a/tests/Unit/Services/Locations/LocationCreationServiceTest.php b/tests/Unit/Services/Locations/LocationCreationServiceTest.php index 1f0f62b5..a7ea9150 100644 --- a/tests/Unit/Services/Locations/LocationCreationServiceTest.php +++ b/tests/Unit/Services/Locations/LocationCreationServiceTest.php @@ -30,7 +30,7 @@ class LocationCreationServiceTest extends TestCase /** * Setup tests. */ - public function setUp() + public function setUp(): void { parent::setUp(); diff --git a/tests/Unit/Services/Locations/LocationDeletionServiceTest.php b/tests/Unit/Services/Locations/LocationDeletionServiceTest.php index 23d5cb54..b92874c6 100644 --- a/tests/Unit/Services/Locations/LocationDeletionServiceTest.php +++ b/tests/Unit/Services/Locations/LocationDeletionServiceTest.php @@ -37,7 +37,7 @@ class LocationDeletionServiceTest extends TestCase /** * Setup tests. */ - public function setUp() + public function setUp(): void { parent::setUp(); diff --git a/tests/Unit/Services/Locations/LocationUpdateServiceTest.php b/tests/Unit/Services/Locations/LocationUpdateServiceTest.php index fc5507d0..14d4950a 100644 --- a/tests/Unit/Services/Locations/LocationUpdateServiceTest.php +++ b/tests/Unit/Services/Locations/LocationUpdateServiceTest.php @@ -30,7 +30,7 @@ class LocationUpdateServiceTest extends TestCase /** * Setup tests. */ - public function setUp() + public function setUp(): void { parent::setUp(); diff --git a/tests/Unit/Services/Nests/NestCreationServiceTest.php b/tests/Unit/Services/Nests/NestCreationServiceTest.php index e5d3d7c1..ea1068b2 100644 --- a/tests/Unit/Services/Nests/NestCreationServiceTest.php +++ b/tests/Unit/Services/Nests/NestCreationServiceTest.php @@ -34,7 +34,7 @@ class NestCreationServiceTest extends TestCase /** * Setup tests. */ - public function setUp() + public function setUp(): void { parent::setUp(); diff --git a/tests/Unit/Services/Nests/NestDeletionServiceTest.php b/tests/Unit/Services/Nests/NestDeletionServiceTest.php index 29fd9d55..2fbb9f0c 100644 --- a/tests/Unit/Services/Nests/NestDeletionServiceTest.php +++ b/tests/Unit/Services/Nests/NestDeletionServiceTest.php @@ -37,7 +37,7 @@ class NestDeletionServiceTest extends TestCase /** * Setup tests. */ - public function setUp() + public function setUp(): void { parent::setUp(); diff --git a/tests/Unit/Services/Nests/NestUpdateServiceTest.php b/tests/Unit/Services/Nests/NestUpdateServiceTest.php index 0aa2b388..670fcec5 100644 --- a/tests/Unit/Services/Nests/NestUpdateServiceTest.php +++ b/tests/Unit/Services/Nests/NestUpdateServiceTest.php @@ -29,7 +29,7 @@ class NestUpdateServiceTest extends TestCase /** * Setup tests. */ - public function setUp() + public function setUp(): void { parent::setUp(); diff --git a/tests/Unit/Services/Nodes/NodeCreationServiceTest.php b/tests/Unit/Services/Nodes/NodeCreationServiceTest.php index d4df2443..bf7cb05e 100644 --- a/tests/Unit/Services/Nodes/NodeCreationServiceTest.php +++ b/tests/Unit/Services/Nodes/NodeCreationServiceTest.php @@ -32,7 +32,7 @@ class NodeCreationServiceTest extends TestCase /** * Setup tests. */ - public function setUp() + public function setUp(): void { parent::setUp(); diff --git a/tests/Unit/Services/Nodes/NodeDeletionServiceTest.php b/tests/Unit/Services/Nodes/NodeDeletionServiceTest.php index a7ae2df0..eb2f05f6 100644 --- a/tests/Unit/Services/Nodes/NodeDeletionServiceTest.php +++ b/tests/Unit/Services/Nodes/NodeDeletionServiceTest.php @@ -42,7 +42,7 @@ class NodeDeletionServiceTest extends TestCase /** * Setup tests. */ - public function setUp() + public function setUp(): void { parent::setUp(); diff --git a/tests/Unit/Services/Nodes/NodeUpdateServiceTest.php b/tests/Unit/Services/Nodes/NodeUpdateServiceTest.php index 9b757c2c..c8596b66 100644 --- a/tests/Unit/Services/Nodes/NodeUpdateServiceTest.php +++ b/tests/Unit/Services/Nodes/NodeUpdateServiceTest.php @@ -36,7 +36,7 @@ class NodeUpdateServiceTest extends TestCase /** * Setup tests. */ - public function setUp() + public function setUp(): void { parent::setUp(); diff --git a/tests/Unit/Services/Packs/ExportPackServiceTest.php b/tests/Unit/Services/Packs/ExportPackServiceTest.php index bcc4db48..031e1fb3 100644 --- a/tests/Unit/Services/Packs/ExportPackServiceTest.php +++ b/tests/Unit/Services/Packs/ExportPackServiceTest.php @@ -45,7 +45,7 @@ class ExportPackServiceTest extends TestCase /** * Setup tests. */ - public function setUp() + public function setUp(): void { parent::setUp(); diff --git a/tests/Unit/Services/Packs/PackCreationServiceTest.php b/tests/Unit/Services/Packs/PackCreationServiceTest.php index fdf2c503..f66760ee 100644 --- a/tests/Unit/Services/Packs/PackCreationServiceTest.php +++ b/tests/Unit/Services/Packs/PackCreationServiceTest.php @@ -54,7 +54,7 @@ class PackCreationServiceTest extends TestCase /** * Setup tests. */ - public function setUp() + public function setUp(): void { parent::setUp(); diff --git a/tests/Unit/Services/Packs/PackDeletionServiceTest.php b/tests/Unit/Services/Packs/PackDeletionServiceTest.php index 9854de5c..513e4a91 100644 --- a/tests/Unit/Services/Packs/PackDeletionServiceTest.php +++ b/tests/Unit/Services/Packs/PackDeletionServiceTest.php @@ -49,7 +49,7 @@ class PackDeletionServiceTest extends TestCase /** * Setup tests. */ - public function setUp() + public function setUp(): void { parent::setUp(); diff --git a/tests/Unit/Services/Packs/PackUpdateServiceTest.php b/tests/Unit/Services/Packs/PackUpdateServiceTest.php index 7ea42e34..8f3e3357 100644 --- a/tests/Unit/Services/Packs/PackUpdateServiceTest.php +++ b/tests/Unit/Services/Packs/PackUpdateServiceTest.php @@ -37,7 +37,7 @@ class PackUpdateServiceTest extends TestCase /** * Setup tests. */ - public function setUp() + public function setUp(): void { parent::setUp(); diff --git a/tests/Unit/Services/Packs/TemplateUploadServiceTest.php b/tests/Unit/Services/Packs/TemplateUploadServiceTest.php index c1df4c20..683ea456 100644 --- a/tests/Unit/Services/Packs/TemplateUploadServiceTest.php +++ b/tests/Unit/Services/Packs/TemplateUploadServiceTest.php @@ -49,7 +49,7 @@ class TemplateUploadServiceTest extends TestCase /** * Setup tests. */ - public function setUp() + public function setUp(): void { parent::setUp(); diff --git a/tests/Unit/Services/Schedules/ProcessScheduleServiceTest.php b/tests/Unit/Services/Schedules/ProcessScheduleServiceTest.php index 40c087c1..e0b9d9d1 100644 --- a/tests/Unit/Services/Schedules/ProcessScheduleServiceTest.php +++ b/tests/Unit/Services/Schedules/ProcessScheduleServiceTest.php @@ -33,7 +33,7 @@ class ProcessScheduleServiceTest extends TestCase /** * Setup tests. */ - public function setUp() + public function setUp(): void { parent::setUp(); diff --git a/tests/Unit/Services/Servers/EnvironmentServiceTest.php b/tests/Unit/Services/Servers/EnvironmentServiceTest.php index acce1c68..8a28d806 100644 --- a/tests/Unit/Services/Servers/EnvironmentServiceTest.php +++ b/tests/Unit/Services/Servers/EnvironmentServiceTest.php @@ -27,7 +27,7 @@ class EnvironmentServiceTest extends TestCase /** * Setup tests. */ - public function setUp() + public function setUp(): void { parent::setUp(); diff --git a/tests/Unit/Services/Servers/ReinstallServerServiceTest.php b/tests/Unit/Services/Servers/ReinstallServerServiceTest.php index f00614f7..8bd95f0b 100644 --- a/tests/Unit/Services/Servers/ReinstallServerServiceTest.php +++ b/tests/Unit/Services/Servers/ReinstallServerServiceTest.php @@ -55,7 +55,7 @@ class ReinstallServerServiceTest extends TestCase /** * Setup tests. */ - public function setUp() + public function setUp(): void { parent::setUp(); diff --git a/tests/Unit/Services/Servers/ServerConfigurationStructureServiceTest.php b/tests/Unit/Services/Servers/ServerConfigurationStructureServiceTest.php index 75de1c06..aa63cfa4 100644 --- a/tests/Unit/Services/Servers/ServerConfigurationStructureServiceTest.php +++ b/tests/Unit/Services/Servers/ServerConfigurationStructureServiceTest.php @@ -26,7 +26,7 @@ class ServerConfigurationStructureServiceTest extends TestCase /** * Setup tests. */ - public function setUp() + public function setUp(): void { parent::setUp(); diff --git a/tests/Unit/Services/Servers/ServerCreationServiceTest.php b/tests/Unit/Services/Servers/ServerCreationServiceTest.php index 92fbec12..27c7892b 100644 --- a/tests/Unit/Services/Servers/ServerCreationServiceTest.php +++ b/tests/Unit/Services/Servers/ServerCreationServiceTest.php @@ -89,7 +89,7 @@ class ServerCreationServiceTest extends TestCase /** * Setup tests. */ - public function setUp() + public function setUp(): void { parent::setUp(); diff --git a/tests/Unit/Services/Servers/ServerDeletionServiceTest.php b/tests/Unit/Services/Servers/ServerDeletionServiceTest.php index 3c1af703..d01abab5 100644 --- a/tests/Unit/Services/Servers/ServerDeletionServiceTest.php +++ b/tests/Unit/Services/Servers/ServerDeletionServiceTest.php @@ -52,7 +52,7 @@ class ServerDeletionServiceTest extends TestCase /** * Setup tests. */ - public function setUp() + public function setUp(): void { parent::setUp(); diff --git a/tests/Unit/Services/Servers/StartupCommandViewServiceTest.php b/tests/Unit/Services/Servers/StartupCommandViewServiceTest.php index 12f71f13..5bb43612 100644 --- a/tests/Unit/Services/Servers/StartupCommandViewServiceTest.php +++ b/tests/Unit/Services/Servers/StartupCommandViewServiceTest.php @@ -22,7 +22,7 @@ class StartupCommandViewServiceTest extends TestCase /** * Setup tests. */ - public function setUp() + public function setUp(): void { parent::setUp(); diff --git a/tests/Unit/Services/Servers/StartupModificationServiceTest.php b/tests/Unit/Services/Servers/StartupModificationServiceTest.php index 5b604675..49613e68 100644 --- a/tests/Unit/Services/Servers/StartupModificationServiceTest.php +++ b/tests/Unit/Services/Servers/StartupModificationServiceTest.php @@ -57,7 +57,7 @@ class StartupModificationServiceTest extends TestCase /** * Setup tests. */ - public function setUp() + public function setUp(): void { parent::setUp(); diff --git a/tests/Unit/Services/Servers/SuspensionServiceTest.php b/tests/Unit/Services/Servers/SuspensionServiceTest.php index 8a85d629..da76ad3c 100644 --- a/tests/Unit/Services/Servers/SuspensionServiceTest.php +++ b/tests/Unit/Services/Servers/SuspensionServiceTest.php @@ -62,7 +62,7 @@ class SuspensionServiceTest extends TestCase /** * Setup tests. */ - public function setUp() + public function setUp(): void { parent::setUp(); diff --git a/tests/Unit/Services/Servers/VariableValidatorServiceTest.php b/tests/Unit/Services/Servers/VariableValidatorServiceTest.php index 0ce14eec..29d9c0d6 100644 --- a/tests/Unit/Services/Servers/VariableValidatorServiceTest.php +++ b/tests/Unit/Services/Servers/VariableValidatorServiceTest.php @@ -34,7 +34,7 @@ class VariableValidatorServiceTest extends TestCase /** * Setup tests. */ - public function setUp() + public function setUp(): void { parent::setUp(); diff --git a/tests/Unit/Services/Subusers/PermissionCreationServiceTest.php b/tests/Unit/Services/Subusers/PermissionCreationServiceTest.php index 1581343e..822cf025 100644 --- a/tests/Unit/Services/Subusers/PermissionCreationServiceTest.php +++ b/tests/Unit/Services/Subusers/PermissionCreationServiceTest.php @@ -29,7 +29,7 @@ class PermissionCreationServiceTest extends TestCase /** * Setup tests. */ - public function setUp() + public function setUp(): void { parent::setUp(); diff --git a/tests/Unit/Services/Subusers/SubuserCreationServiceTest.php b/tests/Unit/Services/Subusers/SubuserCreationServiceTest.php index 1784e2c5..4a331c04 100644 --- a/tests/Unit/Services/Subusers/SubuserCreationServiceTest.php +++ b/tests/Unit/Services/Subusers/SubuserCreationServiceTest.php @@ -65,7 +65,7 @@ class SubuserCreationServiceTest extends TestCase /** * Setup tests. */ - public function setUp() + public function setUp(): void { parent::setUp(); diff --git a/tests/Unit/Services/Subusers/SubuserUpdateServiceTest.php b/tests/Unit/Services/Subusers/SubuserUpdateServiceTest.php index 6ca75c0f..dd599c2d 100644 --- a/tests/Unit/Services/Subusers/SubuserUpdateServiceTest.php +++ b/tests/Unit/Services/Subusers/SubuserUpdateServiceTest.php @@ -64,7 +64,7 @@ class SubuserUpdateServiceTest extends TestCase /** * Setup tests. */ - public function setUp() + public function setUp(): void { parent::setUp(); diff --git a/tests/Unit/Services/Users/ToggleTwoFactorServiceTest.php b/tests/Unit/Services/Users/ToggleTwoFactorServiceTest.php index 0b8f453c..86b1a2dc 100644 --- a/tests/Unit/Services/Users/ToggleTwoFactorServiceTest.php +++ b/tests/Unit/Services/Users/ToggleTwoFactorServiceTest.php @@ -41,7 +41,7 @@ class ToggleTwoFactorServiceTest extends TestCase /** * Setup tests. */ - public function setUp() + public function setUp(): void { parent::setUp(); Carbon::setTestNow(Carbon::now()); diff --git a/tests/Unit/Services/Users/TwoFactorSetupServiceTest.php b/tests/Unit/Services/Users/TwoFactorSetupServiceTest.php index bb753e26..83b3109b 100644 --- a/tests/Unit/Services/Users/TwoFactorSetupServiceTest.php +++ b/tests/Unit/Services/Users/TwoFactorSetupServiceTest.php @@ -30,7 +30,7 @@ class TwoFactorSetupServiceTest extends TestCase /** * Setup tests. */ - public function setUp() + public function setUp(): void { parent::setUp(); diff --git a/tests/Unit/Services/Users/UserCreationServiceTest.php b/tests/Unit/Services/Users/UserCreationServiceTest.php index 25219b70..7627a656 100644 --- a/tests/Unit/Services/Users/UserCreationServiceTest.php +++ b/tests/Unit/Services/Users/UserCreationServiceTest.php @@ -41,7 +41,7 @@ class UserCreationServiceTest extends TestCase /** * Setup tests. */ - public function setUp() + public function setUp(): void { parent::setUp(); diff --git a/tests/Unit/Services/Users/UserDeletionServiceTest.php b/tests/Unit/Services/Users/UserDeletionServiceTest.php index 2876ce14..1b185ad9 100644 --- a/tests/Unit/Services/Users/UserDeletionServiceTest.php +++ b/tests/Unit/Services/Users/UserDeletionServiceTest.php @@ -47,7 +47,7 @@ class UserDeletionServiceTest extends TestCase /** * Setup tests. */ - public function setUp() + public function setUp(): void { parent::setUp(); diff --git a/tests/Unit/Services/Users/UserUpdateServiceTest.php b/tests/Unit/Services/Users/UserUpdateServiceTest.php index a686abef..8435115b 100644 --- a/tests/Unit/Services/Users/UserUpdateServiceTest.php +++ b/tests/Unit/Services/Users/UserUpdateServiceTest.php @@ -31,7 +31,7 @@ class UserUpdateServiceTest extends TestCase /** * Setup tests. */ - public function setUp() + public function setUp(): void { parent::setUp();