How can I run the doctrine 2 migration command without interaction?
Currently, I have the following command that runs when setting up my unit tests. But it always asks for user input Yes / No, even when I use the -no-interaction option.
$input = new Symfony\Components\Console\Input\ArrayInput( array( 'migrations:migrate', '--configuration' => APPLICATION_PATH . '/../doctrine/migrations.xml', '--no-interaction', ) ); $cli->run($input);
php unit-testing phpunit zend-framework doctrine
tom
source share