Skip to content

Commit

Permalink
Merge pull request #1129 from rlcurrall/patch-1
Browse files Browse the repository at this point in the history
docs: address issue with incorrect code snippet
  • Loading branch information
SenseException authored Mar 2, 2021
2 parents 9112d14 + 0063224 commit 34b4f7f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions docs/en/reference/custom-configuration.rst
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Once you have your custom integration setup, you can modify it to look like the
use Doctrine\DBAL\DriverManager;
use Doctrine\Migrations\Configuration\Configuration;
use Doctrine\Migrations\Configuration\Connection\ExistingConnection;
use Doctrine\Migrations\Configuration\Configuration\ExistingConfiguration;
use Doctrine\Migrations\Configuration\Migration\ExistingConfiguration;
use Doctrine\Migrations\DependencyFactory;
use Doctrine\Migrations\Metadata\Storage\TableMetadataStorageConfiguration;
use Doctrine\Migrations\Tools\Console\Command;
Expand All @@ -34,7 +34,6 @@ Once you have your custom integration setup, you can modify it to look like the
$configuration = new Configuration($connection);
$configuration->setName('My Project Migrations');
$configuration->addMigrationsDirectory('MyProject\Migrations', '/data/doctrine/migrations-docs-example/lib/MyProject/Migrations');
$configuration->setAllOrNothing(true);
$configuration->setCheckDatabasePlatform(false);
Expand Down

0 comments on commit 34b4f7f

Please sign in to comment.