diff options
Diffstat (limited to 'tests/raw-error.php')
-rw-r--r-- | tests/raw-error.php | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/tests/raw-error.php b/tests/raw-error.php deleted file mode 100644 index 3caf46c5..00000000 --- a/tests/raw-error.php +++ /dev/null @@ -1,21 +0,0 @@ -<?php -/** - * @var Goridge\RelayInterface $relay - */ -use Spiral\Goridge; -use Spiral\RoadRunner; - -ini_set('display_errors', 'stderr'); -require __DIR__ . "/vendor/autoload.php"; - -$worker = new RoadRunner\Worker(new Goridge\StreamRelay(STDIN, STDOUT)); -$psr7 = new RoadRunner\Http\PSR7Worker( - $worker, - new \Nyholm\Psr7\Factory\Psr17Factory(), - new \Nyholm\Psr7\Factory\Psr17Factory(), - new \Nyholm\Psr7\Factory\Psr17Factory() -); - -error_log('{"field": "value"}'); - -while ($req = $psr7->waitRequest()) {} |