-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathphpstan.neon
36 lines (30 loc) · 1.06 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/
checkMissingIterableValueType: false
polluteCatchScopeWithTryAssignments: false
checkFunctionNameCase: true
checkInternalClassCaseSensitivity: true
reportStaticMethodSignatures: true
checkUninitializedProperties: true
reportUnmatchedIgnoredErrors: false
ignoreErrors:
-
message: '#Cannot call method fetchAll\(\) on Doctrine\\DBAL\\Driver\\ResultStatement\|int\.#'
paths:
- Classes
-
message: '#Cannot call method rowCount\(\) on Doctrine\\DBAL\\Driver\\ResultStatement\|int\.#'
paths:
- Classes
-
message: '#Argument of an invalid type Doctrine\\DBAL\\Driver\\ResultStatement\|int supplied for foreach, only iterables are supported\.#'
paths:
- Classes