Code Duplication    Length = 6-6 lines in 2 locations

Sniff.php 2 locations

@@ 1007-1012 (lines=6) @@
1004
            // it's likely to be an array which might have arguments in it. This
1005
            // could cause problems in our parsing below, so lets just skip to the
1006
            // end of it.
1007
            if (isset($tokens[$i]['parenthesis_opener']) === true) {
1008
                // Don't do this if it's the close parenthesis for the method.
1009
                if ($i !== $tokens[$i]['parenthesis_closer']) {
1010
                    $i = ($tokens[$i]['parenthesis_closer'] + 1);
1011
                }
1012
            }
1013
1014
            if (isset($tokens[$i]['bracket_opener']) === true) {
1015
                // Don't do this if it's the close parenthesis for the method.
@@ 1014-1019 (lines=6) @@
1011
                }
1012
            }
1013
1014
            if (isset($tokens[$i]['bracket_opener']) === true) {
1015
                // Don't do this if it's the close parenthesis for the method.
1016
                if ($i !== $tokens[$i]['bracket_closer']) {
1017
                    $i = ($tokens[$i]['bracket_closer'] + 1);
1018
                }
1019
            }
1020
1021
            switch ($tokens[$i]['code']) {
1022
            case T_BITWISE_AND: