Bump symfony/http-client from 6.4.14 to 6.4.15 #1473
continuous-integration.yml
on: push
ci
/
Generate job matrix
6s
PHPUnit Coverage
24s
Check for missing dependencies
21s
Mutation Tests
1m 37s
Matrix: ci / QA Checks
Annotations
7 warnings
PHPUnit Coverage
Codecov: Failed to properly create commit: The process '/home/runner/work/_actions/codecov/codecov-action/v4/dist/codecov' failed with exit code 1
|
Mutation Tests:
src/BaseClient.php#L78
Escaped Mutant for Mutator "MethodCallRemoval":
--- Original
+++ New
@@ @@
$body = Json::decodeToArray((string) $response->getBody());
$list = [];
foreach ($body as $item) {
- Assert::isArray($item);
+
$definition = Definition::fromArray($item);
$list[$definition->id()] = $definition;
}
|
Mutation Tests:
src/BaseClient.php#L202
Escaped Mutant for Mutator "MethodCallRemoval":
--- Original
+++ New
@@ @@
$body = Json::decodeToArray((string) $response->getBody());
$list = [];
foreach ($body as $item) {
- Assert::isArray($item);
+
$definition = SharedSlice::fromArray($item);
$list[$definition->id] = $definition;
}
|
Mutation Tests:
src/BaseClient.php#L257
Escaped Mutant for Mutator "MethodCallRemoval":
--- Original
+++ New
@@ @@
try {
$current = $this->getSharedSlice($slice->id);
} catch (DefinitionNotFound) {
- $this->createSharedSlice($slice);
+
return;
}
if ($slice->equals($current)) {
|
Mutation Tests:
src/Json.php#L28
Escaped Mutant for Mutator "DecrementInteger":
--- Original
+++ New
@@ @@
public static function decodeToArray(string $json) : array
{
try {
- $decoded = json_decode($json, true, 512, JSON_THROW_ON_ERROR);
+ $decoded = json_decode($json, true, 511, JSON_THROW_ON_ERROR);
Assert::isArray($decoded);
return $decoded;
} catch (JsonException $e) {
|
Mutation Tests:
src/SharedSlice.php#L33
Escaped Mutant for Mutator "MethodCallRemoval":
--- Original
+++ New
@@ @@
/** @param array<array-key, mixed> $payload */
public static function fromArray(array $payload) : self
{
- Assert::keyExists($payload, 'id');
+
Assert::stringNotEmpty($payload['id']);
return new self($payload['id'], json_encode($payload));
}
|
Mutation Tests:
src/SharedSlice.php#L34
Escaped Mutant for Mutator "MethodCallRemoval":
--- Original
+++ New
@@ @@
public static function fromArray(array $payload) : self
{
Assert::keyExists($payload, 'id');
- Assert::stringNotEmpty($payload['id']);
+
return new self($payload['id'], json_encode($payload));
}
public function equals(SharedSlice $other) : bool
|