Failed Conditions
Pull Request — 2.6 (#7235)
by Aleksey
09:09
created
lib/Doctrine/ORM/Tools/SchemaTool.php 1 patch
Spacing   +5 added lines, -5 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
                                 )
@@ -654,8 +654,8 @@  discard block
 block discarded – undo
654 654
 
655 655
             if ( ! $definingClass) {
656 656
                 throw new \Doctrine\ORM\ORMException(
657
-                    'Column name `' . $joinColumn['referencedColumnName'] . '` referenced for relation from '
658
-                    . $mapping['sourceEntity'] . ' towards ' . $mapping['targetEntity'] . ' does not exist.'
657
+                    'Column name `'.$joinColumn['referencedColumnName'].'` referenced for relation from '
658
+                    . $mapping['sourceEntity'].' towards '.$mapping['targetEntity'].' does not exist.'
659 659
                 );
660 660
             }
661 661
 
@@ -841,7 +841,7 @@  discard block
 block discarded – undo
841 841
                 if ($table->hasPrimaryKey()) {
842 842
                     $columns = $table->getPrimaryKey()->getColumns();
843 843
                     if (count($columns) == 1) {
844
-                        $checkSequence = $table->getName() . '_' . $columns[0] . '_seq';
844
+                        $checkSequence = $table->getName().'_'.$columns[0].'_seq';
845 845
                         if ($fullSchema->hasSequence($checkSequence)) {
846 846
                             $visitor->acceptSequence($fullSchema->getSequence($checkSequence));
847 847
                         }
@@ -906,7 +906,7 @@  discard block
 block discarded – undo
906 906
      * @return string[]
907 907
      */
908 908
     private function getNamespaces() {
909
-        if (! $this->platform->supportsSchemas()) {
909
+        if ( ! $this->platform->supportsSchemas()) {
910 910
             return [];
911 911
         }
912 912
 
Please login to merge, or discard this patch.