Skip to content

Commit

Permalink
qa: update Psalm configuration and baseline
Browse files Browse the repository at this point in the history
- Updates the Psalm configuration to add options that will be required in v6.
- Adds the baseline

Signed-off-by: Matthew Weier O'Phinney <[email protected]>
  • Loading branch information
weierophinney committed Jul 13, 2023
1 parent dd882c2 commit 88d0891
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
13 changes: 13 additions & 0 deletions psalm-baseline.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
<files psalm-version="5.11.0@c9b192ab8400fdaf04b2b13d110575adc879aa90">
<file src="src/PipeSpec.php">
<PossiblyUnusedReturnValue>
<code>self</code>
</PossiblyUnusedReturnValue>
</file>
<file src="test/Integration/ApplicationTrait.php">
<PossiblyUnusedReturnValue>
<code>Application</code>
</PossiblyUnusedReturnValue>
</file>
</files>
3 changes: 3 additions & 0 deletions psalm.xml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,10 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="https://getpsalm.org/schema/config"
xsi:schemaLocation="https://getpsalm.org/schema/config vendor/vimeo/psalm/config.xsd"
findUnusedBaselineEntry="true"
findUnusedCode="true"
findUnusedPsalmSuppress="true"
errorBaseline="psalm-baseline.xml"
>
<projectFiles>
<directory name="src" />
Expand Down

0 comments on commit 88d0891

Please sign in to comment.