Passed
Push — master ( d11d95...32b9ad )
by Mike
01:59
created

CreatesApplication   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 8
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
dl 0
loc 8
rs 10
c 0
b 0
f 0
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A createApplication() 0 6 1
1
<?php namespace GeneaLabs\LaravelModelCaching\Tests;
2
3
use Illuminate\Contracts\Console\Kernel;
4
5
trait CreatesApplication
6
{
7
    public function createApplication()
8
    {
9
        $app = require __DIR__ . '/../vendor/laravel/laravel/bootstrap/app.php';
10
        $app->make(Kernel::class)->bootstrap();
11
12
        return $app;
13
    }
14
}
15