fix(deps): update dependency doctrine/orm to v3 #266
Annotations
10 warnings
Run mutation tests:
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);
}
|
Run mutation tests:
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);
}
|
Run mutation tests:
src/Soql/ConnectionWrapper.php#L151
Escaped Mutant for Mutator "MethodCallRemoval":
--- Original
+++ New
@@ @@
$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);
+
return 1;
}
$response = $this->send($request);
|
Run mutation tests:
src/Soql/ConnectionWrapper.php#L153
Escaped Mutant for Mutator "DecrementInteger":
--- Original
+++ New
@@ @@
$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);
- return 1;
+ return 0;
}
$response = $this->send($request);
if ($response->getStatusCode() !== 204) {
|
Run mutation tests:
src/Soql/ConnectionWrapper.php#L153
Escaped Mutant for Mutator "IncrementInteger":
--- Original
+++ New
@@ @@
$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);
- return 1;
+ return 2;
}
$response = $this->send($request);
if ($response->getStatusCode() !== 204) {
|
Run mutation tests:
src/Soql/ConnectionWrapper.php#L153
Escaped Mutant for Mutator "IntegerNegation":
--- Original
+++ New
@@ @@
$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);
- return 1;
+ return -1;
}
$response = $this->send($request);
if ($response->getStatusCode() !== 204) {
|
Run mutation tests:
src/Soql/ConnectionWrapper.php#L203
Escaped Mutant for Mutator "DecrementInteger":
--- Original
+++ New
@@ @@
return 1;
}
$response = $this->send($request);
- if (!in_array($response->getStatusCode(), [200, 201, 204])) {
+ if (!in_array($response->getStatusCode(), [199, 201, 204])) {
throw OperationFailed::upsertFailed($data);
}
return 1;
|
Run mutation tests:
src/Soql/ConnectionWrapper.php#L203
Escaped Mutant for Mutator "IncrementInteger":
--- Original
+++ New
@@ @@
return 1;
}
$response = $this->send($request);
- if (!in_array($response->getStatusCode(), [200, 201, 204])) {
+ if (!in_array($response->getStatusCode(), [201, 201, 204])) {
throw OperationFailed::upsertFailed($data);
}
return 1;
|
Run mutation tests:
src/Soql/ConnectionWrapper.php#L203
Escaped Mutant for Mutator "DecrementInteger":
--- Original
+++ New
@@ @@
return 1;
}
$response = $this->send($request);
- if (!in_array($response->getStatusCode(), [200, 201, 204])) {
+ if (!in_array($response->getStatusCode(), [200, 201, 203])) {
throw OperationFailed::upsertFailed($data);
}
return 1;
|
Run mutation tests:
src/Soql/ConnectionWrapper.php#L203
Escaped Mutant for Mutator "IncrementInteger":
--- Original
+++ New
@@ @@
return 1;
}
$response = $this->send($request);
- if (!in_array($response->getStatusCode(), [200, 201, 204])) {
+ if (!in_array($response->getStatusCode(), [200, 201, 205])) {
throw OperationFailed::upsertFailed($data);
}
return 1;
|
The logs for this run have expired and are no longer available.
Loading