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

vendor/squizlabs/php_codesniffer/CodeSniffer/File.php 2 locations

@@ 811-829 (lines=19) @@
808
     *
809
     * @return boolean
810
     */
811
    public function addError(
812
        $error,
813
        $stackPtr,
814
        $code='',
815
        $data=array(),
816
        $severity=0,
817
        $fixable=false
818
    ) {
819
        if ($stackPtr === null) {
820
            $line   = 1;
821
            $column = 1;
822
        } else {
823
            $line   = $this->_tokens[$stackPtr]['line'];
824
            $column = $this->_tokens[$stackPtr]['column'];
825
        }
826
827
        return $this->_addError($error, $line, $column, $code, $data, $severity, $fixable);
828
829
    }//end addError()
830
831
832
    /**
@@ 845-863 (lines=19) @@
842
     *
843
     * @return boolean
844
     */
845
    public function addWarning(
846
        $warning,
847
        $stackPtr,
848
        $code='',
849
        $data=array(),
850
        $severity=0,
851
        $fixable=false
852
    ) {
853
        if ($stackPtr === null) {
854
            $line   = 1;
855
            $column = 1;
856
        } else {
857
            $line   = $this->_tokens[$stackPtr]['line'];
858
            $column = $this->_tokens[$stackPtr]['column'];
859
        }
860
861
        return $this->_addWarning($warning, $line, $column, $code, $data, $severity, $fixable);
862
863
    }//end addWarning()
864
865
866
    /**