Passed
Push — testing ( 7e7178...300aff )
by Alex
03:03
created

TestCase   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 18
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 2

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A getPackageProviders() 0 6 1
1
<?php
2
3
namespace Huntie\JsonApi\Tests;
4
5
use Huntie\JsonApi\Tests\Support\JsonApiAssertions;
6
7
abstract class TestCase extends \Orchestra\Testbench\TestCase
8
{
9
    use JsonApiAssertions;
10
11
    /**
12
     * Get package providers.
13
     *
14
     * @param \Illuminate\Foundation\Application $app
15
     *
16
     * @return array
17
     */
18
    protected function getPackageProviders($app)
19
    {
20
        return [
21
            Huntie\JsonApi\JsonApiServiceProvider::class,
22
        ];
23
    }
24
}
25