laravel/framework

View on GitHub
src/Illuminate/Console/Scheduling/ScheduleListCommand.php

Summary

Maintainability
A
2 hrs
Test Coverage

Method listEvent has 42 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    private function listEvent($event, $terminalWidth, $expressionSpacing, $repeatExpressionSpacing, $timezone)
    {
        $expression = $this->formatCronExpression($event->expression, $expressionSpacing);

        $repeatExpression = str_pad($this->getRepeatExpression($event), $repeatExpressionSpacing);
Severity: Minor
Found in src/Illuminate/Console/Scheduling/ScheduleListCommand.php - About 1 hr to fix

    Method listEvent has 5 arguments (exceeds 4 allowed). Consider refactoring.
    Open

        private function listEvent($event, $terminalWidth, $expressionSpacing, $repeatExpressionSpacing, $timezone)
    Severity: Minor
    Found in src/Illuminate/Console/Scheduling/ScheduleListCommand.php - About 35 mins to fix

      There are no issues that match your filters.

      Category
      Status