Code Duplication    Length = 6-6 lines in 2 locations

Sniff.php 2 locations

@@ 743-748 (lines=6) @@
740
            // it's likely to be an array which might have arguments in it. This
741
            // could cause problems in our parsing below, so lets just skip to the
742
            // end of it.
743
            if (isset($tokens[$i]['parenthesis_opener']) === true) {
744
                // Don't do this if it's the close parenthesis for the method.
745
                if ($i !== $tokens[$i]['parenthesis_closer']) {
746
                    $i = ($tokens[$i]['parenthesis_closer'] + 1);
747
                }
748
            }
749
750
            if (isset($tokens[$i]['bracket_opener']) === true) {
751
                // Don't do this if it's the close parenthesis for the method.
@@ 750-755 (lines=6) @@
747
                }
748
            }
749
750
            if (isset($tokens[$i]['bracket_opener']) === true) {
751
                // Don't do this if it's the close parenthesis for the method.
752
                if ($i !== $tokens[$i]['bracket_closer']) {
753
                    $i = ($tokens[$i]['bracket_closer'] + 1);
754
                }
755
            }
756
757
            switch ($tokens[$i]['code']) {
758
            case T_BITWISE_AND: