Skip to content

Driver::getColumns() added 'length' & 'precision' fields, replaces 's… #223

Driver::getColumns() added 'length' & 'precision' fields, replaces 's…

Driver::getColumns() added 'length' & 'precision' fields, replaces 's… #223

Triggered via push August 18, 2024 16:35
Status Success
Total duration 30s
Artifacts
Fit to window
Zoom out
Zoom in

Annotations

10 errors
PHPStan: src/Bridges/DatabaseDI/DatabaseExtension.php#L69
Call to an undefined method Nette\DI\Definitions\Definition::addSetup().
PHPStan: src/Bridges/DatabaseTracy/ConnectionPanel.php#L104
Access to an undefined property PDOException::$queryString.
PHPStan: src/Bridges/DatabaseTracy/ConnectionPanel.php#L168
Anonymous function has an unused use $connection.
PHPStan: src/Bridges/DatabaseTracy/ConnectionPanel.php#L168
Anonymous function has an unused use $queries.
PHPStan: src/Bridges/DatabaseTracy/ConnectionPanel.php#L168
Variable $connection might not be defined.
PHPStan: src/Database/DriverException.php#L24
Unsafe usage of new static().
PHPStan: src/Database/Drivers/MsSqlDriver.php#L91
Strict comparison using === between Nette\Utils\TValue|null and 'VIEW' will always evaluate to false.
PHPStan: src/Database/Drivers/MsSqlDriver.php#L95
Method Nette\Database\Drivers\MsSqlDriver::getTables() should return array<int, array{name: string, fullName: string, view: bool}> but returns array<int<0, max>, array{name: mixed, view: false}>.
PHPStan: src/Database/Drivers/MsSqlDriver.php#L124
Parameter #1 $string of function strtoupper expects string, Nette\Utils\TValue|null given.
PHPStan: src/Database/Drivers/MsSqlDriver.php#L128
Strict comparison using === between Nette\Utils\TValue|null and 'YES' will always evaluate to false.