Beispiel #1
0
 /**
  * Processes a set of files.
  *
  * @param array $files
  * @param bool  $countTests
  *
  * @return array
  *
  * @since  Method available since Release 1.2.0
  */
 public function countFiles(array $files, $countTests)
 {
     foreach ($files as $file) {
         $this->countFile($file, $countTests);
     }
     return $this->collector->getPublisher()->toArray();
 }