Skip to content

Commit

Permalink
Add example.php to Psalm's report, to make sure we don't hit errors l…
Browse files Browse the repository at this point in the history
…ike with `@internal`
  • Loading branch information
sanmai committed Aug 27, 2020
1 parent b2a3433 commit 6570cbc
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions psalm.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
>
<projectFiles>
<directory name="src" />
<file name="example.php" />
</projectFiles>

<issueHandlers>
Expand Down Expand Up @@ -38,5 +39,12 @@

<MixedAssignment errorLevel="info" />
<MixedOperand errorLevel="info" />

<ForbiddenCode>
<errorLevel type="suppress">
<file name="example.php" />
</errorLevel>
</ForbiddenCode>

</issueHandlers>
</psalm>

0 comments on commit 6570cbc

Please sign in to comment.