@@ -72,7 +72,7 @@ discard block |
||
| 72 | 72 | continue; |
| 73 | 73 | } |
| 74 | 74 | // check initialize conditions (equals to $exist) |
| 75 | - if (File::exist($this->dir . '/' . $migration)) { |
|
| 75 | + if (File::exist($this->dir.'/'.$migration)) { |
|
| 76 | 76 | if (Arr::in($fullName, $dbmigrations) === $exist) { |
| 77 | 77 | $found[] = $migration; |
| 78 | 78 | } |
@@ -102,17 +102,17 @@ discard block |
||
| 102 | 102 | } |
| 103 | 103 | |
| 104 | 104 | // check if migration file is exists |
| 105 | - if (!File::exist($this->dir . '/' . $file)) { |
|
| 105 | + if (!File::exist($this->dir.'/'.$file)) { |
|
| 106 | 106 | return false; |
| 107 | 107 | } |
| 108 | 108 | |
| 109 | 109 | // check if migration file located in extend directory and copy to default |
| 110 | 110 | if (Normalize::diskFullPath($this->dir) !== Normalize::diskFullPath(static::DEFAULT_DIR)) { |
| 111 | - File::copy($this->dir . DIRECTORY_SEPARATOR . $file, static::DEFAULT_DIR . DIRECTORY_SEPARATOR . $file); |
|
| 111 | + File::copy($this->dir.DIRECTORY_SEPARATOR.$file, static::DEFAULT_DIR.DIRECTORY_SEPARATOR.$file); |
|
| 112 | 112 | } |
| 113 | 113 | |
| 114 | 114 | // include migration and get class name |
| 115 | - File::inc($this->dir . '/' . $file, false, false); |
|
| 115 | + File::inc($this->dir.'/'.$file, false, false); |
|
| 116 | 116 | $fullName = Str::cleanExtension($file); |
| 117 | 117 | $class = Str::firstIn($fullName, '-'); |
| 118 | 118 | |
@@ -148,11 +148,11 @@ discard block |
||
| 148 | 148 | } |
| 149 | 149 | |
| 150 | 150 | // check if exists |
| 151 | - if (!File::exist($this->dir . '/' . $file)) { |
|
| 151 | + if (!File::exist($this->dir.'/'.$file)) { |
|
| 152 | 152 | return false; |
| 153 | 153 | } |
| 154 | 154 | |
| 155 | - File::inc($this->dir . '/' . $file, false, false); |
|
| 155 | + File::inc($this->dir.'/'.$file, false, false); |
|
| 156 | 156 | $fullName = Str::cleanExtension($file); |
| 157 | 157 | $class = Str::firstIn($fullName, '-'); |
| 158 | 158 | |