Code Duplication    Length = 6-6 lines in 2 locations

PHPCompatibility/PHPCSHelper.php 2 locations

@@ 310-315 (lines=6) @@
307
            // it's likely to be an array which might have arguments in it. This
308
            // could cause problems in our parsing below, so lets just skip to the
309
            // end of it.
310
            if (isset($tokens[$i]['parenthesis_opener']) === true) {
311
                // Don't do this if it's the close parenthesis for the method.
312
                if ($i !== $tokens[$i]['parenthesis_closer']) {
313
                    $i = ($tokens[$i]['parenthesis_closer'] + 1);
314
                }
315
            }
316
317
            if (isset($tokens[$i]['bracket_opener']) === true) {
318
                // Don't do this if it's the close parenthesis for the method.
@@ 317-322 (lines=6) @@
314
                }
315
            }
316
317
            if (isset($tokens[$i]['bracket_opener']) === true) {
318
                // Don't do this if it's the close parenthesis for the method.
319
                if ($i !== $tokens[$i]['bracket_closer']) {
320
                    $i = ($tokens[$i]['bracket_closer'] + 1);
321
                }
322
            }
323
324
            switch ($tokens[$i]['type']) {
325
                case 'T_BITWISE_AND':