Failed Conditions
Push — master ( 2ccf23...d791f7 )
by Michael
10:40
created
tests/Doctrine/Tests/Mocks/CacheEntryMock.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\Mocks;
6 6
 
Please login to merge, or discard this patch.
tests/Doctrine/Tests/Mocks/ConnectionMock.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\Mocks;
6 6
 
@@ -121,7 +121,7 @@  discard block
 block discarded – undo
121 121
     public function quote($input, $type = null)
122 122
     {
123 123
         if (is_string($input)) {
124
-            return "'" . $input . "'";
124
+            return "'".$input."'";
125 125
         }
126 126
         return $input;
127 127
     }
Please login to merge, or discard this patch.
tests/Doctrine/Tests/Mocks/StatementMock.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\Mocks;
6 6
 
@@ -37,7 +37,7 @@  discard block
 block discarded – undo
37 37
     /**
38 38
      * {@inheritdoc}
39 39
      */
40
-    public function errorInfo(){}
40
+    public function errorInfo() {}
41 41
 
42 42
     /**
43 43
      * {@inheritdoc}
Please login to merge, or discard this patch.
tests/Doctrine/Tests/Mocks/DriverConnectionMock.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\Mocks;
6 6
 
@@ -51,7 +51,7 @@  discard block
 block discarded – undo
51 51
     /**
52 52
      * {@inheritdoc}
53 53
      */
54
-    public function quote($input, $type=\PDO::PARAM_STR)
54
+    public function quote($input, $type = \PDO::PARAM_STR)
55 55
     {
56 56
     }
57 57
 
Please login to merge, or discard this patch.
tests/Doctrine/Tests/TestUtil.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;
6 6
 
@@ -92,7 +92,7 @@  discard block
 block discarded – undo
92 92
     {
93 93
         $realDbParams = self::getParamsForMainConnection();
94 94
 
95
-        if (! self::$initialized) {
95
+        if ( ! self::$initialized) {
96 96
             $tmpDbParams = self::getParamsForTemporaryConnection();
97 97
 
98 98
             $realConn = DriverManager::getConnection($realDbParams);
@@ -100,7 +100,7 @@  discard block
 block discarded – undo
100 100
             // Connect to tmpdb in order to drop and create the real test db.
101 101
             $tmpConn = DriverManager::getConnection($tmpDbParams);
102 102
 
103
-            $platform  = $tmpConn->getDatabasePlatform();
103
+            $platform = $tmpConn->getDatabasePlatform();
104 104
 
105 105
             if ($platform->supportsCreateDropDatabase()) {
106 106
                 $dbname = $realConn->getDatabase();
Please login to merge, or discard this patch.
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.