Skip to content

Commit

Permalink
Merge pull request #332 from loic425/upgrade-psalm
Browse files Browse the repository at this point in the history
Bump Psalm version
  • Loading branch information
loic425 authored Jun 5, 2024
2 parents c6bc4e8 + 19d88fc commit 06424b1
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 1 deletion.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@
"symfony/twig-bundle": "^5.4 || ^6.4 || ^7.0",
"twig/extensions": "^1.5",
"twig/twig": "^2.12 || ^3.0",
"vimeo/psalm": "^4.26",
"vimeo/psalm": "^5.23",
"rector/rector": "^0.13"
},
"suggest": {
Expand Down
22 changes: 22 additions & 0 deletions psalm.xml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,12 @@
</errorLevel>
</InvalidArgument>

<MissingTemplateParam>
<errorLevel type="suppress">
<file name="src/Bundle/Form/DataTransformer/DateTimeFilterTransformer.php" />
</errorLevel>
</MissingTemplateParam>

<PossiblyNullReference>
<errorLevel type="suppress">
<file name="src/Bundle/DependencyInjection/Configuration.php" />
Expand All @@ -70,6 +76,16 @@
<referencedProperty name="Symfony\Component\Validator\ConstraintValidator::$context" />
</errorLevel>
</PropertyNotSetInConstructor>

<RiskyTruthyFalsyComparison>
<errorLevel type="suppress">
<file name="src/Component/Filter/DateFilter.php" />
<file name="src/Component/View/GridView.php" />
<file name="src/Bundle/Builder/Field/Field.php" />
<file name="src/Bundle/Form/DataTransformer/DateTimeFilterTransformer.php" />
<file name="src/Bundle/Renderer/TwigGridRenderer.php" />
</errorLevel>
</RiskyTruthyFalsyComparison>

<TooManyArguments>
<errorLevel type="suppress">
Expand All @@ -89,5 +105,11 @@
<referencedClass name="Symfony\Component\ExpressionLanguage\ParserCache\ParserCacheInterface" />
</errorLevel>
</UndefinedClass>

<UndefinedInterfaceMethod>
<errorLevel type="suppress">
<file name="src/Bundle/DependencyInjection/Configuration.php" />
</errorLevel>
</UndefinedInterfaceMethod>
</issueHandlers>
</psalm>

0 comments on commit 06424b1

Please sign in to comment.