@@ -223,7 +223,7 @@ discard block |
||
| 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 | ) |
@@ -401,7 +401,7 @@ discard block |
||
| 401 | 401 | foreach ($class->discriminatorMap as $value => $className) { |
| 402 | 402 | $values[] = $this->platform->quoteStringLiteral($value); |
| 403 | 403 | } |
| 404 | - $column->setCustomSchemaOption('check', 'CHECK (' . $discrColumn['name'] . ' IN (' . implode(',', $values) . '))'); |
|
| 404 | + $column->setCustomSchemaOption('check', 'CHECK ('.$discrColumn['name'].' IN ('.implode(',', $values).'))'); |
|
| 405 | 405 | } |
| 406 | 406 | } |
| 407 | 407 | |
@@ -662,8 +662,8 @@ discard block |
||
| 662 | 662 | |
| 663 | 663 | if ( ! $definingClass) { |
| 664 | 664 | throw new \Doctrine\ORM\ORMException( |
| 665 | - 'Column name `' . $joinColumn['referencedColumnName'] . '` referenced for relation from ' |
|
| 666 | - . $mapping['sourceEntity'] . ' towards ' . $mapping['targetEntity'] . ' does not exist.' |
|
| 665 | + 'Column name `'.$joinColumn['referencedColumnName'].'` referenced for relation from ' |
|
| 666 | + . $mapping['sourceEntity'].' towards '.$mapping['targetEntity'].' does not exist.' |
|
| 667 | 667 | ); |
| 668 | 668 | } |
| 669 | 669 | |
@@ -849,7 +849,7 @@ discard block |
||
| 849 | 849 | if ($table->hasPrimaryKey()) { |
| 850 | 850 | $columns = $table->getPrimaryKey()->getColumns(); |
| 851 | 851 | if (count($columns) == 1) { |
| 852 | - $checkSequence = $table->getName() . '_' . $columns[0] . '_seq'; |
|
| 852 | + $checkSequence = $table->getName().'_'.$columns[0].'_seq'; |
|
| 853 | 853 | if ($fullSchema->hasSequence($checkSequence)) { |
| 854 | 854 | $visitor->acceptSequence($fullSchema->getSequence($checkSequence)); |
| 855 | 855 | } |
@@ -22,7 +22,7 @@ |
||
| 22 | 22 | $this->_em->getClassMetadata(DC2842Owner::class) |
| 23 | 23 | ] |
| 24 | 24 | ); |
| 25 | - } catch(\Exception $ignore) { |
|
| 25 | + } catch (\Exception $ignore) { |
|
| 26 | 26 | |
| 27 | 27 | } |
| 28 | 28 | } |