aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@winzerhof-wurst.at>2020-04-08 21:56:56 +0200
committerChristoph Wurst <christoph@winzerhof-wurst.at>2020-04-08 21:58:05 +0200
commitc4998efcfc5c36780079cf662d68bd0444197e2e (patch)
treec0c71eec9db0ac66324ebe0f54cd0cf9cb8dbe46 /lib/private
parentbbba7bc45acdbfb7d69edf7998db2cd8871682bd (diff)
downloadnextcloud-server-c4998efcfc5c36780079cf662d68bd0444197e2e.tar.gz
nextcloud-server-c4998efcfc5c36780079cf662d68bd0444197e2e.zip
Migrate to PSR1 coding style
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'lib/private')
-rw-r--r--lib/private/Authentication/Login/LoggedInCheckCommand.php2
-rw-r--r--lib/private/Authentication/WebAuthn/Db/PublicKeyCredentialEntity.php1
-rw-r--r--lib/private/Authentication/WebAuthn/Manager.php1
-rw-r--r--lib/private/User/Session.php2
-rw-r--r--lib/private/legacy/OC_Helper.php1
5 files changed, 0 insertions, 7 deletions
diff --git a/lib/private/Authentication/Login/LoggedInCheckCommand.php b/lib/private/Authentication/Login/LoggedInCheckCommand.php
index 78f27bfa937..5701f2970a8 100644
--- a/lib/private/Authentication/Login/LoggedInCheckCommand.php
+++ b/lib/private/Authentication/Login/LoggedInCheckCommand.php
@@ -27,11 +27,9 @@ namespace OC\Authentication\Login;
use OC\Authentication\Events\LoginFailed;
use OC\Core\Controller\LoginController;
-use OCP\Authentication\Events\LoginFailedEvent;
use OCP\EventDispatcher\IEventDispatcher;
use OCP\ILogger;
use OCP\IUserManager;
-use OCP\Util;
class LoggedInCheckCommand extends ALoginCommand {
diff --git a/lib/private/Authentication/WebAuthn/Db/PublicKeyCredentialEntity.php b/lib/private/Authentication/WebAuthn/Db/PublicKeyCredentialEntity.php
index 3b0413aef00..cd5da83805a 100644
--- a/lib/private/Authentication/WebAuthn/Db/PublicKeyCredentialEntity.php
+++ b/lib/private/Authentication/WebAuthn/Db/PublicKeyCredentialEntity.php
@@ -27,7 +27,6 @@ namespace OC\Authentication\WebAuthn\Db;
use JsonSerializable;
use OCP\AppFramework\Db\Entity;
use Webauthn\PublicKeyCredentialSource;
-use Webauthn\TrustPath\TrustPathLoader;
/**
* @since 19.0.0
diff --git a/lib/private/Authentication/WebAuthn/Manager.php b/lib/private/Authentication/WebAuthn/Manager.php
index 32a90345b5c..180eb1543b2 100644
--- a/lib/private/Authentication/WebAuthn/Manager.php
+++ b/lib/private/Authentication/WebAuthn/Manager.php
@@ -49,7 +49,6 @@ use Webauthn\PublicKeyCredentialLoader;
use Webauthn\PublicKeyCredentialParameters;
use Webauthn\PublicKeyCredentialRequestOptions;
use Webauthn\PublicKeyCredentialRpEntity;
-use Webauthn\PublicKeyCredentialSource;
use Webauthn\PublicKeyCredentialUserEntity;
use Webauthn\TokenBinding\TokenBindingNotSupportedHandler;
diff --git a/lib/private/User/Session.php b/lib/private/User/Session.php
index 9129fb7054b..ca0c7263f7b 100644
--- a/lib/private/User/Session.php
+++ b/lib/private/User/Session.php
@@ -51,7 +51,6 @@ use OC_User;
use OC_Util;
use OCA\DAV\Connector\Sabre\Auth;
use OCP\AppFramework\Utility\ITimeFactory;
-use OCP\Authentication\Events\LoginFailedEvent;
use OCP\EventDispatcher\IEventDispatcher;
use OCP\Files\NotPermittedException;
use OCP\IConfig;
@@ -59,7 +58,6 @@ use OCP\ILogger;
use OCP\IRequest;
use OCP\ISession;
use OCP\IUser;
-use OCP\IUserManager;
use OCP\IUserSession;
use OCP\Lockdown\ILockdownManager;
use OCP\Security\ISecureRandom;
diff --git a/lib/private/legacy/OC_Helper.php b/lib/private/legacy/OC_Helper.php
index 626295af5a9..7cb6e228b5d 100644
--- a/lib/private/legacy/OC_Helper.php
+++ b/lib/private/legacy/OC_Helper.php
@@ -44,7 +44,6 @@
*
*/
-use OCP\IUser;
use Symfony\Component\Process\ExecutableFinder;
/**