Test Failed
Push — master ( e9e598...8a82ea )
by Andrey
06:03
created

TestCase::getPackageProviders()   A

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
10
abstract class TestCase extends TestbenchTestCase
11
{
12
13
    protected function getPackageProviders($app): array
0 ignored issues
show
Unused Code introduced by
The parameter $app is not used and could be removed. ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-unused  annotation

13
    protected function getPackageProviders(/** @scrutinizer ignore-unused */ $app): array

This check looks for parameters that have been defined for a function or method, but which are not used in the method body.

Loading history...
14
    {
15
        return [ServiceProvider::class];
16
    }
17
18
    protected function getPackageAliases($app): array
0 ignored issues
show
Unused Code introduced by
The parameter $app is not used and could be removed. ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-unused  annotation

18
    protected function getPackageAliases(/** @scrutinizer ignore-unused */ $app): array

This check looks for parameters that have been defined for a function or method, but which are not used in the method body.

Loading history...
19
    {
20
        return ['TurboSMS' => TurboSMS::class];
21
    }
22
23
    protected function resolveApplicationConfiguration($app): void
24
    {
25
        parent::resolveApplicationConfiguration($app);
26
    }
27
28
    protected function setUp(): void
29
    {
30
        parent::setUp();
31
32
        $this->withoutExceptionHandling();
33
    }
34
}
35