Passed
Branch tests-better-coverage (52d7f0)
by Michael
04:07
created
tests/Doctrine/Tests/DBAL/Schema/SqliteSchemaManagerTest.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -37,13 +37,13 @@
 block discarded – undo
37 37
             ['BINARY', 'b', 'CREATE TABLE "a" (bbb TEXT COLLATE NOCASE, bb TEXT COLLATE RTRIM, b VARCHAR(42) NOT NULL COLLATE BINARY)'],
38 38
             ['BINARY', 'b', 'CREATE TABLE "a" (b VARCHAR(42) NOT NULL COLLATE BINARY, bb TEXT COLLATE RTRIM)'],
39 39
             ['utf-8', 'bar#', 'CREATE TABLE dummy_table (id INTEGER NOT NULL, foo VARCHAR(255) COLLATE "utf-8" NOT NULL, "bar#" VARCHAR(255) COLLATE "utf-8" NOT NULL, baz VARCHAR(255) COLLATE "utf-8" NOT NULL, PRIMARY KEY(id))'],
40
-            [null,    'bar#', 'CREATE TABLE dummy_table (id INTEGER NOT NULL, foo VARCHAR(255) NOT NULL, "bar#" VARCHAR(255) NOT NULL, baz VARCHAR(255) NOT NULL, PRIMARY KEY(id))'],
41
-            ['utf-8', 'baz',  'CREATE TABLE dummy_table (id INTEGER NOT NULL, foo VARCHAR(255) COLLATE "utf-8" NOT NULL, "bar#" INTEGER NOT NULL, baz VARCHAR(255) COLLATE "utf-8" NOT NULL, PRIMARY KEY(id))'],
42
-            [null,    'baz',  'CREATE TABLE dummy_table (id INTEGER NOT NULL, foo VARCHAR(255) NOT NULL, "bar#" INTEGER NOT NULL, baz VARCHAR(255) NOT NULL, PRIMARY KEY(id))'],
40
+            [null, 'bar#', 'CREATE TABLE dummy_table (id INTEGER NOT NULL, foo VARCHAR(255) NOT NULL, "bar#" VARCHAR(255) NOT NULL, baz VARCHAR(255) NOT NULL, PRIMARY KEY(id))'],
41
+            ['utf-8', 'baz', 'CREATE TABLE dummy_table (id INTEGER NOT NULL, foo VARCHAR(255) COLLATE "utf-8" NOT NULL, "bar#" INTEGER NOT NULL, baz VARCHAR(255) COLLATE "utf-8" NOT NULL, PRIMARY KEY(id))'],
42
+            [null, 'baz', 'CREATE TABLE dummy_table (id INTEGER NOT NULL, foo VARCHAR(255) NOT NULL, "bar#" INTEGER NOT NULL, baz VARCHAR(255) NOT NULL, PRIMARY KEY(id))'],
43 43
             ['utf-8', 'bar/', 'CREATE TABLE dummy_table (id INTEGER NOT NULL, foo VARCHAR(255) COLLATE "utf-8" NOT NULL, "bar/" VARCHAR(255) COLLATE "utf-8" NOT NULL, baz VARCHAR(255) COLLATE "utf-8" NOT NULL, PRIMARY KEY(id))'],
44
-            [null,    'bar/', 'CREATE TABLE dummy_table (id INTEGER NOT NULL, foo VARCHAR(255) NOT NULL, "bar/" VARCHAR(255) NOT NULL, baz VARCHAR(255) NOT NULL, PRIMARY KEY(id))'],
45
-            ['utf-8', 'baz',  'CREATE TABLE dummy_table (id INTEGER NOT NULL, foo VARCHAR(255) COLLATE "utf-8" NOT NULL, "bar/" INTEGER NOT NULL, baz VARCHAR(255) COLLATE "utf-8" NOT NULL, PRIMARY KEY(id))'],
46
-            [null,    'baz',  'CREATE TABLE dummy_table (id INTEGER NOT NULL, foo VARCHAR(255) NOT NULL, "bar/" INTEGER NOT NULL, baz VARCHAR(255) NOT NULL, PRIMARY KEY(id))'],
44
+            [null, 'bar/', 'CREATE TABLE dummy_table (id INTEGER NOT NULL, foo VARCHAR(255) NOT NULL, "bar/" VARCHAR(255) NOT NULL, baz VARCHAR(255) NOT NULL, PRIMARY KEY(id))'],
45
+            ['utf-8', 'baz', 'CREATE TABLE dummy_table (id INTEGER NOT NULL, foo VARCHAR(255) COLLATE "utf-8" NOT NULL, "bar/" INTEGER NOT NULL, baz VARCHAR(255) COLLATE "utf-8" NOT NULL, PRIMARY KEY(id))'],
46
+            [null, 'baz', 'CREATE TABLE dummy_table (id INTEGER NOT NULL, foo VARCHAR(255) NOT NULL, "bar/" INTEGER NOT NULL, baz VARCHAR(255) NOT NULL, PRIMARY KEY(id))'],
47 47
         ];
