Failed Conditions
Pull Request — master (#7046)
by Gabriel
05:33
created
tests/Doctrine/Tests/ORM/Decorator/EntityManagerDecoratorTest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace Doctrine\Tests\ORM\Decorator;
6 6
 
@@ -52,7 +52,7 @@  discard block
 block discarded – undo
52 52
 
53 53
         /** Special case EntityManager::transactional() */
54 54
         if ($method->getName() === 'transactional') {
55
-            return [$method->getName(), [function () {}]];
55
+            return [$method->getName(), [function() {}]];
56 56
         }
57 57
 
58 58
         if ($method->getNumberOfRequiredParameters() === 0) {
Please login to merge, or discard this patch.
tests/Doctrine/Performance/EntityManagerFactory.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace Doctrine\Performance;
6 6
 
@@ -17,13 +17,13 @@  discard block
 block discarded – undo
17 17
     {
18 18
         $config = new Configuration();
19 19
 
20
-        $config->setProxyDir(__DIR__ . '/../Tests/Proxies');
20
+        $config->setProxyDir(__DIR__.'/../Tests/Proxies');
21 21
         $config->setProxyNamespace('Doctrine\Tests\Proxies');
22 22
         $config->setAutoGenerateProxyClasses(StaticProxyFactory::AUTOGENERATE_EVAL);
23 23
         $config->setMetadataDriverImpl(
24 24
             $config->newDefaultAnnotationDriver([
25
-                realpath(__DIR__ . '/Models/Cache'),
26
-                realpath(__DIR__ . '/Models/GeoNames'),
25
+                realpath(__DIR__.'/Models/Cache'),
26
+                realpath(__DIR__.'/Models/GeoNames'),
27 27
             ])
28 28
         );
29 29
 
Please login to merge, or discard this patch.
Hydration/MixedQueryFetchJoinPartialObjectHydrationPerformanceBench.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace Doctrine\Performance\Hydration;
6 6
 
@@ -69,7 +69,7 @@  discard block
 block discarded – undo
69 69
                 'u__status'      => 'developer',
70 70
                 'u__username'    => 'jwage',
71 71
                 'u__name'        => 'Jonathan',
72
-                'sclr0'          => 'JWAGE' . $i,
72
+                'sclr0'          => 'JWAGE'.$i,
73 73
                 'p__phonenumber' => '91',
74 74
             ];
75 75
         }
Please login to merge, or discard this patch.
Hydration/MixedQueryFetchJoinFullObjectHydrationPerformanceBench.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace Doctrine\Performance\Hydration;
6 6
 
@@ -54,7 +54,7 @@  discard block
 block discarded – undo
54 54
                 'u__status'      => 'developer',
55 55
                 'u__username'    => 'jwage',
56 56
                 'u__name'        => 'Jonathan',
57
-                'sclr0'          => 'JWAGE' . $i,
57
+                'sclr0'          => 'JWAGE'.$i,
58 58
                 'p__phonenumber' => '91',
59 59
                 'a__id'          => $i,
60 60
             ];
Please login to merge, or discard this patch.
tests/Doctrine/Tests/ORM/Functional/Ticket/DDC698Test.php 2 patches
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -26,8 +26,8 @@
 block discarded – undo
26 26
     {
27 27
         $qb = $this->em->createQueryBuilder();
28 28
         $qb->select('p', 'r')
29
-           ->from(__NAMESPACE__ . '\DDC698Privilege', 'p')
30
-           ->leftJoin('p.roles', 'r');
29
+            ->from(__NAMESPACE__ . '\DDC698Privilege', 'p')
30
+            ->leftJoin('p.roles', 'r');
31 31
 
32 32
         self::assertSQLEquals(
33 33
             'SELECT t0."privilegeID" AS c0, t0."name" AS c1, t1."roleID" AS c2, t1."name" AS c3, t1."shortName" AS c4 FROM "Privileges" t0 LEFT JOIN "RolePrivileges" t2 ON t0."privilegeID" = t2."privilegeID" LEFT JOIN "Roles" t1 ON t1."roleID" = t2."roleID"',
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace Doctrine\Tests\ORM\Functional\Ticket;
6 6
 
@@ -26,7 +26,7 @@  discard block
 block discarded – undo
26 26
     {
27 27
         $qb = $this->em->createQueryBuilder();
28 28
         $qb->select('p', 'r')
29
-           ->from(__NAMESPACE__ . '\DDC698Privilege', 'p')
29
+           ->from(__NAMESPACE__.'\DDC698Privilege', 'p')
30 30
            ->leftJoin('p.roles', 'r');
31 31
 
32 32
         self::assertSQLEquals(
Please login to merge, or discard this patch.
tests/Doctrine/Tests/Models/ManyToManyPersister/OtherParentClass.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace Doctrine\Tests\Models\ManyToManyPersister;
6 6
 
Please login to merge, or discard this patch.
tests/Doctrine/Tests/Models/ManyToManyPersister/ChildClass.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace Doctrine\Tests\Models\ManyToManyPersister;
6 6
 
Please login to merge, or discard this patch.
Performance/Hydration/MixedQueryFetchJoinArrayHydrationPerformanceBench.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace Doctrine\Performance\Hydration;
6 6
 
@@ -69,7 +69,7 @@  discard block
 block discarded – undo
69 69
                 'u__status'      => 'developer',
70 70
                 'u__username'    => 'jwage',
71 71
                 'u__name'        => 'Jonathan',
72
-                'sclr0'          => 'JWAGE' . $i,
72
+                'sclr0'          => 'JWAGE'.$i,
73 73
                 'p__phonenumber' => '91',
74 74
             ];
75 75
         }
Please login to merge, or discard this patch.
tests/Doctrine/Tests/Models/DDC3597/Embeddable/DDC3597Dimension.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace Doctrine\Tests\Models\DDC3597\Embeddable;
6 6
 
Please login to merge, or discard this patch.