Failed Conditions
Push — master ( b210c1...4c8949 )
by Marco
12:15
created
lib/Doctrine/ORM/Tools/SchemaTool.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -223,7 +223,7 @@  discard block
 block discarded – undo
223 223
                             $targetEntity = current(
224 224
                                 array_filter(
225 225
                                     $classes,
226
-                                    function (ClassMetadata $class) use ($idMapping) : bool {
226
+                                    function(ClassMetadata $class) use ($idMapping) : bool {
227 227
                                         return $class->name === $idMapping['targetEntity'];
228 228
                                     }
229 229
                                 )
@@ -655,8 +655,8 @@  discard block
 block discarded – undo
655 655
 
656 656
             if ( ! $definingClass) {
657 657
                 throw new \Doctrine\ORM\ORMException(
658
-                    'Column name `' . $joinColumn['referencedColumnName'] . '` referenced for relation from '
659
-                    . $mapping['sourceEntity'] . ' towards ' . $mapping['targetEntity'] . ' does not exist.'
658
+                    'Column name `'.$joinColumn['referencedColumnName'].'` referenced for relation from '
659
+                    . $mapping['sourceEntity'].' towards '.$mapping['targetEntity'].' does not exist.'
660 660
                 );
661 661
             }
662 662
 
@@ -842,7 +842,7 @@  discard block
 block discarded – undo
842 842
                 if ($table->hasPrimaryKey()) {
843 843
                     $columns = $table->getPrimaryKey()->getColumns();
844 844
                     if (count($columns) == 1) {
845
-                        $checkSequence = $table->getName() . '_' . $columns[0] . '_seq';
845
+                        $checkSequence = $table->getName().'_'.$columns[0].'_seq';
846 846
                         if ($fullSchema->hasSequence($checkSequence)) {
847 847
                             $visitor->acceptSequence($fullSchema->getSequence($checkSequence));
848 848
                         }
Please login to merge, or discard this patch.