Failed Conditions
Pull Request — master (#590)
by Michael
12:00
created
lib/Doctrine/DBAL/Migrations/Provider/LazySchemaDiffProvider.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@
 block discarded – undo
39 39
     }
40 40
 
41 41
     /**
42
-     * @return Schema
42
+     * @return \ProxyManager\Proxy\VirtualProxyInterface
43 43
      */
44 44
     public function createFromSchema()
45 45
     {
Please login to merge, or discard this patch.
lib/Doctrine/DBAL/Migrations/FileQueryWriter.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -42,6 +42,9 @@
 block discarded – undo
42 42
      */
43 43
     private $outputWriter;
44 44
 
45
+    /**
46
+     * @param OutputWriter $outputWriter
47
+     */
45 48
     public function __construct(string $columnName, string $tableName, ?OutputWriter $outputWriter)
46 49
     {
47 50
         $this->columnName   = $columnName;
Please login to merge, or discard this patch.
lib/Doctrine/DBAL/Migrations/Finder/RecursiveRegexFinder.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@
 block discarded – undo
42 42
 
43 43
     /**
44 44
      * Transform the recursiveIterator result array of array into the expected array of migration file
45
-     * @param iterable|string[][] $iteratorFilesMatch
45
+     * @param \RegexIterator $iteratorFilesMatch
46 46
      * @return string[]
47 47
      */
48 48
     private function getMatches($iteratorFilesMatch)
Please login to merge, or discard this patch.
lib/Doctrine/DBAL/Migrations/OutputWriter.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -12,6 +12,9 @@
 block discarded – undo
12 12
     /** @var \Closure|null */
13 13
     private $closure;
14 14
 
15
+    /**
16
+     * @param \Closure $closure
17
+     */
15 18
     public function __construct(?\Closure $closure = null)
16 19
     {
17 20
         if ($closure === null) {
Please login to merge, or discard this patch.
lib/Doctrine/DBAL/Migrations/Tools/Console/Command/MigrateCommand.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -160,7 +160,7 @@
 block discarded – undo
160 160
 
161 161
     /**
162 162
      * @param string $versionAlias
163
-     * @return bool|string
163
+     * @return false|string
164 164
      */
165 165
     private function getVersionNameFromAlias($versionAlias, OutputInterface $output, Configuration $configuration)
166 166
     {
Please login to merge, or discard this patch.
lib/Doctrine/DBAL/Migrations/Tools/Console/Command/StatusCommand.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -69,11 +69,17 @@
 block discarded – undo
69 69
         }
70 70
     }
71 71
 
72
+    /**
73
+     * @param string $title
74
+     */
72 75
     private function writeStatusInfosLineAligned(OutputInterface $output, $title, $value)
73 76
     {
74 77
         $output->writeln('    <comment>>></comment> ' . $title . ': ' . str_repeat(' ', 50 - strlen($title)) . $value);
75 78
     }
76 79
 
80
+    /**
81
+     * @param \Doctrine\DBAL\Migrations\Version[] $migrations
82
+     */
77 83
     private function showVersions($migrations, Configuration $configuration, OutputInterface $output)
78 84
     {
79 85
         $migratedVersions = $configuration->getMigratedVersions();
Please login to merge, or discard this patch.
lib/Doctrine/DBAL/Migrations/Tools/Console/Helper/ConfigurationHelper.php 1 patch
Doc Comments   +7 added lines patch added patch discarded remove patch
@@ -27,6 +27,10 @@  discard block
 block discarded – undo
27 27
      */
28 28
     private $configuration;
29 29
 
30
+    /**
31
+     * @param Connection $connection
32
+     * @param Configuration $configuration
33
+     */
30 34
     public function __construct(?Connection $connection = null, ?Configuration $configuration = null)
31 35
     {
32 36
         $this->connection    = $connection;
@@ -76,6 +80,9 @@  discard block
 block discarded – undo
76 80
     }
77 81
 
78 82
 
83
+    /**
84
+     * @param string $config
85
+     */
79 86
     private function configExists($config)
80 87
     {
81 88
         return file_exists($config);
Please login to merge, or discard this patch.
lib/Doctrine/DBAL/Migrations/Version.php 1 patch
Doc Comments   +15 added lines, -1 removed lines patch added patch discarded remove patch
@@ -81,6 +81,10 @@  discard block
 block discarded – undo
81 81
     /** @var SchemaDiffProviderInterface */
82 82
     private $schemaProvider;
83 83
 
84
+    /**
85
+     * @param string $version
86
+     * @param string $class
87
+     */
84 88
     public function __construct(Configuration $configuration, $version, $class, ?SchemaDiffProviderInterface $schemaProvider = null)
85 89
     {
86 90
         $this->configuration = $configuration;
@@ -137,6 +141,9 @@  discard block
 block discarded – undo
137 141
         $this->markVersion('up');
138 142
     }
139 143
 
144
+    /**
145
+     * @param string $direction
146
+     */
140 147
     private function markVersion($direction)
141 148
     {
142 149
         $action = $direction === 'up' ? 'insert' : 'delete';
@@ -157,7 +164,7 @@  discard block
 block discarded – undo
157 164
      * Add some SQL queries to this versions migration
158 165
      *
159 166
      * @param string|string[]     $sql
160
-     * @param mixed[]|mixed[][]   $params
167
+     * @param string[]   $params
161 168
      * @param string[]|string[][] $types
162 169
      */
163 170
     public function addSql($sql, array $params = [], array $types = [])
@@ -360,6 +367,9 @@  discard block
 block discarded – undo
360 367
         }
361 368
     }
362 369
 
370
+    /**
371
+     * @param double $queryStart
372
+     */
363 373
     private function outputQueryTime($queryStart, $timeAllQueries = false)
364 374
     {
365 375
         if ($timeAllQueries !== false) {
@@ -464,6 +474,10 @@  discard block
 block discarded – undo
464 474
         return sprintf('with parameters (%s)', implode(', ', $out));
465 475
     }
466 476
 
477
+    /**
478
+     * @param string $direction
479
+     * @param boolean $dryRun
480
+     */
467 481
     private function dispatchEvent($eventName, $direction, $dryRun)
468 482
     {
469 483
         $this->configuration->dispatchEvent($eventName, new MigrationsVersionEventArgs(
Please login to merge, or discard this patch.