File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -150,16 +150,22 @@ public static function init()
150
150
// much more bash-like.
151
151
// http://www.php.net/manual/en/readline.installation.php
152
152
static ::$ readline_support = extension_loaded ('readline ' );
153
+
153
154
// clear segments & options to keep testing clean
154
155
static ::$ segments = [];
155
156
static ::$ options = [];
157
+
156
158
// Check our stream resource for color support
157
159
static ::$ isColored = static ::hasColorSupport (STDOUT );
160
+
158
161
static ::parseCommandLine ();
162
+
159
163
static ::$ initialized = true ;
164
+ // See: https://github.com/codeigniter4/CodeIgniter4/issues/7047
160
165
} elseif (! defined ('STDOUT ' )) {
166
+ // @codeCoverageIgnoreStart
161
167
define ('STDOUT ' , 'php://output ' );
162
- // @codeCoverageIgnore
168
+ // @codeCoverageIgnoreEnd
163
169
}
164
170
}
165
171
You can’t perform that action at this time.
0 commit comments