-
Notifications
You must be signed in to change notification settings - Fork 25
/
psalm.xml
41 lines (40 loc) · 1.71 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
<?xml version="1.0"?>
<psalm
autoloader="cli-autoload.php"
useDocblockTypes="true"
totallyTyped="true"
>
<projectFiles>
<directory name="bin" />
<directory name="src" />
</projectFiles>
<issueHandlers>
<InvalidScope errorLevel="suppress" />
<MissingClosureReturnType errorLevel="suppress" />
<PropertyNotSetInConstructor errorLevel="info" /> <!-- Memcached false positive -->
<RedundantConditionGivenDocblockType errorLevel="suppress" />
<UndefinedClass errorLevel="info" /><!-- Memcached is optional (PECL) -->
<UndefinedConstant errorLevel="suppress" />
<!-- Possibly Psalm false positives; deal with later. -->
<RedundantCastGivenDocblockType errorLevel="info" />
<InvalidThrow errorLevel="info" />
<DocblockTypeContradiction errorLevel="info" />
<PossiblyUndefinedArrayOffset errorLevel="info" />
<UnsafeInstantiation errorLevel="info" />
<MissingReturnType errorLevel="info" />
<RedundantCast errorLevel="suppress" />
<InvalidDocblock errorLevel="info" />
<MismatchingDocblockReturnType errorLevel="info" />
<MixedArgumentTypeCoercion errorLevel="info" />
<InvalidScalarArgument errorLevel="info" />
<InvalidArgument errorLevel="info" />
<MixedArgument errorLevel="info" />
<NullArgument errorLevel="info" />
<InvalidArrayOffset errorLevel="info" />
<TypeDoesNotContainNull errorLevel="info" />
<MixedArrayAccess errorLevel="info" />
<UnnecessaryVarAnnotation errorLevel="info" />
<UnusedVariable errorLevel="info" />
<UnusedClosureParam errorLevel="info" />
</issueHandlers>
</psalm>