Skip to content

Commit 150b727

Browse files
Closes #4514
1 parent ee7054a commit 150b727

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

ChangeLog-9.4.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ All notable changes of the PHPUnit 9.4 release series are documented in this fil
88

99
* [#4446](https://github.com/sebastianbergmann/phpunit/pull/4446): The `--no-logging` and `--no-coverage` do not only affect XML configuration settings
1010
* [#4499](https://github.com/sebastianbergmann/phpunit/pull/4499): Restore support for case-insensitive namespaced class names when invoking the test runner with the test case file name
11+
* [#4514](https://github.com/sebastianbergmann/phpunit/issues/4514): `--fail-on-skipped` does not work
1112

1213
## [9.4.2] - 2020-10-19
1314

src/TextUI/CliArguments/Builder.php

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,8 +100,10 @@ final class Builder
100100
'stop-on-risky',
101101
'stop-on-skipped',
102102
'fail-on-empty-test-suite',
103-
'fail-on-warning',
103+
'fail-on-incomplete',
104104
'fail-on-risky',
105+
'fail-on-skipped',
106+
'fail-on-warning',
105107
'strict-coverage',
106108
'disable-coverage-ignore',
107109
'strict-global-state',
@@ -563,7 +565,7 @@ public function fromParameters(array $parameters, array $additionalLongOptions):
563565

564566
break;
565567

566-
case '--fail-on-Skipped':
568+
case '--fail-on-skipped':
567569
$failOnSkipped = true;
568570

569571
break;

0 commit comments

Comments
 (0)