@@ -6,18 +6,18 @@ |
||
6 | 6 | |
7 | 7 | class SecurityRolesEntity extends AbstractEntity |
8 | 8 | { |
9 | - /** @var int */ |
|
10 | - public $id; |
|
9 | + /** @var int */ |
|
10 | + public $id; |
|
11 | 11 | |
12 | - /** @var string */ |
|
13 | - public $role; |
|
12 | + /** @var string */ |
|
13 | + public $role; |
|
14 | 14 | |
15 | 15 | |
16 | - /** |
|
17 | - * @return bool |
|
18 | - */ |
|
19 | - public function isNew(): bool |
|
20 | - { |
|
21 | - return $this->id === null; |
|
22 | - } |
|
16 | + /** |
|
17 | + * @return bool |
|
18 | + */ |
|
19 | + public function isNew(): bool |
|
20 | + { |
|
21 | + return $this->id === null; |
|
22 | + } |
|
23 | 23 | } |
@@ -14,19 +14,19 @@ |
||
14 | 14 | protected function configureContainer(ContainerConfigurator $container): void |
15 | 15 | { |
16 | 16 | $container->import('../config/{packages}/*.php'); |
17 | - $container->import('../config/{packages}/'.$this->environment.'/*.php'); |
|
17 | + $container->import('../config/{packages}/' . $this->environment . '/*.php'); |
|
18 | 18 | |
19 | - if (is_file($path = \dirname(__DIR__).'/config/services.php')) { |
|
19 | + if (is_file($path = \dirname(__DIR__) . '/config/services.php')) { |
|
20 | 20 | (require $path)($container->withPath($path), $this); |
21 | 21 | } |
22 | 22 | } |
23 | 23 | |
24 | 24 | protected function configureRoutes(RoutingConfigurator $routes): void |
25 | 25 | { |
26 | - $routes->import('../config/{routes}/'.$this->environment.'/*.php'); |
|
26 | + $routes->import('../config/{routes}/' . $this->environment . '/*.php'); |
|
27 | 27 | $routes->import('../config/{routes}/*.php'); |
28 | 28 | |
29 | - if (is_file($path = \dirname(__DIR__).'/config/routes.php')) { |
|
29 | + if (is_file($path = \dirname(__DIR__) . '/config/routes.php')) { |
|
30 | 30 | (require $path)($routes->withPath($path), $this); |
31 | 31 | } |
32 | 32 | } |
@@ -2,10 +2,10 @@ |
||
2 | 2 | |
3 | 3 | use Symfony\Component\Dotenv\Dotenv; |
4 | 4 | |
5 | -require dirname(__DIR__).'/vendor/autoload.php'; |
|
5 | +require dirname(__DIR__) . '/vendor/autoload.php'; |
|
6 | 6 | |
7 | -if (file_exists(dirname(__DIR__).'/config/bootstrap.php')) { |
|
8 | - require dirname(__DIR__).'/config/bootstrap.php'; |
|
7 | +if (file_exists(dirname(__DIR__) . '/config/bootstrap.php')) { |
|
8 | + require dirname(__DIR__) . '/config/bootstrap.php'; |
|
9 | 9 | } elseif (method_exists(Dotenv::class, 'bootEnv')) { |
10 | - (new Dotenv())->bootEnv(dirname(__DIR__).'/.env'); |
|
10 | + (new Dotenv())->bootEnv(dirname(__DIR__) . '/.env'); |
|
11 | 11 | } |
@@ -1,5 +1,5 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -if (file_exists(dirname(__DIR__).'/var/cache/prod/Oc_KernelProdContainer.preload.php')) { |
|
4 | - require dirname(__DIR__).'/var/cache/prod/Oc_KernelProdContainer.preload.php'; |
|
3 | +if (file_exists(dirname(__DIR__) . '/var/cache/prod/Oc_KernelProdContainer.preload.php')) { |
|
4 | + require dirname(__DIR__) . '/var/cache/prod/Oc_KernelProdContainer.preload.php'; |
|
5 | 5 | } |
@@ -2,6 +2,6 @@ |
||
2 | 2 | |
3 | 3 | use Symfony\Component\Routing\Loader\Configurator\RoutingConfigurator; |
4 | 4 | |
5 | -return function (RoutingConfigurator $routes) { |
|
5 | +return function(RoutingConfigurator $routes) { |
|
6 | 6 | |
7 | 7 | }; |
@@ -4,7 +4,7 @@ |
||
4 | 4 | |
5 | 5 | use Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator; |
6 | 6 | |
7 | -return static function (ContainerConfigurator $containerConfigurator): void { |
|
7 | +return static function(ContainerConfigurator $containerConfigurator): void { |
|
8 | 8 | $containerConfigurator->extension('framework', [ |
9 | 9 | 'notifier' => [ |
10 | 10 | 'channel_policy' => [ |
@@ -4,7 +4,7 @@ |
||
4 | 4 | |
5 | 5 | use Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator; |
6 | 6 | |
7 | -return static function (ContainerConfigurator $containerConfigurator): void { |
|
7 | +return static function(ContainerConfigurator $containerConfigurator): void { |
|
8 | 8 | $containerConfigurator->extension('framework', [ |
9 | 9 | 'test' => true |
10 | 10 | ]); |
@@ -4,7 +4,7 @@ |
||
4 | 4 | |
5 | 5 | use Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator; |
6 | 6 | |
7 | -return static function (ContainerConfigurator $containerConfigurator): void { |
|
7 | +return static function(ContainerConfigurator $containerConfigurator): void { |
|
8 | 8 | $containerConfigurator->extension('monolog', [ |
9 | 9 | 'handlers' => [ |
10 | 10 | 'main' => [ |
@@ -4,7 +4,7 @@ |
||
4 | 4 | |
5 | 5 | use Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator; |
6 | 6 | |
7 | -return static function (ContainerConfigurator $containerConfigurator): void { |
|
7 | +return static function(ContainerConfigurator $containerConfigurator): void { |
|
8 | 8 | $containerConfigurator->extension('web_profiler', [ |
9 | 9 | 'toolbar' => false, |
10 | 10 | 'intercept_redirects' => false, |