SU-SWS/stanford_profile_helper

View on GitHub
modules/stanford_policy/src/Entity/SuPolicyLog.php

Summary

Maintainability
A
0 mins
Test Coverage
A
93%

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

  public static function baseFieldDefinitions(EntityTypeInterface $entity_type) {

    $fields = parent::baseFieldDefinitions($entity_type);

    $fields['status'] = BaseFieldDefinition::create('boolean')
Severity: Major
Found in modules/stanford_policy/src/Entity/SuPolicyLog.php - About 2 hrs to fix

    There are no issues that match your filters.

    Category
    Status