Issues (210)

tests/TestCase.php (2 issues)

Severity
1
<?php
2
3
namespace Pratiksh\Adminetic;
4
5
use Pratiksh\Adminetic\Providers\AdmineticServiceProvider;
6
7
class TestCase extends \Orchestra\Testbench\TestCase
8
{
9
    public function setUp(): void
10
    {
11
        parent::setUp();
12
        // additional setup
13
    }
14
15
    protected function getPackageProviders($app)
0 ignored issues
show
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

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

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