Passed
Pull Request — master (#7885)
by Šimon
05:58
created
tests/Doctrine/Tests/ORM/Mapping/AnnotationDriverTest.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -120,7 +120,7 @@  discard block
 block discarded – undo
120 120
     protected function loadDriverForCMSModels()
121 121
     {
122 122
         $annotationDriver = $this->loadDriver();
123
-        $annotationDriver->addPaths([__DIR__ . '/../../Models/CMS/']);
123
+        $annotationDriver->addPaths([__DIR__.'/../../Models/CMS/']);
124 124
         return $annotationDriver;
125 125
     }
126 126
 
@@ -142,7 +142,7 @@  discard block
 block discarded – undo
142 142
     public function testJoinTablesWithMappedSuperclassForAnnotationDriver() : void
143 143
     {
144 144
         $annotationDriver = $this->loadDriver();
145
-        $annotationDriver->addPaths([__DIR__ . '/../../Models/DirectoryTree/']);
145
+        $annotationDriver->addPaths([__DIR__.'/../../Models/DirectoryTree/']);
146 146
 
147 147
         $em = $this->getTestEntityManager();
148 148
         $em->getConfiguration()->setMetadataDriverImpl($annotationDriver);
@@ -172,7 +172,7 @@  discard block
 block discarded – undo
172 172
 
173 173
         $this->expectException(MappingException::class);
174 174
         $this->expectExceptionMessage(
175
-            'It is illegal to put an inverse side one-to-many or many-to-many association on ' .
175
+            'It is illegal to put an inverse side one-to-many or many-to-many association on '.
176 176
             "mapped superclass 'Doctrine\Tests\ORM\Mapping\InvalidMappedSuperClass#users'"
177 177
         );
178 178
 
Please login to merge, or discard this patch.
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.