Skip to content

Commit

Permalink
Closes #2112
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastianbergmann committed Mar 14, 2016
1 parent a1066c5 commit 1a1b632
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
7 changes: 7 additions & 0 deletions ChangeLog-4.8.md
Expand Up @@ -2,6 +2,12 @@

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

## [4.8.25] - 2016-MM-DD

### Fixed

* Fixed [#2112](https://github.com/sebastianbergmann/phpunit/issues/2112): Output is html entity encoded when ran through `phpdbg`

## [4.8.24] - 2016-03-14

### Fixed
Expand Down Expand Up @@ -177,6 +183,7 @@ New PHAR release due to updated dependencies
* Made the argument check of `assertContains()` and `assertNotContains()` more strict to prevent undefined behavior such as [#1808](https://github.com/sebastianbergmann/phpunit/issues/1808)
* Changed the name of the default group from `__nogroup__` to `default`

[4.8.25]: https://github.com/sebastianbergmann/phpunit/compare/4.8.24...4.8.25
[4.8.24]: https://github.com/sebastianbergmann/phpunit/compare/4.8.23...4.8.24
[4.8.23]: https://github.com/sebastianbergmann/phpunit/compare/4.8.22...4.8.23
[4.8.22]: https://github.com/sebastianbergmann/phpunit/compare/4.8.21...4.8.22
Expand Down
2 changes: 1 addition & 1 deletion src/TextUI/TestRunner.php
Expand Up @@ -597,7 +597,7 @@ protected function runFailed($message)
*/
protected function write($buffer)
{
if (PHP_SAPI != 'cli') {
if (PHP_SAPI != 'cli' && PHP_SAPI != 'phpdbg') {
$buffer = htmlspecialchars($buffer);
}

Expand Down
2 changes: 1 addition & 1 deletion src/Util/Printer.php
Expand Up @@ -127,7 +127,7 @@ public function write($buffer)
$this->incrementalFlush();
}
} else {
if (PHP_SAPI != 'cli') {
if (PHP_SAPI != 'cli' && PHP_SAPI != 'phpdbg') {
$buffer = htmlspecialchars($buffer);
}

Expand Down

0 comments on commit 1a1b632

Please sign in to comment.