Skip to content

Commit a4d1c1b

Browse files
authored
Merge pull request #361 from koriym/suppress-compile-output
Suppress compile output
2 parents 8721859 + bd38e05 commit a4d1c1b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/Compiler/FakeRun.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@
2020
use function class_exists;
2121
use function is_callable;
2222
use function is_object;
23+
use function ob_end_clean;
24+
use function ob_start;
2325
use function property_exists;
2426

2527
class FakeRun
@@ -67,7 +69,9 @@ public function __invoke(): void
6769
/** @var NullPage $ro */
6870
$ro = $app->resource->get->object($ro)(['required' => 'string']);
6971
assert($app->responder instanceof TransferInterface);
72+
ob_start();
7073
$ro->transfer($app->responder, []);
74+
ob_end_clean();
7175
class_exists(HttpCacheInterface::class);
7276
class_exists(HttpCache::class);
7377
class_exists(HttpResponder::class);

0 commit comments

Comments
 (0)