@@ -110,7 +110,7 @@ |
||
110 | 110 | |
111 | 111 | $executableInclude = substr($executablePath, 0, 1) == '/' |
112 | 112 | ? '\'' . $executablePath . '\'' |
113 | - : '__DIR__ . \'/../../' . $executablePath . '\''; |
|
113 | + : '__DIR__ . \'/../../' . $executablePath . '\''; |
|
114 | 114 | return array_merge( |
115 | 115 | [ |
116 | 116 | '#!/usr/bin/env php', |
@@ -59,7 +59,7 @@ |
||
59 | 59 | */ |
60 | 60 | public function handle(Event $event): void |
61 | 61 | { |
62 | - if (!IOUtil::answerToBool($event->io()->ask(PHP_EOL . $this->question . ' ', $this->default ? 'y' : 'n'))) { |
|
62 | + if (!IOUtil::answerToBool($event->io()->ask(PHP_EOL . $this->question . ' ', $this->default ? 'y' : 'n'))) { |
|
63 | 63 | throw new ActionFailed('no confirmation, abort!'); |
64 | 64 | } |
65 | 65 | } |
@@ -232,7 +232,7 @@ |
||
232 | 232 | $io = new DefaultIO($input, $output, $helper); |
233 | 233 | $answer = $io->askAndValidate( |
234 | 234 | 'foo', |
235 | - function () { |
|
235 | + function() { |
|
236 | 236 | return true; |
237 | 237 | } |
238 | 238 | ); |