Skip to content

Commit

Permalink
Suppress UndefinedClass error in RedisDsnProvider
Browse files Browse the repository at this point in the history
Add a configuration to suppress the UndefinedClass error specifically for the src/RedisDsnProvider.php file. This ensures the psalm static analysis tool does not report this issue, facilitating a smoother development workflow.
  • Loading branch information
koriym committed Sep 10, 2024
1 parent 3862011 commit b1b6d86
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions psalm.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,11 @@
<directory name="vendor" />
</ignoreFiles>
</projectFiles>
<issueHandlers>
<UndefinedClass>
<errorLevel type="suppress">
<file name="src/RedisDsnProvider.php" />
</errorLevel>
</UndefinedClass>
</issueHandlers>
</psalm>

0 comments on commit b1b6d86

Please sign in to comment.