Passed
Push — main ( d1171c...271724 )
by PRATIK
03:52 queued 11s
created

TestCase   A

Complexity

Total Complexity 3

Size/Duplication

Total Lines 16
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 1
Metric Value
wmc 3
eloc 4
c 1
b 0
f 1
dl 0
loc 16
rs 10

3 Methods

Rating   Name   Duplication   Size   Complexity  
A setUp() 0 3 1
A getPackageProviders() 0 4 1
A getEnvironmentSetUp() 0 2 1
1
<?php
2
3
namespace Pratiksh\Nepalidate;
4
5
use Pratiksh\Nepalidate\Providers\NepalidateServiceProvider;
6
7
class TestCase extends \Orchestra\Testbench\TestCase
8
{
9
    public function setUp(): void
10
    {
11
        parent::setUp();
12
    }
13
14
    protected function getPackageProviders($app)
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

14
    protected function getPackageProviders(/** @scrutinizer ignore-unused */ $app)

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...
15
    {
16
        return [
17
            NepalidateServiceProvider::class,
18
        ];
19
    }
20
21
    protected function getEnvironmentSetUp($app)
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

21
    protected function getEnvironmentSetUp(/** @scrutinizer ignore-unused */ $app)

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...
22
    {
23
        // perform environment setup
24
    }
25
}
26