Skip to content

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

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

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

Triggered via pull request October 18, 2023 20:25
Status Success
Total duration 1m 44s
Artifacts

mutation.yml

on: pull_request
Mutation Testing
1m 34s
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');