Skip to content

Commit c08158d

Browse files
staabmsebastianbergmann
authored andcommitted
fix build
1 parent 589ecb3 commit c08158d

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

phpstan.neon

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ parameters:
1111
- '#Instanceof between .* and .* will always evaluate to true.#'
1212
- '#Strict comparison using !== between .*non-empty-string.* and .* will always evaluate to true.#'
1313
- '#Strict comparison using !== between .*non-falsy-string.* and .* will always evaluate to true.#'
14+
- identifier: argument.named
1415

1516
excludePaths:
1617
- src/Framework/MockObject/Runtime/Api # exclude partial traits, which are only used in runtime generated code

src/Runner/Filter/Factory.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@
99
*/
1010
namespace PHPUnit\Runner\Filter;
1111

12-
use PHPUnit\Framework\Test;
1312
use function assert;
1413
use FilterIterator;
1514
use Iterator;
15+
use PHPUnit\Framework\Test;
1616
use PHPUnit\Framework\TestSuite;
1717

1818
/**
@@ -84,6 +84,7 @@ public function addExcludeNameFilter(string $name): void
8484

8585
/**
8686
* @param Iterator<int, Test> $iterator
87+
*
8788
* @return FilterIterator<int, Test, Iterator<int, Test>>
8889
*/
8990
public function factory(Iterator $iterator, TestSuite $suite): FilterIterator

0 commit comments

Comments
 (0)