forked from simplesamlphp/simplesamlphp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
psalm-dev.xml
63 lines (56 loc) · 2.13 KB
/
psalm-dev.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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
<?xml version="1.0"?>
<psalm
name="SimpleSAMLphp testsuite"
useDocblockTypes="true"
errorLevel="4"
reportMixedIssues="false"
hideExternalErrors="true"
allowStringToStandInForClass="true"
>
<projectFiles>
<directory name="tests" />
<!-- Ignore certain directories -->
<ignoreFiles>
<directory name="vendor" />
</ignoreFiles>
</projectFiles>
<issueHandlers>
<!-- Ignore UnresolvableInclude on CLI-scripts -->
<UnresolvableInclude>
<errorLevel type="suppress">
<file name="tests/bootstrap.php" />
<file name="tests/routers/configLoader.php" />
</errorLevel>
</UnresolvableInclude>
<!-- Suppress PossiblyUndefinedGlobalVariable on templates -->
<PossiblyUndefinedGlobalVariable>
<errorLevel type="suppress">
<directory name="tests/src/SimpleSAML/Metadata/test-metadata" />
</errorLevel>
</PossiblyUndefinedGlobalVariable>
<!-- Suppress PHPunit-issue -->
<PropertyNotSetInConstructor>
<errorLevel type="suppress">
<directory name="tests" />
</errorLevel>
</PropertyNotSetInConstructor>
<!-- Suppress PHPunit-issue -->
<InternalMethod>
<errorLevel type="suppress">
<directory name="tests" />
</errorLevel>
</InternalMethod>
<!-- Suppress Psalm-issue - We should be able to fix this with the static return-type in PHP 8.0 -->
<UnsafeInstantiation>
<errorLevel type="suppress">
<directory name="tests" />
</errorLevel>
</UnsafeInstantiation>
</issueHandlers>
<stubs>
<file name="vendor/simplesamlphp/simplesamlphp-test-framework/stubs/krb5.php" />
<file name="vendor/simplesamlphp/simplesamlphp-test-framework/stubs/memcache.php" />
<file name="vendor/simplesamlphp/simplesamlphp-test-framework/stubs/memcached.php" />
<file name="vendor/simplesamlphp/simplesamlphp-test-framework/stubs/predis.php" />
</stubs>
</psalm>