Skip to content

Commit

Permalink
Closes #3209
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastianbergmann committed Jul 13, 2018
1 parent 093ca55 commit 41c9fde
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
7 changes: 7 additions & 0 deletions ChangeLog-6.5.md
Expand Up @@ -2,6 +2,12 @@

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

## [6.5.10] - 2018-MM-DD

### Fixed

* Fixed [#3209](https://github.com/sebastianbergmann/phpunit/issues/3209): `Test::run()` and `TestCase::run()` interface contradiction

## [6.5.9] - 2018-07-03

### Fixed
Expand Down Expand Up @@ -68,6 +74,7 @@ All notable changes of the PHPUnit 6.5 release series are documented in this fil
* Fixed [#2654](https://github.com/sebastianbergmann/phpunit/issues/2654): Problems with `assertJsonStringEqualsJsonString()`
* Fixed [#2810](https://github.com/sebastianbergmann/phpunit/pull/2810): Code Coverage for PHPT tests does not work

[6.5.10]: https://github.com/sebastianbergmann/phpunit/compare/6.5.9...6.5.10
[6.5.9]: https://github.com/sebastianbergmann/phpunit/compare/6.5.8...6.5.9
[6.5.8]: https://github.com/sebastianbergmann/phpunit/compare/6.5.7...6.5.8
[6.5.7]: https://github.com/sebastianbergmann/phpunit/compare/6.5.6...6.5.7
Expand Down
4 changes: 2 additions & 2 deletions src/Framework/TestCase.php
Expand Up @@ -755,7 +755,7 @@ public function hasFailed()
*
* @param TestResult $result
*
* @return TestResult|null
* @return TestResult
*
* @throws Exception
*/
Expand All @@ -778,7 +778,7 @@ public function run(TestResult $result = null)
if (!$this instanceof WarningTestCase &&
!$this instanceof SkippedTestCase &&
!$this->handleDependencies()) {
return;
return $result;
}

$runEntireClass = $this->runClassInSeparateProcess && !$this->runTestInSeparateProcess;
Expand Down

0 comments on commit 41c9fde

Please sign in to comment.