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);
 }
Exemple #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);
 }