Completed
Push — master ( f91003...7ec665 )
by personal
05:42 queued 03:06
created
src/Hal/Application/Config/ConfigDumper.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -52,7 +52,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 
Please login to merge, or discard this patch.