Skip to content
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

Remove deprecated parameters #821

Merged
merged 2 commits into from
Dec 20, 2023

Conversation

GromNaN
Copy link
Member

@GromNaN GromNaN commented Dec 19, 2023

Revert deprecation pass from #811 and remove all deprecated parameters.

@GromNaN GromNaN added this to the 5.0.0 milestone Dec 19, 2023
@GromNaN GromNaN merged commit 983ec4c into doctrine:5.0.x Dec 20, 2023
12 checks passed
@GromNaN GromNaN deleted the remove-deprecated-parameters branch December 20, 2023 09:18
@GromNaN GromNaN mentioned this pull request Dec 21, 2023
@GromNaN GromNaN added the Task label Dec 22, 2023
nicolas-grekas added a commit to symfony/symfony that referenced this pull request Jan 30, 2024
…rineExtension (GromNaN)

This PR was squashed before being merged into the 6.4 branch.

Discussion
----------

[DoctrineBridge]  Fix detection of Xml/Yaml driver in DoctrineExtension

| Q             | A
| ------------- | ---
| Branch?       | 6.4
| Bug fix?      | yes
| New feature?  | no
| Deprecations? | no
| Issues        | Fix doctrine/DoctrineMongoDBBundle#841
| License       | MIT

In DoctrineMongoDBBundle v5, we removed `.class` attributes to plain class names in service definitions (see doctrine/DoctrineMongoDBBundle#821). The class for `doctrine_mongodb.odm.default_xml_metadata_driver` changed from `doctrine_mongodb.odm.metadata.xml.class` to `Doctrine\Bundle\MongoDBBundle\Mapping\Driver\XmlDriver`.

I fixed the detection of the driver by checking the uppercase `Xml` and `Yaml` because it might be necessary if the same change is made to DoctrineBundle.

[`doctrine/mongodb-odm-bundle` requires `symfony/doctrine-bridge: "^6.4 || ^7.0"`](https://github.com/doctrine/DoctrineMongoDBBundle/blob/4d8d32b726e7af21a562a2b6a227f0496c7d39d5/composer.json#L36) so this patch if not required for older versions of Symfony even if it could be applied.

Commits
-------

662b8f2 [DoctrineBridge]  Fix detection of Xml/Yaml driver in DoctrineExtension
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants