Skip to content

Commit 1708789

Browse files
committed
minor symfony#51672 Fix incompatibility between security-bundle 6.4 and security-http 7.0 (alexander-schranz)
This PR was merged into the 6.4 branch. Discussion ---------- Fix incompatibility between security-bundle 6.4 and security-http 7.0 | Q | A | ------------- | --- | Branch? | 6.4 | Bug fix? | yes | New feature? | no <!-- please update src/**/CHANGELOG.md files --> | Deprecations? | no <!-- please update UPGRADE-*.md and src/**/CHANGELOG.md files --> | Tickets | Fix #... <!-- prefix each issue number with "Fix #", no need to create an issue if none exists, explain below instead --> | License | MIT | Doc PR | symfony/symfony-docs#... <!-- required for new features --> The security-bundle 6.4 is not compatible with security-http 7.0: > PHP Fatal error: Declaration of > `Sulu\Bundle\SecurityBundle\Security\AuthenticationEntryPoint::start(` > `Symfony\Component\HttpFoundation\Request $request, ?Symfony\Component\Security\Core\Exception\AuthenticationException $authException = null)` > must be compatible with > `Symfony\Component\Security\Http\EntryPoint\AuthenticationEntryPointInterface::start(` > `Symfony\Component\HttpFoundation\Request $request, ?Symfony\Component\Security\Core\Exception\AuthenticationException $authException = null): Symfony\Component\HttpFoundation\Response` > in /home/runner/work/sulu/sulu/src/Sulu/Bundle/SecurityBundle/Security/AuthenticationEntryPoint.php on line 25 Commits ------- 2a8f8f8 Fix incompatibility between security-bundle 6.4 and security-http 7.0
2 parents 36161f0 + 2a8f8f8 commit 1708789

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Bundle/SecurityBundle/composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
"symfony/password-hasher": "^5.4|^6.0|^7.0",
3030
"symfony/security-core": "^6.2|^7.0",
3131
"symfony/security-csrf": "^5.4|^6.0|^7.0",
32-
"symfony/security-http": "^6.3.4|^7.0"
32+
"symfony/security-http": "^6.3.4"
3333
},
3434
"require-dev": {
3535
"symfony/asset": "^5.4|^6.0|^7.0",

0 commit comments

Comments
 (0)