forked from cakephp/cakephp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
psalm.xml
47 lines (46 loc) · 1.76 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
46
47
<?xml version="1.0"?>
<psalm
allowStringToStandInForClass="true"
usePhpDocMethodsWithoutMagicCall="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"
errorBaseline="psalm-baseline.xml"
autoloader="tests/bootstrap.php"
>
<projectFiles>
<directory name="src"/>
<ignoreFiles>
<directory name="src/Filesystem"/>
<directory name="src/Auth"/>
<directory name="vendor"/>
<file name="src/Controller/Component/AuthComponent.php"/>
</ignoreFiles>
</projectFiles>
<issueHandlers>
<RedundantConditionGivenDocblockType errorLevel="suppress"/>
<DocblockTypeContradiction errorLevel="suppress"/>
<MissingClosureParamType errorLevel="suppress"/>
<MissingClosureReturnType errorLevel="suppress"/>
<UndefinedClass>
<errorLevel type="suppress">
<referencedClass name="Memcached"/>
<referencedClass name="Redis"/>
</errorLevel>
</UndefinedClass>
<UndefinedDocblockClass>
<errorLevel type="suppress">
<referencedClass name="Memcached"/>
<referencedClass name="Redis"/>
</errorLevel>
</UndefinedDocblockClass>
<UndefinedConstant>
<errorLevel type="suppress">
<file name="src/Cache/Engine/ApcuEngine.php" />
</errorLevel>
</UndefinedConstant>
<PropertyNotSetInConstructor errorLevel="suppress"/>
<UnresolvableInclude errorLevel="suppress"/>
<UnsafeInstantiation errorLevel="suppress"/>
</issueHandlers>
</psalm>