canax/htmlform

View on GitHub
src/HTMLForm/FormModelElementsAll.php

Summary

Maintainability
C
7 hrs
Test Coverage

Method __construct has 161 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public function __construct(DIInterface $di)
    {
        parent::__construct($di);
        $this->form->create(
            [
Severity: Major
Found in src/HTMLForm/FormModelElementsAll.php - About 6 hrs to fix

    Method callbackSubmit has 26 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

        public function callbackSubmit()
        {
            // These return a single value
            // Type checkbox returns true if checked
            $elements = [
    Severity: Minor
    Found in src/HTMLForm/FormModelElementsAll.php - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status