Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Close #125.

  • Loading branch information...
commit fbcba1364abc7a7f96e6c4a254970bfcffb8583d 1 parent ba1341c
Sebastian Bergmann authored
Showing with 7 additions and 0 deletions.
  1. +1 −0  ChangeLog.markdown
  2. +6 −0 PHPUnit/Util/ErrorHandler.php
1  ChangeLog.markdown
View
@@ -8,6 +8,7 @@ PHPUnit 3.5.10
* Fixed GH-71: `PHPUnit_Framework_TestSuite::addTestFile()` has problems identifying the correct test suite.
* Fixed GH-120: Printer class does not handle "file does not exist" problems correctly.
+* Fixed GH-125: Work around [PHP bug #47987](http://bugs.php.net/bug.php?id=47987).
PHPUnit 3.5.9
-------------
6 PHPUnit/Util/ErrorHandler.php
View
@@ -43,6 +43,12 @@
* @since File available since Release 2.3.0
*/
+// Workaround for http://bugs.php.net/bug.php?id=47987,
+// see https://github.com/sebastianbergmann/phpunit/issues#issue/125 for details
+require_once 'PHPUnit/Framework/Error/Notice.php';
+require_once 'PHPUnit/Framework/Error/Warning.php';
+require_once 'PHPUnit/Framework/Error.php';
+
/**
* Error handler that converts PHP errors and warnings to exceptions.
*
Please sign in to comment.
Something went wrong with that request. Please try again.