-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpsalm.xml
More file actions
48 lines (48 loc) · 1.8 KB
/
Copy pathpsalm.xml
File metadata and controls
48 lines (48 loc) · 1.8 KB
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
<?xml version="1.0"?>
<psalm
errorLevel="1"
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"
findUnusedBaselineEntry="true"
findUnusedCode="true"
taintAnalysis="true"
strictBinaryOperands="true"
ensureArrayStringOffsetsExist="true"
ensureArrayIntOffsetsExist="true"
reportMixedIssues="true"
totallyTyped="true"
sealAllMethods="true"
sealAllProperties="true"
memoizeMethodCallResults="true"
hoistConstants="true"
addParamTypes="true"
checkForThrowsDocblock="true"
checkForThrowsInGlobalScope="true"
ignoreInternalFunctionFalseReturn="false"
ignoreInternalFunctionNullReturn="false"
>
<projectFiles>
<directory name="src"/>
<ignoreFiles>
<directory name="vendor"/>
</ignoreFiles>
</projectFiles>
<plugins>
<pluginClass class="Psalm\PhpUnitPlugin\Plugin"/>
</plugins>
<issueHandlers>
<MissingParamType errorLevel="error"/>
<MissingReturnType errorLevel="error"/>
<MissingPropertyType errorLevel="error"/>
<MissingClosureReturnType errorLevel="error"/>
<InvalidDocblock errorLevel="error"/>
<MismatchingDocblockReturnType errorLevel="error"/>
<MismatchingDocblockParamType errorLevel="error"/>
<InvalidScalarArgument errorLevel="error"/>
<InvalidReturnType errorLevel="error"/>
<UndefinedClass errorLevel="error"/>
<!-- Psalm cannot infer regex capture groups exist; PHPStan handles this correctly -->
<PossiblyUndefinedIntArrayOffset errorLevel="info"/>
</issueHandlers>
</psalm>