Tokens.php Interfaces, Classes and Traits PHP_CodeSniffer_Tokens The Tokens class contains weightings for tokens based on their probability of occurrence in a file.