doctrine / DoctrineFixturesBundle

Symfony integration for the doctrine/data-fixtures library
MIT License
2.45k stars 202 forks source link

Fix deprecation on load fixtures command #280

Closed yceruto closed 5 years ago

yceruto commented 5 years ago
  1x: The "Doctrine\Bundle\FixturesBundle\Command\LoadDataFixturesDoctrineCommand" constructor expects a "Doctrine\Common\Persistence\ManagerRegistry" instance as first argument, not passing it will throw a \TypeError in DoctrineBundle 2.0.
    1x in Application::run from Symfony\Bundle\FrameworkBundle\Console
  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
alcaeus commented 5 years ago

Thanks @yceruto!

yceruto commented 5 years ago

@alcaeus Is there a plan to release a new version to get rid of this warning everywhere? Thank you.

alcaeus commented 5 years ago

I’ll take time to do some housekeeping in the bundle next week 👍

alcaeus commented 5 years ago

3.2.0 is released. Thanks @yceruto!