Details
-
Type:
Bug
-
Status:
Open
-
Priority:
Major
-
Resolution: Unresolved
-
Labels:None
-
Environment:Doctrine 2.0.3, PHP 5.3.5
Description
I get the following error when trying to run doctrine migrations:status in a newly configured setup:
PHP Fatal error: Call to undefined method Doctrine\DBAL\Migrations\Tools\Console\Command\StatusCommand::getApplication() in /library/vendor/migrations/lib/Doctrine/DBAL/Migrations/Tools/Console/Command/AbstractCommand.php on line 82
Changing line 82 of AbstractCommand.php to the following gets it working, but I am unsure of the implications:
if ($this->getHelper('db')) {
I also confirm this behavior. I've also verified that this issue can be resolved by grabbing the latest (HEAD) from the Symfony repo.