@@ 990-992 (lines=3) @@ | ||
987 | $tokens = $phpcsFile->getTokens(); |
|
988 | ||
989 | // Check for the existence of the token. |
|
990 | if ($stackPtr === false || isset($tokens[$stackPtr]) === false) { |
|
991 | return false; |
|
992 | } |
|
993 | ||
994 | if ($tokens[$stackPtr]['code'] !== T_NAMESPACE) { |
|
995 | return false; |
|
@@ 1099-1101 (lines=3) @@ | ||
1096 | { |
|
1097 | $tokens = $phpcsFile->getTokens(); |
|
1098 | ||
1099 | if (isset($tokens[$stackPtr]) === false || $tokens[$stackPtr]['code'] !== T_VARIABLE) { |
|
1100 | return false; |
|
1101 | } |
|
1102 | ||
1103 | if (empty($tokens[$stackPtr]['conditions']) === true) { |
|
1104 | return false; |