Code Duplication    Length = 6-6 lines in 2 locations

PHPCompatibility/PHPCSHelper.php 2 locations

@@ 405-410 (lines=6) @@
402
            // it's likely to be an array which might have arguments in it. This
403
            // could cause problems in our parsing below, so lets just skip to the
404
            // end of it.
405
            if (isset($tokens[$i]['parenthesis_opener']) === true) {
406
                // Don't do this if it's the close parenthesis for the method.
407
                if ($i !== $tokens[$i]['parenthesis_closer']) {
408
                    $i = ($tokens[$i]['parenthesis_closer'] + 1);
409
                }
410
            }
411
412
            if (isset($tokens[$i]['bracket_opener']) === true) {
413
                // Don't do this if it's the close parenthesis for the method.
@@ 412-417 (lines=6) @@
409
                }
410
            }
411
412
            if (isset($tokens[$i]['bracket_opener']) === true) {
413
                // Don't do this if it's the close parenthesis for the method.
414
                if ($i !== $tokens[$i]['bracket_closer']) {
415
                    $i = ($tokens[$i]['bracket_closer'] + 1);
416
                }
417
            }
418
419
            switch ($tokens[$i]['type']) {
420
                case 'T_BITWISE_AND':