Skip to content

Commit

Permalink
Support Symfony 7 (#365)
Browse files Browse the repository at this point in the history
* Support Symfony 7

* Fix Symfony 7 compatibility
  • Loading branch information
endroid authored Nov 11, 2023
1 parent 71ec44c commit 58cb94c
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion Security/Http/Authenticator/RefreshTokenAuthenticator.php
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ public function onAuthenticationFailure(Request $request, AuthenticationExceptio
return $this->failureHandler->onAuthenticationFailure($request, $exception);
}

public function start(Request $request, AuthenticationException $authException = null): ?Response
public function start(Request $request, AuthenticationException $authException = null): Response
{
$event = new RefreshTokenNotFoundEvent(
new MissingTokenException('JWT Refresh Token not found', 0, $authException),
Expand Down
24 changes: 12 additions & 12 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,18 +16,18 @@
"php": ">=7.4",
"doctrine/persistence": "^1.3.3|^2.0|^3.0",
"lexik/jwt-authentication-bundle": "^2.0|^3.0",
"symfony/config": "^4.4|^5.4|^6.0",
"symfony/console": "^4.4|^5.4|^6.0",
"symfony/dependency-injection": "^4.4|^5.4|^6.0",
"symfony/config": "^4.4|^5.4|^6.0|^7.0",
"symfony/console": "^4.4|^5.4|^6.0|^7.0",
"symfony/dependency-injection": "^4.4|^5.4|^6.0|^7.0",
"symfony/deprecation-contracts": "^2.1|^3.0",
"symfony/event-dispatcher": "^4.4|^5.4|^6.0",
"symfony/http-foundation": "^4.4|^5.4|^6.0",
"symfony/http-kernel": "^4.4|^5.4|^6.0",
"symfony/event-dispatcher": "^4.4|^5.4|^6.0|^7.0",
"symfony/http-foundation": "^4.4|^5.4|^6.0|^7.0",
"symfony/http-kernel": "^4.4|^5.4|^6.0|^7.0",
"symfony/polyfill-php80": "^1.15",
"symfony/property-access": "^4.4|^5.4|^6.0",
"symfony/security-bundle": "^4.4|^5.4|^6.0",
"symfony/security-core": "^4.4|^5.4|^6.0",
"symfony/security-http": "^4.4|^5.4|^6.0"
"symfony/property-access": "^4.4|^5.4|^6.0|^7.0",
"symfony/security-bundle": "^4.4|^5.4|^6.0|^7.0",
"symfony/security-core": "^4.4|^5.4|^6.0|^7.0",
"symfony/security-http": "^4.4|^5.4|^6.0|^7.0"
},
"require-dev": {
"doctrine/annotations": "^1.13|^2.0",
Expand All @@ -37,8 +37,8 @@
"matthiasnoback/symfony-config-test": "^4.2",
"matthiasnoback/symfony-dependency-injection-test": "^4.2",
"phpunit/phpunit": "^9.5",
"symfony/cache": "^4.4|^5.4|^6.0",
"symfony/security-guard": "^4.4|^5.4"
"symfony/cache": "^4.4|^5.4|^6.0|^7.0",
"symfony/security-guard": "^4.4|^5.4|^6.0|^7.0"
},
"conflict": {
"doctrine/mongodb-odm": "<2.2",
Expand Down

0 comments on commit 58cb94c

Please sign in to comment.