PHPCSUtils
Interfaces, Classes and Traits
- AbstractArrayDeclarationSniff
- Abstract sniff to easily examine all parts of an array declaration.
- BCFile
- PHPCS native utility functions.
- BCTokens
- Token arrays related utility methods.
- Helper
- Utility methods to retrieve (configuration) information from PHP_CodeSniffer.
- SpacesFixer
- Utility to check and, if necessary, fix the whitespace between two tokens.
- UtilityMethodTestCase
- Base class for use when testing utility methods for PHP_CodeSniffer.
- Collections
- Collections of related tokens as often used and needed for sniffs.
- Arrays
- Utility functions for use when examining arrays.
- Conditions
- Utility functions for use when examining token conditions.
- ControlStructures
- Utility functions for use when examining control structures.
- FunctionDeclarations
- Utility functions for use when examining function declaration statements.
- GetTokensAsString
- Utility functions to retrieve the content of a set of tokens as a string.
- Lists
- Utility functions to retrieve information when working with lists.
- Namespaces
- Utility functions for use when examining T_NAMESPACE tokens and to determine the
namespace of arbitrary tokens.
- NamingConventions
- Utility functions for working with identifier names.
- Numbers
- Utility functions for working with integer/float tokens.
- ObjectDeclarations
- Utility functions for use when examining object declaration statements.
- Operators
- Utility functions for use when working with operators.
- Orthography
- Utility functions for checking the orthography of arbitrary text strings.
- Parentheses
- Utility functions for use when examining parenthesis tokens and arbitrary tokens wrapped in
parentheses.
- PassedParameters
- Utility functions to retrieve information about parameters passed to function calls,
array declarations, isset and unset constructs.
- Scopes
- Utility functions for use when examining token scopes.
- TextStrings
- Utility functions for working with text string tokens.
- UseStatements
- Utility functions for examining use statements.
- Variables
- Utility functions for use when examining variables.