-
Notifications
You must be signed in to change notification settings - Fork 22
/
phpstan.neon
25 lines (23 loc) · 1.21 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
includes:
- vendor/phpstan/phpstan-deprecation-rules/rules.neon
- vendor/phpstan/phpstan-strict-rules/rules.neon
parameters:
level: 5
reportUnmatchedIgnoredErrors: false
checkMissingIterableValueType: false
checkGenericClassInNonGenericObjectType: false
inferPrivatePropertyTypeFromConstructor: true
paths:
- %currentWorkingDirectory%
ignoreErrors:
- '#Class Symfony\\Component\\Config\\Definition\\Builder\\TreeBuilder constructor invoked with 0 parameters, 1-3 required#'
- '#Call to an undefined method Symfony\\Component\\Config\\Definition\\Builder\\TreeBuilder::root\(\)#'
- '#Call to function method_exists\(\) with .*?TreeBuilder.*? and .*?getRootNode.*? will always evaluate to true#'
- '#Comparison operation "<" between 70006 and 50200 is always false#'
- '#Comparison operation "<" between 70007 and 50200 is always false#'
- '#Comparison operation ">=" between 7 and 6 is always true#'
- '#Else branch is unreachable because ternary operator condition is always true#'
excludePaths:
- %currentWorkingDirectory%/.github/*
- %currentWorkingDirectory%/.idea/*
- %currentWorkingDirectory%/vendor/*