We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent eb44074 commit b57909fCopy full SHA for b57909f
1 file changed
system/CodeIgniter.php
@@ -945,11 +945,9 @@ protected function display404errors(PageNotFoundException $e)
945
$this->response->setStatusCode($e->getCode());
946
947
if (ENVIRONMENT !== 'testing') {
948
- // @codeCoverageIgnoreStart
949
if (ob_get_level() > 0) {
950
- ob_end_flush();
+ ob_end_flush(); // @codeCoverageIgnore
951
}
952
- // @codeCoverageIgnoreEnd
953
954
// When testing, one is for phpunit, another is for test case.
955
elseif (ob_get_level() > 2) {
0 commit comments