-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpsalm.xml
45 lines (41 loc) · 1.59 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
<?xml version="1.0"?>
<psalm
cacheDirectory="./.psalm/cache"
useDocblockPropertyTypes="true"
usePhpDocMethodsWithoutMagicCall="true"
strictBinaryOperands="true"
ignoreInternalFunctionFalseReturn="false"
ignoreInternalFunctionNullReturn="false"
findUnusedCode="true"
findUnusedBaselineEntry="true"
hideExternalErrors="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"/>
<ignoreFiles>
<directory name=".development"/>
</ignoreFiles>
</projectFiles>
<extraFiles>
<directory name="vendor/roots/wordpress-no-content"/>
</extraFiles>
<!-- https://github.com/vimeo/psalm/issues/5791 -->
<!-- Do not stub noop.php -->
<stubs>
<file name="vendor/roots/wordpress-no-content/wp-includes/l10n.php"/>
<file name="vendor/roots/wordpress-no-content/wp-includes/theme.php"/>
<file name="vendor/roots/wordpress-no-content/wp-includes/formatting.php"/>
<file name="vendor/roots/wordpress-no-content/wp-includes/kses.php"/>
</stubs>
<issueHandlers>
<MissingClosureParamType errorLevel="suppress"/>
<MissingClosureReturnType errorLevel="suppress"/>
<UnresolvableInclude errorLevel="suppress"/>
<UndefinedConstant errorLevel="suppress"/>
<ParamNameMismatch errorLevel="suppress"/>
<UnnecessaryVarAnnotation errorLevel="suppress"/>
</issueHandlers>
</psalm>