-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpstan.neon
34 lines (28 loc) · 885 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
32
33
34
##
# Configuration file for PHPStan static code checking, see https://phpstan.org .
#
# Note that drupal-specific rules are automatically included by phpstan/extension-installer
# from vendor/mglaman/phpstan-drupal/extension.neon and vendor/mglaman/phpstan-drupal/rules.neon
# @see https://github.com/mglaman/phpstan-drupal
#
# Paths are passed as CLI arguments.
parameters:
level: 7
paths:
- web/modules/custom
- web/themes/custom
excludePaths:
- vendor/*
- node_modules/*
- rector.php
ignoreErrors:
-
# Hook implementations do not provide docblocks for parameters, so there
# is no way to provide this information.
messages:
- '#.* no value type specified in iterable type array#'
- '#.* has no return type specified#'
paths:
- *
reportUnmatched: false
reportUnmatchedIgnoredErrors: false