Skip to content

Commit a11dc79

Browse files
Merge branch '8.5' into 9.2
2 parents f4e5725 + 34c18ba commit a11dc79

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

ChangeLog-8.5.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@
22

33
All notable changes of the PHPUnit 8.5 release series are documented in this file using the [Keep a CHANGELOG](https://keepachangelog.com/) principles.
44

5+
## [8.5.8] - 2020-06-22
6+
7+
### Fixed
8+
9+
* [#4312](https://github.com/sebastianbergmann/phpunit/issues/4312): Fix for [#4299](https://github.com/sebastianbergmann/phpunit/issues/4299) breaks backward compatibility
10+
511
## [8.5.7] - 2020-06-21
612

713
### Fixed
@@ -71,6 +77,7 @@ All notable changes of the PHPUnit 8.5 release series are documented in this fil
7177
* [#3967](https://github.com/sebastianbergmann/phpunit/issues/3967): Cannot double interface that extends interface that extends `\Throwable`
7278
* [#3968](https://github.com/sebastianbergmann/phpunit/pull/3968): Test class run in a separate PHP process are passing when `exit` called inside
7379

80+
[8.5.8]: https://github.com/sebastianbergmann/phpunit/compare/8.5.7...8.5.8
7481
[8.5.7]: https://github.com/sebastianbergmann/phpunit/compare/8.5.6...8.5.7
7582
[8.5.6]: https://github.com/sebastianbergmann/phpunit/compare/8.5.5...8.5.6
7683
[8.5.5]: https://github.com/sebastianbergmann/phpunit/compare/8.5.4...8.5.5

src/TextUI/TestRunner.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -772,10 +772,6 @@ public function run(TestSuite $suite, array $arguments = [], array $warnings = [
772772
}
773773

774774
if ($exit) {
775-
if (\count($result) === 0) {
776-
exit(self::FAILURE_EXIT);
777-
}
778-
779775
if ($result->wasSuccessfulIgnoringWarnings()) {
780776
if ($arguments['failOnRisky'] && !$result->allHarmless()) {
781777
exit(self::FAILURE_EXIT);

0 commit comments

Comments
 (0)