Fix test psalm. #1189
Annotations
1 warning
PHP 8.1-ubuntu-latest:
src/Driver.php#L32
Escaped Mutant for Mutator "MethodCallRemoval":
--- Original
+++ New
@@ @@
$pdo->exec('SET NAMES ' . $pdo->quote($this->charset));
}
if ($this->charset === null && !str_contains($this->dsn, 'charset')) {
- $pdo->exec('SET NAMES ' . $pdo->quote('utf8mb4'));
+
}
return $pdo;
}
|