-
-
Notifications
You must be signed in to change notification settings - Fork 21
Expand file tree
/
Copy pathphpstan.neon
More file actions
61 lines (54 loc) · 1.45 KB
/
phpstan.neon
File metadata and controls
61 lines (54 loc) · 1.45 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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
includes:
- vendor/contributte/phpstan/phpstan.neon
parameters:
level: 8
phpVersion: 80200
scanDirectories:
- src
fileExtensions:
- php
paths:
- src
- .docs
ignoreErrors:
# https://github.com/phpstan/phpstan-nette/issues/141
-
message: '#^Parameter \#1 \$array of function array_filter expects array, Iterator\<int\|string, Nette\\ComponentModel\\IComponent\> given\.$#'
identifier: argument.type
count: 4
path: src/Multiplier.php
# Strict rules - boolean conditions
-
identifier: if.condNotBoolean
path: src/ComponentResolver.php
-
identifier: if.condNotBoolean
path: src/Multiplier.php
-
identifier: booleanAnd.leftNotBoolean
path: src/Latte/Extension/Node/MultiplierAddNode.php
-
identifier: booleanAnd.leftNotBoolean
path: src/Multiplier.php
-
identifier: booleanAnd.rightNotBoolean
path: src/Multiplier.php
-
identifier: booleanNot.exprNotBoolean
path: src/Latte/Extension/Node/MultiplierRemoveNode.php
-
identifier: booleanNot.exprNotBoolean
path: src/Multiplier.php
-
identifier: ternary.condNotBoolean
path: src/Latte/Extension/Node/MultiplierAddNode.php
-
identifier: ternary.condNotBoolean
path: src/Latte/Extension/Node/MultiplierRemoveNode.php
# Strict rules - covariance/contravariance
-
identifier: method.childReturnType
path: src/Latte/Extension/MultiplierExtension.php
-
identifier: method.childParameterType
path: src/Multiplier.php