forked from ramiy/astra
-
Notifications
You must be signed in to change notification settings - Fork 0
/
psalm.xml
55 lines (54 loc) · 1.91 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
<?xml version="1.0"?>
<psalm ensureArrayStringOffsetsExist="true" reportMixedIssues="false" errorLevel="1" errorBaseline="tests/php/psalm-baseline.xml">
<projectFiles>
<directory name="./"/>
<ignoreFiles>
<directory name="vendor/"/>
<directory name="tests/"/>
<directory name="node_modules/"/>
<directory name="bin/"/>
<directory name="inc/lib/"/>
</ignoreFiles>
</projectFiles>
<stubs>
<file name="vendor/php-stubs/wordpress-stubs/wordpress-stubs.php"/>
<file name="vendor/php-stubs/woocommerce-stubs/woocommerce-stubs.php"/>
<file name="tests/php/static-analysis-stubs/constants.php"/>
<file name="tests/php/static-analysis-stubs/astra-stubs.php"/>
</stubs>
<globals>
<var name="wp_version" type="string"/>
</globals>
<issueHandlers>
<MissingDocblockType>
<errorLevel type="suppress">
<directory name="tests/php/static-analysis-stubs/"/>
</errorLevel>
</MissingDocblockType>
<InvalidDocblock>
<errorLevel type="suppress">
<directory name="tests/php/static-analysis-stubs/"/>
</errorLevel>
</InvalidDocblock>
<MissingReturnType>
<errorLevel type="suppress">
<directory name="."/>
</errorLevel>
</MissingReturnType>
<InvalidReturnType>
<errorLevel type="suppress">
<directory name="."/>
</errorLevel>
</InvalidReturnType>
<UnresolvableInclude>
<errorLevel type="suppress">
<directory name="."/>
</errorLevel>
</UnresolvableInclude>
<MissingPropertyType>
<errorLevel type="suppress">
<directory name="."/>
</errorLevel>
</MissingPropertyType>
</issueHandlers>
</psalm>