Skip to content

Lock file maintenance #1536

Lock file maintenance

Lock file maintenance #1536

Triggered via push December 21, 2024 01:16
Status Success
Total duration 1m 30s
Artifacts
ci  /  Generate job matrix
5s
ci / Generate job matrix
PHPUnit Coverage
24s
PHPUnit Coverage
Check for missing dependencies
16s
Check for missing dependencies
Mutation Tests
1m 20s
Mutation Tests
Matrix: ci / QA Checks
Fit to window
Zoom out
Zoom in

Annotations

23 warnings
ci / Generate job matrix
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Check for missing dependencies
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
PHPUnit Coverage
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
PHPUnit Coverage
Unexpected input(s) 'file', valid inputs are ['binary', 'codecov_yml_path', 'commit_parent', 'directory', 'disable_file_fixes', 'disable_search', 'disable_safe_directory', 'dry_run', 'env_vars', 'exclude', 'fail_ci_if_error', 'files', 'flags', 'git_service', 'gcov_args', 'gcov_executable', 'gcov_ignore', 'gcov_include', 'handle_no_reports_found', 'job_code', 'name', 'network_filter', 'network_prefix', 'os', 'override_branch', 'override_build', 'override_build_url', 'override_commit', 'override_pr', 'plugins', 'report_code', 'report_type', 'root_dir', 'skip_validation', 'slug', 'swift_project', 'token', 'url', 'use_legacy_upload_endpoint', 'use_oidc', 'verbose', 'version', 'working-directory']
Mutation Tests
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
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