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 = 15-15 lines in 2 locations

tests/Unit/CrudPanel/CrudPanelFieldsTest.php 2 locations

@@ 357-371 (lines=15) @@
354
        $this->assertEquals(['field3', 'field1', 'field2'], $updateKeys);
355
    }
356
357
    public function testBeforeFieldForDifferentFieldsInCreateAndUpdate()
358
    {
359
        $this->crudPanel->addFields($this->threeTextFieldsArray, 'create');
360
        $this->crudPanel->addFields($this->twoTextFieldsArray, 'update');
361
362
        $this->crudPanel->beforeField('field1');
363
364
        $createKeys = array_keys($this->crudPanel->create_fields);
365
        $this->assertEquals($this->expectedThreeTextFieldsArray['field3'], $this->crudPanel->create_fields[$createKeys[0]]);
366
        $this->assertEquals(['field3', 'field1', 'field2'], $createKeys);
367
368
        $updateKeys = array_keys($this->crudPanel->update_fields);
369
        $this->assertEquals($this->expectedTwoTextFieldsArray['field2'], $this->crudPanel->update_fields[$updateKeys[0]]);
370
        $this->assertEquals(['field2', 'field1'], $updateKeys);
371
    }
372
373
    public function testBeforeUnknownField()
374
    {
@@ 445-459 (lines=15) @@
442
        $this->assertEquals(['field1', 'field3', 'field2'], $updateKeys);
443
    }
444
445
    public function testAfterFieldForDifferentFieldsInCreateAndUpdate()
446
    {
447
        $this->crudPanel->addFields($this->threeTextFieldsArray, 'create');
448
        $this->crudPanel->addFields($this->twoTextFieldsArray, 'update');
449
450
        $this->crudPanel->afterField('field1');
451
452
        $createKeys = array_keys($this->crudPanel->create_fields);
453
        $this->assertEquals($this->expectedThreeTextFieldsArray['field3'], $this->crudPanel->create_fields[$createKeys[1]]);
454
        $this->assertEquals(['field1', 'field3', 'field2'], $createKeys);
455
456
        $updateKeys = array_keys($this->crudPanel->update_fields);
457
        $this->assertEquals($this->expectedTwoTextFieldsArray['field2'], $this->crudPanel->update_fields[$updateKeys[1]]);
458
        $this->assertEquals(['field1', 'field2'], $updateKeys);
459
    }
460
461
    public function testAfterUnknownField()
462
    {