Skip to content

Commit

Permalink
Allow --coverage-filter CLI option to be used multiple times again
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastianbergmann committed Jul 18, 2024
1 parent 53f3e4b commit fe63fd2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions ChangeLog-10.5.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ All notable changes of the PHPUnit 10.5 release series are documented in this fi
### Fixed

* [#5898](https://github.com/sebastianbergmann/phpunit/issues/5898): `Test\Passed` event is not emitted for PHPT tests
* `--coverage-filter` CLI option could not be used multiple times

## [10.5.27] - 2024-07-10

Expand Down
2 changes: 2 additions & 0 deletions src/TextUI/Configuration/Cli/Builder.php
Original file line number Diff line number Diff line change
Expand Up @@ -798,6 +798,8 @@ public function fromParameters(array $parameters): Configuration

$coverageFilter[] = $option[1];

$optionAllowedMultipleTimes = true;

break;

case '--random-order':
Expand Down

0 comments on commit fe63fd2

Please sign in to comment.