-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathphpstan.neon
40 lines (34 loc) · 1.06 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
parameters:
level: 8
tmpDir: var/cache/phpstan
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: '#Call to static method .* will always evaluate to true.#'
path: tests/*
-
message: '#@extends contains generic type#'
identifier: generics.notGeneric
path: src/Form/Extension/*