Code Duplication    Length = 6-6 lines in 2 locations

Sniff.php 2 locations

@@ 766-771 (lines=6) @@
763
            // it's likely to be an array which might have arguments in it. This
764
            // could cause problems in our parsing below, so lets just skip to the
765
            // end of it.
766
            if (isset($tokens[$i]['parenthesis_opener']) === true) {
767
                // Don't do this if it's the close parenthesis for the method.
768
                if ($i !== $tokens[$i]['parenthesis_closer']) {
769
                    $i = ($tokens[$i]['parenthesis_closer'] + 1);
770
                }
771
            }
772
773
            if (isset($tokens[$i]['bracket_opener']) === true) {
774
                // Don't do this if it's the close parenthesis for the method.
@@ 773-778 (lines=6) @@
770
                }
771
            }
772
773
            if (isset($tokens[$i]['bracket_opener']) === true) {
774
                // Don't do this if it's the close parenthesis for the method.
775
                if ($i !== $tokens[$i]['bracket_closer']) {
776
                    $i = ($tokens[$i]['bracket_closer'] + 1);
777
                }
778
            }
779
780
            switch ($tokens[$i]['code']) {
781
            case T_BITWISE_AND: