/** * Constructs a Squiz_Sniffs_Scope_MethodScopeSniff. */ public function __construct() { parent::__construct(array(T_FUNCTION), array(T_DOUBLE_COLON, T_EXTENDS), true); }
/** * Constructs the test with the tokens it wishes to listen for. */ public function __construct() { parent::__construct(array(T_CLASS, T_INTERFACE), array(T_FUNCTION), true); }
/** * Constructs a Squiz_Sniffs_Commenting_FunctionCommentThrowTagSniff. */ public function __construct() { parent::__construct(array(T_FUNCTION), array(T_THROW)); }
/** * Constructs a Squiz_Sniffs_Scope_MethodScopeSniff. */ public function __construct() { parent::__construct(array(T_CLASS, T_INTERFACE, T_TRAIT), array(T_FUNCTION)); }
/** * Constructs an AbstractVariableTest. */ public function __construct() { $scopes = array(T_CLASS, T_TRAIT, T_INTERFACE); $listen = array(T_FUNCTION, T_VARIABLE, T_DOUBLE_QUOTED_STRING, T_HEREDOC); parent::__construct($scopes, $listen, true); }
/** * Constructs a Squiz_Sniffs_Classes_SelfMemberReferenceSniff. */ public function __construct() { parent::__construct(array(T_CLASS), array(T_DOUBLE_COLON)); }
/** * Constructs the test with the tokens it wishes to listen for. */ public function __construct() { parent::__construct(array(T_CLASS), array(T_FUNCTION)); }