Suppress errors about unreleased stubs

parent 827bd220
...@@ -5,23 +5,4 @@ ...@@ -5,23 +5,4 @@
<code>int</code> <code>int</code>
</InvalidParamDefault> </InvalidParamDefault>
</file> </file>
<file src="lib/Doctrine/DBAL/Driver/SQLSrv/SQLSrvStatement.php">
<TooFewArguments occurrences="1">
<code>sqlsrv_get_field($this-&gt;stmt, 0)</code>
</TooFewArguments>
</file>
<file src="lib/Doctrine/DBAL/Tools/Dumper.php">
<UndefinedClass occurrences="1">
<code>Collection</code>
</UndefinedClass>
</file>
<file src="tests/Doctrine/Tests/DBAL/Driver/PDOPgSql/DriverTest.php">
<UndefinedConstant occurrences="5">
<code>PDO::PGSQL_ATTR_DISABLE_PREPARES</code>
<code>PDO::PGSQL_ATTR_DISABLE_PREPARES</code>
<code>PDO::PGSQL_ATTR_DISABLE_PREPARES</code>
<code>PDO::PGSQL_ATTR_DISABLE_PREPARES</code>
<code>PDO::PGSQL_ATTR_DISABLE_PREPARES</code>
</UndefinedConstant>
</file>
</files> </files>
...@@ -24,9 +24,23 @@ ...@@ -24,9 +24,23 @@
<file name="vendor/jetbrains/phpstorm-stubs/sqlsrv/sqlsrv.php" /> <file name="vendor/jetbrains/phpstorm-stubs/sqlsrv/sqlsrv.php" />
</stubs> </stubs>
<issueHandlers> <issueHandlers>
<TooFewArguments>
<errorLevel type="suppress">
<!--
Requires a release of
https://github.com/JetBrains/phpstorm-stubs/pull/727
-->
<file name="lib/Doctrine/DBAL/Driver/SQLSrv/SQLSrvStatement.php"/>
</errorLevel>
</TooFewArguments>
<UndefinedConstant> <UndefinedConstant>
<errorLevel type="suppress"> <errorLevel type="suppress">
<directory name="lib/Doctrine/DBAL/Driver/SQLAnywhere"/> <directory name="lib/Doctrine/DBAL/Driver/SQLAnywhere"/>
<!--
Requires a release of
https://github.com/JetBrains/phpstorm-stubs/pull/732
-->
<file name="tests/Doctrine/Tests/DBAL/Driver/PDOPgSql/DriverTest.php" />
</errorLevel> </errorLevel>
</UndefinedConstant> </UndefinedConstant>
<UndefinedFunction> <UndefinedFunction>
...@@ -34,5 +48,11 @@ ...@@ -34,5 +48,11 @@
<directory name="lib/Doctrine/DBAL/Driver/SQLAnywhere"/> <directory name="lib/Doctrine/DBAL/Driver/SQLAnywhere"/>
</errorLevel> </errorLevel>
</UndefinedFunction> </UndefinedFunction>
<UndefinedClass>
<errorLevel type="suppress">
<!-- Contains references to optional dependencies -->
<file name="lib/Doctrine/DBAL/Tools/Dumper.php"/>
</errorLevel>
</UndefinedClass>
</issueHandlers> </issueHandlers>
</psalm> </psalm>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment