biurad/cycle-bridge

View on GitHub
src/Commands/Database/TableCommand.php

Summary

Maintainability
A
2 hrs
Test Coverage

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

    protected function describeForeignKeys(DatabaseInterface $database, array $foreignKeys, InputInterface $input): void
    {
        $this->sprintf(
            "\n<fg=cyan>Foreign Keys of </fg=cyan><comment>%s.%s</comment>:\n",
            $database->getName(),
Severity: Minor
Found in src/Commands/Database/TableCommand.php - About 1 hr to fix

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

        protected function describeColumns(AbstractTable $schema): void
        {
            $columnsTable = $this->table->setHeaders(
                [
                    'Column:',
    Severity: Minor
    Found in src/Commands/Database/TableCommand.php - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status