Skip to content

Commit

Permalink
Move to Core module
Browse files Browse the repository at this point in the history
  • Loading branch information
voltan committed Nov 11, 2024
1 parent 72366c8 commit 35c8f90
Show file tree
Hide file tree
Showing 59 changed files with 149 additions and 2,304 deletions.
4 changes: 2 additions & 2 deletions bin/post-install.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php

use User\Installer\Install;
use User\Service\InstallerService;
use Pi\Core\Installer\Install;
use Pi\Core\Service\InstallerService;

// Composer autoload
include realpath(__DIR__ . '/../../../vendor/autoload.php');
Expand Down
2 changes: 1 addition & 1 deletion bin/post-remove.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

use Laminas\Config\Config;
use Laminas\Db\Adapter\Adapter;
use User\Installer\Remove;
use Pi\Core\Installer\Remove;
use User\Service\PermissionService;
use User\Service\RoleService;

Expand Down
2 changes: 1 addition & 1 deletion bin/post-update.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

use Laminas\Config\Config;
use Laminas\Db\Adapter\Adapter;
use User\Installer\Update;
use Pi\Core\Installer\Update;
use User\Service\PermissionService;
use User\Service\RoleService;

Expand Down
219 changes: 105 additions & 114 deletions config/module.config.php

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/Factory/Handler/Admin/Cache/DeleteHandlerFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@
namespace User\Factory\Handler\Admin\Cache;

use Laminas\ServiceManager\Factory\FactoryInterface;
use Pi\Core\Service\CacheService;
use Psr\Container\ContainerExceptionInterface;
use Psr\Container\ContainerInterface;
use Psr\Container\NotFoundExceptionInterface;
use Psr\Http\Message\ResponseFactoryInterface;
use Psr\Http\Message\StreamFactoryInterface;
use User\Handler\Admin\Cache\DeleteHandler;
use User\Service\CacheService;

