Skip to content

Conversation

@GromNaN
Copy link
Member

@GromNaN GromNaN commented Oct 7, 2025

Q A
Branch? 7.4
Bug fix? no
New feature? no
Deprecations? yes (no instruction necessary)
Issues -
License MIT

The AbstractDoctrineExtension is only used by DoctrineBundle and DoctrineMongoDBODMBundle. 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.

@carsonbot carsonbot added this to the 7.4 milestone Oct 7, 2025
@carsonbot carsonbot changed the title [DoctrineBridge] Deprecate AbstractDoctrineExtension [DoctrineBridge] Deprecate AbstractDoctrineExtension Oct 7, 2025
@GromNaN GromNaN force-pushed the doctrine-abstract branch 2 times, most recently from e937616 to 5b8695c Compare October 7, 2025 13:53
/**
* @author Fabio B. Silva <[email protected]>
*/
#[IgnoreDeprecations]
Copy link
Member Author

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

Copy link
Member

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+)

@nicolas-grekas
Copy link
Member

Thank you @GromNaN.

@nicolas-grekas nicolas-grekas merged commit bf39118 into symfony:7.4 Oct 8, 2025
9 of 11 checks passed
nicolas-grekas added a commit that referenced this pull request Oct 8, 2025
…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`
@GromNaN GromNaN deleted the doctrine-abstract branch October 8, 2025 10:20
This was referenced Oct 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants