-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathphpstan.neon
25 lines (24 loc) · 1.13 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
23
24
25
parameters:
bootstrapFiles:
- vendor/autoload.php
checkMissingIterableValueType: false
ignoreErrors:
- '#^Short ternary operator is not allowed\..*$#'
- '#^Construct empty\(\) is not allowed\. Use more strict comparison\.$#'
- '#no value type specified in iterable type array\.$#'
-
message: '#^Access to an undefined property object::.*$#'
paths:
- '%currentWorkingDirectory%/src/JsonApi/Hydrator/AttributeHydrator'
- '%currentWorkingDirectory%/tests/JsonApi/Hydrator/ClassDocumentHydratorTest'
-
message: '#^Variable property access on object\.$#'
paths:
- '%currentWorkingDirectory%/src/JsonApi/Hydrator/AttributeHydrator'
- '%currentWorkingDirectory%/src/JsonApi/Hydrator/ClassDocumentHydrator'
- '#^Dynamic call to static method PHPUnit\\Framework\\.*$#'
includes:
- 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