-
Notifications
You must be signed in to change notification settings - Fork 263
/
psalm.xml.dist
44 lines (40 loc) · 1.46 KB
/
psalm.xml.dist
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
<?xml version="1.0"?>
<psalm
errorLevel="1"
errorBaseline="psalm-baseline.xml"
resolveFromConfigFile="true"
findUnusedBaselineEntry="true"
findUnusedCode="false"
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"
>
<projectFiles>
<directory name="src" />
<directory name="examples" />
<ignoreFiles>
<directory name="vendor" />
</ignoreFiles>
</projectFiles>
<stubs>
<file name="stubs/BSON/Document.stub.php"/>
<file name="stubs/BSON/Iterator.stub.php"/>
<file name="stubs/BSON/PackedArray.stub.php"/>
</stubs>
<issueHandlers>
<!-- Class is meant to be Unserialized by the extension only -->
<PropertyNotSetInConstructor>
<errorLevel type="suppress">
<file name="examples/typemap.php" />
</errorLevel>
</PropertyNotSetInConstructor>
<!-- This is often the result of type checks due to missing native types -->
<DocblockTypeContradiction errorLevel="info" />
<!-- If the result of getenv is falsy, using the default URI is fine -->
<RiskyTruthyFalsyComparison>
<errorLevel type="suppress">
<directory name="examples" />
</errorLevel>
</RiskyTruthyFalsyComparison>
</issueHandlers>
</psalm>