doctrine/migrations — pull request #49 by meckhardt (2011-10-12 06:57:54+00:00)
Title: PHAR standalone broken, when packaging manually

The PHAR standalone is broken, when packaged manually.

For instance:

$ git clone --reference https://github.com/doctrine/migrations.git
$ cd migrations
$ php package.php
$ php build/doctrine-migrations.phar migrations:status
=> PHP Fatal error: Call to undefined method Doctrine\DBAL\Migrations\Tools\Console\Command\StatusCommand::getApplication() in phar:///Users/martin/workspace/doctrine-migrations2/build/doctrine-migrations.phar/Doctrine/DBAL/Migrations/Tools/Console/Command/AbstractCommand.php on line 82

This fix changes the package.php file to use the symfony components in lib/vendor/ instead of lib/vendor/doctrine-dbal/lib/vendor.

Regards,
Martin