Skip to content

Commit 9682f8c

Browse files
committed
linting
Signed-off-by: Claudiu Pintiuta <claudiupintiuta@gmail.com>
1 parent a98d381 commit 9682f8c

4 files changed

Lines changed: 17 additions & 18 deletions

File tree

config/autoload/doctrine.global.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
declare(strict_types=1);
44

55
use Api\App\Entity\EntityListenerResolver;
6-
use Doctrine\ORM\Mapping\Driver\AttributeDriver;
76
use Doctrine\Persistence\Mapping\Driver\MappingDriverChain;
87
use Dot\Cache\Adapter\ArrayAdapter;
98
use Dot\Cache\Adapter\FilesystemAdapter;
@@ -22,10 +21,10 @@
2221
],
2322
],
2423
'driver' => [
25-
'orm_default' => [
24+
'orm_default' => [
2625
'class' => MappingDriverChain::class,
2726
'drivers' => [],
28-
]
27+
],
2928
],
3029
'types' => [
3130
UuidType::NAME => UuidType::class,

src/Admin/src/ConfigProvider.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,10 @@ public function getDependencies(): array
4242
return [
4343
'delegators' => [
4444
Application::class => [
45-
RoutesDelegator::class
46-
]
45+
RoutesDelegator::class,
46+
],
4747
],
48-
'factories' => [
48+
'factories' => [
4949
AdminHandler::class => AttributedServiceFactory::class,
5050
AdminAccountHandler::class => AttributedServiceFactory::class,
5151
AdminRoleHandler::class => AttributedServiceFactory::class,
@@ -55,7 +55,7 @@ public function getDependencies(): array
5555
AdminRepository::class => AttributedRepositoryFactory::class,
5656
AdminRoleRepository::class => AttributedRepositoryFactory::class,
5757
],
58-
'aliases' => [
58+
'aliases' => [
5959
AdminServiceInterface::class => AdminService::class,
6060
AdminRoleServiceInterface::class => AdminRoleService::class,
6161
],
@@ -68,10 +68,10 @@ private function getDoctrineConfig(): array
6868
'driver' => [
6969
'orm_default' => [
7070
'drivers' => [
71-
'Api\Admin\Entity' => 'AdminEntities'
71+
'Api\Admin\Entity' => 'AdminEntities',
7272
],
7373
],
74-
'AdminEntities' => [
74+
'AdminEntities' => [
7575
'class' => AttributeDriver::class,
7676
'cache' => 'array',
7777
'paths' => __DIR__ . '/Entity',

src/App/src/ConfigProvider.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -95,12 +95,12 @@ private function getDoctrineConfig(): array
9595
{
9696
return [
9797
'driver' => [
98-
'orm_default' => [
98+
'orm_default' => [
9999
'drivers' => [
100-
'Api\App\Entity' => 'AppEntities'
100+
'Api\App\Entity' => 'AppEntities',
101101
],
102102
],
103-
'AppEntities' => [
103+
'AppEntities' => [
104104
'class' => AttributeDriver::class,
105105
'cache' => 'array',
106106
'paths' => __DIR__ . '/Entity',

src/User/src/ConfigProvider.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,9 @@ public function getDependencies(): array
5555
'delegators' => [
5656
Application::class => [
5757
RoutesDelegator::class,
58-
]
58+
],
5959
],
60-
'factories' => [
60+
'factories' => [
6161
AccountActivateHandler::class => AttributedServiceFactory::class,
6262
AccountAvatarHandler::class => AttributedServiceFactory::class,
6363
AccountHandler::class => AttributedServiceFactory::class,
@@ -77,7 +77,7 @@ public function getDependencies(): array
7777
UserRoleRepository::class => AttributedRepositoryFactory::class,
7878
UserAvatarRepository::class => AttributedRepositoryFactory::class,
7979
],
80-
'aliases' => [
80+
'aliases' => [
8181
UserAvatarServiceInterface::class => UserAvatarService::class,
8282
UserRoleServiceInterface::class => UserRoleService::class,
8383
UserServiceInterface::class => UserService::class,
@@ -89,12 +89,12 @@ private function getDoctrineConfig(): array
8989
{
9090
return [
9191
'driver' => [
92-
'orm_default' => [
92+
'orm_default' => [
9393
'drivers' => [
94-
'Api\User\Entity' => 'UserEntities'
94+
'Api\User\Entity' => 'UserEntities',
9595
],
9696
],
97-
'UserEntities' => [
97+
'UserEntities' => [
9898
'class' => AttributeDriver::class,
9999
'cache' => 'array',
100100
'paths' => __DIR__ . '/Entity',

0 commit comments

Comments
 (0)