public function buildFileContentHashes()
 {
     $files = array();
     $root = $this->getConfiguration()->getProjectRoot();
     $finder = new FileFinder($root . '/src');
     $finder->excludePath('*/.*')->withSuffix('js')->withType('f')->setGenerateChecksums(true);
     foreach ($finder->find() as $path => $hash) {
         $path = Filesystem::readablePath($path, $root);
         $files[$path] = $hash;
     }
     return $files;
 }
 protected function getFinder()
 {
     $finder = new FileFinder(dirname(__FILE__) . '/data');
     $finder->excludePath('./exclude')->excludePath('subdir.txt');
     return $finder;
 }