EaDesgin/magento2-pdf-generator2

View on GitHub
Controller/Adminhtml/Variable/Template.php

Summary

Maintainability
A
2 hrs
Test Coverage

Method execute has 38 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public function execute()
    {

        $template = $this->_initTemplate();

Severity: Minor
Found in Controller/Adminhtml/Variable/Template.php - About 1 hr to fix

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

            Context $context,
            Registry $coreRegistry,
            Config $emailConfig,
            JsonFactory $resultJsonFactory,
            JsonHelperData $jsonHelperData,
    Severity: Major
    Found in Controller/Adminhtml/Variable/Template.php - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status