TestCase::getPackageProviders()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 1 Features 0
Metric Value
cc 1
eloc 1
c 1
b 1
f 0
nc 1
nop 1
dl 0
loc 3
rs 10
1
<?php
2
3
namespace Daaner\TurboSMS\Tests;
4
5
use Daaner\TurboSMS\Facades\TurboSMS;
6
use Daaner\TurboSMS\TurboSMSServiceProvider as ServiceProvider;
7
use Orchestra\Testbench\TestCase as TestbenchTestCase;
8
9
abstract class TestCase extends TestbenchTestCase
10
{
11
    protected function getPackageProviders(/** @scrutinizer ignore-unused */ $app): array
12
    {
13
        return [ServiceProvider::class];
14
    }
15
16
    protected function getPackageAliases(/** @scrutinizer ignore-unused */ $app): array
17
    {
18
        return ['TurboSMS' => TurboSMS::class];
19
    }
20
21
    protected function setUp(): void
22
    {
23
        parent::setUp();
24
25
        $this->withoutExceptionHandling();
26
    }
27
}
28