adamwathan/faktory

View on GitHub

Showing 2 of 2 total issues

Factory has 21 functions (exceeds 20 allowed). Consider refactoring.
Open

class Factory
{
    protected $model;
    protected $attributes;
    protected $factory_repository;
Severity: Minor
Found in src/Factory/Factory.php - About 2 hrs to fix

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

        public function __construct($related_model, $factoryLoader, $quantity, $foreign_key = null, $attributes = [])
    Severity: Minor
    Found in src/Relationship/HasMany.php - About 35 mins to fix
      Severity
      Category
      Status
      Source
      Language