Passed
Push — master ( 645113...90c23b )
by Bukashk0zzz
01:19 queued 13s
created
Tests/Controller/HandshakeControllerTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@
 block discarded – undo
1
-<?php declare(strict_types = 1);
1
+<?php declare(strict_types=1);
2 2
 
3 3
 namespace AtlassianConnectBundle\Tests\DependencyInjection;
4 4
 
Please login to merge, or discard this patch.
Tests/Controller/DescriptorControllerTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@
 block discarded – undo
1
-<?php declare(strict_types = 1);
1
+<?php declare(strict_types=1);
2 2
 
3 3
 namespace AtlassianConnectBundle\Tests\DependencyInjection;
4 4
 
Please login to merge, or discard this patch.
Tests/Security/StubbedTenant.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@
 block discarded – undo
1
-<?php declare(strict_types = 1);
1
+<?php declare(strict_types=1);
2 2
 
3 3
 namespace AtlassianConnectBundle\Tests\Security;
4 4
 
Please login to merge, or discard this patch.
Tests/Security/JWTUserProviderTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@
 block discarded – undo
1
-<?php declare(strict_types = 1);
1
+<?php declare(strict_types=1);
2 2
 
3 3
 namespace AtlassianConnectBundle\Tests\Security;
4 4
 
Please login to merge, or discard this patch.
Tests/Listener/LicenseListenerTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@
 block discarded – undo
1
-<?php declare(strict_types = 1);
1
+<?php declare(strict_types=1);
2 2
 
3 3
 namespace AtlassianConnectBundle\Tests\Listener;
4 4
 
Please login to merge, or discard this patch.
src/Service/GuzzleJWTMiddleware.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@  discard block
 block discarded – undo
1
-<?php declare(strict_types = 1);
1
+<?php declare(strict_types=1);
2 2
 
3 3
 namespace AtlassianConnectBundle\Service;
4 4
 
@@ -23,7 +23,7 @@  discard block
 block discarded – undo
23 23
     public static function authTokenMiddleware(string $issuer, string $secret): callable
24 24
     {
25 25
         return Middleware::mapRequest(
26
-            static function (RequestInterface $request) use ($issuer, $secret) {
26
+            static function(RequestInterface $request) use ($issuer, $secret) {
27 27
                 return $request->withHeader(
28 28
                     'Authorization',
29 29
                     'JWT '.JWTGenerator::generate($request, $issuer, $secret)
@@ -49,7 +49,7 @@  discard block
 block discarded – undo
49 49
         string $username
50 50
     ): callable {
51 51
         return Middleware::mapRequest(
52
-            static function (RequestInterface $request) use ($client, $oauthClientId, $secret, $baseUrl, $username) {
52
+            static function(RequestInterface $request) use ($client, $oauthClientId, $secret, $baseUrl, $username) {
53 53
                 return $request
54 54
                     ->withHeader('Accept', 'application/json')
55 55
                     ->withHeader(
Please login to merge, or discard this patch.
Tests/Service/GuzzleJWTMiddlewareTest.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@  discard block
 block discarded – undo
1
-<?php declare(strict_types = 1);
1
+<?php declare(strict_types=1);
2 2
 
3 3
 namespace AtlassianConnectBundle\Tests\Service;
4 4
 
@@ -23,7 +23,7 @@  discard block
 block discarded – undo
23 23
     {
24 24
         $middleware = GuzzleJWTMiddleware::authTokenMiddleware('atlassian-connect', 'secret');
25 25
 
26
-        $invokable = $middleware(function (Request $request, array $options) {
26
+        $invokable = $middleware(function(Request $request, array $options) {
27 27
             $this->assertTrue($request->hasHeader('Authorization'));
28 28
             $this->assertTrue($request->hasHeader('existing-header'));
29 29
             $this->assertSame('GET', $request->getMethod());
@@ -55,7 +55,7 @@  discard block
 block discarded – undo
55 55
             'username'
56 56
         );
57 57
 
58
-        $invokable = $middleware(function (Request $request, array $options) {
58
+        $invokable = $middleware(function(Request $request, array $options) {
59 59
             $this->assertSame('application/json', $request->getHeader('Accept')[0]);
60 60
             $this->assertSame('Bearer token', $request->getHeader('Authorization')[0]);
61 61
             $this->assertEquals(new Uri('https://atlassian.io/api/test'), $request->getUri());
Please login to merge, or discard this patch.
Tests/Security/LegacyJWTAuthenticatorTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@
 block discarded – undo
1
-<?php declare(strict_types = 1);
1
+<?php declare(strict_types=1);
2 2
 
3 3
 namespace AtlassianConnectBundle\Tests\Security;
4 4
 
Please login to merge, or discard this patch.
src/Security/LegacyJWTAuthenticator.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@
 block discarded – undo
1
-<?php declare(strict_types = 1);
1
+<?php declare(strict_types=1);
2 2
 
3 3
 namespace AtlassianConnectBundle\Security;
4 4
 
Please login to merge, or discard this patch.