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

fix: remove unsupported MongoDB ODM Bundle ^3.0 dependency #35

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

buffcode
Copy link

Removes unsupported doctrine/mongodb-odm-bundle:^3.0 dependency.

Why?

  • this bundle relies on doesntmattr/mongodb-migrations:^3.0 (link)
  • doesntmattr/mongodb-migrations:^3.0 makes use of DocumentManager::getClient (link)
  • DocumentManager::getClient was added in doctrine/mongodb-odm 2.x.
  • latest doctrine/mongodb-odm-bundle (v3.6.2) only supports doctrine/mongodb-odm:^1.2

Ergo this bundle should not have doctrine/mongodb-odm-bundle:^3.0 as supported dependency, as it will install but fail to work with the following set:

{
  "require": {
    "doesntmattr/mongodb-migrations": "^3.0",
    "doctrine/mongodb-odm-bundle": "^3.6"
  }
}

Removes unsupported `doctrine/mongodb-odm-bundle:^3.0` dependency
@buffcode buffcode changed the title fix: ODM Bundle dependency fixed fix: remove unsupported MongoDB ODM Bundle ^3.0 dependency Oct 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant