Completed
Pull Request — develop (#6743)
by Grégoire
65:46
created
tests/Doctrine/Tests/EventListener/CacheMetadataListener.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\EventListener;
6 6
 
Please login to merge, or discard this patch.
tests/Doctrine/Tests/DbalTypes/CustomIdObjectType.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\DbalTypes;
6 6
 
Please login to merge, or discard this patch.
tests/Doctrine/Tests/DbalTypes/UpperCaseStringType.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\Tests\DbalTypes;
6 6
 
@@ -32,7 +32,7 @@  discard block
 block discarded – undo
32 32
      */
33 33
     public function convertToDatabaseValueSQL($sqlExpr, AbstractPlatform $platform)
34 34
     {
35
-        return 'UPPER(' . $sqlExpr . ')';
35
+        return 'UPPER('.$sqlExpr.')';
36 36
     }
37 37
 
38 38
     /**
@@ -40,6 +40,6 @@  discard block
 block discarded – undo
40 40
      */
41 41
     public function convertToPHPValueSQL($sqlExpr, $platform)
42 42
     {
43
-        return 'LOWER(' . $sqlExpr . ')';
43
+        return 'LOWER('.$sqlExpr.')';
44 44
     }
45 45
 }
Please login to merge, or discard this patch.
tests/Doctrine/Tests/DbalTypes/NegativeToPositiveType.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\Tests\DbalTypes;
6 6
 
@@ -40,7 +40,7 @@  discard block
 block discarded – undo
40 40
      */
41 41
     public function convertToDatabaseValueSQL($sqlExpr, AbstractPlatform $platform)
42 42
     {
43
-        return 'ABS(' . $sqlExpr . ')';
43
+        return 'ABS('.$sqlExpr.')';
44 44
     }
45 45
 
46 46
     /**
@@ -48,6 +48,6 @@  discard block
 block discarded – undo
48 48
      */
49 49
     public function convertToPHPValueSQL($sqlExpr, $platform)
50 50
     {
51
-        return '-(' . $sqlExpr . ')';
51
+        return '-('.$sqlExpr.')';
52 52
     }
53 53
 }
Please login to merge, or discard this patch.
tests/Doctrine/Tests/DbalFunctionalTestCase.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;
6 6
 
@@ -39,7 +39,7 @@  discard block
 block discarded – undo
39 39
             return;
40 40
         }
41 41
         
42
-        if (! isset(self::$sharedConn)) {
42
+        if ( ! isset(self::$sharedConn)) {
43 43
             self::$sharedConn = TestUtil::getConnection();
44 44
         }
45 45
 
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.
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.