Completed
Push — master ( cb7970...970861 )
by Colin
12:52 queued 03:09
created

TestCase   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 23
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 0
Metric Value
wmc 2
lcom 0
cbo 1
dl 0
loc 23
rs 10
c 0
b 0
f 0

2 Methods

Rating   Name   Duplication   Size   Complexity  
A getPackageProviders() 0 6 1
A getPackageAliases() 0 6 1
1
<?php namespace Cviebrock\LaravelElasticsearch\Tests;
2
3
use Cviebrock\LaravelElasticsearch\Facade;
4
use Cviebrock\LaravelElasticsearch\ServiceProvider;
5
use Orchestra\Testbench\TestCase as Orchestra;
6
7
8
/**
9
 * Class TestCase
10
 *
11
 * @package Tests
12
 */
13
abstract class TestCase extends Orchestra
14
{
15
16
    /**
17
     * @inheritdoc
18
     */
19
    protected function getPackageProviders($app)
20
    {
21
        return [
22
            ServiceProvider::class,
23
        ];
24
    }
25
26
    /**
27
     * @inheritdoc
28
     */
29
    protected function getPackageAliases($app)
30
    {
31
        return [
32
            'Elasticsearch' => Facade::class,
33
        ];
34
    }
35
}
36