forked from simplesamlphp/simplesamlphp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
psalm.xml
41 lines (35 loc) · 1.41 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
name="SimpleSAMLphp"
useDocblockTypes="true"
totallyTyped="false"
>
<projectFiles>
<directory name="lib/SimpleSAML/Utils" />
</projectFiles>
<issueHandlers>
<LessSpecificReturnType errorLevel="info" />
<!-- level 3 issues - slightly lazy code writing, but probably low false-negatives -->
<DeprecatedMethod errorLevel="info" />
<MissingClosureReturnType errorLevel="info" />
<MissingReturnType errorLevel="info" />
<MissingPropertyType errorLevel="info" />
<InvalidDocblock errorLevel="info" />
<MisplacedRequiredParam errorLevel="info" />
<PropertyNotSetInConstructor errorLevel="info" />
<MissingConstructor errorLevel="info" />
<MissingClosureParamType errorLevel="info" />
<MissingParamType errorLevel="info" />
<UnusedClass errorLevel="info" />
<PossiblyUnusedMethod errorLevel="info" />
<!-- Ignore these errors until we are fully typehinted -->
<DocblockTypeContradiction errorLevel="suppress" />
<RedundantConditionGivenDocblockType errorLevel="suppress" />
</issueHandlers>
<stubs>
<file name="tests/Utils/Stubs/krb5.php" />
<file name="tests/Utils/Stubs/memcache.php" />
<file name="tests/Utils/Stubs/memcached.php" />
<file name="tests/Utils/Stubs/predis.php" />
</stubs>
</psalm>