@@ -7,11 +7,11 @@ |
||
| 7 | 7 | public static function get() |
| 8 | 8 | { |
| 9 | 9 | $config = new \stdClass(); |
| 10 | - $config->{'default_standard'} = ['PSR1', 'PSR2']; |
|
| 10 | + $config->{'default_standard'} = [ 'PSR1', 'PSR2' ]; |
|
| 11 | 11 | |
| 12 | 12 | $config->files = new \stdClass(); |
| 13 | - $config->files->in = ['.']; |
|
| 14 | - $config->files->name = ['*.php']; |
|
| 13 | + $config->files->in = [ '.' ]; |
|
| 14 | + $config->files->name = [ '*.php' ]; |
|
| 15 | 15 | $config->files->files = true; |
| 16 | 16 | $config->files->exclude = [ |
| 17 | 17 | 'build', |
@@ -57,11 +57,11 @@ |
||
| 57 | 57 | { |
| 58 | 58 | parent::setCommandLineValues($args); |
| 59 | 59 | |
| 60 | - if (!empty($this->values['files'])) { |
|
| 60 | + if (!empty($this->values[ 'files' ])) { |
|
| 61 | 61 | return; |
| 62 | 62 | } |
| 63 | 63 | |
| 64 | - $files = $this->getConfig('files', []); |
|
| 64 | + $files = $this->getConfig('files', [ ]); |
|
| 65 | 65 | |
| 66 | 66 | foreach (call_user_func($this->finderByConfig, $files) as $file) { |
| 67 | 67 | $this->processUnknownArgument($file->getPathname(), -1); |