GetDKAN/dkan

View on GitHub
modules/metastore/src/Entity/ResourceMapping.php

Summary

Maintainability
A
0 mins
Test Coverage
A
100%

Method baseFieldDefinitions has 26 lines of code (exceeds 25 allowed). Consider refactoring.
Wontfix

  public static function baseFieldDefinitions(EntityTypeInterface $entity_type) {
    // Parent will add a base field of 'id', which is a unique id per DB row.
    $base_fields = parent::baseFieldDefinitions($entity_type);
    // Identifier for this resource. This is a hash of the source URL. This is
    // not unique per row.
Severity: Minor
Found in modules/metastore/src/Entity/ResourceMapping.php - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status