CLI-1292: [env:cron-copy] server can be an empty array (#449) #719
Annotations
5 warnings
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Run Infection for all files:
src/Connector/Client.php#L156
Escaped Mutant for Mutator "DecrementInteger":
--- Original
+++ New
@@ @@
public function processResponse(ResponseInterface $response) : mixed
{
$body_json = $response->getBody();
- $body = json_decode($body_json, null, 512, JSON_THROW_ON_ERROR);
+ $body = json_decode($body_json, null, 511, JSON_THROW_ON_ERROR);
if (is_null($body)) {
throw new RuntimeException('Response contained an empty body. Status ' . $response->getStatusCode() . '. Request ID ' . $response->getHeaderLine('X-Request-Id'));
}
|
Run Infection for all files:
src/Connector/Client.php#L156
Escaped Mutant for Mutator "IncrementInteger":
--- Original
+++ New
@@ @@
public function processResponse(ResponseInterface $response) : mixed
{
$body_json = $response->getBody();
- $body = json_decode($body_json, null, 512, JSON_THROW_ON_ERROR);
+ $body = json_decode($body_json, null, 513, JSON_THROW_ON_ERROR);
if (is_null($body)) {
throw new RuntimeException('Response contained an empty body. Status ' . $response->getStatusCode() . '. Request ID ' . $response->getHeaderLine('X-Request-Id'));
}
|
Run Infection for all files:
src/Connector/Connector.php#L106
Escaped Mutant for Mutator "Concat":
--- Original
+++ New
@@ @@
/** @infection-ignore-all */
$cache = new FilesystemAdapter('cache', 300, $directory);
$orgUuid = getenv('AH_ORGANIZATION_UUID');
- $cacheKey = 'cloudapi-token-' . $this->clientId . $orgUuid;
+ $cacheKey = 'cloudapi-token-' . $orgUuid . $this->clientId;
$accessToken = $cache->get($cacheKey, function () use($orgUuid) {
$options = [];
if ($orgUuid) {
|
Run Infection for all files:
src/Connector/Connector.php#L106
Escaped Mutant for Mutator "ConcatOperandRemoval":
--- Original
+++ New
@@ @@
/** @infection-ignore-all */
$cache = new FilesystemAdapter('cache', 300, $directory);
$orgUuid = getenv('AH_ORGANIZATION_UUID');
- $cacheKey = 'cloudapi-token-' . $this->clientId . $orgUuid;
+ $cacheKey = 'cloudapi-token-' . $this->clientId;
$accessToken = $cache->get($cacheKey, function () use($orgUuid) {
$options = [];
if ($orgUuid) {
|
The logs for this run have expired and are no longer available.
Loading