-
-
Notifications
You must be signed in to change notification settings - Fork 244
Expand file tree
/
Copy pathphpstan.neon
More file actions
44 lines (38 loc) · 1.52 KB
/
phpstan.neon
File metadata and controls
44 lines (38 loc) · 1.52 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
34
35
36
37
38
39
40
41
42
43
44
includes:
- ./vendor/larastan/larastan/extension.neon
parameters:
paths:
- src
level: 9
ignoreErrors:
- identifier: missingType.iterableValue
- identifier: missingType.generics
- identifier: trait.unused
- identifier: argument.type
- identifier: assign.propertyType
- identifier: binaryOp.invalid
- identifier: method.notFound
- identifier: encapsedStringPart.nonString
- identifier: varTag.nativeType
- identifier: property.unusedType
- identifier: offsetAccess.invalidOffset
- identifier: array.invalidKey
- '#Cannot call method [a-zA-Z0-9\\_]#'
- '#Variable \$title might not be defined.#'
- '#^Method .*::fromLivewire\(\) has no return type specified\.#'
- '#^Method .*::fromLivewire\(\) has parameter \$value with no type specified\.#'
-
message: "#^Unable to resolve the template type TKey in call to function collect$#"
count: 1
path: src/Support/PowerGridTableCache.php
-
message: "#^Unable to resolve the template type TValue in call to function collect$#"
count: 1
path: src/Support/PowerGridTableCache.php
excludePaths:
- './src/Components/Exports/OpenSpout/*'
- './src/Livewire/PerformanceCard.php'
- './src/Recorders/PowerGridPerformanceRecorder.php'
- './src/Themes/Theme.php'
- './src/Testing/TestActions.php'
treatPhpDocTypesAsCertain: false