Skip to content

Commit 29b61ac

Browse files
Merge branch '5.0' into 5.1
* 5.0: [String] Added a help message when translation-contracts is not installed Add: ExcludeList usage for PHPUnit 9.4 [Cache] Fix compat wth DBAL v3 [String] throw when Alpine is used and translit fails
2 parents bc7bc5e + cc48d05 commit 29b61ac

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Store/PdoStore.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -328,16 +328,21 @@ private function getDriver(): string
328328
$this->driver = 'mysql';
329329
break;
330330
case $driver instanceof \Doctrine\DBAL\Driver\PDOSqlite\Driver:
331+
case $driver instanceof \Doctrine\DBAL\Driver\PDO\SQLite\Driver:
331332
$this->driver = 'sqlite';
332333
break;
333334
case $driver instanceof \Doctrine\DBAL\Driver\PDOPgSql\Driver:
335+
case $driver instanceof \Doctrine\DBAL\Driver\PDO\PgSQL\Driver:
334336
$this->driver = 'pgsql';
335337
break;
336338
case $driver instanceof \Doctrine\DBAL\Driver\OCI8\Driver:
337339
case $driver instanceof \Doctrine\DBAL\Driver\PDOOracle\Driver:
340+
case $driver instanceof \Doctrine\DBAL\Driver\PDO\OCI\Driver:
338341
$this->driver = 'oci';
339342
break;
340343
case $driver instanceof \Doctrine\DBAL\Driver\SQLSrv\Driver:
344+
case $driver instanceof \Doctrine\DBAL\Driver\PDOSqlsrv\Driver:
345+
case $driver instanceof \Doctrine\DBAL\Driver\PDO\SQLSrv\Driver:
341346
$this->driver = 'sqlsrv';
342347
break;
343348
default:

0 commit comments

Comments
 (0)