-
Notifications
You must be signed in to change notification settings - Fork 38
/
Copy pathphpstan.neon
22 lines (21 loc) · 1.15 KB
/
phpstan.neon
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
parameters:
level: 8
paths:
- src/
- tests/
bootstrapFiles:
- vendor/autoload.php
reportUnmatchedIgnoredErrors: false
ignoreErrors:
- '#^Construct empty\(\) is not allowed\. Use more strict comparison\.$#'
- '#^Property WoohooLabs\\Yin\\JsonApi\\Schema\\Resource\\AbstractResource::\$request \(WoohooLabs\\Yin\\JsonApi\\Request\\JsonApiRequestInterface\) does not accept null\.$#'
- '#^Property WoohooLabs\\Yin\\JsonApi\\Schema\\Resource\\AbstractResource::\$exceptionFactory \(WoohooLabs\\Yin\\JsonApi\\Exception\\ExceptionFactoryInterface\) does not accept null\.$#'
- '#^Method WoohooLabs\\Yin\\JsonApi\\Request\\JsonApiRequest::.* should return array<string> but returns array<int, int\|string>\.$#'
- '#^Dynamic call to static method PHPUnit\\Framework\\.*$#'
- '#^Offset ''(required|requested|applied)'' might not exist on array\|null\.$#'
includes:
- phpstan-baseline.neon
- vendor/phpstan/phpstan/conf/bleedingEdge.neon
- vendor/phpstan/phpstan-strict-rules/rules.neon
- vendor/phpstan/phpstan-phpunit/extension.neon
- vendor/phpstan/phpstan-phpunit/rules.neon