Permalink
Browse files

merged 2.0

  • Loading branch information...
2 parents 106f2db + cfeeff8 commit b34a96e4a42c6cae1563be71bc5f31d60f80d913 @fabpot fabpot committed May 20, 2012
Showing with 3 additions and 6 deletions.
  1. +1 −2 Tests/ProcessTest.php
  2. +2 −4 Tests/ProcessTestHelper.php
View
@@ -152,8 +152,7 @@ public function pipesCodeProvider()
$baseData = str_repeat('*', 1024);
$codes = array();
- foreach (array(1, 16, 64, 1024, 4096) as $size)
- {
+ foreach (array(1, 16, 64, 1024, 4096) as $size) {
$data = str_repeat($baseData, $size) . '!';
foreach ($variations as $code) {
$codes[] = array($data, $code);
@@ -25,8 +25,7 @@
die(ERR_TIMEOUT);
}
- if (in_array(STDOUT, $w) && strlen($out) > 0)
- {
+ if (in_array(STDOUT, $w) && strlen($out) > 0) {
$written = fwrite(STDOUT, (binary) $out, 1024);
if (false === $written) {
die(ERR_WRITE_FAILED);
@@ -37,8 +36,7 @@
$write = array_diff($write, array(STDOUT));
}
- if (in_array(STDERR, $w) && strlen($err) > 0)
- {
+ if (in_array(STDERR, $w) && strlen($err) > 0) {
$written = fwrite(STDERR, (binary) $err, 1024);
if (false === $written) {
die(ERR_WRITE_FAILED);

0 comments on commit b34a96e

Please sign in to comment.