Migrate to PSR1 coding style
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
This commit is contained in:
parent
bbba7bc45a
commit
c4998efcfc
|
@ -75,7 +75,7 @@ class WebAuthnController extends Controller {
|
||||||
Util::emitHook(
|
Util::emitHook(
|
||||||
'\OCA\Files_Sharing\API\Server2Server',
|
'\OCA\Files_Sharing\API\Server2Server',
|
||||||
'preLoginNameUsedAsUserName',
|
'preLoginNameUsedAsUserName',
|
||||||
array('uid' => &$uid)
|
['uid' => &$uid]
|
||||||
);
|
);
|
||||||
$this->logger->debug('Got UID: ' . $uid);
|
$this->logger->debug('Got UID: ' . $uid);
|
||||||
|
|
||||||
|
|
|
@ -27,11 +27,9 @@ namespace OC\Authentication\Login;
|
||||||
|
|
||||||
use OC\Authentication\Events\LoginFailed;
|
use OC\Authentication\Events\LoginFailed;
|
||||||
use OC\Core\Controller\LoginController;
|
use OC\Core\Controller\LoginController;
|
||||||
use OCP\Authentication\Events\LoginFailedEvent;
|
|
||||||
use OCP\EventDispatcher\IEventDispatcher;
|
use OCP\EventDispatcher\IEventDispatcher;
|
||||||
use OCP\ILogger;
|
use OCP\ILogger;
|
||||||
use OCP\IUserManager;
|
use OCP\IUserManager;
|
||||||
use OCP\Util;
|
|
||||||
|
|
||||||
class LoggedInCheckCommand extends ALoginCommand {
|
class LoggedInCheckCommand extends ALoginCommand {
|
||||||
|
|
||||||
|
|
|
@ -27,7 +27,6 @@ namespace OC\Authentication\WebAuthn\Db;
|
||||||
use JsonSerializable;
|
use JsonSerializable;
|
||||||
use OCP\AppFramework\Db\Entity;
|
use OCP\AppFramework\Db\Entity;
|
||||||
use Webauthn\PublicKeyCredentialSource;
|
use Webauthn\PublicKeyCredentialSource;
|
||||||
use Webauthn\TrustPath\TrustPathLoader;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @since 19.0.0
|
* @since 19.0.0
|
||||||
|
|
|
@ -49,7 +49,6 @@ use Webauthn\PublicKeyCredentialLoader;
|
||||||
use Webauthn\PublicKeyCredentialParameters;
|
use Webauthn\PublicKeyCredentialParameters;
|
||||||
use Webauthn\PublicKeyCredentialRequestOptions;
|
use Webauthn\PublicKeyCredentialRequestOptions;
|
||||||
use Webauthn\PublicKeyCredentialRpEntity;
|
use Webauthn\PublicKeyCredentialRpEntity;
|
||||||
use Webauthn\PublicKeyCredentialSource;
|
|
||||||
use Webauthn\PublicKeyCredentialUserEntity;
|
use Webauthn\PublicKeyCredentialUserEntity;
|
||||||
use Webauthn\TokenBinding\TokenBindingNotSupportedHandler;
|
use Webauthn\TokenBinding\TokenBindingNotSupportedHandler;
|
||||||
|
|
||||||
|
|
|
@ -51,7 +51,6 @@ use OC_User;
|
||||||
use OC_Util;
|
use OC_Util;
|
||||||
use OCA\DAV\Connector\Sabre\Auth;
|
use OCA\DAV\Connector\Sabre\Auth;
|
||||||
use OCP\AppFramework\Utility\ITimeFactory;
|
use OCP\AppFramework\Utility\ITimeFactory;
|
||||||
use OCP\Authentication\Events\LoginFailedEvent;
|
|
||||||
use OCP\EventDispatcher\IEventDispatcher;
|
use OCP\EventDispatcher\IEventDispatcher;
|
||||||
use OCP\Files\NotPermittedException;
|
use OCP\Files\NotPermittedException;
|
||||||
use OCP\IConfig;
|
use OCP\IConfig;
|
||||||
|
@ -59,7 +58,6 @@ use OCP\ILogger;
|
||||||
use OCP\IRequest;
|
use OCP\IRequest;
|
||||||
use OCP\ISession;
|
use OCP\ISession;
|
||||||
use OCP\IUser;
|
use OCP\IUser;
|
||||||
use OCP\IUserManager;
|
|
||||||
use OCP\IUserSession;
|
use OCP\IUserSession;
|
||||||
use OCP\Lockdown\ILockdownManager;
|
use OCP\Lockdown\ILockdownManager;
|
||||||
use OCP\Security\ISecureRandom;
|
use OCP\Security\ISecureRandom;
|
||||||
|
|
|
@ -44,7 +44,6 @@
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
use OCP\IUser;
|
|
||||||
use Symfony\Component\Process\ExecutableFinder;
|
use Symfony\Component\Process\ExecutableFinder;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -27,7 +27,6 @@ declare(strict_types=1);
|
||||||
namespace OCP\User\Events;
|
namespace OCP\User\Events;
|
||||||
|
|
||||||
use OCP\EventDispatcher\Event;
|
use OCP\EventDispatcher\Event;
|
||||||
use OCP\IUser;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @since 18.0.0
|
* @since 18.0.0
|
||||||
|
|
|
@ -25,7 +25,6 @@ declare(strict_types=1);
|
||||||
|
|
||||||
namespace lib\Authentication\Login;
|
namespace lib\Authentication\Login;
|
||||||
|
|
||||||
use Hoa\Iterator\Mock;
|
|
||||||
use OC\Authentication\Login\LoggedInCheckCommand;
|
use OC\Authentication\Login\LoggedInCheckCommand;
|
||||||
use OC\Core\Controller\LoginController;
|
use OC\Core\Controller\LoginController;
|
||||||
use OCP\EventDispatcher\IEventDispatcher;
|
use OCP\EventDispatcher\IEventDispatcher;
|
||||||
|
|
Loading…
Reference in New Issue