Skip to content

Commit b2d9c0d

Browse files
committed
4268: Updated PHPStan config
1 parent f3569d4 commit b2d9c0d

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

phpstan.dist.neon

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,3 +18,8 @@ parameters:
1818
- "#Property .+ type has no value type specified in iterable type array.#"
1919
- messages:
2020
- "#Class .+ implements generic interface .+ but does not specify its types: #"
21+
- messages:
22+
# Are the ID properties actually set by API Platform?
23+
- "#Property App\\\\Api\\\\Dto\\\\[^\\\\]+::\\$id is unused#"
24+
# Is this property actually set by API Platform?
25+
- "#Class App\\\\Api\\\\Dto\\\\Tag has an uninitialized readonly property \\$id. Assign it in the constructor.#"

0 commit comments

Comments
 (0)