Issues (48)

tests/TestCase.php (1 issue)

1
<?php
2
/**
3
 * Created by PhpStorm.
4
 * User: evert
5
 * Date: 27/09/2017
6
 * Time: 22:05
7
 */
8
9
namespace PragmaBroadvertising\SolarEdge\Tests;
10
11
use Orchestra\Testbench\TestCase as BaseTestCase;
12
use PragmaBroadvertising\SolarEdge\SolarEdgeServiceProvider;
13
14
class TestCase extends BaseTestCase
15
{
16
    function setUp() {
0 ignored issues
show
It is generally recommended to explicitly declare the visibility for methods.

Adding explicit visibility (private, protected, or public) is generally recommend to communicate to other developers how, and from where this method is intended to be used.

Loading history...
17
        parent::setUp();
18
    }
19
20
    /**
21
     * @param \Illuminate\Foundation\Application $app
22
     *
23
     * @return array
24
     */
25
    protected function getPackageProviders($app)
26
    {
27
        return [
28
            SolarEdgeServiceProvider::class,
29
        ];
30
    }
31
32
    /**
33
     * @param \Illuminate\Foundation\Application $app
34
     * @return array
35
     */
36
    protected function getPackageAliases($app)
37
    {
38
        return [
39
            'SolarEdge' => 'PragmaBroadvertising\SolarEdge\Facades\SolarEdge'
40
        ];
41
    }
42
}