File tree Expand file tree Collapse file tree 3 files changed +5
-4
lines changed Expand file tree Collapse file tree 3 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 30
30
"require-dev" : {
31
31
"friendsofphp/php-cs-fixer" : " ^v3.15.1" ,
32
32
"httpwg/structured-field-tests" : " *@dev" ,
33
- "phpstan/phpstan" : " ^1.10.12 " ,
33
+ "phpstan/phpstan" : " ^1.10.13 " ,
34
34
"phpstan/phpstan-strict-rules" : " ^1.5.1" ,
35
35
"phpstan/phpstan-phpunit" : " ^1.3.11" ,
36
36
"phpstan/phpstan-deprecation-rules" : " ^1.1.3" ,
Original file line number Diff line number Diff line change @@ -8,5 +8,6 @@ parameters:
8
8
paths :
9
9
- src
10
10
ignoreErrors :
11
- - '#it_fails_to_create_an_item_from_an_array_of_pairs\ (\)#'
11
+ - message : ' #it_fails_to_create_an_item_from_an_array_of_pairs\(\)#'
12
+ path : src/ItemTest.php
12
13
reportUnmatchedIgnoredErrors : true
Original file line number Diff line number Diff line change @@ -362,7 +362,7 @@ public function it_can_create_and_return_an_array_of_pairs(): void
362
362
#[Test]
363
363
#[DataProvider('invalidPairProvider ' )]
364
364
/**
365
- * @param array<mixed > $pair
365
+ * @param array<int|string|array<int|string> > $pair
366
366
*/
367
367
public function it_fails_to_create_an_item_from_an_array_of_pairs (array $ pair ): void
368
368
{
@@ -372,7 +372,7 @@ public function it_fails_to_create_an_item_from_an_array_of_pairs(array $pair):
372
372
}
373
373
374
374
/**
375
- * @return iterable<string, array{pair:array<mixed >}>
375
+ * @return iterable<string, array{pair:array<int|string|array<int|string> >}>
376
376
*/
377
377
public static function invalidPairProvider (): iterable
378
378
{
You can’t perform that action at this time.
0 commit comments