-
-
Notifications
You must be signed in to change notification settings - Fork 59
/
psalm.xml.dist
98 lines (95 loc) · 4.67 KB
/
psalm.xml.dist
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
90
91
92
93
94
95
96
97
98
<?xml version="1.0"?>
<psalm
errorLevel="1"
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"
findUnusedPsalmSuppress="true"
findUnusedCode="true"
findUnusedBaselineEntry="true"
>
<projectFiles>
<directory name="src"/>
<directory name="test"/>
<ignoreFiles>
<directory name="vendor"/>
<directory name="test/TestAsset"/>
<directory name="test/**/TestAsset"/>
</ignoreFiles>
</projectFiles>
<issueHandlers>
<MixedAssignment errorLevel="suppress"/>
<InvalidCatch>
<errorLevel type="suppress">
<!-- PSR does not implement Throwable in 1.x version -->
<referencedClass name="Psr\Container\ContainerExceptionInterface"/>
<referencedClass name="Psr\Container\NotFoundExceptionInterface"/>
</errorLevel>
</InvalidCatch>
<InvalidThrow>
<errorLevel type="suppress">
<!-- PSR does not implement Throwable in 1.x version -->
<referencedClass name="Psr\Container\ContainerExceptionInterface"/>
</errorLevel>
</InvalidThrow>
<DeprecatedClass>
<errorLevel type="suppress">
<referencedClass name="Laminas\ServiceManager\DelegatorFactoryInterface"/>
<referencedClass name="Laminas\ServiceManager\InitializerInterface"/>
<referencedClass name="Laminas\ServiceManager\FactoryInterface"/>
</errorLevel>
</DeprecatedClass>
<DeprecatedProperty>
<errorLevel type="suppress">
<referencedProperty name="Laminas\ServiceManager\AbstractPluginManager::$initializers"/>
<referencedProperty name="Laminas\ServiceManager\AbstractPluginManager::$delegators"/>
<referencedProperty name="Laminas\ServiceManager\AbstractPluginManager::$shared"/>
<referencedProperty name="Laminas\ServiceManager\AbstractPluginManager::$lazyServices"/>
<referencedProperty name="Laminas\ServiceManager\AbstractPluginManager::$services"/>
<referencedProperty name="Laminas\ServiceManager\AbstractPluginManager::$aliases"/>
<referencedProperty name="Laminas\ServiceManager\AbstractPluginManager::$abstractFactories"/>
<referencedProperty name="Laminas\ServiceManager\AbstractPluginManager::$factories"/>
</errorLevel>
</DeprecatedProperty>
<InvalidThrow>
<errorLevel type="suppress">
<referencedClass name="Interop\Container\Exception\ContainerException"/>
</errorLevel>
</InvalidThrow>
<DeprecatedMethod>
<errorLevel type="info">
<referencedMethod name="Laminas\ServiceManager\AbstractPluginManager::addAbstractFactory"/>
<referencedMethod name="Laminas\ServiceManager\AbstractPluginManager::setService"/>
<referencedMethod name="Laminas\ServiceManager\AbstractPluginManager::setInvokableClass"/>
<referencedMethod name="Laminas\ServiceManager\AbstractPluginManager::setAlias"/>
<referencedMethod name="Laminas\ServiceManager\AbstractPluginManager::setShared"/>
<referencedMethod name="Laminas\ServiceManager\AbstractPluginManager::addInitializer"/>
<referencedMethod name="Laminas\ServiceManager\AbstractPluginManager::addDelegator"/>
<referencedMethod name="Laminas\ServiceManager\AbstractPluginManager::setFactory"/>
<referencedMethod name="Laminas\ServiceManager\AbstractPluginManager::mapLazyService"/>
</errorLevel>
</DeprecatedMethod>
<DeprecatedClass>
<errorLevel type="suppress">
<referencedClass name="Laminas\ServiceManager\Config"/>
</errorLevel>
</DeprecatedClass>
<InternalClass>
<errorLevel type="suppress">
<!-- Tests are allowed to work with internal classes -->
<directory name="test"/>
</errorLevel>
</InternalClass>
<InternalMethod>
<errorLevel type="suppress">
<!-- Tests are allowed to work with internal classes -->
<directory name="test"/>
</errorLevel>
</InternalMethod>
</issueHandlers>
<plugins>
<pluginClass class="Psalm\PhpUnitPlugin\Plugin"/>
<pluginClass class="Boesing\PsalmPluginStringf\Plugin"/>
</plugins>
</psalm>