-
Notifications
You must be signed in to change notification settings - Fork 1
/
psalm.xml
53 lines (46 loc) · 1.77 KB
/
psalm.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
<?xml version="1.0"?>
<psalm
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="https://getpsalm.org/schema/config"
xsi:schemaLocation="https://getpsalm.org/schema/config ../../vendor-bin/psalm/vendor/vimeo/psalm/config.xsd"
cacheDirectory="dist/.psalm"
findUnusedVariablesAndParams="true"
findUnusedCode="true"
findUnusedPsalmSuppress="true"
findUnusedBaselineEntry="true"
ensureArrayIntOffsetsExist="true"
ensureArrayStringOffsetsExist="true"
ignoreInternalFunctionFalseReturn="false"
ignoreInternalFunctionNullReturn="false"
strictBinaryOperands="true">
<plugins>
<pluginClass class="Psalm\PhpUnitPlugin\Plugin" />
</plugins>
<projectFiles>
<directory name="src"/>
<directory name="tests"/>
<ignoreFiles>
<file name="src/StrictPHPUnit9Extension.php"/>
</ignoreFiles>
</projectFiles>
<issueHandlers>
<MissingParamType>
<errorLevel type="suppress">
<file name="tests/StrictScalarComparatorTest.php"/>
</errorLevel>
</MissingParamType>
<PossiblyUnusedMethod>
<!-- This is for the PHPUnit data providers; see https://github.com/psalm/psalm-plugin-phpunit/issues/131 -->
<errorLevel type="suppress">
<directory name="tests"/>
</errorLevel>
</PossiblyUnusedMethod>
<PropertyNotSetInConstructor>
<errorLevel type="suppress">
<file name="src/StrictScalarComparator.php"/>
</errorLevel>
</PropertyNotSetInConstructor>
<UnusedClass errorLevel="suppress"/>
<UnusedConstructor errorLevel="suppress"/>
</issueHandlers>
</psalm>