-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
psalm.xml
128 lines (125 loc) · 6.75 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
116
117
118
119
120
121
122
123
124
125
126
127
128
<?xml version="1.0"?>
<psalm
errorLevel="1"
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"
findUnusedBaselineEntry="true"
findUnusedCode="false">
<projectFiles>
<directory name="src" />
<directory name="config" />
<directory name="tests/src" />
<directory name="tests/config" />
<ignoreFiles>
<directory name="vendor" />
<directory name="src/PHPStan" />
<file name="tests/config/rekalogika-mapper/generated-mappings.php" />
</ignoreFiles>
</projectFiles>
<plugins>
<pluginClass class="Psalm\PhpUnitPlugin\Plugin" />
</plugins>
<issueHandlers>
<MixedArrayOffset>
<errorLevel type="suppress">
<file name="src/Transformer/Implementation/TraversableToArrayAccessTransformer.php" />
</errorLevel>
</MixedArrayOffset>
<MixedAssignment>
<errorLevel type="suppress">
<file name="src/Transformer/Implementation/TraversableToArrayAccessTransformer.php" />
<file name="tests/src/Fixtures/Magic/ObjectWithMagicSet.php" />
</errorLevel>
</MixedAssignment>
<PossiblyInvalidArgument>
<errorLevel type="suppress">
<file name="tests/src/IntegrationTest/MappingTest.php" />
</errorLevel>
</PossiblyInvalidArgument>
<InvalidReturnStatement>
<errorLevel type="suppress">
<file name="src/Context/Context.php" />
</errorLevel>
</InvalidReturnStatement>
<InvalidReturnType>
<errorLevel type="suppress">
<file name="src/Context/Context.php" />
</errorLevel>
</InvalidReturnType>
<MissingConstructor>
<errorLevel type="suppress">
<file name="tests/src/Fixtures/AccessMethods/ObjectWithVariousAccessMethods.php" />
<file name="tests/src/Fixtures/UninitializedProperty/ObjectWithUninitializedProperty.php" />
<file name="tests/src/Fixtures/UninitializedPropertyDto/FinalObjectWithUninitializedPropertyDto.php" />
<file name="tests/src/Fixtures/UninitializedPropertyDto/ObjectWithUninitializedPropertyDto.php" />
<file name="tests/src/Fixtures/ArrayLikeDto/ObjectWithNotNullArrayAccessPropertyDto.php" />
<file name="tests/src/Fixtures/ArrayLikeDto/ObjectWithNotNullTraversablePropertyDto.php" />
<file name="tests/src/Fixtures/DynamicProperty/ObjectWithNonNullPropertyThatCannotBeCastFromNull.php" />
<file name="tests/src/Fixtures/Magic/SomeDto.php" />
<file name="tests/src/Fixtures/Magic/ObjectWithMagicSet.php" />
</errorLevel>
</MissingConstructor>
<ArgumentTypeCoercion>
<errorLevel type="suppress">
<file name="src/DependencyInjection/RekalogikaMapperExtension.php" />
<file name="tests/src/IntegrationTest/ObjectToObjectMetadataFactoryTest.php" />
</errorLevel>
</ArgumentTypeCoercion>
<InternalMethod>
<errorLevel type="suppress">
<file name="src/Transformer/ObjectToObjectMetadata/Implementation/ObjectToObjectMetadataFactory.php" />
<file name="src/Util/ClassUtil.php" />
<file name="src/Transformer/MetadataUtil/PropertyMetadataFactory/PropertyMetadataFactory.php" />
<file name="src/Transformer/MetadataUtil/PropertyMetadataFactory/PropertyPathMetadataFactory.php" />
<file name="src/Transformer/MetadataUtil/ClassMetadataFactory/ClassMetadataFactory.php" />
<file name="src/Transformer/MetadataUtil/PropertyAccessInfoExtractor/PropertyAccessInfoExtractor.php" />
<file name="src/Transformer/MetadataUtil/AttributesExtractor/AttributesExtractor.php" />
<file name="src/Transformer/MetadataUtil/UnalterableDeterminer/UnalterableDeterminer.php" />
</errorLevel>
</InternalMethod>
<InternalClass>
<errorLevel type="suppress">
<file name="src/Transformer/ObjectToObjectMetadata/Implementation/ObjectToObjectMetadataFactory.php" />
<file name="src/Util/ClassUtil.php" />
<file name="src/Transformer/MetadataUtil/PropertyMetadataFactory/PropertyMetadataFactory.php" />
<file name="src/Transformer/MetadataUtil/PropertyMetadataFactory/PropertyPathMetadataFactory.php" />
<file name="src/Transformer/MetadataUtil/ClassMetadataFactory/ClassMetadataFactory.php" />
<file name="src/Transformer/MetadataUtil/PropertyAccessInfoExtractor/PropertyAccessInfoExtractor.php" />
<file name="src/Transformer/MetadataUtil/AttributesExtractor/AttributesExtractor.php" />
<file name="src/Transformer/MetadataUtil/UnalterableDeterminer/UnalterableDeterminer.php" />
</errorLevel>
</InternalClass>
<UndefinedClass>
<errorLevel type="suppress">
<file name="tests/src/IntegrationTest/ObjectToObjectMetadataFactoryTest.php" />
</errorLevel>
</UndefinedClass>
<MissingParamType>
<errorLevel type="suppress">
<file name="tests/src/Fixtures/MixedType/ObjectWithUntypedPropertyDto.php" />
</errorLevel>
</MissingParamType>
<MissingPropertyType>
<errorLevel type="suppress">
<file name="tests/src/Fixtures/MixedType/ObjectWithUntypedPropertyDto.php" />
<file name="tests/src/IntegrationTest/MixedTypeTest.php" />
</errorLevel>
</MissingPropertyType>
<DeprecatedClass>
<errorLevel type="suppress">
<file name="config/services.php" />
<file name="src/MapperFactory.php" />
<file name="src/Transformer/MainTransformerAwareTrait.php" />
<file name="src/Transformer/Implementation/ClassMethodTransformer.php" />
<file name="tests/src/IntegrationTest/MethodMapperTest.php" />
<file name="src/Transformer/Implementation/ArrayToObjectTransformer.php" />
<file name="src/Transformer/Implementation/ObjectToArrayTransformer.php" />
<file name="src/Serializer/AbstractSerializerContext.php" />
<file name="src/Serializer/DenormalizerContext.php" />
<file name="src/Serializer/NormalizerContext.php" />
</errorLevel>
</DeprecatedClass>
</issueHandlers>
</psalm>