Skip to content

Commit

Permalink
style fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
cosmastech authored and sebastianbergmann committed May 2, 2023
1 parent e48d433 commit 415d38f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions src/Framework/TestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -1655,8 +1655,7 @@ private function stopOutputBuffering(): bool
if ($bufferingLevel !== $this->outputBufferingLevel) {
if ($bufferingLevel > $this->outputBufferingLevel) {
$message = 'Test code or tested code did not close its own output buffers';
}
else {
} else {
$message = 'Test code or tested code closed output buffers other than its own';
}

Expand Down
2 changes: 1 addition & 1 deletion tests/end-to-end/regression/5342/Issue5342Test.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
*/
namespace PHPUnit\TestFixture;

use function ob_start;
use function ob_end_clean;
use PHPUnit\Framework\TestCase;

class Issue5342Test extends TestCase
Expand Down

0 comments on commit 415d38f

Please sign in to comment.