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

src/Crud.php 2 locations

@@ 258-264 (lines=7) @@
255
        $fields = $this->prepareFields(empty($this->update_fields)?$this->fields:$this->update_fields);
256
        $entry = $this->getEntry($id);
257
258
        foreach ($fields as $k => $field) {
259
            // set the value
260
            if (!isset($fields[$k]['value']))
261
            {
262
                $fields[$k]['value'] = $entry->$field['name'];
263
            }
264
        }
265
266
        // always have a hidden input for the entry id
267
        $fields[] = array(
@@ 939-943 (lines=5) @@
936
    public function prepareFields($fields = false)
937
    {
938
        // if no field type is defined, assume the "text" field type
939
        foreach ($fields as $k => $field) {
940
                if (!isset($fields[$k]['type'])) {
941
                    $fields[$k]['type'] = 'text';
942
                }
943
            }
944
945
        return $fields;
946
    }