-
Notifications
You must be signed in to change notification settings - Fork 132
/
phpstan.neon
43 lines (37 loc) · 1.08 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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
includes:
- tools/vendor/phpstan/phpstan-phpunit/extension.neon
- tools/vendor/phpstan/phpstan-phpunit/rules.neon
parameters:
level: 6
paths:
- src
- test/benchmark
- test/unit
# Force the right PhpParser
scanDirectories:
- vendor/nikic/php-parser
excludePaths:
analyse:
- test/unit/Fixture/*
analyseAndScan:
- test/unit/Fixture/InvalidParents.php
- tools/vendor/*
bootstrapFiles:
- phar://%currentWorkingDirectory%/test/unit/Fixture/autoload.phar/vendor/autoload.php
ignoreErrors:
-
identifier: missingType.generics
-
identifier: possiblyImpure.functionCall
-
identifier: possiblyImpure.methodCall
-
identifier: possiblyImpure.new
-
identifier: property.readOnlyByPhpDocAssignNotInConstructor
-
identifier: staticMethod.alreadyNarrowedType
path: test/unit/
-
identifier: varTag.nativeType
path: test/unit/