Skip to content

Commit c477928

Browse files
committed
fixed psalm errors
1 parent fd04f97 commit c477928

File tree

1 file changed

+42
-0
lines changed

1 file changed

+42
-0
lines changed

psalm.xml

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
<?xml version="1.0"?>
2+
<psalm
3+
checkForThrowsInGlobalScope="true"
4+
findUnusedVariablesAndParams="true"
5+
ensureArrayIntOffsetsExist="true"
6+
ensureArrayStringOffsetsExist="true"
7+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
8+
xmlns="https://getpsalm.org/schema/config"
9+
xsi:schemaLocation="https://getpsalm.org/schema/config vendor/vimeo/psalm/config.xsd"
10+
hoistConstants="true"
11+
findUnusedBaselineEntry="true"
12+
findUnusedCode="false"
13+
>
14+
<projectFiles>
15+
<directory name="src"/>
16+
<directory name="tests"/>
17+
<ignoreFiles>
18+
<directory name="vendor"/>
19+
</ignoreFiles>
20+
</projectFiles>
21+
<issueHandlers>
22+
<UnusedMethodCall>
23+
<errorLevel type="suppress">
24+
<directory name="tests"/>
25+
</errorLevel>
26+
</UnusedMethodCall>
27+
<UnusedForeachValue>
28+
<errorLevel type="suppress">
29+
<directory name="tests"/>
30+
<directory name="src"/>
31+
</errorLevel>
32+
</UnusedForeachValue>
33+
<MissingConstructor>
34+
<errorLevel type="suppress">
35+
<directory name="tests"/>
36+
</errorLevel>
37+
</MissingConstructor>
38+
</issueHandlers>
39+
<plugins>
40+
<pluginClass class="Psalm\PhpUnitPlugin\Plugin"/>
41+
</plugins>
42+
</psalm>

0 commit comments

Comments
 (0)