laravel/framework

View on GitHub
src/Illuminate/Database/Console/Migrations/StatusCommand.php

Summary

Maintainability
A
1 hr
Test Coverage

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

    public function handle()
    {
        return $this->migrator->usingConnection($this->option('database'), function () {
            if (! $this->migrator->repositoryExists()) {
                $this->components->error('Migration table not found.');
Severity: Minor
Found in src/Illuminate/Database/Console/Migrations/StatusCommand.php - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status