Skip to content

Commit 974600b

Browse files
committed
bug #202 Fix Ci (ajgarlag)
This PR was squashed before being merged into the 0.9-dev branch. Discussion ---------- Fix Ci - Fix CS - Fix failing tests related to thephpleague/oauth2-server#1298 Commits ------- 9dfd8cc Fix tests 568c7de Fix CS
2 parents 44272ff + 9dfd8cc commit 974600b

18 files changed

+32
-32
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
"ext-openssl": "*",
2121
"doctrine/doctrine-bundle": "^2.8.0",
2222
"doctrine/orm": "^2.14|^3.0",
23-
"league/oauth2-server": "^9",
23+
"league/oauth2-server": "^9.0.1",
2424
"nyholm/psr7": "^1.4",
2525
"psr/http-factory": "^1.0",
2626
"symfony/event-dispatcher": "^5.4|^6.2|^7.0",

src/Command/ClearExpiredTokensCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ final class ClearExpiredTokensCommand extends Command
3535
public function __construct(
3636
AccessTokenManagerInterface $accessTokenManager,
3737
RefreshTokenManagerInterface $refreshTokenManager,
38-
AuthorizationCodeManagerInterface $authorizationCodeManager
38+
AuthorizationCodeManagerInterface $authorizationCodeManager,
3939
) {
4040
parent::__construct();
4141

src/Controller/AuthorizationController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ public function __construct(
6868
ClientManagerInterface $clientManager,
6969
HttpMessageFactoryInterface $httpMessageFactory,
7070
HttpFoundationFactoryInterface $httpFoundationFactory,
71-
ResponseFactoryInterface $responseFactory
71+
ResponseFactoryInterface $responseFactory,
7272
) {
7373
$this->server = $server;
7474
$this->eventDispatcher = $eventDispatcher;

src/Controller/TokenController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ public function __construct(
4747
HttpMessageFactoryInterface $httpMessageFactory,
4848
HttpFoundationFactoryInterface $httpFoundationFactory,
4949
ResponseFactoryInterface $responseFactory,
50-
EventDispatcherInterface $eventDispatcher
50+
EventDispatcherInterface $eventDispatcher,
5151
) {
5252
$this->server = $server;
5353
$this->httpMessageFactory = $httpMessageFactory;

src/Manager/Doctrine/ClientManager.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ final class ClientManager implements ClientManagerInterface
3939
public function __construct(
4040
EntityManagerInterface $entityManager,
4141
EventDispatcherInterface $dispatcher,
42-
string $clientFqcn
42+
string $clientFqcn,
4343
) {
4444
$this->entityManager = $entityManager;
4545
$this->dispatcher = $dispatcher;

src/Model/AccessToken.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ public function __construct(
4848
\DateTimeInterface $expiry,
4949
ClientInterface $client,
5050
?string $userIdentifier,
51-
array $scopes
51+
array $scopes,
5252
) {
5353
$this->identifier = $identifier;
5454
$this->expiry = $expiry;

src/Model/AuthorizationCode.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ public function __construct(
4848
\DateTimeInterface $expiry,
4949
ClientInterface $client,
5050
?string $userIdentifier,
51-
array $scopes
51+
array $scopes,
5252
) {
5353
$this->identifier = $identifier;
5454
$this->expiry = $expiry;

src/Repository/AccessTokenRepository.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ final class AccessTokenRepository implements AccessTokenRepositoryInterface
3535
public function __construct(
3636
AccessTokenManagerInterface $accessTokenManager,
3737
ClientManagerInterface $clientManager,
38-
ScopeConverterInterface $scopeConverter
38+
ScopeConverterInterface $scopeConverter,
3939
) {
4040
$this->accessTokenManager = $accessTokenManager;
4141
$this->clientManager = $clientManager;

src/Repository/AuthCodeRepository.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ final class AuthCodeRepository implements AuthCodeRepositoryInterface
3434
public function __construct(
3535
AuthorizationCodeManagerInterface $authorizationCodeManager,
3636
ClientManagerInterface $clientManager,
37-
ScopeConverterInterface $scopeConverter
37+
ScopeConverterInterface $scopeConverter,
3838
) {
3939
$this->authorizationCodeManager = $authorizationCodeManager;
4040
$this->clientManager = $clientManager;

src/Repository/RefreshTokenRepository.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ final class RefreshTokenRepository implements RefreshTokenRepositoryInterface
2626

2727
public function __construct(
2828
RefreshTokenManagerInterface $refreshTokenManager,
29-
AccessTokenManagerInterface $accessTokenManager
29+
AccessTokenManagerInterface $accessTokenManager,
3030
) {
3131
$this->refreshTokenManager = $refreshTokenManager;
3232
$this->accessTokenManager = $accessTokenManager;

0 commit comments

Comments
 (0)