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

Deprecate some unused DoctrineODMCommand methods #693

Merged
merged 3 commits into from
Sep 1, 2021

Conversation

franmomu
Copy link
Contributor

This PR adds some functional tests to commands that are not proxied from doctrine/mongodb-odm.

It also removes implementing ContainerAwareInterface from DoctrineODMCommand and deprecates some methods that are not used anymore.

@franmomu franmomu changed the title Command deprecations Deprecate some unused DoctrineODMCommand methods Aug 10, 2021
@franmomu franmomu force-pushed the command_deprecations branch 2 times, most recently from 160cd0a to eca62c0 Compare August 10, 2021 14:52
Copy link
Member

@malarzm malarzm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As in another PR with deprecations: could you please add a UPGRADE-4.4.md file mentioning the deprecation and UPGRADE-5.0.md mentioning removal? This way the change won't fall through the cracks when we release 5.0 and it's what we try to do with ODM changes.

@franmomu franmomu force-pushed the command_deprecations branch from 5a3b171 to 440e093 Compare August 17, 2021 11:03
@franmomu franmomu added the Task label Aug 17, 2021
@franmomu franmomu merged commit abbd9b9 into doctrine:4.4.x Sep 1, 2021
@franmomu franmomu deleted the command_deprecations branch September 1, 2021 01:03
hasc pushed a commit to aboutcoders/DoctrineMongoDBBundle that referenced this pull request Sep 10, 2021
* Add tests for Commands

* Remove ContainerAwareInterface and deprecate methods

The deprecated methods are not used anymore.

* Bump symfony/console to 4.4.6
@franmomu franmomu added this to the 4.4.0 milestone Sep 16, 2021
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.

2 participants