Skip to content

[DoctrineBridge] Make ProxyCacheWarmer class final #60972

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 @@ -134,6 +134,8 @@ DoctrineBridge
$type = $extractor->getType(Foo::class, 'property');
```

* Make `ProxyCacheWarmer` class `final`

Form
----

Expand Down
5 changes: 5 additions & 0 deletions src/Symfony/Bridge/Doctrine/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
CHANGELOG
=========

8.0
---

* Make `ProxyCacheWarmer` class `final`

7.3
---

Expand Down
4 changes: 1 addition & 3 deletions src/Symfony/Bridge/Doctrine/CacheWarmer/ProxyCacheWarmer.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,8 @@
* since this information is necessary to build the proxies in the first place.
*
* @author Benjamin Eberlei <kontakt@beberlei.de>
*
* @final since Symfony 7.1
*/
class ProxyCacheWarmer implements CacheWarmerInterface
final class ProxyCacheWarmer implements CacheWarmerInterface
{
public function __construct(
private readonly ManagerRegistry $registry,
Expand Down
Loading