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 2 locations

src/PanelTraits/Columns.php 2 locations

@@ 88-95 (lines=8) @@
85
     *
86
     * @param $target_col
87
     */
88
    public function beforeColumn($target_col) {
89
        foreach ($this->columns as $column => $value) {
90
            if ($value['name'] == $target_col) {
91
                array_splice($this->columns, $column, 0, array(array_pop($this->columns)));
92
                break;
93
            }
94
        }
95
    }
96
97
    /**
98
     * Moves the recently added column to 'after' the $target_col
@@ 102-109 (lines=8) @@
99
     *
100
     * @param $target
101
     */
102
    public function afterColumn($target_col) {
103
        foreach ($this->columns as $column => $value) {
104
            if ($value['name'] == $target_col) {
105
                array_splice($this->columns, $column + 1, 0, array(array_pop($this->columns)));
106
                break;
107
            }
108
        }
109
    }
110
111
    /**
112
     * Add the default column type to the given Column, inferring the type from the database column type.