summaryrefslogtreecommitdiffstats
path: root/tests/Core/Command
diff options
context:
space:
mode:
Diffstat (limited to 'tests/Core/Command')
-rw-r--r--tests/Core/Command/Apps/AppsDisableTest.php2
-rw-r--r--tests/Core/Command/Apps/AppsEnableTest.php2
-rw-r--r--tests/Core/Command/Config/App/DeleteConfigTest.php2
-rw-r--r--tests/Core/Command/Config/App/GetConfigTest.php2
-rw-r--r--tests/Core/Command/Config/App/SetConfigTest.php2
-rw-r--r--tests/Core/Command/Config/ImportTest.php2
-rw-r--r--tests/Core/Command/Config/ListConfigsTest.php2
-rw-r--r--tests/Core/Command/Config/System/DeleteConfigTest.php2
-rw-r--r--tests/Core/Command/Config/System/GetConfigTest.php2
-rw-r--r--tests/Core/Command/Config/System/SetConfigTest.php2
-rw-r--r--tests/Core/Command/Encryption/ChangeKeyStorageRootTest.php2
-rw-r--r--tests/Core/Command/Encryption/DecryptAllTest.php2
-rw-r--r--tests/Core/Command/Encryption/DisableTest.php2
-rw-r--r--tests/Core/Command/Encryption/EnableTest.php2
-rw-r--r--tests/Core/Command/Encryption/EncryptAllTest.php2
-rw-r--r--tests/Core/Command/Encryption/SetDefaultModuleTest.php2
-rw-r--r--tests/Core/Command/Group/AddTest.php2
-rw-r--r--tests/Core/Command/Group/AddUserTest.php2
-rw-r--r--tests/Core/Command/Group/DeleteTest.php2
-rw-r--r--tests/Core/Command/Group/ListCommandTest.php2
-rw-r--r--tests/Core/Command/Group/RemoveUserTest.php2
-rw-r--r--tests/Core/Command/Log/FileTest.php2
-rw-r--r--tests/Core/Command/Log/ManageTest.php2
-rw-r--r--tests/Core/Command/Maintenance/DataFingerprintTest.php2
-rw-r--r--tests/Core/Command/Maintenance/Mimetype/UpdateDBTest.php2
-rw-r--r--tests/Core/Command/Maintenance/ModeTest.php2
-rw-r--r--tests/Core/Command/Maintenance/UpdateTheme.php2
-rw-r--r--tests/Core/Command/TwoFactorAuth/CleanupTest.php2
-rw-r--r--tests/Core/Command/TwoFactorAuth/DisableTest.php2
-rw-r--r--tests/Core/Command/TwoFactorAuth/EnableTest.php2
-rw-r--r--tests/Core/Command/TwoFactorAuth/EnforceTest.php2
-rw-r--r--tests/Core/Command/TwoFactorAuth/StateTest.php2
-rw-r--r--tests/Core/Command/User/DeleteTest.php2
-rw-r--r--tests/Core/Command/User/DisableTest.php2
-rw-r--r--tests/Core/Command/User/EnableTest.php2
-rw-r--r--tests/Core/Command/User/LastSeenTest.php2
-rw-r--r--tests/Core/Command/User/SettingTest.php2
37 files changed, 37 insertions, 37 deletions
diff --git a/tests/Core/Command/Apps/AppsDisableTest.php b/tests/Core/Command/Apps/AppsDisableTest.php
index d9c43a79c26..f066eaba401 100644
--- a/tests/Core/Command/Apps/AppsDisableTest.php
+++ b/tests/Core/Command/Apps/AppsDisableTest.php
@@ -36,7 +36,7 @@ class AppsDisableTest extends TestCase {
/** @var CommandTester */
private $commandTester;
- public function setUp() {
+ public function setUp(): void {
parent::setUp();
$command = new Disable(
diff --git a/tests/Core/Command/Apps/AppsEnableTest.php b/tests/Core/Command/Apps/AppsEnableTest.php
index d2bda141303..a30bef59326 100644
--- a/tests/Core/Command/Apps/AppsEnableTest.php
+++ b/tests/Core/Command/Apps/AppsEnableTest.php
@@ -36,7 +36,7 @@ class AppsEnableTest extends TestCase {
/** @var CommandTester */
private $commandTester;
- public function setUp() {
+ public function setUp(): void {
parent::setUp();
$command = new Enable(
diff --git a/tests/Core/Command/Config/App/DeleteConfigTest.php b/tests/Core/Command/Config/App/DeleteConfigTest.php
index f74fd73d697..251de227d67 100644
--- a/tests/Core/Command/Config/App/DeleteConfigTest.php
+++ b/tests/Core/Command/Config/App/DeleteConfigTest.php
@@ -40,7 +40,7 @@ class DeleteConfigTest extends TestCase {
/** @var \Symfony\Component\Console\Command\Command */
protected $command;
- protected function setUp() {
+ protected function setUp(): void {
parent::setUp();
$this->config = $this->getMockBuilder(IConfig::class)
diff --git a/tests/Core/Command/Config/App/GetConfigTest.php b/tests/Core/Command/Config/App/GetConfigTest.php
index 7ea3fbb587c..7ecb09b8f82 100644
--- a/tests/Core/Command/Config/App/GetConfigTest.php
+++ b/tests/Core/Command/Config/App/GetConfigTest.php
@@ -40,7 +40,7 @@ class GetConfigTest extends TestCase {
/** @var \Symfony\Component\Console\Command\Command */
protected $command;
- protected function setUp() {
+ protected function setUp(): void {
parent::setUp();
$config = $this->config = $this->getMockBuilder(IConfig::class)
diff --git a/tests/Core/Command/Config/App/SetConfigTest.php b/tests/Core/Command/Config/App/SetConfigTest.php
index f66390871de..988e965d317 100644
--- a/tests/Core/Command/Config/App/SetConfigTest.php
+++ b/tests/Core/Command/Config/App/SetConfigTest.php
@@ -40,7 +40,7 @@ class SetConfigTest extends TestCase {
/** @var \Symfony\Component\Console\Command\Command */
protected $command;
- protected function setUp() {
+ protected function setUp(): void {
parent::setUp();
$config = $this->config = $this->getMockBuilder(IConfig::class)
diff --git a/tests/Core/Command/Config/ImportTest.php b/tests/Core/Command/Config/ImportTest.php
index 7afa47d3536..fa1ed151678 100644
--- a/tests/Core/Command/Config/ImportTest.php
+++ b/tests/Core/Command/Config/ImportTest.php
@@ -40,7 +40,7 @@ class ImportTest extends TestCase {
/** @var \Symfony\Component\Console\Command\Command */
protected $command;
- protected function setUp() {
+ protected function setUp(): void {
parent::setUp();
$config = $this->config = $this->getMockBuilder(IConfig::class)
diff --git a/tests/Core/Command/Config/ListConfigsTest.php b/tests/Core/Command/Config/ListConfigsTest.php
index 861c1f59d5e..203feaacbf1 100644
--- a/tests/Core/Command/Config/ListConfigsTest.php
+++ b/tests/Core/Command/Config/ListConfigsTest.php
@@ -44,7 +44,7 @@ class ListConfigsTest extends TestCase {
/** @var \Symfony\Component\Console\Command\Command */
protected $command;
- protected function setUp() {
+ protected function setUp(): void {
parent::setUp();
$systemConfig = $this->systemConfig = $this->getMockBuilder(SystemConfig::class)
diff --git a/tests/Core/Command/Config/System/DeleteConfigTest.php b/tests/Core/Command/Config/System/DeleteConfigTest.php
index 5ac4c853df3..21ef3e33981 100644
--- a/tests/Core/Command/Config/System/DeleteConfigTest.php
+++ b/tests/Core/Command/Config/System/DeleteConfigTest.php
@@ -40,7 +40,7 @@ class DeleteConfigTest extends TestCase {
/** @var \Symfony\Component\Console\Command\Command */
protected $command;
- protected function setUp() {
+ protected function setUp(): void {
parent::setUp();
$systemConfig = $this->systemConfig = $this->getMockBuilder(SystemConfig::class)
diff --git a/tests/Core/Command/Config/System/GetConfigTest.php b/tests/Core/Command/Config/System/GetConfigTest.php
index fd5db69fec9..1d8975f7f7f 100644
--- a/tests/Core/Command/Config/System/GetConfigTest.php
+++ b/tests/Core/Command/Config/System/GetConfigTest.php
@@ -40,7 +40,7 @@ class GetConfigTest extends TestCase {
/** @var \Symfony\Component\Console\Command\Command */
protected $command;
- protected function setUp() {
+ protected function setUp(): void {
parent::setUp();
$systemConfig = $this->systemConfig = $this->getMockBuilder(SystemConfig::class)
diff --git a/tests/Core/Command/Config/System/SetConfigTest.php b/tests/Core/Command/Config/System/SetConfigTest.php
index bb8d2c4b962..e3cfa89093d 100644
--- a/tests/Core/Command/Config/System/SetConfigTest.php
+++ b/tests/Core/Command/Config/System/SetConfigTest.php
@@ -40,7 +40,7 @@ class SetConfigTest extends TestCase {
/** @var \Symfony\Component\Console\Command\Command */
protected $command;
- protected function setUp() {
+ protected function setUp(): void {
parent::setUp();
$systemConfig = $this->systemConfig = $this->getMockBuilder(SystemConfig::class)
diff --git a/tests/Core/Command/Encryption/ChangeKeyStorageRootTest.php b/tests/Core/Command/Encryption/ChangeKeyStorageRootTest.php
index 811b64029c6..0f56cf53fa8 100644
--- a/tests/Core/Command/Encryption/ChangeKeyStorageRootTest.php
+++ b/tests/Core/Command/Encryption/ChangeKeyStorageRootTest.php
@@ -63,7 +63,7 @@ class ChangeKeyStorageRootTest extends TestCase {
/** @var \OCP\UserInterface | \PHPUnit_Framework_MockObject_MockObject */
protected $userInterface;
- public function setUp() {
+ public function setUp(): void {
parent::setUp();
$this->view = $this->getMockBuilder(View::class)->getMock();
diff --git a/tests/Core/Command/Encryption/DecryptAllTest.php b/tests/Core/Command/Encryption/DecryptAllTest.php
index 508d5da95f7..7fa95351045 100644
--- a/tests/Core/Command/Encryption/DecryptAllTest.php
+++ b/tests/Core/Command/Encryption/DecryptAllTest.php
@@ -54,7 +54,7 @@ class DecryptAllTest extends TestCase {
/** @var \PHPUnit_Framework_MockObject_MockObject | \OC\Encryption\DecryptAll */
protected $decryptAll;
- public function setUp() {
+ public function setUp(): void {
parent::setUp();
$this->config = $this->getMockBuilder(IConfig::class)
diff --git a/tests/Core/Command/Encryption/DisableTest.php b/tests/Core/Command/Encryption/DisableTest.php
index 77a690fe264..f9035a84788 100644
--- a/tests/Core/Command/Encryption/DisableTest.php
+++ b/tests/Core/Command/Encryption/DisableTest.php
@@ -39,7 +39,7 @@ class DisableTest extends TestCase {
/** @var \Symfony\Component\Console\Command\Command */
protected $command;
- protected function setUp() {
+ protected function setUp(): void {
parent::setUp();
$config = $this->config = $this->getMockBuilder(IConfig::class)
diff --git a/tests/Core/Command/Encryption/EnableTest.php b/tests/Core/Command/Encryption/EnableTest.php
index eb1b7842385..5c8fc826af1 100644
--- a/tests/Core/Command/Encryption/EnableTest.php
+++ b/tests/Core/Command/Encryption/EnableTest.php
@@ -42,7 +42,7 @@ class EnableTest extends TestCase {
/** @var \Symfony\Component\Console\Command\Command */
protected $command;
- protected function setUp() {
+ protected function setUp(): void {
parent::setUp();
$config = $this->config = $this->getMockBuilder(IConfig::class)
diff --git a/tests/Core/Command/Encryption/EncryptAllTest.php b/tests/Core/Command/Encryption/EncryptAllTest.php
index 7fa4b5e5bbe..9c9818475f5 100644
--- a/tests/Core/Command/Encryption/EncryptAllTest.php
+++ b/tests/Core/Command/Encryption/EncryptAllTest.php
@@ -58,7 +58,7 @@ class EncryptAllTest extends TestCase {
/** @var EncryptAll */
protected $command;
- protected function setUp() {
+ protected function setUp(): void {
parent::setUp();
$this->config = $this->getMockBuilder(IConfig::class)
diff --git a/tests/Core/Command/Encryption/SetDefaultModuleTest.php b/tests/Core/Command/Encryption/SetDefaultModuleTest.php
index 2dc62d42bfa..0776ef42b48 100644
--- a/tests/Core/Command/Encryption/SetDefaultModuleTest.php
+++ b/tests/Core/Command/Encryption/SetDefaultModuleTest.php
@@ -42,7 +42,7 @@ class SetDefaultModuleTest extends TestCase {
/** @var \Symfony\Component\Console\Command\Command */
protected $command;
- protected function setUp() {
+ protected function setUp(): void {
parent::setUp();
$this->manager = $this->getMockBuilder(IManager::class)
diff --git a/tests/Core/Command/Group/AddTest.php b/tests/Core/Command/Group/AddTest.php
index c7010e53e58..ea30a5d3d68 100644
--- a/tests/Core/Command/Group/AddTest.php
+++ b/tests/Core/Command/Group/AddTest.php
@@ -44,7 +44,7 @@ class AddTest extends TestCase {
/** @var OutputInterface|\PHPUnit_Framework_MockObject_MockObject */
private $output;
- public function setUp() {
+ public function setUp(): void {
parent::setUp();
$this->groupManager = $this->createMock(IGroupManager::class);
diff --git a/tests/Core/Command/Group/AddUserTest.php b/tests/Core/Command/Group/AddUserTest.php
index 7660aad1192..85288d9e29c 100644
--- a/tests/Core/Command/Group/AddUserTest.php
+++ b/tests/Core/Command/Group/AddUserTest.php
@@ -49,7 +49,7 @@ class AddUserTest extends TestCase {
/** @var OutputInterface|\PHPUnit_Framework_MockObject_MockObject */
private $output;
- public function setUp() {
+ public function setUp(): void {
parent::setUp();
$this->groupManager = $this->createMock(IGroupManager::class);
diff --git a/tests/Core/Command/Group/DeleteTest.php b/tests/Core/Command/Group/DeleteTest.php
index f9b1cbbe3a8..4c2acbbad94 100644
--- a/tests/Core/Command/Group/DeleteTest.php
+++ b/tests/Core/Command/Group/DeleteTest.php
@@ -44,7 +44,7 @@ class DeleteTest extends TestCase {
/** @var OutputInterface|\PHPUnit_Framework_MockObject_MockObject */
private $output;
- public function setUp() {
+ public function setUp(): void {
parent::setUp();
$this->groupManager = $this->createMock(IGroupManager::class);
diff --git a/tests/Core/Command/Group/ListCommandTest.php b/tests/Core/Command/Group/ListCommandTest.php
index ab089c93422..71697d89401 100644
--- a/tests/Core/Command/Group/ListCommandTest.php
+++ b/tests/Core/Command/Group/ListCommandTest.php
@@ -45,7 +45,7 @@ class ListCommandTest extends TestCase {
/** @var OutputInterface|\PHPUnit_Framework_MockObject_MockObject */
private $output;
- public function setUp() {
+ public function setUp(): void {
parent::setUp();
$this->groupManager = $this->createMock(IGroupManager::class);
diff --git a/tests/Core/Command/Group/RemoveUserTest.php b/tests/Core/Command/Group/RemoveUserTest.php
index 8a75571e3cb..7e835f58478 100644
--- a/tests/Core/Command/Group/RemoveUserTest.php
+++ b/tests/Core/Command/Group/RemoveUserTest.php
@@ -49,7 +49,7 @@ class RemoveUserTest extends TestCase {
/** @var OutputInterface|\PHPUnit_Framework_MockObject_MockObject */
private $output;
- public function setUp() {
+ public function setUp(): void {
parent::setUp();
$this->groupManager = $this->createMock(IGroupManager::class);
diff --git a/tests/Core/Command/Log/FileTest.php b/tests/Core/Command/Log/FileTest.php
index 4b8845277da..524a193d86f 100644
--- a/tests/Core/Command/Log/FileTest.php
+++ b/tests/Core/Command/Log/FileTest.php
@@ -39,7 +39,7 @@ class FileTest extends TestCase {
/** @var \Symfony\Component\Console\Command\Command */
protected $command;
- protected function setUp() {
+ protected function setUp(): void {
parent::setUp();
$config = $this->config = $this->getMockBuilder(IConfig::class)
diff --git a/tests/Core/Command/Log/ManageTest.php b/tests/Core/Command/Log/ManageTest.php
index 2044fc4de90..92907948fb2 100644
--- a/tests/Core/Command/Log/ManageTest.php
+++ b/tests/Core/Command/Log/ManageTest.php
@@ -39,7 +39,7 @@ class ManageTest extends TestCase {
/** @var \Symfony\Component\Console\Command\Command */
protected $command;
- protected function setUp() {
+ protected function setUp(): void {
parent::setUp();
$config = $this->config = $this->getMockBuilder(IConfig::class)
diff --git a/tests/Core/Command/Maintenance/DataFingerprintTest.php b/tests/Core/Command/Maintenance/DataFingerprintTest.php
index 90ffa50c012..5cc816627e6 100644
--- a/tests/Core/Command/Maintenance/DataFingerprintTest.php
+++ b/tests/Core/Command/Maintenance/DataFingerprintTest.php
@@ -41,7 +41,7 @@ class DataFingerprintTest extends TestCase {
/** @var \Symfony\Component\Console\Command\Command */
protected $command;
- protected function setUp() {
+ protected function setUp(): void {
parent::setUp();
$this->config = $this->getMockBuilder(IConfig::class)->getMock();
diff --git a/tests/Core/Command/Maintenance/Mimetype/UpdateDBTest.php b/tests/Core/Command/Maintenance/Mimetype/UpdateDBTest.php
index 77757008633..32608796864 100644
--- a/tests/Core/Command/Maintenance/Mimetype/UpdateDBTest.php
+++ b/tests/Core/Command/Maintenance/Mimetype/UpdateDBTest.php
@@ -44,7 +44,7 @@ class UpdateDBTest extends TestCase {
/** @var \Symfony\Component\Console\Command\Command */
protected $command;
- protected function setUp() {
+ protected function setUp(): void {
parent::setUp();
$this->detector = $this->getMockBuilder(Detection::class)
diff --git a/tests/Core/Command/Maintenance/ModeTest.php b/tests/Core/Command/Maintenance/ModeTest.php
index 895a06bbec1..1e8af354d50 100644
--- a/tests/Core/Command/Maintenance/ModeTest.php
+++ b/tests/Core/Command/Maintenance/ModeTest.php
@@ -48,7 +48,7 @@ class ModeTest extends TestCase {
*
* @return void
*/
- protected function setUp() {
+ protected function setUp(): void {
parent::setUp();
$this->config = $this->getMockBuilder(IConfig::class)
->getMock();
diff --git a/tests/Core/Command/Maintenance/UpdateTheme.php b/tests/Core/Command/Maintenance/UpdateTheme.php
index 73141cefcbd..ace756b2647 100644
--- a/tests/Core/Command/Maintenance/UpdateTheme.php
+++ b/tests/Core/Command/Maintenance/UpdateTheme.php
@@ -50,7 +50,7 @@ class UpdateThemeTest extends TestCase {
/** @var \Symfony\Component\Console\Command\Command */
protected $command;
- protected function setUp() {
+ protected function setUp(): void {
parent::setUp();
$this->detector = $this->createMock(Detection::class);
diff --git a/tests/Core/Command/TwoFactorAuth/CleanupTest.php b/tests/Core/Command/TwoFactorAuth/CleanupTest.php
index 227283decf6..24aaa9abce2 100644
--- a/tests/Core/Command/TwoFactorAuth/CleanupTest.php
+++ b/tests/Core/Command/TwoFactorAuth/CleanupTest.php
@@ -40,7 +40,7 @@ class CleanupTest extends TestCase {
/** @var CommandTester */
private $cmd;
- protected function setUp() {
+ protected function setUp(): void {
parent::setUp();
$this->registry = $this->createMock(IRegistry::class);
diff --git a/tests/Core/Command/TwoFactorAuth/DisableTest.php b/tests/Core/Command/TwoFactorAuth/DisableTest.php
index 30ebc007dc1..9741f5b2b52 100644
--- a/tests/Core/Command/TwoFactorAuth/DisableTest.php
+++ b/tests/Core/Command/TwoFactorAuth/DisableTest.php
@@ -45,7 +45,7 @@ class DisableTest extends TestCase {
/** @var CommandTester */
private $command;
- public function setUp() {
+ public function setUp(): void {
parent::setUp();
$this->providerManager = $this->createMock(ProviderManager::class);
diff --git a/tests/Core/Command/TwoFactorAuth/EnableTest.php b/tests/Core/Command/TwoFactorAuth/EnableTest.php
index f31f92da4a5..bd74bde2e81 100644
--- a/tests/Core/Command/TwoFactorAuth/EnableTest.php
+++ b/tests/Core/Command/TwoFactorAuth/EnableTest.php
@@ -45,7 +45,7 @@ class EnableTest extends TestCase {
/** @var CommandTester */
private $command;
- public function setUp() {
+ public function setUp(): void {
parent::setUp();
$this->providerManager = $this->createMock(ProviderManager::class);
diff --git a/tests/Core/Command/TwoFactorAuth/EnforceTest.php b/tests/Core/Command/TwoFactorAuth/EnforceTest.php
index 2d9b77e18c2..aa2cbc10620 100644
--- a/tests/Core/Command/TwoFactorAuth/EnforceTest.php
+++ b/tests/Core/Command/TwoFactorAuth/EnforceTest.php
@@ -41,7 +41,7 @@ class EnforceTest extends TestCase {
/** @var CommandTester */
private $command;
- protected function setUp() {
+ protected function setUp(): void {
parent::setUp();
$this->mandatoryTwoFactor = $this->createMock(MandatoryTwoFactor::class);
diff --git a/tests/Core/Command/TwoFactorAuth/StateTest.php b/tests/Core/Command/TwoFactorAuth/StateTest.php
index 580e137fe32..8d1b28862d3 100644
--- a/tests/Core/Command/TwoFactorAuth/StateTest.php
+++ b/tests/Core/Command/TwoFactorAuth/StateTest.php
@@ -45,7 +45,7 @@ class StateTest extends TestCase {
/** @var CommandTester|MockObject */
private $cmd;
- protected function setUp() {
+ protected function setUp(): void {
parent::setUp();
$this->registry = $this->createMock(IRegistry::class);
diff --git a/tests/Core/Command/User/DeleteTest.php b/tests/Core/Command/User/DeleteTest.php
index 1b94d37cfc4..9dc920894d7 100644
--- a/tests/Core/Command/User/DeleteTest.php
+++ b/tests/Core/Command/User/DeleteTest.php
@@ -40,7 +40,7 @@ class DeleteTest extends TestCase {
/** @var \Symfony\Component\Console\Command\Command */
protected $command;
- protected function setUp() {
+ protected function setUp(): void {
parent::setUp();
$userManager = $this->userManager = $this->getMockBuilder(IUserManager::class)
diff --git a/tests/Core/Command/User/DisableTest.php b/tests/Core/Command/User/DisableTest.php
index 019fedc1da9..5456118f67c 100644
--- a/tests/Core/Command/User/DisableTest.php
+++ b/tests/Core/Command/User/DisableTest.php
@@ -42,7 +42,7 @@ class DisableTest extends TestCase {
/** @var Disable */
protected $command;
- protected function setUp() {
+ protected function setUp(): void {
parent::setUp();
$this->userManager = $this->createMock(IUserManager::class);
diff --git a/tests/Core/Command/User/EnableTest.php b/tests/Core/Command/User/EnableTest.php
index 9a3df13efe0..4a723ca1167 100644
--- a/tests/Core/Command/User/EnableTest.php
+++ b/tests/Core/Command/User/EnableTest.php
@@ -42,7 +42,7 @@ class EnableTest extends TestCase {
/** @var Disable */
protected $command;
- protected function setUp() {
+ protected function setUp(): void {
parent::setUp();
$this->userManager = $this->createMock(IUserManager::class);
diff --git a/tests/Core/Command/User/LastSeenTest.php b/tests/Core/Command/User/LastSeenTest.php
index cceefb98810..f6ee4796454 100644
--- a/tests/Core/Command/User/LastSeenTest.php
+++ b/tests/Core/Command/User/LastSeenTest.php
@@ -40,7 +40,7 @@ class LastSeenTest extends TestCase {
/** @var \Symfony\Component\Console\Command\Command */
protected $command;
- protected function setUp() {
+ protected function setUp(): void {
parent::setUp();
$userManager = $this->userManager = $this->getMockBuilder(IUserManager::class)
diff --git a/tests/Core/Command/User/SettingTest.php b/tests/Core/Command/User/SettingTest.php
index 784183c72c3..7d717343348 100644
--- a/tests/Core/Command/User/SettingTest.php
+++ b/tests/Core/Command/User/SettingTest.php
@@ -42,7 +42,7 @@ class SettingTest extends TestCase {
/** @var \Symfony\Component\Console\Output\OutputInterface|\PHPUnit_Framework_MockObject_MockObject */
protected $consoleOutput;
- protected function setUp() {
+ protected function setUp(): void {
parent::setUp();
$this->userManager = $this->getMockBuilder(IUserManager::class)