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

vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/Squiz/Sniffs/Commenting/FunctionCommentSniff.php 1 location

@@ 95-105 (lines=11) @@
92
                }
93
94
                $suggestedType = implode('|', $suggestedNames);
95
                if ($content !== $suggestedType) {
96
                    $error = 'Expected "%s" but found "%s" for function return type';
97
                    $data  = array(
98
                              $suggestedType,
99
                              $content,
100
                             );
101
                    $fix   = $phpcsFile->addFixableError($error, $return, 'InvalidReturn', $data);
102
                    if ($fix === true) {
103
                        $phpcsFile->fixer->replaceToken(($return + 2), $suggestedType);
104
                    }
105
                }
106
107
                // Support both a return type and a description. The return type
108
                // is anything up to the first space.

vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/Squiz/Sniffs/Commenting/VariableCommentSniff.php 1 location

@@ 120-131 (lines=12) @@
117
118
        $varType       = $tokens[($foundVar + 2)]['content'];
119
        $suggestedType = PHP_CodeSniffer::suggestType($varType);
120
        if ($varType !== $suggestedType) {
121
            $error = 'Expected "%s" but found "%s" for @var tag in member variable comment';
122
            $data  = array(
123
                      $suggestedType,
124
                      $varType,
125
                     );
126
127
            $fix = $phpcsFile->addFixableError($error, ($foundVar + 2), 'IncorrectVarType', $data);
128
            if ($fix === true) {
129
                $phpcsFile->fixer->replaceToken(($foundVar + 2), $suggestedType);
130
            }
131
        }
132
133
    }//end processMemberVar()
134

vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/Squiz/Sniffs/CSS/ColourDefinitionSniff.php 1 location

@@ 66-77 (lines=12) @@
63
        $colour = $tokens[$stackPtr]['content'];
64
65
        $expected = strtoupper($colour);
66
        if ($colour !== $expected) {
67
            $error = 'CSS colours must be defined in uppercase; expected %s but found %s';
68
            $data  = array(
69
                      $expected,
70
                      $colour,
71
                     );
72
73
            $fix = $phpcsFile->addFixableError($error, $stackPtr, 'NotUpper', $data);
74
            if ($fix === true) {
75
                $phpcsFile->fixer->replaceToken($stackPtr, $expected);
76
            }
77
        }
78
79
        // Now check if shorthand can be used.
80
        if (strlen($colour) !== 7) {

vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/Squiz/Sniffs/PHP/EmbeddedPhpSniff.php 1 location

@@ 225-235 (lines=11) @@
222
223
            $expected += 4;
224
            $found     = ($tokens[$stackPtr]['column'] - 1);
225
            if ($found > $expected) {
226
                $error = 'Opening PHP tag indent incorrect; expected no more than %s spaces but found %s';
227
                $data  = array(
228
                          $expected,
229
                          $found,
230
                         );
231
                $fix   = $phpcsFile->addFixableError($error, $stackPtr, 'OpenTagIndent', $data);
232
                if ($fix === true) {
233
                    $phpcsFile->fixer->replaceToken(($stackPtr - 1), str_repeat(' ', $expected));
234
                }
235
            }
236
        }//end if
237
238
        if ($closingTag === false) {

vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/Squiz/Sniffs/WhiteSpace/CastSpacingSniff.php 1 location

@@ 63-74 (lines=12) @@
60
        $expected = str_replace(' ', '', $content);
61
        $expected = str_replace("\t", '', $expected);
62
63
        if ($content !== $expected) {
64
            $error = 'Cast statements must not contain whitespace; expected "%s" but found "%s"';
65
            $data  = array(
66
                      $expected,
67
                      $content,
68
                     );
69
70
            $fix = $phpcsFile->addFixableError($error, $stackPtr, 'ContainsWhiteSpace', $data);
71
            if ($fix === true) {
72
                $phpcsFile->fixer->replaceToken($stackPtr, $expected);
73
            }
74
        }
75
76
    }//end process()
77