-
Notifications
You must be signed in to change notification settings - Fork 1
/
psalm.xml
65 lines (59 loc) · 2.32 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
54
55
56
57
58
59
60
61
62
63
64
65
<?xml version="1.0"?>
<psalm
errorLevel="3"
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"
allowStringToStandInForClass="true"
allowCoercionFromStringToClassConst="true"
findUnusedPsalmSuppress="true"
skipChecksOnUnresolvableIncludes="true"
>
<plugins>
<pluginClass class="Psalm\SymfonyPsalmPlugin\Plugin"/>
<pluginClass class="Psalm\MockeryPlugin\Plugin"/>
</plugins>
<projectFiles>
<directory name="local/classes"/>
<directory name="local/functions"/>
<directory name="local/modules"/>
<directory name="local/php_interface"/>
<directory name="local/templates"/>
<ignoreFiles>
<directory name="vendor"/>
<directory name="local/classes/Tests"/>
</ignoreFiles>
</projectFiles>
<extraFiles>
<directory name="./bitrix"/>
</extraFiles>
<issueHandlers>
<UndefinedGlobalVariable>
<errorLevel type="suppress">
<referencedVariable name="$APPLICATION" />
<referencedVariable name="$USER" />
</errorLevel>
</UndefinedGlobalVariable>
<PropertyNotSetInConstructor>
<errorLevel type="suppress">
<directory name="local/classes"/> <!-- all InvalidReturnType issues in this directory are suppressed -->
</errorLevel>
</PropertyNotSetInConstructor>
<UndefinedConstant>
<errorLevel type="suppress">
<directory name="local"/> <!-- all InvalidReturnType issues in this directory are suppressed -->
</errorLevel>
</UndefinedConstant>
<UndefinedMagicPropertyFetch>
<errorLevel type="suppress">
<directory name="local/classes"/> <!-- all InvalidReturnType issues in this directory are suppressed -->
</errorLevel>
</UndefinedMagicPropertyFetch>
<UnresolvableInclude>
<errorLevel type="suppress">
<directory name="local/classes"/> <!-- all InvalidReturnType issues in this directory are suppressed -->
</errorLevel>
</UnresolvableInclude>
</issueHandlers>
</psalm>