-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpstan.neon
27 lines (25 loc) · 1.05 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
26
27
includes:
- %rootDir%/conf/bleedingEdge.neon
- %rootDir%/../phpstan-strict-rules/rules.neon
# Settings for tests
- extension.neon
parameters:
level: max
ignoreErrors:
-
message: '#^Call to static method Forrest79\\NarrowTypes::isType\(\) with mixed and string will always evaluate to true\.$#'
path: %rootDir%/../../../src/functions.php
count: 1
# temp version mismatch for Nikic\PhpParser v4 (shipped with PHPStan) vs v5
-
message: "#^Call to function method_exists\\(\\) with PhpParser\\\\ParserFactory and 'createForVersion' will always evaluate to true\\.$#"
path: %rootDir%/../../../src/NarrowTypes/FullyQualifiedClassNameResolver.php
count: 1
-
message: '#^Access to undefined constant PhpParser\\ParserFactory::PREFER_PHP7\.$#'
path: %rootDir%/../../../src/NarrowTypes/FullyQualifiedClassNameResolver.php
count: 1
-
message: '#^Call to an undefined method PhpParser\\ParserFactory::create\(\)\.$#'
path: %rootDir%/../../../src/NarrowTypes/FullyQualifiedClassNameResolver.php
count: 1