Skip to content

GL-2368: Added node specific ciPath for node project. #2170

GL-2368: Added node specific ciPath for node project.

GL-2368: Added node specific ciPath for node project. #2170

Triggered via pull request March 21, 2024 07:45
Status Success
Total duration 1m 33s
Artifacts

mutation.yml

on: pull_request
Mutation Testing
1m 25s
Mutation Testing
Fit to window
Zoom out
Zoom in

Annotations

10 warnings
Mutation Testing: src/Command/CodeStudio/CodeStudioWizardCommand.php#L120
Escaped Mutant for Mutator "ConcatOperandRemoval": --- Original +++ New @@ @@ $this->updateGitLabProject($project); $ciPath = 'gitlab-ci/Auto-DevOps.acquia.gitlab-ci.yml@acquia/node-template'; $hostPath = $this->getGitLabHost(); - $curlCommand = 'curl -s -N -k -L --request PUT --header "PRIVATE-TOKEN: ' . $projectAccessToken . '" --url ' . $hostPath . '/api/v4/projects/' . $projectId . ' --data "ci_config_path=' . $ciPath . '"'; + $curlCommand = $projectAccessToken . '" --url ' . $hostPath . '/api/v4/projects/' . $projectId . ' --data "ci_config_path=' . $ciPath . '"'; switch ($projectSelected) { case "Drupal_project": $this->setGitLabCiCdVariablesForPhpProject($project, $appUuid, $cloudKey, $cloudSecret, $projectAccessTokenName, $projectAccessToken, $phpVersion);
Mutation Testing: src/Command/CodeStudio/CodeStudioWizardCommand.php#L120
Escaped Mutant for Mutator "Concat": --- Original +++ New @@ @@ $this->updateGitLabProject($project); $ciPath = 'gitlab-ci/Auto-DevOps.acquia.gitlab-ci.yml@acquia/node-template'; $hostPath = $this->getGitLabHost(); - $curlCommand = 'curl -s -N -k -L --request PUT --header "PRIVATE-TOKEN: ' . $projectAccessToken . '" --url ' . $hostPath . '/api/v4/projects/' . $projectId . ' --data "ci_config_path=' . $ciPath . '"'; + $curlCommand = $projectAccessToken . 'curl -s -N -k -L --request PUT --header "PRIVATE-TOKEN: ' . '" --url ' . $hostPath . '/api/v4/projects/' . $projectId . ' --data "ci_config_path=' . $ciPath . '"'; switch ($projectSelected) { case "Drupal_project": $this->setGitLabCiCdVariablesForPhpProject($project, $appUuid, $cloudKey, $cloudSecret, $projectAccessTokenName, $projectAccessToken, $phpVersion);
Mutation Testing: src/Command/CodeStudio/CodeStudioWizardCommand.php#L120
Escaped Mutant for Mutator "ConcatOperandRemoval": --- Original +++ New @@ @@ $this->updateGitLabProject($project); $ciPath = 'gitlab-ci/Auto-DevOps.acquia.gitlab-ci.yml@acquia/node-template'; $hostPath = $this->getGitLabHost(); - $curlCommand = 'curl -s -N -k -L --request PUT --header "PRIVATE-TOKEN: ' . $projectAccessToken . '" --url ' . $hostPath . '/api/v4/projects/' . $projectId . ' --data "ci_config_path=' . $ciPath . '"'; + $curlCommand = 'curl -s -N -k -L --request PUT --header "PRIVATE-TOKEN: ' . '" --url ' . $hostPath . '/api/v4/projects/' . $projectId . ' --data "ci_config_path=' . $ciPath . '"'; switch ($projectSelected) { case "Drupal_project": $this->setGitLabCiCdVariablesForPhpProject($project, $appUuid, $cloudKey, $cloudSecret, $projectAccessTokenName, $projectAccessToken, $phpVersion);
Mutation Testing: src/Command/CodeStudio/CodeStudioWizardCommand.php#L120
Escaped Mutant for Mutator "Concat": --- Original +++ New @@ @@ $this->updateGitLabProject($project); $ciPath = 'gitlab-ci/Auto-DevOps.acquia.gitlab-ci.yml@acquia/node-template'; $hostPath = $this->getGitLabHost(); - $curlCommand = 'curl -s -N -k -L --request PUT --header "PRIVATE-TOKEN: ' . $projectAccessToken . '" --url ' . $hostPath . '/api/v4/projects/' . $projectId . ' --data "ci_config_path=' . $ciPath . '"'; + $curlCommand = 'curl -s -N -k -L --request PUT --header "PRIVATE-TOKEN: ' . '" --url ' . $projectAccessToken . $hostPath . '/api/v4/projects/' . $projectId . ' --data "ci_config_path=' . $ciPath . '"'; switch ($projectSelected) { case "Drupal_project": $this->setGitLabCiCdVariablesForPhpProject($project, $appUuid, $cloudKey, $cloudSecret, $projectAccessTokenName, $projectAccessToken, $phpVersion);
Mutation Testing: src/Command/CodeStudio/CodeStudioWizardCommand.php#L120
Escaped Mutant for Mutator "ConcatOperandRemoval": --- Original +++ New @@ @@ $this->updateGitLabProject($project); $ciPath = 'gitlab-ci/Auto-DevOps.acquia.gitlab-ci.yml@acquia/node-template'; $hostPath = $this->getGitLabHost(); - $curlCommand = 'curl -s -N -k -L --request PUT --header "PRIVATE-TOKEN: ' . $projectAccessToken . '" --url ' . $hostPath . '/api/v4/projects/' . $projectId . ' --data "ci_config_path=' . $ciPath . '"'; + $curlCommand = 'curl -s -N -k -L --request PUT --header "PRIVATE-TOKEN: ' . $projectAccessToken . $hostPath . '/api/v4/projects/' . $projectId . ' --data "ci_config_path=' . $ciPath . '"'; switch ($projectSelected) { case "Drupal_project": $this->setGitLabCiCdVariablesForPhpProject($project, $appUuid, $cloudKey, $cloudSecret, $projectAccessTokenName, $projectAccessToken, $phpVersion);
Mutation Testing: src/Command/CodeStudio/CodeStudioWizardCommand.php#L120
Escaped Mutant for Mutator "Concat": --- Original +++ New @@ @@ $this->updateGitLabProject($project); $ciPath = 'gitlab-ci/Auto-DevOps.acquia.gitlab-ci.yml@acquia/node-template'; $hostPath = $this->getGitLabHost(); - $curlCommand = 'curl -s -N -k -L --request PUT --header "PRIVATE-TOKEN: ' . $projectAccessToken . '" --url ' . $hostPath . '/api/v4/projects/' . $projectId . ' --data "ci_config_path=' . $ciPath . '"'; + $curlCommand = 'curl -s -N -k -L --request PUT --header "PRIVATE-TOKEN: ' . $projectAccessToken . $hostPath . '" --url ' . '/api/v4/projects/' . $projectId . ' --data "ci_config_path=' . $ciPath . '"'; switch ($projectSelected) { case "Drupal_project": $this->setGitLabCiCdVariablesForPhpProject($project, $appUuid, $cloudKey, $cloudSecret, $projectAccessTokenName, $projectAccessToken, $phpVersion);
Mutation Testing: src/Command/CodeStudio/CodeStudioWizardCommand.php#L120
Escaped Mutant for Mutator "ConcatOperandRemoval": --- Original +++ New @@ @@ $this->updateGitLabProject($project); $ciPath = 'gitlab-ci/Auto-DevOps.acquia.gitlab-ci.yml@acquia/node-template'; $hostPath = $this->getGitLabHost(); - $curlCommand = 'curl -s -N -k -L --request PUT --header "PRIVATE-TOKEN: ' . $projectAccessToken . '" --url ' . $hostPath . '/api/v4/projects/' . $projectId . ' --data "ci_config_path=' . $ciPath . '"'; + $curlCommand = 'curl -s -N -k -L --request PUT --header "PRIVATE-TOKEN: ' . $projectAccessToken . '" --url ' . '/api/v4/projects/' . $projectId . ' --data "ci_config_path=' . $ciPath . '"'; switch ($projectSelected) { case "Drupal_project": $this->setGitLabCiCdVariablesForPhpProject($project, $appUuid, $cloudKey, $cloudSecret, $projectAccessTokenName, $projectAccessToken, $phpVersion);
Mutation Testing: src/Command/CodeStudio/CodeStudioWizardCommand.php#L120
Escaped Mutant for Mutator "ConcatOperandRemoval": --- Original +++ New @@ @@ $this->updateGitLabProject($project); $ciPath = 'gitlab-ci/Auto-DevOps.acquia.gitlab-ci.yml@acquia/node-template'; $hostPath = $this->getGitLabHost(); - $curlCommand = 'curl -s -N -k -L --request PUT --header "PRIVATE-TOKEN: ' . $projectAccessToken . '" --url ' . $hostPath . '/api/v4/projects/' . $projectId . ' --data "ci_config_path=' . $ciPath . '"'; + $curlCommand = 'curl -s -N -k -L --request PUT --header "PRIVATE-TOKEN: ' . $projectAccessToken . '" --url ' . $hostPath . $projectId . ' --data "ci_config_path=' . $ciPath . '"'; switch ($projectSelected) { case "Drupal_project": $this->setGitLabCiCdVariablesForPhpProject($project, $appUuid, $cloudKey, $cloudSecret, $projectAccessTokenName, $projectAccessToken, $phpVersion);
Mutation Testing: src/Command/CodeStudio/CodeStudioWizardCommand.php#L120
Escaped Mutant for Mutator "Concat": --- Original +++ New @@ @@ $this->updateGitLabProject($project); $ciPath = 'gitlab-ci/Auto-DevOps.acquia.gitlab-ci.yml@acquia/node-template'; $hostPath = $this->getGitLabHost(); - $curlCommand = 'curl -s -N -k -L --request PUT --header "PRIVATE-TOKEN: ' . $projectAccessToken . '" --url ' . $hostPath . '/api/v4/projects/' . $projectId . ' --data "ci_config_path=' . $ciPath . '"'; + $curlCommand = 'curl -s -N -k -L --request PUT --header "PRIVATE-TOKEN: ' . $projectAccessToken . '" --url ' . '/api/v4/projects/' . $hostPath . $projectId . ' --data "ci_config_path=' . $ciPath . '"'; switch ($projectSelected) { case "Drupal_project": $this->setGitLabCiCdVariablesForPhpProject($project, $appUuid, $cloudKey, $cloudSecret, $projectAccessTokenName, $projectAccessToken, $phpVersion);
Mutation Testing: src/Command/CodeStudio/CodeStudioWizardCommand.php#L120
Escaped Mutant for Mutator "Concat": --- Original +++ New @@ @@ $this->updateGitLabProject($project); $ciPath = 'gitlab-ci/Auto-DevOps.acquia.gitlab-ci.yml@acquia/node-template'; $hostPath = $this->getGitLabHost(); - $curlCommand = 'curl -s -N -k -L --request PUT --header "PRIVATE-TOKEN: ' . $projectAccessToken . '" --url ' . $hostPath . '/api/v4/projects/' . $projectId . ' --data "ci_config_path=' . $ciPath . '"'; + $curlCommand = 'curl -s -N -k -L --request PUT --header "PRIVATE-TOKEN: ' . $projectAccessToken . '" --url ' . $hostPath . $projectId . '/api/v4/projects/' . ' --data "ci_config_path=' . $ciPath . '"'; switch ($projectSelected) { case "Drupal_project": $this->setGitLabCiCdVariablesForPhpProject($project, $appUuid, $cloudKey, $cloudSecret, $projectAccessTokenName, $projectAccessToken, $phpVersion);