add support for phpstan/phpdoc-parser 2

This commit is contained in:
Christian Flothmann
2024-11-10 22:44:37 +01:00
parent 0c70d2c566
commit 2a8b28d42a
7 changed files with 75 additions and 17 deletions
+7
View File
@@ -68,5 +68,12 @@
<file name="src/Utils.php"/>
</errorLevel>
</ArgumentTypeCoercion>
<InvalidArgument>
<errorLevel type="suppress">
<referencedFunction name="PHPStan\PhpDocParser\Parser\PhpDocParser::__construct"/>
<referencedFunction name="PHPStan\PhpDocParser\Parser\TypeParser::__construct"/>
</errorLevel>
</InvalidArgument>
</issueHandlers>
</psalm>