-
-
Notifications
You must be signed in to change notification settings - Fork 26
Expand file tree
/
Copy pathphpstan.neon
More file actions
33 lines (25 loc) · 1.12 KB
/
phpstan.neon
File metadata and controls
33 lines (25 loc) · 1.12 KB
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
parameters:
level: 8
errorFormat: symplify
paths:
- src
- config
- tests
excludePaths:
- '*/tests/**/Source/*'
- '*/tests/**/Fixture/*'
ignoreErrors:
-
path: tests/bootstrap.php
message: '#Instantiated class PHP_CodeSniffer\\Util\\Tokens not found#'
- '#Constant T_OPEN_CURLY_BRACKET|T_START_NOWDOC not found#'
# unused generics
- '#Class (.*?) implements generic interface PhpCsFixer\\Fixer\\ConfigurableFixerInterface but does not specify its types\: TFixerInputConfig, TFixerComputedConfig#'
# conditional check to allow various php versions
-
message: '#Comparison operation ">\=" between int<80200, 80599> and (.*?) is always true#'
path: src/TokenAnalyzer/DocblockRelatedParamNamesResolver.php
# array filter issue
-
message: '#Parameter \#1 \$array \(array<int, PhpCsFixer\\Tokenizer\\Token>\) to function array_filter does not contain falsy values, the array will always stay the same#'
path: src/TokenRunner/Traverser/TokenReverser.php