Merge pull request #2012 from devfrey/develop

Add return type hints and missing test dependencies
This commit is contained in:
Dane Everitt 2020-05-09 14:19:26 -07:00 committed by GitHub
commit 8cb401760f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
96 changed files with 262 additions and 491 deletions

View file

@ -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"
},

559
composer.lock generated
View file

@ -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"
},
{

View file

@ -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) {

View file

@ -14,7 +14,7 @@ class LoginProcessTest extends BrowserTestCase
/**
* Setup tests.
*/
protected function setUp()
protected function setUp(): void
{
parent::setUp();

View file

@ -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();

View file

@ -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();

View file

@ -18,7 +18,7 @@ class EggControllerTest extends ApplicationApiIntegrationTestCase
/**
* Setup tests.
*/
public function setUp()
public function setUp(): void
{
parent::setUp();

View file

@ -17,7 +17,7 @@ class NestControllerTest extends ApplicationApiIntegrationTestCase
/**
* Setup tests.
*/
public function setUp()
public function setUp(): void
{
parent::setUp();

View file

@ -12,7 +12,7 @@ abstract class IntegrationTestCase extends TestCase
/**
* Setup base integration test cases.
*/
public function setUp()
public function setUp(): void
{
parent::setUp();

View file

@ -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();

View file

@ -29,7 +29,7 @@ class EmailSettingsCommandTest extends CommandTestCase
/**
* Setup tests.
*/
public function setUp()
public function setUp(): void
{
parent::setUp();

View file

@ -36,7 +36,7 @@ class DeleteLocationCommandTest extends CommandTestCase
/**
* Setup tests.
*/
public function setUp()
public function setUp(): void
{
parent::setUp();

View file

@ -30,7 +30,7 @@ class MakeLocationCommandTest extends CommandTestCase
/**
* Setup tests.
*/
public function setUp()
public function setUp(): void
{
parent::setUp();

View file

@ -30,7 +30,7 @@ class CleanServiceBackupFilesCommandTest extends CommandTestCase
/**
* Setup tests.
*/
public function setUp()
public function setUp(): void
{
parent::setUp();

View file

@ -38,7 +38,7 @@ class ProcessRunnableCommandTest extends CommandTestCase
/**
* Setup tests.
*/
public function setUp()
public function setUp(): void
{
parent::setUp();

View file

@ -27,7 +27,7 @@ class BulkPowerActionCommandTest extends CommandTestCase
/**
* Setup test.
*/
public function setUp()
public function setUp(): void
{
parent::setUp();

View file

@ -32,7 +32,7 @@ class DeleteUserCommandTest extends CommandTestCase
/**
* Setup tests.
*/
public function setUp()
public function setUp(): void
{
parent::setUp();

View file

@ -30,7 +30,7 @@ class DisableTwoFactorCommandTest extends CommandTestCase
/**
* Setup tests.
*/
public function setUp()
public function setUp(): void
{
parent::setUp();

View file

@ -30,7 +30,7 @@ class MakeUserCommandTest extends CommandTestCase
/**
* Setup tests.
*/
public function setUp()
public function setUp(): void
{
parent::setUp();

View file

@ -65,7 +65,7 @@ class DatabaseControllerTest extends TestCase
/**
* Setup tests.
*/
public function setUp()
public function setUp(): void
{
parent::setUp();

View file

@ -40,7 +40,7 @@ class MailControllerTest extends ControllerTestCase
/**
* Setup tests.
*/
public function setUp()
public function setUp(): void
{
parent::setUp();

View file

@ -54,7 +54,7 @@ class StatisticsControllerTest extends ControllerTestCase
*/
private $userRepository;
public function setUp()
public function setUp(): void
{
parent::setUp();

View file

@ -52,7 +52,7 @@ class IndexControllerTest extends ControllerTestCase
/**
* Setup tests.
*/
public function setUp()
public function setUp(): void
{
parent::setUp();

View file

@ -44,7 +44,7 @@ class SecurityControllerTest extends ControllerTestCase
/**
* Setup tests.
*/
public function setUp()
public function setUp(): void
{
parent::setUp();

View file

@ -19,7 +19,7 @@ abstract class ControllerTestCase extends TestCase
/**
* Setup tests.
*/
public function setUp()
public function setUp(): void
{
parent::setUp();

View file

@ -34,7 +34,7 @@ class AuthenticateKeyTest extends MiddlewareTestCase
/**
* Setup tests.
*/
public function setUp()
public function setUp(): void
{
parent::setUp();
Chronos::setTestNow(Chronos::now());

View file

@ -17,7 +17,7 @@ class SetSessionDriverTest extends MiddlewareTestCase
/**
* Setup tests.
*/
public function setUp()
public function setUp(): void
{
parent::setUp();

View file

@ -20,7 +20,7 @@ class DaemonAuthenticateTest extends MiddlewareTestCase
/**
* Setup tests.
*/
public function setUp()
public function setUp(): void
{
parent::setUp();

View file

@ -17,7 +17,7 @@ class DaemonAuthenticateTest extends MiddlewareTestCase
/**
* Setup tests.
*/
public function setUp()
public function setUp(): void
{
parent::setUp();

View file

@ -17,7 +17,7 @@ class LanguageMiddlewareTest extends MiddlewareTestCase
/**
* Setup tests.
*/
public function setUp()
public function setUp(): void
{
parent::setUp();

View file

@ -19,7 +19,7 @@ class MaintenanceMiddlewareTest extends MiddlewareTestCase
/**
* Setup tests.
*/
public function setUp()
public function setUp(): void
{
parent::setUp();

View file

@ -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();

View file

@ -17,7 +17,7 @@ class RedirectIfAuthenticatedTest extends MiddlewareTestCase
/**
* Setup tests.
*/
public function setUp()
public function setUp(): void
{
parent::setUp();

View file

@ -18,7 +18,7 @@ class RequireTwoFactorAuthenticationTest extends MiddlewareTestCase
/**
* Setup tests.
*/
public function setUp()
public function setUp(): void
{
parent::setUp();

View file

@ -30,7 +30,7 @@ class AccessingValidServerTest extends MiddlewareTestCase
/**
* Setup tests.
*/
public function setUp()
public function setUp(): void
{
parent::setUp();

View file

@ -19,7 +19,7 @@ class AuthenticateAsSubuserTest extends MiddlewareTestCase
/**
* Setup tests.
*/
public function setUp()
public function setUp(): void
{
parent::setUp();

View file

@ -19,7 +19,7 @@ class DatabaseBelongsToServerTest extends MiddlewareTestCase
/**
* Setup tests.
*/
public function setUp()
public function setUp(): void
{
parent::setUp();

View file

@ -22,7 +22,7 @@ class ScheduleBelongsToServerTest extends MiddlewareTestCase
*/
private $repository;
public function setUp()
public function setUp(): void
{
parent::setUp();

View file

@ -27,7 +27,7 @@ class SubuserBelongsToServerTest extends MiddlewareTestCase
/**
* Setup tests.
*/
public function setUp()
public function setUp(): void
{
parent::setUp();

View file

@ -54,7 +54,7 @@ class RunTaskJobTest extends TestCase
/**
* Setup tests.
*/
public function setUp()
public function setUp(): void
{
parent::setUp();
Bus::fake();

View file

@ -15,7 +15,7 @@ class AllocationDeletionServiceTest extends TestCase
*/
private $repository;
public function setUp()
public function setUp(): void
{
parent::setUp();

View file

@ -29,7 +29,7 @@ class AssignmentServiceTest extends TestCase
/**
* Setup tests.
*/
public function setUp()
public function setUp(): void
{
parent::setUp();

View file

@ -44,7 +44,7 @@ class SetDefaultAllocationServiceTest extends TestCase
/**
* Setup tests.
*/
public function setUp()
public function setUp(): void
{
parent::setUp();

View file

@ -27,7 +27,7 @@ class KeyCreationServiceTest extends TestCase
/**
* Setup tests.
*/
public function setUp()
public function setUp(): void
{
parent::setUp();

View file

@ -59,7 +59,7 @@ class DaemonKeyCreationServiceTest extends TestCase
/**
* Setup tests.
*/
public function setUp()
public function setUp(): void
{
parent::setUp();

View file

@ -48,7 +48,7 @@ class DaemonKeyProviderServiceTest extends TestCase
/**
* Setup tests.
*/
public function setUp()
public function setUp(): void
{
parent::setUp();
Carbon::setTestNow(Carbon::now());

View file

@ -44,7 +44,7 @@ class DaemonKeyUpdateServiceTest extends TestCase
/**
* Setup tests.
*/
public function setUp()
public function setUp(): void
{
parent::setUp();

View file

@ -30,7 +30,7 @@ class RevokeMultipleDaemonKeysServiceTest extends TestCase
/**
* Setup tests.
*/
public function setUp()
public function setUp(): void
{
parent::setUp();

View file

@ -36,7 +36,7 @@ class DatabasePasswordServiceTest extends TestCase
/**
* Setup tests.
*/
public function setUp()
public function setUp(): void
{
parent::setUp();

View file

@ -31,7 +31,7 @@ class DeployServerDatabaseServiceTest extends TestCase
/**
* Setup tests.
*/
public function setUp()
public function setUp(): void
{
parent::setUp();

View file

@ -42,7 +42,7 @@ class HostCreationServiceTest extends TestCase
/**
* Setup tests.
*/
public function setUp()
public function setUp(): void
{
parent::setUp();

View file

@ -25,7 +25,7 @@ class HostDeletionServiceTest extends TestCase
/**
* Setup tests.
*/
public function setUp()
public function setUp(): void
{
parent::setUp();

View file

@ -42,7 +42,7 @@ class HostUpdateServiceTest extends TestCase
/**
* Setup tests.
*/
public function setUp()
public function setUp(): void
{
parent::setUp();

View file

@ -23,7 +23,7 @@ class EggConfigurationServiceTest extends TestCase
/**
* Setup tests.
*/
public function setUp()
public function setUp(): void
{
parent::setUp();

View file

@ -41,7 +41,7 @@ class EggCreationServiceTest extends TestCase
/**
* Setup tests.
*/
public function setUp()
public function setUp(): void
{
parent::setUp();

View file

@ -38,7 +38,7 @@ class EggDeletionServiceTest extends TestCase
/**
* Setup tests.
*/
public function setUp()
public function setUp(): void
{
parent::setUp();

View file

@ -37,7 +37,7 @@ class EggUpdateServiceTest extends TestCase
/**
* Setup tests.
*/
public function setUp()
public function setUp(): void
{
parent::setUp();

View file

@ -48,7 +48,7 @@ class InstallScriptServiceTest extends TestCase
/**
* Setup tests.
*/
public function setUp()
public function setUp(): void
{
parent::setUp();

View file

@ -40,7 +40,7 @@ class EggExporterServiceTest extends TestCase
/**
* Setup tests.
*/
public function setUp()
public function setUp(): void
{
parent::setUp();

View file

@ -62,7 +62,7 @@ class EggImporterServiceTest extends TestCase
/**
* Setup tests.
*/
public function setUp()
public function setUp(): void
{
parent::setUp();

View file

@ -45,7 +45,7 @@ class EggUpdateImporterServiceTest extends TestCase
/**
* Setup tests.
*/
public function setUp()
public function setUp(): void
{
parent::setUp();

View file

@ -25,7 +25,7 @@ class VariableCreationServiceTest extends TestCase
/**
* Setup tests.
*/
public function setUp()
public function setUp(): void
{
parent::setUp();

View file

@ -32,7 +32,7 @@ class VariableUpdateServiceTest extends TestCase
/**
* Setup tests.
*/
public function setUp()
public function setUp(): void
{
parent::setUp();

View file

@ -51,7 +51,7 @@ class SoftwareVersionServiceTest extends TestCase
/**
* Setup tests.
*/
public function setUp()
public function setUp(): void
{
parent::setUp();

View file

@ -30,7 +30,7 @@ class LocationCreationServiceTest extends TestCase
/**
* Setup tests.
*/
public function setUp()
public function setUp(): void
{
parent::setUp();

View file

@ -37,7 +37,7 @@ class LocationDeletionServiceTest extends TestCase
/**
* Setup tests.
*/
public function setUp()
public function setUp(): void
{
parent::setUp();

View file

@ -30,7 +30,7 @@ class LocationUpdateServiceTest extends TestCase
/**
* Setup tests.
*/
public function setUp()
public function setUp(): void
{
parent::setUp();

View file

@ -34,7 +34,7 @@ class NestCreationServiceTest extends TestCase
/**
* Setup tests.
*/
public function setUp()
public function setUp(): void
{
parent::setUp();

View file

@ -37,7 +37,7 @@ class NestDeletionServiceTest extends TestCase
/**
* Setup tests.
*/
public function setUp()
public function setUp(): void
{
parent::setUp();

View file

@ -29,7 +29,7 @@ class NestUpdateServiceTest extends TestCase
/**
* Setup tests.
*/
public function setUp()
public function setUp(): void
{
parent::setUp();

View file

@ -32,7 +32,7 @@ class NodeCreationServiceTest extends TestCase
/**
* Setup tests.
*/
public function setUp()
public function setUp(): void
{
parent::setUp();

View file

@ -42,7 +42,7 @@ class NodeDeletionServiceTest extends TestCase
/**
* Setup tests.
*/
public function setUp()
public function setUp(): void
{
parent::setUp();

View file

@ -36,7 +36,7 @@ class NodeUpdateServiceTest extends TestCase
/**
* Setup tests.
*/
public function setUp()
public function setUp(): void
{
parent::setUp();

View file

@ -45,7 +45,7 @@ class ExportPackServiceTest extends TestCase
/**
* Setup tests.
*/
public function setUp()
public function setUp(): void
{
parent::setUp();

View file

@ -54,7 +54,7 @@ class PackCreationServiceTest extends TestCase
/**
* Setup tests.
*/
public function setUp()
public function setUp(): void
{
parent::setUp();

View file

@ -49,7 +49,7 @@ class PackDeletionServiceTest extends TestCase
/**
* Setup tests.
*/
public function setUp()
public function setUp(): void
{
parent::setUp();

View file

@ -37,7 +37,7 @@ class PackUpdateServiceTest extends TestCase
/**
* Setup tests.
*/
public function setUp()
public function setUp(): void
{
parent::setUp();

View file

@ -49,7 +49,7 @@ class TemplateUploadServiceTest extends TestCase
/**
* Setup tests.
*/
public function setUp()
public function setUp(): void
{
parent::setUp();

View file

@ -33,7 +33,7 @@ class ProcessScheduleServiceTest extends TestCase
/**
* Setup tests.
*/
public function setUp()
public function setUp(): void
{
parent::setUp();

View file

@ -27,7 +27,7 @@ class EnvironmentServiceTest extends TestCase
/**
* Setup tests.
*/
public function setUp()
public function setUp(): void
{
parent::setUp();

View file

@ -55,7 +55,7 @@ class ReinstallServerServiceTest extends TestCase
/**
* Setup tests.
*/
public function setUp()
public function setUp(): void
{
parent::setUp();

View file

@ -26,7 +26,7 @@ class ServerConfigurationStructureServiceTest extends TestCase
/**
* Setup tests.
*/
public function setUp()
public function setUp(): void
{
parent::setUp();

View file

@ -89,7 +89,7 @@ class ServerCreationServiceTest extends TestCase
/**
* Setup tests.
*/
public function setUp()
public function setUp(): void
{
parent::setUp();

View file

@ -52,7 +52,7 @@ class ServerDeletionServiceTest extends TestCase
/**
* Setup tests.
*/
public function setUp()
public function setUp(): void
{
parent::setUp();

View file

@ -22,7 +22,7 @@ class StartupCommandViewServiceTest extends TestCase
/**
* Setup tests.
*/
public function setUp()
public function setUp(): void
{
parent::setUp();

View file

@ -57,7 +57,7 @@ class StartupModificationServiceTest extends TestCase
/**
* Setup tests.
*/
public function setUp()
public function setUp(): void
{
parent::setUp();

View file

@ -62,7 +62,7 @@ class SuspensionServiceTest extends TestCase
/**
* Setup tests.
*/
public function setUp()
public function setUp(): void
{
parent::setUp();

View file

@ -34,7 +34,7 @@ class VariableValidatorServiceTest extends TestCase
/**
* Setup tests.
*/
public function setUp()
public function setUp(): void
{
parent::setUp();

View file

@ -29,7 +29,7 @@ class PermissionCreationServiceTest extends TestCase
/**
* Setup tests.
*/
public function setUp()
public function setUp(): void
{
parent::setUp();

View file

@ -65,7 +65,7 @@ class SubuserCreationServiceTest extends TestCase
/**
* Setup tests.
*/
public function setUp()
public function setUp(): void
{
parent::setUp();

View file

@ -64,7 +64,7 @@ class SubuserUpdateServiceTest extends TestCase
/**
* Setup tests.
*/
public function setUp()
public function setUp(): void
{
parent::setUp();

View file

@ -41,7 +41,7 @@ class ToggleTwoFactorServiceTest extends TestCase
/**
* Setup tests.
*/
public function setUp()
public function setUp(): void
{
parent::setUp();
Carbon::setTestNow(Carbon::now());

View file

@ -30,7 +30,7 @@ class TwoFactorSetupServiceTest extends TestCase
/**
* Setup tests.
*/
public function setUp()
public function setUp(): void
{
parent::setUp();

View file

@ -41,7 +41,7 @@ class UserCreationServiceTest extends TestCase
/**
* Setup tests.
*/
public function setUp()
public function setUp(): void
{
parent::setUp();

View file

@ -47,7 +47,7 @@ class UserDeletionServiceTest extends TestCase
/**
* Setup tests.
*/
public function setUp()
public function setUp(): void
{
parent::setUp();

View file

@ -31,7 +31,7 @@ class UserUpdateServiceTest extends TestCase
/**
* Setup tests.
*/
public function setUp()
public function setUp(): void
{
parent::setUp();