forked from szepeviktor/phpstan-wordpress
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathphpstan.neon
More file actions
14 lines (14 loc) · 697 Bytes
/
phpstan.neon
File metadata and controls
14 lines (14 loc) · 697 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
includes:
- vendor/phpstan/phpstan/conf/bleedingEdge.neon
- vendor/phpstan/phpstan-strict-rules/rules.neon
parameters:
level: max
paths:
- %rootDir%/../../../src/
ignoreErrors:
-
path: %rootDir%/../../../src/GetPostDynamicFunctionReturnTypeExtension.php
message: "#^Strict comparison using === between 'OBJECT'\\|PhpParser\\\\Node\\\\Expr and '(ARRAY_N|ARRAY_A|OBJECT)' will always evaluate to false\\.$#"
-
path: %rootDir%/../../../src/GetPostDynamicFunctionReturnTypeExtension.php
message: "#^Strict comparison using !== between PhpParser\\\\Node\\\\Expr and 'OBJECT' will always evaluate to true\\.$#"