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

SmsServiceProvider   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 18
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Test Coverage

Coverage 0%

Importance

Changes 0
Metric Value
dl 0
loc 18
ccs 0
cts 7
cp 0
rs 10
c 0
b 0
f 0
wmc 2
lcom 0
cbo 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A boot() 0 9 2
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