Test Failed
Pull Request — master (#88)
by Artem
04:05
created

EventServiceProvider   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 21
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 5
dl 0
loc 21
rs 10
c 1
b 0
f 0
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A boot() 0 3 1
1
<?php
2
3
namespace Slides\Saml2;
4
5
use Slides\Saml2\Events\SignedIn;
6
use Slides\Saml2\Listeners\LoginUser;
7
8
class EventServiceProvider extends \Illuminate\Foundation\Support\Providers\EventServiceProvider
0 ignored issues
show
Bug introduced by
The type Illuminate\Foundation\Su...rs\EventServiceProvider 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...
9
{
10
    /**
11
     * The event listener mappings for the application.
12
     *
13
     * @var array[]
14
     */
15
    protected $listen = [
16
        SignedIn::class => [
17
            LoginUser::class,
18
        ]
19
    ];
20
21
    /**
22
     * Register any events for your application.
23
     *
24
     * @return void
25
     */
26
    public function boot()
27
    {
28
        parent::boot();
29
    }
30
}
31