File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
src/Validator/Constraints Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -8,6 +8,9 @@ parameters:
8
8
- config
9
9
- src
10
10
- tests
11
+ excludePaths:
12
+ # Error "overriding property ... should also have native type" is not ignorable
13
+ - src/Validator/Constraints/Unique.php
11
14
12
15
ignoreErrors:
13
16
- message: '# with generic class Doctrine\\ODM\\MongoDB\\Mapping\\ClassMetadata#'
Original file line number Diff line number Diff line change @@ -31,10 +31,7 @@ class Unique extends UniqueEntity
31
31
#[Attribute(Attribute::TARGET_CLASS | Attribute::IS_REPEATABLE )]
32
32
class Unique extends UniqueEntity
33
33
{
34
- /**
35
- * @phpstan-ignore missingType.property
36
- * @var string $service
37
- */
34
+ /** @var string $service */
38
35
public $ service = 'doctrine_odm.mongodb.unique ' ;
39
36
}
40
37
}
You can’t perform that action at this time.
0 commit comments