@@ -52,7 +52,7 @@ discard block |
||
| 52 | 52 | |
| 53 | 53 | // rules |
| 54 | 54 | $rules = ''; |
| 55 | - foreach($this->ruleset->asArray() as $key => $values) { |
|
| 55 | + foreach ($this->ruleset->asArray() as $key => $values) { |
|
| 56 | 56 | $rules .= sprintf(' %s: [ %s ]%s', $key, implode(', ', $values), PHP_EOL); |
| 57 | 57 | } |
| 58 | 58 | |
@@ -72,12 +72,12 @@ discard block |
||
| 72 | 72 | EOT; |
| 73 | 73 | |
| 74 | 74 | // write file |
| 75 | - if(!$this->destination) { |
|
| 75 | + if (!$this->destination) { |
|
| 76 | 76 | throw new \LogicException('Please provide a destination'); |
| 77 | 77 | } |
| 78 | 78 | |
| 79 | 79 | $dir = dirname($this->destination); |
| 80 | - if(!file_exists($dir)) { |
|
| 80 | + if (!file_exists($dir)) { |
|
| 81 | 81 | mkdir($dir, 0777, true); |
| 82 | 82 | } |
| 83 | 83 | |