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

@@ 1620-1626 (lines=7) @@
1617
         * @return XMLElement
1618
         *  a label widget containing the formatted field element name of this.
1619
         */
1620
        public function getExampleFormMarkup()
1621
        {
1622
            $label = Widget::Label($this->get('label'));
1623
            $label->appendChild(Widget::Input('fields[' . $this->get('element_name') . ']'));
1624
1625
            return $label;
1626
        }
1627
1628
        /**
1629
         * Commit the settings of this field from the section editor to

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

@@ 406-412 (lines=7) @@
403
            Events:
404
        -------------------------------------------------------------------------*/
405
406
        public function getExampleFormMarkup()
407
        {
408
            $label = Widget::Label($this->get('label'));
409
            $label->appendChild(Widget::Textarea('fields[' . $this->get('element_name') . ']', (int)$this->get('size'),
410
                50));
411
412
            return $label;
413
        }
414
    }
415

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

@@ 828-834 (lines=7) @@
825
            Events:
826
        -------------------------------------------------------------------------*/
827
828
        public function getExampleFormMarkup()
829
        {
830
            $label = Widget::Label($this->get('label'));
831
            $label->appendChild(Widget::Input('fields[' . $this->get('element_name') . ']', null, 'file'));
832
833
            return $label;
834
        }
835
    }
836