lib/private/DB/OracleMigrator.php
Method getDiff
has 68 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
protected function getDiff(Schema $targetSchema, \Doctrine\DBAL\Connection $connection) {
$schemaDiff = parent::getDiff($targetSchema, $connection);
// oracle forces us to quote the identifiers
$schemaDiff->newTables = \array_map(function (Table $table) {
Avoid too many return
statements within this method. Open
Open
return $this->quoteForeignKeyConstraint($fkc);
Avoid too many return
statements within this method. Open
Open
return $schemaDiff;
Avoid too many return
statements within this method. Open
Open
return $this->quoteForeignKeyConstraint($fkc);
Avoid too many return
statements within this method. Open
Open
return $this->quoteIndex($index);
Avoid too many return
statements within this method. Open
Open
return $this->quoteIndex($index);
Avoid too many return
statements within this method. Open
Open
return $this->quoteColumn($column);
Avoid too many return
statements within this method. Open
Open
return $this->quoteIndex($index);
Avoid too many return
statements within this method. Open
Open
return $this->quoteIndex($index);
Avoid too many return
statements within this method. Open
Open
return $this->quoteColumn($column);
Avoid too many return
statements within this method. Open
Open
return $this->quoteForeignKeyConstraint($fkc);