-
Notifications
You must be signed in to change notification settings - Fork 398
/
psalm.xml
42 lines (41 loc) · 1.86 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
<?xml version="1.0"?>
<psalm
errorLevel="6"
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"
autoloader="autoload.php.dist"
errorBaseline="psalm-baseline.xml"
>
<projectFiles>
<directory name="src/Propel/"/>
</projectFiles>
<issueHandlers>
<RedundantConditionGivenDocblockType errorLevel="suppress"/>
<DocblockTypeContradiction errorLevel="suppress"/>
<MissingClosureParamType errorLevel="suppress"/>
<MissingClosureReturnType errorLevel="suppress"/>
<PropertyNotSetInConstructor errorLevel="suppress"/>
<UnresolvableInclude errorLevel="suppress"/>
<ImplementedReturnTypeMismatch errorLevel="suppress"/>
<ImplicitToStringCast errorLevel="suppress"/>
<UndefinedMagicMethod errorLevel="suppress"/>
<UndefinedMethod>
<errorLevel type="suppress">
<referencedMethod name="Symfony\Component\Config\Definition\Builder\TreeBuilder::root"/>
</errorLevel>
</UndefinedMethod>
<!-- Workaround for https://github.com/vimeo/psalm/issues/7026 -->
<ReservedWord errorLevel="suppress">
<errorLevel type="suppress">
<file name="src/Propel/Common/Config/ConfigurationManager.php" />
<file name="src/Propel/Common/Config/Loader/YamlFileLoader.php" />
<file name="src/Propel/Common/Config/PropelConfiguration.php" />
<file name="src/Propel/Generator/Behavior/Validate/ValidateBehavior.php" />
<file name="src/Propel/Runtime/Parser/YamlParser.php" />
</errorLevel>
</ReservedWord>
</issueHandlers>
</psalm>