@@ -64,7 +64,7 @@ |
||
64 | 64 | |
65 | 65 | public function onAuthenticationFailure(Request $request, AuthenticationException $exception): ?Response |
66 | 66 | { |
67 | - return new Response('Authentication Failed: ' . $exception->getMessage(), 403); |
|
67 | + return new Response('Authentication Failed: '.$exception->getMessage(), 403); |
|
68 | 68 | } |
69 | 69 | |
70 | 70 | public function start(Request $request, AuthenticationException $authException = null): Response |
@@ -88,7 +88,7 @@ |
||
88 | 88 | |
89 | 89 | public function onAuthenticationFailure(Request $request, AuthenticationException $exception): ?Response |
90 | 90 | { |
91 | - return new Response('Authentication Failed: ' . $exception->getMessage(), 403); |
|
91 | + return new Response('Authentication Failed: '.$exception->getMessage(), 403); |
|
92 | 92 | } |
93 | 93 | |
94 | 94 | /** |
@@ -1,11 +1,11 @@ |
||
1 | -<?php declare(strict_types = 1); |
|
1 | +<?php declare(strict_types=1); |
|
2 | 2 | |
3 | 3 | use AtlassianConnectBundle\Controller\DescriptorController; |
4 | 4 | use AtlassianConnectBundle\Controller\HandshakeController; |
5 | 5 | use AtlassianConnectBundle\Controller\UnlicensedController; |
6 | 6 | use Symfony\Component\Routing\Loader\Configurator\RoutingConfigurator; |
7 | 7 | |
8 | -return function (RoutingConfigurator $routes) { |
|
8 | +return function(RoutingConfigurator $routes) { |
|
9 | 9 | $routes |
10 | 10 | ->add('atlassian_connect_descriptor', '/atlassian-connect.json') |
11 | 11 | ->controller([DescriptorController::class, 'indexAction']) |
@@ -8,7 +8,7 @@ discard block |
||
8 | 8 | { |
9 | 9 | public function testLicenseListenerIsOk(): void |
10 | 10 | { |
11 | - $client = self::createClient(['environment' => 'prod'], ['HTTP_AUTHORIZATION' => 'Bearer ' . $this->getTenantJWTCode()]); |
|
11 | + $client = self::createClient(['environment' => 'prod'], ['HTTP_AUTHORIZATION' => 'Bearer '.$this->getTenantJWTCode()]); |
|
12 | 12 | |
13 | 13 | $client->request('GET', '/protected/license-route'); |
14 | 14 | $this->assertResponseIsSuccessful(); |
@@ -16,7 +16,7 @@ discard block |
||
16 | 16 | |
17 | 17 | public function testLicenseListenerFails(): void |
18 | 18 | { |
19 | - $client = self::createClient(['environment' => 'prod'], ['HTTP_AUTHORIZATION' => 'Bearer ' . $this->getTenantJWTCode('not_whitelisted')]); |
|
19 | + $client = self::createClient(['environment' => 'prod'], ['HTTP_AUTHORIZATION' => 'Bearer '.$this->getTenantJWTCode('not_whitelisted')]); |
|
20 | 20 | |
21 | 21 | $client->request('GET', '/protected/license-route'); |
22 | 22 | $this->assertResponseRedirects('/protected/unlicensed'); |
@@ -24,7 +24,7 @@ discard block |
||
24 | 24 | |
25 | 25 | public function testLicenseListenerWorksInDev(): void |
26 | 26 | { |
27 | - $client = self::createClient(['environment' => 'dev'], ['HTTP_AUTHORIZATION' => 'Bearer ' . $this->getTenantJWTCode('not_whitelisted')]); |
|
27 | + $client = self::createClient(['environment' => 'dev'], ['HTTP_AUTHORIZATION' => 'Bearer '.$this->getTenantJWTCode('not_whitelisted')]); |
|
28 | 28 | |
29 | 29 | $client->request('GET', '/protected/license-route'); |
30 | 30 | $this->assertResponseIsSuccessful(); |