diff --git a/composer.json b/composer.json index c8cd7a290..0a996b06d 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 0a6709686..d4dfac2db 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" }, { diff --git a/tests/Browser/BrowserTestCase.php b/tests/Browser/BrowserTestCase.php index 825978d3c..6972a41dc 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 c6e58dd7a..bf10fde56 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 b9641634e..efbeb13b4 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 fd15287d7..ae7b4caf0 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 4ec2fc5f4..f9b42dae0 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 f0f7b280a..58434ec4c 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 bfaa2e3f9..cb81ef6c2 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 427744f71..830ba4c0f 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 3b6865c45..63489c157 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 43c341057..8b292c3f6 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 4490da8ac..48823acfa 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 f8de38031..ca3e5b74f 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 93ab0d1dd..d483ede05 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 d3661ca66..7bac15d70 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 fa5b5199d..77516bbf7 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 32f9e43eb..28c9377ff 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 2fc9b9b4b..d67e90ab5 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 c3735b927..6188c0c33 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 e99fe392e..ecd5258e6 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 fe41932bd..d9ea3ec28 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 2cc4a2701..7be401ac2 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 8efb51ce3..fb79d3b3e 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 3a6ea5cb2..197f26255 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 0d68b2642..2b1b91a90 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 c65f8a6be..68ed950cf 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 d60f3eaf2..f5de32679 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 1b3deb570..7329eb2d8 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 337e47725..ad22bdcad 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 fedeaa0c6..68b971e65 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 6356cde20..ac7fd5098 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 885108eca..24780c2a9 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 562ff75cc..37c0ec7e6 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 67f61d688..564902889 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 04965facc..b24a2c227 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 856ea1b98..0eed6945d 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 755808e06..ac455a84a 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 a4cd7e4f7..7d06ece59 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 c4d116739..adfe0b54f 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 cded75b28..f1ad8eb68 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 96a8b2d28..7449c81cc 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 e382a8636..75d1f32dd 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 613be35f8..3f04f24e3 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 8efcb2f42..7c5bad2c2 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 81d1b3a09..74c34d3c0 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 badc29bf1..b1beadbce 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 dbc20d577..a10753cc0 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 6edb79022..25bfee164 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 f8f2ff70c..b709417d2 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 ea28637df..41fbb5de2 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 bd927b8e8..092ceb6f8 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 fa7454ca1..18bf336ef 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 1dd124ab4..f6b1bebb9 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 ef4de9df3..2b042571f 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 c3ef3ef1b..bfc93f4b7 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 5e1d29bb4..ec6cd4a25 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 5070fe339..02388af94 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 c40531b97..416186c64 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 98ee03794..48378a6c3 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 1818058c9..18b26868d 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 dd80b9f2c..34c7bdbdd 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 6416cf92d..82dd00c0b 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 5eb0cd6fa..d0ada1b4a 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 1f0f62b5c..a7ea91506 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 23d5cb541..b92874c68 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 fc5507d0b..14d4950a0 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 e5d3d7c16..ea1068b21 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 29fd9d559..2fbb9f0c6 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 0aa2b388f..670fcec5f 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 d4df2443c..bf7cb05ed 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 a7ae2df05..eb2f05f69 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 9b757c2cd..c8596b66b 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 bcc4db486..031e1fb39 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 fdf2c5031..f66760ee4 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 9854de5cc..513e4a91e 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 7ea42e34a..8f3e33572 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 c1df4c207..683ea4567 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 40c087c1c..e0b9d9d18 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 acce1c683..8a28d8068 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 f00614f77..8bd95f0b8 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 75de1c061..aa63cfa4b 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 92fbec127..27c7892b6 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 3c1af703f..d01abab55 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 12f71f134..5bb436122 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 5b6046753..49613e68e 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 8a85d6297..da76ad3c9 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 0ce14eec2..29d9c0d6c 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 1581343ea..822cf0250 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 1784e2c57..4a331c04f 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 6ca75c0fe..dd599c2d6 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 0b8f453cc..86b1a2dc4 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 bb753e261..83b3109bd 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 25219b70a..7627a656d 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 2876ce147..1b185ad9b 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 a686abefa..8435115b9 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();