@@ -137,10 +137,10 @@ |
||
| 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 | } |
@@ -18,7 +18,7 @@ |
||
| 18 | 18 | |
| 19 | 19 | class MemberAccessException extends Exception {} |
| 20 | 20 | |
| 21 | -if(PHP_VERSION_ID < 70000){ // backwards compatibility |
|
| 21 | +if (PHP_VERSION_ID < 70000) { // backwards compatibility |
|
| 22 | 22 | |
| 23 | 23 | class Throwable extends \Exception {} // it's actually interface, but it does not matter |
| 24 | 24 | |