@@ -33,8 +33,7 @@ |
||
33 | 33 | protected function letterArg($name) |
34 | 34 | { |
35 | 35 | $name = strlen($name) == 1 ? |
36 | - '-' . $name : |
|
37 | - '--' . $name; |
|
36 | + '-' . $name : '--' . $name; |
|
38 | 37 | foreach ($this->args as $arg) { |
39 | 38 | $value = true; |
40 | 39 | if (strpos($arg, '=')) { |
@@ -115,7 +115,7 @@ |
||
115 | 115 | function addExceptionHandler() |
116 | 116 | { |
117 | 117 | set_exception_handler( |
118 | - function ($exception) { |
|
118 | + function($exception) { |
|
119 | 119 | // @codeCoverageIgnoreStart |
120 | 120 | error_log($exception->getMessage()); |
121 | 121 | exit($exception->getCode()); |
@@ -30,7 +30,7 @@ discard block |
||
30 | 30 | $xmlReport->method('isValidLine') |
31 | 31 | ->will( |
32 | 32 | $this->returnCallback( |
33 | - function () { |
|
33 | + function() { |
|
34 | 34 | $file = func_get_arg(0); |
35 | 35 | $line = func_get_arg(1); |
36 | 36 | |
@@ -89,7 +89,7 @@ discard block |
||
89 | 89 | $xmlReport->method('isValidLine') |
90 | 90 | ->will( |
91 | 91 | $this->returnCallback( |
92 | - function () { |
|
92 | + function() { |
|
93 | 93 | $file = func_get_arg(0); |
94 | 94 | $line = func_get_arg(1); |
95 | 95 | |
@@ -144,7 +144,7 @@ discard block |
||
144 | 144 | $xmlReport->method('isValidLine') |
145 | 145 | ->will( |
146 | 146 | $this->returnCallback( |
147 | - function () { |
|
147 | + function() { |
|
148 | 148 | $file = func_get_arg(0); |
149 | 149 | $line = func_get_arg(1); |
150 | 150 | |
@@ -200,7 +200,7 @@ discard block |
||
200 | 200 | $xmlReport->method('isValidLine') |
201 | 201 | ->will( |
202 | 202 | $this->returnCallback( |
203 | - function () { |
|
203 | + function() { |
|
204 | 204 | $file = func_get_arg(0); |
205 | 205 | $line = func_get_arg(1); |
206 | 206 | |
@@ -255,7 +255,7 @@ discard block |
||
255 | 255 | $xmlReport->method('isValidLine') |
256 | 256 | ->will( |
257 | 257 | $this->returnCallback( |
258 | - function () { |
|
258 | + function() { |
|
259 | 259 | $file = func_get_arg(0); |
260 | 260 | $line = func_get_arg(1); |
261 | 261 |