-
-
Notifications
You must be signed in to change notification settings - Fork 126
Expand file tree
/
Copy pathphpstan.neon
More file actions
19 lines (19 loc) · 768 Bytes
/
Copy pathphpstan.neon
File metadata and controls
19 lines (19 loc) · 768 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
includes:
- vendor/phpstan/phpstan-strict-rules/rules.neon
- vendor/phpstan/phpstan-phpunit/extension.neon
- vendor/phpstan/phpstan-phpunit/rules.neon
parameters:
level: max
paths:
- src
ignoreErrors:
- message: '#has no value type specified in iterable type array.#'
path: src/Rules.php
- message: '#has parameter \$(properties|rules|list|tmpList) with no value type specified in iterable type array.#'
path: src/Rules.php
- message: "#Cannot access offset '!' on mixed.#"
path: src/Rules.php
- message: '#Variable \$line on left side of \?\? always exists and is not nullable.#'
path: src/Rules.php
- '#^Parameter \#1 \$callback of function set_error_handler expects#'
reportUnmatchedIgnoredErrors: true