Completed
Push — master ( b4fb45...fd4491 )
by dima
02:45
created
app/Console/Commands/InstallPackagesCommand.php 3 patches
Indentation   +13 added lines, -13 removed lines patch added patch discarded remove patch
@@ -21,23 +21,23 @@
 block discarded – undo
21 21
 
22 22
     protected function execute(InputInterface $input, OutputInterface $output)
23 23
     {
24
-		$finder = \Symfony\Component\Finder\Finder::create();
24
+        $finder = \Symfony\Component\Finder\Finder::create();
25 25
 
26
-		$root_path = __DIR__ . "../../../..";
26
+        $root_path = __DIR__ . "../../../..";
27 27
 
28
-		$iterator = $finder
29
-				->files()
30
-				->in($root_path . "/vendor/*/*/db");
28
+        $iterator = $finder
29
+                ->files()
30
+                ->in($root_path . "/vendor/*/*/db");
31 31
 
32
-		foreach ($iterator as $file) {
32
+        foreach ($iterator as $file) {
33 33
 
34
-			if (!copy($file->getRealpath(), $root_path . '/db/' . $file->getRelativePathname())) {
35
-			  $output->writeln( sprintf("error copy migration %s...", $file->getRelativePathname()) );
36
-			}
37
-			else{
38
-				$output->writeln( sprintf("copy migration %s", $file->getRelativePathname()) );
39
-			}
40
-		}
34
+            if (!copy($file->getRealpath(), $root_path . '/db/' . $file->getRelativePathname())) {
35
+                $output->writeln( sprintf("error copy migration %s...", $file->getRelativePathname()) );
36
+            }
37
+            else{
38
+                $output->writeln( sprintf("copy migration %s", $file->getRelativePathname()) );
39
+            }
40
+        }
41 41
 		
42 42
         $output->writeln("completed!");
43 43
     }
Please login to merge, or discard this patch.
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -32,10 +32,10 @@
 block discarded – undo
32 32
 		foreach ($iterator as $file) {
33 33
 
34 34
 			if (!copy($file->getRealpath(), $root_path . '/db/' . $file->getRelativePathname())) {
35
-			  $output->writeln( sprintf("error copy migration %s...", $file->getRelativePathname()) );
35
+			  $output->writeln(sprintf("error copy migration %s...", $file->getRelativePathname()));
36 36
 			}
37
-			else{
38
-				$output->writeln( sprintf("copy migration %s", $file->getRelativePathname()) );
37
+			else {
38
+				$output->writeln(sprintf("copy migration %s", $file->getRelativePathname()));
39 39
 			}
40 40
 		}
41 41
 		
Please login to merge, or discard this patch.
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -33,8 +33,7 @@
 block discarded – undo
33 33
 
34 34
 			if (!copy($file->getRealpath(), $root_path . '/db/' . $file->getRelativePathname())) {
35 35
 			  $output->writeln( sprintf("error copy migration %s...", $file->getRelativePathname()) );
36
-			}
37
-			else{
36
+			} else{
38 37
 				$output->writeln( sprintf("copy migration %s", $file->getRelativePathname()) );
39 38
 			}
40 39
 		}
Please login to merge, or discard this patch.
app/SeedInterface.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
9 9
  */
10 10
 interface SeedInterface
11 11
 {
12
-	static public function build($id = 1);
12
+    static public function build($id = 1);
13 13
 	
14
-	static public function reset();
14
+    static public function reset();
15 15
 }
Please login to merge, or discard this patch.