예제 #1
0
 public function process($files, $local = false, $cacheable = false)
 {
     $this->_dbVariableTypes->registerVariableType('$f', 'Foo', $this->incFile, 0, 4);
     $this->_dbVariableTypes->registerVariableType('ThisOtherClass->*foo', 'Foo', $this->incFile, 0, 8);
     $this->_dbClasses->registerClass('ThisOtherClass', $this->incFile);
     $this->_cacheable = $cacheable;
     parent::process($files, $local);
 }
예제 #2
0
 /**
  * Set allowed file extensions
  * @see PHP_CodeSniffer::setAllowedFileExtensions
  */
 public function setAllowedFileExtensions($extensions)
 {
     // Just pass it right through to phpcs
     $this->_sniffer->setAllowedFileExtensions($extensions);
 }