Skip to content

DatabaseExtension: added 'username' as alias for 'user' #407

DatabaseExtension: added 'username' as alias for 'user'

DatabaseExtension: added 'username' as alias for 'user' #407

Triggered via push January 9, 2025 04:41
Status Success
Total duration 24s
Artifacts
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
PHPStan: src/Bridges/DatabaseDI/DatabaseExtension.php#L71
Call to an undefined method Nette\DI\Definitions\Definition::addSetup().
PHPStan: src/Bridges/DatabaseTracy/ConnectionPanel.php#L157
Anonymous function has an unused use $connection.
PHPStan: src/Bridges/DatabaseTracy/ConnectionPanel.php#L157
Anonymous function has an unused use $events.
PHPStan: src/Bridges/DatabaseTracy/ConnectionPanel.php#L157
Variable $connection might not be defined.
PHPStan: src/Database/DriverException.php#L20
Unsafe usage of new static().
PHPStan: src/Database/Drivers/Engines/MSSQLEngine.php#L96
Method Nette\Database\Drivers\Engines\MSSQLEngine::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/Engines/MySQLEngine.php#L104
Method Nette\Database\Drivers\Engines\MySQLEngine::getTables() should return array<int, array{name: string, fullName: string, view: bool}> but returns array<int<0, max>, array{name: mixed, view: bool}>.
PHPStan: src/Database/Drivers/Engines/OracleEngine.php#L108
Method Nette\Database\Drivers\Engines\OracleEngine::getTables() should return array<int, array{name: string, fullName: string, view: bool}> but returns array<int<0, max>, array{name: mixed, view: bool}>.
PHPStan: src/Database/Drivers/Engines/SQLServerEngine.php#L105
Method Nette\Database\Drivers\Engines\SQLServerEngine::getTables() should return array<int, array{name: string, fullName: string, view: bool}> but returns array<int<0, max>, array{name: mixed, view: bool}>.
PHPStan: src/Database/Drivers/Engines/SQLiteEngine.php#L129
Method Nette\Database\Drivers\Engines\SQLiteEngine::getTables() should return array<int, array{name: string, fullName: string, view: bool}> but returns array<int<0, max>, array{name: mixed, view: bool}>.
PHPStan
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636