Passed
Push — master ( 67783c...f2b326 )
by Aleksei
11:31
created
src/Framework/Bootloader/Http/SessionBootloader.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@  discard block
 block discarded – undo
26 26
 {
27 27
     public function __construct(
28 28
         private readonly BinderInterface $binder,
29
-    ) {
29
+    ){
30 30
     }
31 31
 
32 32
     public function defineBindings(): array
@@ -71,7 +71,7 @@  discard block
 block discarded – undo
71 71
                 'handler' => new Autowire(
72 72
                     FileHandler::class,
73 73
                     [
74
-                        'directory' => $directories->get('runtime') . 'session',
74
+                        'directory' => $directories->get('runtime').'session',
75 75
                         'lifetime' => 86400,
76 76
                     ]
77 77
                 ),
@@ -90,14 +90,14 @@  discard block
 block discarded – undo
90 90
 
91 91
     private function resolveSession(ContainerInterface $container): SessionInterface
92 92
     {
93
-        try {
93
+        try{
94 94
             /** @var ServerRequestInterface $request */
95 95
             $request = $container->get(ServerRequestInterface::class);
96 96
             return $request->getAttribute(SessionMiddleware::ATTRIBUTE) ?? throw new ContextualObjectNotFoundException(
97 97
                 SessionInterface::class,
98 98
                 SessionMiddleware::ATTRIBUTE,
99 99
             );
100
-        } catch (InvalidRequestScopeException $e) {
100
+        }catch (InvalidRequestScopeException $e){
101 101
             throw new InvalidRequestScopeException(SessionInterface::class, previous: $e);
102 102
         }
103 103
     }
Please login to merge, or discard this patch.
src/Router/tests/Fixtures/UserContext.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -6,7 +6,7 @@
 block discarded – undo
6 6
 
7 7
 final class UserContext
8 8
 {
9
-    private function __construct() {}
9
+    private function __construct(){}
10 10
 
11 11
     public static function create(): self
12 12
     {
Please login to merge, or discard this patch.
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -6,7 +6,9 @@
 block discarded – undo
6 6
 
7 7
 final class UserContext
8 8
 {
9
-    private function __construct() {}
9
+    private function __construct()
10
+    {
11
+}
10 12
 
11 13
     public static function create(): self
12 14
     {
Please login to merge, or discard this patch.
src/Router/tests/Fixtures/UserContextController.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -8,7 +8,7 @@
 block discarded – undo
8 8
 {
9 9
     public function __construct(
10 10
         private readonly UserContext $scope,
11
-    ) {}
11
+    ){}
12 12
 
13 13
     public function scope(): string
14 14
     {
Please login to merge, or discard this patch.
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -8,7 +8,8 @@
 block discarded – undo
8 8
 {
9 9
     public function __construct(
10 10
         private readonly UserContext $scope,
11
-    ) {}
11
+    ) {
12
+}
12 13
 
13 14
     public function scope(): string
14 15
     {
Please login to merge, or discard this patch.