Skip to content

Commit

Permalink
feat(o10r-symfony-template-154): Upgrade doctrine/orm to 3.* version …
Browse files Browse the repository at this point in the history
…- add doctrine dbal 4.0 support
  • Loading branch information
serhiidonii committed Jul 16, 2024
1 parent 6676497 commit 558e3ef
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Database/DatabaseManagerFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
use Doctrine\Common\DataFixtures\Executor\ORMExecutor;
use Doctrine\Common\DataFixtures\Purger\ORMPurger;
use Doctrine\DBAL\Platforms\PostgreSQLPlatform;
use Doctrine\DBAL\Platforms\SqlitePlatform;
use Doctrine\DBAL\Platforms\SQLitePlatform;
use Doctrine\Migrations\Metadata\Storage\TableMetadataStorageConfiguration;
use Doctrine\ORM\EntityManagerInterface;
use Psr\Log\LoggerInterface;
Expand Down Expand Up @@ -43,7 +43,7 @@ public function createDatabaseManager(
$databasePlatform = $entityManager->getConnection()->getDatabasePlatform();
$connection = $entityManager->getConnection();

if ($databasePlatform instanceof SqlitePlatform) {
if ($databasePlatform instanceof SQLitePlatform) {
$consoleManager = new SqliteConsoleManager();
return new SqliteDatabaseManager(
$consoleManager,
Expand Down

0 comments on commit 558e3ef

Please sign in to comment.