Improve look Tracy bar #148
Annotations
10 errors
PHPStan:
src/Utils/Formatter.php#L18
Only booleans are allowed in an if condition, array<mixed>|null given.
|
PHPStan:
src/Utils/Formatter.php#L29
Cannot cast mixed to string.
|
PHPStan:
src/Utils/Formatter.php#L54
Result of || is always false.
|
PHPStan:
src/Utils/Formatter.php#L54
Result of || is always false.
|
PHPStan:
src/Utils/Formatter.php#L54
Strict comparison using === between Doctrine\DBAL\Types\Type|int|string|null and Doctrine\DBAL\ArrayParameterType::INTEGER will always evaluate to false.
|
PHPStan:
src/Utils/Formatter.php#L55
Strict comparison using === between Doctrine\DBAL\Types\Type|int|string|null and Doctrine\DBAL\ArrayParameterType::STRING will always evaluate to false.
|
PHPStan:
src/Utils/Formatter.php#L56
Strict comparison using === between Doctrine\DBAL\Types\Type|int|string|null and Doctrine\DBAL\ArrayParameterType::ASCII will always evaluate to false.
|
PHPStan:
src/Utils/Formatter.php#L77
Parameter #2 $types of class Doctrine\DBAL\ExpandArrayParameters constructor expects array<int<0, max>|string, Doctrine\DBAL\ArrayParameterType|Doctrine\DBAL\ParameterType|Doctrine\DBAL\Types\Type|string>, array<int|string, Doctrine\DBAL\Types\Type|int|string|null> given.
|
PHPStan:
src/Utils/Formatter.php#L80
Method Nettrine\DBAL\Utils\Formatter::expandListParameters() should return array{string, array<int|string, mixed>, array<int|string, Doctrine\DBAL\Types\Type|int|string|null>} but returns array{string, list<mixed>, array<int<0, max>, Doctrine\DBAL\ParameterType|Doctrine\DBAL\Types\Type|string>}.
|
PHPStan:
src/Utils/QueryUtils.php#L18
Construct empty() is not allowed. Use more strict comparison.
|
Loading