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

Code Duplication    Length = 8-8 lines in 6 locations

tests/Unit/CrudPanel/CrudPanelButtonsTest.php 6 locations

@@ 38-45 (lines=8) @@
35
        }
36
    }
37
38
    public function testAddTopButtonTop()
39
    {
40
        $expectedButton = $this->topViewButton;
41
42
        $this->crudPanel->addButton($expectedButton->stack, $expectedButton->name, $expectedButton->type, $expectedButton->content);
43
44
        $this->assertEquals($expectedButton, $this->crudPanel->buttons->last());
45
    }
46
47
    public function testAddButtonLine()
48
    {
@@ 47-54 (lines=8) @@
44
        $this->assertEquals($expectedButton, $this->crudPanel->buttons->last());
45
    }
46
47
    public function testAddButtonLine()
48
    {
49
        $expectedButton = $this->lineViewButton;
50
51
        $this->crudPanel->addButton($expectedButton->stack, $expectedButton->name, $expectedButton->type, $expectedButton->content);
52
53
        $this->assertEquals($expectedButton, $this->crudPanel->buttons->first());
54
    }
55
56
    public function testAddButtonBottom()
57
    {
@@ 56-63 (lines=8) @@
53
        $this->assertEquals($expectedButton, $this->crudPanel->buttons->first());
54
    }
55
56
    public function testAddButtonBottom()
57
    {
58
        $expectedButton = $this->bottomViewButton;
59
60
        $this->crudPanel->addButton($expectedButton->stack, $expectedButton->name, $expectedButton->type, $expectedButton->content);
61
62
        $this->assertEquals($expectedButton, $this->crudPanel->buttons->last());
63
    }
64
65
    public function testAddButtonBottomUnknownStackName()
66
    {
@@ 97-104 (lines=8) @@
94
        $this->assertEquals(count($this->defaultButtonNames) + 2, count($this->crudPanel->buttons));
95
    }
96
97
    public function testAddButtonBeginning()
98
    {
99
        $expectedButton = $this->topViewButton;
100
101
        $this->crudPanel->addButton($expectedButton->stack, $expectedButton->name, $expectedButton->type, $expectedButton->content, 'beginning');
102
103
        $this->assertEquals($expectedButton, $this->crudPanel->buttons->first());
104
    }
105
106
    public function testAddButtonEnd()
107
    {
@@ 106-113 (lines=8) @@
103
        $this->assertEquals($expectedButton, $this->crudPanel->buttons->first());
104
    }
105
106
    public function testAddButtonEnd()
107
    {
108
        $expectedButton = $this->lineViewButton;
109
110
        $this->crudPanel->addButton($expectedButton->stack, $expectedButton->name, $expectedButton->type, $expectedButton->content, 'end');
111
112
        $this->assertEquals($expectedButton, $this->crudPanel->buttons->last());
113
    }
114
115
    public function testAddButtonUnknownPosition()
116
    {
@@ 127-134 (lines=8) @@
124
        $this->crudPanel->addButton($expectedButton->stack, $expectedButton->name, $expectedButton->type, $expectedButton->content, 'unknownPosition');
125
    }
126
127
    public function testAddButtonFromModelFunction()
128
    {
129
        $expectedButton = $this->topModelFunctionButton;
130
131
        $this->crudPanel->addButton($expectedButton->stack, $expectedButton->name, $expectedButton->type, $expectedButton->content);
132
133
        $this->assertEquals($expectedButton, $this->crudPanel->buttons->last());
134
    }
135
136
    public function testAddButtonFromView()
137
    {