Test Failed
Push — develop ( 10da16...c19264 )
by Luís
63:31
created
Tests/ORM/Mapping/php/Doctrine.Tests.Models.DDC3579.DDC3579Admin.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
 use Doctrine\ORM\Mapping;
6 6
 
Please login to merge, or discard this patch.
Doctrine/Tests/ORM/Mapping/php/Doctrine.Tests.Models.DDC964.DDC964Guest.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
 use Doctrine\DBAL\Types\Type;
6 6
 use Doctrine\ORM\Mapping;
Please login to merge, or discard this patch.
Tests/ORM/Mapping/php/Doctrine.Tests.Models.Company.CompanyFixContract.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
 use Doctrine\DBAL\Types\Type;
6 6
 use Doctrine\ORM\Mapping;
Please login to merge, or discard this patch.
Doctrine/Tests/ORM/Mapping/php/Doctrine.Tests.Models.DDC964.DDC964Admin.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
 use Doctrine\ORM\Mapping;
6 6
 
Please login to merge, or discard this patch.
Doctrine/Tests/ORM/Mapping/php/Doctrine.Tests.Models.DDC964.DDC964User.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
 use Doctrine\DBAL\Types\Type;
6 6
 use Doctrine\ORM\Mapping;
@@ -64,6 +64,6 @@  discard block
 block discarded – undo
64 64
 $association->setJoinTable($joinTable);
65 65
 $association->setTargetEntity(\Doctrine\Tests\Models\DDC964\DDC964Group::class);
66 66
 $association->setInversedBy('user');
67
-$association->setCascade(['persist','merge','detach']);
67
+$association->setCascade(['persist', 'merge', 'detach']);
68 68
 
69 69
 $metadata->addProperty($association);
Please login to merge, or discard this patch.
Doctrine/Tests/ORM/Mapping/NamingStrategy/JoinColumnClassNamingStrategy.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\ORM\Mapping\NamingStrategy;
6 6
 
@@ -17,7 +17,7 @@  discard block
 block discarded – undo
17 17
     public function joinColumnName($propertyName, $className = null)
18 18
     {
19 19
         return strtolower($this->classToTableName($className))
20
-            . '_' . $propertyName
21
-            . '_' . $this->referenceColumnName();
20
+            . '_'.$propertyName
21
+            . '_'.$this->referenceColumnName();
22 22
     }
23 23
 }
Please login to merge, or discard this patch.
tests/Doctrine/Tests/ORM/Mapping/AnnotationDriverTest.php 1 patch
Spacing   +6 added lines, -6 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\ORM\Mapping;
6 6
 
@@ -122,7 +122,7 @@  discard block
 block discarded – undo
122 122
     protected function loadDriverForCMSModels()
123 123
     {
124 124
         $annotationDriver = $this->loadDriver();
125
-        $annotationDriver->addPaths([__DIR__ . '/../../Models/CMS/']);
125
+        $annotationDriver->addPaths([__DIR__.'/../../Models/CMS/']);
126 126
         return $annotationDriver;
127 127
     }
128 128
 
@@ -144,7 +144,7 @@  discard block
 block discarded – undo
144 144
     public function testJoinTablesWithMappedSuperclassForAnnotationDriver()
145 145
     {
146 146
         $annotationDriver = $this->loadDriver();
147
-        $annotationDriver->addPaths([__DIR__ . '/../../Models/DirectoryTree/']);
147
+        $annotationDriver->addPaths([__DIR__.'/../../Models/DirectoryTree/']);
148 148
 
149 149
         $em = $this->getTestEntityManager();
150 150
         $em->getConfiguration()->setMetadataDriverImpl($annotationDriver);
@@ -174,7 +174,7 @@  discard block
 block discarded – undo
174 174
 
175 175
         $this->expectException(MappingException::class);
176 176
         $this->expectExceptionMessage(
177
-            "It is illegal to put an inverse side one-to-many or many-to-many association on " .
177
+            "It is illegal to put an inverse side one-to-many or many-to-many association on ".
178 178
             "mapped superclass 'Doctrine\Tests\ORM\Mapping\InvalidMappedSuperClass#users'"
179 179
         );
180 180
 
@@ -195,8 +195,8 @@  discard block
 block discarded – undo
195 195
 
196 196
         $this->expectException(MappingException::class);
197 197
         $this->expectExceptionMessage(
198
-            "It is not supported to define inheritance information on a mapped " .
199
-            "superclass '" . MappedSuperClassInheritance::class . "'."
198
+            "It is not supported to define inheritance information on a mapped ".
199
+            "superclass '".MappedSuperClassInheritance::class."'."
200 200
         );
201 201
 
202 202
         $usingInvalidMsc = $factory->getMetadataFor(MappedSuperClassInheritance::class);
Please login to merge, or discard this patch.
tests/Doctrine/Tests/ORM/Mapping/Symfony/AbstractDriverTest.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\ORM\Mapping\Symfony;
6 6
 
@@ -54,7 +54,7 @@  discard block
 block discarded – undo
54 54
     public function testFindMappingNamespaceNotFound()
55 55
     {
56 56
         $this->expectException(MappingException::class);
57
-        $this->expectExceptionMessage("No mapping file found named 'Foo" . $this->getFileExtension() . "' for class 'MyOtherNamespace\MySubnamespace\Entity\Foo'.");
57
+        $this->expectExceptionMessage("No mapping file found named 'Foo".$this->getFileExtension()."' for class 'MyOtherNamespace\MySubnamespace\Entity\Foo'.");
58 58
 
59 59
         $driver = $this->getDriver(
60 60
             [
Please login to merge, or discard this patch.
tests/Doctrine/Tests/ORM/Mapping/Symfony/XmlDriverTest.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\ORM\Mapping\Symfony;
6 6
 
Please login to merge, or discard this patch.