/**
  * @SuppressWarnings(PHPMD.ElseExpression)
  **/
 protected function echoMigrationTable($ran, $migrationFiles)
 {
     if (count($migrationFiles) === 0) {
         $this->echoInfo('No migration files found.');
         return;
     }
     $table = new Table();
     $table->row()->bold('Ran')->bold('Migration');
     foreach ($migrationFiles as $migration) {
         $migrationName = $this->migrator->getMigrationName($migration);
         $table->row();
         if (in_array($migrationName, $ran)) {
             $table->green('Y');
         } else {
             $table->red('N');
         }
         $table->cell($migrationName);
     }
     $table->write();
 }