Skip to content

Merge pull request #103 from codelicia/renovate/doctrine-orm-3.x #278

Merge pull request #103 from codelicia/renovate/doctrine-orm-3.x

Merge pull request #103 from codelicia/renovate/doctrine-orm-3.x #278

Triggered via push April 3, 2024 14:24
Status Success
Total duration 1m 15s
Artifacts

ci.yml

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

Annotations

20 warnings
CI (8.1): 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): 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): 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);
CI (8.1): 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) {
CI (8.1): 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) {
CI (8.1): 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) {
CI (8.1): 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;
CI (8.1): 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;
CI (8.1): 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;
CI (8.1): 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;
CI (8.2): 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): 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): 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);
CI (8.2): 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) {
CI (8.2): 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) {
CI (8.2): 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) {
CI (8.2): 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;
CI (8.2): 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;
CI (8.2): 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;
CI (8.2): 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;