File tree Expand file tree Collapse file tree 1 file changed +3
-10
lines changed Expand file tree Collapse file tree 1 file changed +3
-10
lines changed Original file line number Diff line number Diff line change @@ -150,23 +150,16 @@ 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
-
154
153
// clear segments & options to keep testing clean
155
154
static ::$ segments = [];
156
155
static ::$ options = [];
157
-
158
156
// Check our stream resource for color support
159
157
static ::$ isColored = static ::hasColorSupport (STDOUT );
160
-
161
158
static ::parseCommandLine ();
162
-
163
159
static ::$ initialized = true ;
164
- } else {
165
- // If the command is being called from a controller
166
- // we need to define STDOUT ourselves
167
- if (! defined ('STDOUT ' )) {
168
- define ('STDOUT ' , 'php://output ' ); // @codeCoverageIgnore
169
- }
160
+ } elseif (! defined ('STDOUT ' )) {
161
+ define ('STDOUT ' , 'php://output ' );
162
+ // @codeCoverageIgnore
170
163
}
171
164
}
172
165
You can’t perform that action at this time.
0 commit comments