Code Duplication    Length = 6-6 lines in 2 locations

Sniff.php 2 locations

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