Completed
Push — master ( 5f1b15...566d1a )
by Mihail
40:15
created
src/Ffcms/Core/Managers/MigrationsManager.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -73,7 +73,7 @@  discard block
 block discarded – undo
73 73
             }
74 74
 
75 75
             // check initialize conditions (equals to $exist)
76
-            if (file_exists($this->dir . '/' . $migration)) {
76
+            if (file_exists($this->dir.'/'.$migration)) {
77 77
                 if (Arr::in($fullName, $dbmigrations) === $exist) {
78 78
                     $found[] = $migration;
79 79
                 }
@@ -103,17 +103,17 @@  discard block
 block discarded – undo
103 103
         }
104 104
 
105 105
         // check if migration file is exists
106
-        if (!File::exist($this->dir . '/' . $file)) {
106
+        if (!File::exist($this->dir.'/'.$file)) {
107 107
             return false;
108 108
         }
109 109
 
110 110
         // check if migration file located in extend directory and copy to default
111 111
         if (Normalize::diskFullPath($this->dir) !== Normalize::diskFullPath(static::DEFAULT_DIR)) {
112
-            File::copy($this->dir . DIRECTORY_SEPARATOR . $file, static::DEFAULT_DIR . DIRECTORY_SEPARATOR . $file);
112
+            File::copy($this->dir.DIRECTORY_SEPARATOR.$file, static::DEFAULT_DIR.DIRECTORY_SEPARATOR.$file);
113 113
         }
114 114
 
115 115
         // include migration and get class name
116
-        File::inc($this->dir . '/' . $file, false, false);
116
+        File::inc($this->dir.'/'.$file, false, false);
117 117
         $fullName = Str::cleanExtension($file);
118 118
         $class = Str::firstIn($fullName, '-');
119 119
 
@@ -149,11 +149,11 @@  discard block
 block discarded – undo
149 149
         }
150 150
 
151 151
         // check if exists
152
-        if (!File::exist($this->dir . '/' . $file)) {
152
+        if (!File::exist($this->dir.'/'.$file)) {
153 153
             return false;
154 154
         }
155 155
 
156
-        File::inc($this->dir . '/' . $file, false, false);
156
+        File::inc($this->dir.'/'.$file, false, false);
157 157
         $fullName = Str::cleanExtension($file);
158 158
         $class = Str::firstIn($fullName, '-');
159 159
 
Please login to merge, or discard this patch.