Code Duplication    Length = 6-6 lines in 2 locations

Sniff.php 2 locations

@@ 1129-1134 (lines=6) @@
1126
            // it's likely to be an array which might have arguments in it. This
1127
            // could cause problems in our parsing below, so lets just skip to the
1128
            // end of it.
1129
            if (isset($tokens[$i]['parenthesis_opener']) === true) {
1130
                // Don't do this if it's the close parenthesis for the method.
1131
                if ($i !== $tokens[$i]['parenthesis_closer']) {
1132
                    $i = ($tokens[$i]['parenthesis_closer'] + 1);
1133
                }
1134
            }
1135
1136
            if (isset($tokens[$i]['bracket_opener']) === true) {
1137
                // Don't do this if it's the close parenthesis for the method.
@@ 1136-1141 (lines=6) @@
1133
                }
1134
            }
1135
1136
            if (isset($tokens[$i]['bracket_opener']) === true) {
1137
                // Don't do this if it's the close parenthesis for the method.
1138
                if ($i !== $tokens[$i]['bracket_closer']) {
1139
                    $i = ($tokens[$i]['bracket_closer'] + 1);
1140
                }
1141
            }
1142
1143
            switch ($tokens[$i]['code']) {
1144
            case T_BITWISE_AND: