Failed Conditions
Pull Request — develop (#6599)
by Michael
131:05 queued 63:47
created
tests/Doctrine/Tests/Models/DDC3597/DDC3597Root.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\DDC3597;
6 6
 
@@ -61,7 +61,7 @@  discard block
 block discarded – undo
61 61
      * @return int
62 62
      */
63 63
     public function getId() {
64
-        return (int)$this->id;
64
+        return (int) $this->id;
65 65
     }
66 66
 
67 67
 
Please login to merge, or discard this patch.
tests/Doctrine/Tests/Models/DDC3597/Embeddable/DDC3597Dimension.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\DDC3597\Embeddable;
6 6
 
@@ -41,7 +41,7 @@  discard block
 block discarded – undo
41 41
      * @param int $width
42 42
      */
43 43
     public function setWidth($width) {
44
-        $this->width = (int)$width;
44
+        $this->width = (int) $width;
45 45
     }
46 46
 
47 47
     /**
@@ -55,6 +55,6 @@  discard block
 block discarded – undo
55 55
      * @param int $height
56 56
      */
57 57
     public function setHeight($height) {
58
-        $this->height = (int)$height;
58
+        $this->height = (int) $height;
59 59
     }
60 60
 }
Please login to merge, or discard this patch.
tests/Doctrine/Tests/Models/DDC3293/DDC3293Address.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\DDC3293;
6 6
 
Please login to merge, or discard this patch.
tests/Doctrine/Tests/Models/Quote/City.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\Quote;
6 6
 
Please login to merge, or discard this patch.
tests/Doctrine/Tests/Models/Quote/Group.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\Quote;
6 6
 
@@ -37,7 +37,7 @@  discard block
 block discarded – undo
37 37
      */
38 38
     public $users;
39 39
 
40
-    public function __construct($name = null, Group $parent =  null)
40
+    public function __construct($name = null, Group $parent = null)
41 41
     {
42 42
         $this->name     = $name;
43 43
         $this->parent   = $parent;
Please login to merge, or discard this patch.
tests/Doctrine/Tests/Models/Tweet/Tweet.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\Tweet;
6 6
 
Please login to merge, or discard this patch.
tests/Doctrine/Tests/Models/ECommerce/ECommerceFeature.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\ECommerce;
6 6
 
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
 
@@ -67,7 +67,7 @@  discard block
 block discarded – undo
67 67
 
68 68
     public function addProduct(ECommerceProduct $product)
69 69
     {
70
-        if (!$this->products->contains($product)) {
70
+        if ( ! $this->products->contains($product)) {
71 71
             $this->products[] = $product;
72 72
             $product->addCategory($this);
73 73
         }
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
 
@@ -126,7 +126,7 @@  discard block
 block discarded – undo
126 126
 
127 127
     public function addCategory(ECommerceCategory $category)
128 128
     {
129
-        if (!$this->categories->contains($category)) {
129
+        if ( ! $this->categories->contains($category)) {
130 130
             $this->categories[] = $category;
131 131
             $category->addProduct($this);
132 132
         }
@@ -157,7 +157,7 @@  discard block
 block discarded – undo
157 157
 
158 158
     public function addRelated(ECommerceProduct $related)
159 159
     {
160
-        if (!$this->related->contains($related)) {
160
+        if ( ! $this->related->contains($related)) {
161 161
             $this->related[] = $related;
162 162
             $related->addRelated($this);
163 163
         }
Please login to merge, or discard this patch.