/** * Returns the excluded files * * @return array */ public function getExcludedFiles() { $includes = array(); foreach ($this->files as $file) { $includes[] = $file->getName(); } $this->directoryScanner->setIncludes($includes); $this->directoryScanner->scan(); $files = $this->directoryScanner->getIncludedFiles(); $dir = $this->directoryScanner->getBasedir(); $fileList = array(); foreach ($files as $file) { $fileList[] = $dir . DIRECTORY_SEPARATOR . $file; } return $fileList; }