Skip to content
This repository was archived by the owner on Jan 31, 2020. It is now read-only.

Commit 2eeb413

Browse files
committed
Merge pull request #67 from DrSchimke/patch-1
Remove redundant `ob_start()` statements.
2 parents 6ffffbe + 5487069 commit 2eeb413

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

tests/ZendDiagnosticsTest/BasicConsoleReporterTest.php

-4
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,6 @@ public function testUnknownSymbols()
8686
$this->reporter->onStart($checks, array());
8787
ob_clean();
8888

89-
ob_start();
9089
foreach ($checks as $alias => $check) {
9190
$result = new Unknown();
9291
$this->reporter->onAfterRun($check, $result, $alias);
@@ -104,7 +103,6 @@ public function testProgressDotsNoGutter()
104103
$this->reporter->onStart($checks, array());
105104
ob_clean();
106105

107-
ob_start();
108106
foreach ($checks as $alias => $check) {
109107
$result = new Success();
110108
$this->reporter->onAfterRun($check, $result, $alias);
@@ -122,7 +120,6 @@ public function testProgressOverflow()
122120
$this->reporter->onStart($checks, array());
123121
ob_clean();
124122

125-
ob_start();
126123
foreach ($checks as $alias => $check) {
127124
$result = new Success();
128125
$this->reporter->onAfterRun($check, $result, $alias);
@@ -145,7 +142,6 @@ public function testProgressOverflowMatch()
145142
$this->reporter->onStart($checks, array());
146143
ob_clean();
147144

148-
ob_start();
149145
foreach ($checks as $alias => $check) {
150146
$result = new Success();
151147
$this->reporter->onAfterRun($check, $result, $alias);

0 commit comments

Comments
 (0)