pixelfed/pixelfed

View on GitHub
app/Console/Commands/AdminInviteCommand.php

Summary

Maintainability
A
3 hrs
Test Coverage

Method create has 49 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    protected function create()
    {
        $this->info('Create Invite');
        $this->line('=============');
        $this->info('Set an optional invite name (only visible to admins)');
Severity: Minor
Found in app/Console/Commands/AdminInviteCommand.php - About 1 hr to fix

    Method handle has 34 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

        public function handle()
        {
            $this->info('       ____  _           ______         __  ');
            $this->info('      / __ \(_)  _____  / / __/__  ____/ /  ');
            $this->info('     / /_/ / / |/_/ _ \/ / /_/ _ \/ __  /   ');
    Severity: Minor
    Found in app/Console/Commands/AdminInviteCommand.php - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status