Skip to content

Commit

Permalink
Merge pull request #915 from goetas/class-import
Browse files Browse the repository at this point in the history
Import the right ExistingConfiguration class
  • Loading branch information
goetas authored Jan 15, 2020
2 parents 0e881ea + f046eff commit 74c4081
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
use Doctrine\Migrations\AbstractMigration;
use Doctrine\Migrations\Configuration\Configuration;
use Doctrine\Migrations\Configuration\Connection\ExistingConnection;
use Doctrine\Migrations\Configuration\Migration\ExistingConfiguration;
use Doctrine\Migrations\DependencyFactory;
use Doctrine\Migrations\Metadata\Storage\MetadataStorage;
use Doctrine\Migrations\Metadata\Storage\TableMetadataStorageConfiguration;
Expand Down Expand Up @@ -46,7 +47,7 @@ protected function setUp() : void
$conn = $this->getSqliteConnection();

$dependencyFactory = DependencyFactory::fromConnection(
new Configuration\ExistingConfiguration($configuration),
new ExistingConfiguration($configuration),
new ExistingConnection($conn)
);

Expand Down

0 comments on commit 74c4081

Please sign in to comment.