summaryrefslogtreecommitdiffstats
path: root/tests/Core
diff options
context:
space:
mode:
authorCôme Chilliet <come.chilliet@nextcloud.com>2023-01-20 11:45:08 +0100
committerCôme Chilliet <come.chilliet@nextcloud.com>2023-01-20 11:45:08 +0100
commitf5c361cf44739058b79f322576a1bad2d8c142d9 (patch)
treea22217c6995751023112832d191d213e494e2fbc /tests/Core
parent37bb33c5799b834dfef3fb73936bd0e5a4773fb8 (diff)
downloadnextcloud-server-f5c361cf44739058b79f322576a1bad2d8c142d9.tar.gz
nextcloud-server-f5c361cf44739058b79f322576a1bad2d8c142d9.zip
composer run cs:fix
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Diffstat (limited to 'tests/Core')
-rw-r--r--tests/Core/Command/Apps/AppsDisableTest.php1
-rw-r--r--tests/Core/Command/Apps/AppsEnableTest.php1
-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/EncryptAllTest.php1
-rw-r--r--tests/Core/Command/Group/AddTest.php1
-rw-r--r--tests/Core/Command/Group/AddUserTest.php1
-rw-r--r--tests/Core/Command/Group/DeleteTest.php1
-rw-r--r--tests/Core/Command/Group/InfoTest.php1
-rw-r--r--tests/Core/Command/Group/ListCommandTest.php1
-rw-r--r--tests/Core/Command/Group/RemoveUserTest.php1
-rw-r--r--tests/Core/Command/SystemTag/AddTest.php1
-rw-r--r--tests/Core/Command/SystemTag/DeleteTest.php1
-rw-r--r--tests/Core/Command/SystemTag/EditTest.php1
-rw-r--r--tests/Core/Command/SystemTag/ListCommandTest.php1
-rw-r--r--tests/Core/Command/TwoFactorAuth/CleanupTest.php1
-rw-r--r--tests/Core/Command/TwoFactorAuth/DisableTest.php1
-rw-r--r--tests/Core/Command/TwoFactorAuth/EnableTest.php1
-rw-r--r--tests/Core/Command/TwoFactorAuth/EnforceTest.php1
-rw-r--r--tests/Core/Command/TwoFactorAuth/StateTest.php1
-rw-r--r--tests/Core/Controller/AppPasswordControllerTest.php1
-rw-r--r--tests/Core/Controller/CSRFTokenControllerTest.php1
-rw-r--r--tests/Core/Controller/ClientFlowLoginV2ControllerTest.php1
-rw-r--r--tests/Core/Controller/ContactsMenuControllerTest.php1
-rw-r--r--tests/Core/Controller/CssControllerTest.php1
-rw-r--r--tests/Core/Controller/GuestAvatarControllerTest.php1
-rw-r--r--tests/Core/Controller/JsControllerTest.php1
-rw-r--r--tests/Core/Controller/LoginControllerTest.php1
-rw-r--r--tests/Core/Controller/NavigationControllerTest.php1
-rw-r--r--tests/Core/Controller/PreviewControllerTest.php1
-rw-r--r--tests/Core/Controller/TwoFactorChallengeControllerTest.php1
-rw-r--r--tests/Core/Controller/UserControllerTest.php1
-rw-r--r--tests/Core/Controller/WellKnownControllerTest.php1
-rw-r--r--tests/Core/Controller/WipeControllerTest.php1
-rw-r--r--tests/Core/Middleware/TwoFactorMiddlewareTest.php1
35 files changed, 0 insertions, 37 deletions
diff --git a/tests/Core/Command/Apps/AppsDisableTest.php b/tests/Core/Command/Apps/AppsDisableTest.php
index 493dfc16f3e..8995ee2673f 100644
--- a/tests/Core/Command/Apps/AppsDisableTest.php
+++ b/tests/Core/Command/Apps/AppsDisableTest.php
@@ -33,7 +33,6 @@ use Test\TestCase;
* @group DB
*/
class AppsDisableTest extends TestCase {
-
/** @var CommandTester */
private $commandTester;
diff --git a/tests/Core/Command/Apps/AppsEnableTest.php b/tests/Core/Command/Apps/AppsEnableTest.php
index 0c45362d997..02bf86cfd43 100644
--- a/tests/Core/Command/Apps/AppsEnableTest.php
+++ b/tests/Core/Command/Apps/AppsEnableTest.php
@@ -33,7 +33,6 @@ use Test\TestCase;
* @group DB
*/
class AppsEnableTest extends TestCase {
-
/** @var CommandTester */
private $commandTester;
diff --git a/tests/Core/Command/Encryption/ChangeKeyStorageRootTest.php b/tests/Core/Command/Encryption/ChangeKeyStorageRootTest.php
index fc916ad4099..1d5e2ac420d 100644
--- a/tests/Core/Command/Encryption/ChangeKeyStorageRootTest.php
+++ b/tests/Core/Command/Encryption/ChangeKeyStorageRootTest.php
@@ -34,7 +34,6 @@ use Symfony\Component\Console\Output\OutputInterface;
use Test\TestCase;
class ChangeKeyStorageRootTest extends TestCase {
-
/** @var ChangeKeyStorageRoot */
protected $changeKeyStorageRoot;
@@ -147,7 +146,6 @@ class ChangeKeyStorageRootTest extends TestCase {
}
public function testMoveAllKeys() {
-
/** @var \OC\Core\Command\Encryption\ChangeKeyStorageRoot $changeKeyStorageRoot */
$changeKeyStorageRoot = $this->getMockBuilder('OC\Core\Command\Encryption\ChangeKeyStorageRoot')
->setConstructorArgs(
diff --git a/tests/Core/Command/Encryption/DecryptAllTest.php b/tests/Core/Command/Encryption/DecryptAllTest.php
index 12ace5fe371..c78500fd9d8 100644
--- a/tests/Core/Command/Encryption/DecryptAllTest.php
+++ b/tests/Core/Command/Encryption/DecryptAllTest.php
@@ -31,7 +31,6 @@ use Symfony\Component\Console\Output\OutputInterface;
use Test\TestCase;
class DecryptAllTest extends TestCase {
-
/** @var \PHPUnit\Framework\MockObject\MockObject | \OCP\IConfig */
protected $config;
@@ -86,7 +85,6 @@ class DecryptAllTest extends TestCase {
}
public function testMaintenanceAndTrashbin() {
-
// on construct we enable single-user-mode and disable the trash bin
$this->config->expects($this->at(1))
->method('setSystemValue')
diff --git a/tests/Core/Command/Encryption/EncryptAllTest.php b/tests/Core/Command/Encryption/EncryptAllTest.php
index 68cd4971e4f..1190a98843f 100644
--- a/tests/Core/Command/Encryption/EncryptAllTest.php
+++ b/tests/Core/Command/Encryption/EncryptAllTest.php
@@ -32,7 +32,6 @@ use Symfony\Component\Console\Output\OutputInterface;
use Test\TestCase;
class EncryptAllTest extends TestCase {
-
/** @var \PHPUnit\Framework\MockObject\MockObject | \OCP\IConfig */
protected $config;
diff --git a/tests/Core/Command/Group/AddTest.php b/tests/Core/Command/Group/AddTest.php
index 65806fa538b..bfddee468a4 100644
--- a/tests/Core/Command/Group/AddTest.php
+++ b/tests/Core/Command/Group/AddTest.php
@@ -31,7 +31,6 @@ use Symfony\Component\Console\Output\OutputInterface;
use Test\TestCase;
class AddTest extends TestCase {
-
/** @var IGroupManager|\PHPUnit\Framework\MockObject\MockObject */
private $groupManager;
diff --git a/tests/Core/Command/Group/AddUserTest.php b/tests/Core/Command/Group/AddUserTest.php
index d9471956dfd..c885365f8c6 100644
--- a/tests/Core/Command/Group/AddUserTest.php
+++ b/tests/Core/Command/Group/AddUserTest.php
@@ -33,7 +33,6 @@ use Symfony\Component\Console\Output\OutputInterface;
use Test\TestCase;
class AddUserTest extends TestCase {
-
/** @var IGroupManager|\PHPUnit\Framework\MockObject\MockObject */
private $groupManager;
diff --git a/tests/Core/Command/Group/DeleteTest.php b/tests/Core/Command/Group/DeleteTest.php
index 3b29fb4e6ad..393f33aea98 100644
--- a/tests/Core/Command/Group/DeleteTest.php
+++ b/tests/Core/Command/Group/DeleteTest.php
@@ -31,7 +31,6 @@ use Symfony\Component\Console\Output\OutputInterface;
use Test\TestCase;
class DeleteTest extends TestCase {
-
/** @var IGroupManager|\PHPUnit\Framework\MockObject\MockObject */
private $groupManager;
diff --git a/tests/Core/Command/Group/InfoTest.php b/tests/Core/Command/Group/InfoTest.php
index fc98cf647c7..3f1cc359799 100644
--- a/tests/Core/Command/Group/InfoTest.php
+++ b/tests/Core/Command/Group/InfoTest.php
@@ -31,7 +31,6 @@ use Symfony\Component\Console\Output\OutputInterface;
use Test\TestCase;
class InfoTest extends TestCase {
-
/** @var IGroupManager|\PHPUnit\Framework\MockObject\MockObject */
private $groupManager;
diff --git a/tests/Core/Command/Group/ListCommandTest.php b/tests/Core/Command/Group/ListCommandTest.php
index ed454a796a6..f8e750bbe65 100644
--- a/tests/Core/Command/Group/ListCommandTest.php
+++ b/tests/Core/Command/Group/ListCommandTest.php
@@ -32,7 +32,6 @@ use Symfony\Component\Console\Output\OutputInterface;
use Test\TestCase;
class ListCommandTest extends TestCase {
-
/** @var IGroupManager|\PHPUnit\Framework\MockObject\MockObject */
private $groupManager;
diff --git a/tests/Core/Command/Group/RemoveUserTest.php b/tests/Core/Command/Group/RemoveUserTest.php
index 495046402a8..470d5965333 100644
--- a/tests/Core/Command/Group/RemoveUserTest.php
+++ b/tests/Core/Command/Group/RemoveUserTest.php
@@ -33,7 +33,6 @@ use Symfony\Component\Console\Output\OutputInterface;
use Test\TestCase;
class RemoveUserTest extends TestCase {
-
/** @var IGroupManager|\PHPUnit\Framework\MockObject\MockObject */
private $groupManager;
diff --git a/tests/Core/Command/SystemTag/AddTest.php b/tests/Core/Command/SystemTag/AddTest.php
index c875c8f3ec3..93a79e1e1a9 100644
--- a/tests/Core/Command/SystemTag/AddTest.php
+++ b/tests/Core/Command/SystemTag/AddTest.php
@@ -32,7 +32,6 @@ use Symfony\Component\Console\Output\OutputInterface;
use Test\TestCase;
class AddTest extends TestCase {
-
/** @var ISystemTagManager|\PHPUnit\Framework\MockObject\MockObject */
private $systemTagManager;
diff --git a/tests/Core/Command/SystemTag/DeleteTest.php b/tests/Core/Command/SystemTag/DeleteTest.php
index 138606049ee..16c0c9e7b04 100644
--- a/tests/Core/Command/SystemTag/DeleteTest.php
+++ b/tests/Core/Command/SystemTag/DeleteTest.php
@@ -31,7 +31,6 @@ use Symfony\Component\Console\Output\OutputInterface;
use Test\TestCase;
class DeleteTest extends TestCase {
-
/** @var ISystemTagManager|\PHPUnit\Framework\MockObject\MockObject */
private $systemTagManager;
diff --git a/tests/Core/Command/SystemTag/EditTest.php b/tests/Core/Command/SystemTag/EditTest.php
index 7794ac5aefd..a5340cf6b53 100644
--- a/tests/Core/Command/SystemTag/EditTest.php
+++ b/tests/Core/Command/SystemTag/EditTest.php
@@ -32,7 +32,6 @@ use Symfony\Component\Console\Output\OutputInterface;
use Test\TestCase;
class EditTest extends TestCase {
-
/** @var ISystemTagManager|\PHPUnit\Framework\MockObject\MockObject */
private $systemTagManager;
diff --git a/tests/Core/Command/SystemTag/ListCommandTest.php b/tests/Core/Command/SystemTag/ListCommandTest.php
index 2e2fba1017f..6488e130947 100644
--- a/tests/Core/Command/SystemTag/ListCommandTest.php
+++ b/tests/Core/Command/SystemTag/ListCommandTest.php
@@ -31,7 +31,6 @@ use Symfony\Component\Console\Output\OutputInterface;
use Test\TestCase;
class ListCommandTest extends TestCase {
-
/** @var ISystemTagManager|\PHPUnit\Framework\MockObject\MockObject */
private $systemTagManager;
diff --git a/tests/Core/Command/TwoFactorAuth/CleanupTest.php b/tests/Core/Command/TwoFactorAuth/CleanupTest.php
index 75e869ad06f..b23e9c9b4c4 100644
--- a/tests/Core/Command/TwoFactorAuth/CleanupTest.php
+++ b/tests/Core/Command/TwoFactorAuth/CleanupTest.php
@@ -33,7 +33,6 @@ use Symfony\Component\Console\Tester\CommandTester;
use Test\TestCase;
class CleanupTest extends TestCase {
-
/** @var IRegistry|MockObject */
private $registry;
diff --git a/tests/Core/Command/TwoFactorAuth/DisableTest.php b/tests/Core/Command/TwoFactorAuth/DisableTest.php
index 5accaccb907..35b810c637f 100644
--- a/tests/Core/Command/TwoFactorAuth/DisableTest.php
+++ b/tests/Core/Command/TwoFactorAuth/DisableTest.php
@@ -35,7 +35,6 @@ use Symfony\Component\Console\Tester\CommandTester;
use Test\TestCase;
class DisableTest extends TestCase {
-
/** @var ProviderManager|MockObject */
private $providerManager;
diff --git a/tests/Core/Command/TwoFactorAuth/EnableTest.php b/tests/Core/Command/TwoFactorAuth/EnableTest.php
index fc71cc32148..0e26bcb9578 100644
--- a/tests/Core/Command/TwoFactorAuth/EnableTest.php
+++ b/tests/Core/Command/TwoFactorAuth/EnableTest.php
@@ -35,7 +35,6 @@ use Symfony\Component\Console\Tester\CommandTester;
use Test\TestCase;
class EnableTest extends TestCase {
-
/** @var ProviderManager|MockObject */
private $providerManager;
diff --git a/tests/Core/Command/TwoFactorAuth/EnforceTest.php b/tests/Core/Command/TwoFactorAuth/EnforceTest.php
index ed3deaa3fb3..194e16e8699 100644
--- a/tests/Core/Command/TwoFactorAuth/EnforceTest.php
+++ b/tests/Core/Command/TwoFactorAuth/EnforceTest.php
@@ -34,7 +34,6 @@ use Symfony\Component\Console\Tester\CommandTester;
use Test\TestCase;
class EnforceTest extends TestCase {
-
/** @var MandatoryTwoFactor|MockObject */
private $mandatoryTwoFactor;
diff --git a/tests/Core/Command/TwoFactorAuth/StateTest.php b/tests/Core/Command/TwoFactorAuth/StateTest.php
index 54ab85b51b8..bc683c11886 100644
--- a/tests/Core/Command/TwoFactorAuth/StateTest.php
+++ b/tests/Core/Command/TwoFactorAuth/StateTest.php
@@ -35,7 +35,6 @@ use Symfony\Component\Console\Tester\CommandTester;
use Test\TestCase;
class StateTest extends TestCase {
-
/** @var IRegistry|MockObject */
private $registry;
diff --git a/tests/Core/Controller/AppPasswordControllerTest.php b/tests/Core/Controller/AppPasswordControllerTest.php
index 7d81e0ec115..47220fcf5ab 100644
--- a/tests/Core/Controller/AppPasswordControllerTest.php
+++ b/tests/Core/Controller/AppPasswordControllerTest.php
@@ -43,7 +43,6 @@ use PHPUnit\Framework\MockObject\MockObject;
use Test\TestCase;
class AppPasswordControllerTest extends TestCase {
-
/** @var ISession|MockObject */
private $session;
diff --git a/tests/Core/Controller/CSRFTokenControllerTest.php b/tests/Core/Controller/CSRFTokenControllerTest.php
index 875d5a79168..ba01675e978 100644
--- a/tests/Core/Controller/CSRFTokenControllerTest.php
+++ b/tests/Core/Controller/CSRFTokenControllerTest.php
@@ -33,7 +33,6 @@ use OCP\IRequest;
use Test\TestCase;
class CSRFTokenControllerTest extends TestCase {
-
/** @var CSRFTokenController */
private $controller;
diff --git a/tests/Core/Controller/ClientFlowLoginV2ControllerTest.php b/tests/Core/Controller/ClientFlowLoginV2ControllerTest.php
index 53d5f392ac6..2f5cc507378 100644
--- a/tests/Core/Controller/ClientFlowLoginV2ControllerTest.php
+++ b/tests/Core/Controller/ClientFlowLoginV2ControllerTest.php
@@ -43,7 +43,6 @@ use PHPUnit\Framework\MockObject\MockObject;
use Test\TestCase;
class ClientFlowLoginV2ControllerTest extends TestCase {
-
/** @var IRequest|MockObject */
private $request;
/** @var LoginFlowV2Service|MockObject */
diff --git a/tests/Core/Controller/ContactsMenuControllerTest.php b/tests/Core/Controller/ContactsMenuControllerTest.php
index 0bed7b8e7a1..f51bab0f006 100644
--- a/tests/Core/Controller/ContactsMenuControllerTest.php
+++ b/tests/Core/Controller/ContactsMenuControllerTest.php
@@ -34,7 +34,6 @@ use PHPUnit\Framework\MockObject\MockObject;
use Test\TestCase;
class ContactsMenuControllerTest extends TestCase {
-
/** @var IUserSession|MockObject */
private $userSession;
diff --git a/tests/Core/Controller/CssControllerTest.php b/tests/Core/Controller/CssControllerTest.php
index d2a791ec1b0..9659d76a7cb 100644
--- a/tests/Core/Controller/CssControllerTest.php
+++ b/tests/Core/Controller/CssControllerTest.php
@@ -38,7 +38,6 @@ use OCP\IRequest;
use Test\TestCase;
class CssControllerTest extends TestCase {
-
/** @var IAppData|\PHPUnit\Framework\MockObject\MockObject */
private $appData;
diff --git a/tests/Core/Controller/GuestAvatarControllerTest.php b/tests/Core/Controller/GuestAvatarControllerTest.php
index 8688f531519..42a00e1618c 100644
--- a/tests/Core/Controller/GuestAvatarControllerTest.php
+++ b/tests/Core/Controller/GuestAvatarControllerTest.php
@@ -14,7 +14,6 @@ use Psr\Log\LoggerInterface;
* This class provides tests for the guest avatar controller.
*/
class GuestAvatarControllerTest extends \Test\TestCase {
-
/**
* @var GuestAvatarController
*/
diff --git a/tests/Core/Controller/JsControllerTest.php b/tests/Core/Controller/JsControllerTest.php
index 3f76e19efc9..6561d22f264 100644
--- a/tests/Core/Controller/JsControllerTest.php
+++ b/tests/Core/Controller/JsControllerTest.php
@@ -38,7 +38,6 @@ use OCP\IRequest;
use Test\TestCase;
class JsControllerTest extends TestCase {
-
/** @var IAppData|\PHPUnit\Framework\MockObject\MockObject */
private $appData;
diff --git a/tests/Core/Controller/LoginControllerTest.php b/tests/Core/Controller/LoginControllerTest.php
index 2c8aedf99c4..c97ed53d331 100644
--- a/tests/Core/Controller/LoginControllerTest.php
+++ b/tests/Core/Controller/LoginControllerTest.php
@@ -47,7 +47,6 @@ use PHPUnit\Framework\MockObject\MockObject;
use Test\TestCase;
class LoginControllerTest extends TestCase {
-
/** @var LoginController */
private $loginController;
diff --git a/tests/Core/Controller/NavigationControllerTest.php b/tests/Core/Controller/NavigationControllerTest.php
index e98d0e8ed40..39f389faa5e 100644
--- a/tests/Core/Controller/NavigationControllerTest.php
+++ b/tests/Core/Controller/NavigationControllerTest.php
@@ -32,7 +32,6 @@ use OCP\IURLGenerator;
use Test\TestCase;
class NavigationControllerTest extends TestCase {
-
/** @var IRequest|\PHPUnit\Framework\MockObject\MockObject */
private $request;
diff --git a/tests/Core/Controller/PreviewControllerTest.php b/tests/Core/Controller/PreviewControllerTest.php
index e6045386538..7815505d5a8 100644
--- a/tests/Core/Controller/PreviewControllerTest.php
+++ b/tests/Core/Controller/PreviewControllerTest.php
@@ -37,7 +37,6 @@ use OCP\IPreview;
use OCP\IRequest;
class PreviewControllerTest extends \Test\TestCase {
-
/** @var IRootFolder|\PHPUnit\Framework\MockObject\MockObject */
private $rootFolder;
diff --git a/tests/Core/Controller/TwoFactorChallengeControllerTest.php b/tests/Core/Controller/TwoFactorChallengeControllerTest.php
index 94bb959fbbc..27b0f476b61 100644
--- a/tests/Core/Controller/TwoFactorChallengeControllerTest.php
+++ b/tests/Core/Controller/TwoFactorChallengeControllerTest.php
@@ -41,7 +41,6 @@ use Psr\Log\LoggerInterface;
use Test\TestCase;
class TwoFactorChallengeControllerTest extends TestCase {
-
/** @var IRequest|\PHPUnit\Framework\MockObject\MockObject */
private $request;
diff --git a/tests/Core/Controller/UserControllerTest.php b/tests/Core/Controller/UserControllerTest.php
index 8b9c11ad4b1..b7b6e0c69f6 100644
--- a/tests/Core/Controller/UserControllerTest.php
+++ b/tests/Core/Controller/UserControllerTest.php
@@ -31,7 +31,6 @@ use OCP\IUserManager;
use Test\TestCase;
class UserControllerTest extends TestCase {
-
/** @var IUserManager|\PHPUnit\Framework\MockObject\MockObject */
private $userManager;
diff --git a/tests/Core/Controller/WellKnownControllerTest.php b/tests/Core/Controller/WellKnownControllerTest.php
index 2a35ed5ac85..08af2a214ae 100644
--- a/tests/Core/Controller/WellKnownControllerTest.php
+++ b/tests/Core/Controller/WellKnownControllerTest.php
@@ -34,7 +34,6 @@ use PHPUnit\Framework\MockObject\MockObject;
use Test\TestCase;
class WellKnownControllerTest extends TestCase {
-
/** @var IRequest|MockObject */
private $request;
diff --git a/tests/Core/Controller/WipeControllerTest.php b/tests/Core/Controller/WipeControllerTest.php
index 298d11848b8..5c06a867b79 100644
--- a/tests/Core/Controller/WipeControllerTest.php
+++ b/tests/Core/Controller/WipeControllerTest.php
@@ -34,7 +34,6 @@ use PHPUnit\Framework\MockObject\MockObject;
use Test\TestCase;
class WipeControllerTest extends TestCase {
-
/** @var RemoteWipe|MockObject */
private $remoteWipe;
diff --git a/tests/Core/Middleware/TwoFactorMiddlewareTest.php b/tests/Core/Middleware/TwoFactorMiddlewareTest.php
index c5de9f81fe5..fe1b53e3fa5 100644
--- a/tests/Core/Middleware/TwoFactorMiddlewareTest.php
+++ b/tests/Core/Middleware/TwoFactorMiddlewareTest.php
@@ -46,7 +46,6 @@ use PHPUnit\Framework\MockObject\MockObject;
use Test\TestCase;
class TwoFactorMiddlewareTest extends TestCase {
-
/** @var Manager|MockObject */
private $twoFactorManager;