Skip to content

Lock file maintenance #495

Lock file maintenance

Lock file maintenance #495

Triggered via push September 21, 2023 04:26
Status Success
Total duration 2m 27s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention
Matrix: php cs fixer
Matrix: mutation tests
Matrix: phpunit tests
Matrix: static analysis phpstan
Matrix: static analysis psalm
Fit to window
Zoom out
Zoom in

Annotations

2 warnings
mutation tests (locked, 8.1, ubuntu-latest): src/PhraseProvider.php#L168
Escaped Mutant for Mutator "ArrayItemRemoval": --- Original +++ New @@ @@ } public function delete(TranslatorBagInterface $translatorBag) : void { - $keys = [[]]; + $keys = []; foreach ($translatorBag->getCatalogues() as $catalogue) { /** @var string $domain */ foreach ($catalogue->getDomains() as $domain) {
mutation tests (locked, 8.1, ubuntu-latest): src/PhraseProvider.php#L251
Escaped Mutant for Mutator "ArrayItemRemoval": --- Original +++ New @@ @@ } private function createLocale(string $locale) : void { - $response = $this->httpClient->request('POST', 'locales', ['body' => ['name' => $locale, 'code' => $locale, 'default' => $locale === $this->toPhraseLocale($this->defaultLocale)], 'headers' => ['Content-Type' => 'application/x-www-form-urlencoded']]); + $response = $this->httpClient->request('POST', 'locales', ['body' => ['name' => $locale, 'code' => $locale, 'default' => $locale === $this->toPhraseLocale($this->defaultLocale)], 'headers' => []]); if (201 !== ($statusCode = $response->getStatusCode())) { $this->logger->error(sprintf('Unable to create locale "%s" in phrase: "%s".', $locale, $response->getContent(false))); $this->throwProviderException($statusCode, $response, 'Unable to create locale phrase.');