Failed Conditions
Push — master ( 2ccf23...d791f7 )
by Michael
10:40
created
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.
tests/Doctrine/Performance/Mock/NonProxyLoadingEntityManager.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\Performance\Mock;
6 6
 
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.
Performance/Hydration/SingleTableInheritanceHydrationPerformanceBench.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\Performance\Hydration;
6 6
 
Please login to merge, or discard this patch.
tests/Doctrine/Performance/Hydration/SimpleHydrationBench.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
 
@@ -41,7 +41,7 @@  discard block
 block discarded – undo
41 41
             $user = new CMS\CmsUser();
42 42
 
43 43
             $user->status   = 'developer';
44
-            $user->username = 'jwage' . $i;
44
+            $user->username = 'jwage'.$i;
45 45
             $user->name     = 'Jonathan';
46 46
 
47 47
             $this->entityManager->persist($user);
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
 
@@ -68,7 +68,7 @@  discard block
 block discarded – undo
68 68
                 'u__status'      => 'developer',
69 69
                 'u__username'    => 'jwage',
70 70
                 'u__name'        => 'Jonathan',
71
-                'sclr0'          => 'JWAGE' . $i,
71
+                'sclr0'          => 'JWAGE'.$i,
72 72
                 'p__phonenumber' => '91'
73 73
             ];
74 74
         }
Please login to merge, or discard this patch.
tests/Doctrine/Performance/LazyLoading/ProxyInitializationTimeBench.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\Performance\LazyLoading;
6 6
 
Please login to merge, or discard this patch.
tests/Doctrine/Performance/ChangeSet/UnitOfWorkComputeChangesBench.php 1 patch
Spacing   +3 added lines, -3 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\ChangeSet;
6 6
 
@@ -34,8 +34,8 @@  discard block
 block discarded – undo
34 34
             $user           = new CmsUser;
35 35
             $user->id       = $i;
36 36
             $user->status   = 'user';
37
-            $user->username = 'user' . $i;
38
-            $user->name     = 'Mr.Smith-' . $i;
37
+            $user->username = 'user'.$i;
38
+            $user->name     = 'Mr.Smith-'.$i;
39 39
             $this->users[]  = $user;
40 40
 
41 41
             $this->unitOfWork->registerManaged(
Please login to merge, or discard this patch.
lib/Doctrine/ORM/Internal/Hydration/AbstractHydrator.php 2 patches
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -213,8 +213,8 @@
 block discarded – undo
213 213
         $this->metadataCache = [];
214 214
 
215 215
         $this->em
216
-             ->getEventManager()
217
-             ->removeEventListener([Events::onClear], $this);
216
+                ->getEventManager()
217
+                ->removeEventListener([Events::onClear], $this);
218 218
     }
219 219
 
220 220
     /**
Please login to merge, or discard this patch.
Spacing   +6 added lines, -6 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\ORM\Internal\Hydration;
6 6
 
@@ -143,7 +143,7 @@  discard block
 block discarded – undo
143 143
     {
144 144
         $row = $this->stmt->fetch(PDO::FETCH_ASSOC);
145 145
 
146
-        if (! $row) {
146
+        if ( ! $row) {
147 147
             $this->cleanup();
148 148
 
149 149
             return false;
@@ -286,7 +286,7 @@  discard block
 block discarded – undo
286 286
                         : $value;
287 287
 
288 288
                     if ($cacheKeyInfo['isIdentifier'] && $value !== null) {
289
-                        $id[$dqlAlias]                .= '|' . $value;
289
+                        $id[$dqlAlias]                .= '|'.$value;
290 290
                         $nonemptyComponents[$dqlAlias] = true;
291 291
                     }
292 292
                     break;
@@ -322,10 +322,10 @@  discard block
 block discarded – undo
322 322
 
323 323
             // WARNING: BC break! We know this is the desired behavior to type convert values, but this
324 324
             // erroneous behavior exists since 2.0 and we're forced to keep compatibility.
325
-            if (! isset($cacheKeyInfo['isScalar'])) {
325
+            if ( ! isset($cacheKeyInfo['isScalar'])) {
326 326
                 $dqlAlias  = $cacheKeyInfo['dqlAlias'];
327 327
                 $type      = $cacheKeyInfo['type'];
328
-                $fieldName = $dqlAlias . '_' . $fieldName;
328
+                $fieldName = $dqlAlias.'_'.$fieldName;
329 329
                 $value     = $type
330 330
                     ? $type->convertToPHPValue($value, $this->platform)
331 331
                     : $value;
@@ -431,7 +431,7 @@  discard block
 block discarded – undo
431 431
      */
432 432
     protected function getClassMetadata($className)
433 433
     {
434
-        if (! isset($this->metadataCache[$className])) {
434
+        if ( ! isset($this->metadataCache[$className])) {
435 435
             $this->metadataCache[$className] = $this->em->getClassMetadata($className);
436 436
         }
437 437
 
Please login to merge, or discard this patch.