-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathpsalm.xml
89 lines (82 loc) · 3.97 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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
<?xml version="1.0"?>
<psalm
autoloader="constants.php"
errorLevel="1"
findUnusedBaselineEntry="true"
findUnusedCode="true"
findUnusedPsalmSuppress="true"
reportInfo="true"
resolveFromConfigFile="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"
>
<forbiddenFunctions>
<function name="dump"/>
</forbiddenFunctions>
<projectFiles>
<directory name="src" />
<file name="constants.php" />
<ignoreFiles>
<directory name="vendor" />
</ignoreFiles>
</projectFiles>
<issueHandlers>
<!--
PossiblyUnused* errors make sense in general, but this is a
framework, so some methods are intended to be used externally, so
they have no references in this project.
-->
<PossiblyUnusedMethod>
<errorLevel type="suppress">
<directory name="src"/>
</errorLevel>
</PossiblyUnusedMethod>
<PossiblyUnusedReturnValue>
<errorLevel type="suppress">
<directory name="src/HttpResponder"/>
</errorLevel>
</PossiblyUnusedReturnValue>
<UnusedClass>
<errorLevel type="suppress">
<directory name="src"/>
</errorLevel>
</UnusedClass>
<!--
GraphQL library docblock seems to be designed with PHPStan in mind.
Some annotations are not recognized / do not work with Psalm.
-->
<PropertyNotSetInConstructor>
<errorLevel type="suppress">
<referencedProperty name="GraphQL\Type\Definition\HasFieldsTypeImplementation::$fields" />
<referencedProperty name="GraphQL\Type\Definition\ImplementingTypeImplementation::$interfaces" />
</errorLevel>
</PropertyNotSetInConstructor>
<UndefinedDocblockClass>
<errorLevel type="suppress">
<referencedClass name="GraphQL\Executor\SerializableResult" />
</errorLevel>
</UndefinedDocblockClass>
</issueHandlers>
<stubs>
<file name="tools/psalm/vendor/vimeo/psalm/stubs/extensions/ds.phpstub" />
<file name="vendor/swoole/ide-helper/src/swoole/Swoole/Http/Request.php" />
<file name="vendor/swoole/ide-helper/src/swoole/Swoole/Http/Response.php" />
<file name="vendor/swoole/ide-helper/src/swoole/Swoole/Http/Server.php" />
<file name="vendor/swoole/ide-helper/src/swoole/Swoole/Table.php" />
<file name="vendor/swoole/ide-helper/src/swoole/Swoole/WebSocket/Frame.php" />
<file name="vendor/swoole/ide-helper/src/swoole/Swoole/WebSocket/Server.php" />
<file name="vendor/swoole/ide-helper/src/swoole_library/src/core/ConnectionPool.php" />
<file name="vendor/swoole/ide-helper/src/swoole_library/src/core/Coroutine/Barrier.php" />
<file name="vendor/swoole/ide-helper/src/swoole_library/src/core/Coroutine/WaitGroup.php" />
<file name="vendor/swoole/ide-helper/src/swoole_library/src/core/Database/ObjectProxy.php" />
<file name="vendor/swoole/ide-helper/src/swoole_library/src/core/Database/PDOConfig.php" />
<file name="vendor/swoole/ide-helper/src/swoole_library/src/core/Database/PDOPool.php" />
<file name="vendor/swoole/ide-helper/src/swoole_library/src/core/Database/PDOProxy.php" />
<file name="vendor/swoole/ide-helper/src/swoole_library/src/core/Database/PDOStatementProxy.php" />
<file name="vendor/swoole/ide-helper/src/swoole_library/src/core/Database/RedisConfig.php" />
<file name="vendor/swoole/ide-helper/src/swoole_library/src/core/Database/RedisPool.php" />
<file name="vendor/swoole/ide-helper/src/swoole_library/src/core/ObjectProxy.php" />
<file name="vendor/swoole/ide-helper/src/swoole_library/src/core/Process/Manager.php" />
</stubs>
</psalm>