/** * Constructs a XLite_Sniffs_PHP_NamingConventions_ValidFunctionNameSniff. */ public function __construct() { parent::__construct(array(T_CLASS, T_INTERFACE), array(T_FUNCTION), true); }
/** * Constructs an AbstractVariableTest. */ public function __construct() { $listen = array(T_CLASS, T_INTERFACE); $scopes = array(T_FUNCTION, T_VARIABLE, T_DOUBLE_QUOTED_STRING); parent::__construct($listen, $scopes, true); }