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
Push — add-tests ( 008af3 )
by Pedro
13:13
created

TestsServiceProvider::register()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 12
Code Lines 6

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 1 Features 1
Metric Value
cc 1
eloc 6
nc 1
nop 0
dl 0
loc 12
rs 10
c 1
b 1
f 1
1
<?php
2
3
namespace Backpack\CRUD\Tests\config;
4
use Backpack\CRUD\ViewNamespaces;
5
6
class TestsServiceProvider extends \Illuminate\Support\ServiceProvider
7
{
8
    public function register()
9
    {
10
        // register theme views as coreuiv2, the default ui.namespace.
11
        $this->loadViewsFrom(__DIR__.'/views', 'backpack.theme-coreuiv2');
12
13
        ViewNamespaces::addFor('buttons', 'backpack.theme-coreuiv2');
14
15
        // Register the  facade alias for basset, alert and crud
16
        $loader = \Illuminate\Foundation\AliasLoader::getInstance();
17
        $loader->alias('Basset', \Backpack\Basset\Facades\Basset::class);
18
        $loader->alias('Alert', \Prologue\Alerts\Facades\Alert::class);
19
        $loader->alias('CRUD', \Backpack\CRUD\app\Library\CrudPanel\CrudPanelFacade::class);
20
    }
21
}