Skip to content

Commit

Permalink
Update JetBrains PhpStorm stubs to v2020.2
Browse files Browse the repository at this point in the history
  • Loading branch information
morozov committed Mar 17, 2021
1 parent 3f44415 commit 4330e8b
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 15 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
},
"require-dev": {
"doctrine/coding-standard": "8.2.0",
"jetbrains/phpstorm-stubs": "2019.3",
"jetbrains/phpstorm-stubs": "2020.2",
"phpstan/phpstan": "0.12.81",
"phpunit/phpunit": "9.5.0",
"psalm/plugin-phpunit": "0.13.0",
Expand Down
27 changes: 13 additions & 14 deletions psalm.xml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -362,15 +362,6 @@
<file name="lib/Doctrine/DBAL/Driver/PDOQueryImplementation.php"/>
</errorLevel>
</ReservedWord>
<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>
<TooManyArguments>
<errorLevel type="suppress">
<!-- See https://github.com/doctrine/dbal/pull/3080 -->
Expand All @@ -385,11 +376,6 @@
<UndefinedConstant>
<errorLevel type="suppress">
<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>
</UndefinedConstant>
<UndefinedFunction>
Expand All @@ -403,6 +389,19 @@
<file name="lib/Doctrine/DBAL/Tools/Dumper.php"/>
</errorLevel>
</UndefinedClass>
<UnimplementedInterfaceMethod>
<errorLevel type="suppress">
<!--
Psalm doesn't support the proprietary annotations used in JeBrains PhpStorm stubs
like #[PhpStormStubsElementAvailable(...)]. This suppression should be removed in 3.0.x,
where https://github.com/doctrine/dbal/pull/4347 is no longer effective
-->
<file name="lib/Doctrine/DBAL/Driver/PDO/SQLSrv/Statement.php"/>
<file name="lib/Doctrine/DBAL/Driver/PDO/Statement.php"/>
<file name="lib/Doctrine/DBAL/Driver/PDOSqlsrv/Statement.php"/>
<file name="lib/Doctrine/DBAL/Driver/PDOStatement.php"/>
</errorLevel>
</UnimplementedInterfaceMethod>
<UnsafeInstantiation>
<errorLevel type="suppress">
<!-- See https://github.com/doctrine/dbal/issues/4510 -->
Expand Down

0 comments on commit 4330e8b

Please sign in to comment.