Skip to content

Commit

Permalink
linting
Browse files Browse the repository at this point in the history
Signed-off-by: Claudiu Pintiuta <[email protected]>
  • Loading branch information
pinclau committed Jul 11, 2024
1 parent a98d381 commit 9682f8c
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 18 deletions.
5 changes: 2 additions & 3 deletions config/autoload/doctrine.global.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
declare(strict_types=1);

use Api\App\Entity\EntityListenerResolver;
use Doctrine\ORM\Mapping\Driver\AttributeDriver;
use Doctrine\Persistence\Mapping\Driver\MappingDriverChain;
use Dot\Cache\Adapter\ArrayAdapter;
use Dot\Cache\Adapter\FilesystemAdapter;
Expand All @@ -22,10 +21,10 @@
],
],
'driver' => [
'orm_default' => [
'orm_default' => [
'class' => MappingDriverChain::class,
'drivers' => [],
]
],
],
'types' => [
UuidType::NAME => UuidType::class,
Expand Down
12 changes: 6 additions & 6 deletions src/Admin/src/ConfigProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,10 @@ public function getDependencies(): array
return [
'delegators' => [
Application::class => [
RoutesDelegator::class
]
RoutesDelegator::class,
],
],
'factories' => [
'factories' => [
AdminHandler::class => AttributedServiceFactory::class,
AdminAccountHandler::class => AttributedServiceFactory::class,
AdminRoleHandler::class => AttributedServiceFactory::class,
Expand All @@ -55,7 +55,7 @@ public function getDependencies(): array
AdminRepository::class => AttributedRepositoryFactory::class,
AdminRoleRepository::class => AttributedRepositoryFactory::class,
],
'aliases' => [
'aliases' => [
AdminServiceInterface::class => AdminService::class,
AdminRoleServiceInterface::class => AdminRoleService::class,
],
Expand All @@ -68,10 +68,10 @@ private function getDoctrineConfig(): array
'driver' => [
'orm_default' => [
'drivers' => [
'Api\Admin\Entity' => 'AdminEntities'
'Api\Admin\Entity' => 'AdminEntities',
],
],
'AdminEntities' => [
'AdminEntities' => [
'class' => AttributeDriver::class,
'cache' => 'array',
'paths' => __DIR__ . '/Entity',
Expand Down
6 changes: 3 additions & 3 deletions src/App/src/ConfigProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -95,12 +95,12 @@ private function getDoctrineConfig(): array
{
return [
'driver' => [
'orm_default' => [
'orm_default' => [
'drivers' => [
'Api\App\Entity' => 'AppEntities'
'Api\App\Entity' => 'AppEntities',
],
],
'AppEntities' => [
'AppEntities' => [
'class' => AttributeDriver::class,
'cache' => 'array',
'paths' => __DIR__ . '/Entity',
Expand Down
12 changes: 6 additions & 6 deletions src/User/src/ConfigProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,9 @@ public function getDependencies(): array
'delegators' => [
Application::class => [
RoutesDelegator::class,
]
],
],
'factories' => [
'factories' => [
AccountActivateHandler::class => AttributedServiceFactory::class,
AccountAvatarHandler::class => AttributedServiceFactory::class,
AccountHandler::class => AttributedServiceFactory::class,
Expand All @@ -77,7 +77,7 @@ public function getDependencies(): array
UserRoleRepository::class => AttributedRepositoryFactory::class,
UserAvatarRepository::class => AttributedRepositoryFactory::class,
],
'aliases' => [
'aliases' => [
UserAvatarServiceInterface::class => UserAvatarService::class,
UserRoleServiceInterface::class => UserRoleService::class,
UserServiceInterface::class => UserService::class,
Expand All @@ -89,12 +89,12 @@ private function getDoctrineConfig(): array
{
return [
'driver' => [
'orm_default' => [
'orm_default' => [
'drivers' => [
'Api\User\Entity' => 'UserEntities'
'Api\User\Entity' => 'UserEntities',
],
],
'UserEntities' => [
'UserEntities' => [
'class' => AttributeDriver::class,
'cache' => 'array',
'paths' => __DIR__ . '/Entity',
Expand Down

0 comments on commit 9682f8c

Please sign in to comment.