Lullabot/mpx-php

View on GitHub
command/src/CreateCustomFieldClassCommand.php

Summary

Maintainability
A
0 mins
Test Coverage

Method addField has 36 lines of code (exceeds 25 allowed). Consider refactoring.
Wontfix

    private function addField(InputInterface $input, DataObjectFactory $dof, Field $field): void
    {
        // The response does not contain complete field data, so we reload it.
        $field = $dof->load($field->getId())->wait();

Severity: Minor
Found in command/src/CreateCustomFieldClassCommand.php - About 1 hr to fix

    Method configure has 29 lines of code (exceeds 25 allowed). Consider refactoring.
    Wontfix

        protected function configure()
        {
            $help = <<<EOD
    This command generates a PHP class for a custom field implementation.
    
    
    Severity: Minor
    Found in command/src/CreateCustomFieldClassCommand.php - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status