Skip to content

Commit cc48d05

Browse files
Merge branch '4.4' into 5.0
* 4.4: Add: ExcludeList usage for PHPUnit 9.4 [Cache] Fix compat wth DBAL v3
2 parents 444da17 + 4d44187 commit cc48d05

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
@@ -316,16 +316,21 @@ private function getDriver(): string
316316
$this->driver = 'mysql';
317317
break;
318318
case $driver instanceof \Doctrine\DBAL\Driver\PDOSqlite\Driver:
319+
case $driver instanceof \Doctrine\DBAL\Driver\PDO\SQLite\Driver:
319320
$this->driver = 'sqlite';
320321
break;
321322
case $driver instanceof \Doctrine\DBAL\Driver\PDOPgSql\Driver:
323+
case $driver instanceof \Doctrine\DBAL\Driver\PDO\PgSQL\Driver:
322324
$this->driver = 'pgsql';
323325
break;
324326
case $driver instanceof \Doctrine\DBAL\Driver\OCI8\Driver:
325327
case $driver instanceof \Doctrine\DBAL\Driver\PDOOracle\Driver:
328+
case $driver instanceof \Doctrine\DBAL\Driver\PDO\OCI\Driver:
326329
$this->driver = 'oci';
327330
break;
328331
case $driver instanceof \Doctrine\DBAL\Driver\SQLSrv\Driver:
332+
case $driver instanceof \Doctrine\DBAL\Driver\PDOSqlsrv\Driver:
333+
case $driver instanceof \Doctrine\DBAL\Driver\PDO\SQLSrv\Driver:
329334
$this->driver = 'sqlsrv';
330335
break;
331336
default:

0 commit comments

Comments
 (0)