doctrine / orm

@@ -44,9 +44,7 @@
Loading
44 44
            $lines[] = '$metadata->isMappedSuperclass = true;';
45 45
        }
46 46
47 -
        if ($metadata->inheritanceType) {
48 -
            $lines[] = '$metadata->setInheritanceType(ClassMetadataInfo::INHERITANCE_TYPE_' . $this->_getInheritanceTypeString($metadata->inheritanceType) . ');';
49 -
        }
47 +
        $lines[] = '$metadata->setInheritanceType(ClassMetadataInfo::INHERITANCE_TYPE_' . $this->_getInheritanceTypeString($metadata->inheritanceType) . ');';
50 48
51 49
        if ($metadata->customRepositoryClassName) {
52 50
            $lines[] = "\$metadata->customRepositoryClassName = '" . $metadata->customRepositoryClassName . "';";

@@ -1055,7 +1055,7 @@
Loading
1055 1055
        }
1056 1056
1057 1057
        if (isset($metadata->table['options']) && $metadata->table['options']) {
1058 -
            $table[] = 'options={' . $this->exportTableOptions((array) $metadata->table['options']) . '}';
1058 +
            $table[] = 'options={' . $this->exportTableOptions($metadata->table['options']) . '}';
1059 1059
        }
1060 1060
1061 1061
        if (isset($metadata->table['uniqueConstraints']) && $metadata->table['uniqueConstraints']) {

@@ -57,7 +57,7 @@
Loading
57 57
            $root->addAttribute('schema', $metadata->table['schema']);
58 58
        }
59 59
60 -
        if ($metadata->inheritanceType && $metadata->inheritanceType !== ClassMetadataInfo::INHERITANCE_TYPE_NONE) {
60 +
        if ($metadata->inheritanceType !== ClassMetadataInfo::INHERITANCE_TYPE_NONE) {
61 61
            $root->addAttribute('inheritance-type', $this->_getInheritanceTypeString($metadata->inheritanceType));
62 62
        }
63 63
Files Coverage
lib/Doctrine/ORM 84.74%
Project Totals (371 files) 84.74%

No yaml found.

Create your codecov.yml to customize your Codecov experience

Sunburst
The inner-most circle is the entire project, moving away from the center are folders then, finally, a single file. The size and color of each slice is representing the number of statements and the coverage, respectively.
Icicle
The top section represents the entire project. Proceeding with folders and finally individual files. The size and color of each slice is representing the number of statements and the coverage, respectively.
Grid
Each block represents a single file in the project. The size and color of each block is represented by the number of statements and the coverage, respectively.
Loading