-
Notifications
You must be signed in to change notification settings - Fork 81
/
psalm.xml
49 lines (48 loc) · 1.57 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
<?xml version="1.0"?>
<!-- 1 is the highest and 8 the lowest error level -->
<psalm
errorLevel="4"
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="false"
>
<projectFiles>
<directory name="bin" />
<directory name="config" />
<directory name="migrations" />
<directory name="public" />
<directory name="src" />
<directory name="templates" />
<directory name="tests" />
<directory name="translations" />
<ignoreFiles>
<directory name="vendor" />
<!-- Legacy code that will be removed in the future -->
<directory name="src/Project/CatrobatCode"/>
</ignoreFiles>
</projectFiles>
<issueHandlers>
<ForbiddenCode>
<errorLevel type="info">
<directory name="src/"/>
</errorLevel>
</ForbiddenCode>
<InternalClass>
<errorLevel type="info">
<directory name="tests" />
</errorLevel>
</InternalClass>
<InternalMethod>
<errorLevel type="info">
<directory name="tests" />
</errorLevel>
</InternalMethod>
<InvalidArgument>
<errorLevel type="info">
<file name="config/routes.php"/>
</errorLevel>
</InvalidArgument>
</issueHandlers>
</psalm>