File tree Expand file tree Collapse file tree 2 files changed +10
-6
lines changed Expand file tree Collapse file tree 2 files changed +10
-6
lines changed Original file line number Diff line number Diff line change @@ -3,3 +3,11 @@ parameters:
3
3
-
4
4
message : ' #no value type specified in iterable type array#'
5
5
path : tests/
6
+ - # PHP 8 is required
7
+ message : ' #testContainsOnlyScalarValuesInputError\(\) has parameter \$input with no type specified#'
8
+ paths :
9
+ - tests/ScalarValuesTest.php
10
+ - # PHP 8 is required
11
+ message : ' #testFilterScalarValuesInputError\(\) has parameter \$input with no type specified#'
12
+ paths :
13
+ - tests/ScalarValuesTest.php
Original file line number Diff line number Diff line change @@ -49,14 +49,12 @@ public function getTestContainsOnlyScalarValuesProdiver(): array
49
49
}
50
50
51
51
/**
52
- * @param mixed $input
53
- *
54
52
* @dataProvider getNotArrayInputProdiver
55
53
*/
56
54
public function testContainsOnlyScalarValuesInputError ($ input ): void
57
55
{
58
56
$ this ->expectException (\TypeError::class);
59
- ScalarValues::containsOnlyScalarValues ($ input ); // @phpstan-ignore-line
57
+ ScalarValues::containsOnlyScalarValues ($ input );
60
58
}
61
59
62
60
public function getNotArrayInputProdiver (): array
@@ -101,13 +99,11 @@ public function getTestFilterScalarValuesProdiver(): array
101
99
}
102
100
103
101
/**
104
- * @param mixed $input
105
- *
106
102
* @dataProvider getNotArrayInputProdiver
107
103
*/
108
104
public function testFilterScalarValuesInputError ($ input ): void
109
105
{
110
106
$ this ->expectException (\TypeError::class);
111
- ScalarValues::filterScalarValues ($ input ); // @phpstan-ignore-line
107
+ ScalarValues::filterScalarValues ($ input );
112
108
}
113
109
}
You can’t perform that action at this time.
0 commit comments