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

Passed
Pull Request — fix-uploaders (#5518)
by Cristian
36:08 queued 21:19
created

TestsServiceProvider   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 12
Duplicated Lines 0 %

Importance

Changes 2
Bugs 0 Features 1
Metric Value
eloc 6
dl 0
loc 12
rs 10
c 2
b 0
f 1
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A register() 0 10 1
1
<?php
2
3
namespace Backpack\CRUD\Tests\Config;
4
5
class TestsServiceProvider extends \Illuminate\Support\ServiceProvider
6
{
7
    public function register()
8
    {
9
        // register theme views as coreuiv2, the default ui.namespace.
10
        $this->loadViewsFrom(__DIR__.'/Views', 'backpack.theme-coreuiv2');
11
12
        // Register the  facade alias for basset
13
        $loader = \Illuminate\Foundation\AliasLoader::getInstance();
14
        $loader->alias('Basset', \Backpack\Basset\Facades\Basset::class);
15
        $loader->alias('Alert', \Prologue\Alerts\Facades\Alert::class);
16
        $loader->alias('CRUD', \Backpack\CRUD\app\Library\CrudPanel\CrudPanelFacade::class);
17
    }
18
}
19