Skip to content

CLI-1396: [app:new:local] Add project template option #2608

CLI-1396: [app:new:local] Add project template option

CLI-1396: [app:new:local] Add project template option #2608

Triggered via pull request December 6, 2024 22:49
Status Failure
Total duration 53s
Artifacts

mutation.yml

on: pull_request
Mutation Testing
44s
Mutation Testing
Fit to window
Zoom out
Zoom in

Annotations

1 error and 1 warning
Mutation Testing
Process completed with exit code 1.
Mutation Testing: src/Command/App/NewCommand.php#L32
Escaped Mutant for Mutator "UnwrapArrayKeys": --- Original +++ New @@ @@ private static array $distros = ['acquia_drupal_recommended' => 'acquia/drupal-recommended-project', 'acquia_next_acms' => 'acquia/next-acms']; protected function configure() : void { - $this->addArgument('directory', InputArgument::OPTIONAL, 'The destination directory')->addOption('template', 't', InputOption::VALUE_OPTIONAL, 'The project template', null, array_keys(self::$distros))->addUsage('-t acquia_drupal_recommended'); + $this->addArgument('directory', InputArgument::OPTIONAL, 'The destination directory')->addOption('template', 't', InputOption::VALUE_OPTIONAL, 'The project template', null, self::$distros)->addUsage('-t acquia_drupal_recommended'); } /** * @throws \Acquia\Cli\Exception\AcquiaCliException