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

Completed
Push — master ( 861d7d...2ad8d1 )
by Cristian
04:38
created

BaseCrudPanelTest::setUp()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 8
Code Lines 5

Duplication

Lines 0
Ratio 0 %

Importance

Changes 2
Bugs 0 Features 0
Metric Value
cc 1
eloc 5
c 2
b 0
f 0
nc 1
nop 0
dl 0
loc 8
rs 9.4285
1
<?php
2
3
namespace Backpack\CRUD\Tests\Unit\CrudPanel;
4
5
use Backpack\CRUD\CrudPanel;
6
use Backpack\CRUD\Tests\BaseTest;
7
use Backpack\CRUD\Tests\Unit\Models\TestModel;
8
9
abstract class BaseCrudPanelTest extends BaseTest
10
{
11
    /**
12
     * @var CrudPanel
13
     */
14
    protected $crudPanel;
15
16
    protected $model;
17
18
    /**
19
     * Setup the test environment.
20
     *
21
     * @return void
22
     */
23
    protected function setUp()
24
    {
25
        parent::setUp();
26
27
        $this->crudPanel = new CrudPanel();
28
        $this->crudPanel->setModel(TestModel::class);
29
        $this->model = $this->crudPanel->getModel();
30
    }
31
}
32