Provider   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 12
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
eloc 4
dl 0
loc 12
rs 10
c 0
b 0
f 0
wmc 2

2 Methods

Rating   Name   Duplication   Size   Complexity  
A boot() 0 2 1
A register() 0 5 1
1
<?php
2
namespace Peac36\Explorer;
3
4
use Peac36\Explorer\Commands\Bindings;
5
use Peac36\Explorer\Commands\Commands;
6
use Illuminate\Support\ServiceProvider;
0 ignored issues
show
Bug introduced by
The type Illuminate\Support\ServiceProvider was not found. Maybe you did not declare it correctly or list all dependencies?

The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g. excluded_paths: ["lib/*"], you can move it to the dependency path list as follows:

filter:
    dependency_paths: ["lib/*"]

For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths

Loading history...
7
8
class Provider extends ServiceProvider
9
{
10
    public function boot()
11
    {
12
13
    }
14
15
    public function register()
16
    {
17
        $this->commands([
18
            Bindings::class,
19
            Commands::class,
20
        ]);
21
    }
22
}
23