Skip to content

Commit

Permalink
Merge branch '7.0'
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastianbergmann committed Feb 18, 2018
2 parents c6dcaa3 + 59f0579 commit fafd3c5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions ChangeLog-7.0.md
Expand Up @@ -7,6 +7,7 @@ All notable changes of the PHPUnit 7.0 release series are documented in this fil
### Fixed

* Fixed [#2974](https://github.com/sebastianbergmann/phpunit/issues/2974): JUnit XML logfile contains invalid characters when test output contains binary data
* Fixed [#3014](https://github.com/sebastianbergmann/phpunit/issues/3014): `TypeError` in `PHPUnit\Framework\TestCase::getActualOutput()` when callback registered using `setOutputCallback()` does not return a string
* Removed more superfluous `@throws \Exception` annotations

## [7.0.1] - 2018-02-13
Expand Down
2 changes: 1 addition & 1 deletion src/Framework/TestCase.php
Expand Up @@ -1845,7 +1845,7 @@ private function stopOutputBuffering(): void
$this->output = \ob_get_contents();

if ($this->outputCallback !== false) {
$this->output = \call_user_func($this->outputCallback, $this->output);
$this->output = (string) \call_user_func($this->outputCallback, $this->output);
}

\ob_end_clean();
Expand Down

0 comments on commit fafd3c5

Please sign in to comment.