File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -150,16 +150,22 @@ public static function init()
150150 // much more bash-like.
151151 // http://www.php.net/manual/en/readline.installation.php
152152 static ::$ readline_support = extension_loaded ('readline ' );
153+
153154 // clear segments & options to keep testing clean
154155 static ::$ segments = [];
155156 static ::$ options = [];
157+
156158 // Check our stream resource for color support
157159 static ::$ isColored = static ::hasColorSupport (STDOUT );
160+
158161 static ::parseCommandLine ();
162+
159163 static ::$ initialized = true ;
164+ // See: https://github.com/codeigniter4/CodeIgniter4/issues/7047
160165 } elseif (! defined ('STDOUT ' )) {
166+ // @codeCoverageIgnoreStart
161167 define ('STDOUT ' , 'php://output ' );
162- // @codeCoverageIgnore
168+ // @codeCoverageIgnoreEnd
163169 }
164170 }
165171
You can’t perform that action at this time.
0 commit comments