-
-
Notifications
You must be signed in to change notification settings - Fork 9.8k
[DoctrineBridge] Deprecate AbstractDoctrineExtension
#61992
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
Conversation
AbstractDoctrineExtensionAbstractDoctrineExtension
e937616 to
5b8695c
Compare
src/Symfony/Bridge/Doctrine/DependencyInjection/AbstractDoctrineExtension.php
Outdated
Show resolved
Hide resolved
src/Symfony/Bridge/Doctrine/DependencyInjection/AbstractDoctrineExtension.php
Outdated
Show resolved
Hide resolved
| /** | ||
| * @author Fabio B. Silva <[email protected]> | ||
| */ | ||
| #[IgnoreDeprecations] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We can specify which deprecation message is ignored: sebastianbergmann/phpunit#6341
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No we cannot. Our CI uses PHPUnit 11.4. The PR you linked is part of PHPUnit 12.4 (which requires PHP 8.4+)
4049eba to
4115211
Compare
|
Thank you @GromNaN. |
…romNaN) This PR was squashed before being merged into the 8.0 branch. Discussion ---------- [DoctrineBridge] Remove `AbstractDoctrineExtension` | Q | A | ------------- | --- | Branch? | 8.0 | Bug fix? | no | New feature? | no | Deprecations? | no | Issues | Follows #61992 | License | MIT Commits ------- 00b19ad [DoctrineBridge] Remove `AbstractDoctrineExtension`
The
AbstractDoctrineExtensionis only used byDoctrineBundleandDoctrineMongoDBODMBundle. It's not used directly by applications.Having this abstract class makes changing the configuration structure complex. In order to ease maintenance and evolution, the class is inlined into bundle's extension classes.
DoctrineBundle: Inline parent class code doctrine/DoctrineBundle#2076DoctrineMongoDBBundle: InlineAbstractDoctrineExtensionfrom Symfony Doctrine bridge doctrine/DoctrineMongoDBBundle#923