GetDKAN/dkan

View on GitHub
modules/json_form_widget/src/Plugin/Field/FieldWidget/JsonFormWidget.php

Summary

Maintainability
A
1 hr
Test Coverage
F
28%

Method __construct has 8 arguments (exceeds 4 allowed). Consider refactoring.
Open

    $plugin_id,
    $plugin_definition,
    FieldDefinitionInterface $field_definition,
    array $settings,
    array $third_party_settings,

    Method formElement has 5 arguments (exceeds 4 allowed). Consider refactoring.
    Open

      public function formElement(FieldItemListInterface $items, $delta, array $element, array &$form, FormStateInterface $form_state) {
    Severity: Minor
    Found in modules/json_form_widget/src/Plugin/Field/FieldWidget/JsonFormWidget.php - About 35 mins to fix

      There are no issues that match your filters.

      Category
      Status