Skip to content

Commit 3cc9374

Browse files
committed
Fixed build
1 parent fc0d397 commit 3cc9374

File tree

5 files changed

+10
-8
lines changed

5 files changed

+10
-8
lines changed

phpstan.neon

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ includes:
66

77
parameters:
88
excludes_analyse:
9-
- */tests/*/data/*
9+
- tests/*/data/*
1010
ignoreErrors:
1111
- '~^Parameter \#1 \$node \(.*\) of method .*Rule::processNode\(\) should be contravariant with parameter \$node \(PhpParser\\Node\) of method PHPStan\\Rules\\Rule::processNode\(\)$~'
1212

tests/Levels/data/onlyBooleans-0.json

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,4 @@
11
[
2-
{
3-
"message": "Method PHPStan\\Levels\\OnlyBooleans\\Foo::doFoo() has parameter $mixed with no typehint specified.",
4-
"line": 14,
5-
"ignorable": true
6-
},
72
{
83
"message": "Only booleans are allowed in an if condition, mixed given.",
94
"line": 32,

tests/Levels/data/onlyBooleans-6.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[
22
{
3-
"message": "Only booleans are allowed in an if condition, int|false given.",
4-
"line": 35,
3+
"message": "Method PHPStan\\Levels\\OnlyBooleans\\Foo::doFoo() has parameter $mixed with no typehint specified.",
4+
"line": 14,
55
"ignorable": true
66
}
77
]

tests/Levels/data/onlyBooleans-7.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
[
2+
{
3+
"message": "Only booleans are allowed in an if condition, int|false given.",
4+
"line": 35,
5+
"ignorable": true
6+
}
7+
]

0 commit comments

Comments
 (0)