Scrutinizer GitHub App not installed

We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.

Install GitHub App

Test Setup Failed
Pull Request — development (#68)
by José
06:06
created

MakeProviderCommand::getStub()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 0
1
<?php
2
3
namespace GiveBlood\Console\Commands;
4
5
use Illuminate\Foundation\Console\ProviderMakeCommand;
6
7
class MakeProviderCommand extends ProviderMakeCommand
8
{
9
10
    /**
11
     * The console command description.
12
     *
13
     * @var string
14
     */
15
    protected $description = 'Create a new custom service provider class';
16
17
    /**
18
     * The type of class being generated.
19
     *
20
     * @var string
21
     */
22
    protected $type = 'Provider';
23
24
    /**
25
     * Get the stub file for the generator.
26
     *
27
     * @return string
28
     */
29
    protected function getStub()
30
    {
31
        return __DIR__.'/stubs/provider.stub';
32
    }
33
34
    /**
35
     * Get the default namespace for the class.
36
     *
37
     * @param  string  $rootNamespace
38
     * @return string
39
     */
40
    protected function getDefaultNamespace($rootNamespace)
41
    {
42
        return $rootNamespace.'\Modules';
43
    }
44
}
45