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   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 23
Duplicated Lines 0 %

Coupling/Cohesion

Components 1
Dependencies 2

Importance

Changes 2
Bugs 0 Features 0
Metric Value
c 2
b 0
f 0
dl 0
loc 23
rs 10
wmc 1
lcom 1
cbo 2

1 Method

Rating   Name   Duplication   Size   Complexity  
A setUp() 0 8 1
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