Lullabot/mpx-php

View on GitHub
command/src/MpxCommandBase.php

Summary

Maintainability
A
0 mins
Test Coverage

Method getAuthenticatedClient has 26 lines of code (exceeds 25 allowed). Consider refactoring.
Wontfix

    protected function getAuthenticatedClient(InputInterface $input, OutputInterface $output): \Lullabot\Mpx\AuthenticatedClient
    {
        $helper = $this->getHelper('question');
        if (!$username = getenv('MPX_USERNAME')) {
            $question = new Question('Enter the mpx user name, such as mpx/you@example.com: ');
Severity: Minor
Found in command/src/MpxCommandBase.php - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status