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 = 9-9 lines in 3 locations

tests/Unit/CrudPanel/CrudPanelFieldsTest.php 3 locations

@@ 537-545 (lines=9) @@
534
        $this->assertEquals(array_keys($this->expectedThreeTextFieldsArray), array_keys($this->crudPanel->update_fields));
535
    }
536
537
    public function testOrderFields()
538
    {
539
        $this->crudPanel->addFields($this->threeTextFieldsArray);
540
541
        $this->crudPanel->orderFields(['field2', 'field1', 'field3']);
542
543
        $this->assertEquals(['field2', 'field1', 'field3'], array_keys($this->crudPanel->create_fields));
544
        $this->assertEquals(['field2', 'field1', 'field3'], array_keys($this->crudPanel->update_fields));
545
    }
546
547
    public function testOrderFieldsCreateForm()
548
    {
@@ 567-575 (lines=9) @@
564
        $this->assertEquals(['field2', 'field1', 'field3'], array_keys($this->crudPanel->update_fields));
565
    }
566
567
    public function testOrderFieldsIncompleteList()
568
    {
569
        $this->crudPanel->addFields($this->threeTextFieldsArray);
570
571
        $this->crudPanel->orderFields(['field2', 'field3']);
572
573
        $this->assertEquals(['field2', 'field3', 'field1'], array_keys($this->crudPanel->create_fields));
574
        $this->assertEquals(['field2', 'field3', 'field1'], array_keys($this->crudPanel->update_fields));
575
    }
576
577
    public function testOrderFieldsEmptyList()
578
    {
@@ 597-605 (lines=9) @@
594
        $this->assertEquals($this->expectedThreeTextFieldsArray, $this->crudPanel->update_fields);
595
    }
596
597
    public function testOrderColumnsMixedList()
598
    {
599
        $this->crudPanel->addFields($this->threeTextFieldsArray);
600
601
        $this->crudPanel->orderFields(['field2', 'field5', 'field6']);
602
603
        $this->assertEquals(['field2', 'field1', 'field3'], array_keys($this->crudPanel->create_fields));
604
        $this->assertEquals(['field2', 'field1', 'field3'], array_keys($this->crudPanel->update_fields));
605
    }
606
607
    public function testCheckIfFieldIsFirstOfItsType()
608
    {