-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathphpstan.neon
36 lines (31 loc) · 1.04 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
parameters:
level: max
bootstrapFiles:
- phpstan.bootstrap.php
paths:
- Classes
- Tests
# Exclude XClasses for ExtensionBuilder until it has TYPO3 v11 support
excludePaths:
- Classes/ExtensionBuilder/
checkDynamicProperties: true
checkFunctionNameCase: true
checkInternalClassCaseSensitivity: true
reportStaticMethodSignatures: true
checkUninitializedProperties: true
ignoreErrors:
-
identifier: missingType.iterableValue
-
message: '#Parameter \#1 \$callback of function array_map expects \(callable\(string\|false\): mixed\)\|null, ''trim'' given\.#'
paths:
- Classes
-
message: '#Parameter \#2 \$callback of function array_walk expects callable\(mixed, int\): mixed, Closure.* given.#'
paths:
- Classes
-
message: '#^Call to deprecated function Safe\\sprintf\(\)#'
paths:
- Classes
reportUnmatched: false