Skip to content

Commit 94e3bc5

Browse files
Merge branch '5.4' into 6.2
* 5.4: [DependencyInjection] Skip errored definitions deep-referenced as runtime exceptions [Messenger] Preserve existing Doctrine schema [HttpClient] Explicitly exclude CURLOPT_POSTREDIR
2 parents b2d34ad + f66be27 commit 94e3bc5

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Session/Storage/Handler/SessionHandlerFactory.php

+1-2
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
use Doctrine\DBAL\DriverManager;
1616
use Doctrine\DBAL\Schema\DefaultSchemaManagerFactory;
1717
use Doctrine\DBAL\Tools\DsnParser;
18-
use Doctrine\ORM\ORMSetup;
1918
use Symfony\Component\Cache\Adapter\AbstractAdapter;
2019

2120
/**
@@ -71,7 +70,7 @@ public static function createHandler(object|string $connection, array $options =
7170
}
7271
$connection[3] = '-';
7372
$params = class_exists(DsnParser::class) ? (new DsnParser())->parse($connection) : ['url' => $connection];
74-
$config = class_exists(ORMSetup::class) ? ORMSetup::createConfiguration(true) : new Configuration();
73+
$config = new Configuration();
7574
if (class_exists(DefaultSchemaManagerFactory::class)) {
7675
$config->setSchemaManagerFactory(new DefaultSchemaManagerFactory());
7776
}

0 commit comments

Comments
 (0)