Passed
Push — feature/update-security-checke... ( 06fdc4 )
by
unknown
14:45
created
public/index.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,7 @@
 block discarded – undo
4 4
 use Symfony\Component\ErrorHandler\Debug;
5 5
 use Symfony\Component\HttpFoundation\Request;
6 6
 
7
-require dirname(__DIR__).'/config/bootstrap.php';
7
+require dirname(__DIR__) . '/config/bootstrap.php';
8 8
 
9 9
 if ($_SERVER['APP_DEBUG']) {
10 10
     umask(0000);
Please login to merge, or discard this patch.
config/bootstrap.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -2,11 +2,11 @@  discard block
 block discarded – undo
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 7
 // Load cached env vars if the .env.local.php file exists
8 8
 // Run "composer dump-env prod" to create it (requires symfony/flex >=1.2)
9
-if (is_array($env = @include dirname(__DIR__).'/.env.local.php') && (!isset($env['APP_ENV']) || ($_SERVER['APP_ENV'] ?? $_ENV['APP_ENV'] ?? $env['APP_ENV']) === $env['APP_ENV'])) {
9
+if (is_array($env = @include dirname(__DIR__) . '/.env.local.php') && (!isset($env['APP_ENV']) || ($_SERVER['APP_ENV'] ?? $_ENV['APP_ENV'] ?? $env['APP_ENV']) === $env['APP_ENV'])) {
10 10
     foreach ($env as $k => $v) {
11 11
         $_ENV[$k] = $_ENV[$k] ?? (isset($_SERVER[$k]) && 0 !== strpos($k, 'HTTP_') ? $_SERVER[$k] : $v);
12 12
     }
@@ -14,7 +14,7 @@  discard block
 block discarded – undo
14 14
     throw new RuntimeException('Please run "composer require symfony/dotenv" to load the ".env" files configuring the application.');
15 15
 } else {
16 16
     // load all the .env files
17
-    (new Dotenv(false))->loadEnv(dirname(__DIR__).'/.env');
17
+    (new Dotenv(false))->loadEnv(dirname(__DIR__) . '/.env');
18 18
 }
19 19
 
20 20
 $_SERVER += $_ENV;
Please login to merge, or discard this patch.
Infrastructure/Services/PendingSession/CachePendingSessionRepository.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@
 block discarded – undo
38 38
     {
39 39
         $item = $this->cacheItemPool->getItem('ready_session_id_' . $readySessionId->value());
40 40
 
41
-        if (! $item->isHit()) {
41
+        if (!$item->isHit()) {
42 42
             throw PendingSessionNotFoundException::withReadySessionId($readySessionId);
43 43
         }
44 44
 
Please login to merge, or discard this patch.
src/Infrastructure/Services/ReadySession/StoreReadySessionState.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@
 block discarded – undo
32 32
 
33 33
     public function load(): ReadySession
34 34
     {
35
-        if (! $this->store->has('readySession')) {
35
+        if (!$this->store->has('readySession')) {
36 36
             throw ReadySessionNotFoundException::stateIsEmpty();
37 37
         }
38 38
 
Please login to merge, or discard this patch.
src/Infrastructure/Services/ReadId/HttpReadIdClient.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -69,12 +69,12 @@
 block discarded – undo
69 69
      */
70 70
     private function authorizationHeader(): array
71 71
     {
72
-         return [
73
-             'X-Innovalor-Authorization' => $this->authorizationToken,
74
-             'Content-Type' => 'application/json;odata.metadata=minimal',
75
-             'Accept' => 'application/json;odata.metadata=minimal',
76
-             'OData-MaxVersion' => '4.0',
77
-             'OData-Version' => '4.0',
78
-         ];
72
+            return [
73
+                'X-Innovalor-Authorization' => $this->authorizationToken,
74
+                'Content-Type' => 'application/json;odata.metadata=minimal',
75
+                'Accept' => 'application/json;odata.metadata=minimal',
76
+                'OData-MaxVersion' => '4.0',
77
+                'OData-Version' => '4.0',
78
+            ];
79 79
     }
80 80
 }
Please login to merge, or discard this patch.