original_string: protected function prepareMirrorDir()
      {
          $this->printTaskInfo(sprintf('Preparing directory %s.', $this->tmpDir));
          if (empty($this->ignoreFileNames)) {
              return;
          }
          $files = new Finder();
          $files->in($this->tmpDir);
          $files->ignoreDotFiles(false);
          $files->files();
  
          // Ignore files defined by the dev.
          foreach ($this->ignoreFileNames as $fileName) {
              $files->name($fileName);
          }
          $this->fs->remove($files);
      }
code: protected function prepareMirrorDir()
      {
          $this->printTaskInfo(sprintf('Preparing directory %s.', $this->tmpDir));
          if (empty($this->ignoreFileNames)) {
              return;
          }
          $files = new Finder();
          $files->in($this->tmpDir);
          $files->ignoreDotFiles(false);
          $files->files();
  
          // Ignore files defined by the dev.
          foreach ($this->ignoreFileNames as $fileName) {
              $files->name($fileName);
          }
          $this->fs->remove($files);
      }
code_tokens: protected function prepareMirrorDir ( ) { $ this -> printTaskInfo ( sprintf ( 'Preparing directory %s.' , $ this -> tmpDir ) ) ; if ( empty ( $ this -> ignoreFileNames ) ) { return ; } $ files = new Finder ( ) ; $ files -> in ( $ this -> tmpDir ) ; $ files -> ignoreDotFiles ( false ) ; $ files -> files ( ) ; // Ignore files defined by the dev. foreach ( $ this -> ignoreFileNames as $ fileName ) { $ files -> name ( $ fileName ) ; } $ this -> fs -> remove ( $ files ) ; }
docstring: Removes files that should not be packaged from the mirrored directory.
docstring_tokens: Removes files that should not be packaged from the mirrored directory .