diff --git a/phpstan.neon.dist b/phpstan.neon.dist index 7aca228c393..e532fa5b918 100644 --- a/phpstan.neon.dist +++ b/phpstan.neon.dist @@ -29,7 +29,7 @@ parameters: - '~^Method Doctrine\\DBAL\\Driver\\SQLSrv\\SQLSrvConnection::errorCode\(\) should return string\|null but returns false\.\z~' # http://php.net/manual/en/pdo.sqlitecreatefunction.php - - '~^Call to an undefined method Doctrine\\DBAL\\Driver\\PDOConnection::sqliteCreateFunction\(\)\.\z~' + - '~^Call to an undefined method PDO::sqliteCreateFunction\(\)\.\z~' # https://github.com/JetBrains/phpstorm-stubs/pull/488 - '~^Parameter #1 \$byteCount of function SQLSRV_SQLTYPE_VARBINARY expects int, string given\.\z~' @@ -59,3 +59,9 @@ parameters: # weird class name, doesn't exist in stubs either - '~unknown class OCI-(Lob|Collection)~' + + # https://github.com/doctrine/dbal/issues/3236 + - '~^Call to an undefined method Doctrine\\DBAL\\Schema\\UniqueConstraint::getLocalColumns\(\)~' + + # https://github.com/doctrine/dbal/issues/3237 + - '~^Call to an undefined method Doctrine\\DBAL\\Driver\\PDOStatement::nextRowset\(\)~'