Skip to content

Commit c08c604

Browse files
committed
Updated Psalm configuration
1 parent e66341e commit c08c604

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

psalm.xml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,20 @@
2424
</plugins>
2525

2626
<issueHandlers>
27+
<ArgumentTypeCoercion>
28+
<errorLevel type="suppress">
29+
<directory name="tests/Integration" />
30+
</errorLevel>
31+
</ArgumentTypeCoercion>
32+
33+
<ClassMustBeFinal errorLevel="suppress" />
34+
35+
<ImplicitToStringCast>
36+
<errorLevel type="suppress">
37+
<directory name="tests/E2E" />
38+
</errorLevel>
39+
</ImplicitToStringCast>
40+
2741
<PropertyNotSetInConstructor>
2842
<errorLevel type="suppress">
2943
<file name="src/Validator/Constraints/EntityReferenceExists.php" />
@@ -32,6 +46,19 @@
3246
</errorLevel>
3347
</PropertyNotSetInConstructor>
3448

49+
<UndefinedClass>
50+
<errorLevel type="suppress">
51+
<directory name="tests/Integration" />
52+
</errorLevel>
53+
</UndefinedClass>
54+
55+
<UndefinedDocblockClass>
56+
<errorLevel type="suppress">
57+
<directory name="tests/Functional" />
58+
<directory name="tests/Integration" />
59+
</errorLevel>
60+
</UndefinedDocblockClass>
61+
3562
<UndefinedMethod>
3663
<errorLevel type="suppress">
3764
<directory name="tests/Integration" />

0 commit comments

Comments
 (0)