Passed
Pull Request — master (#4)
by Dominik
05:35
created
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
 						$command->delete($destination);
145 145
 					}
146 146
 				}
Please login to merge, or discard this patch.
src/exceptions.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -21,6 +21,6 @@
 block discarded – undo
21 21
 if (PHP_VERSION_ID < 70000) { // backwards compatibility
22 22
 
23 23
 	namespace {
24
-		class Throwable extends \Exception{} // it's actually interface, but this is shortcut
24
+		class Throwable extends \Exception {} // it's actually interface, but this is shortcut
25 25
 	}
26 26
 }
27 27
\ No newline at end of file
Please login to merge, or discard this patch.
src/Build.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -51,7 +51,7 @@
 block discarded – undo
51 51
 	 */
52 52
 	public function &__get($name)
53 53
 	{
54
-		if(in_array($name, ['container', 'arguments'])){
54
+		if (in_array($name, ['container', 'arguments'])) {
55 55
 			$method = 'get' . ucfirst($name);
56 56
 			trigger_error(E_USER_WARNING, "Property '$name' is deprecated, use method $method() instead.");
57 57
 			return $this->$method();
Please login to merge, or discard this patch.