/**
  * @param string $file
  * @return bool
  */
 private function isIgnoredInternal($file)
 {
     if (strpos($file, 'phar://') === 0) {
         return true;
     }
     $relative_path = $this->fs->relativePath($file);
     return $this->config->isIgnored($relative_path);
 }