Exemplo n.º 1
0
 public function writeToStream($stream, $content)
 {
     if ('Linux' !== PHP_OS) {
         return parent::writeToStream($stream, $content);
     }
     fwrite($stream, $content);
 }
Exemplo n.º 2
0
 public function testStopShouldPreventRunFromBlocking($timeLimit = 0.005)
 {
     if (defined('HHVM_VERSION')) {
         // HHVM is a bit slow, so give it more time
         parent::testStopShouldPreventRunFromBlocking(0.5);
     } else {
         parent::testStopShouldPreventRunFromBlocking($timeLimit);
     }
 }