Skip to content

Commit

Permalink
Update user module namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
voltan committed Nov 16, 2024
1 parent dd70e07 commit fc00329
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions src/Factory/Middleware/InstallerMiddlewareFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@
use Laminas\ServiceManager\Factory\FactoryInterface;
use Pi\Core\Handler\ErrorHandler;
use Pi\Core\Middleware\InstallerMiddleware;
use Pi\User\Service\PermissionService;
use Pi\User\Service\RoleService;
use Psr\Container\ContainerExceptionInterface;
use Psr\Container\ContainerInterface;
use Psr\Container\NotFoundExceptionInterface;
use Psr\Http\Message\ResponseFactoryInterface;
use Psr\Http\Message\StreamFactoryInterface;
use User\Service\PermissionService;
use User\Service\RoleService;

class InstallerMiddlewareFactory implements FactoryInterface
{
Expand Down
2 changes: 1 addition & 1 deletion src/Factory/Service/InstallerServiceFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@

use Laminas\ServiceManager\Factory\FactoryInterface;
use Pi\Core\Service\InstallerService;
use Pi\User\Service\PermissionService;
use Psr\Container\ContainerInterface;
use User\Service\PermissionService;

class InstallerServiceFactory implements FactoryInterface
{
Expand Down
4 changes: 2 additions & 2 deletions src/Middleware/InstallerMiddleware.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@

use Fig\Http\Message\StatusCodeInterface;
use Pi\Core\Handler\ErrorHandler;
use Pi\User\Service\PermissionService;
use Pi\User\Service\RoleService;
use Psr\Http\Message\ResponseFactoryInterface;
use Psr\Http\Message\ResponseInterface;
use Psr\Http\Message\ServerRequestInterface;
use Psr\Http\Message\StreamFactoryInterface;
use Psr\Http\Server\MiddlewareInterface;
use Psr\Http\Server\RequestHandlerInterface;
use User\Service\PermissionService;
use User\Service\RoleService;

class InstallerMiddleware implements MiddlewareInterface
{
Expand Down
2 changes: 1 addition & 1 deletion src/Service/CacheService.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
use Laminas\Cache\Psr\SimpleCache\SimpleCacheDecorator;
use Laminas\Cache\Service\StorageAdapterFactoryInterface;
use Laminas\Cache\Storage\Plugin\Serializer;
use Pi\User\Service\ServiceInterface;
use Redis;
use User\Service\ServiceInterface;

class CacheService implements ServiceInterface
{
Expand Down
4 changes: 2 additions & 2 deletions src/Service/InstallerService.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

namespace Pi\Core\Service;

use User\Service\PermissionService;
use User\Service\ServiceInterface;
use Pi\User\Service\PermissionService;
use Pi\User\Service\ServiceInterface;

class InstallerService implements ServiceInterface
{
Expand Down
2 changes: 1 addition & 1 deletion src/Service/TranslatorService.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
namespace Pi\Core\Service;

use Laminas\I18n\Translator\Translator;
use User\Service\ServiceInterface;
use Pi\User\Service\ServiceInterface;

/**
* Usage example in services
Expand Down
2 changes: 1 addition & 1 deletion src/Service/UtilityService.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
use IntlDateFormatter;
use Laminas\Escaper\Escaper;
use NumberFormatter;
use User\Service\ServiceInterface;
use Pi\User\Service\ServiceInterface;
use function class_exists;
use function method_exists;
use function preg_replace;
Expand Down

0 comments on commit fc00329

Please sign in to comment.