Code Duplication    Length = 6-6 lines in 2 locations

Sniff.php 2 locations

@@ 1148-1153 (lines=6) @@
1145
            // it's likely to be an array which might have arguments in it. This
1146
            // could cause problems in our parsing below, so lets just skip to the
1147
            // end of it.
1148
            if (isset($tokens[$i]['parenthesis_opener']) === true) {
1149
                // Don't do this if it's the close parenthesis for the method.
1150
                if ($i !== $tokens[$i]['parenthesis_closer']) {
1151
                    $i = ($tokens[$i]['parenthesis_closer'] + 1);
1152
                }
1153
            }
1154
1155
            if (isset($tokens[$i]['bracket_opener']) === true) {
1156
                // Don't do this if it's the close parenthesis for the method.
@@ 1155-1160 (lines=6) @@
1152
                }
1153
            }
1154
1155
            if (isset($tokens[$i]['bracket_opener']) === true) {
1156
                // Don't do this if it's the close parenthesis for the method.
1157
                if ($i !== $tokens[$i]['bracket_closer']) {
1158
                    $i = ($tokens[$i]['bracket_closer'] + 1);
1159
                }
1160
            }
1161
1162
            switch ($tokens[$i]['code']) {
1163
            case T_BITWISE_AND: