generated from biurad/php-starter
-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpsalm.xml.dist
66 lines (60 loc) · 2.42 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
<?xml version="1.0"?>
<psalm xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="https://getpsalm.org/schema/config"
name="Psalm for PHP Rade DI"
useDocblockTypes="true"
errorLevel="8"
strictBinaryOperands="false"
rememberPropertyAssignmentsAfterCall="true"
checkForThrowsDocblock="false"
throwExceptionOnError="0"
ensureArrayStringOffsetsExist="true"
ensureArrayIntOffsetsExist="false"
resolveFromConfigFile="true"
xsi:schemaLocation="https://getpsalm.org/schema/config vendor/vimeo/psalm/config.xsd"
>
<projectFiles>
<directory name="src"/>
<ignoreFiles>
<directory name="vendor"/>
</ignoreFiles>
</projectFiles>
<issueHandlers>
<PossiblyInvalidArrayAssignment>
<errorLevel type="suppress">
<file name="src/Traits/ResolveTrait.php"/>
</errorLevel>
</PossiblyInvalidArrayAssignment>
<InvalidThrow>
<errorLevel type="suppress">
<referencedClass name="Psr\Container\NotFoundExceptionInterface"/>
<referencedClass name="Psr\Container\ContainerExceptionInterface"/>
</errorLevel>
</InvalidThrow>
<InvalidCatch>
<errorLevel type="suppress">
<referencedClass name="Psr\Container\ContainerExceptionInterface"/>
</errorLevel>
</InvalidCatch>
<UndefinedMethod>
<errorLevel type="suppress">
<referencedMethod name="Rade\DI\Services\ServiceProviderInterface::getid"/>
<referencedMethod name="ReflectionMethod::getAttributes"/>
<referencedMethod name="ReflectionProperty::getAttributes"/>
<file name="src/Loader/YamlFileLoader.php"/>
</errorLevel>
</UndefinedMethod>
<PropertyNotSetInConstructor>
<errorLevel type="suppress">
<file name="src/Builder/CodePrinter.php"/>
<file name="src/Definition.php"/>
<referencedProperty name="Rade\DI\Loader\YamlFileLoader::$yamlParser" />
</errorLevel>
</PropertyNotSetInConstructor>
<PossiblyUndefinedStringArrayOffset>
<errorLevel type="suppress">
<file name="src/ContainerBuilder.php"/>
</errorLevel>
</PossiblyUndefinedStringArrayOffset>
</issueHandlers>
</psalm>