48 48
     }
49 49
 
Please login to merge, or discard this patch.
tests/Doctrine/Tests/DBAL/Schema/TableTest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@  discard block
 block discarded – undo
22 22
 
23 23
     public function testGetName()
24 24
     {
25
-        $table =  new Table("foo", array(), array(), array());
25
+        $table = new Table("foo", array(), array(), array());
26 26
         self::assertEquals("foo", $table->getName());
27 27
     }
28 28
 
@@ -253,7 +253,7 @@  discard block
 block discarded – undo
253 253
         $this->expectException("Doctrine\DBAL\Schema\SchemaException");
254 254
 
255 255
         $table = new Table("foo");
256
-        $table->addColumn("bar",'integer');
256
+        $table->addColumn("bar", 'integer');
257 257
         $table->addIndex(array("bar"), "invalid name %&/");
258 258
     }
259 259
 
Please login to merge, or discard this patch.
Tests/DBAL/Sharding/SQLAzure/SQLAzureFederationsSynchronizerTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@
 block discarded – undo
12 12
         $synchronizer = new SQLAzureFederationsSynchronizer($this->conn, $this->sm);
13 13
         $sql = $synchronizer->getCreateSchema($schema);
14 14
 
15
-        self::assertEquals(array (
15
+        self::assertEquals(array(
16 16
             "--Create Federation\nCREATE FEDERATION Orders_Federation (CustID INT  RANGE)",
17 17
             "USE FEDERATION Orders_Federation (CustID = 0) WITH RESET, FILTERING = OFF;",
18 18
             "CREATE TABLE Products (ProductID INT NOT NULL, SupplierID INT NOT NULL, ProductName NVARCHAR(255) NOT NULL, Price NUMERIC(12, 2) NOT NULL, PRIMARY KEY (ProductID))",
Please login to merge, or discard this patch.
tests/Doctrine/Tests/DBAL/Sharding/SQLAzure/AbstractTestCase.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@
 block discarded – undo
21 21
 
22 22
     protected function setUp()
23 23
     {
24
-        if (!isset($GLOBALS['db_type']) || strpos($GLOBALS['db_type'], "sqlsrv") === false) {
24
+        if ( ! isset($GLOBALS['db_type']) || strpos($GLOBALS['db_type'], "sqlsrv") === false) {
25 25
             $this->markTestSkipped('No driver or sqlserver driver specified.');
26 26
         }
27 27
 
Please login to merge, or discard this patch.
tests/Doctrine/Tests/DBAL/Sharding/PoolingShardManagerTest.php 1 patch
Spacing   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -77,7 +77,7 @@  discard block
 block discarded – undo
77 77
         $conn = $this->createConnectionMock();
78 78
         $conn->expects($this->any())->method('getParams')->will(
79 79
             $this->returnValue(
80
-                array('shards' => array( array('id' => 1), array('id' => 2) ), 'shardChoser' => $this->createPassthroughShardChoser())
80
+                array('shards' => array(array('id' => 1), array('id' => 2)), 'shardChoser' => $this->createPassthroughShardChoser())
81 81
             )
82 82
         );
83 83
 
@@ -95,21 +95,21 @@  discard block
 block discarded – undo
95 95
 
96 96
         $conn = $this->createConnectionMock();
97 97
         $conn->expects($this->at(0))->method('getParams')->will($this->returnValue(
98
-            array('shards' => array( array('id' => 1), array('id' => 2) ), 'shardChoser' => $this->createPassthroughShardChoser())
98
+            array('shards' => array(array('id' => 1), array('id' => 2)), 'shardChoser' => $this->createPassthroughShardChoser())
99 99
         ));
100 100
         $conn->expects($this->at(1))->method('getParams')->will($this->returnValue(
101
-            array('shards' => array( array('id' => 1), array('id' => 2) ), 'shardChoser' => $this->createPassthroughShardChoser())
101
+            array('shards' => array(array('id' => 1), array('id' => 2)), 'shardChoser' => $this->createPassthroughShardChoser())
102 102
         ));
103 103
         $conn->expects($this->at(2))->method('connect')->with($this->equalTo(1));
104 104
         $conn->expects($this->at(3))
105 105
              ->method('fetchAll')
106 106
              ->with($this->equalTo($sql), $this->equalTo($params), $this->equalTo($types))
107
-             ->will($this->returnValue(array( array('id' => 1) ) ));
107
+             ->will($this->returnValue(array(array('id' => 1))));
108 108
         $conn->expects($this->at(4))->method('connect')->with($this->equalTo(2));
109 109
         $conn->expects($this->at(5))
110 110
              ->method('fetchAll')
111 111
              ->with($this->equalTo($sql), $this->equalTo($params), $this->equalTo($types))
112
-             ->will($this->returnValue(array( array('id' => 2) ) ));
112
+             ->will($this->returnValue(array(array('id' => 2))));
113 113
 
114 114
         $shardManager = new PoolingShardManager($conn, $this->createPassthroughShardChoser());
115 115
         $result = $shardManager->queryAll($sql, $params, $types);
@@ -125,21 +125,21 @@  discard block
 block discarded – undo
125 125
 
126 126
         $conn = $this->createConnectionMock();
127 127
         $conn->expects($this->at(0))->method('getParams')->will($this->returnValue(
128
-            array('shards' => array( array('id' => 1), array('id' => 2) ), 'shardChoser' => $this->createStaticShardChoser())
128
+            array('shards' => array(array('id' => 1), array('id' => 2)), 'shardChoser' => $this->createStaticShardChoser())
129 129
         ));
130 130
         $conn->expects($this->at(1))->method('getParams')->will($this->returnValue(
131
-            array('shards' => array( array('id' => 1), array('id' => 2) ), 'shardChoser' => $this->createStaticShardChoser())
131
+            array('shards' => array(array('id' => 1), array('id' => 2)), 'shardChoser' => $this->createStaticShardChoser())
132 132
         ));
133 133
         $conn->expects($this->at(2))->method('connect')->with($this->equalTo(1));
134 134
         $conn->expects($this->at(3))
135 135
             ->method('fetchAll')
136 136
             ->with($this->equalTo($sql), $this->equalTo($params), $this->equalTo($types))
137
-            ->will($this->returnValue(array( array('id' => 1) ) ));
137
+            ->will($this->returnValue(array(array('id' => 1))));
138 138
         $conn->expects($this->at(4))->method('connect')->with($this->equalTo(2));
139 139
         $conn->expects($this->at(5))
140 140
             ->method('fetchAll')
141 141
             ->with($this->equalTo($sql), $this->equalTo($params), $this->equalTo($types))
142
-            ->will($this->returnValue(array( array('id' => 2) ) ));
142
+            ->will($this->returnValue(array(array('id' => 2))));
143 143
 
144 144
         $shardManager = new PoolingShardManager($conn, $this->createStaticShardChoser());
145 145
         $result = $shardManager->queryAll($sql, $params, $types);
Please login to merge, or discard this patch.
tests/Doctrine/Tests/DBAL/SQLParserUtilsTest.php 1 patch
Spacing   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -224,10 +224,10 @@  discard block
 block discarded – undo
224 224
              //  Named parameters : Very simple with param int and string
225 225
             array(
226 226
                 "SELECT * FROM Foo WHERE foo = :foo AND bar = :bar",
227
-                array('bar'=>'Some String','foo'=>1),
227
+                array('bar'=>'Some String', 'foo'=>1),
228 228
                 array('foo' => ParameterType::INTEGER, 'bar' => ParameterType::STRING),
229 229
                 'SELECT * FROM Foo WHERE foo = ? AND bar = ?',
230
-                array(1,'Some String'),
230
+                array(1, 'Some String'),
231 231
                 array(ParameterType::INTEGER, ParameterType::STRING)
232 232
             ),
233 233
             //  Named parameters : Very simple with one needle
@@ -260,7 +260,7 @@  discard block
 block discarded – undo
260 260
             // Named parameters: One non-list before and one after list-needle
261 261
             array(
262 262
                 "SELECT * FROM Foo WHERE foo = :foo AND bar IN (:bar) AND baz = :baz",
263
-                array('bar'=>array(1, 2, 3),'foo'=>1, 'baz'=>4),
263
+                array('bar'=>array(1, 2, 3), 'foo'=>1, 'baz'=>4),
264 264
                 array('bar'=>Connection::PARAM_INT_ARRAY, 'foo'=>ParameterType::INTEGER, 'baz'=>ParameterType::INTEGER),
265 265
                 'SELECT * FROM Foo WHERE foo = ? AND bar IN (?, ?, ?) AND baz = ?',
266 266
                 array(1, 1, 2, 3, 4),
@@ -269,7 +269,7 @@  discard block
 block discarded – undo
269 269
             // Named parameters: Two lists
270 270
             array(
271 271
                 "SELECT * FROM Foo WHERE foo IN (:a, :b)",
272
-                array('b'=>array(4, 5),'a'=>array(1, 2, 3)),
272
+                array('b'=>array(4, 5), 'a'=>array(1, 2, 3)),
273 273
                 array('a'=>Connection::PARAM_INT_ARRAY, 'b'=>Connection::PARAM_INT_ARRAY),
274 274
                 'SELECT * FROM Foo WHERE foo IN (?, ?, ?, ?, ?)',
275 275
                 array(1, 2, 3, 4, 5),
@@ -281,8 +281,8 @@  discard block
 block discarded – undo
281 281
                 array('arg'=>"Some String"),
282 282
                 array('arg'=>ParameterType::STRING),
283 283
                 'SELECT * FROM Foo WHERE foo <> ? AND bar = ?',
284
-                array("Some String","Some String"),
285
-                array(ParameterType::STRING,ParameterType::STRING,)
284
+                array("Some String", "Some String"),
285
+                array(ParameterType::STRING, ParameterType::STRING,)
286 286
             ),
287 287
              //  Named parameters : With the same name arg
288 288
             array(
@@ -291,14 +291,14 @@  discard block
 block discarded – undo
291 291
                 array('arg'=>Connection::PARAM_INT_ARRAY),
292 292
                 'SELECT * FROM Foo WHERE foo IN (?, ?, ?) AND NOT bar IN (?, ?, ?)',
293 293
                 array(1, 2, 3, 1, 2, 3),
294
-                array(ParameterType::INTEGER,ParameterType::INTEGER, ParameterType::INTEGER,ParameterType::INTEGER,ParameterType::INTEGER, ParameterType::INTEGER)
294
+                array(ParameterType::INTEGER, ParameterType::INTEGER, ParameterType::INTEGER, ParameterType::INTEGER, ParameterType::INTEGER, ParameterType::INTEGER)
295 295
             ),
296 296
 
297 297
              //  Named parameters : Same name, other name in between DBAL-299
298 298
             array(
299 299
                 "SELECT * FROM Foo WHERE (:foo = 2) AND (:bar = 3) AND (:foo = 2)",
300
-                array('foo'=>2,'bar'=>3),
301
-                array('foo'=>ParameterType::INTEGER,'bar'=>ParameterType::INTEGER),
300
+                array('foo'=>2, 'bar'=>3),
301
+                array('foo'=>ParameterType::INTEGER, 'bar'=>ParameterType::INTEGER),
302 302
                 'SELECT * FROM Foo WHERE (? = 2) AND (? = 3) AND (? = 2)',
303 303
                 array(2, 3, 2),
304 304
                 array(ParameterType::INTEGER, ParameterType::INTEGER, ParameterType::INTEGER)
Please login to merge, or discard this patch.
tests/Doctrine/Tests/DBAL/ConnectionTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -831,7 +831,7 @@
 block discarded – undo
831 831
             ->method('getResultCacheDriver')
832 832
             ->will($this->returnValue($resultCacheDriverMock));
833 833
 
834
-        $query  = 'SELECT 1';
834
+        $query = 'SELECT 1';
835 835
 
836 836
         $connectionParams = $this->params;
837 837
 
Please login to merge, or discard this patch.
tests/Doctrine/Tests/DBAL/Query/QueryBuilderTest.php 1 patch
Spacing   +19 added lines, -19 removed lines patch added patch discarded remove patch
@@ -348,7 +348,7 @@  discard block
 block discarded – undo
348 348
 
349 349
     public function testEmptySelect()
350 350
     {
351
-        $qb   = new QueryBuilder($this->conn);
351
+        $qb = new QueryBuilder($this->conn);
352 352
         $qb2 = $qb->select();
353 353
 
354 354
         self::assertSame($qb, $qb2);
@@ -369,7 +369,7 @@  discard block
 block discarded – undo
369 369
 
370 370
     public function testEmptyAddSelect()
371 371
     {
372
-        $qb   = new QueryBuilder($this->conn);
372
+        $qb = new QueryBuilder($this->conn);
373 373
         $qb2 = $qb->addSelect();
374 374
 
375 375
         self::assertSame($qb, $qb2);
@@ -391,7 +391,7 @@  discard block
 block discarded – undo
391 391
 
392 392
     public function testUpdate()
393 393
     {
394
-        $qb   = new QueryBuilder($this->conn);
394
+        $qb = new QueryBuilder($this->conn);
395 395
         $qb->update('users', 'u')
396 396
            ->set('u.foo', '?')
397 397
            ->set('u.bar', '?');
@@ -402,7 +402,7 @@  discard block
 block discarded – undo
402 402
 
403 403
     public function testUpdateWithoutAlias()
404 404
     {
405
-        $qb   = new QueryBuilder($this->conn);
405
+        $qb = new QueryBuilder($this->conn);
406 406
         $qb->update('users')
407 407
            ->set('foo', '?')
408 408
            ->set('bar', '?');
@@ -412,7 +412,7 @@  discard block
 block discarded – undo
412 412
 
413 413
     public function testUpdateWhere()
414 414
     {
415
-        $qb   = new QueryBuilder($this->conn);
415
+        $qb = new QueryBuilder($this->conn);
416 416
         $qb->update('users', 'u')
417 417
            ->set('u.foo', '?')
418 418
            ->where('u.foo = ?');
@@ -422,7 +422,7 @@  discard block
 block discarded – undo
422 422
 
423 423
     public function testEmptyUpdate()
424 424
     {
425
-        $qb   = new QueryBuilder($this->conn);
425
+        $qb = new QueryBuilder($this->conn);
426 426
         $qb2 = $qb->update();
427 427
 
428 428
         self::assertEquals(QueryBuilder::UPDATE, $qb->getType());
@@ -431,7 +431,7 @@  discard block
 block discarded – undo
431 431
 
432 432
     public function testDelete()
433 433
     {
434
-        $qb   = new QueryBuilder($this->conn);
434
+        $qb = new QueryBuilder($this->conn);
435 435
         $qb->delete('users', 'u');
436 436
 
437 437
         self::assertEquals(QueryBuilder::DELETE, $qb->getType());
@@ -440,7 +440,7 @@  discard block
 block discarded – undo
440 440
 
441 441
     public function testDeleteWithoutAlias()
442 442
     {
443
-        $qb   = new QueryBuilder($this->conn);
443
+        $qb = new QueryBuilder($this->conn);
444 444
         $qb->delete('users');
445 445
 
446 446
         self::assertEquals(QueryBuilder::DELETE, $qb->getType());
@@ -449,7 +449,7 @@  discard block
 block discarded – undo
449 449
 
450 450
     public function testDeleteWhere()
451 451
     {
452
-        $qb   = new QueryBuilder($this->conn);
452
+        $qb = new QueryBuilder($this->conn);
453 453
         $qb->delete('users', 'u')
454 454
            ->where('u.foo = ?');
455 455
 
@@ -458,7 +458,7 @@  discard block
 block discarded – undo
458 458
 
459 459
     public function testEmptyDelete()
460 460
     {
461
-        $qb   = new QueryBuilder($this->conn);
461
+        $qb = new QueryBuilder($this->conn);
462 462
         $qb2 = $qb->delete();
463 463
 
464 464
         self::assertEquals(QueryBuilder::DELETE, $qb->getType());
@@ -539,13 +539,13 @@  discard block
 block discarded – undo
539 539
 
540 540
     public function testGetConnection()
541 541
     {
542
-        $qb   = new QueryBuilder($this->conn);
542
+        $qb = new QueryBuilder($this->conn);
543 543
         self::assertSame($this->conn, $qb->getConnection());
544 544
     }
545 545
 
546 546
     public function testGetState()
547 547
     {
548
-        $qb   = new QueryBuilder($this->conn);
548
+        $qb = new QueryBuilder($this->conn);
549 549
 
550 550
         self::assertEquals(QueryBuilder::STATE_CLEAN, $qb->getState());
551 551
 
@@ -561,7 +561,7 @@  discard block
 block discarded – undo
561 561
 
562 562
     public function testSetMaxResults()
563 563
     {
564
-        $qb   = new QueryBuilder($this->conn);
564
+        $qb = new QueryBuilder($this->conn);
565 565
         $qb->setMaxResults(10);
566 566
 
567 567
         self::assertEquals(QueryBuilder::STATE_DIRTY, $qb->getState());
@@ -570,7 +570,7 @@  discard block
 block discarded – undo
570 570
 
571 571
     public function testSetFirstResult()
572 572
     {
573
-        $qb   = new QueryBuilder($this->conn);
573
+        $qb = new QueryBuilder($this->conn);
574 574
         $qb->setFirstResult(10);
575 575
 
576 576
         self::assertEquals(QueryBuilder::STATE_DIRTY, $qb->getState());
@@ -579,7 +579,7 @@  discard block
 block discarded – undo
579 579
 
580 580
     public function testResetQueryPart()
581 581
     {
582
-        $qb   = new QueryBuilder($this->conn);
582
+        $qb = new QueryBuilder($this->conn);
583 583
 
584 584
         $qb->select('u.*')->from('users', 'u')->where('u.name = ?');
585 585
 
@@ -590,7 +590,7 @@  discard block
 block discarded – undo
590 590
 
591 591
     public function testResetQueryParts()
592 592
     {
593
-        $qb   = new QueryBuilder($this->conn);
593
+        $qb = new QueryBuilder($this->conn);
594 594
 
595 595
         $qb->select('u.*')->from('users', 'u')->where('u.name = ?')->orderBy('u.name');
596 596
 
@@ -601,7 +601,7 @@  discard block
 block discarded – undo
601 601
 
602 602
     public function testCreateNamedParameter()
603 603
     {
604
-        $qb   = new QueryBuilder($this->conn);
604
+        $qb = new QueryBuilder($this->conn);
605 605
 
606 606
         $qb->select('u.*')->from('users', 'u')->where(
607 607
             $qb->expr()->eq('u.name', $qb->createNamedParameter(10, ParameterType::INTEGER))
@@ -614,7 +614,7 @@  discard block
 block discarded – undo
614 614
 
615 615
     public function testCreateNamedParameterCustomPlaceholder()
616 616
     {
617
-        $qb   = new QueryBuilder($this->conn);
617
+        $qb = new QueryBuilder($this->conn);
618 618
 
619 619
         $qb->select('u.*')->from('users', 'u')->where(
620 620
             $qb->expr()->eq('u.name', $qb->createNamedParameter(10, ParameterType::INTEGER, ':test'))
@@ -627,7 +627,7 @@  discard block
 block discarded – undo
627 627
 
628 628
     public function testCreatePositionalParameter()
629 629
     {
630
-        $qb   = new QueryBuilder($this->conn);
630
+        $qb = new QueryBuilder($this->conn);
631 631
 
632 632
         $qb->select('u.*')->from('users', 'u')->where(
633 633
             $qb->expr()->eq('u.name', $qb->createPositionalParameter(10, ParameterType::INTEGER))
Please login to merge, or discard this patch.
tests/Doctrine/Tests/DBAL/Query/Expression/ExpressionBuilderTest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -202,7 +202,7 @@  discard block
 block discarded – undo
202 202
 
203 203
     public function testIn()
204 204
     {
205
-        self::assertEquals('u.groups IN (1, 3, 4, 7)', $this->expr->in('u.groups', array(1,3,4,7)));
205
+        self::assertEquals('u.groups IN (1, 3, 4, 7)', $this->expr->in('u.groups', array(1, 3, 4, 7)));
206 206
     }
207 207
 
208 208
     public function testInWithPlaceholder()
@@ -212,7 +212,7 @@  discard block
 block discarded – undo
212 212
 
213 213
     public function testNotIn()
214 214
     {
215
-        self::assertEquals('u.groups NOT IN (1, 3, 4, 7)', $this->expr->notIn('u.groups', array(1,3,4,7)));
215
+        self::assertEquals('u.groups NOT IN (1, 3, 4, 7)', $this->expr->notIn('u.groups', array(1, 3, 4, 7)));
216 216
     }
217 217
 
218 218
     public function testNotInWithPlaceholder()
Please login to merge, or discard this patch.