Commits

Kees Schepers  committed 5b2751f

Using the api function isInteractive instead of using the getOption.

  • Participants
  • Parent commits e1f6efc

Comments (0)

Files changed (1)

File lib/Doctrine/DBAL/Migrations/Tools/Console/Command/MigrateCommand.php

 
         $this->outputHeader($configuration, $output);
 
-        $noInteraction = $input->getOption('no-interaction') ? true : false;
+        $noInteraction = !$input->isInteractive();
 
         $executedMigrations = $configuration->getMigratedVersions();
         $availableMigrations = $configuration->getAvailableVersions();