Test Failed
Pull Request — master (#7)
by Zacchaeus
16:16 queued 01:09
created

SmsServiceProvider::boot()   A

Complexity

Conditions 2
Paths 2

Size

Total Lines 9

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 6

Importance

Changes 0
Metric Value
cc 2
nc 2
nop 1
dl 0
loc 9
ccs 0
cts 7
cp 0
crap 6
rs 9.9666
c 0
b 0
f 0
1
<?php
2
3
namespace Djunehor\Sms;
4
5
use Illuminate\Filesystem\Filesystem;
6
use Illuminate\Support\ServiceProvider;
7
8
class SmsServiceProvider extends ServiceProvider
9
{
10
    /**
11
     * Bootstrap the application services.
12
     *
13
     * @param Filesystem $filesystem
14
     * @return void
15
     */
16
    public function boot(Filesystem $filesystem)
0 ignored issues
show
Unused Code introduced by
The parameter $filesystem is not used and could be removed.

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

Loading history...
17
    {
18
        $publishTag = 'laravel-sms';
19
        if (app() instanceof \Illuminate\Foundation\Application) {
20
            $this->publishes([
21
                __DIR__.'/config/laravel-sms.php' => config_path('laravel-sms.php'),
22
            ], $publishTag);
23
        }
24
    }
25
}
26