예제 #1
0
 /**
  * Constructs a XLite_Sniffs_PHP_NamingConventions_ValidFunctionNameSniff.
  */
 public function __construct()
 {
     parent::__construct(array(T_CLASS, T_INTERFACE), array(T_FUNCTION), true);
 }
예제 #2
0
 /**
  * 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);
 }