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

vendor/fig-r/psr2r-sniffer/PSR2R/Sniffs/Methods/MethodDeclarationSniff.php 3 locations

@@ 87-99 (lines=13) @@
84
85
		$fixes = [];
86
87
		if ($visibility !== 0 && $final > $visibility) {
88
			$error = 'The final declaration must precede the visibility declaration';
89
			$fix = $phpcsFile->addFixableError($error, $final, 'FinalAfterVisibility');
90
			if ($fix === true) {
91
				$fixes[$final] = '';
92
				$fixes[($final + 1)] = '';
93
				if (isset($fixes[$visibility]) === true) {
94
					$fixes[$visibility] = 'final ' . $fixes[$visibility];
95
				} else {
96
					$fixes[$visibility] = 'final ' . $tokens[$visibility]['content'];
97
				}
98
			}
99
		}
100
101
		if ($visibility !== 0 && $abstract > $visibility) {
102
			$error = 'The abstract declaration must precede the visibility declaration';
@@ 101-113 (lines=13) @@
98
			}
99
		}
100
101
		if ($visibility !== 0 && $abstract > $visibility) {
102
			$error = 'The abstract declaration must precede the visibility declaration';
103
			$fix = $phpcsFile->addFixableError($error, $abstract, 'AbstractAfterVisibility');
104
			if ($fix === true) {
105
				$fixes[$abstract] = '';
106
				$fixes[($abstract + 1)] = '';
107
				if (isset($fixes[$visibility]) === true) {
108
					$fixes[$visibility] = 'abstract ' . $fixes[$visibility];
109
				} else {
110
					$fixes[$visibility] = 'abstract ' . $tokens[$visibility]['content'];
111
				}
112
			}
113
		}
114
115
		if ($static !== 0 && $static < $visibility) {
116
			$error = 'The static declaration must come after the visibility declaration';
@@ 115-127 (lines=13) @@
112
			}
113
		}
114
115
		if ($static !== 0 && $static < $visibility) {
116
			$error = 'The static declaration must come after the visibility declaration';
117
			$fix = $phpcsFile->addFixableError($error, $static, 'StaticBeforeVisibility');
118
			if ($fix === true) {
119
				$fixes[$static] = '';
120
				$fixes[($static + 1)] = '';
121
				if (isset($fixes[$visibility]) === true) {
122
					$fixes[$visibility] = $fixes[$visibility] . ' static';
123
				} else {
124
					$fixes[$visibility] = $tokens[$visibility]['content'] . ' static';
125
				}
126
			}
127
		}
128
129
		// Batch all the fixes together to reduce the possibility of conflicts.
130
		if (empty($fixes) === false) {

vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/PSR2/Sniffs/Methods/MethodDeclarationSniff.php 3 locations

@@ 100-112 (lines=13) @@
97
98
        $fixes = array();
99
100
        if ($visibility !== 0 && $final > $visibility) {
101
            $error = 'The final declaration must precede the visibility declaration';
102
            $fix   = $phpcsFile->addFixableError($error, $final, 'FinalAfterVisibility');
103
            if ($fix === true) {
104
                $fixes[$final]       = '';
105
                $fixes[($final + 1)] = '';
106
                if (isset($fixes[$visibility]) === true) {
107
                    $fixes[$visibility] = 'final '.$fixes[$visibility];
108
                } else {
109
                    $fixes[$visibility] = 'final '.$tokens[$visibility]['content'];
110
                }
111
            }
112
        }
113
114
        if ($visibility !== 0 && $abstract > $visibility) {
115
            $error = 'The abstract declaration must precede the visibility declaration';
@@ 114-126 (lines=13) @@
111
            }
112
        }
113
114
        if ($visibility !== 0 && $abstract > $visibility) {
115
            $error = 'The abstract declaration must precede the visibility declaration';
116
            $fix   = $phpcsFile->addFixableError($error, $abstract, 'AbstractAfterVisibility');
117
            if ($fix === true) {
118
                $fixes[$abstract]       = '';
119
                $fixes[($abstract + 1)] = '';
120
                if (isset($fixes[$visibility]) === true) {
121
                    $fixes[$visibility] = 'abstract '.$fixes[$visibility];
122
                } else {
123
                    $fixes[$visibility] = 'abstract '.$tokens[$visibility]['content'];
124
                }
125
            }
126
        }
127
128
        if ($static !== 0 && $static < $visibility) {
129
            $error = 'The static declaration must come after the visibility declaration';
@@ 128-140 (lines=13) @@
125
            }
126
        }
127
128
        if ($static !== 0 && $static < $visibility) {
129
            $error = 'The static declaration must come after the visibility declaration';
130
            $fix   = $phpcsFile->addFixableError($error, $static, 'StaticBeforeVisibility');
131
            if ($fix === true) {
132
                $fixes[$static]       = '';
133
                $fixes[($static + 1)] = '';
134
                if (isset($fixes[$visibility]) === true) {
135
                    $fixes[$visibility] = $fixes[$visibility].' static';
136
                } else {
137
                    $fixes[$visibility] = $tokens[$visibility]['content'].' static';
138
                }
139
            }
140
        }
141
142
        // Batch all the fixes together to reduce the possibility of conflicts.
143
        if (empty($fixes) === false) {