Completed
Branch bootstrap-refactoring (37e127)
by Adam
03:53
created
src/Bootstrap.php 1 patch
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -133,7 +133,7 @@
 block discarded – undo
133 133
 		$container = require_once $bootstrapFile;
134 134
 		if ($container === 1 || $container === TRUE) { // 1 = success, TRUE = already required
135 135
 			return NULL;
136
-		}elseif ($container instanceof Container) {
136
+		} elseif ($container instanceof Container) {
137 137
 			return $container;
138 138
 		}
139 139
 		$this->log("Returned value from bootstrap.php must be instance of 'Genesis\\Container\\Container' or nothing (NULL).", 'red');
Please login to merge, or discard this patch.
src/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.