Skip to content

Commit 618c484

Browse files
minor #60965 [SecurityBundle] Make ExpressionCacheWarmer class final (OskarStark)
This PR was merged into the 8.0 branch. Discussion ---------- [SecurityBundle] Make `ExpressionCacheWarmer` class `final` | Q | A | ------------- | --- | Branch? | 8.0 | Bug fix? | no | New feature? | no | Deprecations? | no | Issues | -- | License | MIT Commits ------- 0917152 [SecurityBundle] Make `ExpressionCacheWarmer` class `final`
2 parents 668b262 + 0917152 commit 618c484

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

UPGRADE-8.0.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -390,6 +390,8 @@ SecurityBundle
390390
- `'all'`: Equivalent to `hide_user_not_found: false` (exposes all security-related errors)
391391
- `'account_status'`: A new option that only exposes account status errors (e.g., account locked, disabled)
392392

393+
* Make `ExpressionCacheWarmer` class `final`
394+
393395
Serializer
394396
----------
395397

src/Symfony/Bundle/SecurityBundle/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ CHANGELOG
66

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

1011
7.4
1112
---

src/Symfony/Bundle/SecurityBundle/CacheWarmer/ExpressionCacheWarmer.php

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,7 @@
1515
use Symfony\Component\HttpKernel\CacheWarmer\CacheWarmerInterface;
1616
use Symfony\Component\Security\Core\Authorization\ExpressionLanguage;
1717

18-
/**
19-
* @final since Symfony 7.1
20-
*/
21-
class ExpressionCacheWarmer implements CacheWarmerInterface
18+
final class ExpressionCacheWarmer implements CacheWarmerInterface
2219
{
2320
/**
2421
* @param iterable<mixed, Expression|string> $expressions

0 commit comments

Comments
 (0)