From 5620fa08eb8bb15cb23441a154d3a76f615312c8 Mon Sep 17 00:00:00 2001 From: Hossein Azizabadi Farahani Date: Tue, 26 Nov 2024 16:26:21 +0330 Subject: [PATCH] reformat codes --- .../Api/Authentication/Email/RequestHandlerFactory.php | 4 ++-- .../Api/Authentication/Email/VerifyHandlerFactory.php | 4 ++-- .../Api/Authentication/Mfa/RequestHandlerFactory.php | 4 ++-- .../Handler/Api/Authentication/Mfa/VerifyHandlerFactory.php | 4 ++-- .../Api/Authentication/Oauth/Oauth2HandlerFactory.php | 6 +++--- .../Api/Authentication/Oauth/SettingHandlerFactory.php | 4 ++-- src/Factory/Handler/Api/Avatar/UploadHandlerFactory.php | 6 +++--- .../Handler/Api/Captcha/ReCaptcha/VerifyHandlerFactory.php | 2 +- src/Factory/Handler/Api/Password/UpdateHandlerFactory.php | 6 +++--- src/Factory/Handler/Api/Profile/UpdateHandlerFactory.php | 6 +++--- src/Factory/Handler/Api/Profile/ViewHandlerFactory.php | 6 +++--- 11 files changed, 26 insertions(+), 26 deletions(-) diff --git a/src/Factory/Handler/Api/Authentication/Email/RequestHandlerFactory.php b/src/Factory/Handler/Api/Authentication/Email/RequestHandlerFactory.php index 5867b31..6fad398 100644 --- a/src/Factory/Handler/Api/Authentication/Email/RequestHandlerFactory.php +++ b/src/Factory/Handler/Api/Authentication/Email/RequestHandlerFactory.php @@ -3,13 +3,13 @@ namespace Pi\User\Factory\Handler\Api\Authentication\Email; use Laminas\ServiceManager\Factory\FactoryInterface; +use Pi\User\Handler\Api\Authentication\Email\RequestHandler; +use Pi\User\Service\AccountService; use Psr\Container\ContainerExceptionInterface; use Psr\Container\ContainerInterface; use Psr\Container\NotFoundExceptionInterface; use Psr\Http\Message\ResponseFactoryInterface; use Psr\Http\Message\StreamFactoryInterface; -use Pi\User\Handler\Api\Authentication\Email\RequestHandler; -use Pi\User\Service\AccountService; class RequestHandlerFactory implements FactoryInterface { diff --git a/src/Factory/Handler/Api/Authentication/Email/VerifyHandlerFactory.php b/src/Factory/Handler/Api/Authentication/Email/VerifyHandlerFactory.php index 1919c3b..2c26afb 100644 --- a/src/Factory/Handler/Api/Authentication/Email/VerifyHandlerFactory.php +++ b/src/Factory/Handler/Api/Authentication/Email/VerifyHandlerFactory.php @@ -3,13 +3,13 @@ namespace Pi\User\Factory\Handler\Api\Authentication\Email; use Laminas\ServiceManager\Factory\FactoryInterface; +use Pi\User\Handler\Api\Authentication\Email\VerifyHandler; +use Pi\User\Service\AccountService; use Psr\Container\ContainerExceptionInterface; use Psr\Container\ContainerInterface; use Psr\Container\NotFoundExceptionInterface; use Psr\Http\Message\ResponseFactoryInterface; use Psr\Http\Message\StreamFactoryInterface; -use Pi\User\Handler\Api\Authentication\Email\VerifyHandler; -use Pi\User\Service\AccountService; class VerifyHandlerFactory implements FactoryInterface { diff --git a/src/Factory/Handler/Api/Authentication/Mfa/RequestHandlerFactory.php b/src/Factory/Handler/Api/Authentication/Mfa/RequestHandlerFactory.php index 3b3db59..f67034a 100644 --- a/src/Factory/Handler/Api/Authentication/Mfa/RequestHandlerFactory.php +++ b/src/Factory/Handler/Api/Authentication/Mfa/RequestHandlerFactory.php @@ -3,13 +3,13 @@ namespace Pi\User\Factory\Handler\Api\Authentication\Mfa; use Laminas\ServiceManager\Factory\FactoryInterface; +use Pi\User\Handler\Api\Authentication\Mfa\RequestHandler; +use Pi\User\Service\AccountService; use Psr\Container\ContainerExceptionInterface; use Psr\Container\ContainerInterface; use Psr\Container\NotFoundExceptionInterface; use Psr\Http\Message\ResponseFactoryInterface; use Psr\Http\Message\StreamFactoryInterface; -use Pi\User\Handler\Api\Authentication\Mfa\RequestHandler; -use Pi\User\Service\AccountService; class RequestHandlerFactory implements FactoryInterface { diff --git a/src/Factory/Handler/Api/Authentication/Mfa/VerifyHandlerFactory.php b/src/Factory/Handler/Api/Authentication/Mfa/VerifyHandlerFactory.php index 49a068b..40705b4 100644 --- a/src/Factory/Handler/Api/Authentication/Mfa/VerifyHandlerFactory.php +++ b/src/Factory/Handler/Api/Authentication/Mfa/VerifyHandlerFactory.php @@ -3,13 +3,13 @@ namespace Pi\User\Factory\Handler\Api\Authentication\Mfa; use Laminas\ServiceManager\Factory\FactoryInterface; +use Pi\User\Handler\Api\Authentication\Mfa\VerifyHandler; +use Pi\User\Service\AccountService; use Psr\Container\ContainerExceptionInterface; use Psr\Container\ContainerInterface; use Psr\Container\NotFoundExceptionInterface; use Psr\Http\Message\ResponseFactoryInterface; use Psr\Http\Message\StreamFactoryInterface; -use Pi\User\Handler\Api\Authentication\Mfa\VerifyHandler; -use Pi\User\Service\AccountService; class VerifyHandlerFactory implements FactoryInterface { diff --git a/src/Factory/Handler/Api/Authentication/Oauth/Oauth2HandlerFactory.php b/src/Factory/Handler/Api/Authentication/Oauth/Oauth2HandlerFactory.php index 2a5e9dd..45f6285 100644 --- a/src/Factory/Handler/Api/Authentication/Oauth/Oauth2HandlerFactory.php +++ b/src/Factory/Handler/Api/Authentication/Oauth/Oauth2HandlerFactory.php @@ -3,14 +3,14 @@ namespace Pi\User\Factory\Handler\Api\Authentication\Oauth; use Laminas\ServiceManager\Factory\FactoryInterface; +use Pi\User\Handler\Api\Authentication\Oauth\MicrosoftHandler; +use Pi\User\Handler\Api\Authentication\Oauth\Oauth2Handler; +use Pi\User\Service\AccountService; use Psr\Container\ContainerExceptionInterface; use Psr\Container\ContainerInterface; use Psr\Container\NotFoundExceptionInterface; use Psr\Http\Message\ResponseFactoryInterface; use Psr\Http\Message\StreamFactoryInterface; -use Pi\User\Handler\Api\Authentication\Oauth\MicrosoftHandler; -use Pi\User\Handler\Api\Authentication\Oauth\Oauth2Handler; -use Pi\User\Service\AccountService; class Oauth2HandlerFactory implements FactoryInterface { diff --git a/src/Factory/Handler/Api/Authentication/Oauth/SettingHandlerFactory.php b/src/Factory/Handler/Api/Authentication/Oauth/SettingHandlerFactory.php index 2132dcc..61f7fa1 100644 --- a/src/Factory/Handler/Api/Authentication/Oauth/SettingHandlerFactory.php +++ b/src/Factory/Handler/Api/Authentication/Oauth/SettingHandlerFactory.php @@ -3,13 +3,13 @@ namespace Pi\User\Factory\Handler\Api\Authentication\Oauth; use Laminas\ServiceManager\Factory\FactoryInterface; +use Pi\User\Handler\Api\Authentication\Oauth\SettingHandler; +use Pi\User\Service\AccountService; use Psr\Container\ContainerExceptionInterface; use Psr\Container\ContainerInterface; use Psr\Container\NotFoundExceptionInterface; use Psr\Http\Message\ResponseFactoryInterface; use Psr\Http\Message\StreamFactoryInterface; -use Pi\User\Handler\Api\Authentication\Oauth\SettingHandler; -use Pi\User\Service\AccountService; class SettingHandlerFactory implements FactoryInterface { diff --git a/src/Factory/Handler/Api/Avatar/UploadHandlerFactory.php b/src/Factory/Handler/Api/Avatar/UploadHandlerFactory.php index 21f3bd8..036c9ea 100644 --- a/src/Factory/Handler/Api/Avatar/UploadHandlerFactory.php +++ b/src/Factory/Handler/Api/Avatar/UploadHandlerFactory.php @@ -3,14 +3,14 @@ namespace Pi\User\Factory\Handler\Api\Avatar; use Laminas\ServiceManager\Factory\FactoryInterface; +use Pi\User\Handler\Api\Avatar\UploadHandler; +use Pi\User\Service\AccountService; +use Pi\User\Service\AvatarService; use Psr\Container\ContainerExceptionInterface; use Psr\Container\ContainerInterface; use Psr\Container\NotFoundExceptionInterface; use Psr\Http\Message\ResponseFactoryInterface; use Psr\Http\Message\StreamFactoryInterface; -use Pi\User\Handler\Api\Avatar\UploadHandler; -use Pi\User\Service\AccountService; -use Pi\User\Service\AvatarService; class UploadHandlerFactory implements FactoryInterface { diff --git a/src/Factory/Handler/Api/Captcha/ReCaptcha/VerifyHandlerFactory.php b/src/Factory/Handler/Api/Captcha/ReCaptcha/VerifyHandlerFactory.php index 55c5a20..d21cacd 100644 --- a/src/Factory/Handler/Api/Captcha/ReCaptcha/VerifyHandlerFactory.php +++ b/src/Factory/Handler/Api/Captcha/ReCaptcha/VerifyHandlerFactory.php @@ -3,12 +3,12 @@ namespace Pi\User\Factory\Handler\Api\Captcha\ReCaptcha; use Laminas\ServiceManager\Factory\FactoryInterface; +use Pi\User\Handler\Api\Captcha\ReCaptcha\VerifyHandler; use Psr\Container\ContainerExceptionInterface; use Psr\Container\ContainerInterface; use Psr\Container\NotFoundExceptionInterface; use Psr\Http\Message\ResponseFactoryInterface; use Psr\Http\Message\StreamFactoryInterface; -use Pi\User\Handler\Api\Captcha\ReCaptcha\VerifyHandler; class VerifyHandlerFactory implements FactoryInterface { diff --git a/src/Factory/Handler/Api/Password/UpdateHandlerFactory.php b/src/Factory/Handler/Api/Password/UpdateHandlerFactory.php index 6dd0128..ffdcbdc 100644 --- a/src/Factory/Handler/Api/Password/UpdateHandlerFactory.php +++ b/src/Factory/Handler/Api/Password/UpdateHandlerFactory.php @@ -3,14 +3,14 @@ namespace Pi\User\Factory\Handler\Api\Password; use Laminas\ServiceManager\Factory\FactoryInterface; +use Pi\User\Handler\Api\Password\UpdateHandler; +use Pi\User\Service\AccountService; +use Pi\User\Service\TokenService; use Psr\Container\ContainerExceptionInterface; use Psr\Container\ContainerInterface; use Psr\Container\NotFoundExceptionInterface; use Psr\Http\Message\ResponseFactoryInterface; use Psr\Http\Message\StreamFactoryInterface; -use Pi\User\Handler\Api\Password\UpdateHandler; -use Pi\User\Service\AccountService; -use Pi\User\Service\TokenService; class UpdateHandlerFactory implements FactoryInterface { diff --git a/src/Factory/Handler/Api/Profile/UpdateHandlerFactory.php b/src/Factory/Handler/Api/Profile/UpdateHandlerFactory.php index 8af2b74..946242d 100644 --- a/src/Factory/Handler/Api/Profile/UpdateHandlerFactory.php +++ b/src/Factory/Handler/Api/Profile/UpdateHandlerFactory.php @@ -3,14 +3,14 @@ namespace Pi\User\Factory\Handler\Api\Profile; use Laminas\ServiceManager\Factory\FactoryInterface; +use Pi\User\Handler\Api\Profile\UpdateHandler; +use Pi\User\Service\AccountService; +use Pi\User\Service\TokenService; use Psr\Container\ContainerExceptionInterface; use Psr\Container\ContainerInterface; use Psr\Container\NotFoundExceptionInterface; use Psr\Http\Message\ResponseFactoryInterface; use Psr\Http\Message\StreamFactoryInterface; -use Pi\User\Handler\Api\Profile\UpdateHandler; -use Pi\User\Service\AccountService; -use Pi\User\Service\TokenService; class UpdateHandlerFactory implements FactoryInterface { diff --git a/src/Factory/Handler/Api/Profile/ViewHandlerFactory.php b/src/Factory/Handler/Api/Profile/ViewHandlerFactory.php index 0d6ffb9..037c708 100644 --- a/src/Factory/Handler/Api/Profile/ViewHandlerFactory.php +++ b/src/Factory/Handler/Api/Profile/ViewHandlerFactory.php @@ -3,14 +3,14 @@ namespace Pi\User\Factory\Handler\Api\Profile; use Laminas\ServiceManager\Factory\FactoryInterface; +use Pi\User\Handler\Api\Profile\ViewHandler; +use Pi\User\Service\AccountService; +use Pi\User\Service\TokenService; use Psr\Container\ContainerExceptionInterface; use Psr\Container\ContainerInterface; use Psr\Container\NotFoundExceptionInterface; use Psr\Http\Message\ResponseFactoryInterface; use Psr\Http\Message\StreamFactoryInterface; -use Pi\User\Handler\Api\Profile\ViewHandler; -use Pi\User\Service\AccountService; -use Pi\User\Service\TokenService; class ViewHandlerFactory implements FactoryInterface {