Code Duplication    Length = 6-6 lines in 2 locations

Sniff.php 2 locations

@@ 1022-1027 (lines=6) @@
1019
            // it's likely to be an array which might have arguments in it. This
1020
            // could cause problems in our parsing below, so lets just skip to the
1021
            // end of it.
1022
            if (isset($tokens[$i]['parenthesis_opener']) === true) {
1023
                // Don't do this if it's the close parenthesis for the method.
1024
                if ($i !== $tokens[$i]['parenthesis_closer']) {
1025
                    $i = ($tokens[$i]['parenthesis_closer'] + 1);
1026
                }
1027
            }
1028
1029
            if (isset($tokens[$i]['bracket_opener']) === true) {
1030
                // Don't do this if it's the close parenthesis for the method.
@@ 1029-1034 (lines=6) @@
1026
                }
1027
            }
1028
1029
            if (isset($tokens[$i]['bracket_opener']) === true) {
1030
                // Don't do this if it's the close parenthesis for the method.
1031
                if ($i !== $tokens[$i]['bracket_closer']) {
1032
                    $i = ($tokens[$i]['bracket_closer'] + 1);
1033
                }
1034
            }
1035
1036
            switch ($tokens[$i]['code']) {
1037
            case T_BITWISE_AND: