@@ -227,7 +227,7 @@ discard block |
||
227 | 227 | $targetEntity = current( |
228 | 228 | array_filter( |
229 | 229 | $classes, |
230 | - function (ClassMetadata $class) use ($idMapping) : bool { |
|
230 | + function(ClassMetadata $class) use ($idMapping) : bool { |
|
231 | 231 | return $class->name === $idMapping['targetEntity']; |
232 | 232 | } |
233 | 233 | ) |
@@ -647,8 +647,8 @@ discard block |
||
647 | 647 | |
648 | 648 | if ( ! $definingClass) { |
649 | 649 | throw new \Doctrine\ORM\ORMException( |
650 | - 'Column name `' . $joinColumn['referencedColumnName'] . '` referenced for relation from ' |
|
651 | - . $mapping['sourceEntity'] . ' towards ' . $mapping['targetEntity'] . ' does not exist.' |
|
650 | + 'Column name `'.$joinColumn['referencedColumnName'].'` referenced for relation from ' |
|
651 | + . $mapping['sourceEntity'].' towards '.$mapping['targetEntity'].' does not exist.' |
|
652 | 652 | ); |
653 | 653 | } |
654 | 654 | |
@@ -712,7 +712,7 @@ discard block |
||
712 | 712 | |
713 | 713 | $compositeName = $theJoinTable->getName().'.'.implode('', $localColumns); |
714 | 714 | |
715 | - if (! $this->platform->supportsForeignKeyConstraints()) { |
|
715 | + if ( ! $this->platform->supportsForeignKeyConstraints()) { |
|
716 | 716 | return; |
717 | 717 | } |
718 | 718 | |
@@ -748,7 +748,7 @@ discard block |
||
748 | 748 | */ |
749 | 749 | private function gatherColumnOptions(array $mapping) : array |
750 | 750 | { |
751 | - if (! isset($mapping['options'])) { |
|
751 | + if ( ! isset($mapping['options'])) { |
|
752 | 752 | return []; |
753 | 753 | } |
754 | 754 | |
@@ -854,7 +854,7 @@ discard block |
||
854 | 854 | if ($table->hasPrimaryKey()) { |
855 | 855 | $columns = $table->getPrimaryKey()->getColumns(); |
856 | 856 | if (count($columns) == 1) { |
857 | - $checkSequence = $table->getName() . '_' . $columns[0] . '_seq'; |
|
857 | + $checkSequence = $table->getName().'_'.$columns[0].'_seq'; |
|
858 | 858 | if ($fullSchema->hasSequence($checkSequence)) { |
859 | 859 | $visitor->acceptSequence($fullSchema->getSequence($checkSequence)); |
860 | 860 | } |
@@ -918,7 +918,7 @@ discard block |
||
918 | 918 | |
919 | 919 | if (null !== $filter) { |
920 | 920 | // whitelist assets we already know about in $toSchema, use the existing filter otherwise |
921 | - $config->setSchemaAssetsFilter(static function ($asset) use ($filter, $toSchema) : bool { |
|
921 | + $config->setSchemaAssetsFilter(static function($asset) use ($filter, $toSchema) : bool { |
|
922 | 922 | $assetName = $asset instanceof AbstractAsset ? $asset->getName() : $asset; |
923 | 923 | |
924 | 924 | return $toSchema->hasTable($assetName) || $toSchema->hasSequence($assetName) || $filter($asset); |