Skip to content

drivers WIP

drivers WIP #116

Triggered via push September 3, 2024 15:16
Status Success
Total duration 26s
Artifacts
Fit to window
Zoom out
Zoom in

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/Firebird/Connection.php#L96
Strict comparison using === between resource and false will always evaluate to false.
PHPStan: src/Dibi/Drivers/Firebird/Connection.php#L99
Parameter #2 $code of class Dibi\ProcedureException constructor expects int, string given.
PHPStan: src/Dibi/Drivers/Firebird/Connection.php#L140
Parameter #1 $trans_args of function ibase_trans expects int, resource|null given.
PHPStan: src/Dibi/Drivers/Firebird/Result.php#L57
Parameter #2 $code of class Dibi\ProcedureException constructor expects int, string given.
PHPStan: src/Dibi/Drivers/MySQLi/Connection.php#L258
Dead catch - Throwable is never thrown in the try block.
PHPStan: src/Dibi/Drivers/PgSQL/Connection.php#L67
Parameter #1 $callback of function set_error_handler expects (callable(int, string, string, int): bool)|null, Closure(int, string): void given.
PHPStan: src/Dibi/Drivers/PgSQL/Connection.php#L125
Parameter #1 $resource of method Dibi\Drivers\PgSQL\Connection::createResultDriver() expects resource, PgSql\Result given.