-
-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathpsalm.xml.dist
32 lines (32 loc) · 1.17 KB
/
psalm.xml.dist
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
<?xml version="1.0"?>
<psalm
errorLevel="1"
resolveFromConfigFile="true"
phpVersion="7.4"
findUnusedPsalmSuppress="true"
findUnusedCode="true"
findUnusedBaselineEntry="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>
<file name="index.php"/>
<!-- <file name="uninstall.php"/> -->
<directory name="inc"/>
<directory name="views"/>
</projectFiles>
<issueHandlers>
<PossiblyUnusedReturnValue errorLevel="suppress"/>
<PossiblyUnusedMethod errorLevel="suppress"/>
<RedundantCast errorLevel="suppress"/>
<RedundantCastGivenDocblockType errorLevel="suppress"/>
<UnusedClass errorLevel="suppress"/>
</issueHandlers>
<stubs>
<file name="vendor/php-stubs/wordpress-stubs/wordpress-stubs.php"/>
<file name="vendor/wildwolf/wordpress-test-library-stubs/wordpress-test-library-stubs.php"/>
<file name="stubs/two-factor.stubs.php"/>
<file name="stubs/wordpress.stubs.php"/>
</stubs>
</psalm>