GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.

Code Duplication    Length = 7-7 lines in 3 locations

symphony/lib/toolkit/class.field.php 1 location

@@ 1555-1561 (lines=7) @@
1552
     * @return XMLElement
1553
     *  a label widget containing the formatted field element name of this.
1554
     */
1555
    public function getExampleFormMarkup()
1556
    {
1557
        $label = Widget::Label($this->get('label'));
1558
        $label->appendChild(Widget::Input('fields['.$this->get('element_name').']'));
1559
1560
        return $label;
1561
    }
1562
1563
    /**
1564
     * Commit the settings of this field from the section editor to

symphony/lib/toolkit/fields/field.textarea.php 1 location

@@ 388-394 (lines=7) @@
385
        Events:
386
    -------------------------------------------------------------------------*/
387
388
    public function getExampleFormMarkup()
389
    {
390
        $label = Widget::Label($this->get('label'));
391
        $label->appendChild(Widget::Textarea('fields['.$this->get('element_name').']', (int)$this->get('size'), 50));
392
393
        return $label;
394
    }
395
}
396

symphony/lib/toolkit/fields/field.upload.php 1 location

@@ 804-810 (lines=7) @@
801
        Events:
802
    -------------------------------------------------------------------------*/
803
804
    public function getExampleFormMarkup()
805
    {
806
        $label = Widget::Label($this->get('label'));
807
        $label->appendChild(Widget::Input('fields['.$this->get('element_name').']', null, 'file'));
808
809
        return $label;
810
    }
811
}
812