Passed
Pull Request — 4.2 (#140)
by David
05:21
created
src/Mouf/Database/TDBM/Controllers/TdbmController.php 2 patches
Doc Comments   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -76,7 +76,7 @@  discard block
 block discarded – undo
76 76
      * @Action
77 77
      *
78 78
      * @param string $name
79
-     * @param bool   $selfedit
79
+     * @param string|boolean   $selfedit
80 80
      */
81 81
     public function generate($name, $daonamespace, $beannamespace, $daofactoryinstancename, /*$storeInUtc = 0,*/ $selfedit = 'false', $useCustomComposer = false, $composerFile = '')
82 82
     {
@@ -95,9 +95,10 @@  discard block
 block discarded – undo
95 95
      * @param string      $name
96 96
      * @param string      $daonamespace
97 97
      * @param string      $beannamespace
98
-     * @param string      $daofactoryclassname
99 98
      * @param string      $daofactoryinstancename
100 99
      * @param string      $selfedit
100
+     * @param boolean $useCustomComposer
101
+     * @param string $composerFile
101 102
      *
102 103
      * @throws \Mouf\MoufException
103 104
      */
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,6 @@
 block discarded – undo
5 5
 use Mouf\Composer\ClassNameMapper;
6 6
 use Mouf\Controllers\AbstractMoufInstanceController;
7 7
 use Mouf\Database\TDBM\TDBMService;
8
-use Mouf\Database\TDBM\Utils\TDBMDaoGenerator;
9 8
 use Mouf\Html\HtmlElement\HtmlBlock;
10 9
 use Mouf\MoufManager;
11 10
 use Mouf\InstanceProxy;
Please login to merge, or discard this patch.
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   -2 removed lines patch added patch discarded remove patch
@@ -3,12 +3,10 @@
 block discarded – undo
3 3
 namespace Mouf\Database\TDBM\Utils;
4 4
 
5 5
 use Doctrine\Common\Inflector\Inflector;
6
-use Doctrine\DBAL\Schema\Column;
7 6
 use Doctrine\DBAL\Schema\Schema;
8 7
 use Doctrine\DBAL\Schema\Table;
9 8
 use Doctrine\DBAL\Types\Type;
10 9
 use Mouf\Composer\ClassNameMapper;
11
-use Mouf\Database\SchemaAnalyzer\SchemaAnalyzer;
12 10
 use Mouf\Database\TDBM\ConfigurationInterface;
13 11
 use Mouf\Database\TDBM\TDBMException;
14 12
 use Mouf\Database\TDBM\TDBMSchemaAnalyzer;
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.