Passed
Push — master ( bdf088...707f4a )
by Eric
01:58
created
test/src/KeycloakTest.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -153,7 +153,7 @@  discard block
 block discarded – undo
153 153
             $postResponse = m::mock('Psr\Http\Message\ResponseInterface');
154 154
             $postResponse
155 155
                 ->shouldReceive('getBody')
156
-                ->andReturn('access_token=mock_access_token&expires=3600' .
156
+                ->andReturn('access_token=mock_access_token&expires=3600'.
157 157
                     '&refresh_token=mock_refresh_token&otherKey={1234}');
158 158
             $postResponse
159 159
                 ->shouldReceive('getHeader')
@@ -162,7 +162,7 @@  discard block
 block discarded – undo
162 162
             $userResponse = m::mock('Psr\Http\Message\ResponseInterface');
163 163
             $userResponse
164 164
                 ->shouldReceive('getBody')
165
-                ->andReturn('{"sub": ' . $userId . ', "name": "' . $name . '", "email": "' . $email . '"}');
165
+                ->andReturn('{"sub": '.$userId.', "name": "'.$name.'", "email": "'.$email.'"}');
166 166
             $userResponse
167 167
                 ->shouldReceive('getHeader')
168 168
                 ->andReturn(['content-type' => 'json']);
@@ -289,7 +289,7 @@  discard block
 block discarded – undo
289 289
             $postResponse = m::mock('Psr\Http\Message\ResponseInterface');
290 290
             $postResponse
291 291
                 ->shouldReceive('getBody')
292
-                ->andReturn('access_token=mock_access_token&expires=3600' .
292
+                ->andReturn('access_token=mock_access_token&expires=3600'.
293 293
                     '&refresh_token=mock_refresh_token&otherKey={1234}');
294 294
             $postResponse
295 295
                 ->shouldReceive('getHeader')
@@ -331,7 +331,7 @@  discard block
 block discarded – undo
331 331
         {
332 332
             $postResponse = m::mock('Psr\Http\Message\ResponseInterface');
333 333
             $postResponse->shouldReceive('getBody')
334
-                ->andReturn('access_token=mock_access_token&expires=3600' .
334
+                ->andReturn('access_token=mock_access_token&expires=3600'.
335 335
                     '&refresh_token=mock_refresh_token&otherKey={1234}');
336 336
             $postResponse
337 337
                 ->shouldReceive('getHeader')
Please login to merge, or discard this patch.
src/Provider/Keycloak.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -152,7 +152,7 @@
 block discarded – undo
152 152
      */
153 153
     private function getBaseLogoutUrl()
154 154
     {
155
-        return $this->getBaseUrlWithRealm() . '/protocol/openid-connect/logout';
155
+        return $this->getBaseUrlWithRealm().'/protocol/openid-connect/logout';
156 156
     }
157 157
 
158 158
     /**
Please login to merge, or discard this patch.