Test Failed
Push — develop ( 10da16...c19264 )
by Luís
63:31
created
tests/Doctrine/Tests/ORM/Mapping/StaticPHPMappingDriverTest.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;
6 6
 
@@ -12,7 +12,7 @@  discard block
 block discarded – undo
12 12
 {
13 13
     protected function loadDriver()
14 14
     {
15
-        return new StaticPHPDriver(__DIR__ . DIRECTORY_SEPARATOR . 'php');
15
+        return new StaticPHPDriver(__DIR__.DIRECTORY_SEPARATOR.'php');
16 16
     }
17 17
 
18 18
     /**
Please login to merge, or discard this patch.
tests/Doctrine/Tests/ORM/Mapping/ClassMetadataTest.php 2 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1241,7 +1241,7 @@
 block discarded – undo
1241 1241
         $association->setCascade(['invalid']);
1242 1242
 
1243 1243
         $cm->addProperty($association);
1244
-     }
1244
+        }
1245 1245
 
1246 1246
     /**
1247 1247
      * @group DDC-964
Please login to merge, or discard this patch.
Spacing   +10 added lines, -10 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
 
@@ -30,7 +30,7 @@  discard block
 block discarded – undo
30 30
 use Doctrine\Tests\OrmTestCase;
31 31
 use DoctrineGlobal_Article;
32 32
 
33
-require_once __DIR__ . '/../../Models/Global/GlobalNamespaceModel.php';
33
+require_once __DIR__.'/../../Models/Global/GlobalNamespaceModel.php';
34 34
 
35 35
 class ClassMetadataTest extends OrmTestCase
36 36
 {
@@ -763,7 +763,7 @@  discard block
 block discarded – undo
763 763
     public function testEmptyFieldNameThrowsException()
764 764
     {
765 765
         $this->expectException(MappingException::class);
766
-        $this->expectExceptionMessage("The field or association mapping misses the 'fieldName' attribute in entity '" . CMS\CmsUser::class . "'.");
766
+        $this->expectExceptionMessage("The field or association mapping misses the 'fieldName' attribute in entity '".CMS\CmsUser::class."'.");
767 767
 
768 768
         $metadata = new ClassMetadata(CMS\CmsUser::class);
769 769
         $metadata->initializeReflection(new RuntimeReflectionService());
@@ -909,12 +909,12 @@  discard block
 block discarded – undo
909 909
         $mapping = $cm->getSqlResultSetMapping('find-all');
910 910
 
911 911
         self::assertEquals('__CLASS__', $mapping['entities'][0]['entityClass']);
912
-        self::assertEquals(['name'=>'id','column'=>'id'], $mapping['entities'][0]['fields'][0]);
913
-        self::assertEquals(['name'=>'name','column'=>'name'], $mapping['entities'][0]['fields'][1]);
912
+        self::assertEquals(['name'=>'id', 'column'=>'id'], $mapping['entities'][0]['fields'][0]);
913
+        self::assertEquals(['name'=>'name', 'column'=>'name'], $mapping['entities'][0]['fields'][1]);
914 914
 
915 915
         self::assertEquals(CMS\CmsEmail::class, $mapping['entities'][1]['entityClass']);
916
-        self::assertEquals(['name'=>'id','column'=>'id'], $mapping['entities'][1]['fields'][0]);
917
-        self::assertEquals(['name'=>'email','column'=>'email'], $mapping['entities'][1]['fields'][1]);
916
+        self::assertEquals(['name'=>'id', 'column'=>'id'], $mapping['entities'][1]['fields'][0]);
917
+        self::assertEquals(['name'=>'email', 'column'=>'email'], $mapping['entities'][1]['fields'][1]);
918 918
 
919 919
         self::assertEquals('scalarColumn', $mapping['columns'][0]['name']);
920 920
     }
@@ -1112,7 +1112,7 @@  discard block
 block discarded – undo
1112 1112
         $cm->addLifecycleCallback('notfound', 'postLoad');
1113 1113
 
1114 1114
         $this->expectException(MappingException::class);
1115
-        $this->expectExceptionMessage("Entity '" . CMS\CmsUser::class . "' has no method 'notfound' to be registered as lifecycle callback.");
1115
+        $this->expectExceptionMessage("Entity '".CMS\CmsUser::class."' has no method 'notfound' to be registered as lifecycle callback.");
1116 1116
 
1117 1117
         $cm->validateLifecycleCallbacks(new RuntimeReflectionService());
1118 1118
     }
@@ -1132,7 +1132,7 @@  discard block
 block discarded – undo
1132 1132
         $cm->addProperty($association);
1133 1133
 
1134 1134
         $this->expectException(MappingException::class);
1135
-        $this->expectExceptionMessage("The target-entity 'UnknownClass' cannot be found in '" . CMS\CmsUser::class . "#address'.");
1135
+        $this->expectExceptionMessage("The target-entity 'UnknownClass' cannot be found in '".CMS\CmsUser::class."#address'.");
1136 1136
 
1137 1137
         $cm->validateAssociations();
1138 1138
     }
@@ -1458,6 +1458,6 @@  discard block
 block discarded – undo
1458 1458
      */
1459 1459
     public function propertyToColumnName($propertyName, $className = null)
1460 1460
     {
1461
-        return strtolower($this->classToTableName($className)) . '_' . $propertyName;
1461
+        return strtolower($this->classToTableName($className)).'_'.$propertyName;
1462 1462
     }
1463 1463
 }
Please login to merge, or discard this patch.
tests/Doctrine/Tests/ORM/Mapping/ReflectionEmbeddedPropertyTest.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;
6 6
 
Please login to merge, or discard this patch.
tests/Doctrine/Tests/ORM/Mapping/ClassMetadataLoadEventTest.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;
6 6
 
Please login to merge, or discard this patch.
tests/Doctrine/Tests/ORM/Mapping/EntityListenerResolverTest.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;
6 6
 
@@ -21,7 +21,7 @@  discard block
 block discarded – undo
21 21
     protected function setUp()
22 22
     {
23 23
         parent::setUp();
24
-        $this->resolver  = new DefaultEntityListenerResolver();
24
+        $this->resolver = new DefaultEntityListenerResolver();
25 25
     }
26 26
 
27 27
     public function testResolve()
Please login to merge, or discard this patch.
ORM/Mapping/php/Doctrine.Tests.Models.Company.CompanyFlexUltraContract.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.
ORM/Mapping/php/Doctrine.Tests.Models.DDC2825.ExplicitSchemaAndTable.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.DDC889.DDC889Entity.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 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\ClassMetadata;
Please login to merge, or discard this patch.
Doctrine/Tests/ORM/Mapping/php/Doctrine.Tests.ORM.Mapping.DDC807Entity.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.