CLI-1136: [push:artifact] include empty directories and symlinks #1899
Annotations
2 warnings
src/Command/Push/PushArtifactCommand.php#L195
Escaped Mutant for Mutator "MethodCallRemoval":
--- Original
+++ New
@@ @@
// @see https://git.drupalcode.org/project/drupal/-/blob/9.1.x/sites/default/default.settings.php#L295
$outputCallback('out', "Mirroring source files from {$this->dir} to {$artifactDir}");
$originFinder = $this->localMachineHelper->getFinder();
- $originFinder->in($this->dir)->ignoreDotFiles(FALSE)->ignoreVCSIgnored(TRUE);
+
$targetFinder = $this->localMachineHelper->getFinder();
$targetFinder->in($artifactDir)->ignoreDotFiles(FALSE);
$this->localMachineHelper->getFilesystem()->mirror($this->dir, $artifactDir, $originFinder, ['override' => TRUE, 'delete' => TRUE], $targetFinder);
|
src/Command/Push/PushArtifactCommand.php#L201
Escaped Mutant for Mutator "MethodCallRemoval":
--- Original
+++ New
@@ @@
$originFinder = $this->localMachineHelper->getFinder();
$originFinder->in($this->dir)->ignoreDotFiles(FALSE)->ignoreVCSIgnored(TRUE);
$targetFinder = $this->localMachineHelper->getFinder();
- $targetFinder->in($artifactDir)->ignoreDotFiles(FALSE);
+
$this->localMachineHelper->getFilesystem()->mirror($this->dir, $artifactDir, $originFinder, ['override' => TRUE, 'delete' => TRUE], $targetFinder);
$this->localMachineHelper->checkRequiredBinariesExist(['composer']);
$outputCallback('out', 'Installing Composer production dependencies');
|
The logs for this run have expired and are no longer available.
Loading