Passed
Push — master ( 047d0e...5cefa4 )
by Marco
06:53
created
tests/Doctrine/Tests/DBAL/Functional/ResultCacheTest.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -184,6 +184,9 @@  discard block
 block discarded – undo
184 184
         $this->assertEquals(1, count($secondCache->fetch("emptycachekey")));
185 185
     }
186 186
 
187
+    /**
188
+     * @param \Doctrine\DBAL\Driver\Statement $stmt
189
+     */
187 190
     private function hydrateStmt($stmt, $fetchMode = \PDO::FETCH_ASSOC)
188 191
     {
189 192
         $data = array();
@@ -194,6 +197,9 @@  discard block
 block discarded – undo
194 197
         return $data;
195 198
     }
196 199
 
200
+    /**
201
+     * @param \Doctrine\DBAL\Driver\Statement $stmt
202
+     */
197 203
     private function hydrateStmtIterator($stmt, $fetchMode = \PDO::FETCH_ASSOC)
198 204
     {
199 205
         $data = array();
Please login to merge, or discard this patch.
Doctrine/Tests/DBAL/Functional/Schema/SchemaManagerFunctionalTestCase.php 1 patch
Doc Comments   +10 added lines patch added patch discarded remove patch
@@ -857,6 +857,9 @@  discard block
 block discarded – undo
857 857
         return $table;
858 858
     }
859 859
 
860
+    /**
861
+     * @param string $name
862
+     */
860 863
     protected function getTestTable($name, $options=array())
861 864
     {
862 865
         $table = new Table($name, array(), array(), array(), false, $options);
@@ -868,6 +871,9 @@  discard block
 block discarded – undo
868 871
         return $table;
869 872
     }
870 873
 
874
+    /**
875
+     * @param string $name
876
+     */
871 877
     protected function getTestCompositeTable($name)
872 878
     {
873 879
         $table = new Table($name, array(), array(), array(), false, array());
@@ -879,6 +885,10 @@  discard block
 block discarded – undo
879 885
         return $table;
880 886
     }
881 887
 
888
+    /**
889
+     * @param Table[] $tables
890
+     * @param string $tableName
891
+     */
882 892
     protected function assertHasTable($tables, $tableName)
883 893
     {
884 894
         $foundTable = false;
Please login to merge, or discard this patch.
tests/Doctrine/Tests/DBAL/Platforms/AbstractPlatformTestCase.php 1 patch
Doc Comments   +8 added lines patch added patch discarded remove patch
@@ -273,6 +273,10 @@  discard block
 block discarded – undo
273 273
         }
274 274
     }
275 275
 
276
+    /**
277
+     * @param integer $value1
278
+     * @param integer $value2
279
+     */
276 280
     protected function getBitAndComparisonExpressionSql($value1, $value2)
277 281
     {
278 282
         return '(' . $value1 . ' & ' . $value2 . ')';
@@ -287,6 +291,10 @@  discard block
 block discarded – undo
287 291
         $this->assertEquals($this->getBitAndComparisonExpressionSql(2, 4), $sql);
288 292
     }
289 293
 
294
+    /**
295
+     * @param integer $value1
296
+     * @param integer $value2
297
+     */
290 298
     protected  function getBitOrComparisonExpressionSql($value1, $value2)
291 299
     {
292 300
         return '(' . $value1 . ' | ' . $value2 . ')';
Please login to merge, or discard this patch.
tests/Doctrine/Tests/DBAL/Schema/Visitor/CreateSchemaSqlCollectorTest.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -138,7 +138,7 @@
 block discarded – undo
138 138
     }
139 139
 
140 140
     /**
141
-     * @return \Doctrine\DBAL\Schema\Sequence|\PHPUnit_Framework_MockObject_MockObject
141
+     * @return \Doctrine\DBAL\Schema\Sequence
142 142
      */
143 143
     private function createSequenceMock()
144 144
     {
Please login to merge, or discard this patch.
tests/Doctrine/Tests/DBAL/Schema/Visitor/DropSchemaSqlCollectorTest.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -45,11 +45,17 @@
 block discarded – undo
45 45
         return $this->getMockWithoutArguments('Doctrine\DBAL\Schema\Table');
46 46
     }
47 47
 
48
+    /**
49
+     * @param string $className
50
+     */
48 51
     private function getMockWithoutArguments($className)
49 52
     {
50 53
         return $this->getMockBuilder($className)->disableOriginalConstructor()->getMock();
51 54
     }
52 55
 
56
+    /**
57
+     * @param string $name
58
+     */
53 59
     private function getStubKeyConstraint($name)
54 60
     {
55 61
         $constraint = $this->getMockWithoutArguments('Doctrine\DBAL\Schema\ForeignKeyConstraint');
Please login to merge, or discard this patch.
tests/Doctrine/Tests/DBAL/Sharding/SQLAzure/SQLAzureShardManagerTest.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -83,6 +83,9 @@
 block discarded – undo
83 83
         $sm->selectShard(null);
84 84
     }
85 85
 
86
+    /**
87
+     * @return \Doctrine\DBAL\Connection
88
+     */
86 89
     private function createConnection(array $params)
87 90
     {
88 91
         $conn = $this->getMockBuilder('Doctrine\DBAL\Connection')
Please login to merge, or discard this patch.
lib/Doctrine/DBAL/Driver/OCI8/OCI8Connection.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,6 @@
 block discarded – undo
21 21
 
22 22
 use Doctrine\DBAL\Driver\Connection;
23 23
 use Doctrine\DBAL\Driver\ServerInfoAwareConnection;
24
-use Doctrine\DBAL\Platforms\OraclePlatform;
25 24
 
26 25
 /**
27 26
  * OCI8 implementation of the Connection interface.
Please login to merge, or discard this patch.
tests/Doctrine/Tests/DBAL/Driver/AbstractDriverTest.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -7,7 +7,6 @@
 block discarded – undo
7 7
 use Doctrine\DBAL\Driver\ExceptionConverterDriver;
8 8
 use Doctrine\DBAL\VersionAwarePlatformDriver;
9 9
 use Doctrine\Tests\DbalTestCase;
10
-use Throwable;
11 10
 
12 11
 abstract class AbstractDriverTest extends DbalTestCase
13 12
 {
Please login to merge, or discard this patch.