Failed Conditions
Pull Request — master (#7046)
by Gabriel
05:33
created
tests/Doctrine/Tests/Mocks/ConcurrentRegionMock.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
 
@@ -202,7 +202,7 @@  discard block
 block discarded – undo
202 202
 
203 203
         $this->throwException(__FUNCTION__);
204 204
 
205
-        if (! isset($this->locks[$key->hash])) {
205
+        if ( ! isset($this->locks[$key->hash])) {
206 206
             return;
207 207
         }
208 208
 
Please login to merge, or discard this patch.
tests/Doctrine/Tests/Mocks/HydratorMockStatement.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
 
@@ -47,7 +47,7 @@  discard block
 block discarded – undo
47 47
     public function fetchColumn($columnNumber = 0)
48 48
     {
49 49
         $row = current($this->resultSet);
50
-        if (! is_array($row)) {
50
+        if ( ! is_array($row)) {
51 51
             return false;
52 52
         }
53 53
         $val = array_shift($row);
Please login to merge, or discard this patch.
tests/Doctrine/Tests/Mocks/DriverMock.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
     public function getDatabasePlatform()
39 39
     {
40
-        if (! $this->platformMock) {
40
+        if ( ! $this->platformMock) {
41 41
             $this->platformMock = new DatabasePlatformMock;
42 42
         }
43 43
         return $this->platformMock;
Please login to merge, or discard this patch.
tests/Doctrine/Tests/Models/ECommerce/ECommerceCategory.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\Models\ECommerce;
6 6
 
@@ -70,7 +70,7 @@  discard block
 block discarded – undo
70 70
 
71 71
     public function addProduct(ECommerceProduct $product)
72 72
     {
73
-        if (! $this->products->contains($product)) {
73
+        if ( ! $this->products->contains($product)) {
74 74
             $this->products[] = $product;
75 75
             $product->addCategory($this);
76 76
         }
Please login to merge, or discard this patch.
tests/Doctrine/Tests/Models/ECommerce/ECommerceProduct.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\Models\ECommerce;
6 6
 
@@ -133,7 +133,7 @@  discard block
 block discarded – undo
133 133
 
134 134
     public function addCategory(ECommerceCategory $category)
135 135
     {
136
-        if (! $this->categories->contains($category)) {
136
+        if ( ! $this->categories->contains($category)) {
137 137
             $this->categories[] = $category;
138 138
             $category->addProduct($this);
139 139
         }
@@ -164,7 +164,7 @@  discard block
 block discarded – undo
164 164
 
165 165
     public function addRelated(ECommerceProduct $related)
166 166
     {
167
-        if (! $this->related->contains($related)) {
167
+        if ( ! $this->related->contains($related)) {
168 168
             $this->related[] = $related;
169 169
             $related->addRelated($this);
170 170
         }
Please login to merge, or discard this patch.
tests/Doctrine/Tests/Models/Company/CompanyPerson.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\Models\Company;
6 6
 
@@ -115,7 +115,7 @@  discard block
 block discarded – undo
115 115
 
116 116
     public function addFriend(CompanyPerson $friend)
117 117
     {
118
-        if (! $this->friends->contains($friend)) {
118
+        if ( ! $this->friends->contains($friend)) {
119 119
             $this->friends->add($friend);
120 120
             $friend->addFriend($this);
121 121
         }
Please login to merge, or discard this patch.
Doctrine/Tests/Models/CompositeKeyInheritance/JoinedDerivedRootClass.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\CompositeKeyInheritance;
6 6
 
Please login to merge, or discard this patch.
Tests/Models/CompositeKeyInheritance/JoinedDerivedIdentityClass.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\CompositeKeyInheritance;
6 6
 
Please login to merge, or discard this patch.
Doctrine/Tests/Models/CompositeKeyInheritance/JoinedDerivedChildClass.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\CompositeKeyInheritance;
6 6
 
Please login to merge, or discard this patch.