andersao/l5-repository

View on GitHub
src/Prettus/Repository/Generators/Commands/RepositoryCommand.php

Summary

Maintainability
A
3 hrs
Test Coverage

Method getOptions has 44 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public function getOptions()
    {
        return [
            [
                'fillable',
Severity: Minor
Found in src/Prettus/Repository/Generators/Commands/RepositoryCommand.php - About 1 hr to fix

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

        public function fire()
        {
            $this->generators = new Collection();
    
            $migrationGenerator = new MigrationGenerator([
    Severity: Minor
    Found in src/Prettus/Repository/Generators/Commands/RepositoryCommand.php - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status