Skip to content

Commit e0ad0d1

Browse files
Merge branch '6.2' into 6.3
* 6.2: [DependencyInjection] Skip errored definitions deep-referenced as runtime exceptions [WebProfilerBundle] Fix the accessibility of some background color [WebProfilerBundle] right blocks: fix display [Messenger] Preserve existing Doctrine schema [HttpClient] Explicitly exclude CURLOPT_POSTREDIR
2 parents 76002b1 + 94e3bc5 commit e0ad0d1

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 Relay\Relay;
2019
use Symfony\Component\Cache\Adapter\AbstractAdapter;
2120

@@ -73,7 +72,7 @@ public static function createHandler(object|string $connection, array $options =
7372
}
7473
$connection[3] = '-';
7574
$params = class_exists(DsnParser::class) ? (new DsnParser())->parse($connection) : ['url' => $connection];
76-
$config = class_exists(ORMSetup::class) ? ORMSetup::createConfiguration(true) : new Configuration();
75+
$config = new Configuration();
7776
if (class_exists(DefaultSchemaManagerFactory::class)) {
7877
$config->setSchemaManagerFactory(new DefaultSchemaManagerFactory());
7978
}

0 commit comments

Comments
 (0)