Skip to content

optional query

optional query #1850

Triggered via pull request December 20, 2024 08:51
Status Success
Total duration 39s
Artifacts

continuous-integration.yaml

on: pull_request
markdown lint
7s
markdown lint
Matrix: php cs fixer
Matrix: mutation tests
Matrix: phpunit tests
Matrix: static analysis phpstan
Fit to window
Zoom out
Zoom in

Annotations

15 warnings
markdown lint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
phpunit tests (locked, 8.4, ubuntu-latest)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
phpunit tests (locked, 8.2, ubuntu-latest)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
phpunit tests (lowest, 8.2, ubuntu-latest)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
phpunit tests (highest, 8.3, ubuntu-latest)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
phpunit tests (lowest, 8.3, ubuntu-latest)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
static analysis phpstan (locked, 8.4, ubuntu-latest)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
phpunit tests (locked, 8.3, ubuntu-latest)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
phpunit tests (highest, 8.4, ubuntu-latest)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
phpunit tests (highest, 8.2, ubuntu-latest)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
php cs fixer (locked, 8.4, ubuntu-latest)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
phpunit tests (lowest, 8.4, ubuntu-latest)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
mutation tests (locked, 8.4, ubuntu-latest)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
mutation tests (locked, 8.4, ubuntu-latest): src/Service/PhraseTagService.php#L65
Escaped Mutant for Mutator "UnwrapArrayFilter": @@ @@ public function tag(?string $key, array $tags, array $addTags): int { $query = $this->createQuery($key, $tags); - $body = array_filter(['q' => $query, 'tags' => implode(',', $addTags)], static fn(string $value): bool => '' !== $value); + $body = ['q' => $query, 'tags' => implode(',', $addTags)]; $response = $this->httpClient->request('PATCH', 'keys/tag', ['query' => ['page' => '1', 'per_page' => '100'], 'body' => $body]); if (200 !== $statusCode = $response->getStatusCode()) { throw new ProviderException(\sprintf('phrase replied with an error (%d): "%s"', $statusCode, $response->getContent(false)), $response);
mutation tests (locked, 8.4, ubuntu-latest): src/Service/PhraseTagService.php#L99
Escaped Mutant for Mutator "UnwrapArrayFilter": @@ @@ public function untag(?string $key, array $tags, array $removeTags): int { $query = $this->createQuery($key, $tags); - $body = array_filter(['q' => $query, 'tags' => implode(',', $removeTags)], static fn(string $value): bool => '' !== $value); + $body = ['q' => $query, 'tags' => implode(',', $removeTags)]; $response = $this->httpClient->request('PATCH', 'keys/untag', ['query' => ['page' => '1', 'per_page' => '100'], 'body' => $body]); if (200 !== $statusCode = $response->getStatusCode()) { throw new ProviderException(\sprintf('phrase replied with an error (%d): "%s"', $statusCode, $response->getContent(false)), $response);