libs/lexer/src/Config/OnUnknownToken.php
A file should declare new symbols (classes, functions, constants, etc.) and cause no other side effects, or it should execute logic with side effects, but should not do both. The first symbol is defined on line 43 and the first side effect is on line 12. Open
Open
<?php
- Exclude checks
PHP keywords must be lowercase; expected "throw" but found "THROW" Open
Open
case THROW;
- Exclude checks
PHP keywords must be lowercase; expected "return" but found "RETURN" Open
Open
case RETURN;
- Exclude checks
Line indented incorrectly; expected 0 spaces, found 4 Open
Open
case RETURN;
- Exclude checks
Space before opening parenthesis of function call prohibited Open
Open
return match ($this) {
- Exclude checks
Line indented incorrectly; expected at least 4 spaces, found 0 Open
Open
}
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 12 Open
Open
default => throw UnrecognizedTokenException::fromToken($source, $token)
- Exclude checks
Line indented incorrectly; expected 0 spaces, found 4 Open
Open
case THROW;
- Exclude checks
Line indented incorrectly; expected 0 spaces, found 4 Open
Open
case SKIP;
- Exclude checks