Example #1
0
 /**
  * Anaylzes PHP files by calling Application::run().
  *
  * @return void
  */
 protected function analyzeFilesCommand()
 {
     $application = new Application(getcwd());
     $application->registerProgressPrinter($this);
     $this->loadCodingStandard($this->codingStandard);
     $this->configuration->setStandard($this->standardSettings);
     $this->configuration->setConfiguration($this->iniSettings);
     return call_user_func_array(array($application, 'run'), array($this->phpExecutable, $this->path, $this->configuration));
 }