forked from Gizra/drupal-starter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpstan.neon
27 lines (27 loc) · 881 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
includes:
- vendor/mglaman/phpstan-drupal/extension.neon
- vendor/phpstan/phpstan-deprecation-rules/rules.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
excludePaths:
- '*.api.php'
- '*/tests/fixtures/*.php'
- 'web/core/*'
- 'web/sites/default/files/*'
- 'web/sites/default/default.settings.php'
- 'web/sites/default/settings.php'
- 'web/modules/contrib/*'
- 'web/themes/contrib/*'
- 'web/libraries/*'
- 'web/sites/simpletest/*'