-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathphpstan.neon
36 lines (30 loc) · 1.64 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
parameters:
checkMissingIterableValueType: false
inferPrivatePropertyTypeFromConstructor: true
level: max
paths:
- src/
- tests/
ignoreErrors:
- '#Call to an undefined method Symfony\\Component\\Config\\Definition\\Builder\\NodeDefinition::#'
- '#[Ff]unction (dd_?trace|DDTrace\\)\S+ (is )?not found#'
- '#Call to static method [^(]+\(\) on an unknown class Tideways\\Profiler.#'
- message: '#Call to function method_exists\(\) with Symfony\\Component\\HttpFoundation\\RequestStack and .getMainRequest. will always evaluate to true#'
reportUnmatched: false
- message: '#Call to an undefined method Symfony\\Component\\HttpFoundation\\RequestStack::getMasterRequest\(\).#'
reportUnmatched: false
- message: '#Call to deprecated method getMasterRequest\(\) of class Symfony\\Component\\HttpFoundation\\RequestStack#'
reportUnmatched: false
- message: '#Call to deprecated method getNestedExceptions.+#'
reportUnmatched: false
- message: '#Call to function method_exists\(\) with Symfony\\Component\\Messenger\\Exception\\HandlerFailedException and .getNestedExceptions. will always evaluate to true.#'
reportUnmatched: false
scanDirectories:
- vendor/datadog/dd-trace/src/DDTrace/
includes:
- vendor/phpstan/phpstan-deprecation-rules/rules.neon
- vendor/phpstan/phpstan-strict-rules/rules.neon
- vendor/phpstan/phpstan/conf/bleedingEdge.neon
- vendor/jangregor/phpstan-prophecy/extension.neon
- vendor/phpstan/phpstan-phpunit/extension.neon
- vendor/phpstan/phpstan-phpunit/rules.neon