Code Duplication    Length = 6-6 lines in 2 locations

Sniff.php 2 locations

@@ 807-812 (lines=6) @@
804
            // it's likely to be an array which might have arguments in it. This
805
            // could cause problems in our parsing below, so lets just skip to the
806
            // end of it.
807
            if (isset($tokens[$i]['parenthesis_opener']) === true) {
808
                // Don't do this if it's the close parenthesis for the method.
809
                if ($i !== $tokens[$i]['parenthesis_closer']) {
810
                    $i = ($tokens[$i]['parenthesis_closer'] + 1);
811
                }
812
            }
813
814
            if (isset($tokens[$i]['bracket_opener']) === true) {
815
                // Don't do this if it's the close parenthesis for the method.
@@ 814-819 (lines=6) @@
811
                }
812
            }
813
814
            if (isset($tokens[$i]['bracket_opener']) === true) {
815
                // Don't do this if it's the close parenthesis for the method.
816
                if ($i !== $tokens[$i]['bracket_closer']) {
817
                    $i = ($tokens[$i]['bracket_closer'] + 1);
818
                }
819
            }
820
821
            switch ($tokens[$i]['code']) {
822
            case T_BITWISE_AND: