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-10 lines in 6 locations

vendor/fig-r/psr2r-sniffer/PSR2R/Sniffs/Namespaces/UseDeclarationSniff.php 1 location

@@ 57-63 (lines=7) @@
54
		$tokens = $phpcsFile->getTokens();
55
56
		// One space after the use keyword.
57
		if ($tokens[($stackPtr + 1)]['content'] !== ' ') {
58
			$error = 'There must be a single space after the USE keyword';
59
			$fix = $phpcsFile->addFixableError($error, $stackPtr, 'SpaceAfterUse');
60
			if ($fix === true) {
61
				$phpcsFile->fixer->replaceToken(($stackPtr + 1), ' ');
62
			}
63
		}
64
65
		// Namespaces in use statements must not have a leading separator
66
		$next = $phpcsFile->findNext(PHP_CodeSniffer_Tokens::$emptyTokens, ($stackPtr + 1), null, true);

vendor/fig-r/psr2r-sniffer/PSR2R/Sniffs/WhiteSpace/UnaryOperatorSpacingSniff.php 1 location

@@ 76-84 (lines=9) @@
73
			]
74
		);
75
76
		if ($operatorSuffixAllowed === false
77
			&& $tokens[($stackPtr + 1)]['code'] === T_WHITESPACE
78
		) {
79
			$error = 'A unary operator statement must not be followed by a space';
80
			$fix = $phpcsFile->addFixableError($error, $stackPtr, 'WrongSpace');
81
			if ($fix) {
82
				$phpcsFile->fixer->replaceToken(($stackPtr + 1), '');
83
			}
84
		}
85
	}
86
87
	/**

vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/Generic/Sniffs/Formatting/SpaceAfterCastSniff.php 2 locations

@@ 59-68 (lines=10) @@
56
    {
57
        $tokens = $phpcsFile->getTokens();
58
59
        if ($tokens[($stackPtr + 1)]['code'] !== T_WHITESPACE) {
60
            $error = 'A cast statement must be followed by a single space';
61
            $fix   = $phpcsFile->addFixableError($error, $stackPtr, 'NoSpace');
62
            if ($fix === true) {
63
                $phpcsFile->fixer->addContent($stackPtr, ' ');
64
            }
65
66
            $phpcsFile->recordMetric($stackPtr, 'Spacing after cast statement', 0);
67
            return;
68
        }
69
70
        $phpcsFile->recordMetric($stackPtr, 'Spacing after cast statement', $tokens[($stackPtr + 1)]['length']);
71
@@ 72-78 (lines=7) @@
69
70
        $phpcsFile->recordMetric($stackPtr, 'Spacing after cast statement', $tokens[($stackPtr + 1)]['length']);
71
72
        if ($tokens[($stackPtr + 1)]['length'] !== 1) {
73
            $error = 'A cast statement must be followed by a single space';
74
            $fix   = $phpcsFile->addFixableError($error, $stackPtr, 'TooMuchSpace');
75
            if ($fix === true) {
76
                $phpcsFile->fixer->replaceToken(($stackPtr + 1), ' ');
77
            }
78
        }
79
80
    }//end process()
81

vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/Generic/Sniffs/Functions/FunctionCallArgumentSpacingSniff.php 1 location

@@ 159-165 (lines=7) @@
156
                            }
157
                        }
158
159
                        if ($tokens[($nextToken + 1)]['code'] !== T_WHITESPACE) {
160
                            $error = 'Expected 1 space after = sign of default value';
161
                            $fix   = $phpcsFile->addFixableError($error, $nextToken, 'NoSpaceAfterEquals');
162
                            if ($fix === true) {
163
                                $phpcsFile->fixer->addContent($nextToken, ' ');
164
                            }
165
                        }
166
                    }
167
                }
168
            }//end if

vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/PSR2/Sniffs/Namespaces/UseDeclarationSniff.php 1 location

@@ 62-68 (lines=7) @@
59
        $tokens = $phpcsFile->getTokens();
60
61
        // One space after the use keyword.
62
        if ($tokens[($stackPtr + 1)]['content'] !== ' ') {
63
            $error = 'There must be a single space after the USE keyword';
64
            $fix   = $phpcsFile->addFixableError($error, $stackPtr, 'SpaceAfterUse');
65
            if ($fix === true) {
66
                $phpcsFile->fixer->replaceToken(($stackPtr + 1), ' ');
67
            }
68
        }
69
70
        // Only one USE declaration allowed per statement.
71
        $next = $phpcsFile->findNext(array(T_COMMA, T_SEMICOLON, T_OPEN_USE_GROUP), ($stackPtr + 1));