Passed
Pull Request — master (#7448)
by Ilya
14:31
created
tests/Doctrine/Tests/ORM/UnitOfWorkTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -506,7 +506,7 @@
 block discarded – undo
506 506
             'empty string, single field'     => [$emptyString, ''],
507 507
             'non-empty string, single field' => [$nonEmptyString, $nonEmptyString->id],
508 508
             'empty strings, two fields'      => [$emptyStrings, ' '],
509
-            'non-empty strings, two fields'  => [$nonEmptyStrings, $nonEmptyStrings->id1 . ' ' . $nonEmptyStrings->id2],
509
+            'non-empty strings, two fields'  => [$nonEmptyStrings, $nonEmptyStrings->id1.' '.$nonEmptyStrings->id2],
510 510
             'boolean true'                   => [$booleanTrue, '1'],
511 511
             'boolean false'                  => [$booleanFalse, ''],
512 512
         ];
Please login to merge, or discard this patch.
tests/Doctrine/Tests/ORM/Utility/NormalizeIdentifierTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -61,7 +61,7 @@
 block discarded – undo
61 61
         self::assertSame(array_keys($expectedId), array_keys($id));
62 62
 
63 63
         foreach ($expectedId as $field => $value) {
64
-            if (! is_object($value)) {
64
+            if ( ! is_object($value)) {
65 65
                 self::assertSame($id[$field], $value);
66 66
 
67 67
                 continue;
Please login to merge, or discard this patch.
tests/Doctrine/Tests/ORM/Utility/StaticClassNameConverterTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@
 block discarded – undo
45 45
         $className      = array_pop($namespaceParts);
46 46
         $namespace      = implode('\\', $namespaceParts);
47 47
 
48
-        eval('namespace ' . $namespace . ' { class ' . $className . ' {} }');
48
+        eval('namespace '.$namespace.' { class '.$className.' {} }');
49 49
 
50 50
         self::assertSame($expectedClassName, StaticClassNameConverter::getClass(new $givenClassName()));
51 51
     }
Please login to merge, or discard this patch.
tests/Doctrine/Tests/Models/Cache/Attraction.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -87,7 +87,7 @@
 block discarded – undo
87 87
 
88 88
     public function addInfo(AttractionInfo $info)
89 89
     {
90
-        if (! $this->infos->contains($info)) {
90
+        if ( ! $this->infos->contains($info)) {
91 91
             $this->infos->add($info);
92 92
         }
93 93
     }
Please login to merge, or discard this patch.
tests/Doctrine/Tests/Models/Cache/Traveler.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -88,7 +88,7 @@
 block discarded – undo
88 88
 
89 89
     public function addTravel(Travel $item)
90 90
     {
91
-        if (! $this->travels->contains($item)) {
91
+        if ( ! $this->travels->contains($item)) {
92 92
             $this->travels->add($item);
93 93
         }
94 94
 
Please login to merge, or discard this patch.
tests/Doctrine/Tests/Models/Company/CompanyPerson.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -84,7 +84,7 @@
 block discarded – undo
84 84
 
85 85
     public function addFriend(CompanyPerson $friend)
86 86
     {
87
-        if (! $this->friends->contains($friend)) {
87
+        if ( ! $this->friends->contains($friend)) {
88 88
             $this->friends->add($friend);
89 89
             $friend->addFriend($this);
90 90
         }
Please login to merge, or discard this patch.
tests/Doctrine/Tests/Models/ECommerce/ECommerceCategory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -66,7 +66,7 @@
 block discarded – undo
66 66
 
67 67
     public function addProduct(ECommerceProduct $product)
68 68
     {
69
-        if (! $this->products->contains($product)) {
69
+        if ( ! $this->products->contains($product)) {
70 70
             $this->products[] = $product;
71 71
             $product->addCategory($this);
72 72
         }
Please login to merge, or discard this patch.
tests/Doctrine/Tests/Models/ECommerce/ECommerceProduct.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -131,7 +131,7 @@  discard block
 block discarded – undo
131 131
 
132 132
     public function addCategory(ECommerceCategory $category)
133 133
     {
134
-        if (! $this->categories->contains($category)) {
134
+        if ( ! $this->categories->contains($category)) {
135 135
             $this->categories[] = $category;
136 136
             $category->addProduct($this);
137 137
         }
@@ -162,7 +162,7 @@  discard block
 block discarded – undo
162 162
 
163 163
     public function addRelated(ECommerceProduct $related)
164 164
     {
165
-        if (! $this->related->contains($related)) {
165
+        if ( ! $this->related->contains($related)) {
166 166
             $this->related[] = $related;
167 167
             $related->addRelated($this);
168 168
         }
Please login to merge, or discard this patch.
tests/Doctrine/Tests/DbalFunctionalTestCase.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@
 block discarded – undo
36 36
             return;
37 37
         }
38 38
 
39
-        if (! isset(self::$sharedConn)) {
39
+        if ( ! isset(self::$sharedConn)) {
40 40
             self::$sharedConn = TestUtil::getConnection();
41 41
         }
42 42
 
Please login to merge, or discard this patch.