We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 9dc2299 + 98ae3cd commit 24206afCopy full SHA for 24206af
Tester/TesterTrait.php
@@ -35,6 +35,10 @@ trait TesterTrait
35
*/
36
public function getDisplay($normalize = false)
37
{
38
+ if (null === $this->output) {
39
+ throw new \RuntimeException('Output not initialized, did you execute the command before requesting the display?');
40
+ }
41
+
42
rewind($this->output->getStream());
43
44
$display = stream_get_contents($this->output->getStream());
0 commit comments