PHPCSUtils

Utils

Interfaces, Classes, Traits and Enums

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, class instantiations, 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.
Context
Utility functions for examining in which context a certain token is used.
MessageHelper
Helper functions for creating PHPCS error/warning messages.

Search results