Passed
Push — develop ( da9b52...522b0e )
by nguereza
02:54
created
src/Config/Model/ConfigurationRepository.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -57,14 +57,12 @@
 block discarded – undo
57 57
  * @extends Repository<Configuration>
58 58
  * @implements ConfigurationRepositoryInterface<Configuration>
59 59
  */
60
-class ConfigurationRepository extends Repository implements ConfigurationRepositoryInterface
61
-{
60
+class ConfigurationRepository extends Repository implements ConfigurationRepositoryInterface {
62 61
     /**
63 62
      * Create new instance
64 63
      * @param EntityManager<Configuration> $manager
65 64
      */
66
-    public function __construct(EntityManager $manager)
67
-    {
65
+    public function __construct(EntityManager $manager) {
68 66
         parent::__construct($manager, Configuration::class);
69 67
     }
70 68
 }
Please login to merge, or discard this patch.
src/Template/Tag/CsrfTag.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -57,8 +57,7 @@
 block discarded – undo
57 57
  * @package Platine\Framework\Template\Tag
58 58
  * @template T
59 59
  */
60
-class CsrfTag extends AbstractTag
61
-{
60
+class CsrfTag extends AbstractTag {
62 61
     /**
63 62
      * {@inheritdoc}
64 63
      */
Please login to merge, or discard this patch.
src/Http/Middleware/MaintenanceMiddleware.php 2 patches
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -137,7 +137,7 @@  discard block
 block discarded – undo
137 137
             );
138 138
 
139 139
             $httpException->setTitle('Service Unavailable')
140
-                          ->setDescription($message);
140
+                            ->setDescription($message);
141 141
 
142 142
             // TODO Add headers
143 143
             throw $httpException;
@@ -241,9 +241,9 @@  discard block
 block discarded – undo
241 241
         $sessionCookieConfig = $this->config->get('session.cookie', []);
242 242
 
243 243
         $cookie->withExpires($expire)
244
-               ->withPath($sessionCookieConfig['path'] ?? null)
245
-               ->withDomain($sessionCookieConfig['domain'] ?? null)
246
-               ->withHttpOnly(true);
244
+                ->withPath($sessionCookieConfig['path'] ?? null)
245
+                ->withDomain($sessionCookieConfig['domain'] ?? null)
246
+                ->withHttpOnly(true);
247 247
 
248 248
 
249 249
         return $cookie;
Please login to merge, or discard this patch.
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -70,8 +70,7 @@
 block discarded – undo
70 70
  * @package Platine\Framework\Http\Middleware
71 71
  * @template T
72 72
  */
73
-class MaintenanceMiddleware implements MiddlewareInterface
74
-{
73
+class MaintenanceMiddleware implements MiddlewareInterface {
75 74
     /**
76 75
      * The configuration instance
77 76
      * @var Config<T>
Please login to merge, or discard this patch.