-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpsalm.xml
36 lines (36 loc) · 1.1 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
<?xml version="1.0" encoding="UTF-8"?>
<psalm
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="https://getpsalm.org/schema/config"
xsi:schemaLocation="https://getpsalm.org/schema/config"
errorLevel="2"
cacheDirectory="var/psalm-cache"
errorBaseline="psalm-baseline.xml"
findUnusedCode="false"
findUnusedVariablesAndParams="true"
findUnusedBaselineEntry="false"
findUnusedPsalmSuppress="true"
sealAllMethods="true"
sealAllProperties="true"
disableSuppressAll="true"
ensureOverrideAttribute="false"
strictBinaryOperands="false"
autoloader="/usr/local/etc/tools/vendor/autoload.php"
>
<projectFiles>
<directory name="src"/>
<directory name="tests"/>
<ignoreFiles>
<directory name="vendor"/>
</ignoreFiles>
</projectFiles>
<forbiddenFunctions>
<function name="dd"/>
<function name="dump"/>
<function name="empty"/>
<function name="is_null"/>
</forbiddenFunctions>
<issueHandlers>
<UnusedForeachValue errorLevel="suppress"/>
</issueHandlers>
</psalm>