-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathphpstan.neon.dist
25 lines (24 loc) · 1.29 KB
/
phpstan.neon.dist
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
includes:
- tools/phpstan/vendor/ekino/phpstan-banned-code/extension.neon
- tools/phpstan/vendor/phpstan/phpstan-deprecation-rules/rules.neon
- tools/phpstan/vendor/phpstan/phpstan-phpunit/extension.neon
- tools/phpstan/vendor/phpstan/phpstan-phpunit/rules.neon
- tools/phpstan/vendor/phpstan/phpstan-strict-rules/rules.neon
parameters:
level: 8
paths:
- src
- tests
tmpDir: var/phpstan
ignoreErrors:
# 3 errors due to circular reference in ExceptionNormalizer
- message: '#Circular definition detected in type alias NormalizedException\.#'
path: src/ExceptionNormalizer.php
- message: '#Method Beesofts\\PrettyDumper\\ExceptionNormalizer\:\:normalizeException\(\) return type has no value type specified in iterable type array\.#'
path: src/ExceptionNormalizer.php
- message: '#PHPDoc tag @return contains unresolvable type\.#'
path: src/ExceptionNormalizer.php
- message: '#Argument of an invalid type array\|object supplied for foreach, only iterables are supported\.#'
path: src/PrettyDumper.php
# no need to define return type precisely for tests data providers
- '#^Method .+CasesProvider\(\) return type has no value type specified in iterable type iterable\.$#'