Skip to content

Commit

Permalink
Remove FixedExecuteCommand
Browse files Browse the repository at this point in the history
  • Loading branch information
jankonas authored and f3l1x committed Feb 4, 2022
1 parent 289ad73 commit 5319c86
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 28 deletions.
26 changes: 0 additions & 26 deletions src/Command/FixedExecuteCommand.php

This file was deleted.

4 changes: 2 additions & 2 deletions src/DI/MigrationsExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
namespace Nettrine\Migrations\DI;

use Doctrine\Migrations\Tools\Console\Command\DiffCommand;
use Doctrine\Migrations\Tools\Console\Command\ExecuteCommand;
use Doctrine\Migrations\Tools\Console\Command\GenerateCommand;
use Doctrine\Migrations\Tools\Console\Command\LatestCommand;
use Doctrine\Migrations\Tools\Console\Command\MigrateCommand;
Expand All @@ -15,7 +16,6 @@
use Nette\DI\Definitions\Statement;
use Nette\Schema\Expect;
use Nette\Schema\Schema;
use Nettrine\Migrations\Command\FixedExecuteCommand;
use Nettrine\Migrations\ContainerAwareConfiguration;
use stdClass;
use Symfony\Component\Console\Application;
Expand Down Expand Up @@ -70,7 +70,7 @@ public function loadConfiguration(): void
->setAutowired(false)
->addTag('console.command', 'migrations:diff');
$builder->addDefinition($this->prefix('executeCommand'))
->setFactory(FixedExecuteCommand::class)
->setFactory(ExecuteCommand::class)
->setAutowired(false)
->addTag('console.command', 'migrations:execute');
$builder->addDefinition($this->prefix('generateCommand'))
Expand Down

0 comments on commit 5319c86

Please sign in to comment.