Passed
Push — master ( f52952...8a81ff )
by
unknown
04:07
created
src/Service/AlmaApi.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@  discard block
 block discarded – undo
34 34
         $url = str_replace($templateParamNames, $templateParamValues, $urlPath);
35 35
         $defaultRequestParams = [
36 36
             'headers' => [
37
-                'Authorization' => 'apikey ' . getenv('API_KEY'),
37
+                'Authorization' => 'apikey '.getenv('API_KEY'),
38 38
             ]
39 39
         ];
40 40
 
@@ -148,7 +148,7 @@  discard block
 block discarded – undo
148 148
         $query = [
149 149
             'limit' => '10',
150 150
             'offset' => '0',
151
-            'q' => 'primary_id~' . $userId,
151
+            'q' => 'primary_id~'.$userId,
152 152
             'order_by' => 'last_name first_name, primary_id'
153 153
         ];
154 154
         $requestParams = compact('query');
Please login to merge, or discard this patch.
src/EventSubscriber/SecuritySubscriber.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -28,14 +28,14 @@
 block discarded – undo
28 28
         $exception = $event->getAuthenticationException();
29 29
         $token = $event->getAuthenticationToken();
30 30
         $creds = $token->getCredentials();
31
-        $this->logger->error("Login failed for " . $creds['username'] . ": " . $exception->getMessage());
31
+        $this->logger->error("Login failed for ".$creds['username'].": ".$exception->getMessage());
32 32
     }
33 33
 
34 34
     public function onAuthenticationSuccess(AuthenticationEvent $event)
35 35
     {
36 36
         $token = $event->getAuthenticationToken();
37 37
         if ($token->getUsername() != "anon") {
38
-            $this->logger->info("Login succeeeded: " . $token->getUsername());
38
+            $this->logger->info("Login succeeeded: ".$token->getUsername());
39 39
         }
40 40
     }
41 41
 }
Please login to merge, or discard this patch.