class DeleteHandlerFactory implements FactoryInterface
{
Expand Down
2 changes: 1 addition & 1 deletion src/Factory/Handler/Admin/Cache/ListHandlerFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@
namespace User\Factory\Handler\Admin\Cache;

use Laminas\ServiceManager\Factory\FactoryInterface;
use Pi\Core\Service\CacheService;
use Psr\Container\ContainerExceptionInterface;
use Psr\Container\ContainerInterface;
use Psr\Container\NotFoundExceptionInterface;
use Psr\Http\Message\ResponseFactoryInterface;
use Psr\Http\Message\StreamFactoryInterface;
use User\Handler\Admin\Cache\ListHandler;
use User\Service\CacheService;

class ListHandlerFactory implements FactoryInterface
{
Expand Down
2 changes: 1 addition & 1 deletion src/Factory/Handler/Admin/Cache/PersistHandlerFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@
namespace User\Factory\Handler\Admin\Cache;

use Laminas\ServiceManager\Factory\FactoryInterface;
use Pi\Core\Service\CacheService;
use Psr\Container\ContainerExceptionInterface;
use Psr\Container\ContainerInterface;
use Psr\Container\NotFoundExceptionInterface;
use Psr\Http\Message\ResponseFactoryInterface;
use Psr\Http\Message\StreamFactoryInterface;
use User\Handler\Admin\Cache\PersistHandler;
use User\Service\CacheService;

class PersistHandlerFactory implements FactoryInterface
{
Expand Down
2 changes: 1 addition & 1 deletion src/Factory/Handler/Admin/Cache/ViewHandlerFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@
namespace User\Factory\Handler\Admin\Cache;

use Laminas\ServiceManager\Factory\FactoryInterface;
use Pi\Core\Service\CacheService;
use Psr\Container\ContainerExceptionInterface;
use Psr\Container\ContainerInterface;
use Psr\Container\NotFoundExceptionInterface;
use Psr\Http\Message\ResponseFactoryInterface;
use Psr\Http\Message\StreamFactoryInterface;
use User\Handler\Admin\Cache\ViewHandler;
use User\Service\CacheService;

class ViewHandlerFactory implements FactoryInterface
{
Expand Down
31 changes: 0 additions & 31 deletions src/Factory/Handler/ErrorHandlerFactory.php

This file was deleted.

2 changes: 1 addition & 1 deletion src/Factory/Handler/InstallerHandlerFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@
namespace User\Factory\Handler;

use Laminas\ServiceManager\Factory\FactoryInterface;
use Pi\Core\Service\InstallerService;
use Psr\Container\ContainerExceptionInterface;
use Psr\Container\ContainerInterface;
use Psr\Container\NotFoundExceptionInterface;
use Psr\Http\Message\ResponseFactoryInterface;
use Psr\Http\Message\StreamFactoryInterface;
use User\Handler\InstallerHandler;
use User\Service\InstallerService;

class InstallerHandlerFactory implements FactoryInterface
{
Expand Down
25 changes: 0 additions & 25 deletions src/Factory/Installer/InstallFactory.php

This file was deleted.

25 changes: 0 additions & 25 deletions src/Factory/Installer/RemoveFactory.php

This file was deleted.

25 changes: 0 additions & 25 deletions src/Factory/Installer/UpdateFactory.php

This file was deleted.

4 changes: 2 additions & 2 deletions src/Factory/Middleware/AuthenticationMiddlewareFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,16 @@
namespace User\Factory\Middleware;

use Laminas\ServiceManager\Factory\FactoryInterface;
use Pi\Core\Handler\ErrorHandler;
use Pi\Core\Security\Account\AccountLocked;
use Pi\Core\Service\CacheService;
use Psr\Container\ContainerExceptionInterface;
use Psr\Container\ContainerInterface;
use Psr\Container\NotFoundExceptionInterface;
use Psr\Http\Message\ResponseFactoryInterface;
use Psr\Http\Message\StreamFactoryInterface;
use User\Handler\ErrorHandler;
use User\Middleware\AuthenticationMiddleware;
use User\Service\AccountService;
use User\Service\CacheService;
use User\Service\TokenService;

class AuthenticationMiddlewareFactory implements FactoryInterface
Expand Down
2 changes: 1 addition & 1 deletion src/Factory/Middleware/AuthorizationMiddlewareFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@
namespace User\Factory\Middleware;

use Laminas\ServiceManager\Factory\FactoryInterface;
use Pi\Core\Handler\ErrorHandler;
use Psr\Container\ContainerExceptionInterface;
use Psr\Container\ContainerInterface;
use Psr\Container\NotFoundExceptionInterface;
use Psr\Http\Message\ResponseFactoryInterface;
use Psr\Http\Message\StreamFactoryInterface;
use User\Handler\ErrorHandler;
use User\Middleware\AuthorizationMiddleware;
use User\Service\PermissionService;
use User\Service\RoleService;
Expand Down
2 changes: 1 addition & 1 deletion src/Factory/Middleware/AvatarUploadMiddlewareFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@
namespace User\Factory\Middleware;

use Laminas\ServiceManager\Factory\FactoryInterface;
use Pi\Core\Handler\ErrorHandler;
use Pi\Core\Middleware\SecurityMiddleware;
use Psr\Container\ContainerExceptionInterface;
use Psr\Container\ContainerInterface;
use Psr\Container\NotFoundExceptionInterface;
use Psr\Http\Message\ResponseFactoryInterface;
use Psr\Http\Message\StreamFactoryInterface;
use User\Handler\ErrorHandler;
use User\Middleware\AvatarUploadMiddleware;
use User\Service\AccountService;
use User\Service\AvatarService;
Expand Down
33 changes: 0 additions & 33 deletions src/Factory/Middleware/ErrorMiddlewareFactory.php

This file was deleted.

37 changes: 0 additions & 37 deletions src/Factory/Middleware/InstallerMiddlewareFactory.php

This file was deleted.

39 changes: 0 additions & 39 deletions src/Factory/Middleware/RawDataValidationMiddlewareFactory.php

This file was deleted.

Loading

0 comments on commit 35c8f90

Please sign in to comment.