Skip to content

Commit 558e3ef

Browse files
committed
feat(o10r-symfony-template-154): Upgrade doctrine/orm to 3.* version - add doctrine dbal 4.0 support
1 parent 6676497 commit 558e3ef

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Database/DatabaseManagerFactory.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
use Doctrine\Common\DataFixtures\Executor\ORMExecutor;
1010
use Doctrine\Common\DataFixtures\Purger\ORMPurger;
1111
use Doctrine\DBAL\Platforms\PostgreSQLPlatform;
12-
use Doctrine\DBAL\Platforms\SqlitePlatform;
12+
use Doctrine\DBAL\Platforms\SQLitePlatform;
1313
use Doctrine\Migrations\Metadata\Storage\TableMetadataStorageConfiguration;
1414
use Doctrine\ORM\EntityManagerInterface;
1515
use Psr\Log\LoggerInterface;
@@ -43,7 +43,7 @@ public function createDatabaseManager(
4343
$databasePlatform = $entityManager->getConnection()->getDatabasePlatform();
4444
$connection = $entityManager->getConnection();
4545

46-
if ($databasePlatform instanceof SqlitePlatform) {
46+
if ($databasePlatform instanceof SQLitePlatform) {
4747
$consoleManager = new SqliteConsoleManager();
4848
return new SqliteDatabaseManager(
4949
$consoleManager,

0 commit comments

Comments
 (0)