TestCase   A
last analyzed

Complexity

Total Complexity 3

Size/Duplication

Total Lines 19
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

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

3 Methods

Rating   Name   Duplication   Size   Complexity  
A getPackageProviders() 0 4 1
A getPackageAliases() 0 6 1
A getEnvironmentSetUp() 0 4 1
1
<?php
2
3
namespace Gahlawat\Slack\Tests;
4
5
use Gahlawat\Slack\Facade\Slack;
6
use Gahlawat\Slack\SlackServiceProvider;
7
8
class TestCase extends \Orchestra\Testbench\TestCase
9
{
10
    protected function getPackageProviders($app)
11
    {
12
        return [SlackServiceProvider::class];
13
    }
14
15
    protected function getPackageAliases($app)
16
    {
17
        return [
18
            'Slack' => Slack::class,
19
        ];
20
    }
21
22
    protected function getEnvironmentSetUp($app)
23
    {
24
        $app['config']['slack'] = require __DIR__ . '/../config/slack.php';
25
    }
26
}
27