Skip to content

Commit

Permalink
Add more reserved keyword
Browse files Browse the repository at this point in the history
  • Loading branch information
antalaron committed Aug 8, 2023
1 parent 79c710b commit f54a9fd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Validator.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,11 @@ public static function validateClassName(string $className, string $errorMessage
'clone', 'const', 'continue', 'declare', 'default', 'die', 'do',
'echo', 'else', 'elseif', 'empty', 'enddeclare', 'endfor',
'endforeach', 'endif', 'endswitch', 'endwhile', 'eval',
'exit', 'extends', 'final', 'finally', 'for', 'foreach', 'function',
'exit', 'extends', 'final', 'finally', 'fn', 'for', 'foreach', 'function',
'global', 'goto', 'if', 'implements', 'include',
'include_once', 'instanceof', 'insteadof', 'interface', 'isset',
'list', 'namespace', 'new', 'or', 'print', 'private',
'protected', 'public', 'require', 'require_once', 'return',
'list', 'match', 'namespace', 'new', 'or', 'print', 'private',
'protected', 'public', 'readonly', 'require', 'require_once', 'return',
'static', 'switch', 'throw', 'trait', 'try', 'unset',
'use', 'var', 'while', 'xor', 'yield',
'int', 'float', 'bool', 'string', 'true', 'false', 'null', 'void',
Expand Down

0 comments on commit f54a9fd

Please sign in to comment.