Passed
Push — 4.3 ( 28cdbc...a1e8cd )
by David
14:50 queued 13:41
created
src/Mouf/Database/TDBM/TDBMService.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -21,11 +21,9 @@
 block discarded – undo
21 21
 namespace Mouf\Database\TDBM;
22 22
 
23 23
 use Doctrine\Common\Cache\Cache;
24
-use Doctrine\Common\Cache\VoidCache;
25 24
 use Doctrine\DBAL\Connection;
26 25
 use Doctrine\DBAL\Schema\Column;
27 26
 use Doctrine\DBAL\Schema\ForeignKeyConstraint;
28
-use Doctrine\DBAL\Schema\Schema;
29 27
 use Doctrine\DBAL\Schema\Table;
30 28
 use Doctrine\DBAL\Types\Type;
31 29
 use Mouf\Database\MagicQuery;
Please login to merge, or discard this patch.
src/Mouf/Database/TDBM/Utils/TDBMDaoGenerator.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -616,7 +616,7 @@
 block discarded – undo
616 616
      * Tries to put string to the singular form (if it is plural).
617 617
      * We assume the table names are in english.
618 618
      *
619
-     * @param $str string
619
+     * @param string $str string
620 620
      *
621 621
      * @return string
622 622
      */
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,6 @@
 block discarded – undo
9 9
 use Mouf\Database\TDBM\ConfigurationInterface;
10 10
 use Mouf\Database\TDBM\TDBMException;
11 11
 use Mouf\Database\TDBM\TDBMSchemaAnalyzer;
12
-use Symfony\Component\EventDispatcher\EventDispatcherInterface;
13 12
 
14 13
 /**
15 14
  * This class generates automatically DAOs and Beans for TDBM.
Please login to merge, or discard this patch.
src/Mouf/Database/TDBM/Controllers/TdbmInstallController.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -6,7 +6,6 @@
 block discarded – undo
6 6
 use Mouf\Actions\InstallUtils;
7 7
 use Mouf\Console\ConsoleUtils;
8 8
 use Mouf\Database\TDBM\Commands\GenerateCommand;
9
-use Mouf\Database\TDBM\Configuration;
10 9
 use Mouf\Database\TDBM\MoufConfiguration;
11 10
 use Mouf\Database\TDBM\Utils\DefaultNamingStrategy;
12 11
 use Mouf\Database\TDBM\Utils\MoufDiListener;
Please login to merge, or discard this patch.
src/Mouf/Database/TDBM/Controllers/TdbmController.php 2 patches
Doc Comments   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -82,7 +82,7 @@  discard block
 block discarded – undo
82 82
      * @Action
83 83
      *
84 84
      * @param string $name
85
-     * @param bool   $selfedit
85
+     * @param string|boolean   $selfedit
86 86
      */
87 87
     public function generate($name, $daonamespace, $beannamespace, $daofactoryinstancename, /*$storeInUtc = 0,*/ $selfedit = 'false', $useCustomComposer = false, $composerFile = '')
88 88
     {
@@ -102,6 +102,8 @@  discard block
 block discarded – undo
102 102
      * @param string      $daonamespace
103 103
      * @param string      $beannamespace
104 104
      * @param string      $selfedit
105
+     * @param boolean $useCustomComposer
106
+     * @param string $composerFile
105 107
      *
106 108
      * @throws \Mouf\MoufException
107 109
      */
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -6,7 +6,6 @@
 block discarded – undo
6 6
 use Mouf\Controllers\AbstractMoufInstanceController;
7 7
 use Mouf\Database\TDBM\TDBMService;
8 8
 use Mouf\Database\TDBM\Utils\PathFinder\PathFinder;
9
-use Mouf\Database\TDBM\Utils\TDBMDaoGenerator;
10 9
 use Mouf\Html\HtmlElement\HtmlBlock;
11 10
 use Mouf\MoufManager;
12 11
 use Mouf\InstanceProxy;
Please login to merge, or discard this patch.