Add SQLite Patch integration tests
- Use multiple-class use statements
This commit is contained in:
@@ -27,7 +27,9 @@ class Custom
|
||||
$stmt = Configuration::dbConn()->prepare($query);
|
||||
} catch (PDOException $ex) {
|
||||
$keyword = explode(' ', $query, 2)[0];
|
||||
throw new DocumentException("Error executing $keyword statement: " . Configuration::dbConn()->errorCode(),
|
||||
throw new DocumentException(
|
||||
sprintf("Error executing %s statement: [%s] %s", $keyword, Configuration::dbConn()->errorCode(),
|
||||
Configuration::dbConn()->errorInfo()[2]),
|
||||
previous: $ex);
|
||||
}
|
||||
foreach ($parameters as $key => $value) {
|
||||
|
||||
Reference in New Issue
Block a user