Skip to content

Commit

Permalink
[interim] Fix standard IO streams are not defined in process isolation.
Browse files Browse the repository at this point in the history
  • Loading branch information
sun committed Jul 24, 2014
1 parent 87fdc09 commit ebaa300
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
<?php
// @see https://github.com/sebastianbergmann/phpunit/pull/1348
if (!defined('STDOUT')) {
define('STDOUT', fopen('php://stdout', 'wb'));
define('STDERR', fopen('php://stderr', 'wb'));
}

{iniSettings}
ini_set('display_errors', 'stderr');
set_include_path('{include_path}');
Expand Down

0 comments on commit ebaa300

Please sign in to comment.