We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f78415e commit da9ad2cCopy full SHA for da9ad2c
src/Tokenizers/PHP.php
@@ -2268,7 +2268,7 @@ protected function tokenize($string)
2268
}
2269
2270
if ($prevNonEmpty === null
2271
- && isset(Tokens::$emptyTokens[$tokenType]) === false
+ && @isset(Tokens::$emptyTokens[$tokenType]) === false
2272
) {
2273
// Found the previous non-empty token.
2274
if ($tokenType === ':' || $tokenType === ',' || $tokenType === T_ATTRIBUTE_END) {
@@ -2311,7 +2311,7 @@ protected function tokenize($string)
2311
break;
2312
2313
2314
- if (isset(Tokens::$emptyTokens[$tokenType]) === false) {
+ if (@isset(Tokens::$emptyTokens[$tokenType]) === false) {
2315
$lastSeenNonEmpty = $tokenType;
2316
2317
}//end for
0 commit comments