Skip to content

Commit

Permalink
build: report unused classes, etc by Psalm as informational
Browse files Browse the repository at this point in the history
Temporarily added Psalm issue handlers regarding unused classes,
methods, etc. Most of these reported are actually used as part of the
public API. However not sure the best approach to address these as
adding an annotation (as suggested) is not my preferred option.

Removed issue handlers that seem not being reported any longer.

Signed-off-by: Sacha Telgenhof <[email protected]>
  • Loading branch information
stelgenhof committed Feb 16, 2025
1 parent 141921c commit 2bf10b5
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions psalm.xml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,10 @@
</projectFiles>

<issueHandlers>
<MethodSignatureMismatch errorLevel="suppress" />
<MissingTemplateParam errorLevel="suppress" />
<InvalidArrayOffset errorLevel="suppress" />
<MissingTemplateParam errorLevel="info" />
<PossiblyUnusedMethod errorLevel="info" />
<UnusedClass errorLevel="info" />
<UnusedMethodCall errorLevel="info" />
</issueHandlers>

</psalm>

0 comments on commit 2bf10b5

Please sign in to comment.