Failed Conditions
Push — master ( 9635a1...82855d )
by Florent
14:04
created
src/Component/Server/Tests/Context/NoneResponseTypeContext.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 /*
6 6
  * The MIT License (MIT)
Please login to merge, or discard this patch.
src/Component/Server/Tests/Context/TokenResponseTypeContext.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 /*
6 6
  * The MIT License (MIT)
Please login to merge, or discard this patch.
src/Component/Server/Tests/Context/IssuerDiscoveryContext.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 /*
6 6
  * The MIT License (MIT)
Please login to merge, or discard this patch.
src/Component/Server/Tests/Context/ResponseTypeContext.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 /*
6 6
  * The MIT License (MIT)
Please login to merge, or discard this patch.
src/Component/Server/Tests/Context/IdTokenResponseTypeContext.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 /*
6 6
  * The MIT License (MIT)
Please login to merge, or discard this patch.
src/Component/Server/Tests/Context/JwtBearerGrantTypeContext.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 /*
6 6
  * The MIT License (MIT)
@@ -53,7 +53,7 @@  discard block
 block discarded – undo
53 53
         $request = $request->withParsedBody([
54 54
             'grant_type' => 'urn:ietf:params:oauth:grant-type:jwt-bearer',
55 55
         ]);
56
-        $request = $request->withHeader('Authorization', 'Basic ' . base64_encode('client1:secret'));
56
+        $request = $request->withHeader('Authorization', 'Basic '.base64_encode('client1:secret'));
57 57
         $request = $request->withHeader('Content-Type', 'application/x-www-form-urlencoded');
58 58
 
59 59
         $this->responseContext->setResponse($this->applicationContext->getApplication()->getTokenEndpointPipe()->dispatch($request));
@@ -87,7 +87,7 @@  discard block
 block discarded – undo
87 87
             'assertion' => $this->generateValidAssertionFromTrustedIssuer(),
88 88
         ]);
89 89
         $request = $request->withHeader('Content-Type', 'application/x-www-form-urlencoded');
90
-        $request = $request->withHeader('Authorization', 'Basic ' . base64_encode('client1:secret'));
90
+        $request = $request->withHeader('Authorization', 'Basic '.base64_encode('client1:secret'));
91 91
 
92 92
         $this->responseContext->setResponse($this->applicationContext->getApplication()->getTokenEndpointPipe()->dispatch($request));
93 93
     }
Please login to merge, or discard this patch.
src/Component/Server/Tests/Context/SchemaContext.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 /*
6 6
  * The MIT License (MIT)
Please login to merge, or discard this patch.
Server/Tests/Context/ResourceOwnerPasswordCredentialsGrantTypeContext.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 /*
6 6
  * The MIT License (MIT)
@@ -51,7 +51,7 @@  discard block
 block discarded – undo
51 51
         $request = $request->withParsedBody([
52 52
             'grant_type' => 'password',
53 53
         ]);
54
-        $request = $request->withHeader('Authorization', 'Basic ' . base64_encode('client1:secret'));
54
+        $request = $request->withHeader('Authorization', 'Basic '.base64_encode('client1:secret'));
55 55
         $request = $request->withHeader('Content-Type', 'application/x-www-form-urlencoded');
56 56
 
57 57
         $this->responseContext->setResponse($this->applicationContext->getApplication()->getTokenEndpointPipe()->dispatch($request));
@@ -68,7 +68,7 @@  discard block
 block discarded – undo
68 68
             'grant_type' => 'password',
69 69
             'username' => 'john.1',
70 70
         ]);
71
-        $request = $request->withHeader('Authorization', 'Basic ' . base64_encode('client1:secret'));
71
+        $request = $request->withHeader('Authorization', 'Basic '.base64_encode('client1:secret'));
72 72
         $request = $request->withHeader('Content-Type', 'application/x-www-form-urlencoded');
73 73
 
74 74
         $this->responseContext->setResponse($this->applicationContext->getApplication()->getTokenEndpointPipe()->dispatch($request));
@@ -86,7 +86,7 @@  discard block
 block discarded – undo
86 86
             'username' => 'john.1',
87 87
             'password' => 'BAD PASSWORD',
88 88
         ]);
89
-        $request = $request->withHeader('Authorization', 'Basic ' . base64_encode('client1:secret'));
89
+        $request = $request->withHeader('Authorization', 'Basic '.base64_encode('client1:secret'));
90 90
         $request = $request->withHeader('Content-Type', 'application/x-www-form-urlencoded');
91 91
 
92 92
         $this->responseContext->setResponse($this->applicationContext->getApplication()->getTokenEndpointPipe()->dispatch($request));
@@ -105,7 +105,7 @@  discard block
 block discarded – undo
105 105
             'password' => 'doe',
106 106
             'scope' => 'email phone address',
107 107
         ]);
108
-        $request = $request->withHeader('Authorization', 'Basic ' . base64_encode('client1:secret'));
108
+        $request = $request->withHeader('Authorization', 'Basic '.base64_encode('client1:secret'));
109 109
         $request = $request->withHeader('Content-Type', 'application/x-www-form-urlencoded');
110 110
 
111 111
         $this->responseContext->setResponse($this->applicationContext->getApplication()->getTokenEndpointPipe()->dispatch($request));
Please login to merge, or discard this patch.
src/Component/Server/Tests/Context/OIDCContext.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 /*
6 6
  * The MIT License (MIT)
Please login to merge, or discard this patch.