@@ -30,7 +30,7 @@ discard block |
||
| 30 | 30 | $this->inner |
| 31 | 31 | ->expects($this->once()) |
| 32 | 32 | ->method('request') |
| 33 | - ->with('GET', 'https://app.atlassian.com/resource', $this->callback(function (array $options): bool { |
|
| 33 | + ->with('GET', 'https://app.atlassian.com/resource', $this->callback(function(array $options): bool { |
|
| 34 | 34 | $this->assertArrayHasKey('Authorization', $options['headers']); |
| 35 | 35 | $this->assertStringStartsWith('JWT', $options['headers']['Authorization']); |
| 36 | 36 | |
@@ -54,7 +54,7 @@ discard block |
||
| 54 | 54 | ->method('request') |
| 55 | 55 | ->withConsecutive( |
| 56 | 56 | ['POST', 'https://oauth-2-authorization-server.services.atlassian.com/oauth2/token', $this->anything()], |
| 57 | - ['GET', 'https://app.atlassian.com/resource', $this->callback(function (array $options): bool { |
|
| 57 | + ['GET', 'https://app.atlassian.com/resource', $this->callback(function(array $options): bool { |
|
| 58 | 58 | $this->assertEquals('Bearer token', $options['headers']['Authorization']); |
| 59 | 59 | |
| 60 | 60 | return true; |
@@ -25,7 +25,7 @@ |
||
| 25 | 25 | use Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorageInterface; |
| 26 | 26 | use Twig\Environment; |
| 27 | 27 | |
| 28 | -return static function (ContainerConfigurator $container) { |
|
| 28 | +return static function(ContainerConfigurator $container) { |
|
| 29 | 29 | $container->parameters() |
| 30 | 30 | ->set('atlassian_connect_license_listener_class', LicenseListener::class) |
| 31 | 31 | ->set('atlassian_connect_jwt_user_provider_class', JWTUserProvider::class) |