amercier/php-cli-helpers

View on GitHub
src/Cli/Helpers/DocumentedScript.php

Summary

Maintainability
A
1 hr
Test Coverage
A
100%

Method addHelpParameter has 43 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    protected function addHelpParameter()
    {
        $this->addParameter(
            new Parameter('h', 'help', Parameter::VALUE_NO_VALUE),
            'Display this help and exit.',
Severity: Minor
Found in src/Cli/Helpers/DocumentedScript.php - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status