Commit 1708789
committed
minor #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.01 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
| 32 | + | |
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| |||
0 commit comments