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

Deprecation message about DoctrineCommand::getContainer #978

Closed
javiereguiluz opened this issue Jun 1, 2019 · 2 comments
Closed

Deprecation message about DoctrineCommand::getContainer #978

javiereguiluz opened this issue Jun 1, 2019 · 2 comments

Comments

@javiereguiluz
Copy link
Contributor

In my Travis CI tests I can see this:

1x: The "Doctrine\Bundle\DoctrineBundle\Command\DoctrineCommand::getContainer()" method is deprecated and will be removed in DoctrineBundle 2.0.
    1x in Application::run from Symfony\Bundle\FrameworkBundle\Console

I'm not calling that method myself ... so my guess is that DoctrineBundle itself or other Doctrine bundle is calling to it. Can you help me? Thanks!

These are the versions used for all Doctrine packages:

  - Installing doctrine/instantiator (1.2.0): Loading from cache
  - Installing doctrine/event-manager (v1.0.0): Loading from cache
  - Installing doctrine/cache (v1.8.0): Loading from cache
  - Installing doctrine/dbal (v2.9.2): Loading from cache
  - Installing doctrine/lexer (v1.0.1): Loading from cache
  - Installing doctrine/annotations (v1.6.1): Loading from cache
  - Installing doctrine/reflection (v1.0.0): Loading from cache
  - Installing doctrine/collections (v1.6.1): Loading from cache
  - Installing doctrine/persistence (1.1.1): Loading from cache
  - Installing doctrine/inflector (v1.3.0): Loading from cache
  - Installing doctrine/common (v2.10.0): Loading from cache
  - Installing doctrine/orm (v2.6.3): Loading from cache
  - Installing doctrine/doctrine-cache-bundle (1.3.5): Loading from cache
  - Installing doctrine/doctrine-bundle (1.11.1): Loading from cache
  - Installing doctrine/data-fixtures (v1.3.1): Loading from cache
  - Installing doctrine/doctrine-fixtures-bundle (3.1.0): Loading from cache
@yceruto
Copy link

yceruto commented Jun 1, 2019

DoctrineFixturesBundle could be one cause, also fixed in doctrine/DoctrineFixturesBundle#280

@javiereguiluz
Copy link
Contributor Author

Yes! I didn't see your merged pull request. I'm sorry. I'm closing as "fixed" and will reopen if the error persist after the new version is released. Thanks.

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

No branches or pull requests

2 participants