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:
33 -
44 message : ' #no value type specified in iterable type array#'
55 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
4949 }
5050
5151 /**
52- * @param mixed $input
53- *
5452 * @dataProvider getNotArrayInputProdiver
5553 */
5654 public function testContainsOnlyScalarValuesInputError ($ input ): void
5755 {
5856 $ this ->expectException (\TypeError::class);
59- ScalarValues::containsOnlyScalarValues ($ input ); // @phpstan-ignore-line
57+ ScalarValues::containsOnlyScalarValues ($ input );
6058 }
6159
6260 public function getNotArrayInputProdiver (): array
@@ -101,13 +99,11 @@ public function getTestFilterScalarValuesProdiver(): array
10199 }
102100
103101 /**
104- * @param mixed $input
105- *
106102 * @dataProvider getNotArrayInputProdiver
107103 */
108104 public function testFilterScalarValuesInputError ($ input ): void
109105 {
110106 $ this ->expectException (\TypeError::class);
111- ScalarValues::filterScalarValues ($ input ); // @phpstan-ignore-line
107+ ScalarValues::filterScalarValues ($ input );
112108 }
113109}
You can’t perform that action at this time.
0 commit comments