File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -69,7 +69,7 @@ public function validate()
69
69
$ givenArguments = $ this ->arguments ;
70
70
71
71
$ missingArguments = array_filter (array_keys ($ definition ->getArguments ()), function ($ argument ) use ($ definition , $ givenArguments ) {
72
- return !array_key_exists ($ argument , $ givenArguments ) && $ definition ->getArgument ($ argument )->isRequired ();
72
+ return !\ array_key_exists ($ argument , $ givenArguments ) && $ definition ->getArgument ($ argument )->isRequired ();
73
73
});
74
74
75
75
if (\count ($ missingArguments ) > 0 ) {
@@ -150,7 +150,7 @@ public function getOption($name)
150
150
throw new InvalidArgumentException (sprintf ('The "%s" option does not exist. ' , $ name ));
151
151
}
152
152
153
- return array_key_exists ($ name , $ this ->options ) ? $ this ->options [$ name ] : $ this ->definition ->getOption ($ name )->getDefault ();
153
+ return \ array_key_exists ($ name , $ this ->options ) ? $ this ->options [$ name ] : $ this ->definition ->getOption ($ name )->getDefault ();
154
154
}
155
155
156
156
/**
Original file line number Diff line number Diff line change @@ -66,7 +66,7 @@ public function run(array $input, $options = [])
66
66
$ this ->input ->setInteractive ($ options ['interactive ' ]);
67
67
}
68
68
69
- $ this ->captureStreamsIndependently = array_key_exists ('capture_stderr_separately ' , $ options ) && $ options ['capture_stderr_separately ' ];
69
+ $ this ->captureStreamsIndependently = \ array_key_exists ('capture_stderr_separately ' , $ options ) && $ options ['capture_stderr_separately ' ];
70
70
if (!$ this ->captureStreamsIndependently ) {
71
71
$ this ->output = new StreamOutput (fopen ('php://memory ' , 'w ' , false ));
72
72
if (isset ($ options ['decorated ' ])) {
You can’t perform that action at this time.
0 commit comments