Skip to content

chore: add cov/ directory to .gitignore #251

chore: add cov/ directory to .gitignore

chore: add cov/ directory to .gitignore #251

Triggered via push September 18, 2023 20:22
Status Success
Total duration 1m 17s
Artifacts

ci.yml

on: push
Matrix: CI
Fit to window
Zoom out
Zoom in

Annotations

40 warnings
CI (8.2, normal): src/Soql/ConnectionWrapper.php#L85
Escaped Mutant for Mutator "Concat": --- Original +++ New @@ @@ if ($this->isTransactionActive()) { throw InvalidArgumentException::notSupported('DELETE is not supported under transaction.'); } - $param = $identifier['Id'] ?? key($identifier) . '/' . $identifier[key($identifier)]; + $param = $identifier['Id'] ?? '/' . key($identifier) . $identifier[key($identifier)]; $this->send(new Request('DELETE', sprintf(self::SERVICE_OBJECT_ID_URL, $this->apiVersion(), $tableExpression, $param), $headers)); return 1; }
CI (8.2, normal): src/Soql/ConnectionWrapper.php#L85
Escaped Mutant for Mutator "ConcatOperandRemoval": --- Original +++ New @@ @@ if ($this->isTransactionActive()) { throw InvalidArgumentException::notSupported('DELETE is not supported under transaction.'); } - $param = $identifier['Id'] ?? key($identifier) . '/' . $identifier[key($identifier)]; + $param = $identifier['Id'] ?? '/' . $identifier[key($identifier)]; $this->send(new Request('DELETE', sprintf(self::SERVICE_OBJECT_ID_URL, $this->apiVersion(), $tableExpression, $param), $headers)); return 1; }
CI (8.2, normal): src/Soql/ConnectionWrapper.php#L85
Escaped Mutant for Mutator "ConcatOperandRemoval": --- Original +++ New @@ @@ if ($this->isTransactionActive()) { throw InvalidArgumentException::notSupported('DELETE is not supported under transaction.'); } - $param = $identifier['Id'] ?? key($identifier) . '/' . $identifier[key($identifier)]; + $param = $identifier['Id'] ?? key($identifier) . $identifier[key($identifier)]; $this->send(new Request('DELETE', sprintf(self::SERVICE_OBJECT_ID_URL, $this->apiVersion(), $tableExpression, $param), $headers)); return 1; }
CI (8.2, normal): src/Soql/ConnectionWrapper.php#L85
Escaped Mutant for Mutator "Concat": --- Original +++ New @@ @@ if ($this->isTransactionActive()) { throw InvalidArgumentException::notSupported('DELETE is not supported under transaction.'); } - $param = $identifier['Id'] ?? key($identifier) . '/' . $identifier[key($identifier)]; + $param = $identifier['Id'] ?? key($identifier) . $identifier[key($identifier)] . '/'; $this->send(new Request('DELETE', sprintf(self::SERVICE_OBJECT_ID_URL, $this->apiVersion(), $tableExpression, $param), $headers)); return 1; }
CI (8.2, normal): src/Soql/ConnectionWrapper.php#L85
Escaped Mutant for Mutator "ConcatOperandRemoval": --- Original +++ New @@ @@ if ($this->isTransactionActive()) { throw InvalidArgumentException::notSupported('DELETE is not supported under transaction.'); } - $param = $identifier['Id'] ?? key($identifier) . '/' . $identifier[key($identifier)]; + $param = $identifier['Id'] ?? key($identifier) . '/'; $this->send(new Request('DELETE', sprintf(self::SERVICE_OBJECT_ID_URL, $this->apiVersion(), $tableExpression, $param), $headers)); return 1; }
CI (8.2, normal): src/Soql/ConnectionWrapper.php#L85
Escaped Mutant for Mutator "Coalesce": --- Original +++ New @@ @@ if ($this->isTransactionActive()) { throw InvalidArgumentException::notSupported('DELETE is not supported under transaction.'); } - $param = $identifier['Id'] ?? key($identifier) . '/' . $identifier[key($identifier)]; + $param = key($identifier) . '/' . $identifier[key($identifier)] ?? $identifier['Id']; $this->send(new Request('DELETE', sprintf(self::SERVICE_OBJECT_ID_URL, $this->apiVersion(), $tableExpression, $param), $headers)); return 1; }
CI (8.2, normal): src/Soql/ConnectionWrapper.php#L118
Escaped Mutant for Mutator "DecrementInteger": --- Original +++ New @@ @@ return 1; } $response = $this->send($request); - $responseBody = json_decode($response->getBody()->getContents(), true, 512, JSON_THROW_ON_ERROR); + $responseBody = json_decode($response->getBody()->getContents(), true, 511, JSON_THROW_ON_ERROR); if ($responseBody['success'] !== true) { throw OperationFailed::insertFailed($data); }
CI (8.2, normal): src/Soql/ConnectionWrapper.php#L118
Escaped Mutant for Mutator "IncrementInteger": --- Original +++ New @@ @@ return 1; } $response = $this->send($request); - $responseBody = json_decode($response->getBody()->getContents(), true, 512, JSON_THROW_ON_ERROR); + $responseBody = json_decode($response->getBody()->getContents(), true, 513, JSON_THROW_ON_ERROR); if ($responseBody['success'] !== true) { throw OperationFailed::insertFailed($data); }
CI (8.2, normal): src/Soql/ConnectionWrapper.php#L141
Escaped Mutant for Mutator "FunctionCallRemoval": --- Original +++ New @@ @@ */ public function update($tableExpression, array $data, array $identifier = [], array $refs = [], array $headers = []) : int { - invariant(array_key_exists('Id', $identifier), 'No Identifier was detected.'); + $param = $identifier['Id'] ?? key($identifier) . '/' . $identifier[key($identifier)]; $request = new Request('PATCH', sprintf(self::SERVICE_OBJECT_ID_URL, $this->apiVersion(), $tableExpression, $param), $headers, json_encode($data, JSON_THROW_ON_ERROR)); if ($this->isTransactionActive()) {
CI (8.2, normal): src/Soql/ConnectionWrapper.php#L143
Escaped Mutant for Mutator "Concat": --- Original +++ New @@ @@ public function update($tableExpression, array $data, array $identifier = [], array $refs = [], array $headers = []) : int { invariant(array_key_exists('Id', $identifier), 'No Identifier was detected.'); - $param = $identifier['Id'] ?? key($identifier) . '/' . $identifier[key($identifier)]; + $param = $identifier['Id'] ?? '/' . key($identifier) . $identifier[key($identifier)]; $request = new Request('PATCH', sprintf(self::SERVICE_OBJECT_ID_URL, $this->apiVersion(), $tableExpression, $param), $headers, json_encode($data, JSON_THROW_ON_ERROR)); if ($this->isTransactionActive()) { $this->addToBatchList($request, $refs);
CI (8.1, normal): src/Soql/ConnectionWrapper.php#L85
Escaped Mutant for Mutator "Concat": --- Original +++ New @@ @@ if ($this->isTransactionActive()) { throw InvalidArgumentException::notSupported('DELETE is not supported under transaction.'); } - $param = $identifier['Id'] ?? key($identifier) . '/' . $identifier[key($identifier)]; + $param = $identifier['Id'] ?? '/' . key($identifier) . $identifier[key($identifier)]; $this->send(new Request('DELETE', sprintf(self::SERVICE_OBJECT_ID_URL, $this->apiVersion(), $tableExpression, $param), $headers)); return 1; }
CI (8.1, normal): src/Soql/ConnectionWrapper.php#L85
Escaped Mutant for Mutator "ConcatOperandRemoval": --- Original +++ New @@ @@ if ($this->isTransactionActive()) { throw InvalidArgumentException::notSupported('DELETE is not supported under transaction.'); } - $param = $identifier['Id'] ?? key($identifier) . '/' . $identifier[key($identifier)]; + $param = $identifier['Id'] ?? '/' . $identifier[key($identifier)]; $this->send(new Request('DELETE', sprintf(self::SERVICE_OBJECT_ID_URL, $this->apiVersion(), $tableExpression, $param), $headers)); return 1; }
CI (8.1, normal): src/Soql/ConnectionWrapper.php#L85
Escaped Mutant for Mutator "ConcatOperandRemoval": --- Original +++ New @@ @@ if ($this->isTransactionActive()) { throw InvalidArgumentException::notSupported('DELETE is not supported under transaction.'); } - $param = $identifier['Id'] ?? key($identifier) . '/' . $identifier[key($identifier)]; + $param = $identifier['Id'] ?? key($identifier) . $identifier[key($identifier)]; $this->send(new Request('DELETE', sprintf(self::SERVICE_OBJECT_ID_URL, $this->apiVersion(), $tableExpression, $param), $headers)); return 1; }
CI (8.1, normal): src/Soql/ConnectionWrapper.php#L85
Escaped Mutant for Mutator "Concat": --- Original +++ New @@ @@ if ($this->isTransactionActive()) { throw InvalidArgumentException::notSupported('DELETE is not supported under transaction.'); } - $param = $identifier['Id'] ?? key($identifier) . '/' . $identifier[key($identifier)]; + $param = $identifier['Id'] ?? key($identifier) . $identifier[key($identifier)] . '/'; $this->send(new Request('DELETE', sprintf(self::SERVICE_OBJECT_ID_URL, $this->apiVersion(), $tableExpression, $param), $headers)); return 1; }
CI (8.1, normal): src/Soql/ConnectionWrapper.php#L85
Escaped Mutant for Mutator "ConcatOperandRemoval": --- Original +++ New @@ @@ if ($this->isTransactionActive()) { throw InvalidArgumentException::notSupported('DELETE is not supported under transaction.'); } - $param = $identifier['Id'] ?? key($identifier) . '/' . $identifier[key($identifier)]; + $param = $identifier['Id'] ?? key($identifier) . '/'; $this->send(new Request('DELETE', sprintf(self::SERVICE_OBJECT_ID_URL, $this->apiVersion(), $tableExpression, $param), $headers)); return 1; }
CI (8.1, normal): src/Soql/ConnectionWrapper.php#L85
Escaped Mutant for Mutator "Coalesce": --- Original +++ New @@ @@ if ($this->isTransactionActive()) { throw InvalidArgumentException::notSupported('DELETE is not supported under transaction.'); } - $param = $identifier['Id'] ?? key($identifier) . '/' . $identifier[key($identifier)]; + $param = key($identifier) . '/' . $identifier[key($identifier)] ?? $identifier['Id']; $this->send(new Request('DELETE', sprintf(self::SERVICE_OBJECT_ID_URL, $this->apiVersion(), $tableExpression, $param), $headers)); return 1; }
CI (8.1, normal): src/Soql/ConnectionWrapper.php#L118
Escaped Mutant for Mutator "DecrementInteger": --- Original +++ New @@ @@ return 1; } $response = $this->send($request); - $responseBody = json_decode($response->getBody()->getContents(), true, 512, JSON_THROW_ON_ERROR); + $responseBody = json_decode($response->getBody()->getContents(), true, 511, JSON_THROW_ON_ERROR); if ($responseBody['success'] !== true) { throw OperationFailed::insertFailed($data); }
CI (8.1, normal): src/Soql/ConnectionWrapper.php#L118
Escaped Mutant for Mutator "IncrementInteger": --- Original +++ New @@ @@ return 1; } $response = $this->send($request); - $responseBody = json_decode($response->getBody()->getContents(), true, 512, JSON_THROW_ON_ERROR); + $responseBody = json_decode($response->getBody()->getContents(), true, 513, JSON_THROW_ON_ERROR); if ($responseBody['success'] !== true) { throw OperationFailed::insertFailed($data); }
CI (8.1, normal): src/Soql/ConnectionWrapper.php#L141
Escaped Mutant for Mutator "FunctionCallRemoval": --- Original +++ New @@ @@ */ public function update($tableExpression, array $data, array $identifier = [], array $refs = [], array $headers = []) : int { - invariant(array_key_exists('Id', $identifier), 'No Identifier was detected.'); + $param = $identifier['Id'] ?? key($identifier) . '/' . $identifier[key($identifier)]; $request = new Request('PATCH', sprintf(self::SERVICE_OBJECT_ID_URL, $this->apiVersion(), $tableExpression, $param), $headers, json_encode($data, JSON_THROW_ON_ERROR)); if ($this->isTransactionActive()) {
CI (8.1, normal): src/Soql/ConnectionWrapper.php#L143
Escaped Mutant for Mutator "Concat": --- Original +++ New @@ @@ public function update($tableExpression, array $data, array $identifier = [], array $refs = [], array $headers = []) : int { invariant(array_key_exists('Id', $identifier), 'No Identifier was detected.'); - $param = $identifier['Id'] ?? key($identifier) . '/' . $identifier[key($identifier)]; + $param = $identifier['Id'] ?? '/' . key($identifier) . $identifier[key($identifier)]; $request = new Request('PATCH', sprintf(self::SERVICE_OBJECT_ID_URL, $this->apiVersion(), $tableExpression, $param), $headers, json_encode($data, JSON_THROW_ON_ERROR)); if ($this->isTransactionActive()) { $this->addToBatchList($request, $refs);
CI (8.2, authoritative): src/Soql/ConnectionWrapper.php#L85
Escaped Mutant for Mutator "Concat": --- Original +++ New @@ @@ if ($this->isTransactionActive()) { throw InvalidArgumentException::notSupported('DELETE is not supported under transaction.'); } - $param = $identifier['Id'] ?? key($identifier) . '/' . $identifier[key($identifier)]; + $param = $identifier['Id'] ?? '/' . key($identifier) . $identifier[key($identifier)]; $this->send(new Request('DELETE', sprintf(self::SERVICE_OBJECT_ID_URL, $this->apiVersion(), $tableExpression, $param), $headers)); return 1; }
CI (8.2, authoritative): src/Soql/ConnectionWrapper.php#L85
Escaped Mutant for Mutator "ConcatOperandRemoval": --- Original +++ New @@ @@ if ($this->isTransactionActive()) { throw InvalidArgumentException::notSupported('DELETE is not supported under transaction.'); } - $param = $identifier['Id'] ?? key($identifier) . '/' . $identifier[key($identifier)]; + $param = $identifier['Id'] ?? '/' . $identifier[key($identifier)]; $this->send(new Request('DELETE', sprintf(self::SERVICE_OBJECT_ID_URL, $this->apiVersion(), $tableExpression, $param), $headers)); return 1; }
CI (8.2, authoritative): src/Soql/ConnectionWrapper.php#L85
Escaped Mutant for Mutator "ConcatOperandRemoval": --- Original +++ New @@ @@ if ($this->isTransactionActive()) { throw InvalidArgumentException::notSupported('DELETE is not supported under transaction.'); } - $param = $identifier['Id'] ?? key($identifier) . '/' . $identifier[key($identifier)]; + $param = $identifier['Id'] ?? key($identifier) . $identifier[key($identifier)]; $this->send(new Request('DELETE', sprintf(self::SERVICE_OBJECT_ID_URL, $this->apiVersion(), $tableExpression, $param), $headers)); return 1; }
CI (8.2, authoritative): src/Soql/ConnectionWrapper.php#L85
Escaped Mutant for Mutator "Concat": --- Original +++ New @@ @@ if ($this->isTransactionActive()) { throw InvalidArgumentException::notSupported('DELETE is not supported under transaction.'); } - $param = $identifier['Id'] ?? key($identifier) . '/' . $identifier[key($identifier)]; + $param = $identifier['Id'] ?? key($identifier) . $identifier[key($identifier)] . '/'; $this->send(new Request('DELETE', sprintf(self::SERVICE_OBJECT_ID_URL, $this->apiVersion(), $tableExpression, $param), $headers)); return 1; }
CI (8.2, authoritative): src/Soql/ConnectionWrapper.php#L85
Escaped Mutant for Mutator "ConcatOperandRemoval": --- Original +++ New @@ @@ if ($this->isTransactionActive()) { throw InvalidArgumentException::notSupported('DELETE is not supported under transaction.'); } - $param = $identifier['Id'] ?? key($identifier) . '/' . $identifier[key($identifier)]; + $param = $identifier['Id'] ?? key($identifier) . '/'; $this->send(new Request('DELETE', sprintf(self::SERVICE_OBJECT_ID_URL, $this->apiVersion(), $tableExpression, $param), $headers)); return 1; }
CI (8.2, authoritative): src/Soql/ConnectionWrapper.php#L85
Escaped Mutant for Mutator "Coalesce": --- Original +++ New @@ @@ if ($this->isTransactionActive()) { throw InvalidArgumentException::notSupported('DELETE is not supported under transaction.'); } - $param = $identifier['Id'] ?? key($identifier) . '/' . $identifier[key($identifier)]; + $param = key($identifier) . '/' . $identifier[key($identifier)] ?? $identifier['Id']; $this->send(new Request('DELETE', sprintf(self::SERVICE_OBJECT_ID_URL, $this->apiVersion(), $tableExpression, $param), $headers)); return 1; }
CI (8.2, authoritative): src/Soql/ConnectionWrapper.php#L118
Escaped Mutant for Mutator "DecrementInteger": --- Original +++ New @@ @@ return 1; } $response = $this->send($request); - $responseBody = json_decode($response->getBody()->getContents(), true, 512, JSON_THROW_ON_ERROR); + $responseBody = json_decode($response->getBody()->getContents(), true, 511, JSON_THROW_ON_ERROR); if ($responseBody['success'] !== true) { throw OperationFailed::insertFailed($data); }
CI (8.2, authoritative): src/Soql/ConnectionWrapper.php#L118
Escaped Mutant for Mutator "IncrementInteger": --- Original +++ New @@ @@ return 1; } $response = $this->send($request); - $responseBody = json_decode($response->getBody()->getContents(), true, 512, JSON_THROW_ON_ERROR); + $responseBody = json_decode($response->getBody()->getContents(), true, 513, JSON_THROW_ON_ERROR); if ($responseBody['success'] !== true) { throw OperationFailed::insertFailed($data); }
CI (8.2, authoritative): src/Soql/ConnectionWrapper.php#L141
Escaped Mutant for Mutator "FunctionCallRemoval": --- Original +++ New @@ @@ */ public function update($tableExpression, array $data, array $identifier = [], array $refs = [], array $headers = []) : int { - invariant(array_key_exists('Id', $identifier), 'No Identifier was detected.'); + $param = $identifier['Id'] ?? key($identifier) . '/' . $identifier[key($identifier)]; $request = new Request('PATCH', sprintf(self::SERVICE_OBJECT_ID_URL, $this->apiVersion(), $tableExpression, $param), $headers, json_encode($data, JSON_THROW_ON_ERROR)); if ($this->isTransactionActive()) {
CI (8.2, authoritative): src/Soql/ConnectionWrapper.php#L143
Escaped Mutant for Mutator "Concat": --- Original +++ New @@ @@ public function update($tableExpression, array $data, array $identifier = [], array $refs = [], array $headers = []) : int { invariant(array_key_exists('Id', $identifier), 'No Identifier was detected.'); - $param = $identifier['Id'] ?? key($identifier) . '/' . $identifier[key($identifier)]; + $param = $identifier['Id'] ?? '/' . key($identifier) . $identifier[key($identifier)]; $request = new Request('PATCH', sprintf(self::SERVICE_OBJECT_ID_URL, $this->apiVersion(), $tableExpression, $param), $headers, json_encode($data, JSON_THROW_ON_ERROR)); if ($this->isTransactionActive()) { $this->addToBatchList($request, $refs);
CI (8.1, authoritative): src/Soql/ConnectionWrapper.php#L85
Escaped Mutant for Mutator "Concat": --- Original +++ New @@ @@ if ($this->isTransactionActive()) { throw InvalidArgumentException::notSupported('DELETE is not supported under transaction.'); } - $param = $identifier['Id'] ?? key($identifier) . '/' . $identifier[key($identifier)]; + $param = $identifier['Id'] ?? '/' . key($identifier) . $identifier[key($identifier)]; $this->send(new Request('DELETE', sprintf(self::SERVICE_OBJECT_ID_URL, $this->apiVersion(), $tableExpression, $param), $headers)); return 1; }
CI (8.1, authoritative): src/Soql/ConnectionWrapper.php#L85
Escaped Mutant for Mutator "ConcatOperandRemoval": --- Original +++ New @@ @@ if ($this->isTransactionActive()) { throw InvalidArgumentException::notSupported('DELETE is not supported under transaction.'); } - $param = $identifier['Id'] ?? key($identifier) . '/' . $identifier[key($identifier)]; + $param = $identifier['Id'] ?? '/' . $identifier[key($identifier)]; $this->send(new Request('DELETE', sprintf(self::SERVICE_OBJECT_ID_URL, $this->apiVersion(), $tableExpression, $param), $headers)); return 1; }
CI (8.1, authoritative): src/Soql/ConnectionWrapper.php#L85
Escaped Mutant for Mutator "ConcatOperandRemoval": --- Original +++ New @@ @@ if ($this->isTransactionActive()) { throw InvalidArgumentException::notSupported('DELETE is not supported under transaction.'); } - $param = $identifier['Id'] ?? key($identifier) . '/' . $identifier[key($identifier)]; + $param = $identifier['Id'] ?? key($identifier) . $identifier[key($identifier)]; $this->send(new Request('DELETE', sprintf(self::SERVICE_OBJECT_ID_URL, $this->apiVersion(), $tableExpression, $param), $headers)); return 1; }
CI (8.1, authoritative): src/Soql/ConnectionWrapper.php#L85
Escaped Mutant for Mutator "Concat": --- Original +++ New @@ @@ if ($this->isTransactionActive()) { throw InvalidArgumentException::notSupported('DELETE is not supported under transaction.'); } - $param = $identifier['Id'] ?? key($identifier) . '/' . $identifier[key($identifier)]; + $param = $identifier['Id'] ?? key($identifier) . $identifier[key($identifier)] . '/'; $this->send(new Request('DELETE', sprintf(self::SERVICE_OBJECT_ID_URL, $this->apiVersion(), $tableExpression, $param), $headers)); return 1; }
CI (8.1, authoritative): src/Soql/ConnectionWrapper.php#L85
Escaped Mutant for Mutator "ConcatOperandRemoval": --- Original +++ New @@ @@ if ($this->isTransactionActive()) { throw InvalidArgumentException::notSupported('DELETE is not supported under transaction.'); } - $param = $identifier['Id'] ?? key($identifier) . '/' . $identifier[key($identifier)]; + $param = $identifier['Id'] ?? key($identifier) . '/'; $this->send(new Request('DELETE', sprintf(self::SERVICE_OBJECT_ID_URL, $this->apiVersion(), $tableExpression, $param), $headers)); return 1; }
CI (8.1, authoritative): src/Soql/ConnectionWrapper.php#L85
Escaped Mutant for Mutator "Coalesce": --- Original +++ New @@ @@ if ($this->isTransactionActive()) { throw InvalidArgumentException::notSupported('DELETE is not supported under transaction.'); } - $param = $identifier['Id'] ?? key($identifier) . '/' . $identifier[key($identifier)]; + $param = key($identifier) . '/' . $identifier[key($identifier)] ?? $identifier['Id']; $this->send(new Request('DELETE', sprintf(self::SERVICE_OBJECT_ID_URL, $this->apiVersion(), $tableExpression, $param), $headers)); return 1; }
CI (8.1, authoritative): src/Soql/ConnectionWrapper.php#L118
Escaped Mutant for Mutator "DecrementInteger": --- Original +++ New @@ @@ return 1; } $response = $this->send($request); - $responseBody = json_decode($response->getBody()->getContents(), true, 512, JSON_THROW_ON_ERROR); + $responseBody = json_decode($response->getBody()->getContents(), true, 511, JSON_THROW_ON_ERROR); if ($responseBody['success'] !== true) { throw OperationFailed::insertFailed($data); }
CI (8.1, authoritative): src/Soql/ConnectionWrapper.php#L118
Escaped Mutant for Mutator "IncrementInteger": --- Original +++ New @@ @@ return 1; } $response = $this->send($request); - $responseBody = json_decode($response->getBody()->getContents(), true, 512, JSON_THROW_ON_ERROR); + $responseBody = json_decode($response->getBody()->getContents(), true, 513, JSON_THROW_ON_ERROR); if ($responseBody['success'] !== true) { throw OperationFailed::insertFailed($data); }
CI (8.1, authoritative): src/Soql/ConnectionWrapper.php#L141
Escaped Mutant for Mutator "FunctionCallRemoval": --- Original +++ New @@ @@ */ public function update($tableExpression, array $data, array $identifier = [], array $refs = [], array $headers = []) : int { - invariant(array_key_exists('Id', $identifier), 'No Identifier was detected.'); + $param = $identifier['Id'] ?? key($identifier) . '/' . $identifier[key($identifier)]; $request = new Request('PATCH', sprintf(self::SERVICE_OBJECT_ID_URL, $this->apiVersion(), $tableExpression, $param), $headers, json_encode($data, JSON_THROW_ON_ERROR)); if ($this->isTransactionActive()) {
CI (8.1, authoritative): src/Soql/ConnectionWrapper.php#L143
Escaped Mutant for Mutator "Concat": --- Original +++ New @@ @@ public function update($tableExpression, array $data, array $identifier = [], array $refs = [], array $headers = []) : int { invariant(array_key_exists('Id', $identifier), 'No Identifier was detected.'); - $param = $identifier['Id'] ?? key($identifier) . '/' . $identifier[key($identifier)]; + $param = $identifier['Id'] ?? '/' . key($identifier) . $identifier[key($identifier)]; $request = new Request('PATCH', sprintf(self::SERVICE_OBJECT_ID_URL, $this->apiVersion(), $tableExpression, $param), $headers, json_encode($data, JSON_THROW_ON_ERROR)); if ($this->isTransactionActive()) { $this->addToBatchList($request, $refs);