Code Duplication    Length = 6-6 lines in 2 locations

Sniff.php 2 locations

@@ 672-677 (lines=6) @@
669
            // it's likely to be an array which might have arguments in it. This
670
            // could cause problems in our parsing below, so lets just skip to the
671
            // end of it.
672
            if (isset($tokens[$i]['parenthesis_opener']) === true) {
673
                // Don't do this if it's the close parenthesis for the method.
674
                if ($i !== $tokens[$i]['parenthesis_closer']) {
675
                    $i = ($tokens[$i]['parenthesis_closer'] + 1);
676
                }
677
            }
678
679
            if (isset($tokens[$i]['bracket_opener']) === true) {
680
                // Don't do this if it's the close parenthesis for the method.
@@ 679-684 (lines=6) @@
676
                }
677
            }
678
679
            if (isset($tokens[$i]['bracket_opener']) === true) {
680
                // Don't do this if it's the close parenthesis for the method.
681
                if ($i !== $tokens[$i]['bracket_closer']) {
682
                    $i = ($tokens[$i]['bracket_closer'] + 1);
683
                }
684
            }
685
686
            switch ($tokens[$i]['code']) {
687
            case T_BITWISE_AND: