Track environment provider in telemetry. #2343
Annotations
1 error and 1 warning
Run Infection for added files only
Process completed with exit code 1.
|
Run Infection for added files only:
src/Helpers/TelemetryHelper.php#L209
Escaped Mutant for Mutator "ArrayItemRemoval":
--- Original
+++ New
@@ @@
public static function getProviders() : array
{
// Define the environment variables associated with each provider.
- return ['bamboo' => ['BAMBOO_BUILDNUMBER'], 'bitbucket' => ['BITBUCKET_BRANCH'], 'circleci' => ['CIRCLECI'], 'codebuild' => ['CODEBUILD_BUILD_ID'], 'drone' => ['DRONE'], 'github' => ['GITHUB_ACTIONS'], 'gitlab' => ['GITLAB_CI'], 'heroku' => ['HEROKU_TEST_RUN_ID'], 'jenkins' => ['JENKINS_URL'], 'octopus' => ['OCTOPUS_DEPLOYMENT_ID'], 'teamcity' => ['TEAMCITY_VERSION'], 'travis' => ['TRAVIS']];
+ return ['bitbucket' => ['BITBUCKET_BRANCH'], 'circleci' => ['CIRCLECI'], 'codebuild' => ['CODEBUILD_BUILD_ID'], 'drone' => ['DRONE'], 'github' => ['GITHUB_ACTIONS'], 'gitlab' => ['GITLAB_CI'], 'heroku' => ['HEROKU_TEST_RUN_ID'], 'jenkins' => ['JENKINS_URL'], 'octopus' => ['OCTOPUS_DEPLOYMENT_ID'], 'teamcity' => ['TEAMCITY_VERSION'], 'travis' => ['TRAVIS']];
}
}
|
Loading