Static Code Analysis with Php Inspections (EA Extended): revert unsets
This commit is contained in:
parent
0bf3d7f84c
commit
db375a22cc
2 changed files with 0 additions and 4 deletions
|
@ -1629,7 +1629,6 @@ class ClassMetadataInfo implements ClassMetadata
|
|||
? $joinColumn['fieldName']
|
||||
: $joinColumn['name'];
|
||||
}
|
||||
unset($joinColumn);
|
||||
|
||||
if ($uniqueConstraintColumns) {
|
||||
if ( ! $this->table) {
|
||||
|
@ -1755,7 +1754,6 @@ class ClassMetadataInfo implements ClassMetadata
|
|||
$mapping['relationToSourceKeyColumns'][$joinColumn['name']] = $joinColumn['referencedColumnName'];
|
||||
$mapping['joinTableColumns'][] = $joinColumn['name'];
|
||||
}
|
||||
unset($joinColumn);
|
||||
|
||||
foreach ($mapping['joinTable']['inverseJoinColumns'] as &$inverseJoinColumn) {
|
||||
if (empty($inverseJoinColumn['name'])) {
|
||||
|
@ -1783,7 +1781,6 @@ class ClassMetadataInfo implements ClassMetadata
|
|||
$mapping['relationToTargetKeyColumns'][$inverseJoinColumn['name']] = $inverseJoinColumn['referencedColumnName'];
|
||||
$mapping['joinTableColumns'][] = $inverseJoinColumn['name'];
|
||||
}
|
||||
unset($inverseJoinColumn);
|
||||
}
|
||||
|
||||
$mapping['orphanRemoval'] = isset($mapping['orphanRemoval']) && $mapping['orphanRemoval'];
|
||||
|
|
|
@ -180,7 +180,6 @@ EOT
|
|||
);
|
||||
}
|
||||
}
|
||||
unset($dirName);
|
||||
|
||||
if ( ! file_exists($destPath)) {
|
||||
throw new \InvalidArgumentException(
|
||||
|
|
Loading…
Add table
Reference in a new issue