andersao/l5-repository

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

Summary

Maintainability
A
2 hrs
Test Coverage

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

    public function fire()
    {

        if ($this->confirm('Would you like to create a Presenter? [y|N]')) {
            $this->call('make:presenter', [
Severity: Minor
Found in src/Prettus/Repository/Generators/Commands/EntityCommand.php - About 1 hr to fix

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

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

      There are no issues that match your filters.

      Category
      Status