Code Duplication    Length = 6-6 lines in 2 locations

PHPCompatibility/Sniff.php 2 locations

@@ 1327-1332 (lines=6) @@
1324
            // it's likely to be an array which might have arguments in it. This
1325
            // could cause problems in our parsing below, so lets just skip to the
1326
            // end of it.
1327
            if (isset($tokens[$i]['parenthesis_opener']) === true) {
1328
                // Don't do this if it's the close parenthesis for the method.
1329
                if ($i !== $tokens[$i]['parenthesis_closer']) {
1330
                    $i = ($tokens[$i]['parenthesis_closer'] + 1);
1331
                }
1332
            }
1333
1334
            if (isset($tokens[$i]['bracket_opener']) === true) {
1335
                // Don't do this if it's the close parenthesis for the method.
@@ 1334-1339 (lines=6) @@
1331
                }
1332
            }
1333
1334
            if (isset($tokens[$i]['bracket_opener']) === true) {
1335
                // Don't do this if it's the close parenthesis for the method.
1336
                if ($i !== $tokens[$i]['bracket_closer']) {
1337
                    $i = ($tokens[$i]['bracket_closer'] + 1);
1338
                }
1339
            }
1340
1341
            switch ($tokens[$i]['type']) {
1342
                case 'T_BITWISE_AND':