laravel/framework

View on GitHub
src/Illuminate/Console/Concerns/PromptsForMissingInput.php

Summary

Maintainability
A
1 hr
Test Coverage

Method promptForMissingArguments has 26 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    protected function promptForMissingArguments(InputInterface $input, OutputInterface $output)
    {
        $prompted = collect($this->getDefinition()->getArguments())
            ->reject(fn (InputArgument $argument) => $argument->getName() === 'command')
            ->filter(fn (InputArgument $argument) => $argument->isRequired() && match (true) {
Severity: Minor
Found in src/Illuminate/Console/Concerns/PromptsForMissingInput.php - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status