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 — main (#5577)
by Pedro
28:55 queued 13:56
created

TestsServiceProvider   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 14
Duplicated Lines 0 %

Importance

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

1 Method

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