Skip to content

CLI-1136: [push:artifact] include empty directories and symlinks #1899

CLI-1136: [push:artifact] include empty directories and symlinks

CLI-1136: [push:artifact] include empty directories and symlinks #1899

Triggered via pull request October 23, 2023 21:48
Status Success
Total duration 2m 28s
Artifacts

mutation.yml

on: pull_request
Mutation Testing
2m 19s
Mutation Testing
Fit to window
Zoom out
Zoom in

Annotations

2 warnings
Mutation Testing: 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);
Mutation Testing: 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');