Update dependency phpunit/phpunit to v12 #1628
continuous-integration.yaml
on: push
markdown lint
9s
Matrix: php cs fixer
Matrix: mutation tests
Matrix: phpunit tests
Matrix: static analysis phpstan
Annotations
12 errors and 2 warnings
phpunit tests (locked, 8.2, ubuntu-latest)
Your lock file does not contain a compatible set of packages. Please run composer update.
Problem 1
- phpunit/php-code-coverage is locked to version 12.0.3 and an update of this package was not requested.
- phpunit/php-code-coverage 12.0.3 requires php >=8.3 -> your php version (8.2.27) does not satisfy that requirement.
Problem 2
- phpunit/php-file-iterator is locked to version 6.0.0 and an update of this package was not requested.
- phpunit/php-file-iterator 6.0.0 requires php >=8.3 -> your php version (8.2.27) does not satisfy that requirement.
Problem 3
- phpunit/php-invoker is locked to version 6.0.0 and an update of this package was not requested.
- phpunit/php-invoker 6.0.0 requires php >=8.3 -> your php version (8.2.27) does not satisfy that requirement.
Problem 4
- phpunit/php-text-template is locked to version 5.0.0 and an update of this package was not requested.
- phpunit/php-text-template 5.0.0 requires php >=8.3 -> your php version (8.2.27) does not satisfy that requirement.
Problem 5
- phpunit/php-timer is locked to version 8.0.0 and an update of this package was not requested.
- phpunit/php-timer 8.0.0 requires php >=8.3 -> your php version (8.2.27) does not satisfy that requirement.
Problem 6
- phpunit/phpunit is locked to version 12.0.4 and an update of this package was not requested.
- phpunit/phpunit 12.0.4 requires php >=8.3 -> your php version (8.2.27) does not satisfy that requirement.
Problem 7
- sebastian/cli-parser is locked to version 4.0.0 and an update of this package was not requested.
- sebastian/cli-parser 4.0.0 requires php >=8.3 -> your php version (8.2.27) does not satisfy that requirement.
Problem 8
- sebastian/comparator is locked to version 7.0.0 and an update of this package was not requested.
- sebastian/comparator 7.0.0 requires php >=8.3 -> your php version (8.2.27) does not satisfy that requirement.
Problem 9
- sebastian/complexity is locked to version 5.0.0 and an update of this package was not requested.
- sebastian/complexity 5.0.0 requires php >=8.3 -> your php version (8.2.27) does not satisfy that requirement.
Problem 10
- sebastian/diff is locked to version 7.0.0 and an update of this package was not requested.
- sebastian/diff 7.0.0 requires php >=8.3 -> your php version (8.2.27) does not satisfy that requirement.
Problem 11
- sebastian/environment is locked to version 8.0.0 and an update of this package was not requested.
- sebastian/environment 8.0.0 requires php >=8.3 -> your php version (8.2.27) does not satisfy that requirement.
Problem 12
- sebastian/exporter is locked to version 7.0.0 and an update of this package was not requested.
- sebastian/exporter 7.0.0 requires php >=8.3 -> your php version (8.2.27) does not satisfy that requirement.
Problem 13
- sebastian/global-state is locked to version 8.0.0 and an update of this package was not requested.
- sebastian/global-state 8.0.0 requires php >=8.3 -> your php version (8.2.27) does not satisfy that requirement.
Problem 14
- sebastian/lines-of-code is locked to version 4.0.0 and an update of this package was not requested.
- sebastian/lines-of-code 4.0.0 requires php >=8.3 -> your php version (8.2.27) does not satisfy that requirement.
Problem 15
- sebastian/object-enumerator is locked to version 7.0.0 and an update of this package was not requested.
- sebastian/object-enumerator 7.0.0 requires php >=8.3 -> your php version (8.2.27) does not satisfy that requirement.
Problem 16
- sebastian/object-reflector is locked to version 5.0.0 and an update of this package was not requested.
- sebastian/object-reflector 5.0.0 requires php >=8.3 -> your php version (8.2.27) does not satisfy that requirement.
Problem 17
- sebastian/recursion-context is locked to version 7.0.0 and an update of this package was not requested.
- sebastian/recursion-context 7.0.0 requires php >=8.3 -> your php version (8.2.27) does not satisfy that requirement.
Problem 18
-
|
phpunit tests (locked, 8.2, ubuntu-latest)
Process completed with exit code 2.
|
phpunit tests (highest, 8.3, ubuntu-latest)
The job was canceled because "locked_8_2_ubuntu-latest" failed.
|
phpunit tests (locked, 8.4, ubuntu-latest)
The job was canceled because "locked_8_2_ubuntu-latest" failed.
|
phpunit tests (highest, 8.2, ubuntu-latest)
The job was canceled because "locked_8_2_ubuntu-latest" failed.
|
phpunit tests (highest, 8.2, ubuntu-latest)
The operation was canceled.
|
phpunit tests (locked, 8.3, ubuntu-latest)
The job was canceled because "locked_8_2_ubuntu-latest" failed.
|
phpunit tests (lowest, 8.2, ubuntu-latest)
The job was canceled because "locked_8_2_ubuntu-latest" failed.
|
phpunit tests (lowest, 8.3, ubuntu-latest)
The job was canceled because "locked_8_2_ubuntu-latest" failed.
|
phpunit tests (highest, 8.4, ubuntu-latest)
The job was canceled because "locked_8_2_ubuntu-latest" failed.
|
phpunit tests (lowest, 8.4, ubuntu-latest)
The job was canceled because "locked_8_2_ubuntu-latest" failed.
|
phpunit tests (lowest, 8.4, ubuntu-latest)
The operation was canceled.
|
mutation tests (locked, 8.4, 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.4, 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.');
|