Completed
Push — master ( 9af1c6...dc9e69 )
by Adam
02:46
created
config/ContainerFactory.php 1 patch
Braces   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -179,11 +179,11 @@
 block discarded – undo
179 179
 				foreach($value->attributes as $k => $v){
180 180
 					if(is_array($v)){
181 181
 						$value->attributes[$k] = $this->parseValues($v, $allConfig, array_merge($keysPath, [$key]));
182
-					}else{
182
+					} else{
183 183
 						$value->attributes[$k] = $this->parseValue($v, $allConfig);
184 184
 					}
185 185
 				}
186
-			}elseif (is_array($value)) {
186
+			} elseif (is_array($value)) {
187 187
 				$value = $this->parseValues($value, $allConfig, array_merge($keysPath, [$key]));
188 188
 			} elseif(!is_object($value)) {
189 189
 				$value = $this->parseValue($value, $allConfig);
Please login to merge, or discard this patch.
commands/filesystem/Filesystem.php 1 patch
Braces   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -137,10 +137,10 @@
 block discarded – undo
137 137
 				if(is_file($destination)){
138 138
 					if($options['onDuplicate'] == self::ERROR){
139 139
 						$this->error("File '$destination' already exists.");
140
-					}elseif($options['onDuplicate'] == self::SKIP){
140
+					} elseif($options['onDuplicate'] == self::SKIP){
141 141
 						$this->log("File '$destination' already exists, skipping ...");
142 142
 						continue;
143
-					}elseif($options['onDuplicate'] == self::REWRITE){
143
+					} elseif($options['onDuplicate'] == self::REWRITE){
144 144
 						@unlink($destination);
145 145
 					}
146 146
 				}
Please login to merge, or discard this patch.
Bootstrap.php 1 patch
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -54,7 +54,7 @@
 block discarded – undo
54 54
 			$container = require_once $bootstrapFile;
55 55
 			if($container === 1 || $container === TRUE){ // 1 = success, TRUE = already required
56 56
 				$container = NULL;
57
-			}elseif(!($container instanceof Container)){
57
+			} elseif(!($container instanceof Container)){
58 58
 				$this->log("Returned value from bootstrap.php must be instance of 'Genesis\\Container\\Container' or nothing (NULL).", 'red');
59 59
 				exit(255);
60 60
 			}
Please login to merge, or discard this patch.