phpmentoring/webapp

View on GitHub
src/Mentoring/Command/AddMissingGithubUsernamesCommand.php

Summary

Maintainability
A
1 hr
Test Coverage

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

    protected function execute(InputInterface $input, OutputInterface $output)
    {
        $output->writeln('Starting to fetch github-Usernames');
        $data = parse_ini_file(__DIR__ . '/../../../.env');
        $pdo = new \PDO(
Severity: Minor
Found in src/Mentoring/Command/AddMissingGithubUsernamesCommand.php - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status