Code Duplication    Length = 3-3 lines in 2 locations

Sniff.php 2 locations

@@ 982-984 (lines=3) @@
979
        $tokens = $phpcsFile->getTokens();
980
981
        // Check for the existence of the token.
982
        if ($stackPtr === false || isset($tokens[$stackPtr]) === false) {
983
            return false;
984
        }
985
986
        if ($tokens[$stackPtr]['code'] !== T_NAMESPACE) {
987
            return false;
@@ 1091-1093 (lines=3) @@
1088
    {
1089
        $tokens = $phpcsFile->getTokens();
1090
1091
        if (isset($tokens[$stackPtr]) === false || $tokens[$stackPtr]['code'] !== T_VARIABLE) {
1092
            return false;
1093
        }
1094
1095
        if (empty($tokens[$stackPtr]['conditions']) === true) {
1096
            return false;