Skip to content

[SecurityBundle] Make ExpressionCacheWarmer class final #60965

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions UPGRADE-8.0.md
Original file line number Diff line number Diff line change
Expand Up @@ -386,6 +386,8 @@ SecurityBundle
- `'all'`: Equivalent to `hide_user_not_found: false` (exposes all security-related errors)
- `'account_status'`: A new option that only exposes account status errors (e.g., account locked, disabled)

* Make `ExpressionCacheWarmer` class `final`

Serializer
----------

Expand Down
1 change: 1 addition & 0 deletions src/Symfony/Bundle/SecurityBundle/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ CHANGELOG

* Remove the deprecated `hide_user_not_found` configuration option, use `expose_security_errors` instead
* Remove `LazyFirewallContext::__invoke()`
* Make `ExpressionCacheWarmer` class `final`

7.4
---
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,7 @@
use Symfony\Component\HttpKernel\CacheWarmer\CacheWarmerInterface;
use Symfony\Component\Security\Core\Authorization\ExpressionLanguage;

/**
* @final since Symfony 7.1
*/
class ExpressionCacheWarmer implements CacheWarmerInterface
final class ExpressionCacheWarmer implements CacheWarmerInterface
{
/**
* @param iterable<mixed, Expression|string> $expressions
Expand Down
Loading