Showing 3 of 7 total issues
Method __construct
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
$message = "", $code = 0, Throwable $previous = null, string $query = null, array $values = null
Function valueToString
has a Cognitive Complexity of 7 (exceeds 5 allowed). Consider refactoring. Open
Open
protected function valueToString($value): string { if ($value === false) { return 'false'; }
- Read upRead up
Function bindValue
has a Cognitive Complexity of 6 (exceeds 5 allowed). Consider refactoring. Open
Open
protected function bindValue(\PDOStatement $statement, $name, $value) { if ($value !== null && !is_scalar($value)) { throw new InvalidArgumentException(sprintf( 'Bound value %s expected to be scalar or null, a %s given',
- Read upRead up