Skip to content

Commit

Permalink
Ignore errors caused by nullable assets filter
Browse files Browse the repository at this point in the history
  • Loading branch information
greg0ire committed Jul 12, 2022
1 parent e17dfb8 commit 3bd0427
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
4 changes: 4 additions & 0 deletions phpstan-dbal4.neon
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,7 @@ parameters:
-
message: '~^Parameter #1 \$command of method Symfony\\Component\\Console\\Application::add\(\) expects Symfony\\Component\\Console\\Command\\Command, Doctrine\\DBAL\\Tools\\Console\\Command\\ReservedWordsCommand given\.$~'
path: lib/Doctrine/ORM/Tools/Console/ConsoleRunner.php

-
message: '~Strict comparison using \=\=\= between callable\(\)\: mixed and null will always evaluate to false\.~'
path: lib/Doctrine/ORM/Tools/SchemaTool.php
6 changes: 6 additions & 0 deletions psalm.xml
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,12 @@
<referencedFunction name="Doctrine\DBAL\Connection::lastInsertId"/>
</errorLevel>
</TooManyArguments>
<TypeDoesNotContainNull>
<errorLevel type="suppress">
<!-- DBAL 3 compatibility -->
<file name="lib/Doctrine/ORM/Tools/SchemaTool.php"/>
</errorLevel>
</TypeDoesNotContainNull>
<TypeDoesNotContainType>
<errorLevel type="suppress">
<file name="lib/Doctrine/ORM/Internal/SQLResultCasing.php"/>
Expand Down

0 comments on commit 3bd0427

Please sign in to comment.