Skip to content

Update dependency symfony/http-client to v7 #1424

Update dependency symfony/http-client to v7

Update dependency symfony/http-client to v7 #1424

Triggered via push November 15, 2024 08:09
Status Success
Total duration 38s
Artifacts
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.2, ubuntu-latest): src/PhraseProvider.php#L168
Escaped Mutant for Mutator "ArrayItemRemoval": @@ @@ } 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.2, ubuntu-latest): src/PhraseProvider.php#L253
Escaped Mutant for Mutator "ArrayItemRemoval": @@ @@ } 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.');