laravel/framework

View on GitHub
src/Illuminate/Http/Client/Factory.php

Summary

Maintainability
B
4 hrs
Test Coverage

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

class Factory
{
    use Macroable {
        __call as macroCall;
    }
Severity: Minor
Found in src/Illuminate/Http/Client/Factory.php - About 3 hrs to fix

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

        public function fake($callback = null)
        {
            $this->record();
    
            $this->recorded = [];
    Severity: Minor
    Found in src/Illuminate/Http/Client/Factory.php - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status