Completed
Push — dev ( 9476d8...09c84d )
by James Ekow Abaka
02:08
created
src/commands/Import.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -4,9 +4,9 @@
 block discarded – undo
4 4
 
5 5
 use clearice\io\Io;
6 6
 use yentu\CodeWriter;
7
+use yentu\Migrations;
7 8
 use yentu\exceptions\CommandException;
8 9
 use yentu\factories\DatabaseManipulatorFactory;
9
-use yentu\Migrations;
10 10
 
11 11
 class Import extends Command implements Reversible
12 12
 {
Please login to merge, or discard this patch.
src/commands/Init.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,11 +27,11 @@
 block discarded – undo
27 27
 namespace yentu\commands;
28 28
 
29 29
 use clearice\io\Io;
30
-use yentu\factories\DatabaseManipulatorFactory;
31 30
 use yentu\Migrations;
32 31
 use yentu\Parameters;
33 32
 use yentu\commands\Reversible;
34 33
 use yentu\exceptions\CommandException;
34
+use yentu\factories\DatabaseManipulatorFactory;
35 35
 
36 36
 /**
37 37
  * The init command class. This command intiates a project for yentu migration
Please login to merge, or discard this patch.
src/commands/Migrate.php 1 patch
Unused Use Statements   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -27,12 +27,12 @@
 block discarded – undo
27 27
 namespace yentu\commands;
28 28
 
29 29
 use clearice\io\Io;
30
+use yentu\ChangeLogger;
31
+use yentu\Migrations;
30 32
 use yentu\database\Begin;
31 33
 use yentu\database\DatabaseItem;
32
-use yentu\ChangeLogger;
33 34
 use yentu\database\ForeignKey;
34 35
 use yentu\factories\DatabaseManipulatorFactory;
35
-use yentu\Migrations;
36 36
 
37 37
 /**
38 38
  * The migrate command for the yentu database migration system. This class is
Please login to merge, or discard this patch.
src/commands/Reversible.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -28,5 +28,8 @@
 block discarded – undo
28 28
 
29 29
 interface Reversible
30 30
 {
31
+    /**
32
+     * @return void
33
+     */
31 34
     public function reverseActions();
32 35
 }
33 36
\ No newline at end of file
Please login to merge, or discard this patch.
src/commands/Rollback.php 2 patches
Doc Comments   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -22,7 +22,6 @@  discard block
 block discarded – undo
22 22
     }
23 23
 
24 24
     /**
25
-     * @param array $this->options
26 25
      * @throws \yentu\exceptions\DatabaseManipulatorException
27 26
      */
28 27
     public function run()
@@ -62,6 +61,9 @@  discard block
 block discarded – undo
62 61
         }
63 62
     }
64 63
 
64
+    /**
65
+     * @param \yentu\manipulators\AbstractDatabaseManipulator $db
66
+     */
65 67
     private function getOperations($db, $set)
66 68
     {
67 69
         $operations = [];
Please login to merge, or discard this patch.
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -2,10 +2,10 @@
 block discarded – undo
2 2
 
3 3
 namespace yentu\commands;
4 4
 
5
+use clearice\io\Io;
5 6
 use yentu\ChangeReverser;
6 7
 use yentu\database\DatabaseItem;
7 8
 use yentu\factories\DatabaseManipulatorFactory;
8
-use clearice\io\Io;
9 9
 
10 10
 class Rollback extends Command
11 11
 {
Please login to merge, or discard this patch.