Scrutinizer GitHub App not installed

We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.

Install GitHub App

BroadcastServiceProvider   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 22
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Test Coverage

Coverage 0%

Importance

Changes 0
Metric Value
wmc 1
c 0
b 0
f 0
lcom 0
cbo 1
dl 0
loc 22
ccs 0
cts 4
cp 0
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A boot() 0 16 1
1
<?php
2
3
namespace DoeSangue\Providers;
4
5
use Illuminate\Support\ServiceProvider;
6
use Illuminate\Support\Facades\Broadcast;
7
8
class BroadcastServiceProvider extends ServiceProvider
9
{
10
    /**
11
     * Bootstrap any application services.
12
     */
13
    public function boot()
14
    {
15
        Broadcast::routes();
16
17
        require base_path('routes/channels.php');
18
19
        /*
20
         * Authenticate the user's personal channel...
21
         */
22
        /*
23
        Broadcast::channel(
24
            'App.User.*', function ($user, $userId) {
25
                return (int) $user->id === (int) $userId;
26
            }
27
        );*/
28
    }
29
}
30