-
Notifications
You must be signed in to change notification settings - Fork 40
/
Copy pathphpstan.neon
31 lines (31 loc) · 1019 Bytes
/
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
includes:
- vendor/mglaman/phpstan-drupal/extension.neon
- vendor/phpstan/phpstan-deprecation-rules/rules.neon
- phpstan-rules/phpstan-extension.neon
parameters:
level: 6
reportUnmatchedIgnoredErrors: false
ignoreErrors:
- identifier: missingType.iterableValue
- identifier: missingType.generics
- '#has no return type specified.#'
- '#Access to an undefined property Drupal\\Core\\Field\\FieldItemListInterface::\$value.#'
- '#Access to an undefined property Drupal\\Core\\Field\\FieldItemInterface::\$value.#'
paths:
- web
- RoboFile.php
- robo-components
- phpstan-rules
excludePaths:
- '*.api.php'
- '*/tests/fixtures/*.php'
- 'web/core/*'
- 'web/sites/default/files/*'
- 'web/sites/default/*.php'
- 'web/sites/default/default.settings.php'
- 'web/sites/default/settings.php'
- 'web/sites/default/settings.local.php'
- 'web/modules/contrib/*'
- 'web/themes/contrib/*'
- 'web/libraries/*'
- 'web/sites/simpletest/*'