Skip to content

Leverage the new PDO subclasses #6073

Leverage the new PDO subclasses

Leverage the new PDO subclasses #6073

Triggered via pull request October 10, 2024 08:48
Status Failure
Total duration 2m 57s
Artifacts

static-analysis.yml

on: pull_request
Matrix: Static Analysis with PHPStan
Matrix: Static Analysis with Psalm
Fit to window
Zoom out
Zoom in

Annotations

17 errors
UndefinedMethod: src/Driver/PDO/PDOConnect.php#L24
src/Driver/PDO/PDOConnect.php:24:16: UndefinedMethod: Method PDO::connect does not exist (see https://psalm.dev/022)
UndefinedClass: tests/Functional/Driver/PDO/PDOSubclassTest.php#L25
tests/Functional/Driver/PDO/PDOSubclassTest.php:25:32: UndefinedClass: Class, interface or enum named Pdo\Mysql does not exist (see https://psalm.dev/019)
UndefinedClass: tests/Functional/Driver/PDO/PDOSubclassTest.php#L34
tests/Functional/Driver/PDO/PDOSubclassTest.php:34:32: UndefinedClass: Class, interface or enum named Pdo\Oci does not exist (see https://psalm.dev/019)
UndefinedClass: tests/Functional/Driver/PDO/PDOSubclassTest.php#L43
tests/Functional/Driver/PDO/PDOSubclassTest.php:43:32: UndefinedClass: Class, interface or enum named Pdo\Pgsql does not exist (see https://psalm.dev/019)
UndefinedClass: tests/Functional/Driver/PDO/PDOSubclassTest.php#L52
tests/Functional/Driver/PDO/PDOSubclassTest.php:52:32: UndefinedClass: Class, interface or enum named Pdo\Sqlite does not exist (see https://psalm.dev/019)
UndefinedClass: tests/Functional/Driver/PDO/PDOSubclassTest.php#L61
tests/Functional/Driver/PDO/PDOSubclassTest.php:61:32: UndefinedClass: Class, interface or enum named Pdo\Sqlsrv does not exist (see https://psalm.dev/019)
Static Analysis with Psalm (8.3)
Process completed with exit code 2.
Static Analysis with PHPStan (8.3): src/Driver/PDO/PDOConnect.php#L14
Method Doctrine\DBAL\Driver\PDO\MySQL\Driver::doConnect() has parameter $options with no value type specified in iterable type array.
Static Analysis with PHPStan (8.3): src/Driver/PDO/PDOConnect.php#L24
Call to an undefined static method PDO::connect().
Static Analysis with PHPStan (8.3): src/Driver/PDO/PDOConnect.php#L14
Method Doctrine\DBAL\Driver\PDO\OCI\Driver::doConnect() has parameter $options with no value type specified in iterable type array.
Static Analysis with PHPStan (8.3): src/Driver/PDO/PDOConnect.php#L24
Call to an undefined static method PDO::connect().
Static Analysis with PHPStan (8.3): src/Driver/PDO/PDOConnect.php#L14
Method Doctrine\DBAL\Driver\PDO\PgSQL\Driver::doConnect() has parameter $options with no value type specified in iterable type array.
Static Analysis with PHPStan (8.3): src/Driver/PDO/PDOConnect.php#L24
Call to an undefined static method PDO::connect().
Static Analysis with PHPStan (8.3): src/Driver/PDO/PDOConnect.php#L14
Method Doctrine\DBAL\Driver\PDO\SQLSrv\Driver::doConnect() has parameter $options with no value type specified in iterable type array.
Static Analysis with PHPStan (8.3): src/Driver/PDO/PDOConnect.php#L24
Call to an undefined static method PDO::connect().
Static Analysis with PHPStan (8.3): src/Driver/PDO/PDOConnect.php#L14
Method Doctrine\DBAL\Driver\PDO\SQLite\Driver::doConnect() has parameter $options with no value type specified in iterable type array.
Static Analysis with PHPStan (8.3): src/Driver/PDO/PDOConnect.php#L24
Call to an undefined static method PDO::connect().