Skip to content

drivers: getForeignKeys() works with multi-column foreign keys #171

drivers: getForeignKeys() works with multi-column foreign keys

drivers: getForeignKeys() works with multi-column foreign keys #171

Triggered via push May 13, 2024 16:16
Status Success
Total duration 28s
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/Connection.php#L95
Call to an undefined method Nette\Database\Driver::getPdo().
PHPStan: src/Database/DriverException.php#L27
Access to an undefined property Throwable::$file.
PHPStan: src/Database/DriverException.php#L28
Access to an undefined property Throwable::$line.
PHPStan: src/Database/Drivers/MsSqlDriver.php#L76
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: non-falsy-string, view: bool}>.
PHPStan: src/Database/Drivers/MsSqlDriver.php#L193
Method Nette\Database\Drivers\MsSqlDriver::getForeignKeys() should return array<int, array{name: string, local: string, table: string, foreign: string}> but returns array<int, array{foreign: non-empty-array<int<0, max>, mixed>, local: non-empty-array<int<0, max>, mixed>, name: mixed, table: non-falsy-string}>.