-
Notifications
You must be signed in to change notification settings - Fork 48
/
psalm.xml
115 lines (104 loc) · 5.92 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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
<?xml version="1.0"?>
<psalm
errorLevel="2"
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"
>
<projectFiles>
<directory name="src" />
<ignoreFiles allowMissingFiles="true">
<directory name="vendor" />
<directory name="src/Bundle/Doctrine/PHPCRODM" />
<directory name="src/Bundle/Resources" />
<directory name="src/Bundle/spec" />
<directory name="src/Bundle/Tests" />
<directory name="src/Component/spec" />
<directory name="src/Component/vendor" />
</ignoreFiles>
</projectFiles>
<issueHandlers>
<DeprecatedClass>
<errorLevel type="suppress">
<referencedClass name="Pagerfanta\Adapter\DoctrineDbalAdapter" />
<referencedClass name="Pagerfanta\Adapter\DoctrineORMAdapter" />
<referencedClass name="Symfony\Bundle\FrameworkBundle\Controller\Controller" />
<referencedClass name="Symfony\Component\EventDispatcher\Event" />
<referencedClass name="Symfony\Component\HttpKernel\Event\FilterResponseEvent" />
<referencedClass name="Symfony\Component\HttpKernel\Event\GetResponseEvent" />
<referencedClass name="Symfony\Component\Translation\TranslatorInterface" />
</errorLevel>
</DeprecatedClass>
<DeprecatedMethod>
<errorLevel type="suppress">
<referencedMethod name="Doctrine\DBAL\Query\Expression\ExpressionBuilder::andX" />
<referencedMethod name="Doctrine\DBAL\Query\Expression\ExpressionBuilder::orX" />
<referencedMethod name="Symfony\Component\Config\Definition\Builder\TreeBuilder::root" />
<referencedMethod name="Symfony\Component\EventDispatcher\Event::isPropagationStopped" />
<referencedMethod name="Symfony\Component\EventDispatcher\Event::stopPropagation" />
<referencedMethod name="Symfony\Component\EventDispatcher\EventDispatcherInterface::dispatch" />
</errorLevel>
</DeprecatedMethod>
<InvalidArgument>
<errorLevel type="suppress">
<referencedFunction name="Symfony\Component\EventDispatcher\EventDispatcherInterface::dispatch" />
</errorLevel>
</InvalidArgument>
<MissingTemplateParam>
<errorLevel type="suppress">
<file name="src/Bundle/Form/DataTransformer/DateTimeFilterTransformer.php" />
</errorLevel>
</MissingTemplateParam>
<PossiblyNullReference>
<errorLevel type="suppress">
<file name="src/Bundle/DependencyInjection/Configuration.php" />
</errorLevel>
</PossiblyNullReference>
<PossiblyUndefinedMethod>
<errorLevel type="suppress">
<referencedMethod name="Symfony\Component\Config\Definition\Builder\NodeDefinition::arrayNode" />
<referencedMethod name="Symfony\Component\Config\Definition\Builder\NodeDefinition::scalarNode" />
<referencedMethod name="Symfony\Component\Config\Definition\Builder\NodeDefinition::variableNode" />
<referencedMethod name="Symfony\Component\Config\Definition\Builder\NodeParentInterface::end" />
<referencedMethod name="Symfony\Component\Config\Definition\Builder\VariableNodeDefinition::arrayNode" />
</errorLevel>
</PossiblyUndefinedMethod>
<PropertyNotSetInConstructor>
<errorLevel type="suppress">
<referencedProperty name="Symfony\Component\DependencyInjection\ContainerAwareTrait::$container" />
<referencedProperty name="Symfony\Component\Validator\ConstraintValidator::$context" />
</errorLevel>
</PropertyNotSetInConstructor>
<RiskyTruthyFalsyComparison>
<errorLevel type="suppress">
<file name="src/Component/Filter/DateFilter.php" />
<file name="src/Component/View/GridView.php" />
<file name="src/Bundle/Builder/Field/Field.php" />
<file name="src/Bundle/Form/DataTransformer/DateTimeFilterTransformer.php" />
<file name="src/Bundle/Renderer/TwigGridRenderer.php" />
</errorLevel>
</RiskyTruthyFalsyComparison>
<TooManyArguments>
<errorLevel type="suppress">
<referencedFunction name="Symfony\Component\Config\Definition\Builder\TreeBuilder::__construct" />
<referencedFunction name="Symfony\Component\EventDispatcher\EventDispatcherInterface::dispatch"/>
<referencedFunction name="Symfony\Contracts\EventDispatcher\EventDispatcherInterface::dispatch" />
</errorLevel>
</TooManyArguments>
<UndefinedClass>
<errorLevel type="suppress">
<file name="src/Bundle/DependencyInjection/Compiler/RegisterStubCommandsPass.php" />
<referencedClass name="Doctrine\Bundle\MongoDBBundle\DependencyInjection\Compiler\DoctrineMongoDBMappingsPass" />
<referencedClass name="Doctrine\Bundle\PHPCRBundle\DependencyInjection\Compiler\DoctrinePhpcrMappingsPass" />
<referencedClass name="Sylius\Bundle\CurrencyBundle\Form\Type\CurrencyChoiceType" />
<referencedClass name="Symfony\Component\ExpressionLanguage\ParserCache\ParserCacheAdapter" />
<referencedClass name="Symfony\Component\ExpressionLanguage\ParserCache\ParserCacheInterface" />
</errorLevel>
</UndefinedClass>
<UndefinedInterfaceMethod>
<errorLevel type="suppress">
<file name="src/Bundle/DependencyInjection/Configuration.php" />
</errorLevel>
</UndefinedInterfaceMethod>
</issueHandlers>
</psalm>