Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website] / vendor / drupal-composer / drupal-scaffold / src / InitialFileFetcher.php
diff --git a/vendor/drupal-composer/drupal-scaffold/src/InitialFileFetcher.php b/vendor/drupal-composer/drupal-scaffold/src/InitialFileFetcher.php
deleted file mode 100644 (file)
index 4b46c70..0000000
+++ /dev/null
@@ -1,23 +0,0 @@
-<?php
-
-/**
- * @file
- * Contains \DrupalComposer\DrupalScaffold\FileFetcher.
- */
-
-namespace DrupalComposer\DrupalScaffold;
-
-class InitialFileFetcher extends FileFetcher {
-
-  public function fetch($version, $destination) {
-    array_walk($this->filenames, function ($filename, $sourceFilename) use ($version, $destination) {
-      $target = "$destination/$filename";
-      if (!file_exists($target)) {
-        $url = $this->getUri($sourceFilename, $version);
-        $this->fs->ensureDirectoryExists($destination . '/' . dirname($filename));
-        $this->remoteFilesystem->copy($url, $url, $target);
-      }
-    });
-  }
-
-}