@@ -42,7 +42,7 @@ |
||
| 42 | 42 | /** |
| 43 | 43 | * @param string $pattern |
| 44 | 44 | * |
| 45 | - * @return Generator |
|
| 45 | + * @return \Generator |
|
| 46 | 46 | */ |
| 47 | 47 | public static function commitedFiles($pattern = self::PHP_FILES) |
| 48 | 48 | { |
@@ -221,7 +221,7 @@ discard block |
||
| 221 | 221 | |
| 222 | 222 | $test = $processBuilder->getProcess(); |
| 223 | 223 | $test->run( |
| 224 | - function ($type, $buffer) { |
|
| 224 | + function($type, $buffer) { |
|
| 225 | 225 | $this->output->write($buffer); |
| 226 | 226 | } |
| 227 | 227 | ); |
@@ -245,8 +245,8 @@ discard block |
||
| 245 | 245 | $succeed = true; |
| 246 | 246 | $config = $this->getConfig('phpcsfixer', array( |
| 247 | 247 | 'fixers' => [ |
| 248 | - '-psr0','eof_ending','indentation','linefeed','lowercase_keywords','trailing_spaces', |
|
| 249 | - 'short_tag','php_closing_tag','extra_empty_lines','elseif','function_declaration' |
|
| 248 | + '-psr0', 'eof_ending', 'indentation', 'linefeed', 'lowercase_keywords', 'trailing_spaces', |
|
| 249 | + 'short_tag', 'php_closing_tag', 'extra_empty_lines', 'elseif', 'function_declaration' |
|
| 250 | 250 | ], |
| 251 | 251 | 'triggered_by' => 'php' |
| 252 | 252 | )); |
@@ -292,7 +292,7 @@ discard block |
||
| 292 | 292 | ); |
| 293 | 293 | $processBuilder->setWorkingDirectory(getcwd()); |
| 294 | 294 | $phpCsFixer = $processBuilder->getProcess(); |
| 295 | - $phpCsFixer->run(function ($type, $buffer) { |
|
| 295 | + $phpCsFixer->run(function($type, $buffer) { |
|
| 296 | 296 | $this->output->write($buffer); |
| 297 | 297 | }); |
| 298 | 298 | |