From 2fecba25009819453bc35ac17ee548396bfef688 Mon Sep 17 00:00:00 2001 From: devfrey Date: Sat, 9 May 2020 18:00:52 +0200 Subject: [PATCH 1/2] 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(); From 6ed35ad83c7985c696b503f25b8405d375cadde8 Mon Sep 17 00:00:00 2001 From: devfrey Date: Sat, 9 May 2020 18:09:50 +0200 Subject: [PATCH 2/2] Add missing testing dependencies --- composer.json | 2 + composer.lock | 559 +++++++++++++++----------------------------------- 2 files changed, 166 insertions(+), 395 deletions(-) diff --git a/composer.json b/composer.json index c8cd7a29..0a996b06 100644 --- a/composer.json +++ b/composer.json @@ -44,7 +44,9 @@ "barryvdh/laravel-ide-helper": "^2.6", "codedungeon/phpunit-result-printer": "0.25.1", "friendsofphp/php-cs-fixer": "^2.16.1", + "fzaninotto/faker": "^1.9.1", "laravel/dusk": "^5.11", + "mockery/mockery": "^1.0", "php-mock/php-mock-phpunit": "^2.6", "phpunit/phpunit": "^7" }, diff --git a/composer.lock b/composer.lock index 0a670968..d4dfac2d 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "2318244deed430b3f0b3df9ee4977759", + "content-hash": "b6a885effd46e896377825b057886f23", "packages": [ { "name": "appstract/laravel-blade-directives", @@ -1655,12 +1655,6 @@ "sftp", "storage" ], - "funding": [ - { - "url": "https://offset.earth/frankdejonge", - "type": "other" - } - ], "time": "2020-03-17T18:58:12+00:00" }, { @@ -2076,16 +2070,6 @@ "datetime", "time" ], - "funding": [ - { - "url": "https://opencollective.com/Carbon", - "type": "open_collective" - }, - { - "url": "https://tidelift.com/funding/github/packagist/nesbot/carbon", - "type": "tidelift" - } - ], "time": "2020-03-31T13:43:19+00:00" }, { @@ -3098,12 +3082,6 @@ "spatie", "transform" ], - "funding": [ - { - "url": "https://spatie.be/open-source/support-us", - "type": "custom" - } - ], "time": "2020-03-02T18:40:49+00:00" }, { @@ -3286,20 +3264,6 @@ ], "description": "Symfony Console Component", "homepage": "https://symfony.com", - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], "time": "2020-03-30T11:41:10+00:00" }, { @@ -3353,20 +3317,6 @@ ], "description": "Symfony CssSelector Component", "homepage": "https://symfony.com", - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], "time": "2020-03-27T16:56:45+00:00" }, { @@ -3423,20 +3373,6 @@ ], "description": "Symfony Debug Component", "homepage": "https://symfony.com", - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], "time": "2020-03-27T16:54:36+00:00" }, { @@ -3493,20 +3429,6 @@ ], "description": "Symfony ErrorHandler Component", "homepage": "https://symfony.com", - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], "time": "2020-03-30T14:07:33+00:00" }, { @@ -3577,20 +3499,6 @@ ], "description": "Symfony EventDispatcher Component", "homepage": "https://symfony.com", - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], "time": "2020-03-27T16:54:36+00:00" }, { @@ -3698,20 +3606,6 @@ ], "description": "Symfony Finder Component", "homepage": "https://symfony.com", - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], "time": "2020-03-27T16:54:36+00:00" }, { @@ -3767,20 +3661,6 @@ ], "description": "Symfony HttpFoundation Component", "homepage": "https://symfony.com", - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], "time": "2020-03-30T14:07:33+00:00" }, { @@ -3871,20 +3751,6 @@ ], "description": "Symfony HttpKernel Component", "homepage": "https://symfony.com", - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], "time": "2020-03-30T14:59:15+00:00" }, { @@ -3947,20 +3813,6 @@ "mime", "mime-type" ], - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], "time": "2020-03-27T16:56:45+00:00" }, { @@ -4019,20 +3871,6 @@ "polyfill", "portable" ], - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], "time": "2020-02-27T09:26:54+00:00" }, { @@ -4092,20 +3930,6 @@ "portable", "shim" ], - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], "time": "2020-03-09T19:04:49+00:00" }, { @@ -4168,20 +3992,6 @@ "portable", "shim" ], - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], "time": "2020-03-09T19:04:49+00:00" }, { @@ -4241,20 +4051,6 @@ "portable", "shim" ], - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], "time": "2020-03-09T19:04:49+00:00" }, { @@ -4311,20 +4107,6 @@ "portable", "shim" ], - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], "time": "2020-03-09T19:04:49+00:00" }, { @@ -4380,20 +4162,6 @@ "portable", "shim" ], - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], "time": "2020-02-27T09:26:54+00:00" }, { @@ -4452,20 +4220,6 @@ "portable", "shim" ], - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], "time": "2020-02-27T09:26:54+00:00" }, { @@ -4518,20 +4272,6 @@ "polyfill", "shim" ], - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], "time": "2020-03-02T11:55:35+00:00" }, { @@ -4581,20 +4321,6 @@ ], "description": "Symfony Process Component", "homepage": "https://symfony.com", - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], "time": "2020-03-27T16:54:36+00:00" }, { @@ -4671,20 +4397,6 @@ "uri", "url" ], - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], "time": "2020-03-30T11:41:10+00:00" }, { @@ -4819,20 +4531,6 @@ ], "description": "Symfony Translation Component", "homepage": "https://symfony.com", - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], "time": "2020-03-27T16:54:36+00:00" }, { @@ -4966,20 +4664,6 @@ "debug", "dump" ], - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], "time": "2020-03-27T16:54:36+00:00" }, { @@ -5039,20 +4723,6 @@ ], "description": "Symfony Yaml Component", "homepage": "https://symfony.com", - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], "time": "2020-03-30T11:41:10+00:00" }, { @@ -5165,12 +4835,6 @@ "env", "environment" ], - "funding": [ - { - "url": "https://tidelift.com/funding/github/packagist/vlucas/phpdotenv", - "type": "tidelift" - } - ], "time": "2020-03-27T23:36:02+00:00" }, { @@ -5687,16 +5351,6 @@ "dependency", "package" ], - "funding": [ - { - "url": "https://packagist.com", - "type": "custom" - }, - { - "url": "https://tidelift.com/funding/github/packagist/composer/composer", - "type": "tidelift" - } - ], "time": "2020-03-13T19:34:27+00:00" }, { @@ -5862,12 +5516,6 @@ "Xdebug", "performance" ], - "funding": [ - { - "url": "https://packagist.com", - "type": "custom" - } - ], "time": "2020-03-01T12:26:26+00:00" }, { @@ -6084,6 +5732,104 @@ "description": "A tool to automatically fix PHP code style", "time": "2019-11-25T22:10:32+00:00" }, + { + "name": "fzaninotto/faker", + "version": "v1.9.1", + "source": { + "type": "git", + "url": "https://github.com/fzaninotto/Faker.git", + "reference": "fc10d778e4b84d5bd315dad194661e091d307c6f" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/fzaninotto/Faker/zipball/fc10d778e4b84d5bd315dad194661e091d307c6f", + "reference": "fc10d778e4b84d5bd315dad194661e091d307c6f", + "shasum": "" + }, + "require": { + "php": "^5.3.3 || ^7.0" + }, + "require-dev": { + "ext-intl": "*", + "phpunit/phpunit": "^4.8.35 || ^5.7", + "squizlabs/php_codesniffer": "^2.9.2" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.9-dev" + } + }, + "autoload": { + "psr-4": { + "Faker\\": "src/Faker/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "François Zaninotto" + } + ], + "description": "Faker is a PHP library that generates fake data for you.", + "keywords": [ + "data", + "faker", + "fixtures" + ], + "time": "2019-12-12T13:22:17+00:00" + }, + { + "name": "hamcrest/hamcrest-php", + "version": "v2.0.0", + "source": { + "type": "git", + "url": "https://github.com/hamcrest/hamcrest-php.git", + "reference": "776503d3a8e85d4f9a1148614f95b7a608b046ad" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/hamcrest/hamcrest-php/zipball/776503d3a8e85d4f9a1148614f95b7a608b046ad", + "reference": "776503d3a8e85d4f9a1148614f95b7a608b046ad", + "shasum": "" + }, + "require": { + "php": "^5.3|^7.0" + }, + "replace": { + "cordoval/hamcrest-php": "*", + "davedevelopment/hamcrest-php": "*", + "kodova/hamcrest-php": "*" + }, + "require-dev": { + "phpunit/php-file-iterator": "1.3.3", + "phpunit/phpunit": "~4.0", + "satooshi/php-coveralls": "^1.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "2.0-dev" + } + }, + "autoload": { + "classmap": [ + "hamcrest" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD" + ], + "description": "This is the PHP port of Hamcrest Matchers", + "keywords": [ + "test" + ], + "time": "2016-01-20T08:20:44+00:00" + }, { "name": "hassankhan/config", "version": "0.11.2", @@ -6336,6 +6082,71 @@ ], "time": "2019-11-24T09:46:11+00:00" }, + { + "name": "mockery/mockery", + "version": "1.3.1", + "source": { + "type": "git", + "url": "https://github.com/mockery/mockery.git", + "reference": "f69bbde7d7a75d6b2862d9ca8fab1cd28014b4be" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/mockery/mockery/zipball/f69bbde7d7a75d6b2862d9ca8fab1cd28014b4be", + "reference": "f69bbde7d7a75d6b2862d9ca8fab1cd28014b4be", + "shasum": "" + }, + "require": { + "hamcrest/hamcrest-php": "~2.0", + "lib-pcre": ">=7.0", + "php": ">=5.6.0" + }, + "require-dev": { + "phpunit/phpunit": "~5.7.10|~6.5|~7.0|~8.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.3.x-dev" + } + }, + "autoload": { + "psr-0": { + "Mockery": "library/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Pádraic Brady", + "email": "padraic.brady@gmail.com", + "homepage": "http://blog.astrumfutura.com" + }, + { + "name": "Dave Marshall", + "email": "dave.marshall@atstsolutions.co.uk", + "homepage": "http://davedevelopment.co.uk" + } + ], + "description": "Mockery is a simple yet flexible PHP mock object framework", + "homepage": "https://github.com/mockery/mockery", + "keywords": [ + "BDD", + "TDD", + "library", + "mock", + "mock objects", + "mockery", + "stub", + "test", + "test double", + "testing" + ], + "time": "2019-12-26T09:49:15+00:00" + }, { "name": "myclabs/deep-copy", "version": "1.9.5", @@ -8030,20 +7841,6 @@ ], "description": "Symfony Filesystem Component", "homepage": "https://symfony.com", - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], "time": "2020-03-27T16:56:45+00:00" }, { @@ -8098,20 +7895,6 @@ "configuration", "options" ], - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], "time": "2020-03-27T16:56:45+00:00" }, { @@ -8221,20 +8004,6 @@ ], "description": "Symfony Stopwatch Component", "homepage": "https://symfony.com", - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], "time": "2020-03-27T16:56:45+00:00" }, {