Smile-SA/magento2-module-custom-entity

View on GitHub
Block/Adminhtml/Attribute/Edit/Tab/Main.php

Summary

Maintainability
A
2 hrs
Test Coverage

Method _prepareForm has 36 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    protected function _prepareForm(): self
    {
        parent::_prepareForm();

        $form     = $this->getForm();
Severity: Minor
Found in Block/Adminhtml/Attribute/Edit/Tab/Main.php - About 1 hr to fix

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

            Context $context,
            Registry $registry,
            FormFactory $formFactory,
            Data $eavData,
            YesnoFactory $yesnoFactory,
    Severity: Major
    Found in Block/Adminhtml/Attribute/Edit/Tab/Main.php - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status