Completed
Push — dev ( 5e6916...9dafa5 )
by James Ekow Abaka
02:05
created
src/manipulators/Mysql.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -34,6 +34,9 @@
 block discarded – undo
34 34
     private $autoIncrementPending;
35 35
     private $placeholders = array();
36 36
 
37
+    /**
38
+     * @param string $direction
39
+     */
37 40
     public function convertTypes($type, $direction, $length = null)
38 41
     {
39 42
         $types = array(
Please login to merge, or discard this patch.
src/SchemaDescription.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -549,6 +549,9 @@
 block discarded – undo
549 549
         
550 550
     }
551 551
 
552
+    /**
553
+     * @param AbstractDatabaseManipulator $manipulator
554
+     */
552 555
     public static function wrap($description, $manipulator)
553 556
     {
554 557
         return new SchemaDescription($description, $manipulator);
Please login to merge, or discard this patch.
src/manipulators/AbstractDatabaseManipulator.php 1 patch
Unused Use Statements   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -4,11 +4,11 @@
 block discarded – undo
4 4
 
5 5
 use clearice\io\Io;
6 6
 use ntentan\atiaa\DriverFactory;
7
-use yentu\Yentu;
8 7
 use yentu\DatabaseAssertor;
8
+use yentu\Parameters;
9 9
 use yentu\SchemaDescription;
10
+use yentu\Yentu;
10 11
 use yentu\exceptions\DatabaseManipulatorException;
11
-use yentu\Parameters;
12 12
 
13 13
 abstract class AbstractDatabaseManipulator
14 14
 {
Please login to merge, or discard this patch.
src/cli.php 1 patch
Unused Use Statements   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -29,10 +29,10 @@
 block discarded – undo
29 29
 
30 30
 use clearice\argparser\ArgumentParser;
31 31
 use clearice\io\Io;
32
-use yentu\AbstractDatabaseManipulator;
33 32
 use ntentan\atiaa\DriverFactory;
34
-use yentu\Yentu;
35 33
 use ntentan\config\Config;
34
+use yentu\AbstractDatabaseManipulator;
35
+use yentu\Yentu;
36 36
 
37 37
 $container = new ntentan\panie\Container();
38 38
 $container->setup([
Please login to merge, or discard this patch.
src/commands/Migrate.php 2 patches
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -50,6 +50,9 @@
 block discarded – undo
50 50
     private $currentPath;
51 51
 
52 52
 
53
+    /**
54
+     * @param string $filter
55
+     */
53 56
     public function setupOptions($options, &$filter)
54 57
     {
55 58
         if (isset($options['no-foreign-keys'])) {
Please login to merge, or discard this patch.
Unused Use Statements   +2 added lines, -2 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\ChangeLogger;
31
+use yentu\Reversible;
30 32
 use yentu\database\Begin;
31 33
 use yentu\database\DatabaseItem;
32
-use yentu\ChangeLogger;
33 34
 use yentu\database\ForeignKey;
34
-use yentu\Reversible;
35 35
 
36 36
 /**
37 37
  * The migrate command for the yentu database migration system. This class is
Please login to merge, or discard this patch.
src/commands/Status.php 1 patch
Unused Use Statements   -4 removed lines patch added patch discarded remove patch
@@ -2,10 +2,6 @@
 block discarded – undo
2 2
 
3 3
 namespace yentu\commands;
4 4
 
5
-use yentu\Yentu;
6
-use clearice\ConsoleIO;
7
-use yentu\DatabaseManipulatorFactory;
8
-
9 5
 /**
10 6
  *
11 7
  */
Please login to merge, or discard this patch.
src/manipulators/Sqlite.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -94,7 +94,7 @@  discard block
 block discarded – undo
94 94
     /**
95 95
      * Generate the query for a foreign key constraint.
96 96
      *
97
-     * @param array<array> $constraintDetails
97
+     * @param array<array> $constraints
98 98
      * @return string
99 99
      */
100 100
     private function getFKConstraintQuery($constraints, $options)
@@ -363,6 +363,9 @@  discard block
 block discarded – undo
363 363
         $this->query("DROP VIEW `{$details['name']}`");
364 364
     }
365 365
 
366
+    /**
367
+     * @param string $direction
368
+     */
366 369
     public function convertTypes($type, $direction, $length)
367 370
     {
368 371
         $destinationType = null;
Please login to merge, or discard this patch.