VtuServiceProvider   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 18
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Test Coverage

Coverage 100%

Importance

Changes 0
Metric Value
dl 0
loc 18
ccs 7
cts 7
cp 1
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\Vtu;
4
5
use Illuminate\Filesystem\Filesystem;
6
use Illuminate\Support\ServiceProvider;
7
8
class VtuServiceProvider extends ServiceProvider
9
{
10
    /**
11
     * Bootstrap the application services.
12
     *
13
     * @param Filesystem $filesystem
14
     * @return void
15
     */
16 6
    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 6
        $publishTag = 'laravel-vtu';
19 6
        if (app() instanceof \Illuminate\Foundation\Application) {
20 6
            $this->publishes([
21 6
                __DIR__.'/config/laravel-vtu.php' => config_path('laravel-vtu.php'),
22 6
            ], $publishTag);
23
        }
24 6
    }
25
}
26