Connection: the driver is created in the constructor #249
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#L42
Property Nette\Database\Connection::$user is never read, only written.
|
PHPStan:
src/Database/Connection.php#L43
Property Nette\Database\Connection::$password is never read, only written.
|
PHPStan:
src/Database/Connection.php#L45
Property Nette\Database\Connection::$options is never read, only written.
|
PHPStan:
src/Database/Connection.php#L67
Call to an undefined method Nette\Database\Drivers\Driver::connect().
|
PHPStan:
src/Database/Connection.php#L72
Method Nette\Database\Drivers\Driver::createDatabaseEngine() invoked with 1 parameter, 0 required.
|