-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpstan.neon
46 lines (39 loc) · 1.22 KB
/
phpstan.neon
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
parameters:
level: 8
paths:
- src
- tests
- public
excludePaths:
- vendor
scanFiles:
- vendor/twig/twig/src/Extension/CoreExtension.php
- vendor/symfony/validator/Test/ConstraintValidatorTestCase.php
reportUnmatchedIgnoredErrors: true
checkUninitializedProperties: true
doctrine:
reportUnknownTypes: false
allowNullablePropertyForRequiredField: true
ormRepositoryClass: App\Repository\AbstractRepository
strictRules:
strictArrayFilter: false
ignoreErrors:
-
message: '#should be contravariant#'
identifier: method.childParameterType
-
message: '#no value type specified#'
identifier: missingType.iterableValue
-
message: '#@extends contains generic type#'
identifier: generics.notGeneric
path: src/Form/Extension/*
-
message: '#Call to static method .* will always evaluate to true.#'
path: tests/*
-
message: '#@extends contains generic type#'
identifier: generics.notGeneric
paths:
- src/Form/*
- tests/Fixture/*