forked from Catrobat/Catroweb
-
Notifications
You must be signed in to change notification settings - Fork 0
/
psalm.xml
40 lines (39 loc) · 1.29 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
<?xml version="1.0"?>
<!-- 1 is the highest and 8 the lowest error level -->
<psalm
errorLevel="4"
resolveFromConfigFile="true"
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="config" />
<directory name="tests" />
<ignoreFiles>
<directory name="vendor" />
<!-- Legacy code that will be removed in the future -->
<directory name="src/Project/CatrobatCode"/>
<file name="config/bootstrap.php" />
<file name="config/preload.php" />
</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>
</issueHandlers>
</psalm>