Annotations
10 errors
PHPStan:
src/Dibi/Bridges/Nette/DibiExtension22.php#L65
Class Nette\DI\Statement does not have a constructor and must be instantiated without any parameters.
|
PHPStan:
src/Dibi/Bridges/Tracy/Panel.php#L137
Variable $counter might not be defined.
|
PHPStan:
src/Dibi/Bridges/Tracy/Panel.php#L154
Strict comparison using === between (float|int) and null will always evaluate to false.
|
PHPStan:
src/Dibi/Drivers/FirebirdDriver.php#L95
Strict comparison using === between resource and false will always evaluate to false.
|
PHPStan:
src/Dibi/Drivers/FirebirdDriver.php#L98
Parameter #2 $code of class Dibi\ProcedureException constructor expects int, string given.
|
PHPStan:
src/Dibi/Drivers/FirebirdDriver.php#L139
Parameter #1 $trans_args of function ibase_trans expects int, resource|null given.
|
PHPStan:
src/Dibi/Drivers/FirebirdResult.php#L56
Parameter #2 $code of class Dibi\ProcedureException constructor expects int, string given.
|
PHPStan:
src/Dibi/Drivers/MySqliDriver.php#L257
Dead catch - Throwable is never thrown in the try block.
|
PHPStan:
src/Dibi/Drivers/PostgreDriver.php#L32
Property Dibi\Drivers\PostgreDriver::$connection has unknown class PgSql\Connection as its type.
|
PHPStan:
src/Dibi/Drivers/PostgreDriver.php#L66
Parameter #1 $callback of function set_error_handler expects (callable(int, string, string, int): bool)|null, Closure(int, string): void given.
|