Code Duplication    Length = 3-3 lines in 2 locations

Sniffs/PHP/NewNowdocSniff.php 2 locations

@@ 71-73 (lines=3) @@
68
         * backfill for it, so we have to sniff for a specific combination of tokens.
69
         */
70
        if ($tokens[$stackPtr]['type'] === 'T_SL') {
71
            if (isset($tokens[($stackPtr+1)]) === false || $tokens[($stackPtr+1)]['type'] !== 'T_LESS_THAN') {
72
                return;
73
            }
74
75
            if (isset($tokens[($stackPtr+2)]) === false || $tokens[($stackPtr+2)]['type'] !== 'T_CONSTANT_ENCAPSED_STRING') {
76
                return;
@@ 75-77 (lines=3) @@
72
                return;
73
            }
74
75
            if (isset($tokens[($stackPtr+2)]) === false || $tokens[($stackPtr+2)]['type'] !== 'T_CONSTANT_ENCAPSED_STRING') {
76
                return;
77
            }
78
79
            /*
80
             * Heredoc and nowdoc naming rules: